@webability/core 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dom.cjs +19 -19
- package/dist/dom.js +19 -19
- package/dist/engine.cjs +27 -27
- package/dist/engine.d.cts +3 -1
- package/dist/engine.d.ts +3 -1
- package/dist/engine.js +27 -27
- package/dist/index.cjs +25 -25
- package/dist/index.js +25 -25
- package/dist/playwright.cjs +23 -23
- package/dist/playwright.js +23 -23
- package/package.json +1 -1
package/dist/playwright.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var F3=Object.create;var yu=Object.defineProperty;var I3=Object.getOwnPropertyDescriptor;var L3=Object.getOwnPropertyNames;var P3=Object.getPrototypeOf,
|
|
1
|
+
var F3=Object.create;var yu=Object.defineProperty;var I3=Object.getOwnPropertyDescriptor;var L3=Object.getOwnPropertyNames;var P3=Object.getPrototypeOf,M3=Object.prototype.hasOwnProperty;var wr=(f,d)=>()=>(f&&(d=f(f=0)),d);var O3=(f,d)=>()=>(d||f((d={exports:{}}).exports,d),d.exports),xr=(f,d)=>{for(var h in d)yu(f,h,{get:d[h],enumerable:true});},N3=(f,d,h,g)=>{if(d&&typeof d=="object"||typeof d=="function")for(let p of L3(d))!M3.call(f,p)&&p!==h&&yu(f,p,{get:()=>d[p],enumerable:!(g=I3(d,p))||g.enumerable});return f};var q3=(f,d,h)=>(h=f!=null?F3(P3(f)):{},N3(yu(h,"default",{value:f,enumerable:true}),f));var Qh={};xr(Qh,{ACCESSIBLE_NAME_JS:()=>RI,IS_HIDDEN_FROM_AT_JS:()=>II,IS_TRACKING_PIXEL_JS:()=>LI,IS_VISIBLE_JS:()=>TI,NEARBY_CONTEXT_JS:()=>PI,UNIQUE_SELECTOR_JS:()=>kI,WIDGET_SKIP_JS:()=>FI});var kI,TI,RI,FI,II,LI,PI,eg=wr(()=>{kI=`
|
|
2
2
|
function __isUnique(sel) {
|
|
3
3
|
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
4
|
}
|
|
@@ -292,7 +292,7 @@ var F3=Object.create;var yu=Object.defineProperty;var I3=Object.getOwnPropertyDe
|
|
|
292
292
|
|
|
293
293
|
return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
|
|
294
294
|
}
|
|
295
|
-
`;});var tg={};xr(tg,{ICON_LABELS_JS:()=>qI,ICON_LABELS_JSON:()=>NI,lookupIconLabel:()=>
|
|
295
|
+
`;});var tg={};xr(tg,{ICON_LABELS_JS:()=>qI,ICON_LABELS_JSON:()=>NI,lookupIconLabel:()=>OI});function OI(f,d="",h=""){let g=[];if(f)for(let p of f.split(/\s+/)){if(!p)continue;let w=p.toLowerCase().replace(MI,"").replace(/^icon-/,"");w&&w!==p.toLowerCase()&&g.push(w);}if(d&&g.push(d.toLowerCase().trim()),h){let p=h.trim().toLowerCase();p.length<30&&/^[a-z_-]+$/.test(p)&&g.push(p.replace(/_/g,"-"));}for(let p of g)if(Yn[p])return Yn[p];for(let p of g)for(let w of p.split("-"))if(Yn[w])return Yn[w];return null}var Yn,MI,NI,qI,rg=wr(()=>{Yn={times:"Close",x:"Close","x-lg":"Close","x-circle":"Close","x-mark":"Close",close:"Close","close-circle":"Close",clear:"Clear",cancel:"Cancel",dismiss:"Dismiss","chevron-right":"Next","arrow-right":"Next","caret-right":"Next","angle-right":"Next","chevron-left":"Previous","arrow-left":"Previous","caret-left":"Previous","angle-left":"Previous","chevron-up":"Collapse","arrow-up":"Up","caret-up":"Collapse","angle-up":"Collapse","chevron-down":"Expand","arrow-down":"Down","caret-down":"Expand","angle-down":"Expand",menu:"Menu",bars:"Menu",hamburger:"Menu",list:"Menu",grid:"Grid view",th:"Grid view",search:"Search","magnifying-glass":"Search",magnify:"Search",zoom:"Zoom",user:"User profile",person:"User profile",profile:"User profile","account-circle":"User profile",cart:"Shopping cart","shopping-cart":"Shopping cart",basket:"Shopping cart",bag:"Shopping bag",heart:"Favorite",bookmark:"Bookmark",star:"Rate",home:"Home",house:"Home",gear:"Settings",cog:"Settings",settings:"Settings",tool:"Tools",trash:"Delete","trash-can":"Delete",delete:"Delete",edit:"Edit",pencil:"Edit",pen:"Edit",plus:"Add",add:"Add","plus-circle":"Add",minus:"Remove","minus-circle":"Remove",check:"Confirm","check-circle":"Confirm",checkmark:"Confirm",info:"Information","info-circle":"Information",question:"Help","question-circle":"Help",help:"Help",warning:"Warning",exclamation:"Warning","exclamation-triangle":"Warning",alert:"Alert","external-link":"Open in new tab","external-link-alt":"Open in new tab","box-arrow-up-right":"Open in new tab",download:"Download",upload:"Upload",share:"Share","share-alt":"Share",copy:"Copy",clipboard:"Copy to clipboard",print:"Print",save:"Save",envelope:"Email",email:"Email",mail:"Email",at:"Email",phone:"Phone",telephone:"Phone",mobile:"Mobile phone",location:"Location","map-marker":"Location","map-pin":"Location","geo-alt":"Location",calendar:"Calendar","calendar-alt":"Calendar",clock:"Time",stopwatch:"Timer",eye:"Show","eye-slash":"Hide","eye-off":"Hide",lock:"Lock",unlock:"Unlock",padlock:"Lock",filter:"Filter",sliders:"Adjust",sort:"Sort","sort-alpha-down":"Sort ascending","sort-alpha-up":"Sort descending",refresh:"Refresh",reload:"Refresh",sync:"Refresh","arrows-rotate":"Refresh",play:"Play","play-circle":"Play",pause:"Pause",stop:"Stop","volume-up":"Volume up","volume-down":"Volume down","volume-mute":"Mute",mute:"Mute",speaker:"Audio",twitter:"Twitter","x-twitter":"X (Twitter)","square-x-twitter":"X (Twitter)",facebook:"Facebook","facebook-f":"Facebook","facebook-square":"Facebook","square-facebook":"Facebook","facebook-messenger":"Facebook Messenger",instagram:"Instagram","square-instagram":"Instagram",linkedin:"LinkedIn","linkedin-in":"LinkedIn","square-linkedin":"LinkedIn",youtube:"YouTube","youtube-square":"YouTube","square-youtube":"YouTube",github:"GitHub","github-alt":"GitHub",gitlab:"GitLab",bitbucket:"Bitbucket",tiktok:"TikTok",pinterest:"Pinterest","pinterest-p":"Pinterest","square-pinterest":"Pinterest",rss:"RSS feed","rss-square":"RSS feed",snapchat:"Snapchat","snapchat-ghost":"Snapchat",reddit:"Reddit","reddit-alien":"Reddit",discord:"Discord",slack:"Slack",whatsapp:"WhatsApp",telegram:"Telegram","telegram-plane":"Telegram",vimeo:"Vimeo","vimeo-v":"Vimeo",twitch:"Twitch",tumblr:"Tumblr",medium:"Medium",dribbble:"Dribbble",behance:"Behance",flickr:"Flickr",threads:"Threads",mastodon:"Mastodon",bluesky:"Bluesky",meetup:"Meetup",weibo:"Weibo",wechat:"WeChat",line:"Line",viber:"Viber",skype:"Skype",microsoft:"Microsoft",apple:"Apple",google:"Google","google-plus":"Google+",yelp:"Yelp",tripadvisor:"TripAdvisor",spotify:"Spotify",soundcloud:"SoundCloud",amazon:"Amazon",etsy:"Etsy",ebay:"eBay","arrow-up-right-from-square":"Open in new tab","square-arrow-up-right":"Open in new tab","up-right-from-square":"Open in new tab",back:"Back",forward:"Forward",return:"Return",reply:"Reply","reply-all":"Reply all","forward-arrow":"Forward",redo:"Redo",undo:"Undo","undo-alt":"Undo","rotate-left":"Undo","rotate-right":"Redo",expand:"Expand","expand-arrows-alt":"Expand",compress:"Collapse",minimize:"Minimize",maximize:"Maximize",fullscreen:"Enter fullscreen","fullscreen-exit":"Exit fullscreen",move:"Move",arrows:"Move","arrows-alt":"Move",drag:"Drag",grip:"Drag handle","grip-vertical":"Drag handle","grip-lines":"Drag handle",ellipsis:"More actions","ellipsis-v":"More actions","ellipsis-vertical":"More actions","ellipsis-h":"More actions","ellipsis-horizontal":"More actions","more-vert":"More actions","more-horiz":"More actions","more-vertical":"More actions","more-horizontal":"More actions","dots-vertical":"More actions","three-dots":"More actions","three-dots-vertical":"More actions","play-fill":"Play","pause-fill":"Pause","stop-fill":"Stop","play-pause":"Play/pause",backward:"Rewind","forward-step":"Next track","backward-step":"Previous track","fast-forward":"Fast forward",rewind:"Rewind","skip-forward":"Skip forward","skip-backward":"Skip backward","skip-next":"Next track","skip-previous":"Previous track",volume:"Volume","volume-off":"Mute","volume-x":"Mute","speaker-mute":"Mute",headphones:"Audio",microphone:"Microphone",mic:"Microphone","mic-off":"Mute microphone","microphone-slash":"Mute microphone",video:"Video","video-camera":"Video",camera:"Camera","camera-retro":"Camera",picture:"Picture",image:"Image",images:"Images",photo:"Photo",film:"Video",record:"Record",broadcast:"Broadcast","chevron-right-circle":"Next","chevron-left-circle":"Previous","double-arrow-right":"Next","double-arrow-left":"Previous","angles-right":"Next","angles-left":"Previous","angles-up":"Collapse","angles-down":"Expand",send:"Send","paper-plane":"Send",submit:"Submit",paperclip:"Attach file",attach:"Attach","file-attachment":"Attach file",signature:"Signature","pen-to-square":"Edit","pencil-square":"Edit","pencil-alt":"Edit","square-pen":"Edit",file:"File","file-alt":"Text file","file-text":"Text file","file-lines":"Text file","file-pdf":"PDF document","file-word":"Word document","file-excel":"Excel spreadsheet","file-powerpoint":"PowerPoint presentation","file-zip":"ZIP archive","file-archive":"Archive","file-image":"Image file","file-video":"Video file","file-audio":"Audio file","file-code":"Code file","file-csv":"CSV file",folder:"Folder","folder-open":"Open folder",book:"Book","book-open":"Book",newspaper:"News","bookmark-fill":"Bookmark","cart-plus":"Add to cart","cart-check":"Added to cart","cart-arrow-down":"Add to cart",truck:"Shipping",box:"Package",gift:"Gift",tag:"Tag",tags:"Tags",percent:"Discount","credit-card":"Credit card",wallet:"Wallet",money:"Money","money-bill":"Money","dollar-sign":"Price","euro-sign":"Price","pound-sign":"Price",receipt:"Receipt",store:"Store",shop:"Shop","basket-plus":"Add to basket","heart-fill":"Favorited","star-fill":"Rated","thumbs-up":"Like","thumbs-down":"Dislike",like:"Like",dislike:"Dislike",comment:"Comment",comments:"Comments",chat:"Chat","chat-bubble":"Chat",message:"Message","message-circle":"Message","message-square":"Message",bell:"Notifications","bell-fill":"Notifications",notifications:"Notifications",inbox:"Inbox",archive:"Archive",flag:"Flag",pin:"Pin","pin-fill":"Pinned",thumbtack:"Pin","sign-in":"Sign in","sign-in-alt":"Sign in","sign-out":"Sign out","sign-out-alt":"Sign out","log-in":"Log in","log-out":"Log out",logout:"Log out",login:"Log in","user-plus":"Add user","user-minus":"Remove user","user-circle":"User profile","user-avatar":"User avatar",users:"Users",key:"Password",shield:"Security","shield-check":"Security verified","id-card":"ID card","id-badge":"ID badge","universal-access":"Accessibility","accessible-icon":"Accessibility",wheelchair:"Wheelchair access",braille:"Braille","sign-language":"Sign language","closed-captioning":"Captions",cc:"Captions",sun:"Light mode",moon:"Dark mode",contrast:"Contrast",palette:"Theme",brush:"Theme",globe:"Global",earth:"Global",map:"Map",compass:"Compass",directions:"Directions",route:"Route",navigation:"Navigation",crosshairs:"Locate",spinner:"Loading",loader:"Loading",loading:"Loading","circle-notch":"Loading",hourglass:"Waiting","clock-fill":"Time","check-square":"Confirm","square-check":"Confirm","circle-check":"Confirm","circle-x":"Close",ban:"Blocked",block:"Block","times-circle":"Close",xmark:"Close","xmark-circle":"Close",columns:"Columns view",rows:"Rows view",layout:"Layout",sidebar:"Sidebar","sidebar-toggle":"Toggle sidebar","panel-left":"Left panel","panel-right":"Right panel","list-view":"List view","grid-view":"Grid view",wifi:"Wi-Fi","wifi-off":"Wi-Fi off",bluetooth:"Bluetooth",signal:"Signal",battery:"Battery","battery-full":"Battery full",plug:"Plug",power:"Power","power-off":"Power off","chart-bar":"Bar chart","chart-line":"Line chart","chart-pie":"Pie chart","chart-area":"Area chart","bar-chart":"Bar chart","line-chart":"Line chart","pie-chart":"Pie chart",analytics:"Analytics",statistics:"Statistics","trending-up":"Trending up","trending-down":"Trending down"},MI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;NI=JSON.stringify(Yn),qI=`
|
|
296
296
|
var __ICON_LABELS = ${JSON.stringify(Yn)};
|
|
297
297
|
var __ICON_PREFIX_STRIP = /^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;
|
|
298
298
|
function lookupIconLabel(classString, dataIcon, textContent) {
|
|
@@ -359,30 +359,30 @@ var F3=Object.create;var yu=Object.defineProperty;var I3=Object.getOwnPropertyDe
|
|
|
359
359
|
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
360
360
|
return (hi + 0.05) / (lo + 0.05);
|
|
361
361
|
}
|
|
362
|
-
`;});var dn={};xr(dn,{INJECT_ATTR:()=>Ur,OWN_TOOLING_SELECTOR:()=>qo,attachMutations:()=>zI,dropToolingFindings:()=>WI,guardDetectorState:()=>GI,inject:()=>xu,startProvenance:()=>VI,stopProvenance:()=>$I});async function xu(f,d){let h=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await f.evaluate(({attr:p,mark:w,css:
|
|
363
|
-
`;await f.addScriptTag({content:g+(d.content??"")});}async function VI(f){try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await f.evaluate(({key:d,attr:h,max:g})=>{let p=window;if(p[Symbol.for(d)]||typeof MutationObserver>"u")return;let w={tool:null,log:[],overflow:0,left:new Map};w.ours=
|
|
364
|
-
`).slice(1),v=/eval at evaluate/.test(E[0]||""),T=P=>/^\s*at /.test(P)&&!/UtilityScript|eval at evaluate/.test(P);H.set(Z.target,v&&E.length>1&&E.slice(1).some(T)?"page":"ours");};document.addEventListener("focusin",Y,!0),_[Symbol.for(y)]={src:H,h:Y};}catch{}let I=_[Symbol.for(x)];I&&(I.take(I.obs.takeRecords()),I.tool=k);let C=document.activeElement,F=!!C&&C!==document.body&&C!==document.documentElement,O=[];try{let B=typeof getSelection=="function"?getSelection():null;O=B?Array.from({length:B.rangeCount},(H,Y)=>B.getRangeAt(Y).cloneRange()):[];}catch{}let M=Array.from(document.querySelectorAll(`[${L}]:not(script):not([${L}="${S}"])`));return _[Symbol.for(D)]={el:F?C:null,ranges:O,marked:new Set(M)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:F,injected:M.length}},{key:ig,prov:Ja,name:d,attr:Ur,widget:wu,fsk:og});}catch{w=null;}try{return await g()}finally{w&&await UI(f,d,w,h,p);}}async function UI(f,d,h,g,p){let w={leaks:[]};try{w=await f.evaluate(({key:D,prov:x,snap:k,attr:L,widget:S,fsk:y})=>{let _=window,I=[],C=_[Symbol.for(y)];C&&(document.removeEventListener("focusin",C.h,!0),delete _[Symbol.for(y)]);let F=_[Symbol.for(D)],O=F?.el??null;try{delete _[Symbol.for(D)];}catch{}let M=_[Symbol.for(x)];M&&M.take(M.obs.takeRecords());let B=document.activeElement,H=B&&B!==document.body&&B!==document.documentElement?B:null,Y=!!H&&H!==O&&C?.src.get(H)==="page";if(H!==O&&!Y){I.push("activeElement"),M&&H&&M.left.set(H,M.tool);try{H?.blur?.();}catch{}try{O&&O.isConnected&&O.focus({preventScroll:!0});}catch{}}let Z=null;try{Z=document.querySelector(":focus-visible");}catch{}if(Z&&Z!==O&&!(Y&&Z===H)){I.push("focus-visible");try{Z.blur();}catch{}}!Y&&(Math.abs(window.scrollX-k.scrollX)>1||Math.abs(window.scrollY-k.scrollY)>1)&&(I.push("scroll"),window.scrollTo({left:k.scrollX,top:k.scrollY,behavior:"instant"}));try{let v=getSelection(),T=F?.ranges??[];if(v&&(v.rangeCount!==T.length||T.some((P,V)=>P.compareBoundaryPoints(Range.START_TO_START,v.getRangeAt(V))!==0||P.compareBoundaryPoints(Range.END_TO_END,v.getRangeAt(V))!==0))){I.push("selection"),v.removeAllRanges();for(let P of T)v.addRange(P);}}catch{}let E=Array.from(document.querySelectorAll(`[${L}]:not(script):not([${L}="${S}"])`));E.length!==k.injected&&I.push(`injected-nodes ${k.injected}->${E.length}`);for(let v of E)if(F?.marked&&!F.marked.has(v))try{v.remove();}catch{}return M&&(M.tool=null),{leaks:I}},{key:ig,prov:Ja,snap:h,attr:Ur,widget:wu,fsk:og});}catch{}if(w.leaks.length){let D=`tooling:state-not-restored (${d}: ${w.leaks.join(", ")}) \u2014 restored by the scanner`;if(p.bugs?.push({tool:d,kind:"state-not-restored",detail:w.leaks.join(", ")}),p.strict)throw new Error(D);g.push(D);}}async function WI(f,d,h){if(!d.length)return d;let g=Array.from(new Set(d.map(w=>w.selector).filter(Boolean))),p={};try{p=await f.evaluate(({sels:w,own:D,prov:x,attr:k,widget:L})=>{let S=window[Symbol.for(x)],y={};for(let _ of w){y[_]=null;let I=null;try{I=document.querySelector(_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{I=null;}if(!I)continue;let C=I.closest(D);if(C&&C!==document.body&&C!==document.documentElement){let F=C.closest(`[${k}]`)?.getAttribute(k);y[_]={tool:F&&F!==L?F.split(":")[0]:null,why:`on node injected by ${F}`};continue}S&&S.left.has(I)&&(y[_]={tool:S.left.get(I),why:"on the element the tool left focused"});}return y},{sels:g,own:qo,prov:Ja,attr:Ur,widget:wu});}catch{return d}return d.filter(w=>{let D=p[w.selector];return D?(D.tool&&h?.push({tool:D.tool,kind:"finding-dropped",detail:`${w.type} ${D.why}`,selector:w.selector}),false):true})}var Ur,wu,qo,Ja,HI,jI,ig,og,Lr=wr(()=>{Ur="data-wa-injected",wu="widget",qo=`[${Ur}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,Ja="wa.provenance",HI=500;jI=10;ig="wa.stateGuard.active",og="wa.stateGuard.focusSource";});var sg={};xr(sg,{applyPlatformTemplates:()=>JI,detectPlatform:()=>YI,isAriaHiddenSafeForTemplate:()=>Du});function Du(f){let d=f.trim().split(/[\s>~+]+/),g=d[d.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!g)return true;let p=g[1].toLowerCase();return p==="body"||p==="html"?false:!new Set(["a","button","input","select","textarea"]).has(p)}function XI(){if(Kn)return Kn;try{let f=globalThis.process,d=f?.getBuiltinModule?.("fs"),h=f?.getBuiltinModule?.("path");if(!d||!h)throw new Error("fs unavailable");let g=d.readFileSync(h.join(__dirname,"platformTemplates.json"),"utf-8");return Kn=JSON.parse(g),Kn}catch{return Kn={},Kn}}async function YI(f){return f.evaluate(()=>{let d=[],h=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),p=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (h.includes("shopify")||h.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(p.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")||p.includes("squarespace"))&&d.push("squarespace"),(h.includes("webflow")||p.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}function KI(f){return /^[a-z][a-z0-9]*$/i.test(f.trim())}async function JI(f,d,h="scan"){let g=XI(),p=[];for(let D of d)g[D]&&p.push(...g[D].filter(x=>!KI(x.selector)));return p.length?h==="manifest"?p.filter(D=>D.attribute==="aria-hidden"&&D.value==="true"?Du(D.selector):true).map(D=>({selector:D.selector,attribute:D.attribute,currentValue:"",issueType:D.attribute==="alt"?"missing_alt":D.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:D.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${D.platform} (template)`,needsAI:false,fixValue:D.value})):(await f.evaluate(D=>{let x=[];for(let k of D)try{let L=document.querySelectorAll(k.selector);if(L.length>0){let S=!1;for(let y of L){let _=y.getAttribute(k.attribute)||"";if(k.attribute==="alt"&&y.getAttribute("alt")===null)S=!0;else if(k.attribute==="alt"&&_===""&&k.value==="")S=!0;else if(k.attribute==="aria-label"&&!_)S=!0;else if(k.attribute==="title"&&!_)S=!0;else if(k.attribute==="role"&&_!==k.value)S=!0;else if(k.attribute==="aria-level"&&!y.getAttribute("aria-level"))S=!(y.tagName==="H1"&&k.value!=="1"&&document.querySelectorAll("h1").length<2);else if(k.attribute==="aria-hidden"&&y.getAttribute("aria-hidden")!=="true"){let I=y.tagName.toLowerCase(),C=I==="a"&&y.hasAttribute("href")||I==="button"||I==="input"||I==="select"||I==="textarea"||Number(y.getAttribute("tabindex")??-1)>=0;I!=="body"&&I!=="html"&&!C&&(S=!0);}if(S)break}S&&x.push({selector:k.selector,attribute:k.attribute,value:k.value,platform:k.platform,matchCount:L.length});}}catch{}return x},p.filter(D=>!(D.attribute==="aria-hidden"&&D.value==="true")||Du(D.selector)).map(D=>({selector:D.selector,attribute:D.attribute,value:D.value,platform:D.platform})))).map(D=>({selector:D.selector,attribute:D.attribute,currentValue:"",issueType:D.attribute==="alt"?"missing_alt":D.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:D.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${D.platform} (${D.matchCount} elements)`,needsAI:false,fixValue:D.value})):[]}var Kn,lg=wr(()=>{Kn=null;});var vg=M3((gg,ei)=>{(function f(d){var h=d,g=d.document,p=p||{};p.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return p}),(typeof ei>"u"?"undefined":fe(ei))==="object"&&ei.exports&&typeof f.toString=="function"&&(p.source="("+f.toString()+')(typeof window === "object" ? window : this);',ei.exports=p),typeof d.getComputedStyle=="function"&&(d.axe=p);var D=["precision","format","inGamut"],x=["space"],k=["algorithm"],L=["method"],S=["maxDeltaE","deltaEMethod","steps","maxSteps"],y=["node"],_=["relatedNodes"],I=["node"],C=["variant"],F=["matches"],O=["chromium"],M=["noImplicit"],B=["noPresentational"],H=["node"],Y=["environmentData"],Z=["environmentData"],E=["environmentData"],v=["environmentData"],T=["environmentData"];function P(re){return dr(re)||$t(re)||Mr(re)||Or()}function V(re){var oe=typeof Map=="function"?new Map:void 0;return V=function(ve){if(ve===null||!j(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(ve))return oe.get(ve);oe.set(ve,Ge);}function Ge(){return J(ve,arguments,Ae(this).constructor)}return Ge.prototype=Object.create(ve.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}}),Ne(Ge,ve)},V(re)}function j(re){try{return Function.toString.call(re).indexOf("[native code]")!==-1}catch{return typeof re=="function"}}function G(re,oe,de){return (oe=ai(oe))in re?Object.defineProperty(re,oe,{value:de,enumerable:true,configurable:true,writable:true}):re[oe]=de,re}function J(re,oe,de){if(ue())return Reflect.construct.apply(null,arguments);var ve=[null];ve.push.apply(ve,oe);var Ge=new(re.bind.apply(re,ve));return de&&Ne(Ge,de.prototype),Ge}function ee(re,oe){if(re==null)return {};var de,ve,Ge=ae(re,oe);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(re);for(ve=0;ve<tt.length;ve++)de=tt[ve],oe.indexOf(de)===-1&&{}.propertyIsEnumerable.call(re,de)&&(Ge[de]=re[de]);}return Ge}function ae(re,oe){if(re==null)return {};var de={};for(var ve in re)if({}.hasOwnProperty.call(re,ve)){if(oe.indexOf(ve)!==-1)continue;de[ve]=re[ve];}return de}function Q(re,oe,de){return oe=Ae(oe),ce(re,ue()?Reflect.construct(oe,de||[],Ae(re).constructor):oe.apply(re,de))}function ce(re,oe){if(oe&&(fe(oe)=="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(re)}function we(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function ue(){try{var re=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (ue=function(){return !!re})()}function Ae(re){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Ae(re)}function Oe(re,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create(oe&&oe.prototype,{constructor:{value:re,writable:true,configurable:true}}),Object.defineProperty(re,"prototype",{writable:false}),oe&&Ne(re,oe);}function Ne(re,oe){return Ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(de,ve){return de.__proto__=ve,de},Ne(re,oe)}function Fe(){return Fe=Object.assign?Object.assign.bind():function(re){for(var oe=1;oe<arguments.length;oe++){var de=arguments[oe];for(var ve in de)({}).hasOwnProperty.call(de,ve)&&(re[ve]=de[ve]);}return re},Fe.apply(null,arguments)}function ke(re){return Ke(re)||$t(re)||Mr(re)||Ot()}function Ot(){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
|
|
366
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cr(re,oe){var
|
|
367
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var tt,ot=true,pt=false;return {s:function(){de=de.call(re);},n:function(){var qe=de.next();return ot=qe.done,qe},e:function(qe){pt=true,tt=qe;},f:function(){try{ot||de.return==null||de.return();}finally{if(pt)throw tt}}}}function Mr(re,oe){if(re){if(typeof re=="string")return fn(re,oe);var de={}.toString.call(re).slice(8,-1);return de==="Object"&&re.constructor&&(de=re.constructor.name),de==="Map"||de==="Set"?Array.from(re):de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de)?fn(re,oe):void 0}}function fn(re,oe){(oe==null||oe>re.length)&&(oe=re.length);for(var de=0,ve=Array(oe);de<oe;de++)ve[de]=re[de];return ve}function fe(re){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},fe(re)}((function(re,oe,de,ve,Ge,tt,ot,pt,Je,qe,Xt){var Yt=Object.create,Nr=Object.defineProperty,aa=Object.getPrototypeOf,Ug=Object.prototype.hasOwnProperty,Wg=Object.getOwnPropertyNames,Xg=Object.getOwnPropertyDescriptor,Yg=function(t,r,n){return r in t?Nr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Kg=function(t){return Nr(t,"__esModule",{value:true})},U=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},fr=function(t,r){for(var n in r)Nr(t,n,{get:r[n],enumerable:true});},Jg=function(t,r,n){if(r&&fe(r)==="object"||typeof r=="function"){var a=it(Wg(r)),i;try{var o=function(){var l=i.value;!Ug.call(t,l)&&l!=="default"&&Nr(t,l,{get:function(){return r[l]},enumerable:!(n=Xg(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},Dr=function(t){return Jg(Kg(Nr(t!=null?Yt(aa(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Bu=function(t,r,n){return Yg(t,fe(r)!=="symbol"?r+"":r,n),n},Zg=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(ie){var me=fe(ie);return ie!==null&&(me==="object"||me==="function")}function n(ie){return typeof ie=="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,ye){ne[o]=me,ne[o+1]=ye,o+=2,o===2&&(l?l(se):_e());};function c(ie){l=ie;}function m(ie){u=ie;}var b=typeof d<"u"?d:void 0,A=b||{},R=A.MutationObserver||A.WebKitMutationObserver,N=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",q=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function $(){return function(){return process.nextTick(se)}}function z(){return typeof s<"u"?function(){s(se);}:K()}function W(){var ie=0,me=new R(se),ye=g.createTextNode("");return me.observe(ye,{characterData:true}),function(){ye.data=ie=++ie%2;}}function X(){var ie=new MessageChannel;return ie.port1.onmessage=se,function(){return ie.port2.postMessage(0)}}function K(){var ie=setTimeout;return function(){return ie(se,1)}}var ne=new Array(1e3);function se(){for(var ie=0;ie<o;ie+=2){var me=ne[ie],ye=ne[ie+1];me(ye),ne[ie]=void 0,ne[ie+1]=void 0;}o=0;}function pe(){try{var ie=Function("return this")().require("vertx");return s=ie.runOnLoop||ie.runOnContext,z()}catch{return K()}}var _e=void 0;N?_e=$():R?_e=W():q?_e=X():b===void 0?_e=pe():_e=K();function le(ie,me){var ye=this,Ie=new this.constructor(Ee);Ie[xe]===void 0&>(Ie);var ze=ye._state;if(ze){var Ze=arguments[ze-1];u(function(){return ft(ze,Ie,Ze,ye._result)});}else et(ye,Ie,ie,me);return Ie}function ge(ie){var me=this;if(ie&&fe(ie)==="object"&&ie.constructor===me)return ie;var ye=new me(Ee);return Se(ye,ie),ye}var xe=Math.random().toString(36).substring(2);function Ee(){}var Me=void 0,je=1,Re=2;function He(){return new TypeError("You cannot resolve a promise with itself")}function be(){return new TypeError("A promises callback cannot return that same promise.")}function Pe(ie,me,ye,Ie){try{ie.call(me,ye,Ie);}catch(ze){return ze}}function te(ie,me,ye){u(function(Ie){var ze=false,Ze=Pe(ye,me,function(Tt){ze||(ze=true,me!==Tt?Se(Ie,Tt):Te(Ie,Tt));},function(Tt){ze||(ze=true,Le(Ie,Tt));},"Settle: "+(Ie._label||" unknown promise"));!ze&&Ze&&(ze=true,Le(Ie,Ze));},ie);}function Ce(ie,me){me._state===je?Te(ie,me._result):me._state===Re?Le(ie,me._result):et(me,void 0,function(ye){return Se(ie,ye)},function(ye){return Le(ie,ye)});}function he(ie,me,ye){me.constructor===ie.constructor&&ye===le&&me.constructor.resolve===ge?Ce(ie,me):ye===void 0?Te(ie,me):n(ye)?te(ie,me,ye):Te(ie,me);}function Se(ie,me){if(ie===me)Le(ie,He());else if(r(me)){var ye=void 0;try{ye=me.then;}catch(Ie){Le(ie,Ie);return}he(ie,me,ye);}else Te(ie,me);}function $e(ie){ie._onerror&&ie._onerror(ie._result),ut(ie);}function Te(ie,me){ie._state===Me&&(ie._result=me,ie._state=je,ie._subscribers.length!==0&&u(ut,ie));}function Le(ie,me){ie._state===Me&&(ie._state=Re,ie._result=me,u($e,ie));}function et(ie,me,ye,Ie){var ze=ie._subscribers,Ze=ze.length;ie._onerror=null,ze[Ze]=me,ze[Ze+je]=ye,ze[Ze+Re]=Ie,Ze===0&&ie._state&&u(ut,ie);}function ut(ie){var me=ie._subscribers,ye=ie._state;if(me.length!==0){for(var Ie=void 0,ze=void 0,Ze=ie._result,Tt=0;Tt<me.length;Tt+=3)Ie=me[Tt],ze=me[Tt+ye],Ie?ft(ye,Ie,ze,Ze):ze(Ze);ie._subscribers.length=0;}}function ft(ie,me,ye,Ie){var ze=n(ye),Ze=void 0,Tt=void 0,Xn=true;if(ze){try{Ze=ye(Ie);}catch(Mo){Xn=false,Tt=Mo;}if(me===Ze){Le(me,be());return}}else Ze=Ie;me._state!==Me||(ze&&Xn?Se(me,Ze):Xn===false?Le(me,Tt):ie===je?Te(me,Ze):ie===Re&&Le(me,Ze));}function Dt(ie,me){try{me(function(Ie){Se(ie,Ie);},function(Ie){Le(ie,Ie);});}catch(ye){Le(ie,ye);}}var St=0;function Ct(){return St++}function gt(ie){ie[xe]=St++,ie._state=void 0,ie._result=void 0,ie._subscribers=[];}function Wn(){return new Error("Array Methods must be provided an Array")}var Pt=(function(){function ie(me,ye){this._instanceConstructor=me,this.promise=new me(Ee),this.promise[xe]||gt(this.promise),i(ye)?(this.length=ye.length,this._remaining=ye.length,this._result=new Array(this.length),this.length===0?Te(this.promise,this._result):(this.length=this.length||0,this._enumerate(ye),this._remaining===0&&Te(this.promise,this._result))):Le(this.promise,Wn());}return ie.prototype._enumerate=function(ye){for(var Ie=0;this._state===Me&&Ie<ye.length;Ie++)this._eachEntry(ye[Ie],Ie);},ie.prototype._eachEntry=function(ye,Ie){var ze=this._instanceConstructor,Ze=ze.resolve;if(Ze===ge){var Tt=void 0,Xn=void 0,Mo=false;try{Tt=ye.then;}catch(bu){Mo=true,Xn=bu;}if(Tt===le&&ye._state!==Me)this._settledAt(ye._state,Ie,ye._result);else if(typeof Tt!="function")this._remaining--,this._result[Ie]=ye;else if(ze===wt){var vu=new ze(Ee);Mo?Le(vu,Xn):he(vu,ye,Tt),this._willSettleAt(vu,Ie);}else this._willSettleAt(new ze(function(bu){return bu(ye)}),Ie);}else this._willSettleAt(Ze(ye),Ie);},ie.prototype._settledAt=function(ye,Ie,ze){var Ze=this.promise;Ze._state===Me&&(this._remaining--,ye===Re?Le(Ze,ze):this._result[Ie]=ze),this._remaining===0&&Te(Ze,this._result);},ie.prototype._willSettleAt=function(ye,Ie){var ze=this;et(ye,void 0,function(Ze){return ze._settledAt(je,Ie,Ze)},function(Ze){return ze._settledAt(Re,Ie,Ze)});},ie})();function vt(ie){return new Pt(this,ie).promise}function kt(ie){var me=this;return i(ie)?new me(function(ye,Ie){for(var ze=ie.length,Ze=0;Ze<ze;Ze++)me.resolve(ie[Ze]).then(ye,Ie);}):new me(function(ye,Ie){return Ie(new TypeError("You must pass an array to race."))})}function At(ie){var me=this,ye=new me(Ee);return Le(ye,ie),ye}function Bt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ht(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var wt=(function(){function ie(me){this[xe]=Ct(),this._result=this._state=void 0,this._subscribers=[],Ee!==me&&(typeof me!="function"&&Bt(),this instanceof ie?Dt(this,me):Ht());}return ie.prototype.catch=function(ye){return this.then(null,ye)},ie.prototype.finally=function(ye){var Ie=this,ze=Ie.constructor;return n(ye)?Ie.then(function(Ze){return ze.resolve(ye()).then(function(){return Ze})},function(Ze){return ze.resolve(ye()).then(function(){throw Ze})}):Ie.then(ye,ye)},ie})();wt.prototype.then=le,wt.all=vt,wt.race=kt,wt.resolve=ge,wt.reject=At,wt._setScheduler=c,wt._setAsap=m,wt._asap=u;function ct(){var ie=void 0;if(typeof h<"u")ie=h;else if(typeof self<"u")ie=self;else try{ie=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var me=ie.Promise;if(me){var ye=null;try{ye=Object.prototype.toString.call(me.resolve());}catch{}if(ye==="[object Promise]"&&!me.cast)return}ie.Promise=wt;}return wt.polyfill=ct,wt.Promise=wt,wt});}),Qg=U(function(e){var t=1e5,r=(function(){var te=Object.prototype.toString,Ce=Object.prototype.hasOwnProperty;return {Class:function(Se){return te.call(Se).replace(/^\[object *|\]$/g,"")},HasProperty:function(Se,$e){return $e in Se},HasOwnProperty:function(Se,$e){return Ce.call(Se,$e)},IsCallable:function(Se){return typeof Se=="function"},ToInt32:function(Se){return Se>>0},ToUint32:function(Se){return Se>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(te,Ce,he){return te<Ce?Ce:te>he?he:te}var m=Object.getOwnPropertyNames||function(te){if(te!==Object(te))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Ce=[],he;for(he in te)r.HasOwnProperty(te,he)&&Ce.push(he);return Ce},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Ce,he,Se){if(!Ce===Object(Ce))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Se,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Ce,he,Se.get),r.HasProperty(Se,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Ce,he,Se.set),r.HasProperty(Se,"value")&&(Ce[he]=Se.value),Ce};function A(te){if(m&&b){var Ce=m(te),he;for(he=0;he<Ce.length;he+=1)b(te,Ce[he],{value:te[Ce[he]],writable:false,enumerable:false,configurable:false});}}function R(te){if(!b)return;if(te.length>t)throw new RangeError("Array too large for polyfill");function Ce(Se){b(te,Se,{get:function(){return te._getter(Se)},set:function(Te){te._setter(Se,Te);},enumerable:true,configurable:false});}var he;for(he=0;he<te.length;he+=1)Ce(he);}function N(te,Ce){var he=32-Ce;return te<<he>>he}function q(te,Ce){var he=32-Ce;return te<<he>>>he}function $(te){return [te&255]}function z(te){return N(te[0],8)}function W(te){return [te&255]}function X(te){return q(te[0],8)}function K(te){return te=u(Number(te)),[te<0?0:te>255?255:te&255]}function ne(te){return [te>>8&255,te&255]}function se(te){return N(te[0]<<8|te[1],16)}function pe(te){return [te>>8&255,te&255]}function _e(te){return q(te[0]<<8|te[1],16)}function le(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function ge(te){return N(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function xe(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function Ee(te){return q(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function Me(te,Ce,he){var Se=(1<<Ce-1)-1,$e,Te,Le,et,ut,ft,Dt;function St(Ct){var gt=i(Ct),Wn=Ct-gt;return Wn<.5?gt:Wn>.5||gt%2?gt+1:gt}for(te!==te?(Te=(1<<Ce)-1,Le=l(2,he-1),$e=0):te===1/0||te===-1/0?(Te=(1<<Ce)-1,Le=0,$e=te<0?1:0):te===0?(Te=0,Le=0,$e=1/te===-1/0?1:0):($e=te<0,te=a(te),te>=l(2,1-Se)?(Te=s(i(o(te)/n),1023),Le=St(te/l(2,Te)*l(2,he)),Le/l(2,he)>=2&&(Te=Te+1,Le=1),Te>Se?(Te=(1<<Ce)-1,Le=0):(Te=Te+Se,Le=Le-l(2,he))):(Te=0,Le=St(te/l(2,1-Se-he)))),ut=[],et=he;et;et-=1)ut.push(Le%2?1:0),Le=i(Le/2);for(et=Ce;et;et-=1)ut.push(Te%2?1:0),Te=i(Te/2);for(ut.push($e?1:0),ut.reverse(),ft=ut.join(""),Dt=[];ft.length;)Dt.push(parseInt(ft.substring(0,8),2)),ft=ft.substring(8);return Dt}function je(te,Ce,he){var Se=[],$e,Te,Le,et,ut,ft,Dt,St;for($e=te.length;$e;$e-=1)for(Le=te[$e-1],Te=8;Te;Te-=1)Se.push(Le%2?1:0),Le=Le>>1;return Se.reverse(),et=Se.join(""),ut=(1<<Ce-1)-1,ft=parseInt(et.substring(0,1),2)?-1:1,Dt=parseInt(et.substring(1,1+Ce),2),St=parseInt(et.substring(1+Ce),2),Dt===(1<<Ce)-1?St===0?ft*(1/0):NaN:Dt>0?ft*l(2,Dt-ut)*(1+St/l(2,he)):St!==0?ft*l(2,-(ut-1))*(St/l(2,he)):ft<0?-0:0}function Re(te){return je(te,11,52)}function He(te){return Me(te,11,52)}function be(te){return je(te,8,23)}function Pe(te){return Me(te,8,23)}((function(){function te(Ct){if(Ct=r.ToInt32(Ct),Ct<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Ct,this._bytes=[],this._bytes.length=Ct;var gt;for(gt=0;gt<this.byteLength;gt+=1)this._bytes[gt]=0;A(this);}e.ArrayBuffer=e.ArrayBuffer||te;function Ce(){}function he(Ct,gt,Wn){var Pt;return Pt=function(kt,At,Bt){var Ht,wt,ct,ie;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Bt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0;}else if(fe(arguments[0])==="object"&&arguments[0].constructor===Pt)for(Ht=arguments[0],this.length=Ht.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)this._setter(ct,Ht._getter(ct));else if(fe(arguments[0])==="object"&&!(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer"))for(wt=arguments[0],this.length=r.ToUint32(wt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)ie=wt[ct],this._setter(ct,Number(ie));else if(fe(arguments[0])==="object"&&(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=kt,this.byteOffset=r.ToUint32(At),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(Bt),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=Pt,A(this),R(this);},Pt.prototype=new Ce,Pt.prototype.BYTES_PER_ELEMENT=Ct,Pt.prototype._pack=gt,Pt.prototype._unpack=Wn,Pt.BYTES_PER_ELEMENT=Ct,Pt.prototype._getter=function(vt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(vt=r.ToUint32(vt),!(vt>=this.length)){for(var kt=[],At=0,Bt=this.byteOffset+vt*this.BYTES_PER_ELEMENT;At<this.BYTES_PER_ELEMENT;At+=1,Bt+=1)kt.push(this.buffer._bytes[Bt]);return this._unpack(kt)}},Pt.prototype.get=Pt.prototype._getter,Pt.prototype._setter=function(vt,kt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(vt=r.ToUint32(vt),vt<this.length){var At=this._pack(kt),Bt,Ht;for(Bt=0,Ht=this.byteOffset+vt*this.BYTES_PER_ELEMENT;Bt<this.BYTES_PER_ELEMENT;Bt+=1,Ht+=1)this.buffer._bytes[Ht]=At[Bt];}},Pt.prototype.set=function(vt,kt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var At,Bt,Ht,wt,ct,ie,me,ye,Ie,ze;if(fe(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(At=arguments[0],Ht=r.ToUint32(arguments[1]),Ht+At.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ye=this.byteOffset+Ht*this.BYTES_PER_ELEMENT,Ie=At.length*this.BYTES_PER_ELEMENT,At.buffer===this.buffer){for(ze=[],ct=0,ie=At.byteOffset;ct<Ie;ct+=1,ie+=1)ze[ct]=At.buffer._bytes[ie];for(ct=0,me=ye;ct<Ie;ct+=1,me+=1)this.buffer._bytes[me]=ze[ct];}else for(ct=0,ie=At.byteOffset,me=ye;ct<Ie;ct+=1,ie+=1,me+=1)this.buffer._bytes[me]=At.buffer._bytes[ie];}else if(fe(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Bt=arguments[0],wt=r.ToUint32(Bt.length),Ht=r.ToUint32(arguments[1]),Ht+wt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ct=0;ct<wt;ct+=1)ie=Bt[ct],this._setter(Ht+ct,Number(ie));}else throw new TypeError("Unexpected argument type(s)")},Pt.prototype.subarray=function(vt,kt){vt=r.ToInt32(vt),kt=r.ToInt32(kt),arguments.length<1&&(vt=0),arguments.length<2&&(kt=this.length),vt<0&&(vt=this.length+vt),kt<0&&(kt=this.length+kt),vt=c(vt,0,this.length),kt=c(kt,0,this.length);var At=kt-vt;return At<0&&(At=0),new this.constructor(this.buffer,this.byteOffset+vt*this.BYTES_PER_ELEMENT,At)},Pt}var Se=he(1,$,z),$e=he(1,W,X),Te=he(1,K,X),Le=he(2,ne,se),et=he(2,pe,_e),ut=he(4,le,ge),ft=he(4,xe,Ee),Dt=he(4,Pe,be),St=he(8,He,Re);e.Int8Array=e.Int8Array||Se,e.Uint8Array=e.Uint8Array||$e,e.Uint8ClampedArray=e.Uint8ClampedArray||Te,e.Int16Array=e.Int16Array||Le,e.Uint16Array=e.Uint16Array||et,e.Int32Array=e.Int32Array||ut,e.Uint32Array=e.Uint32Array||ft,e.Float32Array=e.Float32Array||Dt,e.Float64Array=e.Float64Array||St;}))(),(function(){function te(Te,Le){return r.IsCallable(Te.get)?Te.get(Le):Te[Le]}var Ce=(function(){var Te=new e.Uint16Array([4660]),Le=new e.Uint8Array(Te.buffer);return te(Le,0)===18})();function he(Te,Le,et){if(arguments.length===0)Te=new e.ArrayBuffer(0);else if(!(Te instanceof e.ArrayBuffer||r.Class(Te)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Te||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Le),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(et),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");A(this);}function Se(Te){return function(Le,et){if(Le=r.ToUint32(Le),Le+Te.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Le+=this.byteOffset;var ut=new e.Uint8Array(this.buffer,Le,Te.BYTES_PER_ELEMENT),ft=[],Dt;for(Dt=0;Dt<Te.BYTES_PER_ELEMENT;Dt+=1)ft.push(te(ut,Dt));return !!et==!!Ce&&ft.reverse(),te(new Te(new e.Uint8Array(ft).buffer),0)}}he.prototype.getUint8=Se(e.Uint8Array),he.prototype.getInt8=Se(e.Int8Array),he.prototype.getUint16=Se(e.Uint16Array),he.prototype.getInt16=Se(e.Int16Array),he.prototype.getUint32=Se(e.Uint32Array),he.prototype.getInt32=Se(e.Int32Array),he.prototype.getFloat32=Se(e.Float32Array),he.prototype.getFloat64=Se(e.Float64Array);function $e(Te){return function(Le,et,ut){if(Le=r.ToUint32(Le),Le+Te.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var ft=new Te([et]),Dt=new e.Uint8Array(ft.buffer),St=[],Ct,gt;for(Ct=0;Ct<Te.BYTES_PER_ELEMENT;Ct+=1)St.push(te(Dt,Ct));!!ut==!!Ce&&St.reverse(),gt=new e.Uint8Array(this.buffer,Le,Te.BYTES_PER_ELEMENT),gt.set(St);}}he.prototype.setUint8=$e(e.Uint8Array),he.prototype.setInt8=$e(e.Int8Array),he.prototype.setUint16=$e(e.Uint16Array),he.prototype.setInt16=$e(e.Int16Array),he.prototype.setUint32=$e(e.Uint32Array),he.prototype.setInt32=$e(e.Int32Array),he.prototype.setFloat32=$e(e.Float32Array),he.prototype.setFloat64=$e(e.Float64Array),e.DataView=e.DataView||he;})();}),ev=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 h<"u"?h:e);}),pr=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 h>"u"?"undefined":fe(h))=="object"&&h)||r(fe(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),mr=U(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),oi=U(function(e,t){var r=mr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),tv=U(function(e,t){var r=oi(),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)});}),nr=U(function(e,t){var r=oi(),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)}};}),si=U(function(e,t){var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Hu=U(function(e,t){var r=si(),n=nr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Gt=U(function(e,t){var r=(typeof g>"u"?"undefined":fe(g))=="object"&&g.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),Ar=U(function(e,t){var r=mr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),pn=U(function(e,t){var r=oi(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Vu=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;}),li=U(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),rv=U(function(e,t){var r=nr(),n=mr(),a=si(),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;}),Go=U(function(e,t){t.exports=function(r){return r==null};}),ui=U(function(e,t){var r=Go(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),ia=U(function(e,t){var r=rv(),n=ui();t.exports=function(a){return r(n(a))};}),Xr=U(function(e,t){var r=Gt();t.exports=function(n){return fe(n)=="object"?n!==null:r(n)};}),oa=U(function(e,t){t.exports={};}),Uo=U(function(e,t){var r=oa(),n=pr(),a=Gt(),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]};}),nv=U(function(e,t){var r=nr();t.exports=r({}.isPrototypeOf);}),av=U(function(e,t){var r=pr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),iv=U(function(e,t){var r=pr(),n=av(),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;}),$u=U(function(e,t){var r=iv(),n=mr(),a=pr(),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});}),ju=U(function(e,t){var r=$u();t.exports=r&&!Symbol.sham&&fe(Symbol.iterator)=="symbol";}),zu=U(function(e,t){var r=Uo(),n=Gt(),a=nv(),i=ju(),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))};}),Gu=U(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ci=U(function(e,t){var r=Gt(),n=Gu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Wo=U(function(e,t){var r=ci(),n=Go();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),ov=U(function(e,t){var r=pn(),n=Gt(),a=Xr(),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")};}),Xo=U(function(e,t){t.exports=true;}),sv=U(function(e,t){var r=pr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),di=U(function(e,t){var r=Xo(),n=pr(),a=sv(),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"});}),Uu=U(function(e,t){var r=di();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Yo=U(function(e,t){var r=ui(),n=Object;t.exports=function(a){return n(r(a))};}),qr=U(function(e,t){var r=nr(),n=Yo(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Wu=U(function(e,t){var r=nr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Br=U(function(e,t){var r=pr(),n=Uu(),a=qr(),i=Wu(),o=$u(),s=ju(),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]};}),lv=U(function(e,t){var r=pn(),n=Xr(),a=zu(),i=Wo(),o=ov(),s=Br(),l=TypeError,u=s("toPrimitive");t.exports=function(c,m){if(!n(c)||a(c))return c;var b=i(c,u),A;if(b){if(m===void 0&&(m="default"),A=r(b,c,m),!n(A)||a(A))return A;throw new l("Can't convert object to primitive value")}return m===void 0&&(m="number"),o(c,m)};}),Xu=U(function(e,t){var r=lv(),n=zu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Yu=U(function(e,t){var r=pr(),n=Xr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),Ku=U(function(e,t){var r=Ar(),n=mr(),a=Yu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),uv=U(function(e){var t=Ar(),r=pn(),n=Vu(),a=li(),i=ia(),o=Xu(),s=qr(),l=Ku(),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])};}),cv=U(function(e,t){var r=mr(),n=Gt(),a=/#|\.prototype\./,i=function(m,b){var A=s[o(m)];return A===u?true:A===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;}),Ju=U(function(e,t){var r=Hu(),n=ci(),a=oi(),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)}};}),Zu=U(function(e,t){var r=Ar(),n=mr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),kn=U(function(e,t){var r=Xr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),fi=U(function(e){var t=Ar(),r=Ku(),n=Zu(),a=kn(),i=Xu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",m="writable";e.f=t?n?function(A,R,N){if(a(A),R=i(R),a(N),typeof A=="function"&&R==="prototype"&&"value"in N&&m in N&&!N[m]){var q=l(A,R);q&&q[m]&&(A[R]=N.value,N={configurable:c in N?N[c]:q[c],enumerable:u in N?N[u]:q[u],writable:false});}return s(A,R,N)}:s:function(A,R,N){if(a(A),R=i(R),a(N),r)try{return s(A,R,N)}catch{}if("get"in N||"set"in N)throw new o("Accessors not supported");return "value"in N&&(A[R]=N.value),A};}),sa=U(function(e,t){var r=Ar(),n=fi(),a=li();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),pi=U(function(e,t){var r=pr(),n=tv(),a=Hu(),i=Gt(),o=uv().f,s=cv(),l=oa(),u=Ju(),c=sa(),m=qr();di();var b=function(R){var N=function($,z,W){if(this instanceof N){switch(arguments.length){case 0:return new R;case 1:return new R($);case 2:return new R($,z)}return new R($,z,W)}return n(R,this,arguments)};return N.prototype=R.prototype,N};t.exports=function(A,R){var N=A.target,q=A.global,$=A.stat,z=A.proto,W=q?r:$?r[N]:r[N]&&r[N].prototype,X=q?l:l[N]||c(l,N,{})[N],K=X.prototype,ne,se,pe,_e,le,ge,xe,Ee,Me;for(_e in R)ne=s(q?_e:N+($?".":"#")+_e,A.forced),se=!ne&&W&&m(W,_e),ge=X[_e],se&&(A.dontCallGetSet?(Me=o(W,_e),xe=Me&&Me.value):xe=W[_e]),le=se&&xe?xe:R[_e],!(!ne&&!z&&fe(ge)==fe(le))&&(A.bind&&se?Ee=u(le,r):A.wrap&&se?Ee=b(le):z&&i(le)?Ee=a(le):Ee=le,(A.sham||le&&le.sham||ge&&ge.sham)&&c(Ee,"sham",true),c(X,_e,Ee),z&&(pe=N+"Prototype",m(l,pe)||c(l,pe,{}),c(l[pe],_e,le),A.real&&K&&(ne||!K[_e])&&c(K,_e,le)));};}),dv=U(function(){var e=pi(),t=qr();e({target:"Object",stat:true},{hasOwn:t});}),fv=U(function(e,t){dv();var r=oa();t.exports=r.Object.hasOwn;}),pv=U(function(e,t){var r=fv();t.exports=r;}),mv=U(function(e,t){var r=pv();t.exports=r;}),Ko=U(function(e,t){var r=Uu(),n=Wu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),hv=U(function(e,t){var r=mr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),Jo=U(function(e,t){var r=qr(),n=Gt(),a=Yo(),i=Ko(),o=hv(),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};}),gv=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)};}),Zo=U(function(e,t){var r=gv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),vv=U(function(e,t){var r=Zo(),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)};}),bv=U(function(e,t){var r=Zo(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),Qu=U(function(e,t){var r=bv();t.exports=function(n){return r(n.length)};}),yv=U(function(e,t){var r=ia(),n=vv(),a=Qu(),i=function(s){return function(l,u,c){var m=r(l),b=a(m);if(b===0)return !s&&-1;var A=n(c,b),R;if(s&&u!==u){for(;b>A;)if(R=m[A++],R!==R)return true}else for(;b>A;A++)if((s||A in m)&&m[A]===u)return s||A||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Qo=U(function(e,t){t.exports={};}),wv=U(function(e,t){var r=nr(),n=qr(),a=ia(),i=yv().indexOf,o=Qo(),s=r([].push);t.exports=function(l,u){var c=a(l),m=0,b=[],A;for(A in c)!n(o,A)&&n(c,A)&&s(b,A);for(;u.length>m;)n(c,A=u[m++])&&(~i(b,A)||s(b,A));return b};}),ec=U(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),tc=U(function(e,t){var r=wv(),n=ec();t.exports=Object.keys||function(i){return r(i,n)};}),xv=U(function(e,t){var r=Ar(),n=mr(),a=nr(),i=Jo(),o=tc(),s=ia(),l=Vu().f,u=a(l),c=a([].push),m=r&&n(function(){var A=Object.create(null);return A[2]=2,!u(A,2)}),b=function(R){return function(N){for(var q=s(N),$=o(q),z=m&&i(q)===null,W=$.length,X=0,K=[],ne;W>X;)ne=$[X++],(!r||(z?ne in q:u(q,ne)))&&c(K,R?[ne,q[ne]]:q[ne]);return K}};t.exports={entries:b(true),values:b(false)};}),Dv=U(function(){var e=pi(),t=xv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),Av=U(function(e,t){Dv();var r=oa();t.exports=r.Object.values;}),_v=U(function(e,t){var r=Av();t.exports=r;}),Ev=U(function(e,t){var r=_v();t.exports=r;}),es=U(function(e,t){var r=Br(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),mi=U(function(e,t){var r=es(),n=Gt(),a=si(),i=Br(),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,A;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(m=s(c),o))=="string"?b:l?a(m):(A=a(m))==="Object"&&n(m.callee)?"Arguments":A};}),rc=U(function(e,t){var r=mi(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),Cv=U(function(e,t){var r=nr(),n=Zo(),a=rc(),i=ui(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(m){return function(b,A){var R=a(i(b)),N=n(A),q=R.length,$,z;return N<0||N>=q?m?"":void 0:($=s(R,N),$<55296||$>56319||N+1===q||(z=s(R,N+1))<56320||z>57343?m?o(R,N):$:m?l(R,N,N+2):($-55296<<10)+(z-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Sv=U(function(e,t){var r=pr(),n=Gt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),kv=U(function(e,t){var r=Sv(),n=pr(),a=Xr(),i=sa(),o=qr(),s=di(),l=Ko(),u=Qo(),c="Object already initialized",m=n.TypeError,b=n.WeakMap,A,R,N,q=function(K){return N(K)?R(K):A(K,{})},$=function(K){return function(ne){var se;if(!a(ne)||(se=R(ne)).type!==K)throw new m("Incompatible receiver, "+K+" required");return se}};r||s.state?(z=s.state||(s.state=new b),z.get=z.get,z.has=z.has,z.set=z.set,A=function(K,ne){if(z.has(K))throw new m(c);return ne.facade=K,z.set(K,ne),ne},R=function(K){return z.get(K)||{}},N=function(K){return z.has(K)}):(W=l("state"),u[W]=true,A=function(K,ne){if(o(K,W))throw new m(c);return ne.facade=K,i(K,W,ne),ne},R=function(K){return o(K,W)?K[W]:{}},N=function(K){return o(K,W)});var z,W;t.exports={set:A,get:R,has:N,enforce:q,getterFor:$};}),Tv=U(function(e,t){var r=Ar(),n=qr(),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};}),Rv=U(function(e){var t=Ar(),r=Zu(),n=fi(),a=kn(),i=ia(),o=tc();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),m=o(u),b=m.length,A=0,R;b>A;)n.f(l,R=m[A++],c[R]);return l};}),Fv=U(function(e,t){var r=Uo();t.exports=r("document","documentElement");}),nc=U(function(e,t){var r=kn(),n=Rv(),a=ec(),i=Qo(),o=Fv(),s=Yu(),l=Ko(),u=">",c="<",m="prototype",b="script",A=l("IE_PROTO"),R=function(){},N=function(K){return c+b+u+K+c+"/"+b+u},q=function(K){K.write(N("")),K.close();var ne=K.parentWindow.Object;return K=null,ne},$=function(){var K=s("iframe"),ne="java"+b+":",se;return K.style.display="none",o.appendChild(K),K.src=String(ne),se=K.contentWindow.document,se.open(),se.write(N("document.F=Object")),se.close(),se.F},z,W=function(){try{z=new ActiveXObject("htmlfile");}catch{}W=typeof g<"u"?g.domain&&z?q(z):$():q(z);for(var K=a.length;K--;)delete W[m][a[K]];return W()};i[A]=true,t.exports=Object.create||function(K,ne){var se;return K!==null?(R[m]=r(K),se=new R,R[m]=null,se[A]=K):se=W(),ne===void 0?se:n.f(se,ne)};}),ac=U(function(e,t){var r=sa();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),ic=U(function(e,t){var r=mr(),n=Gt(),a=Xr(),i=nc(),o=Jo(),s=ac(),l=Br(),u=Xo(),c=l("iterator"),m=false,b,A,R;[].keys&&(R=[].keys(),"next"in R?(A=o(o(R)),A!==Object.prototype&&(b=A)):m=true);var N=!a(b)||r(function(){var q={};return b[c].call(q)!==q});N?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:m};}),Iv=U(function(e,t){var r=es(),n=mi();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),oc=U(function(e,t){var r=es(),n=fi().f,a=sa(),i=qr(),o=Iv(),s=Br(),l=s("toStringTag");t.exports=function(u,c,m,b){var A=m?u:u&&u.prototype;A&&(i(A,l)||n(A,l,{configurable:true,value:c}),b&&!r&&a(A,"toString",o));};}),hi=U(function(e,t){t.exports={};}),Lv=U(function(e,t){var r=ic().IteratorPrototype,n=nc(),a=li(),i=oc(),o=hi(),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};}),Pv=U(function(e,t){var r=nr(),n=ci();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Ov=U(function(e,t){var r=Xr();t.exports=function(n){return r(n)||n===null};}),Mv=U(function(e,t){var r=Ov(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),Nv=U(function(e,t){var r=Pv(),n=Xr(),a=ui(),i=Mv();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);}),qv=U(function(e,t){var r=pi(),n=pn(),a=Xo(),i=Tv(),o=Gt(),s=Lv(),l=Jo(),u=Nv(),c=oc(),m=sa(),b=ac(),A=Br(),R=hi(),N=ic(),q=i.PROPER,$=i.CONFIGURABLE,z=N.IteratorPrototype,W=N.BUGGY_SAFARI_ITERATORS,X=A("iterator"),K="keys",ne="values",se="entries",pe=function(){return this};t.exports=function(_e,le,ge,xe,Ee,Me,je){s(ge,le,xe);var Re=function(et){if(et===Ee&&Ce)return Ce;if(!W&&et&&et in Pe)return Pe[et];switch(et){case K:return function(){return new ge(this,et)};case ne:return function(){return new ge(this,et)};case se:return function(){return new ge(this,et)}}return function(){return new ge(this)}},He=le+" Iterator",be=false,Pe=_e.prototype,te=Pe[X]||Pe["@@iterator"]||Ee&&Pe[Ee],Ce=!W&&te||Re(Ee),he=le==="Array"&&Pe.entries||te,Se,$e,Te;if(he&&(Se=l(he.call(new _e)),Se!==Object.prototype&&Se.next&&(!a&&l(Se)!==z&&(u?u(Se,z):o(Se[X])||b(Se,X,pe)),c(Se,He,true,true),a&&(R[He]=pe))),q&&Ee===ne&&te&&te.name!==ne&&(!a&&$?m(Pe,"name",ne):(be=true,Ce=function(){return n(te,this)})),Ee)if($e={values:Re(ne),keys:Me?Ce:Re(K),entries:Re(se)},je)for(Te in $e)(W||be||!(Te in Pe))&&b(Pe,Te,$e[Te]);else r({target:le,proto:true,forced:W||be},$e);return (!a||je)&&Pe[X]!==Ce&&b(Pe,X,Ce,{name:Ee}),R[le]=Ce,$e};}),Bv=U(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),Hv=U(function(){var e=Cv().charAt,t=rc(),r=kv(),n=qv(),a=Bv(),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))});}),Vv=U(function(e,t){var r=pn(),n=kn(),a=Wo();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};}),$v=U(function(e,t){var r=kn(),n=Vv();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),jv=U(function(e,t){var r=Br(),n=hi(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),zv=U(function(e,t){var r=nr(),n=Gt(),a=di(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),Gv=U(function(e,t){var r=nr(),n=mr(),a=Gt(),i=mi(),o=Uo(),s=zv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,m=r(c.exec),b=!c.test(l),A=function(q){if(!a(q))return false;try{return u(l,[],q),!0}catch{return false}},R=function(q){if(!a(q))return false;switch(i(q)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!m(c,s(q))}catch{return true}};R.sham=true,t.exports=!u||n(function(){var N;return A(A.call)||!A(Object)||!A(function(){N=true;})||N})?R:A;}),Uv=U(function(e,t){var r=Ar(),n=fi(),a=li();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Wv=U(function(e,t){var r=si();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Xv=U(function(e,t){var r=Ar(),n=Wv(),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};}),sc=U(function(e,t){var r=mi(),n=Wo(),a=Go(),i=hi(),o=Br(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Yv=U(function(e,t){var r=pn(),n=ci(),a=kn(),i=Gu(),o=sc(),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")};}),Kv=U(function(e,t){var r=Ju(),n=pn(),a=Yo(),i=$v(),o=jv(),s=Gv(),l=Qu(),u=Uv(),c=Xv(),m=Yv(),b=sc(),A=Array;t.exports=function(N){var q=a(N),$=s(this),z=arguments.length,W=z>1?arguments[1]:void 0,X=W!==void 0;X&&(W=r(W,z>2?arguments[2]:void 0));var K=b(q),ne=0,se,pe,_e,le,ge,xe;if(K&&!(this===A&&o(K)))for(pe=$?new this:[],le=m(q,K),ge=le.next;!(_e=n(ge,le)).done;ne++)xe=X?i(le,W,[_e.value,ne],true):_e.value,u(pe,ne,xe);else for(se=l(q),pe=$?new this(se):A(se);se>ne;ne++)xe=X?W(q[ne],ne):q[ne],u(pe,ne,xe);return c(pe,ne),pe};}),Jv=U(function(e,t){var r=Br(),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};}),Zv=U(function(){var e=pi(),t=Kv(),r=Jv(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Qv=U(function(e,t){Hv(),Zv();var r=oa();t.exports=r.Array.from;}),eb=U(function(e,t){var r=Qv();t.exports=r;}),lc=U(function(e,t){var r=eb();t.exports=r;}),uc=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:`
|
|
362
|
+
`;});var dn={};xr(dn,{INJECT_ATTR:()=>Ur,OWN_TOOLING_SELECTOR:()=>qo,attachMutations:()=>zI,dropToolingFindings:()=>WI,guardDetectorState:()=>GI,inject:()=>xu,startProvenance:()=>VI,stopProvenance:()=>$I});async function xu(f,d){let h=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await f.evaluate(({attr:p,mark:w,css:_})=>{let x=document.createElement("style");x.setAttribute(p,w),x.textContent=_,document.documentElement.appendChild(x);},{attr:Ur,mark:h,css:d.css});return}if(d.url){let p=await f.addScriptTag({url:d.url});try{await p?.evaluate?.((w,_)=>w.setAttribute(_.attr,_.mark),{attr:Ur,mark:h});}catch{}return}let g=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify(Ur)},${JSON.stringify(h)});
|
|
363
|
+
`;await f.addScriptTag({content:g+(d.content??"")});}async function VI(f){try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await f.evaluate(({key:d,attr:h,max:g})=>{let p=window;if(p[Symbol.for(d)]||typeof MutationObserver>"u")return;let w={tool:null,log:[],overflow:0,left:new Map};w.ours=_=>{let x=_&&_.nodeType===1?_:_?_.parentElement:null;for(;x;){if(x.hasAttribute(h))return !0;x=x.parentElement;}return !1},w.take=_=>{if(w.tool)for(let x of _){if(x.type==="attributes"&&x.attributeName===h||w.ours(x.target))continue;let k=x.type==="childList"?Array.from(x.addedNodes).filter(S=>!w.ours(S)):[];if(x.type==="childList"&&!k.length&&Array.from(x.removedNodes).every(S=>S.nodeType===1&&S.hasAttribute(h)))continue;let F=k.map(S=>S.nodeName.toLowerCase()+(S.nodeType===1&&S.getAttribute("id")?"#"+S.getAttribute("id"):""));w.log.length<g?w.log.push({tool:w.tool,type:x.type,attr:x.attributeName,target:x.target.nodeName,added:F}):w.overflow++;}},w.obs=new MutationObserver(_=>w.take(_)),w.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),p[Symbol.for(d)]=w;},{key:Ja,attr:Ur,max:HI});}catch{}}async function $I(f){try{return await f.evaluate(d=>{let h=window,g=h[Symbol.for(d)];return g?(g.take(g.obs.takeRecords()),g.obs.disconnect(),delete h[Symbol.for(d)],{log:g.log,overflow:g.overflow}):null},Ja)}catch{return null}}function zI(f,d){if(!d||!f.length)return;let h=d.log;for(let g of f){let p=h.filter(w=>w.tool===g.tool).slice(0,jI).map(({type:w,attr:_,target:x,added:k})=>({type:w,attr:_,target:x,added:k}));p.length&&(g.mutations=p);}}async function GI(f,d,h,g,p={}){let w=null;try{w=await f.evaluate(({key:_,prov:x,name:k,attr:F,widget:S,fsk:y})=>{let E=window;try{let $=E[Symbol.for(y)];$&&document.removeEventListener("focusin",$.h,!0);let N=new WeakMap,U=Q=>{let C=(new Error().stack||"").split(`
|
|
364
|
+
`).slice(1),v=/eval at evaluate/.test(C[0]||""),T=I=>/^\s*at /.test(I)&&!/UtilityScript|eval at evaluate/.test(I);N.set(Q.target,v&&C.length>1&&C.slice(1).some(T)?"page":"ours");};document.addEventListener("focusin",U,!0),E[Symbol.for(y)]={src:N,h:U};}catch{}let D=E[Symbol.for(x)];D&&(D.take(D.obs.takeRecords()),D.tool=k);let L=document.activeElement,P=!!L&&L!==document.body&&L!==document.documentElement,q=[];try{let $=typeof getSelection=="function"?getSelection():null;q=$?Array.from({length:$.rangeCount},(N,U)=>$.getRangeAt(U).cloneRange()):[];}catch{}let M=Array.from(document.querySelectorAll(`[${F}]:not(script):not([${F}="${S}"])`));return E[Symbol.for(_)]={el:P?L:null,ranges:q,marked:new Set(M)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:P,injected:M.length}},{key:ig,prov:Ja,name:d,attr:Ur,widget:wu,fsk:og});}catch{w=null;}try{return await g()}finally{w&&await UI(f,d,w,h,p);}}async function UI(f,d,h,g,p){let w={leaks:[]};try{w=await f.evaluate(({key:_,prov:x,snap:k,attr:F,widget:S,fsk:y})=>{let E=window,D=[],L=E[Symbol.for(y)];L&&(document.removeEventListener("focusin",L.h,!0),delete E[Symbol.for(y)]);let P=E[Symbol.for(_)],q=P?.el??null;try{delete E[Symbol.for(_)];}catch{}let M=E[Symbol.for(x)];M&&M.take(M.obs.takeRecords());let $=document.activeElement,N=$&&$!==document.body&&$!==document.documentElement?$:null,U=!!N&&N!==q&&L?.src.get(N)==="page";if(N!==q&&!U){D.push("activeElement"),M&&N&&M.left.set(N,M.tool);try{N?.blur?.();}catch{}try{q&&q.isConnected&&q.focus({preventScroll:!0});}catch{}}let Q=null;try{Q=document.querySelector(":focus-visible");}catch{}if(Q&&Q!==q&&!(U&&Q===N)){D.push("focus-visible");try{Q.blur();}catch{}}!U&&(Math.abs(window.scrollX-k.scrollX)>1||Math.abs(window.scrollY-k.scrollY)>1)&&(D.push("scroll"),window.scrollTo({left:k.scrollX,top:k.scrollY,behavior:"instant"}));try{let v=getSelection(),T=P?.ranges??[];if(v&&(v.rangeCount!==T.length||T.some((I,H)=>I.compareBoundaryPoints(Range.START_TO_START,v.getRangeAt(H))!==0||I.compareBoundaryPoints(Range.END_TO_END,v.getRangeAt(H))!==0))){D.push("selection"),v.removeAllRanges();for(let I of T)v.addRange(I);}}catch{}let C=Array.from(document.querySelectorAll(`[${F}]:not(script):not([${F}="${S}"])`));C.length!==k.injected&&D.push(`injected-nodes ${k.injected}->${C.length}`);for(let v of C)if(P?.marked&&!P.marked.has(v))try{v.remove();}catch{}return M&&(M.tool=null),{leaks:D}},{key:ig,prov:Ja,snap:h,attr:Ur,widget:wu,fsk:og});}catch{}if(w.leaks.length){let _=`tooling:state-not-restored (${d}: ${w.leaks.join(", ")}) \u2014 restored by the scanner`;if(p.bugs?.push({tool:d,kind:"state-not-restored",detail:w.leaks.join(", ")}),p.strict)throw new Error(_);g.push(_);}}async function WI(f,d,h){if(!d.length)return d;let g=Array.from(new Set(d.map(w=>w.selector).filter(Boolean))),p={};try{p=await f.evaluate(({sels:w,own:_,prov:x,attr:k,widget:F})=>{let S=window[Symbol.for(x)],y={};for(let E of w){y[E]=null;let D=null;try{D=document.querySelector(E.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{D=null;}if(!D)continue;let L=D.closest(_);if(L&&L!==document.body&&L!==document.documentElement){let P=L.closest(`[${k}]`)?.getAttribute(k);y[E]={tool:P&&P!==F?P.split(":")[0]:null,why:`on node injected by ${P}`};continue}S&&S.left.has(D)&&(y[E]={tool:S.left.get(D),why:"on the element the tool left focused"});}return y},{sels:g,own:qo,prov:Ja,attr:Ur,widget:wu});}catch{return d}return d.filter(w=>{let _=p[w.selector];return _?(_.tool&&h?.push({tool:_.tool,kind:"finding-dropped",detail:`${w.type} ${_.why}`,selector:w.selector}),false):true})}var Ur,wu,qo,Ja,HI,jI,ig,og,Lr=wr(()=>{Ur="data-wa-injected",wu="widget",qo=`[${Ur}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,Ja="wa.provenance",HI=500;jI=10;ig="wa.stateGuard.active",og="wa.stateGuard.focusSource";});var sg={};xr(sg,{applyPlatformTemplates:()=>JI,detectPlatform:()=>YI,isAriaHiddenSafeForTemplate:()=>Du});function Du(f){let d=f.trim().split(/[\s>~+]+/),g=d[d.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!g)return true;let p=g[1].toLowerCase();return p==="body"||p==="html"?false:!new Set(["a","button","input","select","textarea"]).has(p)}function XI(){if(Kn)return Kn;try{let f=globalThis.process,d=f?.getBuiltinModule?.("fs"),h=f?.getBuiltinModule?.("path");if(!d||!h)throw new Error("fs unavailable");let g=d.readFileSync(h.join(__dirname,"platformTemplates.json"),"utf-8");return Kn=JSON.parse(g),Kn}catch{return Kn={},Kn}}async function YI(f){return f.evaluate(()=>{let d=[],h=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),p=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (h.includes("shopify")||h.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(p.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")||p.includes("squarespace"))&&d.push("squarespace"),(h.includes("webflow")||p.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}function KI(f){return /^[a-z][a-z0-9]*$/i.test(f.trim())}async function JI(f,d,h="scan"){let g=XI(),p=[];for(let _ of d)g[_]&&p.push(...g[_].filter(x=>!KI(x.selector)));return p.length?h==="manifest"?p.filter(_=>_.attribute==="aria-hidden"&&_.value==="true"?Du(_.selector):true).map(_=>({selector:_.selector,attribute:_.attribute,currentValue:"",issueType:_.attribute==="alt"?"missing_alt":_.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:_.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${_.platform} (template)`,needsAI:false,fixValue:_.value})):(await f.evaluate(_=>{let x=[];for(let k of _)try{let F=document.querySelectorAll(k.selector);if(F.length>0){let S=!1;for(let y of F){let E=y.getAttribute(k.attribute)||"";if(k.attribute==="alt"&&y.getAttribute("alt")===null)S=!0;else if(k.attribute==="alt"&&E===""&&k.value==="")S=!0;else if(k.attribute==="aria-label"&&!E)S=!0;else if(k.attribute==="title"&&!E)S=!0;else if(k.attribute==="role"&&E!==k.value)S=!0;else if(k.attribute==="aria-level"&&!y.getAttribute("aria-level"))S=!(y.tagName==="H1"&&k.value!=="1"&&document.querySelectorAll("h1").length<2);else if(k.attribute==="aria-hidden"&&y.getAttribute("aria-hidden")!=="true"){let D=y.tagName.toLowerCase(),L=D==="a"&&y.hasAttribute("href")||D==="button"||D==="input"||D==="select"||D==="textarea"||Number(y.getAttribute("tabindex")??-1)>=0;D!=="body"&&D!=="html"&&!L&&(S=!0);}if(S)break}S&&x.push({selector:k.selector,attribute:k.attribute,value:k.value,platform:k.platform,matchCount:F.length});}}catch{}return x},p.filter(_=>!(_.attribute==="aria-hidden"&&_.value==="true")||Du(_.selector)).map(_=>({selector:_.selector,attribute:_.attribute,value:_.value,platform:_.platform})))).map(_=>({selector:_.selector,attribute:_.attribute,currentValue:"",issueType:_.attribute==="alt"?"missing_alt":_.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:_.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${_.platform} (${_.matchCount} elements)`,needsAI:false,fixValue:_.value})):[]}var Kn,lg=wr(()=>{Kn=null;});var vg=O3((gg,ei)=>{(function f(d){var h=d,g=d.document,p=p||{};p.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return p}),(typeof ei>"u"?"undefined":de(ei))==="object"&&ei.exports&&typeof f.toString=="function"&&(p.source="("+f.toString()+')(typeof window === "object" ? window : this);',ei.exports=p),typeof d.getComputedStyle=="function"&&(d.axe=p);var _=["precision","format","inGamut"],x=["space"],k=["algorithm"],F=["method"],S=["maxDeltaE","deltaEMethod","steps","maxSteps"],y=["node"],E=["relatedNodes"],D=["node"],L=["variant"],P=["matches"],q=["chromium"],M=["noImplicit"],$=["noPresentational"],N=["node"],U=["environmentData"],Q=["environmentData"],C=["environmentData"],v=["environmentData"],T=["environmentData"];function I(re){return dr(re)||dt(re)||Or(re)||Mr()}function H(re){var oe=typeof Map=="function"?new Map:void 0;return H=function(ve){if(ve===null||!j(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(ve))return oe.get(ve);oe.set(ve,Ue);}function Ue(){return K(ve,arguments,Te(this).constructor)}return Ue.prototype=Object.create(ve.prototype,{constructor:{value:Ue,enumerable:false,writable:true,configurable:true}}),Be(Ue,ve)},H(re)}function j(re){try{return Function.toString.call(re).indexOf("[native code]")!==-1}catch{return typeof re=="function"}}function G(re,oe,ue){return (oe=ai(oe))in re?Object.defineProperty(re,oe,{value:ue,enumerable:true,configurable:true,writable:true}):re[oe]=ue,re}function K(re,oe,ue){if(he())return Reflect.construct.apply(null,arguments);var ve=[null];ve.push.apply(ve,oe);var Ue=new(re.bind.apply(re,ve));return ue&&Be(Ue,ue.prototype),Ue}function Z(re,oe){if(re==null)return {};var ue,ve,Ue=ae(re,oe);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(re);for(ve=0;ve<tt.length;ve++)ue=tt[ve],oe.indexOf(ue)===-1&&{}.propertyIsEnumerable.call(re,ue)&&(Ue[ue]=re[ue]);}return Ue}function ae(re,oe){if(re==null)return {};var ue={};for(var ve in re)if({}.hasOwnProperty.call(re,ve)){if(oe.indexOf(ve)!==-1)continue;ue[ve]=re[ve];}return ue}function ee(re,oe,ue){return oe=Te(oe),ce(re,he()?Reflect.construct(oe,ue||[],Te(re).constructor):oe.apply(re,ue))}function ce(re,oe){if(oe&&(de(oe)=="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ke(re)}function ke(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function he(){try{var re=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (he=function(){return !!re})()}function Te(re){return Te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Te(re)}function Ge(re,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create(oe&&oe.prototype,{constructor:{value:re,writable:true,configurable:true}}),Object.defineProperty(re,"prototype",{writable:false}),oe&&Be(re,oe);}function Be(re,oe){return Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ue,ve){return ue.__proto__=ve,ue},Be(re,oe)}function we(){return we=Object.assign?Object.assign.bind():function(re){for(var oe=1;oe<arguments.length;oe++){var ue=arguments[oe];for(var ve in ue)({}).hasOwnProperty.call(ue,ve)&&(re[ve]=ue[ve]);}return re},we.apply(null,arguments)}function _e(re){return $e(re)||dt(re)||Or(re)||Rt()}function Rt(){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 dt(re){if(typeof Symbol<"u"&&re[Symbol.iterator]!=null||re["@@iterator"]!=null)return Array.from(re)}function $e(re){if(Array.isArray(re))return fn(re)}function Nt(re,oe,ue){Pr(re,oe),oe.set(re,ue);}function ni(re,oe){Pr(re,oe),oe.add(re);}function Pr(re,oe){if(oe.has(re))throw new TypeError("Cannot initialize the same private elements twice on an object")}function jt(re,oe){return re.get(Wr(re,oe))}function It(re,oe,ue){return re.set(Wr(re,oe),ue),ue}function Wr(re,oe,ue){if(typeof re=="function"?re===oe:re.has(oe))return arguments.length<3?oe:ue;throw new TypeError("Private element is not present on this object")}function De(re,oe){return dr(re)||cr(re,oe)||Or(re,oe)||Mr()}function Mr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
366
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cr(re,oe){var ue=re==null?null:typeof Symbol<"u"&&re[Symbol.iterator]||re["@@iterator"];if(ue!=null){var ve,Ue,tt,ot,mt=[],Je=true,Oe=false;try{if(tt=(ue=ue.call(re)).next,oe===0){if(Object(ue)!==ue)return;Je=!1;}else for(;!(Je=(ve=tt.call(ue)).done)&&(mt.push(ve.value),mt.length!==oe);Je=!0);}catch(Xt){Oe=true,Ue=Xt;}finally{try{if(!Je&&ue.return!=null&&(ot=ue.return(),Object(ot)!==ot))return}finally{if(Oe)throw Ue}}return mt}}function dr(re){if(Array.isArray(re))return re}function rr(re,oe){if(!(re instanceof oe))throw new TypeError("Cannot call a class as a function")}function na(re,oe){for(var ue=0;ue<oe.length;ue++){var ve=oe[ue];ve.enumerable=ve.enumerable||false,ve.configurable=true,"value"in ve&&(ve.writable=true),Object.defineProperty(re,ai(ve.key),ve);}}function zt(re,oe,ue){return oe&&na(re.prototype,oe),ue&&na(re,ue),Object.defineProperty(re,"prototype",{writable:false}),re}function ai(re){var oe=ii(re,"string");return de(oe)=="symbol"?oe:oe+""}function ii(re,oe){if(de(re)!="object"||!re)return re;var ue=re[Symbol.toPrimitive];if(ue!==void 0){var ve=ue.call(re,oe);if(de(ve)!="object")return ve;throw new TypeError("@@toPrimitive must return a primitive value.")}return (oe==="string"?String:Number)(re)}function it(re,oe){var ue=typeof Symbol<"u"&&re[Symbol.iterator]||re["@@iterator"];if(!ue){if(Array.isArray(re)||(ue=Or(re))||oe){ue&&(re=ue);var ve=0,Ue=function(){};return {s:Ue,n:function(){return ve>=re.length?{done:true}:{done:false,value:re[ve++]}},e:function(Oe){throw Oe},f:Ue}}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 tt,ot=true,mt=false;return {s:function(){ue=ue.call(re);},n:function(){var Oe=ue.next();return ot=Oe.done,Oe},e:function(Oe){mt=true,tt=Oe;},f:function(){try{ot||ue.return==null||ue.return();}finally{if(mt)throw tt}}}}function Or(re,oe){if(re){if(typeof re=="string")return fn(re,oe);var ue={}.toString.call(re).slice(8,-1);return ue==="Object"&&re.constructor&&(ue=re.constructor.name),ue==="Map"||ue==="Set"?Array.from(re):ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue)?fn(re,oe):void 0}}function fn(re,oe){(oe==null||oe>re.length)&&(oe=re.length);for(var ue=0,ve=Array(oe);ue<oe;ue++)ve[ue]=re[ue];return ve}function de(re){"@babel/helpers - typeof";return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},de(re)}((function(re,oe,ue,ve,Ue,tt,ot,mt,Je,Oe,Xt){var Yt=Object.create,Nr=Object.defineProperty,aa=Object.getPrototypeOf,Ug=Object.prototype.hasOwnProperty,Wg=Object.getOwnPropertyNames,Xg=Object.getOwnPropertyDescriptor,Yg=function(t,r,n){return r in t?Nr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Kg=function(t){return Nr(t,"__esModule",{value:true})},W=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},fr=function(t,r){for(var n in r)Nr(t,n,{get:r[n],enumerable:true});},Jg=function(t,r,n){if(r&&de(r)==="object"||typeof r=="function"){var a=it(Wg(r)),i;try{var o=function(){var l=i.value;!Ug.call(t,l)&&l!=="default"&&Nr(t,l,{get:function(){return r[l]},enumerable:!(n=Xg(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},Dr=function(t){return Jg(Kg(Nr(t!=null?Yt(aa(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Bu=function(t,r,n){return Yg(t,de(r)!=="symbol"?r+"":r,n),n},Zg=W(function(e,t){(function(r,n){de(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(ie){var pe=de(ie);return ie!==null&&(pe==="object"||pe==="function")}function n(ie){return typeof ie=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(pe){return Object.prototype.toString.call(pe)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(pe,ye){ne[o]=pe,ne[o+1]=ye,o+=2,o===2&&(l?l(se):Ae());};function c(ie){l=ie;}function m(ie){u=ie;}var b=typeof d<"u"?d:void 0,A=b||{},R=A.MutationObserver||A.WebKitMutationObserver,O=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",B=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function V(){return function(){return process.nextTick(se)}}function z(){return typeof s<"u"?function(){s(se);}:J()}function X(){var ie=0,pe=new R(se),ye=g.createTextNode("");return pe.observe(ye,{characterData:true}),function(){ye.data=ie=++ie%2;}}function Y(){var ie=new MessageChannel;return ie.port1.onmessage=se,function(){return ie.port2.postMessage(0)}}function J(){var ie=setTimeout;return function(){return ie(se,1)}}var ne=new Array(1e3);function se(){for(var ie=0;ie<o;ie+=2){var pe=ne[ie],ye=ne[ie+1];pe(ye),ne[ie]=void 0,ne[ie+1]=void 0;}o=0;}function fe(){try{var ie=Function("return this")().require("vertx");return s=ie.runOnLoop||ie.runOnContext,z()}catch{return J()}}var Ae=void 0;O?Ae=V():R?Ae=X():B?Ae=Y():b===void 0?Ae=fe():Ae=J();function le(ie,pe){var ye=this,Ie=new this.constructor(Ee);Ie[xe]===void 0&&vt(Ie);var ze=ye._state;if(ze){var Ze=arguments[ze-1];u(function(){return pt(ze,Ie,Ze,ye._result)});}else et(ye,Ie,ie,pe);return Ie}function ge(ie){var pe=this;if(ie&&de(ie)==="object"&&ie.constructor===pe)return ie;var ye=new pe(Ee);return Se(ye,ie),ye}var xe=Math.random().toString(36).substring(2);function Ee(){}var Me=void 0,je=1,Fe=2;function qe(){return new TypeError("You cannot resolve a promise with itself")}function be(){return new TypeError("A promises callback cannot return that same promise.")}function Pe(ie,pe,ye,Ie){try{ie.call(pe,ye,Ie);}catch(ze){return ze}}function te(ie,pe,ye){u(function(Ie){var ze=false,Ze=Pe(ye,pe,function(Ft){ze||(ze=true,pe!==Ft?Se(Ie,Ft):Re(Ie,Ft));},function(Ft){ze||(ze=true,Le(Ie,Ft));},"Settle: "+(Ie._label||" unknown promise"));!ze&&Ze&&(ze=true,Le(Ie,Ze));},ie);}function Ce(ie,pe){pe._state===je?Re(ie,pe._result):pe._state===Fe?Le(ie,pe._result):et(pe,void 0,function(ye){return Se(ie,ye)},function(ye){return Le(ie,ye)});}function me(ie,pe,ye){pe.constructor===ie.constructor&&ye===le&&pe.constructor.resolve===ge?Ce(ie,pe):ye===void 0?Re(ie,pe):n(ye)?te(ie,pe,ye):Re(ie,pe);}function Se(ie,pe){if(ie===pe)Le(ie,qe());else if(r(pe)){var ye=void 0;try{ye=pe.then;}catch(Ie){Le(ie,Ie);return}me(ie,pe,ye);}else Re(ie,pe);}function Ve(ie){ie._onerror&&ie._onerror(ie._result),ut(ie);}function Re(ie,pe){ie._state===Me&&(ie._result=pe,ie._state=je,ie._subscribers.length!==0&&u(ut,ie));}function Le(ie,pe){ie._state===Me&&(ie._state=Fe,ie._result=pe,u(Ve,ie));}function et(ie,pe,ye,Ie){var ze=ie._subscribers,Ze=ze.length;ie._onerror=null,ze[Ze]=pe,ze[Ze+je]=ye,ze[Ze+Fe]=Ie,Ze===0&&ie._state&&u(ut,ie);}function ut(ie){var pe=ie._subscribers,ye=ie._state;if(pe.length!==0){for(var Ie=void 0,ze=void 0,Ze=ie._result,Ft=0;Ft<pe.length;Ft+=3)Ie=pe[Ft],ze=pe[Ft+ye],Ie?pt(ye,Ie,ze,Ze):ze(Ze);ie._subscribers.length=0;}}function pt(ie,pe,ye,Ie){var ze=n(ye),Ze=void 0,Ft=void 0,Xn=true;if(ze){try{Ze=ye(Ie);}catch(Oo){Xn=false,Ft=Oo;}if(pe===Ze){Le(pe,be());return}}else Ze=Ie;pe._state!==Me||(ze&&Xn?Se(pe,Ze):Xn===false?Le(pe,Ft):ie===je?Re(pe,Ze):ie===Fe&&Le(pe,Ze));}function _t(ie,pe){try{pe(function(Ie){Se(ie,Ie);},function(Ie){Le(ie,Ie);});}catch(ye){Le(ie,ye);}}var kt=0;function St(){return kt++}function vt(ie){ie[xe]=kt++,ie._state=void 0,ie._result=void 0,ie._subscribers=[];}function Wn(){return new Error("Array Methods must be provided an Array")}var Ot=(function(){function ie(pe,ye){this._instanceConstructor=pe,this.promise=new pe(Ee),this.promise[xe]||vt(this.promise),i(ye)?(this.length=ye.length,this._remaining=ye.length,this._result=new Array(this.length),this.length===0?Re(this.promise,this._result):(this.length=this.length||0,this._enumerate(ye),this._remaining===0&&Re(this.promise,this._result))):Le(this.promise,Wn());}return ie.prototype._enumerate=function(ye){for(var Ie=0;this._state===Me&&Ie<ye.length;Ie++)this._eachEntry(ye[Ie],Ie);},ie.prototype._eachEntry=function(ye,Ie){var ze=this._instanceConstructor,Ze=ze.resolve;if(Ze===ge){var Ft=void 0,Xn=void 0,Oo=false;try{Ft=ye.then;}catch(bu){Oo=true,Xn=bu;}if(Ft===le&&ye._state!==Me)this._settledAt(ye._state,Ie,ye._result);else if(typeof Ft!="function")this._remaining--,this._result[Ie]=ye;else if(ze===xt){var vu=new ze(Ee);Oo?Le(vu,Xn):me(vu,ye,Ft),this._willSettleAt(vu,Ie);}else this._willSettleAt(new ze(function(bu){return bu(ye)}),Ie);}else this._willSettleAt(Ze(ye),Ie);},ie.prototype._settledAt=function(ye,Ie,ze){var Ze=this.promise;Ze._state===Me&&(this._remaining--,ye===Fe?Le(Ze,ze):this._result[Ie]=ze),this._remaining===0&&Re(Ze,this._result);},ie.prototype._willSettleAt=function(ye,Ie){var ze=this;et(ye,void 0,function(Ze){return ze._settledAt(je,Ie,Ze)},function(Ze){return ze._settledAt(Fe,Ie,Ze)});},ie})();function bt(ie){return new Ot(this,ie).promise}function Tt(ie){var pe=this;return i(ie)?new pe(function(ye,Ie){for(var ze=ie.length,Ze=0;Ze<ze;Ze++)pe.resolve(ie[Ze]).then(ye,Ie);}):new pe(function(ye,Ie){return Ie(new TypeError("You must pass an array to race."))})}function At(ie){var pe=this,ye=new pe(Ee);return Le(ye,ie),ye}function Ht(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Vt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var xt=(function(){function ie(pe){this[xe]=St(),this._result=this._state=void 0,this._subscribers=[],Ee!==pe&&(typeof pe!="function"&&Ht(),this instanceof ie?_t(this,pe):Vt());}return ie.prototype.catch=function(ye){return this.then(null,ye)},ie.prototype.finally=function(ye){var Ie=this,ze=Ie.constructor;return n(ye)?Ie.then(function(Ze){return ze.resolve(ye()).then(function(){return Ze})},function(Ze){return ze.resolve(ye()).then(function(){throw Ze})}):Ie.then(ye,ye)},ie})();xt.prototype.then=le,xt.all=bt,xt.race=Tt,xt.resolve=ge,xt.reject=At,xt._setScheduler=c,xt._setAsap=m,xt._asap=u;function ct(){var ie=void 0;if(typeof h<"u")ie=h;else if(typeof self<"u")ie=self;else try{ie=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var pe=ie.Promise;if(pe){var ye=null;try{ye=Object.prototype.toString.call(pe.resolve());}catch{}if(ye==="[object Promise]"&&!pe.cast)return}ie.Promise=xt;}return xt.polyfill=ct,xt.Promise=xt,xt});}),Qg=W(function(e){var t=1e5,r=(function(){var te=Object.prototype.toString,Ce=Object.prototype.hasOwnProperty;return {Class:function(Se){return te.call(Se).replace(/^\[object *|\]$/g,"")},HasProperty:function(Se,Ve){return Ve in Se},HasOwnProperty:function(Se,Ve){return Ce.call(Se,Ve)},IsCallable:function(Se){return typeof Se=="function"},ToInt32:function(Se){return Se>>0},ToUint32:function(Se){return Se>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(te,Ce,me){return te<Ce?Ce:te>me?me:te}var m=Object.getOwnPropertyNames||function(te){if(te!==Object(te))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Ce=[],me;for(me in te)r.HasOwnProperty(te,me)&&Ce.push(me);return Ce},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Ce,me,Se){if(!Ce===Object(Ce))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Se,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Ce,me,Se.get),r.HasProperty(Se,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Ce,me,Se.set),r.HasProperty(Se,"value")&&(Ce[me]=Se.value),Ce};function A(te){if(m&&b){var Ce=m(te),me;for(me=0;me<Ce.length;me+=1)b(te,Ce[me],{value:te[Ce[me]],writable:false,enumerable:false,configurable:false});}}function R(te){if(!b)return;if(te.length>t)throw new RangeError("Array too large for polyfill");function Ce(Se){b(te,Se,{get:function(){return te._getter(Se)},set:function(Re){te._setter(Se,Re);},enumerable:true,configurable:false});}var me;for(me=0;me<te.length;me+=1)Ce(me);}function O(te,Ce){var me=32-Ce;return te<<me>>me}function B(te,Ce){var me=32-Ce;return te<<me>>>me}function V(te){return [te&255]}function z(te){return O(te[0],8)}function X(te){return [te&255]}function Y(te){return B(te[0],8)}function J(te){return te=u(Number(te)),[te<0?0:te>255?255:te&255]}function ne(te){return [te>>8&255,te&255]}function se(te){return O(te[0]<<8|te[1],16)}function fe(te){return [te>>8&255,te&255]}function Ae(te){return B(te[0]<<8|te[1],16)}function le(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function ge(te){return O(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function xe(te){return [te>>24&255,te>>16&255,te>>8&255,te&255]}function Ee(te){return B(te[0]<<24|te[1]<<16|te[2]<<8|te[3],32)}function Me(te,Ce,me){var Se=(1<<Ce-1)-1,Ve,Re,Le,et,ut,pt,_t;function kt(St){var vt=i(St),Wn=St-vt;return Wn<.5?vt:Wn>.5||vt%2?vt+1:vt}for(te!==te?(Re=(1<<Ce)-1,Le=l(2,me-1),Ve=0):te===1/0||te===-1/0?(Re=(1<<Ce)-1,Le=0,Ve=te<0?1:0):te===0?(Re=0,Le=0,Ve=1/te===-1/0?1:0):(Ve=te<0,te=a(te),te>=l(2,1-Se)?(Re=s(i(o(te)/n),1023),Le=kt(te/l(2,Re)*l(2,me)),Le/l(2,me)>=2&&(Re=Re+1,Le=1),Re>Se?(Re=(1<<Ce)-1,Le=0):(Re=Re+Se,Le=Le-l(2,me))):(Re=0,Le=kt(te/l(2,1-Se-me)))),ut=[],et=me;et;et-=1)ut.push(Le%2?1:0),Le=i(Le/2);for(et=Ce;et;et-=1)ut.push(Re%2?1:0),Re=i(Re/2);for(ut.push(Ve?1:0),ut.reverse(),pt=ut.join(""),_t=[];pt.length;)_t.push(parseInt(pt.substring(0,8),2)),pt=pt.substring(8);return _t}function je(te,Ce,me){var Se=[],Ve,Re,Le,et,ut,pt,_t,kt;for(Ve=te.length;Ve;Ve-=1)for(Le=te[Ve-1],Re=8;Re;Re-=1)Se.push(Le%2?1:0),Le=Le>>1;return Se.reverse(),et=Se.join(""),ut=(1<<Ce-1)-1,pt=parseInt(et.substring(0,1),2)?-1:1,_t=parseInt(et.substring(1,1+Ce),2),kt=parseInt(et.substring(1+Ce),2),_t===(1<<Ce)-1?kt===0?pt*(1/0):NaN:_t>0?pt*l(2,_t-ut)*(1+kt/l(2,me)):kt!==0?pt*l(2,-(ut-1))*(kt/l(2,me)):pt<0?-0:0}function Fe(te){return je(te,11,52)}function qe(te){return Me(te,11,52)}function be(te){return je(te,8,23)}function Pe(te){return Me(te,8,23)}((function(){function te(St){if(St=r.ToInt32(St),St<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=St,this._bytes=[],this._bytes.length=St;var vt;for(vt=0;vt<this.byteLength;vt+=1)this._bytes[vt]=0;A(this);}e.ArrayBuffer=e.ArrayBuffer||te;function Ce(){}function me(St,vt,Wn){var Ot;return Ot=function(Tt,At,Ht){var Vt,xt,ct,ie;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Ht<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0;}else if(de(arguments[0])==="object"&&arguments[0].constructor===Ot)for(Vt=arguments[0],this.length=Vt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)this._setter(ct,Vt._getter(ct));else if(de(arguments[0])==="object"&&!(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer"))for(xt=arguments[0],this.length=r.ToUint32(xt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new te(this.byteLength),this.byteOffset=0,ct=0;ct<this.length;ct+=1)ie=xt[ct],this._setter(ct,Number(ie));else if(de(arguments[0])==="object"&&(arguments[0]instanceof te||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Tt,this.byteOffset=r.ToUint32(At),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(Ht),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=Ot,A(this),R(this);},Ot.prototype=new Ce,Ot.prototype.BYTES_PER_ELEMENT=St,Ot.prototype._pack=vt,Ot.prototype._unpack=Wn,Ot.BYTES_PER_ELEMENT=St,Ot.prototype._getter=function(bt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(bt=r.ToUint32(bt),!(bt>=this.length)){for(var Tt=[],At=0,Ht=this.byteOffset+bt*this.BYTES_PER_ELEMENT;At<this.BYTES_PER_ELEMENT;At+=1,Ht+=1)Tt.push(this.buffer._bytes[Ht]);return this._unpack(Tt)}},Ot.prototype.get=Ot.prototype._getter,Ot.prototype._setter=function(bt,Tt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(bt=r.ToUint32(bt),bt<this.length){var At=this._pack(Tt),Ht,Vt;for(Ht=0,Vt=this.byteOffset+bt*this.BYTES_PER_ELEMENT;Ht<this.BYTES_PER_ELEMENT;Ht+=1,Vt+=1)this.buffer._bytes[Vt]=At[Ht];}},Ot.prototype.set=function(bt,Tt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var At,Ht,Vt,xt,ct,ie,pe,ye,Ie,ze;if(de(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(At=arguments[0],Vt=r.ToUint32(arguments[1]),Vt+At.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ye=this.byteOffset+Vt*this.BYTES_PER_ELEMENT,Ie=At.length*this.BYTES_PER_ELEMENT,At.buffer===this.buffer){for(ze=[],ct=0,ie=At.byteOffset;ct<Ie;ct+=1,ie+=1)ze[ct]=At.buffer._bytes[ie];for(ct=0,pe=ye;ct<Ie;ct+=1,pe+=1)this.buffer._bytes[pe]=ze[ct];}else for(ct=0,ie=At.byteOffset,pe=ye;ct<Ie;ct+=1,ie+=1,pe+=1)this.buffer._bytes[pe]=At.buffer._bytes[ie];}else if(de(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Ht=arguments[0],xt=r.ToUint32(Ht.length),Vt=r.ToUint32(arguments[1]),Vt+xt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ct=0;ct<xt;ct+=1)ie=Ht[ct],this._setter(Vt+ct,Number(ie));}else throw new TypeError("Unexpected argument type(s)")},Ot.prototype.subarray=function(bt,Tt){bt=r.ToInt32(bt),Tt=r.ToInt32(Tt),arguments.length<1&&(bt=0),arguments.length<2&&(Tt=this.length),bt<0&&(bt=this.length+bt),Tt<0&&(Tt=this.length+Tt),bt=c(bt,0,this.length),Tt=c(Tt,0,this.length);var At=Tt-bt;return At<0&&(At=0),new this.constructor(this.buffer,this.byteOffset+bt*this.BYTES_PER_ELEMENT,At)},Ot}var Se=me(1,V,z),Ve=me(1,X,Y),Re=me(1,J,Y),Le=me(2,ne,se),et=me(2,fe,Ae),ut=me(4,le,ge),pt=me(4,xe,Ee),_t=me(4,Pe,be),kt=me(8,qe,Fe);e.Int8Array=e.Int8Array||Se,e.Uint8Array=e.Uint8Array||Ve,e.Uint8ClampedArray=e.Uint8ClampedArray||Re,e.Int16Array=e.Int16Array||Le,e.Uint16Array=e.Uint16Array||et,e.Int32Array=e.Int32Array||ut,e.Uint32Array=e.Uint32Array||pt,e.Float32Array=e.Float32Array||_t,e.Float64Array=e.Float64Array||kt;}))(),(function(){function te(Re,Le){return r.IsCallable(Re.get)?Re.get(Le):Re[Le]}var Ce=(function(){var Re=new e.Uint16Array([4660]),Le=new e.Uint8Array(Re.buffer);return te(Le,0)===18})();function me(Re,Le,et){if(arguments.length===0)Re=new e.ArrayBuffer(0);else if(!(Re instanceof e.ArrayBuffer||r.Class(Re)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Re||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Le),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(et),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");A(this);}function Se(Re){return function(Le,et){if(Le=r.ToUint32(Le),Le+Re.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Le+=this.byteOffset;var ut=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),pt=[],_t;for(_t=0;_t<Re.BYTES_PER_ELEMENT;_t+=1)pt.push(te(ut,_t));return !!et==!!Ce&&pt.reverse(),te(new Re(new e.Uint8Array(pt).buffer),0)}}me.prototype.getUint8=Se(e.Uint8Array),me.prototype.getInt8=Se(e.Int8Array),me.prototype.getUint16=Se(e.Uint16Array),me.prototype.getInt16=Se(e.Int16Array),me.prototype.getUint32=Se(e.Uint32Array),me.prototype.getInt32=Se(e.Int32Array),me.prototype.getFloat32=Se(e.Float32Array),me.prototype.getFloat64=Se(e.Float64Array);function Ve(Re){return function(Le,et,ut){if(Le=r.ToUint32(Le),Le+Re.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var pt=new Re([et]),_t=new e.Uint8Array(pt.buffer),kt=[],St,vt;for(St=0;St<Re.BYTES_PER_ELEMENT;St+=1)kt.push(te(_t,St));!!ut==!!Ce&&kt.reverse(),vt=new e.Uint8Array(this.buffer,Le,Re.BYTES_PER_ELEMENT),vt.set(kt);}}me.prototype.setUint8=Ve(e.Uint8Array),me.prototype.setInt8=Ve(e.Int8Array),me.prototype.setUint16=Ve(e.Uint16Array),me.prototype.setInt16=Ve(e.Int16Array),me.prototype.setUint32=Ve(e.Uint32Array),me.prototype.setInt32=Ve(e.Int32Array),me.prototype.setFloat32=Ve(e.Float32Array),me.prototype.setFloat64=Ve(e.Float64Array),e.DataView=e.DataView||me;})();}),ev=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 "+de(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 h<"u"?h:e);}),pr=W(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":de(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":de(d))=="object"&&d)||r((typeof self>"u"?"undefined":de(self))=="object"&&self)||r((typeof h>"u"?"undefined":de(h))=="object"&&h)||r(de(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),mr=W(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),oi=W(function(e,t){var r=mr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),tv=W(function(e,t){var r=oi(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":de(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),nr=W(function(e,t){var r=oi(),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)}};}),si=W(function(e,t){var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Hu=W(function(e,t){var r=si(),n=nr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Gt=W(function(e,t){var r=(typeof g>"u"?"undefined":de(g))=="object"&&g.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),_r=W(function(e,t){var r=mr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),pn=W(function(e,t){var r=oi(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Vu=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;}),li=W(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),rv=W(function(e,t){var r=nr(),n=mr(),a=si(),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;}),Go=W(function(e,t){t.exports=function(r){return r==null};}),ui=W(function(e,t){var r=Go(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),ia=W(function(e,t){var r=rv(),n=ui();t.exports=function(a){return r(n(a))};}),Xr=W(function(e,t){var r=Gt();t.exports=function(n){return de(n)=="object"?n!==null:r(n)};}),oa=W(function(e,t){t.exports={};}),Uo=W(function(e,t){var r=oa(),n=pr(),a=Gt(),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]};}),nv=W(function(e,t){var r=nr();t.exports=r({}.isPrototypeOf);}),av=W(function(e,t){var r=pr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),iv=W(function(e,t){var r=pr(),n=av(),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;}),$u=W(function(e,t){var r=iv(),n=mr(),a=pr(),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});}),ju=W(function(e,t){var r=$u();t.exports=r&&!Symbol.sham&&de(Symbol.iterator)=="symbol";}),zu=W(function(e,t){var r=Uo(),n=Gt(),a=nv(),i=ju(),o=Object;t.exports=i?function(s){return de(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Gu=W(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ci=W(function(e,t){var r=Gt(),n=Gu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Wo=W(function(e,t){var r=ci(),n=Go();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),ov=W(function(e,t){var r=pn(),n=Gt(),a=Xr(),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")};}),Xo=W(function(e,t){t.exports=true;}),sv=W(function(e,t){var r=pr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),di=W(function(e,t){var r=Xo(),n=pr(),a=sv(),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"});}),Uu=W(function(e,t){var r=di();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Yo=W(function(e,t){var r=ui(),n=Object;t.exports=function(a){return n(r(a))};}),qr=W(function(e,t){var r=nr(),n=Yo(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Wu=W(function(e,t){var r=nr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Br=W(function(e,t){var r=pr(),n=Uu(),a=qr(),i=Wu(),o=$u(),s=ju(),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]};}),lv=W(function(e,t){var r=pn(),n=Xr(),a=zu(),i=Wo(),o=ov(),s=Br(),l=TypeError,u=s("toPrimitive");t.exports=function(c,m){if(!n(c)||a(c))return c;var b=i(c,u),A;if(b){if(m===void 0&&(m="default"),A=r(b,c,m),!n(A)||a(A))return A;throw new l("Can't convert object to primitive value")}return m===void 0&&(m="number"),o(c,m)};}),Xu=W(function(e,t){var r=lv(),n=zu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Yu=W(function(e,t){var r=pr(),n=Xr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),Ku=W(function(e,t){var r=_r(),n=mr(),a=Yu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),uv=W(function(e){var t=_r(),r=pn(),n=Vu(),a=li(),i=ia(),o=Xu(),s=qr(),l=Ku(),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])};}),cv=W(function(e,t){var r=mr(),n=Gt(),a=/#|\.prototype\./,i=function(m,b){var A=s[o(m)];return A===u?true:A===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;}),Ju=W(function(e,t){var r=Hu(),n=ci(),a=oi(),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)}};}),Zu=W(function(e,t){var r=_r(),n=mr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),kn=W(function(e,t){var r=Xr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),fi=W(function(e){var t=_r(),r=Ku(),n=Zu(),a=kn(),i=Xu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",m="writable";e.f=t?n?function(A,R,O){if(a(A),R=i(R),a(O),typeof A=="function"&&R==="prototype"&&"value"in O&&m in O&&!O[m]){var B=l(A,R);B&&B[m]&&(A[R]=O.value,O={configurable:c in O?O[c]:B[c],enumerable:u in O?O[u]:B[u],writable:false});}return s(A,R,O)}:s:function(A,R,O){if(a(A),R=i(R),a(O),r)try{return s(A,R,O)}catch{}if("get"in O||"set"in O)throw new o("Accessors not supported");return "value"in O&&(A[R]=O.value),A};}),sa=W(function(e,t){var r=_r(),n=fi(),a=li();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),pi=W(function(e,t){var r=pr(),n=tv(),a=Hu(),i=Gt(),o=uv().f,s=cv(),l=oa(),u=Ju(),c=sa(),m=qr();di();var b=function(R){var O=function(V,z,X){if(this instanceof O){switch(arguments.length){case 0:return new R;case 1:return new R(V);case 2:return new R(V,z)}return new R(V,z,X)}return n(R,this,arguments)};return O.prototype=R.prototype,O};t.exports=function(A,R){var O=A.target,B=A.global,V=A.stat,z=A.proto,X=B?r:V?r[O]:r[O]&&r[O].prototype,Y=B?l:l[O]||c(l,O,{})[O],J=Y.prototype,ne,se,fe,Ae,le,ge,xe,Ee,Me;for(Ae in R)ne=s(B?Ae:O+(V?".":"#")+Ae,A.forced),se=!ne&&X&&m(X,Ae),ge=Y[Ae],se&&(A.dontCallGetSet?(Me=o(X,Ae),xe=Me&&Me.value):xe=X[Ae]),le=se&&xe?xe:R[Ae],!(!ne&&!z&&de(ge)==de(le))&&(A.bind&&se?Ee=u(le,r):A.wrap&&se?Ee=b(le):z&&i(le)?Ee=a(le):Ee=le,(A.sham||le&&le.sham||ge&&ge.sham)&&c(Ee,"sham",true),c(Y,Ae,Ee),z&&(fe=O+"Prototype",m(l,fe)||c(l,fe,{}),c(l[fe],Ae,le),A.real&&J&&(ne||!J[Ae])&&c(J,Ae,le)));};}),dv=W(function(){var e=pi(),t=qr();e({target:"Object",stat:true},{hasOwn:t});}),fv=W(function(e,t){dv();var r=oa();t.exports=r.Object.hasOwn;}),pv=W(function(e,t){var r=fv();t.exports=r;}),mv=W(function(e,t){var r=pv();t.exports=r;}),Ko=W(function(e,t){var r=Uu(),n=Wu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),hv=W(function(e,t){var r=mr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),Jo=W(function(e,t){var r=qr(),n=Gt(),a=Yo(),i=Ko(),o=hv(),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};}),gv=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)};}),Zo=W(function(e,t){var r=gv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),vv=W(function(e,t){var r=Zo(),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)};}),bv=W(function(e,t){var r=Zo(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),Qu=W(function(e,t){var r=bv();t.exports=function(n){return r(n.length)};}),yv=W(function(e,t){var r=ia(),n=vv(),a=Qu(),i=function(s){return function(l,u,c){var m=r(l),b=a(m);if(b===0)return !s&&-1;var A=n(c,b),R;if(s&&u!==u){for(;b>A;)if(R=m[A++],R!==R)return true}else for(;b>A;A++)if((s||A in m)&&m[A]===u)return s||A||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Qo=W(function(e,t){t.exports={};}),wv=W(function(e,t){var r=nr(),n=qr(),a=ia(),i=yv().indexOf,o=Qo(),s=r([].push);t.exports=function(l,u){var c=a(l),m=0,b=[],A;for(A in c)!n(o,A)&&n(c,A)&&s(b,A);for(;u.length>m;)n(c,A=u[m++])&&(~i(b,A)||s(b,A));return b};}),ec=W(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),tc=W(function(e,t){var r=wv(),n=ec();t.exports=Object.keys||function(i){return r(i,n)};}),xv=W(function(e,t){var r=_r(),n=mr(),a=nr(),i=Jo(),o=tc(),s=ia(),l=Vu().f,u=a(l),c=a([].push),m=r&&n(function(){var A=Object.create(null);return A[2]=2,!u(A,2)}),b=function(R){return function(O){for(var B=s(O),V=o(B),z=m&&i(B)===null,X=V.length,Y=0,J=[],ne;X>Y;)ne=V[Y++],(!r||(z?ne in B:u(B,ne)))&&c(J,R?[ne,B[ne]]:B[ne]);return J}};t.exports={entries:b(true),values:b(false)};}),Dv=W(function(){var e=pi(),t=xv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),_v=W(function(e,t){Dv();var r=oa();t.exports=r.Object.values;}),Av=W(function(e,t){var r=_v();t.exports=r;}),Ev=W(function(e,t){var r=Av();t.exports=r;}),es=W(function(e,t){var r=Br(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),mi=W(function(e,t){var r=es(),n=Gt(),a=si(),i=Br(),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,A;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(m=s(c),o))=="string"?b:l?a(m):(A=a(m))==="Object"&&n(m.callee)?"Arguments":A};}),rc=W(function(e,t){var r=mi(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),Cv=W(function(e,t){var r=nr(),n=Zo(),a=rc(),i=ui(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(m){return function(b,A){var R=a(i(b)),O=n(A),B=R.length,V,z;return O<0||O>=B?m?"":void 0:(V=s(R,O),V<55296||V>56319||O+1===B||(z=s(R,O+1))<56320||z>57343?m?o(R,O):V:m?l(R,O,O+2):(V-55296<<10)+(z-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Sv=W(function(e,t){var r=pr(),n=Gt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),kv=W(function(e,t){var r=Sv(),n=pr(),a=Xr(),i=sa(),o=qr(),s=di(),l=Ko(),u=Qo(),c="Object already initialized",m=n.TypeError,b=n.WeakMap,A,R,O,B=function(J){return O(J)?R(J):A(J,{})},V=function(J){return function(ne){var se;if(!a(ne)||(se=R(ne)).type!==J)throw new m("Incompatible receiver, "+J+" required");return se}};r||s.state?(z=s.state||(s.state=new b),z.get=z.get,z.has=z.has,z.set=z.set,A=function(J,ne){if(z.has(J))throw new m(c);return ne.facade=J,z.set(J,ne),ne},R=function(J){return z.get(J)||{}},O=function(J){return z.has(J)}):(X=l("state"),u[X]=true,A=function(J,ne){if(o(J,X))throw new m(c);return ne.facade=J,i(J,X,ne),ne},R=function(J){return o(J,X)?J[X]:{}},O=function(J){return o(J,X)});var z,X;t.exports={set:A,get:R,has:O,enforce:B,getterFor:V};}),Tv=W(function(e,t){var r=_r(),n=qr(),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};}),Rv=W(function(e){var t=_r(),r=Zu(),n=fi(),a=kn(),i=ia(),o=tc();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),m=o(u),b=m.length,A=0,R;b>A;)n.f(l,R=m[A++],c[R]);return l};}),Fv=W(function(e,t){var r=Uo();t.exports=r("document","documentElement");}),nc=W(function(e,t){var r=kn(),n=Rv(),a=ec(),i=Qo(),o=Fv(),s=Yu(),l=Ko(),u=">",c="<",m="prototype",b="script",A=l("IE_PROTO"),R=function(){},O=function(J){return c+b+u+J+c+"/"+b+u},B=function(J){J.write(O("")),J.close();var ne=J.parentWindow.Object;return J=null,ne},V=function(){var J=s("iframe"),ne="java"+b+":",se;return J.style.display="none",o.appendChild(J),J.src=String(ne),se=J.contentWindow.document,se.open(),se.write(O("document.F=Object")),se.close(),se.F},z,X=function(){try{z=new ActiveXObject("htmlfile");}catch{}X=typeof g<"u"?g.domain&&z?B(z):V():B(z);for(var J=a.length;J--;)delete X[m][a[J]];return X()};i[A]=true,t.exports=Object.create||function(J,ne){var se;return J!==null?(R[m]=r(J),se=new R,R[m]=null,se[A]=J):se=X(),ne===void 0?se:n.f(se,ne)};}),ac=W(function(e,t){var r=sa();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),ic=W(function(e,t){var r=mr(),n=Gt(),a=Xr(),i=nc(),o=Jo(),s=ac(),l=Br(),u=Xo(),c=l("iterator"),m=false,b,A,R;[].keys&&(R=[].keys(),"next"in R?(A=o(o(R)),A!==Object.prototype&&(b=A)):m=true);var O=!a(b)||r(function(){var B={};return b[c].call(B)!==B});O?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:m};}),Iv=W(function(e,t){var r=es(),n=mi();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),oc=W(function(e,t){var r=es(),n=fi().f,a=sa(),i=qr(),o=Iv(),s=Br(),l=s("toStringTag");t.exports=function(u,c,m,b){var A=m?u:u&&u.prototype;A&&(i(A,l)||n(A,l,{configurable:true,value:c}),b&&!r&&a(A,"toString",o));};}),hi=W(function(e,t){t.exports={};}),Lv=W(function(e,t){var r=ic().IteratorPrototype,n=nc(),a=li(),i=oc(),o=hi(),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};}),Pv=W(function(e,t){var r=nr(),n=ci();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Mv=W(function(e,t){var r=Xr();t.exports=function(n){return r(n)||n===null};}),Ov=W(function(e,t){var r=Mv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),Nv=W(function(e,t){var r=Pv(),n=Xr(),a=ui(),i=Ov();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);}),qv=W(function(e,t){var r=pi(),n=pn(),a=Xo(),i=Tv(),o=Gt(),s=Lv(),l=Jo(),u=Nv(),c=oc(),m=sa(),b=ac(),A=Br(),R=hi(),O=ic(),B=i.PROPER,V=i.CONFIGURABLE,z=O.IteratorPrototype,X=O.BUGGY_SAFARI_ITERATORS,Y=A("iterator"),J="keys",ne="values",se="entries",fe=function(){return this};t.exports=function(Ae,le,ge,xe,Ee,Me,je){s(ge,le,xe);var Fe=function(et){if(et===Ee&&Ce)return Ce;if(!X&&et&&et in Pe)return Pe[et];switch(et){case J:return function(){return new ge(this,et)};case ne:return function(){return new ge(this,et)};case se:return function(){return new ge(this,et)}}return function(){return new ge(this)}},qe=le+" Iterator",be=false,Pe=Ae.prototype,te=Pe[Y]||Pe["@@iterator"]||Ee&&Pe[Ee],Ce=!X&&te||Fe(Ee),me=le==="Array"&&Pe.entries||te,Se,Ve,Re;if(me&&(Se=l(me.call(new Ae)),Se!==Object.prototype&&Se.next&&(!a&&l(Se)!==z&&(u?u(Se,z):o(Se[Y])||b(Se,Y,fe)),c(Se,qe,true,true),a&&(R[qe]=fe))),B&&Ee===ne&&te&&te.name!==ne&&(!a&&V?m(Pe,"name",ne):(be=true,Ce=function(){return n(te,this)})),Ee)if(Ve={values:Fe(ne),keys:Me?Ce:Fe(J),entries:Fe(se)},je)for(Re in Ve)(X||be||!(Re in Pe))&&b(Pe,Re,Ve[Re]);else r({target:le,proto:true,forced:X||be},Ve);return (!a||je)&&Pe[Y]!==Ce&&b(Pe,Y,Ce,{name:Ee}),R[le]=Ce,Ve};}),Bv=W(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),Hv=W(function(){var e=Cv().charAt,t=rc(),r=kv(),n=qv(),a=Bv(),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))});}),Vv=W(function(e,t){var r=pn(),n=kn(),a=Wo();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};}),$v=W(function(e,t){var r=kn(),n=Vv();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),jv=W(function(e,t){var r=Br(),n=hi(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),zv=W(function(e,t){var r=nr(),n=Gt(),a=di(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),Gv=W(function(e,t){var r=nr(),n=mr(),a=Gt(),i=mi(),o=Uo(),s=zv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,m=r(c.exec),b=!c.test(l),A=function(B){if(!a(B))return false;try{return u(l,[],B),!0}catch{return false}},R=function(B){if(!a(B))return false;switch(i(B)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!m(c,s(B))}catch{return true}};R.sham=true,t.exports=!u||n(function(){var O;return A(A.call)||!A(Object)||!A(function(){O=true;})||O})?R:A;}),Uv=W(function(e,t){var r=_r(),n=fi(),a=li();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Wv=W(function(e,t){var r=si();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Xv=W(function(e,t){var r=_r(),n=Wv(),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};}),sc=W(function(e,t){var r=mi(),n=Wo(),a=Go(),i=hi(),o=Br(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Yv=W(function(e,t){var r=pn(),n=ci(),a=kn(),i=Gu(),o=sc(),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")};}),Kv=W(function(e,t){var r=Ju(),n=pn(),a=Yo(),i=$v(),o=jv(),s=Gv(),l=Qu(),u=Uv(),c=Xv(),m=Yv(),b=sc(),A=Array;t.exports=function(O){var B=a(O),V=s(this),z=arguments.length,X=z>1?arguments[1]:void 0,Y=X!==void 0;Y&&(X=r(X,z>2?arguments[2]:void 0));var J=b(B),ne=0,se,fe,Ae,le,ge,xe;if(J&&!(this===A&&o(J)))for(fe=V?new this:[],le=m(B,J),ge=le.next;!(Ae=n(ge,le)).done;ne++)xe=Y?i(le,X,[Ae.value,ne],true):Ae.value,u(fe,ne,xe);else for(se=l(B),fe=V?new this(se):A(se);se>ne;ne++)xe=Y?X(B[ne],ne):B[ne],u(fe,ne,xe);return c(fe,ne),fe};}),Jv=W(function(e,t){var r=Br(),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};}),Zv=W(function(){var e=pi(),t=Kv(),r=Jv(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Qv=W(function(e,t){Hv(),Zv();var r=oa();t.exports=r.Array.from;}),eb=W(function(e,t){var r=Qv();t.exports=r;}),lc=W(function(e,t){var r=eb();t.exports=r;}),uc=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:`
|
|
368
368
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
369
|
-
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),tb=
|
|
370
|
-
`||c==="\r"||c==="\f";)z=true,a++,c=n.charAt(a);return z}function R(){var z=N();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return z}function N(){var z=q();if(!z)return null;var W=z;for(c=n.charAt(a);c===",";){if(a++,A(),W.type!=="selectors"&&(W={type:"selectors",selectors:[z]}),z=q(),!z)throw Error('Rule expected after ",".');W.selectors.push(z);}return W}function q(){A();var z={type:"ruleSet"},W=$();if(!W)return null;for(var X=z;W&&(W.type="rule",X.rule=W,X=W,A(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var K=c;if(a++,A(),W=$(),!W)throw Error('Rule expected after "'+K+'".');W.nestingOperator=K;}else W=$(),W&&(W.nestingOperator=null);return z}function $(){for(var z=null;a<u;)if(c=n.charAt(a),c==="*")a++,(z=z||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(z=z||{}).tagName=b();else if(c===".")a++,z=z||{},(z.classNames=z.classNames||[]).push(b());else if(c==="#")a++,(z=z||{}).id=b();else if(c==="["){a++,A();var W={name:b()};if(A(),c==="]")a++;else {var X="";if(o[c]&&(X=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');W.operator=X+"=",a++,A();var K="";if(W.valueType="string",c==='"')K=m('"',t.doubleQuotesEscapeChars);else if(c==="'")K=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,K=b(),W.valueType="substitute";else {for(;a<u&&c!=="]";)K+=c,a++,c=n.charAt(a);K=K.trim();}if(A(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,W.value=K;}z=z||{},(z.attrs=z.attrs||[]).push(W);}else if(c===":"){a++;var ne=b(),se={name:ne};if(c==="("){a++;var pe="";if(A(),i[ne]==="selector")se.valueType="selector",pe=N();else {if(se.valueType=i[ne]||"string",c==='"')pe=m('"',t.doubleQuotesEscapeChars);else if(c==="'")pe=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,pe=b(),se.valueType="substitute";else {for(;a<u&&c!==")";)pe+=c,a++,c=n.charAt(a);pe=pe.trim();}A();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=pe;}z=z||{},(z.pseudos=z.pseudos||[]).push(se);}else break;return z}return R()}e.parseCssSelector=r;}),rb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=uc();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;}),nb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=tb(),r=rb(),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;}),ab=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 h<"u")return h;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},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,A){return m.indexOf("def.")===0&&(m=m.substring(4)),m in u||(b===":"?(s.defineParams&&A.replace(s.defineParams,function(R,N,q){u[m]={arg:N,text:q};}),m in u||(u[m]=A)):new Function("def","def['"+m+"']="+A)(u)),""}).replace(s.use||a,function(c,m){s.useParams&&(m=m.replace(s.useParams,function(A,R,N,q){if(u[N]&&u[N].arg&&q){var $=(N+":"+q).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[$]=u[N].text.replace(new RegExp("(^|[^\\w$])"+u[N].arg+"([^\\w$])","g"),"$1"+q+"$2"),R+"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,A,R=l.use||l.define?i(l,s,u||{}):s;R=("var out='"+(l.strip?R.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):R).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(N,q){return c.start+o(q)+c.end}).replace(l.encode||a,function(N,q){return m=true,c.startencode+o(q)+c.end}).replace(l.conditional||a,function(N,q,$){return q?$?"';}else if("+o($)+"){out+='":"';}else{out+='":$?"';if("+o($)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(N,q,$,z){return q?(b+=1,A=z||"i"+b,q=o(q),"';var arr"+b+"="+q+";if(arr"+b+"){var "+$+","+A+"=-1,l"+b+"=arr"+b+".length-1;while("+A+"<l"+b+"){"+$+"=arr"+b+"["+A+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(N,q){return "';"+o(q)+"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)),R="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+R);try{return new Function(l.varname,R)}catch(N){throw typeof console<"u"&&console.log("Could not create a template function: "+R),N}},r.compile=function(s,l){return r.template(s,null,l)};})();}),ib=U(function(e,t){t.exports=function(){};}),mn=U(function(e,t){var r=ib()();t.exports=function(n){return n!==r&&n!==null};}),cc=U(function(e,t){var r=mn(),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};}),ob=U(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),sb=U(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),lb=U(function(e,t){t.exports=ob()()?Math.sign:sb();}),ub=U(function(e,t){var r=lb(),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)))};}),hn=U(function(e,t){var r=ub(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),dc=U(function(e,t){var r=hn();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)};}),Yr=U(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Tn=U(function(e,t){var r=mn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),cb=U(function(e,t){var r=Yr(),n=Tn(),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,A=arguments[2],R=arguments[3];return c=Object(n(c)),r(m),b=o(c),R&&b.sort(typeof R=="function"?a.call(R,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(N,q){return s.call(c,N)?i.call(m,A,c[N],N,c,q):u})}};}),gi=U(function(e,t){t.exports=cb()("forEach");}),gn=U(function(){}),db=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")};}),fb=U(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),pb=U(function(e,t){var r=mn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),mb=U(function(e,t){t.exports=fb()()?Object.keys:pb();}),hb=U(function(e,t){var r=mb(),n=Tn(),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(A){s||(s=A);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),fc=U(function(e,t){t.exports=db()()?Object.assign:hb();}),gb=U(function(e,t){var r=mn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[fe(a)]||false};}),vb=U(function(e,t){var r=fc(),n=gb(),a=mn(),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};}),pc=U(function(e,t){var r=Tn(),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};}),mc=U(function(e,t){var r=hn(),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=pc(),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});}),hc=U(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),bb=U(function(e,t){var r=hc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,fe(a)):false};}),yb=U(function(e,t){var r=bb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),wb=U(function(e,t){var r=yb();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)};}),xb=U(function(e,t){var r=wb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Db=U(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Ab=U(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),_b=U(function(e,t){t.exports=Db()()?String.prototype.contains:Ab();}),vn=U(function(e,t){var r=hc(),n=xb(),a=fc(),i=cc(),o=_b(),s=t.exports=function(l,u){var c,m,b,A,R;return arguments.length<2||typeof l!="string"?(A=u,u=l,l=null):A=arguments[2],r(l)?(c=o.call(l,"c"),m=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,m=false),R={value:u,configurable:c,enumerable:m,writable:b},A?a(i(A),R):R};s.gs=function(l,u,c){var m,b,A,R;return typeof l!="string"?(A=c,c=u,u=l,l=null):A=arguments[3],r(u)?n(u)?r(c)?n(c)||(A=c,c=void 0):c=void 0:(A=u,u=c=void 0):u=void 0,r(l)?(m=o.call(l,"c"),b=o.call(l,"e")):(m=true,b=false),R={get:u,set:c,configurable:m,enumerable:b},A?a(i(A),R):R};}),Eb=U(function(e,t){var r=vn(),n=Yr(),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,A,R,N,q,$;m=function(W,X){var K;return n(X),u.call(this,"__ee__")?K=this.__ee__:(K=c.value=o(null),s(this,"__ee__",c),c.value=null),K[W]?fe(K[W])==="object"?K[W].push(X):K[W]=[K[W],X]:K[W]=X,this},b=function(W,X){var K,ne;return n(X),ne=this,m.call(this,W,K=function(){A.call(ne,W,K),a.call(X,this,arguments);}),K.__eeOnceListener__=X,this},A=function(W,X){var K,ne,se,pe;if(n(X),!u.call(this,"__ee__"))return this;if(K=this.__ee__,!K[W])return this;if(ne=K[W],fe(ne)==="object")for(pe=0;se=ne[pe];++pe)(se===X||se.__eeOnceListener__===X)&&(ne.length===2?K[W]=ne[pe?0:1]:ne.splice(pe,1));else (ne===X||ne.__eeOnceListener__===X)&&delete K[W];return this},R=function(W){var X,K,ne,se,pe;if(u.call(this,"__ee__")&&(se=this.__ee__[W],!!se))if(fe(se)==="object"){for(K=arguments.length,pe=new Array(K-1),X=1;X<K;++X)pe[X-1]=arguments[X];for(se=se.slice(),X=0;ne=se[X];++X)a.call(ne,this,pe);}else switch(arguments.length){case 1:i.call(se,this);break;case 2:i.call(se,this,arguments[1]);break;case 3:i.call(se,this,arguments[1],arguments[2]);break;default:for(K=arguments.length,pe=new Array(K-1),X=1;X<K;++X)pe[X-1]=arguments[X];a.call(se,this,pe);}},N={on:m,once:b,off:A,emit:R},q={on:r(m),once:r(b),off:r(A),emit:r(R)},$=l({},q),t.exports=e=function(W){return W==null?o($):l(Object(W),q)},e.methods=N;}),Cb=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"))};}),Sb=U(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":fe(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),kb=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__;}})();}),vi=U(function(e,t){t.exports=Sb()()?globalThis:kb();}),Tb=U(function(e,t){var r=vi(),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)])};}),Rb=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};}),gc=U(function(e,t){var r=Rb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),Fb=U(function(e,t){var r=vn(),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};}),Ib=U(function(e,t){var r=vn(),n=vi().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"))})};}),Lb=U(function(e,t){var r=vn(),n=gc(),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})})};}),Pb=U(function(e,t){var r=vn(),n=gc(),a=vi().Symbol,i=Fb(),o=Ib(),s=Lb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,m,b,A;if(typeof a=="function")try{String(a()),A=!0;}catch{}else a=null;b=function(N){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return m(N)},t.exports=m=function R(N){var q;if(this instanceof R)throw new TypeError("Symbol is not a constructor");return A?a(N):(q=l(b.prototype),N=N===void 0?"":String(N),u(q,{__description__:r("",N),__name__:r("",i(N))}))},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 R=n(this);return fe(R)==="symbol"?R:R.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]));}),Ob=U(function(e,t){t.exports=Tb()()?vi().Symbol:Pb();}),Mb=U(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),Nb=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))};}),qb=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};}),Bb=U(function(e,t){var r=Ob().iterator,n=Mb(),a=Nb(),i=hn(),o=Yr(),s=Tn(),l=mn(),u=qb(),c=Array.isArray,m=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},A=Object.defineProperty;t.exports=function(R){var N=arguments[1],q=arguments[2],$,z,W,X,K,ne,se,pe,_e,le;if(R=Object(s(R)),l(N)&&o(N),!this||this===Array||!a(this)){if(!N){if(n(R))return K=R.length,K!==1?Array.apply(null,R):(X=new Array(1),X[0]=R[0],X);if(c(R)){for(X=new Array(K=R.length),z=0;z<K;++z)X[z]=R[z];return X}}X=[];}else $=this;if(!c(R)){if((_e=R[r])!==void 0){for(se=o(_e).call(R),$&&(X=new $),pe=se.next(),z=0;!pe.done;)le=N?m.call(N,q,pe.value,z):pe.value,$?(b.value=le,A(X,z,b)):X[z]=le,pe=se.next(),++z;K=z;}else if(u(R)){for(K=R.length,$&&(X=new $),z=0,W=0;z<K;++z)le=R[z],z+1<K&&(ne=le.charCodeAt(0),ne>=55296&&ne<=56319&&(le+=R[++z])),le=N?m.call(N,q,le,W):le,$?(b.value=le,A(X,W,b)):X[W]=le,++W;K=W;}}if(K===void 0)for(K=i(R.length),$&&(X=new $(K)),z=0;z<K;++z)le=N?m.call(N,q,R[z],z):R[z],$?(b.value=le,A(X,z,b)):X[z]=le;return $&&(b.value=null,X.length=K),X};}),ts=U(function(e,t){t.exports=Cb()()?Array.from:Bb();}),Hb=U(function(e,t){var r=ts(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),Vb=U(function(e,t){var r=Hb(),n=mn(),a=Yr(),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)};}),$b=U(function(e,t){var r=Yr();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))};}),jb=U(function(e,t){var r=vb(),n=mc(),a=vn(),i=Eb().methods,o=Vb(),s=$b(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,m=Object.defineProperties,b=i.on,A=i.emit;t.exports=function(R,N,q){var $=c(null),z,W,X,K,ne,se,pe,_e,le,ge,xe,Ee,Me,je,Re;return N!==false?W=N:isNaN(R.length)?W=1:W=R.length,q.normalizer&&(ge=s(q.normalizer),X=ge.get,K=ge.set,ne=ge.delete,se=ge.clear),q.resolvers!=null&&(Re=o(q.resolvers)),X?je=n(function(He){var be,Pe,te=arguments;if(Re&&(te=Re(te)),be=X(te),be!==null&&hasOwnProperty.call($,be))return xe&&z.emit("get",be,te,this),$[be];if(te.length===1?Pe=u.call(R,this,te[0]):Pe=l.call(R,this,te),be===null){if(be=X(te),be!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");be=K(te);}else if(hasOwnProperty.call($,be))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[be]=Pe,Ee&&z.emit("set",be,null,Pe),Pe},W):N===0?je=function(){var be;if(hasOwnProperty.call($,"data"))return xe&&z.emit("get","data",arguments,this),$.data;if(arguments.length?be=l.call(R,this,arguments):be=u.call(R,this),hasOwnProperty.call($,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return $.data=be,Ee&&z.emit("set","data",null,be),be}:je=function(be){var Pe,te=arguments,Ce;if(Re&&(te=Re(arguments)),Ce=String(te[0]),hasOwnProperty.call($,Ce))return xe&&z.emit("get",Ce,te,this),$[Ce];if(te.length===1?Pe=u.call(R,this,te[0]):Pe=l.call(R,this,te),hasOwnProperty.call($,Ce))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[Ce]=Pe,Ee&&z.emit("set",Ce,null,Pe),Pe},z={original:R,memoized:je,profileName:q.profileName,get:function(be){return Re&&(be=Re(be)),X?X(be):String(be[0])},has:function(be){return hasOwnProperty.call($,be)},delete:function(be){var Pe;hasOwnProperty.call($,be)&&(ne&&ne(be),Pe=$[be],delete $[be],Me&&z.emit("delete",be,Pe));},clear:function(){var be=$;se&&se(),$=c(null),z.emit("clear",be);},on:function(be,Pe){return be==="get"?xe=true:be==="set"?Ee=true:be==="delete"&&(Me=true),b.call(this,be,Pe)},emit:A,updateEnv:function(){R=z.original;}},X?pe=n(function(He){var be,Pe=arguments;Re&&(Pe=Re(Pe)),be=X(Pe),be!==null&&z.delete(be);},W):N===0?pe=function(){return z.delete("data")}:pe=function(be){return Re&&(be=Re(arguments)[0]),z.delete(be)},_e=n(function(){var He,be=arguments;return N===0?$.data:(Re&&(be=Re(be)),X?He=X(be):He=String(be[0]),$[He])}),le=n(function(){var He,be=arguments;return N===0?z.has("data"):(Re&&(be=Re(be)),X?He=X(be):He=String(be[0]),He===null?false:z.has(He))}),m(je,{__memoized__:a(true),delete:a(pe),clear:a(z.clear),_get:a(_e),_has:a(le)}),z};}),zb=U(function(e,t){var r=Yr(),n=gi(),a=gn(),i=jb(),o=dc();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,A){u[A]&&b(u[A],m,u);}),s.__profiler__&&s.__profiler__(m),m.updateEnv(),m.memoized)};}),Gb=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};}),Ub=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 ""}};}),Wb=U(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Xb=U(function(e,t){t.exports=function(r){return r!==r};}),Yb=U(function(e,t){t.exports=Wb()()?Number.isNaN:Xb();}),rs=U(function(e,t){var r=Yb(),n=hn(),a=Tn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,m,b,A;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)&&(A=this[c],r(A)))return c;return -1};}),Kb=U(function(e,t){var r=rs(),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],A=b.length,R=[];if(A===0)delete c[A];else if(c=c[A]){for(;u<A-1;){if(m=r.call(c[0],b[u]),m===-1)return;R.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&&R.length;)m=R.pop(),c=R.pop(),c[0].splice(m,1),c[1].splice(m,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),Jb=U(function(e,t){var r=rs();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=[];}}};}),Zb=U(function(e,t){var r=rs(),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,A=[],R=s[u];c<a-1;){if(b=r.call(m[0],R[c]),b===-1)return;A.push(m,b),m=m[1][b],++c;}if(b=r.call(m[0],R[c]),b!==-1){for(u=m[1][b],m[0].splice(b,1),m[1].splice(b,1);!m[0].length&&A.length;)b=A.pop(),m=A.pop(),m[0].splice(b,1),m[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),vc=U(function(e,t){var r=Yr(),n=gi(),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};}),ns=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=g.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 g>"u"?"undefined":fe(g))==="object"&&g){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})();}),Qb=U(function(){var e=ts(),t=vc(),r=pc(),n=mc(),a=ns(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;gn().async=function(l,u){var c=s(null),m=s(null),b=u.memoized,A=u.original,R,N,q;u.memoized=n(function($){var z=arguments,W=z[z.length-1];return typeof W=="function"&&(R=W,z=i.call(z,0,-1)),b.apply(N=this,q=z)},b);try{r(u.memoized,b);}catch{}u.on("get",function($){var z,W,X;if(R){if(c[$]){typeof c[$]=="function"?c[$]=[c[$],R]:c[$].push(R),R=null;return}z=R,W=N,X=q,R=N=q=null,a(function(){var K;hasOwnProperty.call(m,$)?(K=m[$],u.emit("getasync",$,X,W),o.call(z,K.context,K.args)):(R=z,N=W,q=X,b.apply(W,X));});}}),u.original=function(){var $,z,W,X;return R?($=e(arguments),z=function K(ne){var se,pe,_e=K.id;if(_e==null){a(o.bind(K,this,arguments));return}if(delete K.id,se=c[_e],delete c[_e],!!se)return pe=e(arguments),u.has(_e)&&(ne?u.delete(_e):(m[_e]={context:this,args:pe},u.emit("setasync",_e,typeof se=="function"?1:se.length))),typeof se=="function"?X=o.call(se,this,pe):se.forEach(function(le){X=o.call(le,this,pe);},this),X},W=R,R=N=q=null,$.push(z),X=o.call(A,this,$),z.cb=W,R=z,X):o.call(A,this,arguments)},u.on("set",function($){if(!R){u.delete($);return}c[$]?typeof c[$]=="function"?c[$]=[c[$],R.cb]:c[$].push(R.cb):c[$]=R.cb,delete R.cb,R.id=$,R=null;}),u.on("delete",function($){var z;hasOwnProperty.call(c,$)||m[$]&&(z=m[$],delete m[$],u.emit("deleteasync",$,i.call(z.args,1)));}),u.on("clear",function(){var $=m;m=s(null),u.emit("clearasync",t($,function(z){return i.call(z.args,1)}));});};}),ey=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};}),bc=U(function(e,t){t.exports=function(r){return typeof r=="function"};}),ty=U(function(e,t){var r=bc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),ry=U(function(e,t){var r=Tn(),n=ty();t.exports=function(a){return n(r(a))};}),ny=U(function(e,t){var r=bc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),ay=U(function(e,t){var r=ny(),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};}),yc=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"}}),iy=U(function(){var e=vc(),t=ey(),r=ry(),n=ay(),a=yc(),i=ns(),o=Object.create,s=t("then","then:finally","done","done:finally");gn().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(A,R,N){var q=false;if(!a(N)){m[A]=N,u.emit("setasync",A,1);return}c[A]=1,b[A]=N;var $=function(ne){var se=c[A];if(q)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.`);se&&(delete c[A],m[A]=ne,u.emit("setasync",A,se));},z=function(){q=true,c[A]&&(delete c[A],delete b[A],u.delete(A));},W=l;if(W||(W="then"),W==="then"){var X=function(){i(z);};N=N.then(function(K){i($.bind(this,K));},X),typeof N.finally=="function"&&N.finally(X);}else if(W==="done"){if(typeof N.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");N.done($,z);}else if(W==="done:finally"){if(typeof N.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof N.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");N.done($),N.finally(z);}}),u.on("get",function(A,R,N){var q;if(c[A]){++c[A];return}q=b[A];var $=function(){u.emit("getasync",A,R,N);};a(q)?typeof q.done=="function"?q.done($):q.then(function(){i($);}):$();}),u.on("delete",function(A){if(delete b[A],c[A]){delete c[A];return}if(hasOwnProperty.call(m,A)){var R=m[A];delete m[A],u.emit("deleteasync",A,[R]);}}),u.on("clear",function(){var A=m;m=o(null),c=o(null),b=o(null),u.emit("clearasync",e(A,function(R){return [R]}));});};}),oy=U(function(){var e=Yr(),t=gi(),r=gn(),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);});});};}),sy=U(function(e,t){t.exports=2147483647;}),ly=U(function(e,t){var r=hn(),n=sy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),uy=U(function(){var e=ts(),t=gi(),r=ns(),n=yc(),a=ly(),i=gn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,m,b){var A,R,N,q;c=a(c),c&&(A=u(null),R=b.async&&i.async||b.promise&&i.promise?"async":"",m.on("set"+R,function($){A[$]=setTimeout(function(){m.delete($);},c),typeof A[$].unref=="function"&&A[$].unref(),q&&(q[$]&&q[$]!=="nextTick"&&clearTimeout(q[$]),q[$]=setTimeout(function(){delete q[$];},N),typeof q[$].unref=="function"&&q[$].unref());}),m.on("delete"+R,function($){clearTimeout(A[$]),delete A[$],q&&(q[$]!=="nextTick"&&clearTimeout(q[$]),delete q[$]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?N=.333:N=s(l(Number(b.preFetch),1),0),N&&(q={},N=(1-N)*c,m.on("get"+R,function($,z,W){q[$]||(q[$]="nextTick",r(function(){var X;q[$]==="nextTick"&&(delete q[$],m.delete($),b.async&&(z=e(z),z.push(o)),X=m.memoized.apply(W,z),b.promise&&n(X)&&(typeof X.done=="function"?X.done(o,o):X.then(o,o)));}));}))),m.on("clear"+R,function(){t(A,function($){clearTimeout($);}),A={},q&&(t(q,function($){$!=="nextTick"&&clearTimeout($);}),q={});}));};}),cy=U(function(e,t){var r=hn(),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(A){var R=u[A],N=++c;if(l[N]=A,u[A]=N,!R)return ++o,o<=i?void 0:(A=l[s],m(A),A);if(delete l[R],s===R)for(;!a.call(l,++s););},delete:m=function(A){var R=u[A];if(R&&(delete l[R],delete u[A],--o,s===R)){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;}}};}),dy=U(function(){var e=hn(),t=cy(),r=gn();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));};}),fy=U(function(){var e=vn(),t=gn(),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]})});};}),py=U(function(e,t){var r=cc(),n=dc(),a=zb();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=Gb():s>1&&(o.normalizer=Ub()(s)):s===false?o.normalizer=Kb()():s===1?o.normalizer=Jb()():o.normalizer=Zb()(s))),o.async&&Qb(),o.promise&&iy(),o.dispose&&oy(),o.maxAge&&uy(),o.max&&dy(),o.refCounter&&fy(),a(i,o)};}),my=[{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"}],hr={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"])};my.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;hr[t]=r,hr[t+"_PRIO"]=n,hr[t+"_GROUP"]=a,hr.results[n]=r,hr.resultGroups[n]=a,hr.resultGroupMap[r]=a;}),Object.freeze(hr.results),Object.freeze(hr.resultGroups),Object.freeze(hr.resultGroupMap),Object.freeze(hr);var We=hr;function hy(){(typeof console>"u"?"undefined":fe(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var bn=hy,gy=/[\t\r\n\f]/g,vy=(function(){function e(){rr(this,e),this.parent=void 0;}return zt(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(gy," ").indexOf(a)>=0}}])})(),Ft=vy,as={};fr(as,{DqElement:function(){return sr},RuleError:function(){return Ao},aggregate:function(){return bi},aggregateChecks:function(){return Dc},aggregateNodeResults:function(){return Ac},aggregateResult:function(){return _c},areStylesSet:function(){return _y},assert:function(){return nt},checkHelper:function(){return Is},clone:function(){return Hr},closest:function(){return Jt},collectResultsFromFrames:function(){return mf},contains:function(){return Vr},convertSelector:function(){return Hi},cssParser:function(){return Wd},deepMerge:function(){return Gs},escapeSelector:function(){return xt},extendMetaData:function(){return Us},filterHtmlAttrs:function(){return Tm},finalizeRuleResult:function(){return la},findBy:function(){return Sa},getAllChecks:function(){return Gi},getAncestry:function(){return Bi},getBaseLang:function(){return Cn},getCheckMessage:function(){return j_},getCheckOption:function(){return vo},getElementSource:function(){return Gd},getEnvironmentData:function(){return ln},getFlattenedTree:function(){return Pl},getFrameContexts:function(){return o2},getFriendlyUriEnd:function(){return Sc},getNodeAttributes:function(){return da},getNodeFromTree:function(){return Ye},getPreloadConfig:function(){return Em},getRootNode:function(){return ka},getRule:function(){return um},getScroll:function(){return zr},getScrollState:function(){return u2},getSelector:function(){return Rs},getSelectorData:function(){return qi},getShadowSelector:function(){return Ss},getStandards:function(){return c2},getStyleSheetFactory:function(){return fm},getXpath:function(){return zd},injectStyle:function(){return p2},isArrayLike:function(){return Bl},isContextObject:function(){return Hl},isContextProp:function(){return yo},isContextSpec:function(){return pm},isHidden:function(){return m2},isHtmlElement:function(){return $l},isLabelledFramesSelector:function(){return Vl},isLabelledShadowDomSelector:function(){return wo},isNodeInContext:function(){return jl},isShadowRoot:function(){return Wi},isValidLang:function(){return Eo},isXHTML:function(){return wa},matchAncestry:function(){return zl},matches:function(){return Ps},matchesExpression:function(){return Ln},matchesSelector:function(){return Rn},memoize:function(){return mt},mergeResults:function(){return Ui},nodeLookup:function(){return rt},nodeSerializer:function(){return lr},nodeSorter:function(){return Gl},objectHasOwn:function(){return Tr},parseCrossOriginStylesheet:function(){return Wl},parseSameOriginStylesheet:function(){return gm},parseStylesheet:function(){return Ul},parseTabindex:function(){return Rr},performanceTimer:function(){return st},pollyfillElementsFromPoint:function(){return vm},preload:function(){return Am},preloadCssom:function(){return ym},preloadMedia:function(){return Dm},processMessage:function(){return ql},publishMetaData:function(){return xo},querySelectorAll:function(){return tr},querySelectorAllFilter:function(){return Fr},queue:function(){return Er},respondable:function(){return br},ruleShouldRun:function(){return km},select:function(){return Xl},sendCommandToFrame:function(){return cf},serializeError:function(){return Do},setScrollState:function(){return W2},shadowSelect:function(){return X2},shadowSelectAll:function(){return Yl},shouldPreload:function(){return _m},toArray:function(){return Cc},tokenList:function(){return Vt},uniqueArray:function(){return ja},uuid:function(){return Zw},validInputTypes:function(){return _o},validLangs:function(){return Pm}});function by(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 bi=by,yy=We.CANTTELL_PRIO,wy=We.FAIL_PRIO,yi=[];yi[We.PASS_PRIO]=true,yi[We.CANTTELL_PRIO]=null,yi[We.FAIL_PRIO]=false;var wc=["any","all","none"];function xc(e,t){return wc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function xy(e){var t=Object.assign({},e);xc(t,function(a,i){var o=typeof a.result>"u"?-1:yi.indexOf(a.result);a.priority=o!==-1?o:We.CANTTELL_PRIO,i==="none"&&(a.priority===We.PASS_PRIO?a.priority=We.FAIL_PRIO:a.priority===We.FAIL_PRIO&&(a.priority=We.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 wc.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)});}),[yy,wy].includes(t.priority)?t.impact=bi(We.impact,n):t.impact=null,xc(t,function(a){delete a.result,delete a.priority;}),t.result=We.results[t.priority],delete t.priority,t}var Dc=xy;function la(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,Ac(e.nodes)),delete e.nodes,e}function Dy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Dc(i);if(Array.isArray(i.node))return la(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=bi(We.results,r,t.result);}else t.result="inapplicable";We.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=We.resultGroupMap[i.result];t[o].push(i);});var n=We.FAIL_GROUP;if(t[n].length===0&&(n=We.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=bi(We.impact,a)||null;}else t.impact=null;return t}var Ac=Dy;function is(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),We.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Ay(e){var t={};return We.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?is(t,r,We.CANTTELL_GROUP):r.result===We.NA?is(t,r,We.NA_GROUP):We.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&is(t,r,n);});}),t}var _c=Ay;function Ec(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:Ec(e.parentNode,t,r)}var _y=Ec;function Ey(e,t){if(!e)throw new Error(t)}var nt=Ey;function Cy(e){return Array.prototype.slice.call(e)}var Cc=Cy;function Sy(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 xt=Sy;function ky(){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 ua(e,t){return [e.substring(0,t),e.substring(t)]}function ca(e){return e.replace(/\s+$/,"")}function Ty(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ua(e,e.indexOf("#")),u=De(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ua(e,e.indexOf("?")),m=De(c,2);e=m[0],o=m[1];}if(e.includes("://")){var b=e.split("://"),A=De(b,2);r=A[0],e=A[1];var R=ua(e,e.indexOf("/")),N=De(R,2);n=N[0],e=N[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var q=ua(e,e.indexOf("/")),$=De(q,2);n=$[0],e=$[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var z=ua(n,n.indexOf(":")),W=De(z,2);n=W[0],a=W[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function Ry(){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=Ty(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?ca(u+l):u.length<2&&l.length>2&&l.length<=a?ca(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ca(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})?/)&&!ky(u))return ca(u)}}var Sc=Ry;function Fy(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var da=Fy,Iy=(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}})(),Rn=Iy,kc={};fr(kc,{ArrayFrom:function(){return qd.default},Colorjs:function(){return dt},CssSelectorParser:function(){return Tc.CssSelectorParser},doT:function(){return Kr.default},emojiRegexText:function(){return os},memoize:function(){return Rc.default}});var Ly=Dr(Zg()),Py=Dr(Qg());Dr(ev());var Oy=Dr(mv()),My=Dr(Ev()),Ny=Dr(lc());"hasOwn"in Object||(Object.hasOwn=Oy.default),"values"in Object||(Object.values=My.default),"Promise"in d||Ly.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=Py.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=Ny.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 Tc=Dr(nb()),Kr=Dr(ab()),os=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},Rc=Dr(py());function _t(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(A){u.e(A);}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 fa(e){return Jr(e)==="string"}function Jr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function wi(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 Fc(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 Ic(e){return e[e.length-1]}function xi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Lc(e,t,r){return (r-e)/(t-e)}function ss(e,t,r){return xi(t[0],t[1],Lc(e[0],e[1],r))}function Pc(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 qy=Object.freeze({__proto__:null,isString:fa,type:Jr,toPrecision:wi,parseFunction:Fc,last:Ic,interpolate:xi,interpolateInv:Lc,mapRange:ss,parseCoordGrammar:Pc,multiplyMatrices:_t}),By=(function(){function e(){rr(this,e);}return zt(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);});}}])})(),Zr=new By,_r={gamut_mapping:"lch.c",precision:5,deltaE:"76"},gr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ls(e){return Array.isArray(e)?e:gr[e]}function Di(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ls(e),t=ls(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(Zr.run("chromatic-adaptation-start",a),a.M||(a.W1===gr.D65&&a.W2===gr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===gr.D50&&a.W2===gr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Zr.run("chromatic-adaptation-end",a),a.M)return _t(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Hy=75e-6,vr=(re=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;rr(this,e),ni(this,re),Mt(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?vr.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=ls(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,Rt(oe,this,Wr(re,this,Vy).call(this).reverse()),Zr.run("colorspace-init-end",this);}return zt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Hy: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=De(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=Wr(re,this,Oc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=Wr(re,this,Oc).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=vr.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=jt(oe,this),o=jt(oe,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=vr.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 ke(new Set(Object.values(vr.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 vr)return r;var n=Jr(r);if(n==="string"){var a=vr.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 vr.get.apply(vr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Jr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=De(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=De(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=vr.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=Jr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Fe({space:i,id:c[0],index:o},c[1])}i=vr.get(i);var m=o.toLowerCase(),b=0;for(var A in i.coords){var R,N=i.coords[A];if(A.toLowerCase()===m||((R=N.name)===null||R===void 0?void 0:R.toLowerCase())===m)return Fe({space:i,id:A,index:b},N);b++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Oc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Pc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=De(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=ss(s,l,a)),a=wi(a,n),u&&(a+=u),a})};}return e}function Vy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Be=vr;Bu(Be,"registry",{}),Bu(Be,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ar=new Be({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"]}),Ut=(function(e){function t(r){var n,a;if(rr(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=ar),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=_t(r.toXYZ_M,s);return a.white!==a.base.white&&(l=Di(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Di(a.base.white,a.white,s),_t(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=Q(this,t,[r])}return Oe(t,e),zt(t)})(Be);function Mc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Zr.run("parse-start",r),r.color)return r.color;if(r.parsed=Fc(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(Be.all),s;try{var l=function(){var _e=s.value,le=_e.getFormat("color");if(le){var ge;if(a===le.id||(ge=le.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(_e.coords).length,Ee=Array(xe).fill(0);return Ee.forEach(function(Me,je){return Ee[je]=r.parsed.args[je]||0}),{v:{spaceId:_e.id,coords:Ee,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 Be.registry){var m,b=(m=Be.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 A=it(Be.all),R;try{var N=function(){var _e=R.value,le=_e.getFormat(n);if(le&&le.type==="function"){var ge=1;(le.lastAlpha||Ic(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return le.coordGrammar&&Object.entries(_e.coords).forEach(function(Ee,Me){var je,Re=De(Ee,2),He=Re[0],be=Re[1],Pe=le.coordGrammar[Me],te=(je=xe[Me])===null||je===void 0?void 0:je.type;if(Pe=Pe.find(function($e){return $e==te}),!Pe){var Ce=be.name||He;throw new TypeError("".concat(te," not allowed for ").concat(Ce," in ").concat(n,"()"))}var he=Pe.range;te==="<percentage>"&&(he||(he=[0,1]));var Se=be.range||be.refRange;he&&Se&&(xe[Me]=ss(he,Se,xe[Me]));}),{v:{spaceId:_e.id,coords:xe,alpha:ge}}}},q;for(A.s();!(R=A.n()).done;)if(q=N(),q)return q.v}catch(pe){A.e(pe);}finally{A.f();}}}else {var $=it(Be.all),z;try{for($.s();!(z=$.n()).done;){var W=z.value;for(var X in W.formats){var K=W.formats[X];if(K.type==="custom"&&!(K.test&&!K.test(r.str))){var ne=K.parse(r.str);if(ne){var se;return (se=ne.alpha)!==null&&se!==void 0||(ne.alpha=1),ne}}}}}catch(pe){$.e(pe);}finally{$.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function lt(e){if(!e)throw new TypeError("Empty color reference");fa(e)&&(e=Mc(e));var t=e.space||e.spaceId;return t instanceof Be||(e.space=Be.get(t)),e.alpha===void 0&&(e.alpha=1),e}function pa(e,t){return t=Be.get(t),t.from(e)}function ir(e,t){var r=Be.resolveCoord(t,e.space),n=r.space,a=r.index,i=pa(e,n);return i[a]}function Nc(e,t,r){return t=Be.get(t),e.coords=t.to(e.space,r),e}function Qr(e,t,r){if(e=lt(e),arguments.length===2&&Jr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Qr(e,a,n[a]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Be.resolveCoord(t,e.space),o=i.space,s=i.index,l=pa(e,o);l[s]=r,Nc(e,o,l);}return e}var us=new Be({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ar,fromBase:function(t){return Di(ar.white,"D50",t)},toBase:function(t){return Di("D50",ar.white,t)},formats:{color:{}}}),$y=216/24389,qc=24/116,Ai=24389/27,cs=gr.D50,Kt=new Be({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:cs,base:us,fromBase:function(t){var r=t.map(function(a,i){return a/cs[i]}),n=r.map(function(a){return a>$y?Math.cbrt(a):(Ai*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]>qc?Math.pow(r[0],3):(116*r[0]-16)/Ai,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ai,r[2]>qc?Math.pow(r[2],3):(116*r[2]-16)/Ai];return n.map(function(a,i){return a*cs[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function _i(e){return (e%360+360)%360}function jy(e,t){if(e==="raw")return t;var r=t.map(_i),n=De(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 ma=new Be({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:Kt,fromBase:function(t){var r=De(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)),_i(o)]},toBase:function(t){var r=De(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>"]}}}),Bc=Math.pow(25,7),Ei=Math.PI,Hc=180/Ei,Fn=Ei/180;function ds(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=Kt.from(e),c=De(u,3),m=c[0],b=c[1],A=c[2],R=ma.from(Kt,[m,b,A])[1],N=Kt.from(t),q=De(N,3),$=q[0],z=q[1],W=q[2],X=ma.from(Kt,[$,z,W])[1];R<0&&(R=0),X<0&&(X=0);var K=(R+X)/2,ne=Math.pow(K,7),se=.5*(1-Math.sqrt(ne/(ne+Bc))),pe=(1+se)*b,_e=(1+se)*z,le=Math.sqrt(Math.pow(pe,2)+Math.pow(A,2)),ge=Math.sqrt(Math.pow(_e,2)+Math.pow(W,2)),xe=pe===0&&A===0?0:Math.atan2(A,pe),Ee=_e===0&&W===0?0:Math.atan2(W,_e);xe<0&&(xe+=2*Ei),Ee<0&&(Ee+=2*Ei),xe*=Hc,Ee*=Hc;var Me=$-m,je=ge-le,Re=Ee-xe,He=xe+Ee,be=Math.abs(Re),Pe;le*ge===0?Pe=0:be<=180?Pe=Re:Re>180?Pe=Re-360:Re<-180?Pe=Re+360:console.log("the unthinkable has happened");var te=2*Math.sqrt(ge*le)*Math.sin(Pe*Fn/2),Ce=(m+$)/2,he=(le+ge)/2,Se=Math.pow(he,7),$e;le*ge===0?$e=He:be<=180?$e=He/2:He<360?$e=(He+360)/2:$e=(He-360)/2;var Te=Math.pow(Ce-50,2),Le=1+.015*Te/Math.sqrt(20+Te),et=1+.045*he,ut=1;ut-=.17*Math.cos(($e-30)*Fn),ut+=.24*Math.cos(2*$e*Fn),ut+=.32*Math.cos((3*$e+6)*Fn),ut-=.2*Math.cos((4*$e-63)*Fn);var ft=1+.015*he*ut,Dt=30*Math.exp(-1*Math.pow(($e-275)/25,2)),St=2*Math.sqrt(Se/(Se+Bc)),Ct=-1*Math.sin(2*Dt*Fn)*St,gt=Math.pow(Me/(a*Le),2);return gt+=Math.pow(je/(o*et),2),gt+=Math.pow(te/(l*ft),2),gt+=Ct*(je/(o*et))*(te/(l*ft)),Math.sqrt(gt)}var zy=75e-6;function ha(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?zy:n;e=lt(e),t=Be.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function ga(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?_r.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(fa(arguments[1])&&(i=arguments[1]),i=Be.get(i),ha(e,i,{epsilon:0}))return e;var o=or(e,i);if(n!=="clip"&&!ha(e,i)){var s=en(ga(o),{method:"clip",space:i});if(ds(e,s)>2){for(var l=Be.resolveCoord(n),u=l.space,c=l.id,m=or(o,u),b=l.range||l.refRange,A=b[0],R=.01,N=A,q=ir(m,c);q-N>R;){var $=ga(m);$=en($,{space:i,method:"clip"});var z=ds(m,$);z-2<R?N=ir(m,c):q=ir(m,c),Qr(m,c,(N+q)/2);}o=or(m,i);}else o=s;}if(n==="clip"||!ha(o,i,{epsilon:0})){var W=Object.values(i.coords).map(function(X){return X.range||[]});o.coords=o.coords.map(function(X,K){var ne=De(W[K],2),se=ne[0],pe=ne[1];return se!==void 0&&(X=Math.max(se,X)),pe!==void 0&&(X=Math.min(X,pe)),X});}return i!==e.space&&(o=or(o,e.space)),e.coords=o.coords,e}en.returns="color";function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=lt(e),t=Be.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=en(i)),i}or.returns="color";function Ci(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?_r.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=ee(n,D),m;e=lt(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:Be.DEFAULT_FORMAT,u||(u=s.toGamut);var A=e.coords;if(A=A.map(function(X){return X||0}),u&&!ha(e)&&(A=en(ga(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)m=s.serialize(A,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var R=s.name||"color";s.serializeCoords?A=s.serializeCoords(A,i):i!==null&&(A=A.map(function(X){return wi(X,i)}));var N=ke(A);if(R==="color"){var q,$=s.id||((q=s.ids)===null||q===void 0?void 0:q[0])||e.space.id;N.unshift($);}var z=e.alpha;i!==null&&(z=wi(z,i));var W=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(z):"";m="".concat(R,"(").concat(N.join(s.commas?", ":" ")).concat(W,")");}return m}var Gy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Uy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Si=new Ut({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Gy,fromXYZ_M:Uy,formats:{color:{}}}),ki=1.09929682680944,Vc=.018053968510807,$c=new Ut({id:"rec2020",name:"REC.2020",base:Si,toBase:function(t){return t.map(function(r){return r<Vc*4.5?r/4.5:Math.pow((r+ki-1)/ki,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Vc?ki*Math.pow(r,.45)-(ki-1):4.5*r})},formats:{color:{}}}),Wy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Xy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],jc=new Ut({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Wy,fromXYZ_M:Xy}),Yy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Ky=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],zc=new Ut({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Yy,fromXYZ_M:Ky,formats:{color:{}}}),Gc={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]},Uc=Array(3).fill("<percentage> | <number>[0, 255]"),Wc=Array(3).fill("<number>[0, 255]"),va=new Ut({id:"srgb",name:"sRGB",base:zc,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:Uc},rgb_number:{name:"rgb",commas:true,coords:Wc,noAlpha:true},color:{},rgba:{coords:Uc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Wc},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=Gc.black,r.alpha=0):r.coords=Gc[t],r.coords)return r}}}}),Xc=new Ut({id:"p3",name:"P3",base:jc,fromBase:va.fromBase,toBase:va.toBase,formats:{color:{id:"display-p3"}}});if(_r.display_space=va,typeof CSS<"u"&&(de=CSS)!==null&&de!==void 0&&de.supports)for(var fs=0,Yc=[Kt,$c,Xc];fs<Yc.length;fs++){var ps=Yc[fs],Jy=ps.getMinCoords(),Zy={space:ps,coords:Jy,alpha:1},Qy=Ci(Zy);if(CSS.supports("color",Qy)){_r.display_space=ps;break}}function e0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?_r.display_space:n,i=ee(r,x),o=Ci(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!_r.display_space)o=new String(o),o.color=e;else {var s=or(e,a);o=new String(Ci(s,i)),o.color=s;}return o}function Kc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Be.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 t0(e,t){return e=lt(e),t=lt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function tn(e){return ir(e,[ar,"y"])}function Jc(e,t){Qr(e,[ar,"y"],t);}function r0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return tn(this)},set:function(r){Jc(this,r);}});}var n0=Object.freeze({__proto__:null,getLuminance:tn,setLuminance:Jc,register:r0});function a0(e,t){e=lt(e),t=lt(t);var r=Math.max(tn(e),0),n=Math.max(tn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var i0=.56,o0=.57,s0=.62,l0=.65,Zc=.022,u0=1.414,c0=.1,d0=5e-4,f0=1.14,Qc=.027,p0=1.14;function ed(e){return e>=Zc?e:e+Math.pow(Zc-e,u0)}function In(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function m0(e,t){t=lt(t),e=lt(e);var r,n,a,i,o,s;t=or(t,"srgb");var l=De(t.coords,3);i=l[0],o=l[1],s=l[2];var u=In(i)*.2126729+In(o)*.7151522+In(s)*.072175;e=or(e,"srgb");var c=De(e.coords,3);i=c[0],o=c[1],s=c[2];var m=In(i)*.2126729+In(o)*.7151522+In(s)*.072175,b=ed(u),A=ed(m),R=A>b;return Math.abs(A-b)<d0?n=0:R?(r=Math.pow(A,i0)-Math.pow(b,o0),n=r*f0):(r=Math.pow(A,l0)-Math.pow(b,s0),n=r*p0),Math.abs(n)<c0?a=0:n>0?a=n-Qc:a=n+Qc,a*100}function h0(e,t){e=lt(e),t=lt(t);var r=Math.max(tn(e),0),n=Math.max(tn(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 g0=5e4;function v0(e,t){e=lt(e),t=lt(t);var r=Math.max(tn(e),0),n=Math.max(tn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?g0:(r-n)/n}function b0(e,t){e=lt(e),t=lt(t);var r=ir(e,[Kt,"l"]),n=ir(t,[Kt,"l"]);return Math.abs(r-n)}var y0=216/24389,td=24/116,Ti=24389/27,ms=gr.D65,hs=new Be({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ms,base:ar,fromBase:function(t){var r=t.map(function(a,i){return a/ms[i]}),n=r.map(function(a){return a>y0?Math.cbrt(a):(Ti*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]>td?Math.pow(r[0],3):(116*r[0]-16)/Ti,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ti,r[2]>td?Math.pow(r[2],3):(116*r[2]-16)/Ti];return n.map(function(a,i){return a*ms[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),gs=Math.pow(5,.5)*.5+.5;function w0(e,t){e=lt(e),t=lt(t);var r=ir(e,[hs,"l"]),n=ir(t,[hs,"l"]),a=Math.abs(Math.pow(r,gs)-Math.pow(n,gs)),i=Math.pow(a,1/gs)*Math.SQRT2-40;return i<7.5?0:i}var Ri=Object.freeze({__proto__:null,contrastWCAG21:a0,contrastAPCA:m0,contrastMichelson:h0,contrastWeber:v0,contrastLstar:b0,contrastDeltaPhi:w0});function x0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};fa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=ee(n,k);if(!a){var o=Object.keys(Ri).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=lt(e),t=lt(t);for(var s in Ri)if("contrast"+a.toLowerCase()===s.toLowerCase())return Ri[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function rd(e){var t=pa(e,ar),r=De(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 nd(e){var t=pa(e,ar),r=De(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function D0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return rd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return nd(this)}});}var A0=Object.freeze({__proto__:null,uv:rd,xy:nd,register:D0});function _0(e,t){return Kc(e,t,"lab")}var E0=Math.PI,ad=E0/180;function C0(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=Kt.from(e),l=De(s,3),u=l[0],c=l[1],m=l[2],b=ma.from(Kt,[u,c,m]),A=De(b,3),R=A[1],N=A[2],q=Kt.from(t),$=De(q,3),z=$[0],W=$[1],X=$[2],K=ma.from(Kt,[z,W,X])[1];R<0&&(R=0),K<0&&(K=0);var ne=u-z,se=R-K,pe=c-W,_e=m-X,le=Math.pow(pe,2)+Math.pow(_e,2)-Math.pow(se,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*R/(1+.0131*R)+.638,Ee;Number.isNaN(N)&&(N=0),N>=164&&N<=345?Ee=.56+Math.abs(.2*Math.cos((N+168)*ad)):Ee=.36+Math.abs(.4*Math.cos((N+35)*ad));var Me=Math.pow(R,4),je=Math.sqrt(Me/(Me+1900)),Re=xe*(je*Ee+1-je),He=Math.pow(ne/(a*ge),2);return He+=Math.pow(se/(o*xe),2),He+=le/Math.pow(Re,2),Math.sqrt(He)}var id=203,vs=new Be({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:ar,fromBase:function(t){return t.map(function(r){return Math.max(r*id,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/id,0)})}}),Fi=1.15,Ii=.66,od=2610/Math.pow(2,14),S0=Math.pow(2,14)/2610,sd=3424/Math.pow(2,12),ld=2413/Math.pow(2,7),ud=2392/Math.pow(2,7),k0=1.7*2523/Math.pow(2,5),cd=Math.pow(2,5)/(1.7*2523),Li=-0.56,bs=16295499532821565e-27,T0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],R0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],F0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],I0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],dd=new Be({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:vs,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=Fi*n-(Fi-1)*i,s=Ii*a-(Ii-1)*n,l=_t(T0,[o,s,i]),u=l.map(function(q){var $=sd+ld*Math.pow(q/1e4,od),z=1+ud*Math.pow(q/1e4,od);return Math.pow($/z,k0)}),c=_t(F0,u),m=De(c,3),b=m[0],A=m[1],R=m[2],N=(1+Li)*b/(1+Li*b)-bs;return [N,A,R]},toBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=(n+bs)/(1+Li-Li*(n+bs)),s=_t(I0,[o,a,i]),l=s.map(function(q){var $=sd-Math.pow(q,cd),z=ud*Math.pow(q,cd)-ld,W=1e4*Math.pow($/z,S0);return W}),u=_t(R0,l),c=De(u,3),m=c[0],b=c[1],A=c[2],R=(m+(Fi-1)*A)/Fi,N=(b+(Ii-1)*R)/Ii;return [R,N,A]},formats:{color:{}}}),ys=new Be({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:dd,fromBase:function(t){var r=De(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)),_i(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 L0(e,t){var r=ys.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=ys.from(t),l=De(s,3),u=l[0],c=l[1],m=l[2],b=a-u,A=i-c;Number.isNaN(o)&&Number.isNaN(m)?(o=0,m=0):Number.isNaN(o)?o=m:Number.isNaN(m)&&(m=o);var R=o-m,N=2*Math.sqrt(i*c)*Math.sin(R/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(N,2))}var fd=3424/4096,pd=2413/128,md=2392/128,hd=2610/16384,P0=2523/32,O0=16384/2610,gd=32/2523,M0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],N0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],q0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],B0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ws=new Be({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:vs,fromBase:function(t){var r=_t(M0,t);return H0(r)},toBase:function(t){var r=V0(t);return _t(B0,r)},formats:{color:{}}});function H0(e){var t=e.map(function(r){var n=fd+pd*Math.pow(r/1e4,hd),a=1+md*Math.pow(r/1e4,hd);return Math.pow(n/a,P0)});return _t(N0,t)}function V0(e){var t=_t(q0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,gd)-fd,0),i=pd-md*Math.pow(n,gd);return 1e4*Math.pow(a/i,O0)});return r}function $0(e,t){var r=ws.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=ws.from(t),l=De(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 j0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],z0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],G0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],U0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Pi=new Be({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:ar,fromBase:function(t){var r=_t(j0,t),n=r.map(function(a){return Math.cbrt(a)});return _t(G0,n)},toBase:function(t){var r=_t(U0,t),n=r.map(function(a){return Math.pow(a,3)});return _t(z0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function W0(e,t){var r=Pi.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=Pi.from(t),l=De(s,3),u=l[0],c=l[1],m=l[2],b=a-u,A=i-c,R=o-m;return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(R,2))}var xs=Object.freeze({__proto__:null,deltaE76:_0,deltaECMC:C0,deltaE2000:ds,deltaEJz:L0,deltaEITP:$0,deltaEOK:W0});function ba(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};fa(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?_r.deltaE:a,o=ee(n,L);e=lt(e),t=lt(t);for(var s in xs)if("deltae"+i.toLowerCase()===s.toLowerCase())return xs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function X0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Qr(e,n,function(a){return a*(1+t)})}function Y0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Qr(e,n,function(a){return a*(1-t)})}var K0=Object.freeze({__proto__:null,lighten:X0,darken:Y0});function vd(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=[lt(e),lt(t)];if(e=a[0],t=a[1],Jr(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=ya(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function bd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Ds(e)){n=e,r=t;var a=De(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=ee(i,S);if(!n){var A=[lt(e),lt(t)];e=A[0],t=A[1],n=ya(e,t,b);}var R=ba(e,t),N=o>0?Math.max(u,Math.ceil(R/o)+1):u,q=[];if(m!==void 0&&(N=Math.min(N,m)),N===1)q=[{p:.5,color:n(.5)}];else {var $=1/(N-1);q=Array.from({length:N},function(pe,_e){var le=_e*$;return {p:le,color:n(le)}});}if(o>0)for(var z=q.reduce(function(pe,_e,le){if(le===0)return 0;var ge=ba(_e.color,q[le-1].color,s);return Math.max(pe,ge)},0);z>o;){z=0;for(var W=1;W<q.length&&q.length<m;W++){var X=q[W-1],K=q[W],ne=(K.p+X.p)/2,se=n(ne);z=Math.max(z,ba(se,X.color),ba(se,K.color)),q.splice(W,0,{p:ne,color:n(ne)}),W++;}}return q=q.map(function(pe){return pe.color}),q}function ya(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Ds(e)){var n=e,a=t;return ya.apply(void 0,ke(n.rangeArgs.colors).concat([Fe({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=lt(e),t=lt(t),e=ga(e),t=ga(t);var u={colors:[e,t],options:r};if(i?i=Be.get(i):i=Be.registry[_r.interpolationSpace]||e.space,o=o?Be.get(o):i,e=or(e,i),t=or(t,i),e=en(e),t=en(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",m=[i,"h"],b=[ir(e,m),ir(t,m)],A=b[0],R=b[1],N=jy(c,[A,R]),q=De(N,2);A=q[0],R=q[1],Qr(e,m,A),Qr(t,m,R);}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 z=e.coords.map(function(K,ne){var se=t.coords[ne];return xi(K,se,$)}),W=xi(e.alpha,t.alpha,$),X={space:i,coords:z,alpha:W};return l&&(X.coords=X.coords.map(function(K){return K/W})),o!==i&&(X=or(X,o)),X},{rangeArgs:u})}function Ds(e){return Jr(e)==="function"&&!!e.rangeArgs}_r.interpolationSpace="lab";function J0(e){e.defineFunction("mix",vd,{returns:"color"}),e.defineFunction("range",ya,{returns:"function<color>"}),e.defineFunction("steps",bd,{returns:"array<color>"});}var Z0=Object.freeze({__proto__:null,mix:vd,steps:bd,range:ya,isRange:Ds,register:J0}),yd=new Be({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:va,fromBase:function(t){var r=Math.max.apply(Math,ke(t)),n=Math.min.apply(Math,ke(t)),a=De(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=De(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}}}),wd=new Be({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:yd,fromBase:function(t){var r=De(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=De(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}}}),Q0=new Be({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:wd,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=De(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>"]}}}),ew=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],tw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],xd=new Ut({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:ew,fromXYZ_M:tw}),rw=new Ut({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:xd,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"}}}),nw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],aw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Dd=new Ut({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:us,toXYZ_M:nw,fromXYZ_M:aw}),iw=1/512,ow=16/512,sw=new Ut({id:"prophoto",name:"ProPhoto",base:Dd,toBase:function(t){return t.map(function(r){return r<ow?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=iw?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),lw=new Be({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=De(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)),_i(o)]},toBase:function(t){var r=De(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>"]}}}),Ad=203,_d=2610/Math.pow(2,14),uw=Math.pow(2,14)/2610,cw=2523/Math.pow(2,5),Ed=Math.pow(2,5)/2523,Cd=3424/Math.pow(2,12),Sd=2413/Math.pow(2,7),kd=2392/Math.pow(2,7),dw=new Ut({id:"rec2100pq",name:"REC.2100-PQ",base:Si,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Ed)-Cd,0)/(Sd-kd*Math.pow(r,Ed)),uw);return n*1e4/Ad})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Ad/1e4,0),a=Cd+Sd*Math.pow(n,_d),i=1+kd*Math.pow(n,_d);return Math.pow(a/i,cw)})},formats:{color:{id:"rec2100-pq"}}}),Td=.17883277,Rd=.28466892,Fd=.55991073,As=3.7743,fw=new Ut({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Si,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*As:Math.exp((r-Fd)/Td+Rd)/12*As})},fromBase:function(t){return t.map(function(r){return r/=As,r<=1/12?Math.sqrt(3*r):Td*Math.log(12*r-Rd)+Fd})},formats:{color:{id:"rec2100-hlg"}}}),Id={};Zr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Ld(e.W1,e.W2,e.options.method));}),Zr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Ld(e.W1,e.W2,e.options.method));});function Oi(e){var t=e.id;e.toCone_M;e.fromCone_M;Id[t]=arguments[0];}function Ld(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Id[r],a=_t(n.toCone_M,e),i=De(a,3),o=i[0],s=i[1],l=i[2],u=_t(n.toCone_M,t),c=De(u,3),m=c[0],b=c[1],A=c[2],R=[[m/o,0,0],[0,b/s,0],[0,0,A/l]],N=_t(R,n.toCone_M),q=_t(n.fromCone_M,N);return q}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(gr,{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]}),gr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var pw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],mw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Pd=new Ut({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:gr.ACES,toXYZ_M:pw,fromXYZ_M:mw,formats:{color:{}}}),Mi=Math.pow(2,-16),_s=-0.35828683,Ni=(Math.log2(65504)+9.72)/17.52,hw=new Ut({id:"acescc",name:"ACEScc",coords:{r:{range:[_s,Ni],name:"Red"},g:{range:[_s,Ni],name:"Green"},b:{range:[_s,Ni],name:"Blue"}},referred:"scene",base:Pd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Mi)*2:n<Ni?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Mi)+9.72)/17.52:r<Mi?(Math.log2(Mi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Od=Object.freeze({__proto__:null,XYZ_D65:ar,XYZ_D50:us,XYZ_ABS_D65:vs,Lab_D65:hs,Lab:Kt,LCH:ma,sRGB_Linear:zc,sRGB:va,HSL:yd,HWB:Q0,HSV:wd,P3_Linear:jc,P3:Xc,A98RGB_Linear:xd,A98RGB:rw,ProPhoto_Linear:Dd,ProPhoto:sw,REC_2020_Linear:Si,REC_2020:$c,OKLab:Pi,OKLCH:lw,Jzazbz:dd,JzCzHz:ys,ICTCP:ws,REC_2100_PQ:dw,REC_2100_HLG:fw,ACEScg:Pd,ACEScc:hw}),dt=(ve=new WeakMap,(function(){function e(){var t=this;rr(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=lt(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]),Rt(ve,this,Be.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(A){Object.defineProperty(t,A,{get:function(){return t.get(A)},set:function(N){return t.set(A,N)}});};for(var m in jt(ve,this).coords)c(m);}return zt(e,[{key:"space",get:function(){return jt(ve,this)}},{key:"spaceId",get:function(){return jt(ve,this).id}},{key:"clone",value:function(){return new dt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=e0.apply(void 0,[this].concat(n));return i.color=new dt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof dt)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return J(dt,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,l=function(){var c=n.apply(void 0,arguments);if(s==="color")c=dt.get(c);else if(s==="function<color>"){var m=c;c=function(){var A=m.apply(void 0,arguments);return dt.get(A)},Object.assign(c,m);}else s==="array<color>"&&(c=c.map(function(b){return dt.get(b)}));return c};r in dt||(dt[r]=l),o&&(dt.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)dt.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(dt);else for(var n in r)dt.defineFunction(n,r[n]);}}])})());dt.defineFunctions({get:ir,getAll:pa,set:Qr,setAll:Nc,to:or,equals:t0,inGamut:ha,toGamut:en,distance:Kc,toString:Ci}),Object.assign(dt,{util:qy,hooks:Zr,WHITES:gr,Space:Be,spaces:Be.registry,parse:Mc,defaults:_r});for(var Es=0,Md=Object.keys(Od);Es<Md.length;Es++){var gw=Md[Es];Be.register(Od[gw]);}for(var Nd in Be.registry)Cs(Nd,Be.registry[Nd]);Zr.add("colorspace-init-end",function(e){var t;Cs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Cs(r,e);});});function Cs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(dt.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Be.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=Be.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=Be.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});}dt.extend(xs),dt.extend({deltaE:ba}),dt.extend(K0),dt.extend({contrast:x0}),dt.extend(A0),dt.extend(n0),dt.extend(Z0),dt.extend(Ri);var qd=Dr(lc());Kr.default.templateSettings.strip=false,p._memoizedFns=[];function vw(e){var t=(0, Rc.default)(e);return p._memoizedFns.push(t),t}var mt=vw,bw=mt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),wa=bw;function Ss(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||g;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 yw=["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"],ww=31,xw=/([\\"])/g,Dw=/(\r\n|\r|\n)/g;function ks(e){return e.replace(xw,"\\$1").replace(Dw,"\\a ")}function Bd(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Sc(e.getAttribute(r));a?n=xt(t.name)+'$="'+ks(a)+'"':n=xt(t.name)+'="'+ks(e.getAttribute(r))+'"';}else n=xt(r)+'="'+ks(t.value)+'"';return n}function Ts(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Hd(e){return !yw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<ww)}function qi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=xt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(da(s)).filter(Hd).forEach(function(u){var c=Bd(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 Aw(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=xt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Ts)}function _w(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Rn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function Ew(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||g,r="#"+xt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Vd(e){var t=wa(g);return xt(t?e.localName:e.nodeName.toLowerCase())}function Cw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(da(e)).filter(Hd).forEach(function(i){var o=Bd(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Ts)}function Sw(e,t){var r="",n,a=Aw(e,t),i=Cw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Vd(e)):(n=a.concat(i),n.sort(Ts),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=Vd(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 kw(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=Ew(e);s||(s=Sw(e,p._selectorData),s+=_w(e,s)),i?i=s+" > "+i:i=s,!o||o.length>We.selectorSimilarFilterLimit?o=Rw(r,i):o=o.filter(function(l){return Rn(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 Tw(e,t){return Ss(kw,e,t)}var Rs=mt(Tw),Rw=mt(function(e,t){return Array.from(e.querySelectorAll(t))});function $d(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?$d(r)+" > "+t+a:t+a}function Bi(e,t){return Ss($d,e,t)}function jd(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=jd(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&&xt(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 Fw(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 Iw(e){var t=jd(e);return Fw(t)}var zd=Iw,xa={},Lw={set:function(t,r){Pw(t),xa[t]=r;},get:function(t,r){if(Ow(r),t in xa)return xa[t];if(typeof r=="function"){var n=r();return nt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),xa[t]}},clear:function(){xa={};}};function Pw(e){nt(typeof e=="string","key must be a string, "+fe(e)+" given"),nt(e!=="","key must not be empty");}function Ow(e){nt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+fe(e)+" given");}var Ue=Lw;function Mw(e,t){var r=t||e;return Ue.get("nodeMap")?Ue.get("nodeMap").get(r):null}var Ye=Mw;function Gd(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 Fs(s,n)}var l=Nw(e);return l.length>n?qw(e,{maxLength:n,attrLimit:i}):l}function Nw(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function qw(e,t){var r=t.maxLength,n=t.attrLimit,a=wa(e.ownerDocument||g)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(da(e)).map(function(R){var N=R.name,q=R.value;return {name:N,value:q}}),o=i.reduce(function(R,N){var q=N.name,$=N.value;return R+q.length+$.length+4},0);2+a.length+o>r&&i.forEach(function(R){R.name=Fs(R.name,n),R.value=Fs(R.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),m;try{for(c.s();!(m=c.n()).done;){var b=m.value,A=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+A.length>r-u.length){l=u;continue}s+=A;}}catch(R){c.e(R);}finally{c.f();}return s+l}function Fs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Ud="DqElm.RunOptions",yn=mt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ue.get(Ud))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Ft?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ye(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:Gd(this._element);}return this});yn.prototype={get selector(){return this.spec.selector||[Rs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Bi(this.element)]},get xpath(){return this.spec.xpath||[zd(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}},yn.fromFrame=function(t,r,n){var a=yn.mergeSpecs(t,n);return new yn(n.element,r,a)},yn.mergeSpecs=function(t,r){return Fe({},t,{selector:[].concat(ke(r.selector),ke(t.selector)),ancestry:[].concat(ke(r.ancestry),ke(t.ancestry)),xpath:[].concat(ke(r.xpath),ke(t.xpath)),nodeIndexes:[].concat(ke(r.nodeIndexes),ke(t.nodeIndexes)),fromFrame:true})},yn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ue.set(Ud,{elementRef:r,absolutePaths:n});};var sr=yn;function Bw(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 Ft?i=[i]:i=Cc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ft&&(o=o.actualNode),o instanceof d.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var Is=Bw;function Hr(e){return Ls(e,new Map)}function Ls(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(Ls(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Ls(e[o],t);return i}var Da=new Tc.CssSelectorParser;Da.registerSelectorPseudos("not"),Da.registerSelectorPseudos("is"),Da.registerNestingOperators(">"),Da.registerAttrEqualityMods("^","$","*","~");var Wd=Da;function Ps(e,t){var r=Hi(t);return r.some(function(n){return Ln(e,n)})}function Hw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Vw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function $w(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function jw(e,t){return !t.id||e.props.id===t.id}function zw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Ln(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Ln(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Xd(e,t){return Hw(e,t)&&Vw(e,t)&&$w(e,t)&&jw(e,t)&&zw(e,t)}var Aa=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Os=/\\/g;function Gw(e){if(e)return e.map(function(t){var r=t.name.replace(Os,""),n=(t.value||"").replace(Os,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Aa(n));break;case "$=":i=new RegExp(Aa(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Aa(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Aa(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 Uw(e){if(e)return e.map(function(t){return t=t.replace(Os,""),{value:t,regexp:new RegExp("(^|\\s)"+Aa(t)+"(\\s|$)")}})}function Ww(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=Yd(r)),{name:t.name,expressions:r,value:t.value}})}function Yd(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:Gw(n.attrs),classes:Uw(n.classNames),pseudos:Ww(n.pseudos)}),n=n.rule;return r})}function Hi(e){var t=Wd.parse(e);return t=t.selectors?t.selectors:[t],Yd(t)}function Kd(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Xd(e,i);!o&&n&&e.parent;)e=e.parent,o=Xd(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&&Kd(e.parent,t,r-1,i.combinator===" ");}return o}function Ln(e,t,r){return Kd(e,t,t.length-1,r)}function Xw(e,t){for(;e;){if(Ps(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 Jt=Xw;function Vi(){}function Ms(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Yw(){var e=[],t=0,r=0,n=Vi,a=false,i,o=function(A){i=A,setTimeout(function(){i!=null&&bn("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(A){e[b]=A,r-=1,!r&&n!==Vi&&(a=true,n(e));}}function u(b){return n=Vi,s(b),e}function c(){for(var b=e.length;t<b;t++){var A=e[t];try{A.call(null,l(t),u);}catch(R){u(R);}}}var m={defer:function(A){if(fe(A)==="object"&&A.then&&A.catch){var R=A;A=function(q,$){R.then(q).catch($);};}if(Ms(A),i===void 0){if(a)throw new Error("Queue already completed");return e.push(A),++r,c(),m}},then:function(A){if(Ms(A),n!==Vi)throw new Error("queue `then` already set");return i||(n=A,r||(a=true,n(e))),m},catch:function(A){if(Ms(A),s!==o)throw new Error("queue `catch` already set");return i?(A(i),i=null):s=A,m},abort:u};return m}var Er=Yw,Pn,On,Ns=d.crypto||d.msCrypto;if(!On&&Ns&&Ns.getRandomValues){var Jd=new Uint8Array(16);On=function(){return Ns.getRandomValues(Jd),Jd};}if(!On){var Zd=new Array(16);On=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Zd[t]=r>>>((t&3)<<3)&255;return Zd};}for(var Qd=typeof d.Buffer=="function"?d.Buffer:Array,qs=[],ef={},Mn=0;Mn<256;Mn++)qs[Mn]=(Mn+256).toString(16).substr(1),ef[qs[Mn]]=Mn;function Kw(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++]=ef[i]);});a<16;)t[n+a++]=0;return t}function Bs(e,t){var r=t||0,n=qs;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 rn=On(),Jw=[rn[0]|1,rn[1],rn[2],rn[3],rn[4],rn[5]],tf=(rn[6]<<8|rn[7])&16383,Hs=0,Vs=0;function rf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:tf,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Vs+1,l=o-Hs+(s-Vs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Hs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Hs=o,Vs=s,tf=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||Jw,b=0;b<6;b++)a[n+b]=m[b];return t||Bs(a)}function wn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Qd(16):null,e=null),e=e||{};var a=e.random||(e.rng||On)();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||Bs(a)}Pn=wn,Pn.v1=rf,Pn.v4=wn,Pn.parse=Kw,Pn.unparse=Bs,Pn.BufferClass=Qd,p._uuid=rf();var Zw=wn,Qw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function ex(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:nf()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function tx(e){var t;try{t=JSON.parse(e);}catch{return}if(rx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=fe(t.error)==="object"?nx(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function rx(e){return e!==null&&fe(e)==="object"&&typeof e.channelId=="string"&&e.source===nf()}function nx(e){var t=e.message||"Unknown error occurred",r=Qw.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
372
|
-
`+e.stack.replace(e.message,"")),new n(t)}function nf(){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 $s(e){of(e),nt(d.parent===e,"Source of the response must be the parent window.");}function af(e){of(e),nt(e.parent===d,"Respondable target must be a frame in the current window");}function of(e){nt(d!==e,"Messages can not be sent to the same window.");}var _a={};function ax(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;nt(!Object.prototype.hasOwnProperty.call(_a,e),"A replyHandler already exists for this message channel."),_a[e]={replyHandler:t,sendToParent:r};}function ix(e){return Object.prototype.hasOwnProperty.call(_a,e)?_a[e]:void 0}function ox(e){delete _a[e];}var $i=[];function js(){var e="".concat(wn(),":").concat(wn());return $i.includes(e)?js():($i.push(e),e)}function sx(e){return $i.includes(e)?false:($i.push(e),true)}function zs(e,t,r,n){if(r?$s(e):af(e),t.message instanceof Error&&!r)return p.log(t.message),false;var a=ex(Fe({messageId:js()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&ax(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 lx(e,t,r){if(!e.parent!==d)return p.log(t);try{zs(e,{topic:null,channelId:r,message:t,messageId:js(),keepalive:!0},!0);}catch(n){return p.log(n)}}function sf(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};zs(e,s,r,o);}}function ux(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function cx(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=tx(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!ux(r)||!sx(l))return;if(s instanceof Error&&a.parent!==d)return p.log(s),!1;try{if(i.topic){var u=sf(a,o);$s(a),t(i,u);}else dx(a,i);}catch(c){lx(a,c,o);}}catch(c){return p.log(c),false}}function dx(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=ix(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?$s(e):af(e);var l=sf(e,r,s);!a&&r&&ox(r);try{o(n,a,l);}catch(u){p.log(u),l(u,a);}}}var fx={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){cx(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:zs(t,r,false,n)}};function lf(e){e.updateMessenger(fx);}var ji,uf,zi={};function br(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(wn(),":").concat(wn()),keepalive:n};return uf(e,i,a)}function px(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(zi,r)?zi[r]:void 0;if(i)try{i(n,a,t);}catch(o){p.log(o),t(o,a);}}br.updateMessenger=function(t){var r=t.open,n=t.post;nt(typeof r=="function","open callback must be a function"),nt(typeof n=="function","post callback must be a function"),ji&&ji();var a=r(px);a?(nt(typeof a=="function","open callback must return a cleanup function"),ji=a):ji=null,uf=n;},br.subscribe=function(t,r){nt(typeof r=="function","Subscriber callback must be a function"),nt(!Object.prototype.hasOwnProperty.call(zi,t),"Topic ".concat(t," is already registered to.")),zi[t]=r;},br.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},lf(br);function cf(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){bn("Frame does not have a content window",e),r(null);return}if(s===0){df(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(ff("No response from frame",e)):r(null);},0);},s);br(o,"axe.ping",null,void 0,function(){clearTimeout(l),df(e,t,r,n);});}function df(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(ff("Axe in frame timed out",e));},o);br(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function ff(e,t){var r;return p._tree&&(r=Rs(t)),new Error(e+": "+(r||t))}var Ea=null,Ca={update:function(t){nt(fe(t)==="object","serializer must be an object"),Ea=t;},toSpec:function(t){return Ca.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var n;return t instanceof sr?(r&&(t=mx(t,r)),typeof((n=Ea)===null||n===void 0?void 0:n.toSpec)=="function"?Ea.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Ea)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Ea.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Fe({},r,{nodes:Ca.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=ee(r,y);a.node=Ca.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=ee(l,_);return c.relatedNodes=u.map(Ca.dqElmToSpec),c});}return a})}},lr=Ca;function mx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new sr(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 hx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Gi=hx;function gx(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 Sa=gx;function vx(e,t,r){e.forEach(function(n){n.node=lr.mergeSpecs(n.node,r);var a=Gi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function bx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=pf(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(ke(t)));return}}e.push.apply(e,ke(t));}function yx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function wx(e,t){var r=[];return e.forEach(function(n){var a=yx(n);if(!(!a||!a.length)){var i=xx(n);a.forEach(function(o){o.nodes&&i&&vx(o.nodes,t,i);var s=Sa(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&bx(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 pf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function pf(){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=wx;function xx(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function mf(e,t,r,n,a,i){t=Fe({},t,{elementRef:false});var o=Er(),s=e.frames;s.forEach(function(l){var u=l.node,c=ee(l,I);o.defer(function(m,b){var A={options:t,command:r,parameter:n,context:c};function R(N){return m(N?{results:N,frameElement:u}:null)}cf(u,A,R,b);});}),o.then(function(l){a(Ui(l,t));}).catch(i);}function Vr(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 hf(){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]=hf(e[s],a[s]);}}),e}var Gs=hf;function Dx(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 Us=Dx,Ax=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function _x(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Ax.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Wi=_x,Ws={};fr(Ws,{createGrid:function(){return Fa},findElmsInContext:function(){return gf},findNearbyElms:function(){return to},findUp:function(){return qn},findUpVirtual:function(){return Nn},focusDisabled:function(){return nl},getComposedParent:function(){return It},getElementByReference:function(){return il},getElementCoordinates:function(){return Ks},getElementStack:function(){return Jf},getModalDialog:function(){return Uf},getNodeGrid:function(){return eo},getOverflowHiddenAncestors:function(){return Ta},getRootNode:function(){return Nt},getScrollOffset:function(){return Ff},getTabbableElements:function(){return Zf},getTargetRects:function(){return no},getTargetSize:function(){return Qf},getTextElementStack:function(){return Al},getViewportSize:function(){return Xi},getVisibleChildTextRects:function(){return Dl},hasContent:function(){return co},hasContentVirtual:function(){return Ba},hasLangText:function(){return El},idrefs:function(){return Cr},insertedIntoFocusOrder:function(){return $p},isCurrentPageLink:function(){return al},isFixedPosition:function(){return Yi},isFocusable:function(){return Et},isHTML5:function(){return Gp},isHiddenForEveryone:function(){return nn},isHiddenWithCSS:function(){return JA},isInTabOrder:function(){return ur},isInTextBlock:function(){return Cl},isInert:function(){return ro},isModalOpen:function(){return Ha},isMultiline:function(){return Wp},isNativelyFocusable:function(){return ll},isNode:function(){return s_},isOffscreen:function(){return Ki},isOpaque:function(){return v_},isSkipLink:function(){return Tl},isVisible:function(){return A_},isVisibleOnScreen:function(){return Zt},isVisibleToScreenReaders:function(){return bt},isVisualContent:function(){return _l},reduceToElementsBelowFloating:function(){return Xp},shadowElementsFromPoint:function(){return C_},urlPropsFromAttribute:function(){return I_},visuallyContains:function(){return Yp},visuallyOverlaps:function(){return Rl},visuallySort:function(){return ol}});function Ex(e){var t=e.getRootNode&&e.getRootNode()||g;return t===e&&(t=g),t}var ka=Ex,Nt=ka;function Cx(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=xt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Nt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var gf=Cx;function Sx(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&&!Rn(r,t)&&r!==g.documentElement);return !r||!Rn(r,t)?null:r}var Nn=Sx;function kx(e,t){return Nn(Ye(e),t)}var qn=kx;function Xs(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 vf=mt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(vf(t.parent))}),Ta=vf,Tx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Rx=/(\w+)\((\d+)/;function bf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function yf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function xf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Df(e){return e.attr("aria-hidden")==="true"}function Af(e){return e.getComputedStylePropertyValue("opacity")==="0"}function _f(e){var t=zr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Ef(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=Ta(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!Fx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Xs(i,s)})}function Cf(e){var t=e.getComputedStylePropertyValue("clip").match(Tx),r=e.getComputedStylePropertyValue("clip-path").match(Rx);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 Ys(e,t){var r=Jt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=ka(e.actualNode);if(!a||a.nodeType!==9)return true;var i=tr(p._tree,'img[usemap="#'.concat(xt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Sf(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 Fx(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 Ix=[yf,wf,xf,Sf];function nn(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=rt(e).vNode,r?kf(e,a):Tf(e,a)}var kf=mt(function(t,r){return bf(t)?true:t.actualNode?!!(Ix.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Tf=mt(function(t,r){return kf(t,r)?true:t.parent?Tf(t.parent,true):false});function Rf(e){if(e.assignedSlot)return Rf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var It=Rf;function Lx(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 Ff=Lx;function Px(e){var t=Ff(g),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 Ks=Px;function Ox(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 Xi=Ox;function Yi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=rt(e),a=n.vNode;return a?r?If(a):Lf(a):false}var If=mt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Lf=mt(function(t){return If(t)?true:t.parent?Lf(t.parent):false});function Mx(e,t){for(e=It(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=It(e);}return true}function Nx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=rt(e),a=n.domNode;if(a){var i=g.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(g.body||i).getPropertyValue("direction"),l=Yi(a),u=l?a.getBoundingClientRect():Ks(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Mx(a,u.bottom)||o.position==="absolute"))return true;var c=Xi(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 Ki=Nx,qx=[Af,_f,Ef,Cf,Ki];function Zt(e){return e=rt(e).vNode,Js(e)}var Js=mt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Ys(t,Js):nn(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&qx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?Js(t.parent,true):true});function Zs(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 Ji(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 Pf={};fr(Pf,{getBoundingRect:function(){return Zs},getIntersectionRect:function(){return Zi},getOffset:function(){return Mf},getRectCenter:function(){return Ra},hasVisualOverlap:function(){return Qs},isPointInRect:function(){return Ji},rectHasMinimumSize:function(){return $r},rectsOverlap:function(){return Xs},splitRects:function(){return el}});function Zi(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 Ra(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 Of=.05;function $r(e,t){var r=t.width,n=t.height;return r+Of>=e&&n+Of>=e}function Mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=no(e),a=no(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Ra(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Ji(s,c))return 0;var m=Bx(s,c),b=Nf(s,m);i=Math.min(i,b);}}catch($){l.e($);}finally{l.f();}var A=Qf(t);if($r(r*2,A))return i;var R=a.reduce(Zs),N=Ra(R),q=Nf(s,N)-r;return Math.max(0,Math.min(i,q))},1/0)}function Bx(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 Nf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Qs(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:ol(e,t)>0}function el(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(Hx(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 Hx(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(Qi(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),Qi(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),Qi(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),Qi(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if($x(e,t))return [];l.push(e);}return l.map(Vx)}var Qi=function(t,r,n){return t>r&&t<n};function Vx(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function $x(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var qf=0,jx=.1,Bf=.2,Hf=.3,tl=0;function Fa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ue.get("gridCreated")&&!r)return We.gridSize;if(Ue.set("gridCreated",true),!r){var n=Ye(g.documentElement);if(n||(n=new Fl(g.documentElement)),tl=0,n._stackingOrder=[jf(qf,tl++,null)],t??(t=new rl),zf(t,n),zr(n.actualNode)){var a=new rl(n);n._subGrid=a;}}for(var i=g.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ye(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ye(o.assignedSlot):o.parentElement?r=Ye(o.parentElement):o.parentNode&&Ye(o.parentNode)&&(r=Ye(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=zx(s,r,tl++);var l=Wx(s,r),u=l?l._subGrid:t;if(zr(s.actualNode)){var c=new rl(s);s._subGrid=c;}var m=s.boundingClientRect;m.width!==0&&m.height!==0&&Zt(o)&&zf(u,s),Wi(o)&&Fa(o.shadowRoot,u,s),o=i.nextNode();}return We.gridSize}function Vf(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 A=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(A)||n!=="auto"&&$f(t))}function $f(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function zx(e,t,r){var n=t._stackingOrder.slice();if(Vf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [qf,Bf,Hf].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=Gx(e,t);return i!==null&&n.push(jf(i,r,e)),n}function jf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Gx(e,t){var r=Ux(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Hf:e.getComputedStylePropertyValue("float")!=="none"?Bf:Vf(e,t)?jx:null:parseInt(r)}function Ux(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!$f(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Wx(e,t){for(var r=null,n=[e];t;){if(zr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ye(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function zf(e,t){var r=Ta(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Zi(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 rl=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return zt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/We.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;nt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);nt(Ji({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=Zs(this.boundaries,r)),this.boundaries=r,Gf(this.cells,s,l,function(u,c){Gf(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 Gf(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 eo(e){Fa();var t=rt(e),r=t.vNode;return r._grid}function to(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=eo(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=Yi(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===Yi(m)&&s.push(m);}}catch(b){u.e(b);}finally{u.f();}}),s}var Xx=mt(function(){var t;if(!p._tree)return null;var r=Fr(p._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=g.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Zt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=g.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=Yx(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=g.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Uf=Xx;function Yx(e){Fa();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=Zi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function ro(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Wf(e,n):Xf(e,n)}var Wf=mt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Uf();if(n&&!Vr(n,t))return true}return false}),Xf=mt(function(t,r){return Wf(t,r)?true:t.parent?Xf(t.parent,true):false}),Kx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Jx(e){return Kx.includes(e)}function Zx(e){var t=rt(e),r=t.vNode;if(Jx(r.props.nodeName)&&r.hasAttr("disabled")||ro(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?nn(r):false}var nl=Zx,Qx=/^\/\#/,eD=/^#[!/]/;function al(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Qx.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(eD.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 tD(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!al(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=g.getElementById(r);return n||(n=g.getElementsByName(r),n.length?n[0]:null)}var il=tD;function ol(e,t){Fa();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(q){return q.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(q){return q.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,A=m&u||m&c,R=Yf(e),N=Yf(t);return R===N||A?b:N-R}function Yf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Kf(e)?1:0}function Kf(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=Kf(e.parent);return e._isFloated=r,r}function sl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Ra(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=sl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(ol).map(function(u){return u.actualNode}).concat(g.documentElement).filter(function(u,c,m){return m.indexOf(u)===c})),s}function rD(e){var t=eo(e);if(!t)return [];var r=Ye(e).boundingClientRect;return sl(t,r)}var Jf=rD;function nD(e){var t=tr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Rr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Zf=nD;function aD(e){var t=rt(e),r=t.vNode;if(!r||nl(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 !tr(r,"summary").length}return false}var ll=aD;function Et(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1||nl(r))return false;if(ll(r))return true;var n=Rr(r.attr("tabindex"));return n!==null}function ur(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Rr(r.attr("tabindex"));return n<=-1?false:Et(r)}var no=mt(iD);function iD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=to(e).filter(function(i){return Qs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!oD(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 el(r,a)}function oD(e,t){return Vr(e,t)&&!ur(t)}var Qf=mt(sD);function sD(e,t){var r=no(e);return lD(r,t)}function lD(e,t){return e.reduce(function(r,n){var a=$r(t,r),i=$r(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 Ia={};fr(Ia,{accessibleText:function(){return xn},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return An},formControlValue:function(){return Rp},formControlValueMethods:function(){return gl},hasUnicode:function(){return yl},isHumanInterpretable:function(){return xl},isIconLigature:function(){return wl},isValidAutocomplete:function(){return Np},label:function(){return qA},labelText:function(){return vl},labelVirtual:function(){return lo},nativeElementType:function(){return HA},nativeTextAlternative:function(){return Ip},nativeTextMethods:function(){return Fp},removeUnicode:function(){return qa},sanitize:function(){return Ve},subtreeText:function(){return sn},titleText:function(){return io},unsupported:function(){return wp},visible:function(){return qp},visibleTextNodes:function(){return VA},visibleVirtual:function(){return kr}});function uD(e,t){e=e.actualNode||e;try{var r=Nt(e),n=[],a=e.getAttribute(t);if(a){a=Vt(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 Cr=uD;function cD(e,t){var r=Ye(e);return Lt(r,t)}var xn=cD;function dD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Cr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=xn(o,Fe({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var La=dD;function Pa(e){var t=rt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var fD={"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}},ep=fD,pD={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"]}},tp=pD,mD={"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"]}},hD=mD,gD={"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}},vD=gD,bD={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"]}},yD=bD,wD={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]},xD=wD,rp={ariaAttrs:ep,ariaRoles:Fe({},tp,hD,vD),htmlElms:yD,cssColors:xD},Bn=Fe({},rp);function DD(e){Object.keys(Bn).forEach(function(t){e[t]&&(Bn[t]=Gs(Bn[t],e[t]));});}function AD(){Object.keys(Bn).forEach(function(e){Bn[e]=rp[e];});}var at=Bn;function _D(e){var t=at.ariaRoles[e];return t?!!t.unsupported:false}var ul=_D;function ED(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=at.ariaRoles[e],o=ul(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Oa=ED;function CD(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 Ft?e:Ye(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Vt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Oa(l,{allowAbstract:n})});return s||null}var Qe=CD;function SD(e){return Object.keys(at.htmlElms).filter(function(t){var r=at.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 cl=SD;function kD(){return Ue.get("globalAriaAttrs",function(){return Object.keys(at.ariaAttrs).filter(function(e){return at.ariaAttrs[e].global})})}var an=kD;function TD(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 jr=mt(TD);function RD(e,t){var r,n;for(t||(t=jr(qn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var ao=mt(RD);function dl(e){var t=rt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Qe(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=jr(qn(n,"table")),s=ao(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 FD(e){return ["col","auto"].indexOf(dl(e))!==-1}var Hn=FD;function ID(e){return ["row","auto"].includes(dl(e))}var Vn=ID;function LD(e){return e?e.replace(/\r\n/g,`
|
|
373
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ve=LD,np=function(){return Ue.get("sectioningContentSelector",function(){return cl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},ap=function(){return Ue.get("sectioningContentPlusMainSelector",function(){return np()+" , main:not([role]), [role=main]"})};function fl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ve(La(e))||Ve(Pa(e))||n&&e?.props.nodeType===1&&Ve(e.attr("title")))}var PD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Jt(t.parent,np())&&!fl(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=Jt(t,ap());return r?null:"contentinfo"},form:function(t){return fl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Jt(t,ap());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=an().find(function(a){return t.hasAttr(a)});return r&&!n&&!Et(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Cr(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 fl(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=Jt(t,"table"),n=Qe(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Hn(t))return "columnheader";if(Vn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},pl=PD;function OD(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 Dn=OD;function MD(e,t){return Dn(!!Lt(e),t)}var ip=MD;function ND(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 Dn(e(n),t[n])})}var ml=ND;function qD(e,t){return e=rt(e).vNode,ml(function(r){return e.attr(r)},t)}var op=qD;function sp(e,t){return !!t(e)}function BD(e,t){return Dn(Qe(e),t)}var lp=BD;function HD(e,t){return Dn(Sr(e),t)}var up=HD;function VD(e,t){return e=rt(e).vNode,Dn(e.props.nodeName,t)}var cp=VD;function $D(e,t){return e=rt(e).vNode,ml(function(r){return e.props[r]},t)}var dp=$D;function jD(e,t){return Dn(Xe(e),t)}var fp=jD,pp={hasAccessibleName:ip,attributes:op,condition:sp,explicitRole:lp,implicitRole:up,nodeName:cp,properties:dp,semanticRole:fp};function mp(e,t){return e=rt(e).vNode,Array.isArray(t)?t.some(function(r){return mp(e,r)}):typeof t=="string"?Ps(e,t):Object.keys(t).every(function(r){if(!pp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=pp[r],a=t[r];return n(e,a)})}var hp=mp;function zD(e,t){return hp(e,t)}var Qt=zD;Qt.hasAccessibleName=ip,Qt.attributes=op,Qt.condition=sp,Qt.explicitRole=lp,Qt.fromDefinition=hp,Qt.fromFunction=ml,Qt.fromPrimative=Dn,Qt.implicitRole=up,Qt.nodeName=cp,Qt.properties=dp,Qt.semanticRole=fp;var Ma=Qt;function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=at.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=ee(a,C);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=ee(l,F),m=Array.isArray(u)?u:[u],b=0;b<m.length&&n;b++)if(m[b].hasOwnProperty("hasAccessibleName"))return a;if(Ma(e,u))for(var A in c)c.hasOwnProperty(A)&&(o[A]=c[A]);}for(var R in i.default)i.default.hasOwnProperty(R)&&typeof o[R]>"u"&&(o[R]=i.default[R]);return o}var on=GD;function UD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Ft?e:Ye(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=pl[a];if(!i&&r){var o=on(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Sr=UD,WD={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 gp(e,t){var r=WD[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=Qe(e.parent,t);return ["none","presentation"].includes(n)&&!bp(e.parent)?n:n?null:gp(e.parent,t)}function vp(e,t){var r=t.chromium,n=ee(t,O),a=Sr(e,{chromium:r});if(!a)return null;var i=gp(e,n);return i||a}function bp(e){var t=an().some(function(r){return e.hasAttr(r)});return t||Et(e)}function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=ee(t,M),a=rt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Qe(i,n);return o?["presentation","none"].includes(o)&&bp(i)?r?null:vp(i,n):o:r?null:vp(i,n)}function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=ee(t,B),a=XD(e,n);return r&&["presentation","none"].includes(a)?null:a}var Xe=YD,KD=["iframe"];function JD(e){var t=rt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Qt(r,KD)&&["none","presentation"].includes(Xe(r))?"":r.attr("title")}var io=JD;function ZD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ft?e:Ye(e),e.props.nodeType!==1)return false;var n=Xe(e),a=at.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var yp=ZD;function QD(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=Cr(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(ke(i),ke(a))}return ke(r)}var Na=QD,wp={accessibleNameFromFieldValue:["progressbar"]};function bt(e){return e=rt(e).vNode,hl(e)}var hl=mt(function(t,r){return Df(t)||ro(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Ys(t,hl):nn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?hl(t.parent,true):true});function xp(e,t,r){var n=rt(e),a=n.vNode,i=t?bt:Zt,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 xp(l,t)}).join("");return Ve(s)}var kr=xp,eA=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function tA(e){e=e instanceof Ft?e:Ye(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!eA.includes((e.attr("type")||"").toLowerCase())}var Dp=tA;function rA(e){e=e instanceof Ft?e:Ye(e);var t=e.props.nodeName;return t==="select"}var Ap=rA;function nA(e){var t=Qe(e);return t==="textbox"}var _p=nA;function aA(e){var t=Qe(e);return t==="listbox"}var Ep=aA;function iA(e){var t=Qe(e);return t==="combobox"}var Cp=iA,oA=["progressbar","scrollbar","slider","spinbutton"];function sA(e){var t=Qe(e);return oA.includes(t)}var Sp=sA,kp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],gl={nativeTextboxValue:uA,nativeSelectValue:cA,ariaTextboxValue:dA,ariaListboxValue:Tp,ariaComboboxValue:fA,ariaRangeValue:pA};function lA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=wp.accessibleNameFromFieldValue||[],a=Xe(e);if(t.startNode===e||!kp.includes(a)||n.includes(a))return "";var i=Object.keys(gl).map(function(s){return gl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&bn(o||"{empty-value}",r,t),o}function uA(e){var t=rt(e),r=t.vNode;return Dp(r)&&r.props.value||""}function cA(e){var t=rt(e),r=t.vNode;if(!Ap(r))return "";var n=tr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return kr(i)}).join(" ")||""}function dA(e){var t=rt(e),r=t.vNode,n=t.domNode;return _p(r)?!n||n&&!nn(n)?kr(r,true):n.textContent:""}function Tp(e,t){var r=rt(e),n=r.vNode;if(!Ep(n))return "";var a=Na(n).filter(function(i){return Xe(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Lt(a[0],t)}function fA(e,t){var r=rt(e),n=r.vNode;if(!Cp(n))return "";var a=Na(n).filter(function(i){return Xe(i)==="listbox"})[0];return a?Tp(a,t):""}function pA(e){var t=rt(e),r=t.vNode;if(!Sp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Rp=lA;function mA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Xe(e),l=on(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||kp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!yp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=Fe({subtreeDescendant:c},t);}return Na(e).reduce(function(m,b){return gA(m,b,t)},"")}var hA=cl("phrasing").concat(["#text"]);function gA(e,t,r){var n=t.props.nodeName,a=Lt(t,r);return a?(hA.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var sn=mA;function vA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Fe({inControlContext:true},t),a=bA(e),i=Jt(e,"label"),o;return i?(o=[].concat(ke(a),[i.actualNode]),o.sort(Gl)):o=a,o.map(function(s){return xn(s,n)}).filter(function(s){return s!==""}).join(" ")}function bA(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return gf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var vl=vA,yA={submit:"Submit",image:"Submit",reset:"Reset",button:""},wA={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return yA[t.props.type]||""},tableCaptionText:oo.bind(null,"caption"),figureText:oo.bind(null,"figcaption"),svgTitleText:oo.bind(null,"title"),fieldsetLegendText:oo.bind(null,"legend"),altText:bl.bind(null,"alt"),tableSummaryText:bl.bind(null,"summary"),titleText:io,subtreeText:sn,labelText:vl,singleSpace:function(){return " "},placeholderText:bl.bind(null,"placeholder")};function bl(e,t){return t.attr(e)||""}function oo(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?"":xn(i,r)}var Fp=wA;function Ip(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Xe(e)))return "";var n=xA(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(a||"{empty-value}",r,t),a}function xA(e){var t=on(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Fp[n]})}function Lp(){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 Pp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Op(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Mp(){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 DA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=os().test(e))),n&&(i||(i=Lp().test(e)||Op().test(e)||Mp().test(e))),a&&(i||(i=Pp().test(e))),i}var yl=DA;function wl(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(!Ve(n)||yl(n,{emoji:true,nonBmp:true}))return false;var a=Ue.get("canvasContext",function(){return g.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ue.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),A=a.measureText(b).width;if(A===0)return u.numLigatures++,true;if(A<30){var R=30/A;A*=R,c*=R,m="".concat(c,"px ").concat(l);}i.width=A,i.height=c,a.font=m,a.textAlign="left",a.textBaseline="top",a.fillText(b,0,0);var N=new Uint32Array(a.getImageData(0,0,A,c).data.buffer);if(!N.some(function(ne){return ne}))return u.numLigatures++,true;a.clearRect(0,0,A,c),a.fillText(n,0,0);var q=new Uint32Array(a.getImageData(0,0,A,c).data.buffer),$=N.reduce(function(ne,se,pe){return se===0&&q[pe]===0||se!==0&&q[pe]!==0?ne:++ne},0),z=n.split("").reduce(function(ne,se){return ne+a.measureText(se).width},0),W=a.measureText(n).width,X=$/N.length,K=1-W/z;return X>=t&&K>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=CA(e,t),_A(e,t)||EA(e,t))return "";var r=[La,Pa,Ip,Rp,sn,AA,io],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ve(a)),a!==""?a:i(e,t)},"");return t.debug&&p.log(n||"{empty-value}",e.actualNode,t),n}function AA(e){return e.props.nodeType!==3?"":e.props.nodeValue}function _A(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!bt(e)}function EA(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:wl(e,a,i)}function CA(e,t){return t.startNode||(t=Fe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Fe({includeHidden:!bt(e)},t)),t}Lt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function SA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(os(),"")),n&&(e=e.replace(Lp(),"").replace(Op(),"").replace(Mp(),"")),a&&(e=e.replace(Pp(),"")),e}var qa=SA;function kA(e){return TA(e)||RA(e)||FA(e)||IA(e)?0:1}function TA(e){return Ve(e).length===0}function RA(e){return e.length===1&&e.match(/\D/)}function FA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function IA(e){var t=qa(e,{emoji:true,nonBmp:true,punctuations:true});return !Ve(t)}var xl=kA,An={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 LA(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,A=b===void 0?[]:b,R=t.ignoredValues,N=R===void 0?[]:R;if(e=e.toLowerCase().trim(),i=i.concat(An.stateTerms),i.includes(e)||e==="")return true;u=u.concat(An.qualifiers),s=s.concat(An.locations),m=m.concat(An.standaloneTerms),A=A.concat(An.qualifiedTerms);var q=e.split(/\s+/g);if(q[q.length-1]==="webauthn"&&(q.pop(),q.length===0)||!n&&(q[0].length>8&&q[0].substr(0,8)==="section-"&&q.shift(),s.includes(q[0])&&q.shift(),u.includes(q[0])&&(q.shift(),m=[]),q.length!==1))return false;var $=q[q.length-1];if(!N.includes($))return m.includes($)||A.includes($)}var Np=LA;function PA(e){var t,r;return e.attr("aria-labelledby")&&(t=Cr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ye(n);return a?kr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ve(r),r))?r:null}var so=PA;function OA(e,t,r){return e=Ye(e),kr(e,t,r)}var qp=OA;function MA(e){var t,r,n;if(r=so(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=xt(e.attr("id"));if(n=Nt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&qp(t,true),r)return r}return t=Jt(e,"label"),r=t&&kr(t,true),r||null}var lo=MA;function NA(e){return e=Ye(e),lo(e)}var qA=NA,BA=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],HA=BA;function Bp(e){var t=Zt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Bp(n));}),r}var VA=Bp,$A=mt(function(t){var r=Ye(t),n=r.boundingClientRect,a=[],i=Ta(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ve(o.nodeValue)==="")){var s=jA(o);zA(s,n)||a.push.apply(a,ke(Hp(s,i)));}}),a.length?a:Hp([n],i)}),Dl=$A;function jA(e){var t=g.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function zA(e,t){return e.some(function(r){var n=Ra(r);return !Ji(n,t)})}function Hp(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&&Zi(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function GA(e){var t=eo(e);if(!t)return [];var r=Dl(e);return r.map(function(n){return sl(t,n)})}var Al=GA,UA=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function WA(e){var t=rt(e),r=t.vNode,n=p.commons.aria.getExplicitRole(r);if(n)return UA.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 _l=WA,XA=["head","title","template","script","style","iframe","object","video","audio","noscript"];function uo(e){return XA.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Vp(e,t,r){return uo(e)||_l(e.actualNode)||!r&&!!so(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Vp(n)})}var Ba=Vp;function YA(e,t,r){return e=Ye(e),Ba(e,t,r)}var co=YA;function El(e){return typeof e.children>"u"||uo(e)?true:e.props.nodeType===1&&_l(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&El(t)&&!nn(t)})}function KA(e){var t=Rr(e.getAttribute("tabindex"));return t>-1&&Et(e)&&!ll(e)}var $p=KA;function jp(e,t){var r=rt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=zp(a,t)),n._isHiddenWithCSS):zp(a,t)}function zp(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=It(e);return o&&!a.includes(i)?jp(o,i):false}var JA=jp;function ZA(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Gp=ZA;function QA(e){var t;(e instanceof Ft||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=p.commons.aria.getRole(e));var r=at.ariaRoles[e];return r?.type||null}var yr=QA,e_=["block","list-item","table","flex","grid"],t_=["inline-block","inline-flex","inline-grid"];function r_(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=rt(e),o=i.vNode,s=i.domNode;if(Sl(s)||!a&&n_(o))return false;var l=a_(s),u="",c="",m=0;return Up(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 A=(b.nodeName||"").toUpperCase();b===s&&(m=1);var R=Sl(b);if((R||["BR","HR"].includes(A))&&(m===0?(u="",c=""):m=2),R||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(yr(b)==="widget")return c+=b.textContent,false}}),u=Ve(u),r?u.length!==0:(c=Ve(c),u.length>c.length)}var Cl=r_;function Sl(e){var t=rt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return e_.includes(n)||n.substr(0,6)==="table-"}function n_(e){var t=e.getComputedStylePropertyValue("display");return t_.includes(t)}function Up(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Up(r,t)});}function a_(e){for(var t=It(e);t&&!Sl(t);)t=It(t);return Ye(t)}function i_(e){e=e||{};var t=e.modalPercent||.75;if(Ue.get("isModalOpen"))return Ue.get("isModalOpen");var r=Fr(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zt);if(r.length)return Ue.set("isModalOpen",true),true;for(var n=Xi(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(A){return Array.from(g.elementsFromPoint(A.x,A.y))}),c=function(){var R=u[b].find(function(N){var q=d.getComputedStyle(N);return parseInt(q.width,10)>=a&&parseInt(q.height,10)>=i&&q.getPropertyValue("pointer-events")!=="none"&&(q.position==="absolute"||q.position==="fixed")});if(R&&u.every(function(N){return N.includes(R)}))return Ue.set("isModalOpen",true),{v:true}},m,b=0;b<u.length;b++)if(m=c(),m)return m.v;Ue.set("isModalOpen",void 0);}var Ha=i_;function Wp(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 o_(e){return e instanceof d.Node}var s_=o_,kl="color.incompleteData",l_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ue.get(kl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ue.get(kl);return r?.[t]},clear:function(){Ue.set(kl,{});}},ht=l_;function u_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return ht.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);ht.set("bgColor",o?"bgGradient":"bgImage");}return i}var fo=u_,c_=/^#[0-9a-f]{3,8}$/i,d_=/hsl\(\s*([-\d.]+)(rad|turn)/,Va=(Ge=new WeakMap,tt=new WeakMap,ot=new WeakMap,pt=new WeakMap,Je=new WeakMap,qe=new WeakMap,Xt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),ni(this,Xt),Mt(this,Ge,void 0),Mt(this,tt,void 0),Mt(this,ot,void 0),Mt(this,pt,void 0),Mt(this,Je,void 0),Mt(this,qe,void 0),t instanceof Va){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 zt(e,[{key:"r",get:function(){return jt(Ge,this)},set:function(r){Rt(Ge,this,r),Rt(pt,this,Math.round($n(r,0,1)*255));}},{key:"g",get:function(){return jt(tt,this)},set:function(r){Rt(tt,this,r),Rt(Je,this,Math.round($n(r,0,1)*255));}},{key:"b",get:function(){return jt(ot,this)},set:function(r){Rt(ot,this,r),Rt(qe,this,Math.round($n(r,0,1)*255));}},{key:"red",get:function(){return jt(pt,this)},set:function(r){Rt(Ge,this,r/255),Rt(pt,this,$n(r,0,255));}},{key:"green",get:function(){return jt(Je,this)},set:function(r){Rt(tt,this,r/255),Rt(Je,this,$n(r,0,255));}},{key:"blue",get:function(){return jt(qe,this)},set:function(r){Rt(ot,this,r/255),Rt(qe,this,$n(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(d_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,p_(o));case "turn":return i.replace(l,m_(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=qd.default);var a=new dt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw ht.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(c_)||[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 Wr(Xt,this,f_).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 Va(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=De(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 Va(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 f_(e){var t=new Va(this);return t.r+=e,t.g+=e,t.b+=e,t}var yt=Va;function $n(e,t,r){return Math.min(Math.max(t,e),r)}function p_(e){return e*180/Math.PI}function m_(e){return e*360}function h_(e){var t=new yt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var _n=h_;function g_(e){var t=d.getComputedStyle(e);return fo(e,t)||_n(t).alpha===1}var v_=g_;function Tl(e){if(!e.href)return false;var t=Ue.get("firstPageLink",b_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function b_(){var e;return d.location.origin?e=tr(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !al(t.actualNode)}):e=tr(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var y_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,w_=/(\w+)\((\d+)/;function x_(e){var t=e.getPropertyValue("clip").match(y_),r=e.getPropertyValue("clip-path").match(w_);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 D_(e,t,r){var n=qn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Nt(e);if(!i||i.nodeType!==9)return false;var o=tr(p._tree,'img[usemap="#'.concat(xt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return po(l,t,r)})}function po(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Ft?e:Ye(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,A=true;return b&&(A=po(b,t,true)),a&&(a[i]=A),A}var R=d.getComputedStyle(e,null);if(R===null)return false;if(c==="area")return D_(e,t,r);if(R.getPropertyValue("display")==="none")return false;var N=parseInt(R.getPropertyValue("height")),q=parseInt(R.getPropertyValue("width")),$=zr(e),z=$&&N===0,W=$&&q===0,X=R.getPropertyValue("position")==="absolute"&&(N<2||q<2)&&R.getPropertyValue("overflow")==="hidden";if(!t&&(x_(R)||R.getPropertyValue("opacity")==="0"||z||W||X)||!r&&(R.getPropertyValue("visibility")==="hidden"||!t&&Ki(e)))return false;var K=e.assignedSlot?e.assignedSlot:e.parentNode,ne=false;return K&&(ne=po(K,t,true)),a&&(a[i]=ne),ne}var A_=po;function __(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 Xp=__;function Yp(e,t){var r=Kp(t);do{var n=Kp(e);if(n===r||n===t)return E_(e,t);e=n;}while(e);return false}function Kp(e){for(var t=Ye(e),r=t.parent;r;){if(zr(r.actualNode))return r.actualNode;r=r.parent;}}function E_(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 Jp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g,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 Nt(a)===r}).reduce(function(a,i){if(Wi(i)){var o=Jp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Yp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var C_=Jp;function S_(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=g.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=T_(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:k_(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:R_(n.search),hash:F_(n.hash),filename:l}}}function k_(e){var t=["443","80"];return t.includes(e)?"":e}function T_(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function R_(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=De(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function F_(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=De(r,1),a=n[0];return a==="#"?"":e}var I_=S_;function L_(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 Rl=L_,Zp=0,P_=(function(e){function t(r,n,a){var i;if(rr(this,t),i=Q(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Zp=0),i.nodeIndex=Zp++,i._isHidden=null,i._cache={},i._isXHTML=wa(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),_o().includes(o)||(o="text"),i._type=o;}return Ue.get("nodeMap")&&Ue.get("nodeMap").set(r,i),i}return Oe(t,e),zt(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=Et(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Zf(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}}])})(Ft),Fl=P_;function O_(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Vt=O_,En=" [idsMap]";function Qp(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 em(l)}))return;var o=new Set;t.forEach(function(l){var u,c=M_(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(m){c.isComplexSelector&&!Ln(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 M_(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(em(n))a=t["*"];else {if(n.id){var o;if(!t[En]||!Object.hasOwn(t[En],n.id)||!((o=t[En][n.id])!==null&&o!==void 0&&o.length))return;a=t[En][n.id].filter(function(N){return N.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?Il(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?Il(c,a):c;}if(n.attributes)for(var m=0;m<n.attributes.length;m++){var b,A=n.attributes[m];if(A.type==="attrValue"&&(i=true),!((b=t["[".concat(A.key,"]")])!==null&&b!==void 0&&b.length))return;var R=t["[".concat(A.key,"]")];a=a?Il(R,a):R;}}return {nodes:a,isComplexSelector:i}}function em(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Il(e,t){return e.filter(function(r){return t.includes(r)})}function mo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function tm(e,t){e.props.nodeType===1&&(mo(e.props.nodeName,e,t),mo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[En]=t[En]||{},Vt(e.attr(r)).forEach(function(n){mo(n,e,t[En]);})),mo("[".concat(r,"]"),e,t);}));}var Ll;function Pl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.documentElement,t=arguments.length>1?arguments[1]:void 0;Ll=false;var r={};Ue.set("nodeMap",new WeakMap),Ue.set("selectorMap",r);var n=rm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Ll,n}function N_(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Ol(e,t,r){var n=new Fl(e,t,r);return tm(n,Ue.get("selectorMap")),n}function ho(e,t,r){var n=[];return e.forEach(function(a){var i=rm(a,r,t);i&&n.push.apply(n,ke(i));}),n}function rm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Wi(e))return Ll=true,n=Ol(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=ho(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),ho(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=N_(e));d.getComputedStyle(e);return ho(a,r,t)}if(e.nodeType===g.ELEMENT_NODE)return n=Ol(e,r,t),a=Array.from(e.childNodes),n.children=ho(a,n,t),[n];if(e.nodeType===g.TEXT_NODE)return [Ol(e,r)]}function q_(e){return e?e.trim().split("-")[0].toLowerCase():""}var Cn=q_;function B_(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(`
|
|
369
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),tb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=uc();function r(n,a,i,o,s,l){var u=n.length,c="";function m(z,X){var Y="";for(a++,c=n.charAt(a);a<u;){if(c===z)return a++,Y;if(c==="\\"){a++,c=n.charAt(a);var J=void 0;if(c===z)Y+=z;else if((J=X[c])!==void 0)Y+=J;else if(t.isHex(c)){var ne=c;for(a++,c=n.charAt(a);t.isHex(c);)ne+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),Y+=String.fromCharCode(parseInt(ne,16));continue}else Y+=c;}else Y+=c;a++,c=n.charAt(a);}return Y}function b(){var z="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))z+=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])z+=c;else if(t.isHex(c)){var X=c;for(a++,c=n.charAt(a);t.isHex(c);)X+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),z+=String.fromCharCode(parseInt(X,16));continue}else z+=c;}else return z;a++,c=n.charAt(a);}return z}function A(){c=n.charAt(a);for(var z=false;c===" "||c===" "||c===`
|
|
370
|
+
`||c==="\r"||c==="\f";)z=true,a++,c=n.charAt(a);return z}function R(){var z=O();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return z}function O(){var z=B();if(!z)return null;var X=z;for(c=n.charAt(a);c===",";){if(a++,A(),X.type!=="selectors"&&(X={type:"selectors",selectors:[z]}),z=B(),!z)throw Error('Rule expected after ",".');X.selectors.push(z);}return X}function B(){A();var z={type:"ruleSet"},X=V();if(!X)return null;for(var Y=z;X&&(X.type="rule",Y.rule=X,Y=X,A(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var J=c;if(a++,A(),X=V(),!X)throw Error('Rule expected after "'+J+'".');X.nestingOperator=J;}else X=V(),X&&(X.nestingOperator=null);return z}function V(){for(var z=null;a<u;)if(c=n.charAt(a),c==="*")a++,(z=z||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(z=z||{}).tagName=b();else if(c===".")a++,z=z||{},(z.classNames=z.classNames||[]).push(b());else if(c==="#")a++,(z=z||{}).id=b();else if(c==="["){a++,A();var X={name:b()};if(A(),c==="]")a++;else {var Y="";if(o[c]&&(Y=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');X.operator=Y+"=",a++,A();var J="";if(X.valueType="string",c==='"')J=m('"',t.doubleQuotesEscapeChars);else if(c==="'")J=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,J=b(),X.valueType="substitute";else {for(;a<u&&c!=="]";)J+=c,a++,c=n.charAt(a);J=J.trim();}if(A(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,X.value=J;}z=z||{},(z.attrs=z.attrs||[]).push(X);}else if(c===":"){a++;var ne=b(),se={name:ne};if(c==="("){a++;var fe="";if(A(),i[ne]==="selector")se.valueType="selector",fe=O();else {if(se.valueType=i[ne]||"string",c==='"')fe=m('"',t.doubleQuotesEscapeChars);else if(c==="'")fe=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,fe=b(),se.valueType="substitute";else {for(;a<u&&c!==")";)fe+=c,a++,c=n.charAt(a);fe=fe.trim();}A();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=fe;}z=z||{},(z.pseudos=z.pseudos||[]).push(se);}else break;return z}return R()}e.parseCssSelector=r;}),rb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=uc();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;}),nb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=tb(),r=rb(),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;}),ab=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":de(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 h<"u")return h;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},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,A){return m.indexOf("def.")===0&&(m=m.substring(4)),m in u||(b===":"?(s.defineParams&&A.replace(s.defineParams,function(R,O,B){u[m]={arg:O,text:B};}),m in u||(u[m]=A)):new Function("def","def['"+m+"']="+A)(u)),""}).replace(s.use||a,function(c,m){s.useParams&&(m=m.replace(s.useParams,function(A,R,O,B){if(u[O]&&u[O].arg&&B){var V=(O+":"+B).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[V]=u[O].text.replace(new RegExp("(^|[^\\w$])"+u[O].arg+"([^\\w$])","g"),"$1"+B+"$2"),R+"def.__exp['"+V+"']"}}));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,A,R=l.use||l.define?i(l,s,u||{}):s;R=("var out='"+(l.strip?R.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):R).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(O,B){return c.start+o(B)+c.end}).replace(l.encode||a,function(O,B){return m=true,c.startencode+o(B)+c.end}).replace(l.conditional||a,function(O,B,V){return B?V?"';}else if("+o(V)+"){out+='":"';}else{out+='":V?"';if("+o(V)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(O,B,V,z){return B?(b+=1,A=z||"i"+b,B=o(B),"';var arr"+b+"="+B+";if(arr"+b+"){var "+V+","+A+"=-1,l"+b+"=arr"+b+".length-1;while("+A+"<l"+b+"){"+V+"=arr"+b+"["+A+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(O,B){return "';"+o(B)+"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)),R="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+R);try{return new Function(l.varname,R)}catch(O){throw typeof console<"u"&&console.log("Could not create a template function: "+R),O}},r.compile=function(s,l){return r.template(s,null,l)};})();}),ib=W(function(e,t){t.exports=function(){};}),mn=W(function(e,t){var r=ib()();t.exports=function(n){return n!==r&&n!==null};}),cc=W(function(e,t){var r=mn(),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};}),ob=W(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),sb=W(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),lb=W(function(e,t){t.exports=ob()()?Math.sign:sb();}),ub=W(function(e,t){var r=lb(),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)))};}),hn=W(function(e,t){var r=ub(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),dc=W(function(e,t){var r=hn();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)};}),Yr=W(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Tn=W(function(e,t){var r=mn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),cb=W(function(e,t){var r=Yr(),n=Tn(),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,A=arguments[2],R=arguments[3];return c=Object(n(c)),r(m),b=o(c),R&&b.sort(typeof R=="function"?a.call(R,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(O,B){return s.call(c,O)?i.call(m,A,c[O],O,c,B):u})}};}),gi=W(function(e,t){t.exports=cb()("forEach");}),gn=W(function(){}),db=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")};}),fb=W(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),pb=W(function(e,t){var r=mn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),mb=W(function(e,t){t.exports=fb()()?Object.keys:pb();}),hb=W(function(e,t){var r=mb(),n=Tn(),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(A){s||(s=A);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),fc=W(function(e,t){t.exports=db()()?Object.assign:hb();}),gb=W(function(e,t){var r=mn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[de(a)]||false};}),vb=W(function(e,t){var r=fc(),n=gb(),a=mn(),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};}),pc=W(function(e,t){var r=Tn(),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};}),mc=W(function(e,t){var r=hn(),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=pc(),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});}),hc=W(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),bb=W(function(e,t){var r=hc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,de(a)):false};}),yb=W(function(e,t){var r=bb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),wb=W(function(e,t){var r=yb();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)};}),xb=W(function(e,t){var r=wb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Db=W(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),_b=W(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),Ab=W(function(e,t){t.exports=Db()()?String.prototype.contains:_b();}),vn=W(function(e,t){var r=hc(),n=xb(),a=fc(),i=cc(),o=Ab(),s=t.exports=function(l,u){var c,m,b,A,R;return arguments.length<2||typeof l!="string"?(A=u,u=l,l=null):A=arguments[2],r(l)?(c=o.call(l,"c"),m=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,m=false),R={value:u,configurable:c,enumerable:m,writable:b},A?a(i(A),R):R};s.gs=function(l,u,c){var m,b,A,R;return typeof l!="string"?(A=c,c=u,u=l,l=null):A=arguments[3],r(u)?n(u)?r(c)?n(c)||(A=c,c=void 0):c=void 0:(A=u,u=c=void 0):u=void 0,r(l)?(m=o.call(l,"c"),b=o.call(l,"e")):(m=true,b=false),R={get:u,set:c,configurable:m,enumerable:b},A?a(i(A),R):R};}),Eb=W(function(e,t){var r=vn(),n=Yr(),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,A,R,O,B,V;m=function(X,Y){var J;return n(Y),u.call(this,"__ee__")?J=this.__ee__:(J=c.value=o(null),s(this,"__ee__",c),c.value=null),J[X]?de(J[X])==="object"?J[X].push(Y):J[X]=[J[X],Y]:J[X]=Y,this},b=function(X,Y){var J,ne;return n(Y),ne=this,m.call(this,X,J=function(){A.call(ne,X,J),a.call(Y,this,arguments);}),J.__eeOnceListener__=Y,this},A=function(X,Y){var J,ne,se,fe;if(n(Y),!u.call(this,"__ee__"))return this;if(J=this.__ee__,!J[X])return this;if(ne=J[X],de(ne)==="object")for(fe=0;se=ne[fe];++fe)(se===Y||se.__eeOnceListener__===Y)&&(ne.length===2?J[X]=ne[fe?0:1]:ne.splice(fe,1));else (ne===Y||ne.__eeOnceListener__===Y)&&delete J[X];return this},R=function(X){var Y,J,ne,se,fe;if(u.call(this,"__ee__")&&(se=this.__ee__[X],!!se))if(de(se)==="object"){for(J=arguments.length,fe=new Array(J-1),Y=1;Y<J;++Y)fe[Y-1]=arguments[Y];for(se=se.slice(),Y=0;ne=se[Y];++Y)a.call(ne,this,fe);}else switch(arguments.length){case 1:i.call(se,this);break;case 2:i.call(se,this,arguments[1]);break;case 3:i.call(se,this,arguments[1],arguments[2]);break;default:for(J=arguments.length,fe=new Array(J-1),Y=1;Y<J;++Y)fe[Y-1]=arguments[Y];a.call(se,this,fe);}},O={on:m,once:b,off:A,emit:R},B={on:r(m),once:r(b),off:r(A),emit:r(R)},V=l({},B),t.exports=e=function(X){return X==null?o(V):l(Object(X),B)},e.methods=O;}),Cb=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"))};}),Sb=W(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":de(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),kb=W(function(e,t){var r=function(){if((typeof self>"u"?"undefined":de(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":de(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__;}})();}),vi=W(function(e,t){t.exports=Sb()()?globalThis:kb();}),Tb=W(function(e,t){var r=vi(),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[de(a.iterator)]||!n[de(a.toPrimitive)]||!n[de(a.toStringTag)])};}),Rb=W(function(e,t){t.exports=function(r){return r?de(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),gc=W(function(e,t){var r=Rb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),Fb=W(function(e,t){var r=vn(),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};}),Ib=W(function(e,t){var r=vn(),n=vi().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"))})};}),Lb=W(function(e,t){var r=vn(),n=gc(),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})})};}),Pb=W(function(e,t){var r=vn(),n=gc(),a=vi().Symbol,i=Fb(),o=Ib(),s=Lb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,m,b,A;if(typeof a=="function")try{String(a()),A=!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 R(O){var B;if(this instanceof R)throw new TypeError("Symbol is not a constructor");return A?a(O):(B=l(b.prototype),O=O===void 0?"":String(O),u(B,{__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 R=n(this);return de(R)==="symbol"?R:R.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]));}),Mb=W(function(e,t){t.exports=Tb()()?vi().Symbol:Pb();}),Ob=W(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),Nb=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))};}),qb=W(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&de(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),Bb=W(function(e,t){var r=Mb().iterator,n=Ob(),a=Nb(),i=hn(),o=Yr(),s=Tn(),l=mn(),u=qb(),c=Array.isArray,m=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},A=Object.defineProperty;t.exports=function(R){var O=arguments[1],B=arguments[2],V,z,X,Y,J,ne,se,fe,Ae,le;if(R=Object(s(R)),l(O)&&o(O),!this||this===Array||!a(this)){if(!O){if(n(R))return J=R.length,J!==1?Array.apply(null,R):(Y=new Array(1),Y[0]=R[0],Y);if(c(R)){for(Y=new Array(J=R.length),z=0;z<J;++z)Y[z]=R[z];return Y}}Y=[];}else V=this;if(!c(R)){if((Ae=R[r])!==void 0){for(se=o(Ae).call(R),V&&(Y=new V),fe=se.next(),z=0;!fe.done;)le=O?m.call(O,B,fe.value,z):fe.value,V?(b.value=le,A(Y,z,b)):Y[z]=le,fe=se.next(),++z;J=z;}else if(u(R)){for(J=R.length,V&&(Y=new V),z=0,X=0;z<J;++z)le=R[z],z+1<J&&(ne=le.charCodeAt(0),ne>=55296&&ne<=56319&&(le+=R[++z])),le=O?m.call(O,B,le,X):le,V?(b.value=le,A(Y,X,b)):Y[X]=le,++X;J=X;}}if(J===void 0)for(J=i(R.length),V&&(Y=new V(J)),z=0;z<J;++z)le=O?m.call(O,B,R[z],z):R[z],V?(b.value=le,A(Y,z,b)):Y[z]=le;return V&&(b.value=null,Y.length=J),Y};}),ts=W(function(e,t){t.exports=Cb()()?Array.from:Bb();}),Hb=W(function(e,t){var r=ts(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),Vb=W(function(e,t){var r=Hb(),n=mn(),a=Yr(),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)};}),$b=W(function(e,t){var r=Yr();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))};}),jb=W(function(e,t){var r=vb(),n=mc(),a=vn(),i=Eb().methods,o=Vb(),s=$b(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,m=Object.defineProperties,b=i.on,A=i.emit;t.exports=function(R,O,B){var V=c(null),z,X,Y,J,ne,se,fe,Ae,le,ge,xe,Ee,Me,je,Fe;return O!==false?X=O:isNaN(R.length)?X=1:X=R.length,B.normalizer&&(ge=s(B.normalizer),Y=ge.get,J=ge.set,ne=ge.delete,se=ge.clear),B.resolvers!=null&&(Fe=o(B.resolvers)),Y?je=n(function(qe){var be,Pe,te=arguments;if(Fe&&(te=Fe(te)),be=Y(te),be!==null&&hasOwnProperty.call(V,be))return xe&&z.emit("get",be,te,this),V[be];if(te.length===1?Pe=u.call(R,this,te[0]):Pe=l.call(R,this,te),be===null){if(be=Y(te),be!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");be=J(te);}else if(hasOwnProperty.call(V,be))throw r("Circular invocation","CIRCULAR_INVOCATION");return V[be]=Pe,Ee&&z.emit("set",be,null,Pe),Pe},X):O===0?je=function(){var be;if(hasOwnProperty.call(V,"data"))return xe&&z.emit("get","data",arguments,this),V.data;if(arguments.length?be=l.call(R,this,arguments):be=u.call(R,this),hasOwnProperty.call(V,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return V.data=be,Ee&&z.emit("set","data",null,be),be}:je=function(be){var Pe,te=arguments,Ce;if(Fe&&(te=Fe(arguments)),Ce=String(te[0]),hasOwnProperty.call(V,Ce))return xe&&z.emit("get",Ce,te,this),V[Ce];if(te.length===1?Pe=u.call(R,this,te[0]):Pe=l.call(R,this,te),hasOwnProperty.call(V,Ce))throw r("Circular invocation","CIRCULAR_INVOCATION");return V[Ce]=Pe,Ee&&z.emit("set",Ce,null,Pe),Pe},z={original:R,memoized:je,profileName:B.profileName,get:function(be){return Fe&&(be=Fe(be)),Y?Y(be):String(be[0])},has:function(be){return hasOwnProperty.call(V,be)},delete:function(be){var Pe;hasOwnProperty.call(V,be)&&(ne&&ne(be),Pe=V[be],delete V[be],Me&&z.emit("delete",be,Pe));},clear:function(){var be=V;se&&se(),V=c(null),z.emit("clear",be);},on:function(be,Pe){return be==="get"?xe=true:be==="set"?Ee=true:be==="delete"&&(Me=true),b.call(this,be,Pe)},emit:A,updateEnv:function(){R=z.original;}},Y?fe=n(function(qe){var be,Pe=arguments;Fe&&(Pe=Fe(Pe)),be=Y(Pe),be!==null&&z.delete(be);},X):O===0?fe=function(){return z.delete("data")}:fe=function(be){return Fe&&(be=Fe(arguments)[0]),z.delete(be)},Ae=n(function(){var qe,be=arguments;return O===0?V.data:(Fe&&(be=Fe(be)),Y?qe=Y(be):qe=String(be[0]),V[qe])}),le=n(function(){var qe,be=arguments;return O===0?z.has("data"):(Fe&&(be=Fe(be)),Y?qe=Y(be):qe=String(be[0]),qe===null?false:z.has(qe))}),m(je,{__memoized__:a(true),delete:a(fe),clear:a(z.clear),_get:a(Ae),_has:a(le)}),z};}),zb=W(function(e,t){var r=Yr(),n=gi(),a=gn(),i=jb(),o=dc();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,A){u[A]&&b(u[A],m,u);}),s.__profiler__&&s.__profiler__(m),m.updateEnv(),m.memoized)};}),Gb=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};}),Ub=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 ""}};}),Wb=W(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Xb=W(function(e,t){t.exports=function(r){return r!==r};}),Yb=W(function(e,t){t.exports=Wb()()?Number.isNaN:Xb();}),rs=W(function(e,t){var r=Yb(),n=hn(),a=Tn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,m,b,A;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)&&(A=this[c],r(A)))return c;return -1};}),Kb=W(function(e,t){var r=rs(),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],A=b.length,R=[];if(A===0)delete c[A];else if(c=c[A]){for(;u<A-1;){if(m=r.call(c[0],b[u]),m===-1)return;R.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&&R.length;)m=R.pop(),c=R.pop(),c[0].splice(m,1),c[1].splice(m,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),Jb=W(function(e,t){var r=rs();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=[];}}};}),Zb=W(function(e,t){var r=rs(),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,A=[],R=s[u];c<a-1;){if(b=r.call(m[0],R[c]),b===-1)return;A.push(m,b),m=m[1][b],++c;}if(b=r.call(m[0],R[c]),b!==-1){for(u=m[1][b],m[0].splice(b,1),m[1].splice(b,1);!m[0].length&&A.length;)b=A.pop(),m=A.pop(),m[0].splice(b,1),m[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),vc=W(function(e,t){var r=Yr(),n=gi(),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};}),ns=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=g.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":de(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof g>"u"?"undefined":de(g))==="object"&&g){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":de(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),Qb=W(function(){var e=ts(),t=vc(),r=pc(),n=mc(),a=ns(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;gn().async=function(l,u){var c=s(null),m=s(null),b=u.memoized,A=u.original,R,O,B;u.memoized=n(function(V){var z=arguments,X=z[z.length-1];return typeof X=="function"&&(R=X,z=i.call(z,0,-1)),b.apply(O=this,B=z)},b);try{r(u.memoized,b);}catch{}u.on("get",function(V){var z,X,Y;if(R){if(c[V]){typeof c[V]=="function"?c[V]=[c[V],R]:c[V].push(R),R=null;return}z=R,X=O,Y=B,R=O=B=null,a(function(){var J;hasOwnProperty.call(m,V)?(J=m[V],u.emit("getasync",V,Y,X),o.call(z,J.context,J.args)):(R=z,O=X,B=Y,b.apply(X,Y));});}}),u.original=function(){var V,z,X,Y;return R?(V=e(arguments),z=function J(ne){var se,fe,Ae=J.id;if(Ae==null){a(o.bind(J,this,arguments));return}if(delete J.id,se=c[Ae],delete c[Ae],!!se)return fe=e(arguments),u.has(Ae)&&(ne?u.delete(Ae):(m[Ae]={context:this,args:fe},u.emit("setasync",Ae,typeof se=="function"?1:se.length))),typeof se=="function"?Y=o.call(se,this,fe):se.forEach(function(le){Y=o.call(le,this,fe);},this),Y},X=R,R=O=B=null,V.push(z),Y=o.call(A,this,V),z.cb=X,R=z,Y):o.call(A,this,arguments)},u.on("set",function(V){if(!R){u.delete(V);return}c[V]?typeof c[V]=="function"?c[V]=[c[V],R.cb]:c[V].push(R.cb):c[V]=R.cb,delete R.cb,R.id=V,R=null;}),u.on("delete",function(V){var z;hasOwnProperty.call(c,V)||m[V]&&(z=m[V],delete m[V],u.emit("deleteasync",V,i.call(z.args,1)));}),u.on("clear",function(){var V=m;m=s(null),u.emit("clearasync",t(V,function(z){return i.call(z.args,1)}));});};}),ey=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};}),bc=W(function(e,t){t.exports=function(r){return typeof r=="function"};}),ty=W(function(e,t){var r=bc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),ry=W(function(e,t){var r=Tn(),n=ty();t.exports=function(a){return n(r(a))};}),ny=W(function(e,t){var r=bc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),ay=W(function(e,t){var r=ny(),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};}),yc=W(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(de(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),iy=W(function(){var e=vc(),t=ey(),r=ry(),n=ay(),a=yc(),i=ns(),o=Object.create,s=t("then","then:finally","done","done:finally");gn().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(A,R,O){var B=false;if(!a(O)){m[A]=O,u.emit("setasync",A,1);return}c[A]=1,b[A]=O;var V=function(ne){var se=c[A];if(B)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.`);se&&(delete c[A],m[A]=ne,u.emit("setasync",A,se));},z=function(){B=true,c[A]&&(delete c[A],delete b[A],u.delete(A));},X=l;if(X||(X="then"),X==="then"){var Y=function(){i(z);};O=O.then(function(J){i(V.bind(this,J));},Y),typeof O.finally=="function"&&O.finally(Y);}else if(X==="done"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");O.done(V,z);}else if(X==="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(V),O.finally(z);}}),u.on("get",function(A,R,O){var B;if(c[A]){++c[A];return}B=b[A];var V=function(){u.emit("getasync",A,R,O);};a(B)?typeof B.done=="function"?B.done(V):B.then(function(){i(V);}):V();}),u.on("delete",function(A){if(delete b[A],c[A]){delete c[A];return}if(hasOwnProperty.call(m,A)){var R=m[A];delete m[A],u.emit("deleteasync",A,[R]);}}),u.on("clear",function(){var A=m;m=o(null),c=o(null),b=o(null),u.emit("clearasync",e(A,function(R){return [R]}));});};}),oy=W(function(){var e=Yr(),t=gi(),r=gn(),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);});});};}),sy=W(function(e,t){t.exports=2147483647;}),ly=W(function(e,t){var r=hn(),n=sy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),uy=W(function(){var e=ts(),t=gi(),r=ns(),n=yc(),a=ly(),i=gn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,m,b){var A,R,O,B;c=a(c),c&&(A=u(null),R=b.async&&i.async||b.promise&&i.promise?"async":"",m.on("set"+R,function(V){A[V]=setTimeout(function(){m.delete(V);},c),typeof A[V].unref=="function"&&A[V].unref(),B&&(B[V]&&B[V]!=="nextTick"&&clearTimeout(B[V]),B[V]=setTimeout(function(){delete B[V];},O),typeof B[V].unref=="function"&&B[V].unref());}),m.on("delete"+R,function(V){clearTimeout(A[V]),delete A[V],B&&(B[V]!=="nextTick"&&clearTimeout(B[V]),delete B[V]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?O=.333:O=s(l(Number(b.preFetch),1),0),O&&(B={},O=(1-O)*c,m.on("get"+R,function(V,z,X){B[V]||(B[V]="nextTick",r(function(){var Y;B[V]==="nextTick"&&(delete B[V],m.delete(V),b.async&&(z=e(z),z.push(o)),Y=m.memoized.apply(X,z),b.promise&&n(Y)&&(typeof Y.done=="function"?Y.done(o,o):Y.then(o,o)));}));}))),m.on("clear"+R,function(){t(A,function(V){clearTimeout(V);}),A={},B&&(t(B,function(V){V!=="nextTick"&&clearTimeout(V);}),B={});}));};}),cy=W(function(e,t){var r=hn(),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(A){var R=u[A],O=++c;if(l[O]=A,u[A]=O,!R)return ++o,o<=i?void 0:(A=l[s],m(A),A);if(delete l[R],s===R)for(;!a.call(l,++s););},delete:m=function(A){var R=u[A];if(R&&(delete l[R],delete u[A],--o,s===R)){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;}}};}),dy=W(function(){var e=hn(),t=cy(),r=gn();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));};}),fy=W(function(){var e=vn(),t=gn(),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]})});};}),py=W(function(e,t){var r=cc(),n=dc(),a=zb();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=Gb():s>1&&(o.normalizer=Ub()(s)):s===false?o.normalizer=Kb()():s===1?o.normalizer=Jb()():o.normalizer=Zb()(s))),o.async&&Qb(),o.promise&&iy(),o.dispose&&oy(),o.maxAge&&uy(),o.max&&dy(),o.refCounter&&fy(),a(i,o)};}),my=[{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"}],hr={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"])};my.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;hr[t]=r,hr[t+"_PRIO"]=n,hr[t+"_GROUP"]=a,hr.results[n]=r,hr.resultGroups[n]=a,hr.resultGroupMap[r]=a;}),Object.freeze(hr.results),Object.freeze(hr.resultGroups),Object.freeze(hr.resultGroupMap),Object.freeze(hr);var Xe=hr;function hy(){(typeof console>"u"?"undefined":de(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var bn=hy,gy=/[\t\r\n\f]/g,vy=(function(){function e(){rr(this,e),this.parent=void 0;}return zt(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(gy," ").indexOf(a)>=0}}])})(),Lt=vy,as={};fr(as,{DqElement:function(){return sr},RuleError:function(){return _o},aggregate:function(){return bi},aggregateChecks:function(){return Dc},aggregateNodeResults:function(){return _c},aggregateResult:function(){return Ac},areStylesSet:function(){return Ay},assert:function(){return nt},checkHelper:function(){return Is},clone:function(){return Hr},closest:function(){return Jt},collectResultsFromFrames:function(){return mf},contains:function(){return Vr},convertSelector:function(){return Hi},cssParser:function(){return Wd},deepMerge:function(){return Gs},escapeSelector:function(){return Dt},extendMetaData:function(){return Us},filterHtmlAttrs:function(){return Tm},finalizeRuleResult:function(){return la},findBy:function(){return Sa},getAllChecks:function(){return Gi},getAncestry:function(){return Bi},getBaseLang:function(){return Cn},getCheckMessage:function(){return jA},getCheckOption:function(){return vo},getElementSource:function(){return Gd},getEnvironmentData:function(){return ln},getFlattenedTree:function(){return Pl},getFrameContexts:function(){return o2},getFriendlyUriEnd:function(){return Sc},getNodeAttributes:function(){return da},getNodeFromTree:function(){return Ke},getPreloadConfig:function(){return Em},getRootNode:function(){return ka},getRule:function(){return um},getScroll:function(){return zr},getScrollState:function(){return u2},getSelector:function(){return Rs},getSelectorData:function(){return qi},getShadowSelector:function(){return Ss},getStandards:function(){return c2},getStyleSheetFactory:function(){return fm},getXpath:function(){return zd},injectStyle:function(){return p2},isArrayLike:function(){return Bl},isContextObject:function(){return Hl},isContextProp:function(){return yo},isContextSpec:function(){return pm},isHidden:function(){return m2},isHtmlElement:function(){return $l},isLabelledFramesSelector:function(){return Vl},isLabelledShadowDomSelector:function(){return wo},isNodeInContext:function(){return jl},isShadowRoot:function(){return Wi},isValidLang:function(){return Eo},isXHTML:function(){return wa},matchAncestry:function(){return zl},matches:function(){return Ps},matchesExpression:function(){return Ln},matchesSelector:function(){return Rn},memoize:function(){return ht},mergeResults:function(){return Ui},nodeLookup:function(){return rt},nodeSerializer:function(){return lr},nodeSorter:function(){return Gl},objectHasOwn:function(){return Tr},parseCrossOriginStylesheet:function(){return Wl},parseSameOriginStylesheet:function(){return gm},parseStylesheet:function(){return Ul},parseTabindex:function(){return Rr},performanceTimer:function(){return st},pollyfillElementsFromPoint:function(){return vm},preload:function(){return _m},preloadCssom:function(){return ym},preloadMedia:function(){return Dm},processMessage:function(){return ql},publishMetaData:function(){return xo},querySelectorAll:function(){return tr},querySelectorAllFilter:function(){return Fr},queue:function(){return Er},respondable:function(){return br},ruleShouldRun:function(){return km},select:function(){return Xl},sendCommandToFrame:function(){return cf},serializeError:function(){return Do},setScrollState:function(){return W2},shadowSelect:function(){return X2},shadowSelectAll:function(){return Yl},shouldPreload:function(){return Am},toArray:function(){return Cc},tokenList:function(){return $t},uniqueArray:function(){return ja},uuid:function(){return Zw},validInputTypes:function(){return Ao},validLangs:function(){return Pm}});function by(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 bi=by,yy=Xe.CANTTELL_PRIO,wy=Xe.FAIL_PRIO,yi=[];yi[Xe.PASS_PRIO]=true,yi[Xe.CANTTELL_PRIO]=null,yi[Xe.FAIL_PRIO]=false;var wc=["any","all","none"];function xc(e,t){return wc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function xy(e){var t=Object.assign({},e);xc(t,function(a,i){var o=typeof a.result>"u"?-1:yi.indexOf(a.result);a.priority=o!==-1?o:Xe.CANTTELL_PRIO,i==="none"&&(a.priority===Xe.PASS_PRIO?a.priority=Xe.FAIL_PRIO:a.priority===Xe.FAIL_PRIO&&(a.priority=Xe.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 wc.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)});}),[yy,wy].includes(t.priority)?t.impact=bi(Xe.impact,n):t.impact=null,xc(t,function(a){delete a.result,delete a.priority;}),t.result=Xe.results[t.priority],delete t.priority,t}var Dc=xy;function la(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,_c(e.nodes)),delete e.nodes,e}function Dy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Dc(i);if(Array.isArray(i.node))return la(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=bi(Xe.results,r,t.result);}else t.result="inapplicable";Xe.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Xe.resultGroupMap[i.result];t[o].push(i);});var n=Xe.FAIL_GROUP;if(t[n].length===0&&(n=Xe.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=bi(Xe.impact,a)||null;}else t.impact=null;return t}var _c=Dy;function is(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Xe.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function _y(e){var t={};return Xe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?is(t,r,Xe.CANTTELL_GROUP):r.result===Xe.NA?is(t,r,Xe.NA_GROUP):Xe.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&is(t,r,n);});}),t}var Ac=_y;function Ec(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:Ec(e.parentNode,t,r)}var Ay=Ec;function Ey(e,t){if(!e)throw new Error(t)}var nt=Ey;function Cy(e){return Array.prototype.slice.call(e)}var Cc=Cy;function Sy(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 Dt=Sy;function ky(){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 ua(e,t){return [e.substring(0,t),e.substring(t)]}function ca(e){return e.replace(/\s+$/,"")}function Ty(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ua(e,e.indexOf("#")),u=De(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ua(e,e.indexOf("?")),m=De(c,2);e=m[0],o=m[1];}if(e.includes("://")){var b=e.split("://"),A=De(b,2);r=A[0],e=A[1];var R=ua(e,e.indexOf("/")),O=De(R,2);n=O[0],e=O[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var B=ua(e,e.indexOf("/")),V=De(B,2);n=V[0],e=V[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var z=ua(n,n.indexOf(":")),X=De(z,2);n=X[0],a=X[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function Ry(){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=Ty(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?ca(u+l):u.length<2&&l.length>2&&l.length<=a?ca(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ca(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})?/)&&!ky(u))return ca(u)}}var Sc=Ry;function Fy(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var da=Fy,Iy=(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}})(),Rn=Iy,kc={};fr(kc,{ArrayFrom:function(){return qd.default},Colorjs:function(){return ft},CssSelectorParser:function(){return Tc.CssSelectorParser},doT:function(){return Kr.default},emojiRegexText:function(){return os},memoize:function(){return Rc.default}});var Ly=Dr(Zg()),Py=Dr(Qg());Dr(ev());var My=Dr(mv()),Oy=Dr(Ev()),Ny=Dr(lc());"hasOwn"in Object||(Object.hasOwn=My.default),"values"in Object||(Object.values=Oy.default),"Promise"in d||Ly.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=Py.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=Ny.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 Tc=Dr(nb()),Kr=Dr(ab()),os=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},Rc=Dr(py());function Et(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(A){u.e(A);}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 fa(e){return Jr(e)==="string"}function Jr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function wi(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 Fc(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 Ic(e){return e[e.length-1]}function xi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Lc(e,t,r){return (r-e)/(t-e)}function ss(e,t,r){return xi(t[0],t[1],Lc(e[0],e[1],r))}function Pc(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 qy=Object.freeze({__proto__:null,isString:fa,type:Jr,toPrecision:wi,parseFunction:Fc,last:Ic,interpolate:xi,interpolateInv:Lc,mapRange:ss,parseCoordGrammar:Pc,multiplyMatrices:Et}),By=(function(){function e(){rr(this,e);}return zt(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);});}}])})(),Zr=new By,Ar={gamut_mapping:"lch.c",precision:5,deltaE:"76"},gr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ls(e){return Array.isArray(e)?e:gr[e]}function Di(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ls(e),t=ls(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(Zr.run("chromatic-adaptation-start",a),a.M||(a.W1===gr.D65&&a.W2===gr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===gr.D50&&a.W2===gr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Zr.run("chromatic-adaptation-end",a),a.M)return Et(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Hy=75e-6,vr=(re=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;rr(this,e),ni(this,re),Nt(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?vr.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=ls(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,It(oe,this,Wr(re,this,Vy).call(this).reverse()),Zr.run("colorspace-init-end",this);}return zt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Hy: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=De(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(de(r)==="object")return r=Wr(re,this,Mc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=Wr(re,this,Mc).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=vr.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=jt(oe,this),o=jt(oe,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=vr.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 _e(new Set(Object.values(vr.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 vr)return r;var n=Jr(r);if(n==="string"){var a=vr.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 vr.get.apply(vr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Jr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=De(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=De(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=vr.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=Jr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return we({space:i,id:c[0],index:o},c[1])}i=vr.get(i);var m=o.toLowerCase(),b=0;for(var A in i.coords){var R,O=i.coords[A];if(A.toLowerCase()===m||((R=O.name)===null||R===void 0?void 0:R.toLowerCase())===m)return we({space:i,id:A,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 Mc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Pc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=De(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=ss(s,l,a)),a=wi(a,n),u&&(a+=u),a})};}return e}function Vy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Ne=vr;Bu(Ne,"registry",{}),Bu(Ne,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ar=new Ne({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"]}),Ut=(function(e){function t(r){var n,a;if(rr(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=ar),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=Et(r.toXYZ_M,s);return a.white!==a.base.white&&(l=Di(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Di(a.base.white,a.white,s),Et(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=ee(this,t,[r])}return Ge(t,e),zt(t)})(Ne);function Oc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Zr.run("parse-start",r),r.color)return r.color;if(r.parsed=Fc(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(Ne.all),s;try{var l=function(){var Ae=s.value,le=Ae.getFormat("color");if(le){var ge;if(a===le.id||(ge=le.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(Ae.coords).length,Ee=Array(xe).fill(0);return Ee.forEach(function(Me,je){return Ee[je]=r.parsed.args[je]||0}),{v:{spaceId:Ae.id,coords:Ee,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(fe){o.e(fe);}finally{o.f();}var c="";if(a in Ne.registry){var m,b=(m=Ne.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 A=it(Ne.all),R;try{var O=function(){var Ae=R.value,le=Ae.getFormat(n);if(le&&le.type==="function"){var ge=1;(le.lastAlpha||Ic(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return le.coordGrammar&&Object.entries(Ae.coords).forEach(function(Ee,Me){var je,Fe=De(Ee,2),qe=Fe[0],be=Fe[1],Pe=le.coordGrammar[Me],te=(je=xe[Me])===null||je===void 0?void 0:je.type;if(Pe=Pe.find(function(Ve){return Ve==te}),!Pe){var Ce=be.name||qe;throw new TypeError("".concat(te," not allowed for ").concat(Ce," in ").concat(n,"()"))}var me=Pe.range;te==="<percentage>"&&(me||(me=[0,1]));var Se=be.range||be.refRange;me&&Se&&(xe[Me]=ss(me,Se,xe[Me]));}),{v:{spaceId:Ae.id,coords:xe,alpha:ge}}}},B;for(A.s();!(R=A.n()).done;)if(B=O(),B)return B.v}catch(fe){A.e(fe);}finally{A.f();}}}else {var V=it(Ne.all),z;try{for(V.s();!(z=V.n()).done;){var X=z.value;for(var Y in X.formats){var J=X.formats[Y];if(J.type==="custom"&&!(J.test&&!J.test(r.str))){var ne=J.parse(r.str);if(ne){var se;return (se=ne.alpha)!==null&&se!==void 0||(ne.alpha=1),ne}}}}}catch(fe){V.e(fe);}finally{V.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function lt(e){if(!e)throw new TypeError("Empty color reference");fa(e)&&(e=Oc(e));var t=e.space||e.spaceId;return t instanceof Ne||(e.space=Ne.get(t)),e.alpha===void 0&&(e.alpha=1),e}function pa(e,t){return t=Ne.get(t),t.from(e)}function ir(e,t){var r=Ne.resolveCoord(t,e.space),n=r.space,a=r.index,i=pa(e,n);return i[a]}function Nc(e,t,r){return t=Ne.get(t),e.coords=t.to(e.space,r),e}function Qr(e,t,r){if(e=lt(e),arguments.length===2&&Jr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Qr(e,a,n[a]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Ne.resolveCoord(t,e.space),o=i.space,s=i.index,l=pa(e,o);l[s]=r,Nc(e,o,l);}return e}var us=new Ne({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ar,fromBase:function(t){return Di(ar.white,"D50",t)},toBase:function(t){return Di("D50",ar.white,t)},formats:{color:{}}}),$y=216/24389,qc=24/116,_i=24389/27,cs=gr.D50,Kt=new Ne({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:cs,base:us,fromBase:function(t){var r=t.map(function(a,i){return a/cs[i]}),n=r.map(function(a){return a>$y?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]>qc?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]>qc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*cs[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Ai(e){return (e%360+360)%360}function jy(e,t){if(e==="raw")return t;var r=t.map(Ai),n=De(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 ma=new Ne({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:Kt,fromBase:function(t){var r=De(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)),Ai(o)]},toBase:function(t){var r=De(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>"]}}}),Bc=Math.pow(25,7),Ei=Math.PI,Hc=180/Ei,Fn=Ei/180;function ds(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=Kt.from(e),c=De(u,3),m=c[0],b=c[1],A=c[2],R=ma.from(Kt,[m,b,A])[1],O=Kt.from(t),B=De(O,3),V=B[0],z=B[1],X=B[2],Y=ma.from(Kt,[V,z,X])[1];R<0&&(R=0),Y<0&&(Y=0);var J=(R+Y)/2,ne=Math.pow(J,7),se=.5*(1-Math.sqrt(ne/(ne+Bc))),fe=(1+se)*b,Ae=(1+se)*z,le=Math.sqrt(Math.pow(fe,2)+Math.pow(A,2)),ge=Math.sqrt(Math.pow(Ae,2)+Math.pow(X,2)),xe=fe===0&&A===0?0:Math.atan2(A,fe),Ee=Ae===0&&X===0?0:Math.atan2(X,Ae);xe<0&&(xe+=2*Ei),Ee<0&&(Ee+=2*Ei),xe*=Hc,Ee*=Hc;var Me=V-m,je=ge-le,Fe=Ee-xe,qe=xe+Ee,be=Math.abs(Fe),Pe;le*ge===0?Pe=0:be<=180?Pe=Fe:Fe>180?Pe=Fe-360:Fe<-180?Pe=Fe+360:console.log("the unthinkable has happened");var te=2*Math.sqrt(ge*le)*Math.sin(Pe*Fn/2),Ce=(m+V)/2,me=(le+ge)/2,Se=Math.pow(me,7),Ve;le*ge===0?Ve=qe:be<=180?Ve=qe/2:qe<360?Ve=(qe+360)/2:Ve=(qe-360)/2;var Re=Math.pow(Ce-50,2),Le=1+.015*Re/Math.sqrt(20+Re),et=1+.045*me,ut=1;ut-=.17*Math.cos((Ve-30)*Fn),ut+=.24*Math.cos(2*Ve*Fn),ut+=.32*Math.cos((3*Ve+6)*Fn),ut-=.2*Math.cos((4*Ve-63)*Fn);var pt=1+.015*me*ut,_t=30*Math.exp(-1*Math.pow((Ve-275)/25,2)),kt=2*Math.sqrt(Se/(Se+Bc)),St=-1*Math.sin(2*_t*Fn)*kt,vt=Math.pow(Me/(a*Le),2);return vt+=Math.pow(je/(o*et),2),vt+=Math.pow(te/(l*pt),2),vt+=St*(je/(o*et))*(te/(l*pt)),Math.sqrt(vt)}var zy=75e-6;function ha(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?zy:n;e=lt(e),t=Ne.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function ga(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Ar.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(fa(arguments[1])&&(i=arguments[1]),i=Ne.get(i),ha(e,i,{epsilon:0}))return e;var o=or(e,i);if(n!=="clip"&&!ha(e,i)){var s=en(ga(o),{method:"clip",space:i});if(ds(e,s)>2){for(var l=Ne.resolveCoord(n),u=l.space,c=l.id,m=or(o,u),b=l.range||l.refRange,A=b[0],R=.01,O=A,B=ir(m,c);B-O>R;){var V=ga(m);V=en(V,{space:i,method:"clip"});var z=ds(m,V);z-2<R?O=ir(m,c):B=ir(m,c),Qr(m,c,(O+B)/2);}o=or(m,i);}else o=s;}if(n==="clip"||!ha(o,i,{epsilon:0})){var X=Object.values(i.coords).map(function(Y){return Y.range||[]});o.coords=o.coords.map(function(Y,J){var ne=De(X[J],2),se=ne[0],fe=ne[1];return se!==void 0&&(Y=Math.max(se,Y)),fe!==void 0&&(Y=Math.min(Y,fe)),Y});}return i!==e.space&&(o=or(o,e.space)),e.coords=o.coords,e}en.returns="color";function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=lt(e),t=Ne.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=en(i)),i}or.returns="color";function Ci(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Ar.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=Z(n,_),m;e=lt(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:Ne.DEFAULT_FORMAT,u||(u=s.toGamut);var A=e.coords;if(A=A.map(function(Y){return Y||0}),u&&!ha(e)&&(A=en(ga(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)m=s.serialize(A,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var R=s.name||"color";s.serializeCoords?A=s.serializeCoords(A,i):i!==null&&(A=A.map(function(Y){return wi(Y,i)}));var O=_e(A);if(R==="color"){var B,V=s.id||((B=s.ids)===null||B===void 0?void 0:B[0])||e.space.id;O.unshift(V);}var z=e.alpha;i!==null&&(z=wi(z,i));var X=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(z):"";m="".concat(R,"(").concat(O.join(s.commas?", ":" ")).concat(X,")");}return m}var Gy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Uy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Si=new Ut({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Gy,fromXYZ_M:Uy,formats:{color:{}}}),ki=1.09929682680944,Vc=.018053968510807,$c=new Ut({id:"rec2020",name:"REC.2020",base:Si,toBase:function(t){return t.map(function(r){return r<Vc*4.5?r/4.5:Math.pow((r+ki-1)/ki,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Vc?ki*Math.pow(r,.45)-(ki-1):4.5*r})},formats:{color:{}}}),Wy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Xy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],jc=new Ut({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Wy,fromXYZ_M:Xy}),Yy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Ky=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],zc=new Ut({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Yy,fromXYZ_M:Ky,formats:{color:{}}}),Gc={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]},Uc=Array(3).fill("<percentage> | <number>[0, 255]"),Wc=Array(3).fill("<number>[0, 255]"),va=new Ut({id:"srgb",name:"sRGB",base:zc,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:Uc},rgb_number:{name:"rgb",commas:true,coords:Wc,noAlpha:true},color:{},rgba:{coords:Uc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Wc},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=Gc.black,r.alpha=0):r.coords=Gc[t],r.coords)return r}}}}),Xc=new Ut({id:"p3",name:"P3",base:jc,fromBase:va.fromBase,toBase:va.toBase,formats:{color:{id:"display-p3"}}});if(Ar.display_space=va,typeof CSS<"u"&&(ue=CSS)!==null&&ue!==void 0&&ue.supports)for(var fs=0,Yc=[Kt,$c,Xc];fs<Yc.length;fs++){var ps=Yc[fs],Jy=ps.getMinCoords(),Zy={space:ps,coords:Jy,alpha:1},Qy=Ci(Zy);if(CSS.supports("color",Qy)){Ar.display_space=ps;break}}function e0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Ar.display_space:n,i=Z(r,x),o=Ci(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Ar.display_space)o=new String(o),o.color=e;else {var s=or(e,a);o=new String(Ci(s,i)),o.color=s;}return o}function Kc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Ne.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 t0(e,t){return e=lt(e),t=lt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function tn(e){return ir(e,[ar,"y"])}function Jc(e,t){Qr(e,[ar,"y"],t);}function r0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return tn(this)},set:function(r){Jc(this,r);}});}var n0=Object.freeze({__proto__:null,getLuminance:tn,setLuminance:Jc,register:r0});function a0(e,t){e=lt(e),t=lt(t);var r=Math.max(tn(e),0),n=Math.max(tn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var i0=.56,o0=.57,s0=.62,l0=.65,Zc=.022,u0=1.414,c0=.1,d0=5e-4,f0=1.14,Qc=.027,p0=1.14;function ed(e){return e>=Zc?e:e+Math.pow(Zc-e,u0)}function In(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function m0(e,t){t=lt(t),e=lt(e);var r,n,a,i,o,s;t=or(t,"srgb");var l=De(t.coords,3);i=l[0],o=l[1],s=l[2];var u=In(i)*.2126729+In(o)*.7151522+In(s)*.072175;e=or(e,"srgb");var c=De(e.coords,3);i=c[0],o=c[1],s=c[2];var m=In(i)*.2126729+In(o)*.7151522+In(s)*.072175,b=ed(u),A=ed(m),R=A>b;return Math.abs(A-b)<d0?n=0:R?(r=Math.pow(A,i0)-Math.pow(b,o0),n=r*f0):(r=Math.pow(A,l0)-Math.pow(b,s0),n=r*p0),Math.abs(n)<c0?a=0:n>0?a=n-Qc:a=n+Qc,a*100}function h0(e,t){e=lt(e),t=lt(t);var r=Math.max(tn(e),0),n=Math.max(tn(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 g0=5e4;function v0(e,t){e=lt(e),t=lt(t);var r=Math.max(tn(e),0),n=Math.max(tn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?g0:(r-n)/n}function b0(e,t){e=lt(e),t=lt(t);var r=ir(e,[Kt,"l"]),n=ir(t,[Kt,"l"]);return Math.abs(r-n)}var y0=216/24389,td=24/116,Ti=24389/27,ms=gr.D65,hs=new Ne({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ms,base:ar,fromBase:function(t){var r=t.map(function(a,i){return a/ms[i]}),n=r.map(function(a){return a>y0?Math.cbrt(a):(Ti*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]>td?Math.pow(r[0],3):(116*r[0]-16)/Ti,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ti,r[2]>td?Math.pow(r[2],3):(116*r[2]-16)/Ti];return n.map(function(a,i){return a*ms[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),gs=Math.pow(5,.5)*.5+.5;function w0(e,t){e=lt(e),t=lt(t);var r=ir(e,[hs,"l"]),n=ir(t,[hs,"l"]),a=Math.abs(Math.pow(r,gs)-Math.pow(n,gs)),i=Math.pow(a,1/gs)*Math.SQRT2-40;return i<7.5?0:i}var Ri=Object.freeze({__proto__:null,contrastWCAG21:a0,contrastAPCA:m0,contrastMichelson:h0,contrastWeber:v0,contrastLstar:b0,contrastDeltaPhi:w0});function x0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};fa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=Z(n,k);if(!a){var o=Object.keys(Ri).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=lt(e),t=lt(t);for(var s in Ri)if("contrast"+a.toLowerCase()===s.toLowerCase())return Ri[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function rd(e){var t=pa(e,ar),r=De(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 nd(e){var t=pa(e,ar),r=De(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function D0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return rd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return nd(this)}});}var _0=Object.freeze({__proto__:null,uv:rd,xy:nd,register:D0});function A0(e,t){return Kc(e,t,"lab")}var E0=Math.PI,ad=E0/180;function C0(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=Kt.from(e),l=De(s,3),u=l[0],c=l[1],m=l[2],b=ma.from(Kt,[u,c,m]),A=De(b,3),R=A[1],O=A[2],B=Kt.from(t),V=De(B,3),z=V[0],X=V[1],Y=V[2],J=ma.from(Kt,[z,X,Y])[1];R<0&&(R=0),J<0&&(J=0);var ne=u-z,se=R-J,fe=c-X,Ae=m-Y,le=Math.pow(fe,2)+Math.pow(Ae,2)-Math.pow(se,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*R/(1+.0131*R)+.638,Ee;Number.isNaN(O)&&(O=0),O>=164&&O<=345?Ee=.56+Math.abs(.2*Math.cos((O+168)*ad)):Ee=.36+Math.abs(.4*Math.cos((O+35)*ad));var Me=Math.pow(R,4),je=Math.sqrt(Me/(Me+1900)),Fe=xe*(je*Ee+1-je),qe=Math.pow(ne/(a*ge),2);return qe+=Math.pow(se/(o*xe),2),qe+=le/Math.pow(Fe,2),Math.sqrt(qe)}var id=203,vs=new Ne({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:ar,fromBase:function(t){return t.map(function(r){return Math.max(r*id,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/id,0)})}}),Fi=1.15,Ii=.66,od=2610/Math.pow(2,14),S0=Math.pow(2,14)/2610,sd=3424/Math.pow(2,12),ld=2413/Math.pow(2,7),ud=2392/Math.pow(2,7),k0=1.7*2523/Math.pow(2,5),cd=Math.pow(2,5)/(1.7*2523),Li=-0.56,bs=16295499532821565e-27,T0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],R0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],F0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],I0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],dd=new Ne({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:vs,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=Fi*n-(Fi-1)*i,s=Ii*a-(Ii-1)*n,l=Et(T0,[o,s,i]),u=l.map(function(B){var V=sd+ld*Math.pow(B/1e4,od),z=1+ud*Math.pow(B/1e4,od);return Math.pow(V/z,k0)}),c=Et(F0,u),m=De(c,3),b=m[0],A=m[1],R=m[2],O=(1+Li)*b/(1+Li*b)-bs;return [O,A,R]},toBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2],o=(n+bs)/(1+Li-Li*(n+bs)),s=Et(I0,[o,a,i]),l=s.map(function(B){var V=sd-Math.pow(B,cd),z=ud*Math.pow(B,cd)-ld,X=1e4*Math.pow(V/z,S0);return X}),u=Et(R0,l),c=De(u,3),m=c[0],b=c[1],A=c[2],R=(m+(Fi-1)*A)/Fi,O=(b+(Ii-1)*R)/Ii;return [R,O,A]},formats:{color:{}}}),ys=new Ne({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:dd,fromBase:function(t){var r=De(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)),Ai(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 L0(e,t){var r=ys.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=ys.from(t),l=De(s,3),u=l[0],c=l[1],m=l[2],b=a-u,A=i-c;Number.isNaN(o)&&Number.isNaN(m)?(o=0,m=0):Number.isNaN(o)?o=m:Number.isNaN(m)&&(m=o);var R=o-m,O=2*Math.sqrt(i*c)*Math.sin(R/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(O,2))}var fd=3424/4096,pd=2413/128,md=2392/128,hd=2610/16384,P0=2523/32,M0=16384/2610,gd=32/2523,O0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],N0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],q0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],B0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ws=new Ne({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:vs,fromBase:function(t){var r=Et(O0,t);return H0(r)},toBase:function(t){var r=V0(t);return Et(B0,r)},formats:{color:{}}});function H0(e){var t=e.map(function(r){var n=fd+pd*Math.pow(r/1e4,hd),a=1+md*Math.pow(r/1e4,hd);return Math.pow(n/a,P0)});return Et(N0,t)}function V0(e){var t=Et(q0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,gd)-fd,0),i=pd-md*Math.pow(n,gd);return 1e4*Math.pow(a/i,M0)});return r}function $0(e,t){var r=ws.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=ws.from(t),l=De(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 j0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],z0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],G0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],U0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Pi=new Ne({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:ar,fromBase:function(t){var r=Et(j0,t),n=r.map(function(a){return Math.cbrt(a)});return Et(G0,n)},toBase:function(t){var r=Et(U0,t),n=r.map(function(a){return Math.pow(a,3)});return Et(z0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function W0(e,t){var r=Pi.from(e),n=De(r,3),a=n[0],i=n[1],o=n[2],s=Pi.from(t),l=De(s,3),u=l[0],c=l[1],m=l[2],b=a-u,A=i-c,R=o-m;return Math.sqrt(Math.pow(b,2)+Math.pow(A,2)+Math.pow(R,2))}var xs=Object.freeze({__proto__:null,deltaE76:A0,deltaECMC:C0,deltaE2000:ds,deltaEJz:L0,deltaEITP:$0,deltaEOK:W0});function ba(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};fa(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Ar.deltaE:a,o=Z(n,F);e=lt(e),t=lt(t);for(var s in xs)if("deltae"+i.toLowerCase()===s.toLowerCase())return xs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function X0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Ne.get("oklch","lch"),n=[r,"l"];return Qr(e,n,function(a){return a*(1+t)})}function Y0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Ne.get("oklch","lch"),n=[r,"l"];return Qr(e,n,function(a){return a*(1-t)})}var K0=Object.freeze({__proto__:null,lighten:X0,darken:Y0});function vd(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=[lt(e),lt(t)];if(e=a[0],t=a[1],Jr(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=ya(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function bd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Ds(e)){n=e,r=t;var a=De(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=Z(i,S);if(!n){var A=[lt(e),lt(t)];e=A[0],t=A[1],n=ya(e,t,b);}var R=ba(e,t),O=o>0?Math.max(u,Math.ceil(R/o)+1):u,B=[];if(m!==void 0&&(O=Math.min(O,m)),O===1)B=[{p:.5,color:n(.5)}];else {var V=1/(O-1);B=Array.from({length:O},function(fe,Ae){var le=Ae*V;return {p:le,color:n(le)}});}if(o>0)for(var z=B.reduce(function(fe,Ae,le){if(le===0)return 0;var ge=ba(Ae.color,B[le-1].color,s);return Math.max(fe,ge)},0);z>o;){z=0;for(var X=1;X<B.length&&B.length<m;X++){var Y=B[X-1],J=B[X],ne=(J.p+Y.p)/2,se=n(ne);z=Math.max(z,ba(se,Y.color),ba(se,J.color)),B.splice(X,0,{p:ne,color:n(ne)}),X++;}}return B=B.map(function(fe){return fe.color}),B}function ya(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Ds(e)){var n=e,a=t;return ya.apply(void 0,_e(n.rangeArgs.colors).concat([we({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=lt(e),t=lt(t),e=ga(e),t=ga(t);var u={colors:[e,t],options:r};if(i?i=Ne.get(i):i=Ne.registry[Ar.interpolationSpace]||e.space,o=o?Ne.get(o):i,e=or(e,i),t=or(t,i),e=en(e),t=en(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",m=[i,"h"],b=[ir(e,m),ir(t,m)],A=b[0],R=b[1],O=jy(c,[A,R]),B=De(O,2);A=B[0],R=B[1],Qr(e,m,A),Qr(t,m,R);}return l&&(e.coords=e.coords.map(function(V){return V*e.alpha}),t.coords=t.coords.map(function(V){return V*t.alpha})),Object.assign(function(V){V=s?s(V):V;var z=e.coords.map(function(J,ne){var se=t.coords[ne];return xi(J,se,V)}),X=xi(e.alpha,t.alpha,V),Y={space:i,coords:z,alpha:X};return l&&(Y.coords=Y.coords.map(function(J){return J/X})),o!==i&&(Y=or(Y,o)),Y},{rangeArgs:u})}function Ds(e){return Jr(e)==="function"&&!!e.rangeArgs}Ar.interpolationSpace="lab";function J0(e){e.defineFunction("mix",vd,{returns:"color"}),e.defineFunction("range",ya,{returns:"function<color>"}),e.defineFunction("steps",bd,{returns:"array<color>"});}var Z0=Object.freeze({__proto__:null,mix:vd,steps:bd,range:ya,isRange:Ds,register:J0}),yd=new Ne({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:va,fromBase:function(t){var r=Math.max.apply(Math,_e(t)),n=Math.min.apply(Math,_e(t)),a=De(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=De(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}}}),wd=new Ne({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:yd,fromBase:function(t){var r=De(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=De(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}}}),Q0=new Ne({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:wd,fromBase:function(t){var r=De(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=De(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>"]}}}),ew=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],tw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],xd=new Ut({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:ew,fromXYZ_M:tw}),rw=new Ut({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:xd,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"}}}),nw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],aw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Dd=new Ut({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:us,toXYZ_M:nw,fromXYZ_M:aw}),iw=1/512,ow=16/512,sw=new Ut({id:"prophoto",name:"ProPhoto",base:Dd,toBase:function(t){return t.map(function(r){return r<ow?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=iw?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),lw=new Ne({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=De(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)),Ai(o)]},toBase:function(t){var r=De(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>"]}}}),_d=203,Ad=2610/Math.pow(2,14),uw=Math.pow(2,14)/2610,cw=2523/Math.pow(2,5),Ed=Math.pow(2,5)/2523,Cd=3424/Math.pow(2,12),Sd=2413/Math.pow(2,7),kd=2392/Math.pow(2,7),dw=new Ut({id:"rec2100pq",name:"REC.2100-PQ",base:Si,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Ed)-Cd,0)/(Sd-kd*Math.pow(r,Ed)),uw);return n*1e4/_d})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*_d/1e4,0),a=Cd+Sd*Math.pow(n,Ad),i=1+kd*Math.pow(n,Ad);return Math.pow(a/i,cw)})},formats:{color:{id:"rec2100-pq"}}}),Td=.17883277,Rd=.28466892,Fd=.55991073,_s=3.7743,fw=new Ut({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Si,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*_s:Math.exp((r-Fd)/Td+Rd)/12*_s})},fromBase:function(t){return t.map(function(r){return r/=_s,r<=1/12?Math.sqrt(3*r):Td*Math.log(12*r-Rd)+Fd})},formats:{color:{id:"rec2100-hlg"}}}),Id={};Zr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Ld(e.W1,e.W2,e.options.method));}),Zr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Ld(e.W1,e.W2,e.options.method));});function Mi(e){var t=e.id;e.toCone_M;e.fromCone_M;Id[t]=arguments[0];}function Ld(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Id[r],a=Et(n.toCone_M,e),i=De(a,3),o=i[0],s=i[1],l=i[2],u=Et(n.toCone_M,t),c=De(u,3),m=c[0],b=c[1],A=c[2],R=[[m/o,0,0],[0,b/s,0],[0,0,A/l]],O=Et(R,n.toCone_M),B=Et(n.fromCone_M,O);return B}Mi({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]]}),Mi({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]]}),Mi({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]]}),Mi({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(gr,{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]}),gr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var pw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],mw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Pd=new Ut({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:gr.ACES,toXYZ_M:pw,fromXYZ_M:mw,formats:{color:{}}}),Oi=Math.pow(2,-16),As=-0.35828683,Ni=(Math.log2(65504)+9.72)/17.52,hw=new Ut({id:"acescc",name:"ACEScc",coords:{r:{range:[As,Ni],name:"Red"},g:{range:[As,Ni],name:"Green"},b:{range:[As,Ni],name:"Blue"}},referred:"scene",base:Pd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Oi)*2:n<Ni?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Oi)+9.72)/17.52:r<Oi?(Math.log2(Oi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Md=Object.freeze({__proto__:null,XYZ_D65:ar,XYZ_D50:us,XYZ_ABS_D65:vs,Lab_D65:hs,Lab:Kt,LCH:ma,sRGB_Linear:zc,sRGB:va,HSL:yd,HWB:Q0,HSV:wd,P3_Linear:jc,P3:Xc,A98RGB_Linear:xd,A98RGB:rw,ProPhoto_Linear:Dd,ProPhoto:sw,REC_2020_Linear:Si,REC_2020:$c,OKLab:Pi,OKLCH:lw,Jzazbz:dd,JzCzHz:ys,ICTCP:ws,REC_2100_PQ:dw,REC_2100_HLG:fw,ACEScg:Pd,ACEScc:hw}),ft=(ve=new WeakMap,(function(){function e(){var t=this;rr(this,e),Nt(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=lt(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]),It(ve,this,Ne.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(A){Object.defineProperty(t,A,{get:function(){return t.get(A)},set:function(O){return t.set(A,O)}});};for(var m in jt(ve,this).coords)c(m);}return zt(e,[{key:"space",get:function(){return jt(ve,this)}},{key:"spaceId",get:function(){return jt(ve,this).id}},{key:"clone",value:function(){return new ft(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=e0.apply(void 0,[this].concat(n));return i.color=new ft(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ft)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 K(ft,[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=ft.get(c);else if(s==="function<color>"){var m=c;c=function(){var A=m.apply(void 0,arguments);return ft.get(A)},Object.assign(c,m);}else s==="array<color>"&&(c=c.map(function(b){return ft.get(b)}));return c};r in ft||(ft[r]=l),o&&(ft.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)ft.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(ft);else for(var n in r)ft.defineFunction(n,r[n]);}}])})());ft.defineFunctions({get:ir,getAll:pa,set:Qr,setAll:Nc,to:or,equals:t0,inGamut:ha,toGamut:en,distance:Kc,toString:Ci}),Object.assign(ft,{util:qy,hooks:Zr,WHITES:gr,Space:Ne,spaces:Ne.registry,parse:Oc,defaults:Ar});for(var Es=0,Od=Object.keys(Md);Es<Od.length;Es++){var gw=Od[Es];Ne.register(Md[gw]);}for(var Nd in Ne.registry)Cs(Nd,Ne.registry[Nd]);Zr.add("colorspace-init-end",function(e){var t;Cs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Cs(r,e);});});function Cs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(ft.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 Ne.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&de(l)!=="symbol"&&!(l in s)){var c=Ne.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&&de(l)!=="symbol"&&!(l in s)||l>=0){var m=Ne.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});}ft.extend(xs),ft.extend({deltaE:ba}),ft.extend(K0),ft.extend({contrast:x0}),ft.extend(_0),ft.extend(n0),ft.extend(Z0),ft.extend(Ri);var qd=Dr(lc());Kr.default.templateSettings.strip=false,p._memoizedFns=[];function vw(e){var t=(0, Rc.default)(e);return p._memoizedFns.push(t),t}var ht=vw,bw=ht(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),wa=bw;function Ss(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||g;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 yw=["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"],ww=31,xw=/([\\"])/g,Dw=/(\r\n|\r|\n)/g;function ks(e){return e.replace(xw,"\\$1").replace(Dw,"\\a ")}function Bd(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Sc(e.getAttribute(r));a?n=Dt(t.name)+'$="'+ks(a)+'"':n=Dt(t.name)+'="'+ks(e.getAttribute(r))+'"';}else n=Dt(r)+'="'+ks(t.value)+'"';return n}function Ts(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Hd(e){return !yw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<ww)}function qi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=Dt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(da(s)).filter(Hd).forEach(function(u){var c=Bd(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 _w(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=Dt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Ts)}function Aw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Rn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function Ew(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||g,r="#"+Dt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Vd(e){var t=wa(g);return Dt(t?e.localName:e.nodeName.toLowerCase())}function Cw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(da(e)).filter(Hd).forEach(function(i){var o=Bd(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Ts)}function Sw(e,t){var r="",n,a=_w(e,t),i=Cw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Vd(e)):(n=a.concat(i),n.sort(Ts),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=Vd(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 kw(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=Ew(e);s||(s=Sw(e,p._selectorData),s+=Aw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Xe.selectorSimilarFilterLimit?o=Rw(r,i):o=o.filter(function(l){return Rn(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 Tw(e,t){return Ss(kw,e,t)}var Rs=ht(Tw),Rw=ht(function(e,t){return Array.from(e.querySelectorAll(t))});function $d(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?$d(r)+" > "+t+a:t+a}function Bi(e,t){return Ss($d,e,t)}function jd(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=jd(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&&Dt(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 Fw(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 Iw(e){var t=jd(e);return Fw(t)}var zd=Iw,xa={},Lw={set:function(t,r){Pw(t),xa[t]=r;},get:function(t,r){if(Mw(r),t in xa)return xa[t];if(typeof r=="function"){var n=r();return nt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),xa[t]}},clear:function(){xa={};}};function Pw(e){nt(typeof e=="string","key must be a string, "+de(e)+" given"),nt(e!=="","key must not be empty");}function Mw(e){nt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+de(e)+" given");}var We=Lw;function Ow(e,t){var r=t||e;return We.get("nodeMap")?We.get("nodeMap").get(r):null}var Ke=Ow;function Gd(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 Fs(s,n)}var l=Nw(e);return l.length>n?qw(e,{maxLength:n,attrLimit:i}):l}function Nw(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function qw(e,t){var r=t.maxLength,n=t.attrLimit,a=wa(e.ownerDocument||g)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(da(e)).map(function(R){var O=R.name,B=R.value;return {name:O,value:B}}),o=i.reduce(function(R,O){var B=O.name,V=O.value;return R+B.length+V.length+4},0);2+a.length+o>r&&i.forEach(function(R){R.name=Fs(R.name,n),R.value=Fs(R.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),m;try{for(c.s();!(m=c.n()).done;){var b=m.value,A=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+A.length>r-u.length){l=u;continue}s+=A;}}catch(R){c.e(R);}finally{c.f();}return s+l}function Fs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Ud="DqElm.RunOptions",yn=ht(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=We.get(Ud))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Lt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ke(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:Gd(this._element);}return this});yn.prototype={get selector(){return this.spec.selector||[Rs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Bi(this.element)]},get xpath(){return this.spec.xpath||[zd(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}},yn.fromFrame=function(t,r,n){var a=yn.mergeSpecs(t,n);return new yn(n.element,r,a)},yn.mergeSpecs=function(t,r){return we({},t,{selector:[].concat(_e(r.selector),_e(t.selector)),ancestry:[].concat(_e(r.ancestry),_e(t.ancestry)),xpath:[].concat(_e(r.xpath),_e(t.xpath)),nodeIndexes:[].concat(_e(r.nodeIndexes),_e(t.nodeIndexes)),fromFrame:true})},yn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;We.set(Ud,{elementRef:r,absolutePaths:n});};var sr=yn;function Bw(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 Lt?i=[i]:i=Cc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Lt&&(o=o.actualNode),o instanceof d.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var Is=Bw;function Hr(e){return Ls(e,new Map)}function Ls(e,t){var r,n;if(e===null||de(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(Ls(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Ls(e[o],t);return i}var Da=new Tc.CssSelectorParser;Da.registerSelectorPseudos("not"),Da.registerSelectorPseudos("is"),Da.registerNestingOperators(">"),Da.registerAttrEqualityMods("^","$","*","~");var Wd=Da;function Ps(e,t){var r=Hi(t);return r.some(function(n){return Ln(e,n)})}function Hw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Vw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function $w(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function jw(e,t){return !t.id||e.props.id===t.id}function zw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Ln(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Ln(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Xd(e,t){return Hw(e,t)&&Vw(e,t)&&$w(e,t)&&jw(e,t)&&zw(e,t)}var _a=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ms=/\\/g;function Gw(e){if(e)return e.map(function(t){var r=t.name.replace(Ms,""),n=(t.value||"").replace(Ms,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+_a(n));break;case "$=":i=new RegExp(_a(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+_a(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+_a(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 Uw(e){if(e)return e.map(function(t){return t=t.replace(Ms,""),{value:t,regexp:new RegExp("(^|\\s)"+_a(t)+"(\\s|$)")}})}function Ww(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=Yd(r)),{name:t.name,expressions:r,value:t.value}})}function Yd(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:Gw(n.attrs),classes:Uw(n.classNames),pseudos:Ww(n.pseudos)}),n=n.rule;return r})}function Hi(e){var t=Wd.parse(e);return t=t.selectors?t.selectors:[t],Yd(t)}function Kd(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Xd(e,i);!o&&n&&e.parent;)e=e.parent,o=Xd(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&&Kd(e.parent,t,r-1,i.combinator===" ");}return o}function Ln(e,t,r){return Kd(e,t,t.length-1,r)}function Xw(e,t){for(;e;){if(Ps(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 Jt=Xw;function Vi(){}function Os(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Yw(){var e=[],t=0,r=0,n=Vi,a=false,i,o=function(A){i=A,setTimeout(function(){i!=null&&bn("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(A){e[b]=A,r-=1,!r&&n!==Vi&&(a=true,n(e));}}function u(b){return n=Vi,s(b),e}function c(){for(var b=e.length;t<b;t++){var A=e[t];try{A.call(null,l(t),u);}catch(R){u(R);}}}var m={defer:function(A){if(de(A)==="object"&&A.then&&A.catch){var R=A;A=function(B,V){R.then(B).catch(V);};}if(Os(A),i===void 0){if(a)throw new Error("Queue already completed");return e.push(A),++r,c(),m}},then:function(A){if(Os(A),n!==Vi)throw new Error("queue `then` already set");return i||(n=A,r||(a=true,n(e))),m},catch:function(A){if(Os(A),s!==o)throw new Error("queue `catch` already set");return i?(A(i),i=null):s=A,m},abort:u};return m}var Er=Yw,Pn,Mn,Ns=d.crypto||d.msCrypto;if(!Mn&&Ns&&Ns.getRandomValues){var Jd=new Uint8Array(16);Mn=function(){return Ns.getRandomValues(Jd),Jd};}if(!Mn){var Zd=new Array(16);Mn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Zd[t]=r>>>((t&3)<<3)&255;return Zd};}for(var Qd=typeof d.Buffer=="function"?d.Buffer:Array,qs=[],ef={},On=0;On<256;On++)qs[On]=(On+256).toString(16).substr(1),ef[qs[On]]=On;function Kw(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++]=ef[i]);});a<16;)t[n+a++]=0;return t}function Bs(e,t){var r=t||0,n=qs;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 rn=Mn(),Jw=[rn[0]|1,rn[1],rn[2],rn[3],rn[4],rn[5]],tf=(rn[6]<<8|rn[7])&16383,Hs=0,Vs=0;function rf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:tf,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Vs+1,l=o-Hs+(s-Vs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Hs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Hs=o,Vs=s,tf=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||Jw,b=0;b<6;b++)a[n+b]=m[b];return t||Bs(a)}function wn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Qd(16):null,e=null),e=e||{};var a=e.random||(e.rng||Mn)();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||Bs(a)}Pn=wn,Pn.v1=rf,Pn.v4=wn,Pn.parse=Kw,Pn.unparse=Bs,Pn.BufferClass=Qd,p._uuid=rf();var Zw=wn,Qw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function ex(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:nf()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function tx(e){var t;try{t=JSON.parse(e);}catch{return}if(rx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=de(t.error)==="object"?nx(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function rx(e){return e!==null&&de(e)==="object"&&typeof e.channelId=="string"&&e.source===nf()}function nx(e){var t=e.message||"Unknown error occurred",r=Qw.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
372
|
+
`+e.stack.replace(e.message,"")),new n(t)}function nf(){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 $s(e){of(e),nt(d.parent===e,"Source of the response must be the parent window.");}function af(e){of(e),nt(e.parent===d,"Respondable target must be a frame in the current window");}function of(e){nt(d!==e,"Messages can not be sent to the same window.");}var Aa={};function ax(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;nt(!Object.prototype.hasOwnProperty.call(Aa,e),"A replyHandler already exists for this message channel."),Aa[e]={replyHandler:t,sendToParent:r};}function ix(e){return Object.prototype.hasOwnProperty.call(Aa,e)?Aa[e]:void 0}function ox(e){delete Aa[e];}var $i=[];function js(){var e="".concat(wn(),":").concat(wn());return $i.includes(e)?js():($i.push(e),e)}function sx(e){return $i.includes(e)?false:($i.push(e),true)}function zs(e,t,r,n){if(r?$s(e):af(e),t.message instanceof Error&&!r)return p.log(t.message),false;var a=ex(we({messageId:js()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&ax(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 lx(e,t,r){if(!e.parent!==d)return p.log(t);try{zs(e,{topic:null,channelId:r,message:t,messageId:js(),keepalive:!0},!0);}catch(n){return p.log(n)}}function sf(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};zs(e,s,r,o);}}function ux(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function cx(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=tx(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!ux(r)||!sx(l))return;if(s instanceof Error&&a.parent!==d)return p.log(s),!1;try{if(i.topic){var u=sf(a,o);$s(a),t(i,u);}else dx(a,i);}catch(c){lx(a,c,o);}}catch(c){return p.log(c),false}}function dx(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=ix(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?$s(e):af(e);var l=sf(e,r,s);!a&&r&&ox(r);try{o(n,a,l);}catch(u){p.log(u),l(u,a);}}}var fx={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){cx(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:zs(t,r,false,n)}};function lf(e){e.updateMessenger(fx);}var ji,uf,zi={};function br(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(wn(),":").concat(wn()),keepalive:n};return uf(e,i,a)}function px(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(zi,r)?zi[r]:void 0;if(i)try{i(n,a,t);}catch(o){p.log(o),t(o,a);}}br.updateMessenger=function(t){var r=t.open,n=t.post;nt(typeof r=="function","open callback must be a function"),nt(typeof n=="function","post callback must be a function"),ji&&ji();var a=r(px);a?(nt(typeof a=="function","open callback must return a cleanup function"),ji=a):ji=null,uf=n;},br.subscribe=function(t,r){nt(typeof r=="function","Subscriber callback must be a function"),nt(!Object.prototype.hasOwnProperty.call(zi,t),"Topic ".concat(t," is already registered to.")),zi[t]=r;},br.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},lf(br);function cf(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){bn("Frame does not have a content window",e),r(null);return}if(s===0){df(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(ff("No response from frame",e)):r(null);},0);},s);br(o,"axe.ping",null,void 0,function(){clearTimeout(l),df(e,t,r,n);});}function df(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(ff("Axe in frame timed out",e));},o);br(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function ff(e,t){var r;return p._tree&&(r=Rs(t)),new Error(e+": "+(r||t))}var Ea=null,Ca={update:function(t){nt(de(t)==="object","serializer must be an object"),Ea=t;},toSpec:function(t){return Ca.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var n;return t instanceof sr?(r&&(t=mx(t,r)),typeof((n=Ea)===null||n===void 0?void 0:n.toSpec)=="function"?Ea.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Ea)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Ea.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return we({},r,{nodes:Ca.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=Z(r,y);a.node=Ca.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=Z(l,E);return c.relatedNodes=u.map(Ca.dqElmToSpec),c});}return a})}},lr=Ca;function mx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new sr(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 hx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Gi=hx;function gx(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&de(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var Sa=gx;function vx(e,t,r){e.forEach(function(n){n.node=lr.mergeSpecs(n.node,r);var a=Gi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function bx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=pf(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(_e(t)));return}}e.push.apply(e,_e(t));}function yx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function wx(e,t){var r=[];return e.forEach(function(n){var a=yx(n);if(!(!a||!a.length)){var i=xx(n);a.forEach(function(o){o.nodes&&i&&vx(o.nodes,t,i);var s=Sa(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&bx(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 pf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function pf(){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=wx;function xx(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function mf(e,t,r,n,a,i){t=we({},t,{elementRef:false});var o=Er(),s=e.frames;s.forEach(function(l){var u=l.node,c=Z(l,D);o.defer(function(m,b){var A={options:t,command:r,parameter:n,context:c};function R(O){return m(O?{results:O,frameElement:u}:null)}cf(u,A,R,b);});}),o.then(function(l){a(Ui(l,t));}).catch(i);}function Vr(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 hf(){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||de(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||de(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=hf(e[s],a[s]);}}),e}var Gs=hf;function Dx(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 Us=Dx,_x=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function Ax(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(_x.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Wi=Ax,Ws={};fr(Ws,{createGrid:function(){return Fa},findElmsInContext:function(){return gf},findNearbyElms:function(){return to},findUp:function(){return qn},findUpVirtual:function(){return Nn},focusDisabled:function(){return nl},getComposedParent:function(){return Pt},getElementByReference:function(){return il},getElementCoordinates:function(){return Ks},getElementStack:function(){return Jf},getModalDialog:function(){return Uf},getNodeGrid:function(){return eo},getOverflowHiddenAncestors:function(){return Ta},getRootNode:function(){return qt},getScrollOffset:function(){return Ff},getTabbableElements:function(){return Zf},getTargetRects:function(){return no},getTargetSize:function(){return Qf},getTextElementStack:function(){return _l},getViewportSize:function(){return Xi},getVisibleChildTextRects:function(){return Dl},hasContent:function(){return co},hasContentVirtual:function(){return Ba},hasLangText:function(){return El},idrefs:function(){return Cr},insertedIntoFocusOrder:function(){return $p},isCurrentPageLink:function(){return al},isFixedPosition:function(){return Yi},isFocusable:function(){return Ct},isHTML5:function(){return Gp},isHiddenForEveryone:function(){return nn},isHiddenWithCSS:function(){return J_},isInTabOrder:function(){return ur},isInTextBlock:function(){return Cl},isInert:function(){return ro},isModalOpen:function(){return Ha},isMultiline:function(){return Wp},isNativelyFocusable:function(){return ll},isNode:function(){return sA},isOffscreen:function(){return Ki},isOpaque:function(){return vA},isSkipLink:function(){return Tl},isVisible:function(){return _A},isVisibleOnScreen:function(){return Zt},isVisibleToScreenReaders:function(){return yt},isVisualContent:function(){return Al},reduceToElementsBelowFloating:function(){return Xp},shadowElementsFromPoint:function(){return CA},urlPropsFromAttribute:function(){return IA},visuallyContains:function(){return Yp},visuallyOverlaps:function(){return Rl},visuallySort:function(){return ol}});function Ex(e){var t=e.getRootNode&&e.getRootNode()||g;return t===e&&(t=g),t}var ka=Ex,qt=ka;function Cx(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=Dt(r);return t.nodeType===9||t.nodeType===11?o=t:o=qt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var gf=Cx;function Sx(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&&!Rn(r,t)&&r!==g.documentElement);return !r||!Rn(r,t)?null:r}var Nn=Sx;function kx(e,t){return Nn(Ke(e),t)}var qn=kx;function Xs(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 vf=ht(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(vf(t.parent))}),Ta=vf,Tx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Rx=/(\w+)\((\d+)/;function bf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function yf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function xf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Df(e){return e.attr("aria-hidden")==="true"}function _f(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Af(e){var t=zr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Ef(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=Ta(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!Fx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Xs(i,s)})}function Cf(e){var t=e.getComputedStylePropertyValue("clip").match(Tx),r=e.getComputedStylePropertyValue("clip-path").match(Rx);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 Ys(e,t){var r=Jt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=ka(e.actualNode);if(!a||a.nodeType!==9)return true;var i=tr(p._tree,'img[usemap="#'.concat(Dt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Sf(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 Fx(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 Ix=[yf,wf,xf,Sf];function nn(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=rt(e).vNode,r?kf(e,a):Tf(e,a)}var kf=ht(function(t,r){return bf(t)?true:t.actualNode?!!(Ix.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Tf=ht(function(t,r){return kf(t,r)?true:t.parent?Tf(t.parent,true):false});function Rf(e){if(e.assignedSlot)return Rf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Pt=Rf;function Lx(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 Ff=Lx;function Px(e){var t=Ff(g),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 Ks=Px;function Mx(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 Xi=Mx;function Yi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=rt(e),a=n.vNode;return a?r?If(a):Lf(a):false}var If=ht(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Lf=ht(function(t){return If(t)?true:t.parent?Lf(t.parent):false});function Ox(e,t){for(e=Pt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Pt(e);}return true}function Nx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=rt(e),a=n.domNode;if(a){var i=g.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(g.body||i).getPropertyValue("direction"),l=Yi(a),u=l?a.getBoundingClientRect():Ks(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Ox(a,u.bottom)||o.position==="absolute"))return true;var c=Xi(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 Ki=Nx,qx=[_f,Af,Ef,Cf,Ki];function Zt(e){return e=rt(e).vNode,Js(e)}var Js=ht(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Ys(t,Js):nn(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&qx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?Js(t.parent,true):true});function Zs(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 Ji(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 Pf={};fr(Pf,{getBoundingRect:function(){return Zs},getIntersectionRect:function(){return Zi},getOffset:function(){return Of},getRectCenter:function(){return Ra},hasVisualOverlap:function(){return Qs},isPointInRect:function(){return Ji},rectHasMinimumSize:function(){return $r},rectsOverlap:function(){return Xs},splitRects:function(){return el}});function Zi(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 Ra(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 Mf=.05;function $r(e,t){var r=t.width,n=t.height;return r+Mf>=e&&n+Mf>=e}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=no(e),a=no(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Ra(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Ji(s,c))return 0;var m=Bx(s,c),b=Nf(s,m);i=Math.min(i,b);}}catch(V){l.e(V);}finally{l.f();}var A=Qf(t);if($r(r*2,A))return i;var R=a.reduce(Zs),O=Ra(R),B=Nf(s,O)-r;return Math.max(0,Math.min(i,B))},1/0)}function Bx(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 Nf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Qs(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:ol(e,t)>0}function el(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(Hx(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 Hx(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(Qi(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),Qi(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),Qi(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),Qi(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if($x(e,t))return [];l.push(e);}return l.map(Vx)}var Qi=function(t,r,n){return t>r&&t<n};function Vx(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function $x(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var qf=0,jx=.1,Bf=.2,Hf=.3,tl=0;function Fa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(We.get("gridCreated")&&!r)return Xe.gridSize;if(We.set("gridCreated",true),!r){var n=Ke(g.documentElement);if(n||(n=new Fl(g.documentElement)),tl=0,n._stackingOrder=[jf(qf,tl++,null)],t??(t=new rl),zf(t,n),zr(n.actualNode)){var a=new rl(n);n._subGrid=a;}}for(var i=g.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ke(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ke(o.assignedSlot):o.parentElement?r=Ke(o.parentElement):o.parentNode&&Ke(o.parentNode)&&(r=Ke(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=zx(s,r,tl++);var l=Wx(s,r),u=l?l._subGrid:t;if(zr(s.actualNode)){var c=new rl(s);s._subGrid=c;}var m=s.boundingClientRect;m.width!==0&&m.height!==0&&Zt(o)&&zf(u,s),Wi(o)&&Fa(o.shadowRoot,u,s),o=i.nextNode();}return Xe.gridSize}function Vf(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 A=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(A)||n!=="auto"&&$f(t))}function $f(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function zx(e,t,r){var n=t._stackingOrder.slice();if(Vf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [qf,Bf,Hf].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=Gx(e,t);return i!==null&&n.push(jf(i,r,e)),n}function jf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Gx(e,t){var r=Ux(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Hf:e.getComputedStylePropertyValue("float")!=="none"?Bf:Vf(e,t)?jx:null:parseInt(r)}function Ux(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!$f(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Wx(e,t){for(var r=null,n=[e];t;){if(zr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ke(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function zf(e,t){var r=Ta(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Zi(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 rl=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return zt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Xe.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;nt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);nt(Ji({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=Zs(this.boundaries,r)),this.boundaries=r,Gf(this.cells,s,l,function(u,c){Gf(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 Gf(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 eo(e){Fa();var t=rt(e),r=t.vNode;return r._grid}function to(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=eo(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=Yi(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===Yi(m)&&s.push(m);}}catch(b){u.e(b);}finally{u.f();}}),s}var Xx=ht(function(){var t;if(!p._tree)return null;var r=Fr(p._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=g.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Zt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=g.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=Yx(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=g.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Uf=Xx;function Yx(e){Fa();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=Zi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function ro(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Wf(e,n):Xf(e,n)}var Wf=ht(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Uf();if(n&&!Vr(n,t))return true}return false}),Xf=ht(function(t,r){return Wf(t,r)?true:t.parent?Xf(t.parent,true):false}),Kx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Jx(e){return Kx.includes(e)}function Zx(e){var t=rt(e),r=t.vNode;if(Jx(r.props.nodeName)&&r.hasAttr("disabled")||ro(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?nn(r):false}var nl=Zx,Qx=/^\/\#/,eD=/^#[!/]/;function al(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Qx.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(eD.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 tD(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!al(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=g.getElementById(r);return n||(n=g.getElementsByName(r),n.length?n[0]:null)}var il=tD;function ol(e,t){Fa();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(B){return B.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(B){return B.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,A=m&u||m&c,R=Yf(e),O=Yf(t);return R===O||A?b:O-R}function Yf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Kf(e)?1:0}function Kf(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=Kf(e.parent);return e._isFloated=r,r}function sl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Ra(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=sl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(ol).map(function(u){return u.actualNode}).concat(g.documentElement).filter(function(u,c,m){return m.indexOf(u)===c})),s}function rD(e){var t=eo(e);if(!t)return [];var r=Ke(e).boundingClientRect;return sl(t,r)}var Jf=rD;function nD(e){var t=tr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Rr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Zf=nD;function aD(e){var t=rt(e),r=t.vNode;if(!r||nl(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 !tr(r,"summary").length}return false}var ll=aD;function Ct(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1||nl(r))return false;if(ll(r))return true;var n=Rr(r.attr("tabindex"));return n!==null}function ur(e){var t=rt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Rr(r.attr("tabindex"));return n<=-1?false:Ct(r)}var no=ht(iD);function iD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=to(e).filter(function(i){return Qs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!oD(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 el(r,a)}function oD(e,t){return Vr(e,t)&&!ur(t)}var Qf=ht(sD);function sD(e,t){var r=no(e);return lD(r,t)}function lD(e,t){return e.reduce(function(r,n){var a=$r(t,r),i=$r(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 Ia={};fr(Ia,{accessibleText:function(){return xn},accessibleTextVirtual:function(){return Mt},autocomplete:function(){return _n},formControlValue:function(){return Rp},formControlValueMethods:function(){return gl},hasUnicode:function(){return yl},isHumanInterpretable:function(){return xl},isIconLigature:function(){return wl},isValidAutocomplete:function(){return Np},label:function(){return q_},labelText:function(){return vl},labelVirtual:function(){return lo},nativeElementType:function(){return H_},nativeTextAlternative:function(){return Ip},nativeTextMethods:function(){return Fp},removeUnicode:function(){return qa},sanitize:function(){return He},subtreeText:function(){return sn},titleText:function(){return io},unsupported:function(){return wp},visible:function(){return qp},visibleTextNodes:function(){return V_},visibleVirtual:function(){return kr}});function uD(e,t){e=e.actualNode||e;try{var r=qt(e),n=[],a=e.getAttribute(t);if(a){a=$t(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 Cr=uD;function cD(e,t){var r=Ke(e);return Mt(r,t)}var xn=cD;function dD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Cr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=xn(o,we({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var La=dD;function Pa(e){var t=rt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var fD={"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}},ep=fD,pD={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"]}},tp=pD,mD={"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"]}},hD=mD,gD={"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}},vD=gD,bD={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"]}},yD=bD,wD={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]},xD=wD,rp={ariaAttrs:ep,ariaRoles:we({},tp,hD,vD),htmlElms:yD,cssColors:xD},Bn=we({},rp);function DD(e){Object.keys(Bn).forEach(function(t){e[t]&&(Bn[t]=Gs(Bn[t],e[t]));});}function _D(){Object.keys(Bn).forEach(function(e){Bn[e]=rp[e];});}var at=Bn;function AD(e){var t=at.ariaRoles[e];return t?!!t.unsupported:false}var ul=AD;function ED(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=at.ariaRoles[e],o=ul(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Ma=ED;function CD(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 Lt?e:Ke(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?$t(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Ma(l,{allowAbstract:n})});return s||null}var Qe=CD;function SD(e){return Object.keys(at.htmlElms).filter(function(t){var r=at.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 cl=SD;function kD(){return We.get("globalAriaAttrs",function(){return Object.keys(at.ariaAttrs).filter(function(e){return at.ariaAttrs[e].global})})}var an=kD;function TD(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 jr=ht(TD);function RD(e,t){var r,n;for(t||(t=jr(qn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var ao=ht(RD);function dl(e){var t=rt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Qe(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=jr(qn(n,"table")),s=ao(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 FD(e){return ["col","auto"].indexOf(dl(e))!==-1}var Hn=FD;function ID(e){return ["row","auto"].includes(dl(e))}var Vn=ID;function LD(e){return e?e.replace(/\r\n/g,`
|
|
373
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var He=LD,np=function(){return We.get("sectioningContentSelector",function(){return cl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},ap=function(){return We.get("sectioningContentPlusMainSelector",function(){return np()+" , main:not([role]), [role=main]"})};function fl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(He(La(e))||He(Pa(e))||n&&e?.props.nodeType===1&&He(e.attr("title")))}var PD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Jt(t.parent,np())&&!fl(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=Jt(t,ap());return r?null:"contentinfo"},form:function(t){return fl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Jt(t,ap());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=an().find(function(a){return t.hasAttr(a)});return r&&!n&&!Ct(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Cr(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 fl(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=Jt(t,"table"),n=Qe(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Hn(t))return "columnheader";if(Vn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},pl=PD;function MD(e,t){var r=de(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 Dn=MD;function OD(e,t){return Dn(!!Mt(e),t)}var ip=OD;function ND(e,t){var r=de(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 Dn(e(n),t[n])})}var ml=ND;function qD(e,t){return e=rt(e).vNode,ml(function(r){return e.attr(r)},t)}var op=qD;function sp(e,t){return !!t(e)}function BD(e,t){return Dn(Qe(e),t)}var lp=BD;function HD(e,t){return Dn(Sr(e),t)}var up=HD;function VD(e,t){return e=rt(e).vNode,Dn(e.props.nodeName,t)}var cp=VD;function $D(e,t){return e=rt(e).vNode,ml(function(r){return e.props[r]},t)}var dp=$D;function jD(e,t){return Dn(Ye(e),t)}var fp=jD,pp={hasAccessibleName:ip,attributes:op,condition:sp,explicitRole:lp,implicitRole:up,nodeName:cp,properties:dp,semanticRole:fp};function mp(e,t){return e=rt(e).vNode,Array.isArray(t)?t.some(function(r){return mp(e,r)}):typeof t=="string"?Ps(e,t):Object.keys(t).every(function(r){if(!pp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=pp[r],a=t[r];return n(e,a)})}var hp=mp;function zD(e,t){return hp(e,t)}var Qt=zD;Qt.hasAccessibleName=ip,Qt.attributes=op,Qt.condition=sp,Qt.explicitRole=lp,Qt.fromDefinition=hp,Qt.fromFunction=ml,Qt.fromPrimative=Dn,Qt.implicitRole=up,Qt.nodeName=cp,Qt.properties=dp,Qt.semanticRole=fp;var Oa=Qt;function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=at.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=Z(a,L);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=Z(l,P),m=Array.isArray(u)?u:[u],b=0;b<m.length&&n;b++)if(m[b].hasOwnProperty("hasAccessibleName"))return a;if(Oa(e,u))for(var A in c)c.hasOwnProperty(A)&&(o[A]=c[A]);}for(var R in i.default)i.default.hasOwnProperty(R)&&typeof o[R]>"u"&&(o[R]=i.default[R]);return o}var on=GD;function UD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Lt?e:Ke(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=pl[a];if(!i&&r){var o=on(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Sr=UD,WD={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 gp(e,t){var r=WD[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=Qe(e.parent,t);return ["none","presentation"].includes(n)&&!bp(e.parent)?n:n?null:gp(e.parent,t)}function vp(e,t){var r=t.chromium,n=Z(t,q),a=Sr(e,{chromium:r});if(!a)return null;var i=gp(e,n);return i||a}function bp(e){var t=an().some(function(r){return e.hasAttr(r)});return t||Ct(e)}function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=Z(t,M),a=rt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Qe(i,n);return o?["presentation","none"].includes(o)&&bp(i)?r?null:vp(i,n):o:r?null:vp(i,n)}function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=Z(t,$),a=XD(e,n);return r&&["presentation","none"].includes(a)?null:a}var Ye=YD,KD=["iframe"];function JD(e){var t=rt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Qt(r,KD)&&["none","presentation"].includes(Ye(r))?"":r.attr("title")}var io=JD;function ZD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Lt?e:Ke(e),e.props.nodeType!==1)return false;var n=Ye(e),a=at.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var yp=ZD;function QD(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=Cr(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(_e(i),_e(a))}return _e(r)}var Na=QD,wp={accessibleNameFromFieldValue:["progressbar"]};function yt(e){return e=rt(e).vNode,hl(e)}var hl=ht(function(t,r){return Df(t)||ro(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Ys(t,hl):nn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?hl(t.parent,true):true});function xp(e,t,r){var n=rt(e),a=n.vNode,i=t?yt:Zt,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 xp(l,t)}).join("");return He(s)}var kr=xp,e_=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function t_(e){e=e instanceof Lt?e:Ke(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!e_.includes((e.attr("type")||"").toLowerCase())}var Dp=t_;function r_(e){e=e instanceof Lt?e:Ke(e);var t=e.props.nodeName;return t==="select"}var _p=r_;function n_(e){var t=Qe(e);return t==="textbox"}var Ap=n_;function a_(e){var t=Qe(e);return t==="listbox"}var Ep=a_;function i_(e){var t=Qe(e);return t==="combobox"}var Cp=i_,o_=["progressbar","scrollbar","slider","spinbutton"];function s_(e){var t=Qe(e);return o_.includes(t)}var Sp=s_,kp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],gl={nativeTextboxValue:u_,nativeSelectValue:c_,ariaTextboxValue:d_,ariaListboxValue:Tp,ariaComboboxValue:f_,ariaRangeValue:p_};function l_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=wp.accessibleNameFromFieldValue||[],a=Ye(e);if(t.startNode===e||!kp.includes(a)||n.includes(a))return "";var i=Object.keys(gl).map(function(s){return gl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&bn(o||"{empty-value}",r,t),o}function u_(e){var t=rt(e),r=t.vNode;return Dp(r)&&r.props.value||""}function c_(e){var t=rt(e),r=t.vNode;if(!_p(r))return "";var n=tr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return kr(i)}).join(" ")||""}function d_(e){var t=rt(e),r=t.vNode,n=t.domNode;return Ap(r)?!n||n&&!nn(n)?kr(r,true):n.textContent:""}function Tp(e,t){var r=rt(e),n=r.vNode;if(!Ep(n))return "";var a=Na(n).filter(function(i){return Ye(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Mt(a[0],t)}function f_(e,t){var r=rt(e),n=r.vNode;if(!Cp(n))return "";var a=Na(n).filter(function(i){return Ye(i)==="listbox"})[0];return a?Tp(a,t):""}function p_(e){var t=rt(e),r=t.vNode;if(!Sp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Rp=l_;function m_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Mt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Ye(e),l=on(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||kp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!yp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=we({subtreeDescendant:c},t);}return Na(e).reduce(function(m,b){return g_(m,b,t)},"")}var h_=cl("phrasing").concat(["#text"]);function g_(e,t,r){var n=t.props.nodeName,a=Mt(t,r);return a?(h_.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var sn=m_;function v_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Mt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=we({inControlContext:true},t),a=b_(e),i=Jt(e,"label"),o;return i?(o=[].concat(_e(a),[i.actualNode]),o.sort(Gl)):o=a,o.map(function(s){return xn(s,n)}).filter(function(s){return s!==""}).join(" ")}function b_(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return gf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var vl=v_,y_={submit:"Submit",image:"Submit",reset:"Reset",button:""},w_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return y_[t.props.type]||""},tableCaptionText:oo.bind(null,"caption"),figureText:oo.bind(null,"figcaption"),svgTitleText:oo.bind(null,"title"),fieldsetLegendText:oo.bind(null,"legend"),altText:bl.bind(null,"alt"),tableSummaryText:bl.bind(null,"summary"),titleText:io,subtreeText:sn,labelText:vl,singleSpace:function(){return " "},placeholderText:bl.bind(null,"placeholder")};function bl(e,t){return t.attr(e)||""}function oo(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?"":xn(i,r)}var Fp=w_;function Ip(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Ye(e)))return "";var n=x_(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(a||"{empty-value}",r,t),a}function x_(e){var t=on(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Fp[n]})}function Lp(){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 Pp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Mp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Op(){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 D_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=os().test(e))),n&&(i||(i=Lp().test(e)||Mp().test(e)||Op().test(e))),a&&(i||(i=Pp().test(e))),i}var yl=D_;function wl(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(!He(n)||yl(n,{emoji:true,nonBmp:true}))return false;var a=We.get("canvasContext",function(){return g.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=We.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),A=a.measureText(b).width;if(A===0)return u.numLigatures++,true;if(A<30){var R=30/A;A*=R,c*=R,m="".concat(c,"px ").concat(l);}i.width=A,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,A,c).data.buffer);if(!O.some(function(ne){return ne}))return u.numLigatures++,true;a.clearRect(0,0,A,c),a.fillText(n,0,0);var B=new Uint32Array(a.getImageData(0,0,A,c).data.buffer),V=O.reduce(function(ne,se,fe){return se===0&&B[fe]===0||se!==0&&B[fe]!==0?ne:++ne},0),z=n.split("").reduce(function(ne,se){return ne+a.measureText(se).width},0),X=a.measureText(n).width,Y=V/O.length,J=1-X/z;return Y>=t&&J>=t?(u.numLigatures++,true):false}function Mt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=C_(e,t),A_(e,t)||E_(e,t))return "";var r=[La,Pa,Ip,Rp,sn,__,io],n=r.reduce(function(a,i){return t.startNode===e&&(a=He(a)),a!==""?a:i(e,t)},"");return t.debug&&p.log(n||"{empty-value}",e.actualNode,t),n}function __(e){return e.props.nodeType!==3?"":e.props.nodeValue}function A_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!yt(e)}function E_(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:wl(e,a,i)}function C_(e,t){return t.startNode||(t=we({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=we({includeHidden:!yt(e)},t)),t}Mt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function S_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(os(),"")),n&&(e=e.replace(Lp(),"").replace(Mp(),"").replace(Op(),"")),a&&(e=e.replace(Pp(),"")),e}var qa=S_;function k_(e){return T_(e)||R_(e)||F_(e)||I_(e)?0:1}function T_(e){return He(e).length===0}function R_(e){return e.length===1&&e.match(/\D/)}function F_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function I_(e){var t=qa(e,{emoji:true,nonBmp:true,punctuations:true});return !He(t)}var xl=k_,_n={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 L_(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,A=b===void 0?[]:b,R=t.ignoredValues,O=R===void 0?[]:R;if(e=e.toLowerCase().trim(),i=i.concat(_n.stateTerms),i.includes(e)||e==="")return true;u=u.concat(_n.qualifiers),s=s.concat(_n.locations),m=m.concat(_n.standaloneTerms),A=A.concat(_n.qualifiedTerms);var B=e.split(/\s+/g);if(B[B.length-1]==="webauthn"&&(B.pop(),B.length===0)||!n&&(B[0].length>8&&B[0].substr(0,8)==="section-"&&B.shift(),s.includes(B[0])&&B.shift(),u.includes(B[0])&&(B.shift(),m=[]),B.length!==1))return false;var V=B[B.length-1];if(!O.includes(V))return m.includes(V)||A.includes(V)}var Np=L_;function P_(e){var t,r;return e.attr("aria-labelledby")&&(t=Cr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ke(n);return a?kr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=He(r),r))?r:null}var so=P_;function M_(e,t,r){return e=Ke(e),kr(e,t,r)}var qp=M_;function O_(e){var t,r,n;if(r=so(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=Dt(e.attr("id"));if(n=qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&qp(t,true),r)return r}return t=Jt(e,"label"),r=t&&kr(t,true),r||null}var lo=O_;function N_(e){return e=Ke(e),lo(e)}var q_=N_,B_=[{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"]}],H_=B_;function Bp(e){var t=Zt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Bp(n));}),r}var V_=Bp,$_=ht(function(t){var r=Ke(t),n=r.boundingClientRect,a=[],i=Ta(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||He(o.nodeValue)==="")){var s=j_(o);z_(s,n)||a.push.apply(a,_e(Hp(s,i)));}}),a.length?a:Hp([n],i)}),Dl=$_;function j_(e){var t=g.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function z_(e,t){return e.some(function(r){var n=Ra(r);return !Ji(n,t)})}function Hp(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&&Zi(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function G_(e){var t=eo(e);if(!t)return [];var r=Dl(e);return r.map(function(n){return sl(t,n)})}var _l=G_,U_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function W_(e){var t=rt(e),r=t.vNode,n=p.commons.aria.getExplicitRole(r);if(n)return U_.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 Al=W_,X_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function uo(e){return X_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Vp(e,t,r){return uo(e)||Al(e.actualNode)||!r&&!!so(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Vp(n)})}var Ba=Vp;function Y_(e,t,r){return e=Ke(e),Ba(e,t,r)}var co=Y_;function El(e){return typeof e.children>"u"||uo(e)?true:e.props.nodeType===1&&Al(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&El(t)&&!nn(t)})}function K_(e){var t=Rr(e.getAttribute("tabindex"));return t>-1&&Ct(e)&&!ll(e)}var $p=K_;function jp(e,t){var r=rt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=zp(a,t)),n._isHiddenWithCSS):zp(a,t)}function zp(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=Pt(e);return o&&!a.includes(i)?jp(o,i):false}var J_=jp;function Z_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Gp=Z_;function Q_(e){var t;(e instanceof Lt||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=p.commons.aria.getRole(e));var r=at.ariaRoles[e];return r?.type||null}var yr=Q_,eA=["block","list-item","table","flex","grid"],tA=["inline-block","inline-flex","inline-grid"];function rA(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=rt(e),o=i.vNode,s=i.domNode;if(Sl(s)||!a&&nA(o))return false;var l=aA(s),u="",c="",m=0;return Up(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 A=(b.nodeName||"").toUpperCase();b===s&&(m=1);var R=Sl(b);if((R||["BR","HR"].includes(A))&&(m===0?(u="",c=""):m=2),R||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(yr(b)==="widget")return c+=b.textContent,false}}),u=He(u),r?u.length!==0:(c=He(c),u.length>c.length)}var Cl=rA;function Sl(e){var t=rt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return eA.includes(n)||n.substr(0,6)==="table-"}function nA(e){var t=e.getComputedStylePropertyValue("display");return tA.includes(t)}function Up(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Up(r,t)});}function aA(e){for(var t=Pt(e);t&&!Sl(t);)t=Pt(t);return Ke(t)}function iA(e){e=e||{};var t=e.modalPercent||.75;if(We.get("isModalOpen"))return We.get("isModalOpen");var r=Fr(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zt);if(r.length)return We.set("isModalOpen",true),true;for(var n=Xi(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(A){return Array.from(g.elementsFromPoint(A.x,A.y))}),c=function(){var R=u[b].find(function(O){var B=d.getComputedStyle(O);return parseInt(B.width,10)>=a&&parseInt(B.height,10)>=i&&B.getPropertyValue("pointer-events")!=="none"&&(B.position==="absolute"||B.position==="fixed")});if(R&&u.every(function(O){return O.includes(R)}))return We.set("isModalOpen",true),{v:true}},m,b=0;b<u.length;b++)if(m=c(),m)return m.v;We.set("isModalOpen",void 0);}var Ha=iA;function Wp(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 oA(e){return e instanceof d.Node}var sA=oA,kl="color.incompleteData",lA={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=We.get(kl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=We.get(kl);return r?.[t]},clear:function(){We.set(kl,{});}},gt=lA;function uA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return gt.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);gt.set("bgColor",o?"bgGradient":"bgImage");}return i}var fo=uA,cA=/^#[0-9a-f]{3,8}$/i,dA=/hsl\(\s*([-\d.]+)(rad|turn)/,Va=(Ue=new WeakMap,tt=new WeakMap,ot=new WeakMap,mt=new WeakMap,Je=new WeakMap,Oe=new WeakMap,Xt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),ni(this,Xt),Nt(this,Ue,void 0),Nt(this,tt,void 0),Nt(this,ot,void 0),Nt(this,mt,void 0),Nt(this,Je,void 0),Nt(this,Oe,void 0),t instanceof Va){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 zt(e,[{key:"r",get:function(){return jt(Ue,this)},set:function(r){It(Ue,this,r),It(mt,this,Math.round($n(r,0,1)*255));}},{key:"g",get:function(){return jt(tt,this)},set:function(r){It(tt,this,r),It(Je,this,Math.round($n(r,0,1)*255));}},{key:"b",get:function(){return jt(ot,this)},set:function(r){It(ot,this,r),It(Oe,this,Math.round($n(r,0,1)*255));}},{key:"red",get:function(){return jt(mt,this)},set:function(r){It(Ue,this,r/255),It(mt,this,$n(r,0,255));}},{key:"green",get:function(){return jt(Je,this)},set:function(r){It(tt,this,r/255),It(Je,this,$n(r,0,255));}},{key:"blue",get:function(){return jt(Oe,this)},set:function(r){It(ot,this,r/255),It(Oe,this,$n(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(dA,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,pA(o));case "turn":return i.replace(l,mA(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=qd.default);var a=new ft(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 gt.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(cA)||[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 Wr(Xt,this,fA).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 Va(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=De(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 Va(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 fA(e){var t=new Va(this);return t.r+=e,t.g+=e,t.b+=e,t}var wt=Va;function $n(e,t,r){return Math.min(Math.max(t,e),r)}function pA(e){return e*180/Math.PI}function mA(e){return e*360}function hA(e){var t=new wt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var An=hA;function gA(e){var t=d.getComputedStyle(e);return fo(e,t)||An(t).alpha===1}var vA=gA;function Tl(e){if(!e.href)return false;var t=We.get("firstPageLink",bA);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function bA(){var e;return d.location.origin?e=tr(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !al(t.actualNode)}):e=tr(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var yA=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,wA=/(\w+)\((\d+)/;function xA(e){var t=e.getPropertyValue("clip").match(yA),r=e.getPropertyValue("clip-path").match(wA);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 DA(e,t,r){var n=qn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=qt(e);if(!i||i.nodeType!==9)return false;var o=tr(p._tree,'img[usemap="#'.concat(Dt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return po(l,t,r)})}function po(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Lt?e:Ke(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,A=true;return b&&(A=po(b,t,true)),a&&(a[i]=A),A}var R=d.getComputedStyle(e,null);if(R===null)return false;if(c==="area")return DA(e,t,r);if(R.getPropertyValue("display")==="none")return false;var O=parseInt(R.getPropertyValue("height")),B=parseInt(R.getPropertyValue("width")),V=zr(e),z=V&&O===0,X=V&&B===0,Y=R.getPropertyValue("position")==="absolute"&&(O<2||B<2)&&R.getPropertyValue("overflow")==="hidden";if(!t&&(xA(R)||R.getPropertyValue("opacity")==="0"||z||X||Y)||!r&&(R.getPropertyValue("visibility")==="hidden"||!t&&Ki(e)))return false;var J=e.assignedSlot?e.assignedSlot:e.parentNode,ne=false;return J&&(ne=po(J,t,true)),a&&(a[i]=ne),ne}var _A=po;function AA(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 Xp=AA;function Yp(e,t){var r=Kp(t);do{var n=Kp(e);if(n===r||n===t)return EA(e,t);e=n;}while(e);return false}function Kp(e){for(var t=Ke(e),r=t.parent;r;){if(zr(r.actualNode))return r.actualNode;r=r.parent;}}function EA(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 Jp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return qt(a)===r}).reduce(function(a,i){if(Wi(i)){var o=Jp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Yp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var CA=Jp;function SA(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=g.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=TA(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:kA(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:RA(n.search),hash:FA(n.hash),filename:l}}}function kA(e){var t=["443","80"];return t.includes(e)?"":e}function TA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function RA(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=De(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function FA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=De(r,1),a=n[0];return a==="#"?"":e}var IA=SA;function LA(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 Rl=LA,Zp=0,PA=(function(e){function t(r,n,a){var i;if(rr(this,t),i=ee(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Zp=0),i.nodeIndex=Zp++,i._isHidden=null,i._cache={},i._isXHTML=wa(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Ao().includes(o)||(o="text"),i._type=o;}return We.get("nodeMap")&&We.get("nodeMap").set(r,i),i}return Ge(t,e),zt(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=Ct(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Zf(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}}])})(Lt),Fl=PA;function MA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var $t=MA,En=" [idsMap]";function Qp(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 em(l)}))return;var o=new Set;t.forEach(function(l){var u,c=OA(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(m){c.isComplexSelector&&!Ln(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 OA(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(em(n))a=t["*"];else {if(n.id){var o;if(!t[En]||!Object.hasOwn(t[En],n.id)||!((o=t[En][n.id])!==null&&o!==void 0&&o.length))return;a=t[En][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?Il(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?Il(c,a):c;}if(n.attributes)for(var m=0;m<n.attributes.length;m++){var b,A=n.attributes[m];if(A.type==="attrValue"&&(i=true),!((b=t["[".concat(A.key,"]")])!==null&&b!==void 0&&b.length))return;var R=t["[".concat(A.key,"]")];a=a?Il(R,a):R;}}return {nodes:a,isComplexSelector:i}}function em(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Il(e,t){return e.filter(function(r){return t.includes(r)})}function mo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function tm(e,t){e.props.nodeType===1&&(mo(e.props.nodeName,e,t),mo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[En]=t[En]||{},$t(e.attr(r)).forEach(function(n){mo(n,e,t[En]);})),mo("[".concat(r,"]"),e,t);}));}var Ll;function Pl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.documentElement,t=arguments.length>1?arguments[1]:void 0;Ll=false;var r={};We.set("nodeMap",new WeakMap),We.set("selectorMap",r);var n=rm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Ll,n}function NA(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Ml(e,t,r){var n=new Fl(e,t,r);return tm(n,We.get("selectorMap")),n}function ho(e,t,r){var n=[];return e.forEach(function(a){var i=rm(a,r,t);i&&n.push.apply(n,_e(i));}),n}function rm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Wi(e))return Ll=true,n=Ml(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=ho(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),ho(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=NA(e));d.getComputedStyle(e);return ho(a,r,t)}if(e.nodeType===g.ELEMENT_NODE)return n=Ml(e,r,t),a=Array.from(e.childNodes),n.children=ho(a,n,t),[n];if(e.nodeType===g.TEXT_NODE)return [Ml(e,r)]}function qA(e){return e?e.trim().split("-")[0].toLowerCase():""}var Cn=qA;function BA(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
374
|
|
|
375
|
-
`)}var
|
|
376
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function lm(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 Ye(l)});r.push.apply(r,ke(o));}else r.push(Ye(i));else if(i&&i.length)if(i.length>1)t2(e,t,i);else {var s=Yl(i[0]);r.push.apply(r,ke(s.map(function(l){return Ye(l)})));}}return r.filter(function(l){return l})}function t2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Yl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=om(i,e),e.frames.push(o)),o[t].push(r);});}function bo(e,t){var r,n,a,i,o=this;e=Hr(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=Y_(e),this.flatTree=t??Pl(i2(e)),this.exclude=e.exclude,this.include=e.include,this.include=lm(this,"include"),this.exclude=lm(this,"exclude"),Xl("frame, iframe",this).forEach(function(s){jl(s,o)&&r2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=n2(this),this.frames.forEach(function(s){s.page=o.page;})),a2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Gl);}function r2(e,t){!bt(t)||Sa(e.frames,"node",t)||e.frames.push(om(t,e));}function n2(e){var t=e.include;return t.length===1&&t[0].actualNode===g.documentElement}function a2(e){if(e.include.length===0&&e.frames.length===0){var t=br.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function i2(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 g.documentElement}function o2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new bo(e),n=r.frames;return n.map(function(a){var i=a.node,o=ee(a,H);o.initiator=false;var s=Bi(i);return {frameSelector:s,frameContext:o}})}function um(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 s2(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=cm(a,"overflow-x"),o=cm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function cm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var zr=mt(s2);function dm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=zr(r);return n&&t.push(n),t.concat(dm(r))},[])}function l2(){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(dm(g.body))}var u2=l2;function c2(){return Hr(at)}function d2(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 fm=d2,er;function f2(e){if(er&&er.parentNode)return er.styleSheet===void 0?er.appendChild(g.createTextNode(e)):er.styleSheet.cssText+=e,er;if(e){var t=g.head||g.getElementsByTagName("head")[0];return er=g.createElement("style"),er.type="text/css",er.styleSheet===void 0?er.appendChild(g.createTextNode(e)):er.styleSheet.cssText=e,t.appendChild(er),er}}var p2=f2;function Bl(e){return !!e&&fe(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Tr(e,t){return !e||fe(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function pm(e){return Hl(e)||yo(e)}function Hl(e){return ["include","exclude"].some(function(t){return Tr(e,t)&&yo(e[t])})}function yo(e){return typeof e=="string"||e instanceof d.Node||Vl(e)||wo(e)||Bl(e)}function Vl(e){return Tr(e,"fromFrames")}function wo(e){return Tr(e,"fromShadowDom")}function mm(e,t){var r=Ye(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=mm(a,true);return r&&(r._isHidden=i),i}var m2=mm;function h2(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:!!at.htmlElms[n]}var $l=h2;function jl(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 Vr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Vr(c,e)});if(s.length===0)return true;var l=hm(o),u=hm(s);return Vr(u,l)}function hm(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Vr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function zl(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 g2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Gl=g2;function rt(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:Ye(e),domNode:e}}function v2(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(ke(r),[m]),A=/^https?:\/\/|^\/\//i.test(c);return Wl(c,t,b,n,A)}),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 gm=v2;function b2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=y2(e);return i?gm(e,t,r,n,a):Wl(e.href,t,r,n,true)}function y2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Ul=b2;function w2(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=We.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 Ul(o.sheet,t,r,n,o.isCrossOrigin)})}var Wl=w2;function x2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Rr=x2,D2=(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(N){return Array.isArray(N)?N[N.length-1]:N},u=function(N){i._log("Measure "+N.name+" took "+N.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(R){return R.startTime>=c.startTime}),b=0;b<m.length;++b){var A=m[b];if(A.name===a){u(A);return}else a||u(A);}}},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){bn(a);}}})(),st=D2;function vm(){if(g.elementsFromPoint)return g.elementsFromPoint;if(g.msElementsFromPoint)return g.msElementsFromPoint;var e=(function(){var a=g.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=g.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(g.head.appendChild(n);(o=g.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(g.documentElement)<u.length-1&&(u.splice(u.indexOf(g.documentElement),1),u.push(g.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return g.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(g.elementsFromPoint=vm());function A2(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var ja=A2;function bm(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 _2(e,t,r){for(var n=Ue.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=bm(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,A=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),R=false,N=0;N<A;N++){var q,$,z,W=N<(((q=o.anyLevel)===null||q===void 0?void 0:q.length)||0)?o.anyLevel[N]:o.thisLevel[N-((($=o.anyLevel)===null||$===void 0?void 0:$.length)||0)];if((!W[0].id||c.shadowId===o.parentShadowId)&&Ln(c,W[0]))if(W.length===1)!R&&(!r||r(c))&&(s.push(c),R=true);else {var X=W.slice(1);if([" ",">"].includes(X[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+W[1].combinator);X[0].combinator===">"?(m=m||[]).push(X):(b=b||[]).push(X);}(!W[0].id||c.shadowId===o.parentShadowId)&&(z=o.anyLevel)!==null&&z!==void 0&&z.includes(W)&&(b=b||[]).push(W);}for(c.children&&c.children.length&&(a.push(o),o=bm(c.children,b,m,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function E2(e,t,r){e=Array.isArray(e)?e:[e];var n=Hi(t),a=Qp(e,n,r);return a||_2(e,n,r)}var Fr=E2;function C2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=S2(r);if(!n.length)return Promise.resolve();var a=g.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=fm(a);return k2(n,i).then(function(o){return wm(o)})}var ym=C2;function S2(e){var t=[],r=Fr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:ka(n.actualNode)}});return ja(r,[])}function k2(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=T2(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,A){var R=[l,A];return Ul(b,u,R,c)}));r.push(m);}),Promise.all(r)}function wm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(wm(r)):t.concat(r)},[])}function T2(e,t,r){var n;return e.nodeType===11&&t?n=R2(e,r):n=F2(e),L2(n)}function R2(e,t){return Array.from(e.children).filter(I2).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 F2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?xm(t.media.mediaText):false})}function I2(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&&xm(e.media)}function xm(e){return e?!e.toUpperCase().includes("PRINT"):true}function L2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function P2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=Fr(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 O2(i)}))}var Dm=P2;function O2(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Am(e){var t={cssom:ym,media:Dm};return _m(e)?new Promise(function(r,n){var a=Em(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 G({},l,u)})})).then(function(l){var u=l.reduce(function(c,m){return Fe({},c,m)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function M2(e){return fe(e)==="object"&&Array.isArray(e.assets)}function _m(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:M2(e.preload)}function Em(e){var t=We.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=ja(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 xo(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},n=Sa(p._audit.rules,"id",e.id)||{};e.tags=Hr(n.tags||[]);var a=Cm(t,true,n),i=Cm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Us(e,Hr(r[e.id]||{}));}function N2(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Nl()}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 Cm(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=N2(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=ql(o.message,n.data)),Us(n,o);}}function q2(e,t){return Fr(e,t)}var tr=q2;function Sm(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 B2(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?Sm(e,n.values):Sm(e,[])}var km=B2;function Tm(e,t){if(!t)return e;var r=e.cloneNode(false),n=da(r);if(r.nodeType===1){var a=r.outerHTML;r=Ue.get(a,function(){return Rm(r,n,e,t)});}else r=Rm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Tm(i,t));}),r}function Rm(e,t,r,n){return t&&(e=g.createElement(e.nodeName),Array.from(t).forEach(function(a){H2(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function H2(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Rn(e,r[t])}function Xl(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=V2(t.include),l=$2(t),u=0;u<s.length;u++){n=s[u];var c=Fr(n,e,l);r=j2(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function V2(e){return e.reduce(function(t,r){return (!t.length||!Vr(t[t.length-1],r))&&t.push(r),t},[])}function $2(e){return !e.exclude||e.exclude.length===0?null:function(t){return jl(t,e)}}function j2(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 Do(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(We.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?Do(e.cause,t+1):"..."),r}var z2=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return rr(this,t),a=Q(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=Do(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return Oe(t,e),zt(t)})(V(Error)),Ao=z2;function G2(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function U2(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return G2(r,n,a)});}var W2=U2;function X2(e){var t=Array.isArray(e)?ke(e):[e];return Fm(t,g)}function Fm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Fm(e,n.shadowRoot):null}function Yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g,r=Array.isArray(e)?ke(e):[e];return e.length===0?[]:Im(r,t)}function Im(e,t){var r=P(e),n=r[0],a=fn(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,ke(Im(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function Y2(){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 _o=Y2,Lm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 K2(e){for(var t=Lm;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 Pm(e){e=Array.isArray(e)?e:Lm;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Pm(r).map(function(i){return a+i})):t.push(a);}),t}var Eo=K2,J2=(function(e){function t(r){var n;return rr(this,t),n=Q(this,t),n._props=Q2(r),n._attrs=eE(r),n}return Oe(t,e),zt(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)}}])})(Ft),Kl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Om={},Z2=Object.keys(Kl);Z2.forEach(function(e){Om[Kl[e]]=e;});function Q2(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Om[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Kl[e.nodeName])!==null&&r!==void 0?r:1;nt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),nt(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(),_o().includes(o)||(o="text"));var s=Fe({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function eE(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(nt(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 Mm=J2;function tE(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(g.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 Nm=tE,za={},qm;function Bm(e){return za.hasOwnProperty(e)}function Jl(e){return typeof e=="string"&&za[e]?za[e]:typeof e=="function"?e:qm}function rE(e,t,r){za[e]=t,r&&(qm=t);}function nE(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=De(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=De(s,3),u=l[0],c=l[1],m=l[2],b=p.version.split("-"),A=De(b,2),R=A[0],N=A[1],q=R.split(".").map(Number),$=De(q,3),z=$[0],W=$[1],X=$[2];if(u!==z||W<c||W===c&&X<m||u===z&&c===W&&m===X&&o&&o!==N)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||Bm(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(ne){if(!ne.id)throw new TypeError("Configured check ".concat(JSON.stringify(ne)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ne);});}var K=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ne){if(!ne.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ne)," is invalid. Rules must be an object with at least an id property"));K.push(ne.id),t.addRule(ne);});}if(e.disableOtherRules&&t.rules.forEach(function(ne){K.includes(ne.id)===false&&(ne.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&&DD(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(We.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var aE=nE;function iE(e){br.updateMessenger(e);}function oE(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 sE=oE;function lE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Ba(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var uE=lE,Hm={};fr(Hm,{getAllCells:function(){return Zl},getCellPosition:function(){return ao},getHeaders:function(){return Co},getScope:function(){return dl},isColumnHeader:function(){return Hn},isDataCell:function(){return $m},isDataTable:function(){return So},isHeader:function(){return hE},isRowHeader:function(){return Vn},toArray:function(){return jr},toGrid:function(){return jr},traverse:function(){return Ql}});function cE(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 Zl=cE;function Vm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Vn:Hn,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,A=e==="row"?0:t.x,R,N=[],q=c;q>=b&&!R;q--)for(var $=m;$>=A;$--){var z=r[q]?r[q][$]:void 0;if(z){var W=p.utils.getNodeFromTree(z);if(W[n]){R=W[n];break}N.push(z);}}return R=(R||[]).concat(N.filter(a)),N.forEach(function(X){var K=p.utils.getNodeFromTree(X);K[n]=R;}),R}function dE(e,t){if(e.getAttribute("headers")){var r=Cr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=jr(qn(e,"table")));var n=ao(e,t),a=Vm("row",n,t),i=Vm("col",n,t);return [].concat(a,i).reverse()}var Co=dE;function fE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Qe(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var $m=fE;function pE(e){var t=Qe(e);if((t==="presentation"||t==="none")&&!Et(e))return false;if(e.getAttribute("contenteditable")==="true"||qn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||yr(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(Qe(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 A,R,N=0;N<i;N++){if(o=e.rows[N],A&&A!==d.getComputedStyle(o).getPropertyValue("background-color")||(A=d.getComputedStyle(o).getPropertyValue("background-color"),R&&R!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;R=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ks(e).width>Xi(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var So=pE;function mE(e){if(Hn(e)||Vn(e))return true;if(e.getAttribute("id")){var t=xt(e.getAttribute("id"));return !!g.querySelector('[headers~="'.concat(t,'"]'))}return false}var hE=mE;function jm(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=jm(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function gE(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 jm(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var Ql=gE,zm={};fr(zm,{allowedAttr:function(){return Gm},arialabelText:function(){return Pa},arialabelledbyText:function(){return La},getAccessibleRefs:function(){return eu},getElementUnallowedRoles:function(){return Xm},getExplicitRole:function(){return Qe},getImplicitRole:function(){return Sr},getOwnedVirtual:function(){return Na},getRole:function(){return Xe},getRoleType:function(){return yr},getRolesByType:function(){return kE},getRolesWithNameFromContents:function(){return FE},implicitNodes:function(){return LE},implicitRole:function(){return Sr},isAccessibleRef:function(){return ko},isAriaRoleAllowedOnElement:function(){return Wm},isComboboxPopup:function(){return ru},isUnsupportedRole:function(){return ul},isValidRole:function(){return Oa},label:function(){return Zm},labelVirtual:function(){return so},lookupTable:function(){return Km},namedFromContents:function(){return yp},requiredAttr:function(){return Qm},requiredContext:function(){return nu},requiredOwned:function(){return au},validateAttr:function(){return To},validateAttrValue:function(){return e1}});function vE(e){var t=at.ariaRoles[e],r=ke(an());return t&&(t.allowedAttrs&&r.push.apply(r,ke(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ke(t.requiredAttrs))),r}var Gm=vE,bE=/^idrefs?$/;function Um(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=Ve(e.getAttribute(i)||"");if(o){var s=it(Vt(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&&Um(e.childNodes[c],t,r);}function yE(e){var t;e=e.actualNode||e;var r=Nt(e);r=r.documentElement||r;var n=Ue.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(at.ariaAttrs).filter(function(o){var s=at.ariaAttrs[o].type;return bE.test(s)});Um(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var eu=yE;function wE(e,t){var r=e instanceof Ft?e:Ye(e),n=Sr(r),a=on(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Wm=wE,xE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],DE={header:"banner",footer:"contentinfo"};function AE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Vt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Oa(n)})}function _E(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=rt(e),n=r.vNode;if(!$l(n))return [];var a=n.props.nodeName,i=Sr(n)||DE[a],o=AE(n);return o.filter(function(s){return !EE(s,n,t,i)})}function EE(e,t,r,n){return r&&e===n?true:xE.includes(e)&&yr(e)!==n?false:Wm(t,e)}var Xm=_E;function CE(e){return Object.keys(at.ariaRoles).filter(function(t){return at.ariaRoles[t].type===e})}var jn=CE;function SE(e){return jn(e)}var kE=SE;function TE(){return Ue.get("ariaRolesNameFromContent",function(){return Object.keys(at.ariaRoles).filter(function(e){return at.ariaRoles[e].nameFromContent})})}var tu=TE;function RE(){return tu()}var FE=RE,Ym=function(t){return t===null},qt=function(t){return t!==null},Gr={};Gr.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}},Gr.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"],Gr.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:qt}}]},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:qt}}]},"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:qt}}]},"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:qt}}]},"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:qt}}]},"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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},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:qt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Gr.implicitHtmlRole=pl,Gr.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:qt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:qt}},{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"]}],Gr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Ym}},{nodeName:"img",attributes:{alt:Ym}},{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"]}],Gr.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}},Gr.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 Km=Gr;function IE(e){var t=null,r=Km.role[e];return r&&r.implicit&&(t=Hr(r.implicit)),t}var LE=IE;function PE(e){return !!eu(e).length}var ko=PE;function ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Xe(e);if(r??(r=ep["aria-haspopup"].values),!r.includes(n))return false;var a=OE(e);if(Jm(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=ka(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(Jm)}var Jm=function(t){return t&&Xe(t)==="combobox"};function OE(e){for(;e=e.parent;)if(Xe(e,{noPresentational:true})!==null)return e;return null}function ME(e){return e=Ye(e),so(e)}var Zm=ME;function NE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ke(t.requiredAttrs)}var Qm=NE;function qE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ke(t.requiredContext)}var nu=qE;function BE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ke(t.requiredOwned)}var au=BE;function HE(e,t){e=e instanceof Ft?e:Ye(e);var r,n,a=e.attr(t),i=at.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=Vt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Nt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Cr(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 e1=HE;function VE(e){var t=at.ariaAttrs[e];return !!t}var To=VE;function $E(e){var t=Zl(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 Ve(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Qe(s))!==-1}),i=jr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=ao(s,i),u=false;Hn(s)&&(u=Ql("down",l,i).find(function(c){return !Hn(c)&&Co(c,i).includes(s)})),!u&&Vn(s)&&(u=Ql("right",l,i).find(function(c){return !Vn(c)&&Co(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var jE=$E,Ga=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],t1=Ga[0],r1=Ga[1],n1=Ga[2],iu=Ga[3];function zE(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]=Xe(o));}var l=G(G(G(G({},n1,new Set),t1,new Set),r1,new Set),iu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!bt(b))){var A=b.getAttribute("headers").trim();if(!A){l[iu].add(b);return}var R=b.getAttribute("id"),N=Vt(A);N.forEach(function(q){R&&q===R?l[n1].add(b):r[q]?["columnheader","rowheader"].includes(r[q])||l[r1].add(b):l[t1].add(b);});}});var u=it(Ga),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;if(l[m].size>0)return this.relatedNodes(ke(l[m])),m===iu?void 0:(this.data({messageKey:m}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function GE(e){var t=[],r=Zl(e),n=jr(e);return r.forEach(function(a){if(co(a)&&$m(a)&&!Zm(a)){var i=Co(a,n).some(function(o){return o!==null&&!!co(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var UE=GE;function WE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var XE=WE,YE=KE;function KE(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(JE),i=a?Ve(sn(a)):false;return !i||!n?false:Ve(n).toLowerCase()===Ve(i).toLowerCase()}}function JE(e){return e.props.nodeName==="caption"}function ZE(e){return Gp(g)?e.nodeName.toUpperCase()==="TH":true}var QE=ZE;function eC(e){var t=jr(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 tC=eC;function rC(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=sn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var nC=rC,a1={};fr(a1,{getAriaRolesByType:function(){return jn},getAriaRolesSupportingNameFromContent:function(){return tu},getElementSpec:function(){return on},getElementsByContentType:function(){return cl},getGlobalAriaAttrs:function(){return an},implicitHtmlRoles:function(){return pl}});function aC(e,t,r){var n=Qe(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=Xe(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=an().some(function(l){return r.hasAttr(l)}),o=Et(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function iC(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 oC=iC;function sC(e){return Zt(e)}var lC=sC;function uC(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&&!Wp(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(Fe({value:m},c)),true;var b=cC(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Fe({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function cC(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 dC(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var fC=dC;function pC(){}var mC=pC;function hC(){var e=g.title;return !!Ve(e)}var gC=hC;function vC(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 bC=vC;function yC(e,t,r){try{return !!Ve(La(r))}catch{return}}var wC=yC;function xC(e,t,r){return !!Ve(Pa(r))}var DC=xC;function AC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Nt(e),n=Array.from(r.querySelectorAll('[id="'.concat(xt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var _C=AC;function EC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var CC=EC;function SC(e,t,r){var n=Ve(r.attr("title")).toLowerCase();return this.data(n),true}var kC=SC;function TC(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 RC=TC;function FC(e){var t=il(e,"href");return t?bt(t)||void 0:false}var IC=FC,LC=["alert","log","status"];function PC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ue.get("regionlessNodes",function(){return OC(t)});return !n.includes(r)}function OC(e){var t=i1(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==g.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function i1(e,t){var r=e.actualNode;if(Xe(e)==="button"||NC(e,t)||["iframe","frame"].includes(e.props.nodeName)||Tl(e.actualNode)&&il(e.actualNode,"href")||!bt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==g.body&&co(r,true)&&!MC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return i1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function MC(e){return ["none","presentation"].includes(Xe(e))&&!uo(e)}function NC(e,t){var r=e.actualNode,n=Xe(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=jn("landmark");return !!(["assertive","polite"].includes(a)||LC.includes(n)||i.includes(n)||t.regionMatcher&&Ma(e,t.regionMatcher))}function qC(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(zl(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 BC=qC;function HC(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 VC(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 ou(e){var t=d.getComputedStyle(VC(e));return {fontWeight:HC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function o1(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 $C(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(q){return q.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(q){return q.nodeName.toUpperCase()==="P"}),l=ou(e),u=o?ou(o):null,c=s?ou(s):null,m=t.passLength,b=t.failLength,A=e.textContent.trim().length,R=o?.textContent.trim().length;if(A>R*m||!u||!o1(l,u,i))return true;var N=Nn(r,"blockquote");if(!(N&&N.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!o1(l,c,i))&&!(A>R*b))return false}var jC=$C,zC=/[;,\s]/,GC=/^[0-9.]+$/;function UC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(zC),l=De(s,1),u=l[0];if(!u.match(GC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function WC(e,t,r){var n=tr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var XC=WC,s1={};fr(s1,{aria:function(){return zm},color:function(){return l1},dom:function(){return Ws},forms:function(){return w1},matches:function(){return Ma},math:function(){return Pf},standards:function(){return a1},table:function(){return Hm},text:function(){return Ia},utils:function(){return as}});var l1={};fr(l1,{Color:function(){return yt},centerPointOfRect:function(){return KC},elementHasImage:function(){return fo},elementIsDistinct:function(){return c1},filteredRectStack:function(){return eS},flattenColors:function(){return Ir},flattenShadowColors:function(){return lu},getBackgroundColor:function(){return Wa},getBackgroundStack:function(){return uu},getContrast:function(){return zn},getForegroundColor:function(){return Io},getOwnBackgroundColor:function(){return _n},getRectStack:function(){return d1},getStackingContext:function(){return du},getStrokeColorsFromShadows:function(){return cu},getTextShadowColors:function(){return Fo},hasValidContrastRatio:function(){return DS},incompleteData:function(){return ht},parseTextShadows:function(){return m1},stackingContextToColor:function(){return Ua}});function YC(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 KC=YC;function u1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function JC(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 yt;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(u1(r)[0]!==u1(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 c1=JC;function ZC(e){var t=Jf(e),r=Al(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var d1=ZC;function QC(e){var t=d1(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]:(ht.set("bgColor","elmPartiallyObscuring"),null)}return ht.set("bgColor","outsideViewport"),null}var eS=QC,tS=["hue","saturation","color","luminosity"],f1={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 Ir(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=nS(t,e,r),a=su(e.red,e.alpha,t.red,t.alpha,n.r*255),i=su(e.green,e.alpha,t.green,t.alpha,n.g*255),o=su(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=rS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new yt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new yt(l,u,c,s)}function su(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function rS(e,t,r){return Math.min(Math.max(t,e),r)}function nS(e,t,r){if(tS.includes(r))return f1[r](e,t);var n=new yt;return ["r","g","b"].forEach(function(a){n[a]=f1[r](e[a],t[a]);}),n}function lu(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 yt(n,a,i,o)}function uu(e){for(var t=Al(e).map(function(a){return a=Xp(a,e),a=aS(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return ht.set("bgColor","bgOverlap"),null;if(r!==0&&!iS(n,t[0]))return ht.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function aS(e){var t=e.indexOf(g.body),r=e,n=_n(d.getComputedStyle(g.documentElement));if(t>1&&n.alpha===0&&!fo(g.documentElement)){t>1&&(r.splice(t,1),r.push(g.body));var a=r.indexOf(g.documentElement);a>0&&(r.splice(a,1),r.push(g.documentElement));}return r}function iS(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 oS=.54,Ro=.5,sS=1.5,p1=["top","right","bottom","left"];function cu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=lS(e),i=Object.entries(a).map(function(o){var s=De(o,2),l=s[0],u=s[1],c=p1.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(uS).filter(function(o){return o!==null})}function lS(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=De(s,2),c=u[0],m=u[1];c>Ro?l.right.push(c):-c>Ro&&l.left.push(-c),m>Ro?l.bottom.push(m):-m>Ro&&l.top.push(-m);}}catch(b){r.e(b);}finally{r.f();}return t}function uS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new yt;a.parseString(t);var i=0,o=true;return p1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>sS}));}),o||(a.alpha=1-Math.pow(oS,i)),a}function m1(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)nt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){nt(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]===",")nt(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 Fo(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);nt(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],m=m1(s),b=it(m),A;try{for(b.s();!(A=b.n()).done;){var R=A.value,N=R.colorStr||o.getPropertyValue("color"),q=De(R.pixels,3),$=q[0],z=q[1],W=q[2],X=W===void 0?0:W;if(!(n&&X>=u*n)){if(r&&X<u*r){c.push({colorStr:N,pixels:R.pixels});continue}if(c.length>0){var K=cu(c,{ignoreEdgeCount:a});if(K===null)return null;i.push.apply(i,ke(K)),c.splice(0,c.length);}var ne=cS({colorStr:N,offsetX:$,offsetY:z,blurRadius:X,fontSize:u});i.push(ne);}}}catch(pe){b.e(pe);}finally{b.f();}if(c.length>0){var se=cu(c,{ignoreEdgeCount:a});if(se===null)return null;i.push.apply(i,ke(se));}return i}function cS(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new yt(0,0,0,0);var o=new yt;return o.parseString(t),o.alpha*=dS(a,i),o}function dS(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function du(e,t){var r=Ye(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??uu(e),t.forEach(function(i){var o,s=Ye(i),l=mS(s),u=s._stackingOrder.filter(function(b){var A=b.vNode;return !!A});u.forEach(function(b,A){var R,N=b.vNode,q=(R=u[A-1])===null||R===void 0?void 0:R.vNode,$=g1(a,N,q);A===0&&!a.get(N)&&n.unshift($),a.set(N,$);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,m=g1(a,s,c);u.length||n.unshift(m),m.bgColor=l;}),r._stackingContext=n,n}function Ua(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(fS,h1()),a=Ir(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function fS(e,t){var r;e instanceof yt?r=e:r=Ua(e).color;var n=Ua(t).color;return Ir(n,r,t.blendMode)}function h1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new yt(0,0,0,0),blendMode:pS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function pS(e){return e||void 0}function g1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:h1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function mS(e){var t=new yt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ye(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,ke(a.bgElms)),ht.set("bgColor",a.incompleteData),a.bgColor;var i=hS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ht.get("bgColor")},i}function hS(e,t,r){var n,a,i=uu(e);if(!i)return null;var o=Dl(e),s=(n=Fo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(lu)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(fo(u,c))return t.push(u),null;var m=void 0;try{if(m=_n(c),m.alpha===0)continue}catch(N){if(N&&ht.get("colorParse"))return null;throw N}if(c.getPropertyValue("display")!=="inline"&&!v1(u,o))return t.push(u),ht.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),m.alpha===1)break}var b=du(e,i);s=b.map(Ua).concat(s);var A=gS(e,i.includes(g.body));if((a=s).unshift.apply(a,ke(A)),s.length===0)return new yt(255,255,255,1);var R=s.reduce(function(N,q){return Ir(q.color,N.color instanceof yt?N.color:N,q.blendMode)});return Ir(R.color instanceof yt?R.color:R,new yt(255,255,255,1))}function v1(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 b1(e){return e||void 0}function gS(e,t){var r=[];if(!t){var n=g.documentElement,a=g.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=_n(i),l=_n(o),u=l.alpha!==0&&v1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:b1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:b1(i.getPropertyValue("mix-blend-mode"))});}return r}function vS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Ir(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var zn=vS;function Io(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return yS(a,n)},function(){return bS(a)},function(){return Fo(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(N){if(N&&ht.get("colorParse"))return null;throw N}var m=o.reduce(function(N,q){return Ir(N,q)});if(r??(r=Wa(e,[])),r===null){var b=ht.get("bgColor");return ht.set("fgColor",b),null}var A=du(e),R=y1(A,e);return Ir(wS(m,R,A),new yt(255,255,255,1))}function bS(e){return new yt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function yS(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 yt().parseString(s)}function wS(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(Ua);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Ir(l.color,s.color instanceof yt?s.color:s)},{color:new yt(0,0,0,0),blendMode:"normal"});e=Ir(e,o),t=t.ancestor;}return e}function y1(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=y1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function xS(e,t,r,n){var a=zn(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 DS=xS,w1={};fr(w1,{isAriaCombobox:function(){return Cp},isAriaListbox:function(){return Ep},isAriaRange:function(){return Sp},isAriaTextbox:function(){return _p},isDisabled:function(){return Xa},isNativeSelect:function(){return Ap},isNativeTextbox:function(){return Dp}});var AS=["fieldset","button","select","input","textarea"];function x1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return AS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=x1(e.parent):t=false,e._isDisabled=t,t}var Xa=x1;function _S(e,t,r){var n=Ia.accessibleTextVirtual(r),a=Ia.sanitize(Ia.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Ws.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var ES=_S;function D1(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"?D1(o,s):o===s});return a}function CS(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 A=t.filter(function(N,q){var $=N.data;return $.name===m&&q!==s}),R=A.every(function(N){var q=N.data;return D1(q.urlProps,b)});A.length&&!R&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,ke(A.map(function(N){return N.relatedNodes[0]}))),n[m]=A,r.push(u);},i=0;i<t.length;i++)a(i);return r}var SS=CS;function kS(e){var t=Xe(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=De(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 TS(){var e=Ue.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Fr(p._tree[0],t,bt);return e=r.map(function(n){return {ancestry:[Bi(n.actualNode)],level:kS(n)}}),this.data({headingOrder:e}),Ue.set("headingOrder",r),true}var RS=TS;function FS(e){var t=LS(e);return e.forEach(function(r){r.result=IS(r,t);}),e}function IS(e,t){var r,n,a,i,o=A1(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 LS(e){e=ke(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(PS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function PS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=_1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return MS(s,a)}),o=OS(e,a);return o===-1?e.push.apply(e,ke(i)):e.splice.apply(e,[o,0].concat(ke(i))),e}function OS(e,t){for(;t.length;){var r=A1(e,t);if(r!==-1)return r;t=_1(t,1);}return -1}function A1(e,t){return e.findIndex(function(r){return zl(r.ancestry,t)})}function MS(e,t){var r=t.concat(e.ancestry);return Fe({},e,{ancestry:r})}function _1(e,t){return e.slice(0,e.length-t)}function NS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if($r(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=$r.bind(null,n),o=to(r),s=qS(r,o),l=BS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ya(s));return}if(u.length)return this.relatedNodes(Ya(u)),this.data({messageKey:"obscured"}),true;var m=ur(r)?false:void 0;if(!i(a))return this.data(Fe({minSize:n},Lo(a))),m;var b=$S(c);if(!b.length)return this.data(Fe({minSize:n},Lo(a))),true;var A=HS(r,b,n);if(!A){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(A)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ya(s));return}var R=b.every(ur),N="partiallyObscured".concat(R?"":"NonTabbable");return this.data(Fe({messageKey:N,minSize:n},Lo(A))),this.relatedNodes(Ya(b)),R?m:void 0}return this.data(Fe({minSize:n},Lo(A||a))),this.relatedNodes(Ya(b)),true}function qS(e,t){return t.filter(function(r){return !E1(r,e)&&C1(e,r)})}function BS(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!C1(e,o)&&Qs(e,o)&&jS(o)!=="none"&&(E1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function HS(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=el(n,a);}catch{return null}return VS(i,r)}function VS(e,t){return e.reduce(function(r,n){var a=$r(t,r),i=$r(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 $S(e){return e.filter(function(t){return yr(t)==="widget"&&Et(t)})}function E1(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 jS(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 C1(e,t){return Vr(e,t)&&!ur(t)}function Ya(e){return e.map(function(t){var r=t.actualNode;return r})}var zS=.05;function GS(e,t,r){var n=t?.minOffset||24;if($r(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(to(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(yr(l)!=="widget"||!Et(l))){var u=null;try{u=Mf(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=US(u)*2,!(u+zS>=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(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),ur(r)?false:void 0}function US(e){return Math.round(e*10)/10}function WS(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 A=b.trim();if(!A)return m;var R=A.split("="),N=De(R,2),q=N[0],$=N[1];if(!q||!$)return m;var z=q.toLowerCase().trim(),W=$.toLowerCase().trim();return z==="maximum-scale"&&W==="yes"&&(W=1),z==="maximum-scale"&&parseFloat(W)<0||(m[z]=W),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 XS=WS;function YS(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=q(o),A=function(){var ge=N[R],xe=b[ge],Ee=xe.root,Me=xe.rules,je=Me.filter($);if(!je.length)return 1;je.forEach(function(Re){var He=Re.cssRules;Array.from(He).forEach(function(be){var Pe=z(be);if(Pe&&be.selectorText.toUpperCase()!=="HTML"){var te=Array.from(Ee.querySelectorAll(be.selectorText))||[];m=m.concat(te);}c=c||Pe;});});},R=0,N=Object.keys(b);R<N.length;R++)A();if(!c)return true;return m.length&&this.relatedNodes(m),false;function q(le){return le.reduce(function(ge,xe){var Ee=xe.sheet,Me=xe.root,je=xe.shadowId,Re=je||"topDocument";if(ge[Re]||(ge[Re]={root:Me,rules:[]}),!Ee||!Ee.cssRules)return ge;var He=Array.from(Ee.cssRules);return ge[Re].rules=ge[Re].rules.concat(He),ge},{})}function $(le){var ge=le.type,xe=le.cssText;return ge!==4?false:/orientation:\s*landscape/i.test(xe)||/orientation:\s*portrait/i.test(xe)}function z(le){var ge=le.selectorText,xe=le.style;if(!ge||xe.length<=0)return false;var Ee=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Ee&&!xe.rotate)return false;var Me=W(Ee),je=X("rotate",xe.rotate),Re=Me+je;return !Re||(Re=Math.abs(Re),Math.abs(Re-180)%180<=u)?false:Math.abs(Re-90)%90<=u}function W(le){if(!le)return 0;var ge=le.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ge)return 0;var xe=De(ge,3),Ee=xe[1],Me=xe[2];return X(Ee,Me)}function X(le,ge){switch(le){case "rotate":case "rotateZ":return K(ge);case "rotate3d":var xe=ge.split(",").map(function(Re){return Re.trim()}),Ee=De(xe,4),Me=Ee[2],je=Ee[3];return parseInt(Me)===0?void 0:K(je);case "matrix":case "matrix3d":return ne(ge);default:return 0}}function K(le){var ge=le.match(/(deg|grad|rad|turn)/)||[],xe=De(ge,1),Ee=xe[0];if(!Ee)return 0;var Me=parseFloat(le.replace(Ee,""));switch(Ee){case "rad":return se(Me);case "grad":return pe(Me);case "turn":return _e(Me);default:return parseInt(Me)}}function ne(le){var ge=le.split(",");if(ge.length<=6){var xe=De(ge,2),Ee=xe[0],Me=xe[1],je=Math.atan2(parseFloat(Me),parseFloat(Ee));return se(je)}var Re=parseFloat(ge[8]),He=Math.asin(Re),be=Math.cos(He),Pe=Math.acos(parseFloat(ge[0])/be);return se(Pe)}function se(le){return Math.round(le*(180/Math.PI))}function pe(le){return le=le%400,le<0&&(le+=400),Math.round(le/400*360)}function _e(le){return Math.round(360/(1/le))}}var KS=YS;function JS(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=De(c,2),b=m[1],A=b.split(",");return A.map(function(R){return /:/.test(R)?l(R):parseFloat(R)})}}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 ZS=JS;function QS(e,t){return t.isViolation?false:void 0}var ek=QS,S1=" > ";function tk(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(S1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(S1);return t[i]&&(t[i].result=true),false})}var rk=tk;function nk(e,t,r){var n=tr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var ak=nk;function ik(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 ok=ik;function sk(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||!bt(c))){i=false;var m=c.nodeName.toUpperCase()==="LI",b=Xe(u),A=b==="listitem";!m&&!A&&o.push(c),m&&!A&&(s.push(c),l.includes(b)||l.push(b)),A&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var lk=sk;function uk(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"&&Xe(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&&bt(u)){var m=Qe(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 ck(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Qe(n);return ["presentation","none","list"].includes(i)?true:i&&Oa(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function dk(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=k1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&pk(l)){if(!l.children)return;var c=k1(l.children,true);i.push.apply(i,ke(c));continue}var m=fk(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 fk(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||!bt(e))return false;var b=Qe(e);return b?a.includes(b)?false:m+"[role=".concat(b,"]"):o.includes(l)?false:m+l}function pk(e){return e.props.nodeName==="div"&&Qe(e)===null}function k1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function mk(e){var t=It(e),r=t.nodeName.toUpperCase(),n=Qe(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=It(t),r=t.nodeName.toUpperCase(),n=Qe(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var hk=mk;function gk(e,t,r){var n=Cn(r.attr("lang")),a=Cn(r.attr("xml:lang"));return n===a}var vk=gk;function bk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Cn(i),s=t.value?!t.value.map(Cn).includes(o):!Eo(o);(o!==""&&s||i!==""&&!Ve(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!El(r)?false:(this.data(n),true)}var yk=bk;function fu(e){return (e||"").trim()!==""}function wk(e,t,r){var n=typeof g<"u"?wa(g):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&fu(r.attr("xml:lang"))&&!fu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return fu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var xk=wk;function Dk(e,t,r){var n=Xe(e),a=Lt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var Ak=Dk;function _k(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 Ek=_k;function Ck(e,t,r){var n=lo(r),a=io(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var Sk=Ck;function kk(e){var t=xt(e.getAttribute("id")),r=e.parentNode,n=Nt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !nn(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 bt(s)});if(i.length>1)return;var o=Cr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var Tk=kk;function Rk(e,t){var r=T1(t),n=T1(e);return !r||!n?false:r.includes(n)}function T1(e){var t=qa(e,{emoji:true,nonBmp:true,punctuations:true});return Ve(t)}function Fk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=xn(e).toLowerCase(),s=Ve(sn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(xl(o)<1||xl(s)<1))return Rk(s,o)}var Ik=Fk;function Lk(e,t,r){try{var n=Jt(r,"label");if(n){var a=Ve(Lt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var Pk=Lk;function Ok(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Nt(e),a=xt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!bt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var Mk=Ok;function Nk(e,t,r){var n=lo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Cr(e,"aria-describedby");a=i.map(function(o){return o?xn(o):""}).join("");}return Ve(a)===Ve(n)}var qk=Nk;function Bk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Nt(r.actualNode),i=xt(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(Zt(s)){var l=Ve(xn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Hk=Bk;function Vk(e,t,r){if(["none","presentation"].includes(Xe(r)))return false;var n=Jt(r,t.parentSelector);if(!n)return false;var a=kr(n,true).toLowerCase();return a===""?false:a===Lt(r).toLowerCase()}var $k=Vk;function jk(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var zk=jk;function Gk(e,t,r){var n=Rr(r.attr("tabindex"));return n===null||n<=0}var Uk=Gk;function Wk(e,t,r){if(r.children)try{var n=R1(r);if(!n.length)return !0;var a=n.filter(Xk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function R1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){yr(r)==="widget"&&Et(r)?t.push(r):t.push.apply(t,ke(R1(r)));}),t}function Xk(e){var t=Rr(e.attr("tabindex"));return t!==null&&t<0}function Yk(e){var t=jn("landmark"),r=It(e),n=Xe(e);for(this.data({role:n});r;){var a=Qe(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Sr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=It(r);}return true}var Kk=Yk;function Jk(e,t,r){if(r.children)try{return !r.children.some(function(n){return F1(n)})}catch{return}}function F1(e){if(ur(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 F1(t)})}function Zk(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||Ha()?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 Qk=Zk;function eT(e,t,r){if(!ur(r))return false;try{return !Lt(r)}catch{return}}var tT=eT;function rT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ha()){this.relatedNodes(n);return}return true}var nT=rT;function aT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return ur(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Jt(r.parent,"[contenteditable]");return o?n(o):false}}var iT=aT;function oT(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||Ha()?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 sT=oT;function lT(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 uT=lT;function cT(e,t,r){return nn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var dT=cT;function fT(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 pT=fT;function mT(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(Ue.get(n)){this.data("ignored");return}Ue.set(n,true);var a=Fr(p._tree[0],t.selector,function(i){return bt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Nn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Xe(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var hT=mT;function gT(e){return e.filter(function(t){return t.data!=="ignored"})}var vT=gT;function bT(e,t,r){return Ma(r,t.matcher)}var yT=bT;function wT(e,t,r){try{return Ve(sn(r))!==""}catch{return}}function xT(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&&Ha())return true;var n=Fr(r,t.selector,function(a){return bt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var DT=xT;function AT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var _T=AT;function ET(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=!Ve(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var CT=ET;function ST(e,t,r){var n=r.attr("autocomplete")||"";return Np(n,t)}var kT=ST;function TT(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(An.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Ve(r.attr("type")).toLowerCase():"text";return c=_o().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var RT=TT,FT=["block","list-item","table","flex","grid","inline-block"];function IT(e){if(I1(e))return false;for(var t=It(e);t&&t.nodeType===1&&!I1(t);)t=It(t);if(t){if(this.relatedNodes([t]),c1(e,t))return true;if(LT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function I1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return FT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function LT(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 L1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var PT=["block","list-item","table","flex","grid","inline-block"];function P1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return PT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function OT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(P1(e))return false;for(var a=It(e);a&&a.nodeType===1&&!P1(a);)a=It(a);if(a){this.relatedNodes([a]);var i=Io(e),o=Io(a),s=Wa(e),l=Wa(a),u=i&&o?L1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?L1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var m,b=(m=ht.get("bgColor"))!==null&&m!==void 0?m:"bgContrast";this.data({messageKey:b}),ht.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 MT=OT;function NT(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(!Zt(e))return this.data({messageKey:"hidden"}),true;var b=kr(r,false,true);if(n&&BT(b)){this.data({messageKey:"nonBmp"});return}var A=d.getComputedStyle(e),R=parseFloat(A.getPropertyValue("font-size")),N=A.getPropertyValue("font-weight"),q=parseFloat(N)>=o||N==="bold",$=Math.ceil(R*72)/96,z=q&&$<s||!q&&$<l,W=z?u.normal:u.large,X=W.expected,K=W.minThreshold,ne=W.maxThreshold,se=qT(r,{ignorePseudo:i,pseudoSizeThreshold:m});if(se){this.data({fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:q?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:X+":1"}),this.relatedNodes(se.actualNode);return}var pe=Fo(e,{minRatio:.001,maxRatio:c});if(pe===null){this.data({messageKey:"complexTextShadows"});return}var _e=[],le=Wa(e,_e,c),ge=Io(e,false,le,t),xe=null,Ee=null,Me=null;if(pe.length===0)xe=zn(le,ge);else if(ge&&le){Me=[].concat(ke(pe),[le]).reduce(lu);var je=zn(le,ge),Re=zn(le,Me),He=zn(Me,ge);xe=Math.max(je,Re,He),xe!==je&&(Ee=Re>He?"shadowOnBgColor":"fgOnShadowColor");}var be=xe>X;if(typeof K=="number"&&(typeof xe!="number"||xe<K)||typeof ne=="number"&&(typeof xe!="number"||xe>ne))return this.data({contrastRatio:xe}),true;var Pe=Math.floor(xe*100)/100,te,Ce;le===null?ht.get("colorParse")?(te="colorParse",Ce=ht.get("colorParse")):te=ht.get("bgColor"):be||(te=Ee),ge===null&&ht.get("colorParse")&&(te="colorParse",Ce=ht.get("colorParse"));var he=Pe===1,Se=b.length===1;if(he?te=ht.set("bgColor","equalRatio"):!be&&Se&&!a&&(te="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Pe,fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:q?"bold":"normal",messageKey:te,expectedContrastRatio:X+":1",shadowColor:Me?Me.toHexString():void 0,colorParse:Ce}),ge===null||le===null||he||Se&&!a&&!be){te=null,ht.clear(),this.relatedNodes(_e);return}return be||this.relatedNodes(_e),be}function qT(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=O1(e.actualNode,":before"),u=O1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var O1=mt(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||_n(n).alpha===0&&a("background-image","none"))return 0;var i=M1(n.getPropertyValue("width")),o=M1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function BT(e){var t={nonBmp:true},r=yl(e,t),n=Ve(qa(e,t))==="";return r&&n}function M1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=De(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 HT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},VT={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 $T(e){var t=e.nodeName.toUpperCase();return HT[t]||false}function jT(e,t){var r=Qe(e);return r&&(VT[r]||t.roles.includes(r))||false}function zT(e,t){return jT(e,t)||$T(e)}var GT=zT;function UT(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=ul(n);return a&&this.data(n),a}var WT=UT;function XT(e,t,r){var n=Xe(r,{noImplicit:true});this.data(n);var a,i;try{a=Ve(vl(r)).toLowerCase(),i=Ve(Lt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var YT=XT;function KT(e,t,r){return Et(r)}var JT=KT;function ZT(e,t,r){var n=Vt(r.attr("role")),a=n.every(function(i){return !Oa(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var QT=ZT;function e5(e,t,r){var n=Qe(r);if(n===null)return false;var a=yr(n);return a==="widget"||a==="composite"}var t5=e5;function r5(e,t,r){var n=an().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var n5=r5;function a5(e,t){var r=Sr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function i5(e,t,r){var n=Vt(r.attr("role"));return n.length<=1?false:a5(r,n)?void 0:true}var o5=i5;function s5(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=at.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function l5(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Ve(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ve(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function u5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ve(Lt(r))!==""}catch{return}}function c5(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=e1(r,u);}catch{n="".concat(u,'="').concat(m,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(m===""&&!d5(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 d5(e){var t;return ((t=at.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function f5(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)&&!To(i)&&n.push(i);}),n.length?(this.data(n),false):true}var p5=f5;function m5(e,t,r){var n=r.attrNames.filter(function(a){var i=at.ariaAttrs[a];if(!To(a))return false;var o=i.unsupported;return fe(o)!=="object"?!!o:!Ma(e,o.exceptions)});return n.length?(this.data(n),true):false}var h5=m5;function g5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Xe(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var v5=g5;function N1(e,t,r,n){var a=Qe(e);if(r||(r=nu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Xe(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 b5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=xt(e.getAttribute("id")),a=Nt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function y5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=N1(r,n);if(!a)return true;var i=b5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=N1(Ye(i[o]),n,a,true),!a)return true}return this.data(a),false}var w5=y5;function x5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Qe(r,{dpub:true}),i=au(a);if(i===null)return true;var o=D5(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 E5(c,m)}).filter(function(u,c,m){return m.indexOf(u)===c}).join(", ")}),false}if(A5(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(C5)))return false}function D5(e,t){for(var r,n=[],a=Na(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!bt(r))return 1;var s=Xe(r,{noPresentational:true}),l=_5(r),u=!!l||Et(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(m){return m===s}))a.push.apply(a,ke(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 A5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function _5(e){return an().find(function(t){return e.hasAttr(t)})}function E5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Qe(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function C5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Ba(t,false,true)}function S5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Qe(n),i=n.attrNames,o=Qm(a);if(Array.isArray(r[a])&&(o=ja(r[a],o)),!a||!i.length||!o.length||k5(n,a)||R5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=on(n),l=o.filter(function(u){return !n.attr(u)&&!T5(s,u)});return l.length?(this.data(l),false):true}function k5(e,t){return t==="separator"&&!Et(e)}function T5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function R5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function F5(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=Xe(r,{chromium:true,fallback:true}),o=I5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?Ve(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=sn(r,{subtreeDescendant:true});if(Ve(u)==="")return true}function I5(e,t,r,n){var a=at.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||q1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var q1=mt(function(t){if(t){var r=Xe(t,{noPresentational:true,chromium:true});return r?yr(r):q1(t.parent)}});function L5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var P5=L5;function O5(e,t,r){return r.attr("aria-hidden")!=="true"}var M5=O5;function N5(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 at.ariaAttrs["aria-errormessage"].allowEmpty;var u=Vt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Cr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!bt(c))return this.data({messageKey:"hidden",values:u}),false;var m=Vt(r.attr("aria-describedby"));return Qe(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(Vt(n)),s.call(this,n)):true}function B1(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=q5(i),l=s&&Xe(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 q5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Jt(e,t)}}function H1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=H5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=B5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function B5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function H5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var V1={row:B1,checkbox:H1};function V5(e,t,r){var n=Xe(r);return V1[n]?V1[n].call(this,e,t,r):true}function $5(e,t,r){return r.attr("aria-busy")==="true"}function j5(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=Xm(r,a);return l.length?(this.data(l),bt(r)?false:void 0):true}var z5=j5;function G5(e,t,r){var n=[],a=Xe(r),i=Gm(a);Array.isArray(t[a])&&(i=ja(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;To(l)&&!i.includes(l)&&!U5(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&&!$l(r)&&!Et(r)))return false}function U5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function W5(e,t,r){var n=on(r);if(!n.allowedAriaAttrs)return true;var a=Qe(r);if(a)return true;var i=n.allowedAriaAttrs,o=an(),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 X5(e,t,r){var n=Vt(r.attr("role")).filter(function(a){return yr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var Y5=X5;function K5(e){var t=Cn(e.getAttribute("lang")),r=Cn(e.getAttribute("xml:lang"));return Eo(t)&&Eo(r)}var J5=K5;function Z5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var Q5=Z5;function eR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Jt(t,"svg")}catch{return false}}var pu=eR;function tR(e,t){return rR.every(function(r){return r(e,t)})}var rR=[function(e,t){return $1(t)},function(e,t){return nR(t)},function(e,t){return !pu(e,t)},function(e,t){return Et(t)},function(e,t){return ur(t)||!aR(t)},function(e){return !Cl(e,{noLengthCompare:true,includeInlineBlock:true})}];function $1(e){return yr(e)==="widget"}function nR(e){return e.props.nodeName!=="area"}var aR=mt(function e(t){return t!=null&&t.parent?$1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function iR(e,t){var r=Xe(t);return ["treegrid","grid","table"].includes(r)}function oR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||sR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function sR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function lR(e){return Tl(e)&&Ki(e)}var uR=lR;function cR(e,t){return zr(e,13)!==void 0&&ru(t)===false&&dR(t)}function dR(e){var t=e.boundingClientRect;return tr(e,"*").some(function(r){if(!Ba(r,true,true))return false;var n=[];if(uo(r)){var a;(a=n).push.apply(a,ke(fR(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 fR(e){var t=g.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function pR(e,t){return Sr(t,{chromiumRoles:true})!==null}var mR=pR;function hR(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 gR=hR;function vR(e,t){var r=Qe(t);if(!r||["none","presentation"].includes(r))return true;var n=tp[r]||{},a=n.accessibleNameRequired;return !!(a||Et(t))}var j1=vR,bR=function(t,r){return [j1,yR].every(function(n){return n(t,r)})};function yR(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 wR(e,t){return t.props.nodeName!=="html"}var xR=wR;function DR(e,t){return !t.attr("role")}var AR=DR;function _R(e,t){var r=Rr(t.attr("tabindex"));return r===null||r>=0}var ER=_R;function CR(e,t){var r=on(t),n=r.namingMethods;return !(n&&n.length!==0||Qe(t)==="combobox"&&tr(t,'input:not([type="hidden"])').length||ru(t,{popupRoles:["listbox"]}))}var SR=CR;function kR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var TR=kR;function RR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var FR=RR;function IR(e,t){var r=Xe(t);return r?!!at.ariaRoles[r].childrenPresentational:false}var LR=IR;function PR(e){var t=Ve(e.innerText),r=Qe(e);return r&&r!=="link"||!t||!Zt(e)?false:Cl(e)}var OR=PR;function MR(e){return !So(e)&&!Et(e)}var NR=MR;function qR(e,t){return BR(t)&&bt(t)}function BR(e){var t=jn("landmark"),r=Xe(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Lt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function HR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Nn(t,r)}var VR=HR;function $R(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 jR=$R;function zR(e,t){var r=Xe(e);if(!r)return false;var n=jn("widget"),a=n.includes(r);if(!a)return false;var i=tu();return !(!i.includes(r)||!Ve(Pa(t))&&!Ve(La(e))||!Ve(kr(t)))}var GR=zR;function UR(e,t){return Zt(t)}function WR(e){return Zt(e)}function XR(e,t,r){return r.initiator}var z1=XR;function YR(e){return $p(e)}var KR=YR;function JR(e,t){var r=!!Lt(t);if(!r)return false;var n=Xe(e);return !(n&&n!=="link")}var ZR=JR;function QR(e,t){return !pu(e,t)}var eF=QR;function tF(e,t){return Xe(t)==="heading"}function rF(e,t){return Sr(t,{chromium:true})!==null}var nF=rF;function aF(e){var t=e.getAttribute("title");return !!Ve(t)}var iF=aF;function oF(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 sF=oF;function lF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xt(t),'"]'),n=Array.from(Nt(e).querySelectorAll(r));return !ko(e)&&n.every(function(a){return !Et(a)})}var uF=lF;function cF(e){return ko(e)}var dF=cF;function fF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xt(t),'"]'),n=Array.from(Nt(e).querySelectorAll(r));return !ko(e)&&n.some(Et)}var pF=fF;function mF(e){return So(e)}var hF=mF;function gF(e){if(So(e)){var t=jr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var vF=gF;function bF(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)||Xa(t)||ro(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},!Rl(u,e))return false}return true}var c=Nn(t,"label");if(n==="label"||c){var m=c||e,b=c?Ye(c):t;if(m.htmlFor){var A=Nt(m),R=A.getElementById(m.htmlFor),N=R&&Ye(R);if(N&&Xa(N))return false}var q='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',$=tr(b,q)[0];if($&&Xa($))return false}for(var z=[],W=t;W;){if(W.props.id){var X=eu(W).filter(function(ge){return Vt(ge.getAttribute("aria-labelledby")||"").includes(W.props.id)}).map(function(ge){return Ye(ge)});z.push.apply(z,ke(X));}W=W.parent;}if(z.length>0&&z.every(Xa)||!xF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var K=g.createRange(),ne=t.children,se=0;se<ne.length;se++){var pe=ne[se];pe.actualNode.nodeType===3&&Ve(pe.actualNode.nodeValue)!==""&&K.selectNodeContents(pe.actualNode);}var _e=Array.from(K.getClientRects()),le=Ta(t);return _e.some(function(ge){var xe=Rl(ge,e);if(!le.length)return xe;var Ee=le.some(function(Me){return Xs(ge,Me.boundingClientRect)});return xe&&Ee})}var yF=bF,wF={emoji:true,nonBmp:false,punctuations:true};function xF(e){var t=kr(e,false,true);return t===""||qa(t,wF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!wl(r)})}function DF(e,t,r){return z1(e,t,r)?!!e.querySelector("a[href]"):true}var AF=DF;function _F(e,t){var r=t.attr("autocomplete");if(!r||Ve(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=Qe(t),l=Rr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=at.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Zt(t)&&!bt(t))}var EF=_F;function CF(e,t){var r=Qe(t);return !!nu(r)}var SF=CF;function kF(e,t){var r=Qe(t,{dpub:true});return !!au(r)}var TF=kF;function G1(e){return e?e.getAttribute("aria-hidden")==="true"?false:G1(It(e)):true}function RF(e){return G1(It(e))}var FF=RF;function IF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var LF=IF;function PF(e,t){return Qe(t,{dpub:true,fallback:true})!==null}var OF=PF;function MF(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 NF=MF,qF={"abstractrole-evaluate":Y5,"accesskeys-after":pT,"accesskeys-evaluate":dT,"alt-space-value-evaluate":zk,"aria-allowed-attr-elm-evaluate":W5,"aria-allowed-attr-evaluate":G5,"aria-allowed-attr-matches":NF,"aria-allowed-role-evaluate":z5,"aria-allowed-role-matches":OF,"aria-busy-evaluate":$5,"aria-conditional-attr-evaluate":V5,"aria-conditional-checkbox-attr-evaluate":H1,"aria-conditional-row-attr-evaluate":B1,"aria-errormessage-evaluate":N5,"aria-has-attr-matches":LF,"aria-hidden-body-evaluate":M5,"aria-hidden-focus-matches":FF,"aria-label-evaluate":DC,"aria-labelledby-evaluate":wC,"aria-level-evaluate":P5,"aria-prohibited-attr-evaluate":F5,"aria-required-attr-evaluate":S5,"aria-required-children-evaluate":x5,"aria-required-children-matches":TF,"aria-required-parent-evaluate":w5,"aria-required-parent-matches":SF,"aria-roledescription-evaluate":v5,"aria-unsupported-attr-evaluate":h5,"aria-valid-attr-evaluate":p5,"aria-valid-attr-value-evaluate":c5,"attr-non-space-content-evaluate":CT,"autocomplete-appropriate-evaluate":RT,"autocomplete-matches":EF,"autocomplete-valid-evaluate":kT,"avoid-inline-spacing-evaluate":bC,"braille-label-equivalent-evaluate":u5,"braille-roledescription-equivalent-evaluate":l5,"bypass-matches":AF,"caption-evaluate":ak,"caption-faked-evaluate":tC,"color-contrast-evaluate":NT,"color-contrast-matches":yF,"css-orientation-lock-evaluate":KS,"data-table-large-matches":vF,"data-table-matches":hF,"deprecatedrole-evaluate":s5,"dlitem-evaluate":hk,"doc-has-title-evaluate":gC,"duplicate-id-active-matches":pF,"duplicate-id-after":CC,"duplicate-id-aria-matches":dF,"duplicate-id-evaluate":_C,"duplicate-id-misc-matches":uF,"duplicate-img-label-evaluate":$k,"exists-evaluate":mC,"explicit-evaluate":Hk,"fallbackrole-evaluate":o5,"focusable-content-evaluate":uT,"focusable-disabled-evaluate":sT,"focusable-element-evaluate":iT,"focusable-modal-open-evaluate":nT,"focusable-no-name-evaluate":tT,"focusable-not-tabbable-evaluate":Qk,"frame-focusable-content-evaluate":Jk,"frame-focusable-content-matches":sF,"frame-tested-after":rk,"frame-tested-evaluate":ek,"frame-title-has-text-matches":iF,"has-alt-evaluate":fC,"has-descendant-after":_T,"has-descendant-evaluate":DT,"has-global-aria-attribute-evaluate":n5,"has-implicit-chromium-role-matches":nF,"has-lang-evaluate":xk,"has-text-content-evaluate":wT,"has-widget-role-evaluate":t5,"heading-matches":tF,"heading-order-after":FS,"heading-order-evaluate":RS,"help-same-as-label-evaluate":qk,"hidden-content-evaluate":uE,"hidden-explicit-label-evaluate":Mk,"html-namespace-matches":eF,"html5-scope-evaluate":QE,"identical-links-same-purpose-after":SS,"identical-links-same-purpose-evaluate":ES,"identical-links-same-purpose-matches":ZR,"implicit-evaluate":Pk,"inline-style-property-evaluate":uC,"inserted-into-focus-order-matches":KR,"internal-link-present-evaluate":XC,"invalid-children-evaluate":dk,"invalidrole-evaluate":QT,"is-element-focusable-evaluate":JT,"is-initiator-matches":z1,"is-on-screen-evaluate":lC,"is-visible-matches":WR,"is-visible-on-screen-matches":UR,"label-content-name-mismatch-evaluate":Ik,"label-content-name-mismatch-matches":GR,"label-matches":jR,"landmark-has-body-context-matches":VR,"landmark-is-top-level-evaluate":Kk,"landmark-is-unique-after":Ek,"landmark-is-unique-evaluate":Ak,"landmark-unique-matches":qR,"layout-table-matches":NR,"link-in-text-block-evaluate":MT,"link-in-text-block-matches":OR,"link-in-text-block-style-evaluate":IT,"listitem-evaluate":ck,"matches-definition-evaluate":yT,"meta-refresh-evaluate":UC,"meta-viewport-scale-evaluate":XS,"multiple-label-evaluate":Tk,"nested-interactive-matches":LR,"no-autoplay-audio-evaluate":ZS,"no-autoplay-audio-matches":FR,"no-empty-role-matches":TR,"no-explicit-name-required-matches":j1,"no-focusable-content-evaluate":Wk,"no-implicit-explicit-label-evaluate":YT,"no-naming-method-matches":SR,"no-negative-tabindex-matches":ER,"no-role-matches":AR,"non-empty-if-present-evaluate":oC,"not-html-matches":xR,"object-is-loaded-matches":bR,"only-dlitems-evaluate":uk,"only-listitems-evaluate":lk,"p-as-heading-evaluate":jC,"p-as-heading-matches":gR,"page-no-duplicate-after":vT,"page-no-duplicate-evaluate":hT,"presentation-role-conflict-matches":mR,"presentational-role-evaluate":aC,"region-after":BC,"region-evaluate":PC,"same-caption-summary-evaluate":YE,"scope-value-evaluate":XE,"scrollable-region-focusable-matches":cR,"skip-link-evaluate":IC,"skip-link-matches":uR,"structured-dlitems-evaluate":ok,"summary-interactive-matches":oR,"svg-namespace-matches":pu,"svg-non-empty-title-evaluate":nC,"tabindex-evaluate":Uk,"table-or-grid-role-matches":iR,"target-offset-evaluate":GS,"target-size-evaluate":NS,"td-has-header-evaluate":UE,"td-headers-attr-evaluate":zE,"th-has-data-cells-evaluate":jE,"title-only-evaluate":Sk,"unique-frame-title-after":RC,"unique-frame-title-evaluate":kC,"unsupportedrole-evaluate":WT,"valid-lang-evaluate":yk,"valid-scrollable-semantics-evaluate":GT,"widget-not-inline-matches":tR,"window-is-top-matches":Q5,"xml-lang-mismatch-evaluate":vk,"xml-lang-mismatch-matches":J5},Po=qF;function BF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var mu=BF;function hu(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 U1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||fe(e)!=="object")&&(e={value:e}),e}function Gn(e){e&&(this.id=e.id,this.configure(e));}Gn.prototype.enabled=true,Gn.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 mu(this),u=Is(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(m){t&&t.actualNode&&(m.errorNode=lr.toSpec(t)),i(m);return}u.isAsync||(l.result=c,a(l));}else a(null);},Gn.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 mu(this),u=Is(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=lr.toSpec(t)),m}return l.result=c,l},Gn.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=U1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=hu(t[n])});},Gn.prototype.getOptions=function(t){return this._internalCheck?Gs(this.options,U1(t||{})):t||this.options};var W1=Gn;function HF(e){this.id=e.id,this.result=We.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Oo=HF;function Wt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(nt(We.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=hu(e.matches));}Wt.prototype.matches=function(){return true},Wt.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&&st.mark(n);var s=Xl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&st.mark(i),s=s.filter(function(l){return bt(l)}),r.performanceTimer&&(st.mark(o),st.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(st.mark(a),st.measure("rule_"+this.id+"#gather",n,a)),s},Wt.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Er();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],m=vo(c,s.id,n);l.defer(function(b,A){c.run(r,m,a,b,function(R){A(new Ao({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new sr(r),error:R}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Wt.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=vo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Wt.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=Er(),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=Er();["any","all","none"].forEach(function(A){b.defer(function(R,N){r.runChecks(A,u,n,t,R,N);});}),b.then(function(A){var R=X1(A);R&&(R.node=new sr(u),s.nodes.push(R),r.reviewOnFail&&(["any","all"].forEach(function(N){R[N].forEach(function(q){q.result===false&&(q.result=void 0);});}),R.none.forEach(function(N){N.result===true&&(N.result=void 0);}))),c();}).catch(function(A){return m(A)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Wt.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=X1(s);l&&(l.node=o.actualNode?new sr(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},Wt.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;},Wt.prototype._logGatherPerformance=function(t){bn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(st.timeElapsed(),"ms")),st.mark(this._markChecksStart);},Wt.prototype._logRulePerformance=function(){st.mark(this._markChecksEnd),st.mark(this._markEnd),st.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),st.measure("rule_"+this.id,this._markStart,this._markEnd);};function X1(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}}Wt.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&&st.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new Ao({ruleId:n.id,method:"#matches",errorNode:new sr(s),error:l})}}),r.performanceTimer&&(st.mark(i),st.measure("rule_"+this.id+"#matches",a,i)),o};function VF(e){return Gi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function $F(e,t){var r=[];return e.forEach(function(n){var a=Gi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function jF(e){return e.filter(function(t){return t.filtered!==true})}function zF(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=jF(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}Wt.prototype.after=function(t,r){var n=this,a=VF(this);return a.forEach(function(i){var o=$F(t.nodes,i.id),s=vo(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new Ao({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=zF(t),t},Wt.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=hu(t.matches)),t.impact&&(nt(We.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Un=/\{\{.+?\}\}/g,GF=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=at,this._init(),this._defaultLocale=null;}return zt(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 A=m[b],R=this.data.rules[A],N=R.description,q=R.help;r.rules[A]={description:N,help:q};}for(var $=Object.keys(this.data.failureSummaries),z=0;z<$.length;z++){var W=$[z],X=this.data.failureSummaries[W],K=X.failureMessage;r.failureSummaries[W]={failureMessage:K};}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]=WF(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]=XF(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]=YF(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=KF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=K1();this.allowedOrigins=[];var a=it(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===We.allOrigins){this.allowedOrigins=["*"];return}else o!==We.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=UF(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,J1(r.rules,this,"addRule"),J1(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 Wt(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 W1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),sr.setRunOptions(n),p._selectCache=[];var o=JF(this.rules,r,n),s=o.now,l=o.later,u=Er();s.forEach(function(b){u.defer(Z1(b,r,n));});var c=Er();l.length&&c.defer(function(b){Am(n).then(function(A){return b(A)}).catch(function(A){console.warn("Couldn't load preload assets: ",A),b(void 0);});});var m=Er();m.defer(u),m.defer(c),m.then(function(b){var A=b.pop();if(A&&A.length){var R=A[0];R&&(r=Fe({},r,R));}var N=b[0];if(!l.length){p._selectCache=void 0,a(N.filter(function($){return !!$}));return}var q=Er();l.forEach(function($){var z=Z1($,r,n);q.defer(z);}),q.then(function($){p._selectCache=void 0,a(N.concat($).filter(function(z){return !!z}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=Sa(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 Q1(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===eh(n,i.id,a))&&(o.helpUrl=eh(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),Y1=GF;function K1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function UF(e){var t;if(e?(t=Hr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=K1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Fe({checks:{},rules:{}},t.data),t}function J1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var WF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Un.test(n)&&(n=Kr.default.compile(n)),typeof a=="string"&&Un.test(a)&&(a=Kr.default.compile(a)),Fe({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:fe(t.messages.incomplete)==="object"?Fe({},t.messages.incomplete,r.incomplete):r.incomplete}})},XF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Un.test(n)&&(n=Kr.default.compile(n)),typeof a=="string"&&Un.test(a)&&(a=Kr.default.compile(a)),Fe({},t,{help:n||t.help,description:a||t.description})},YF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Un.test(n)&&(n=Kr.default.compile(n)),Fe({},t,{failureMessage:n||t.failureMessage})},KF=function(t,r){return typeof r=="string"&&Un.test(r)&&(r=Kr.default.compile(r)),r||t};function JF(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return km(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Z1(e,t,r){return r.performanceTimer&&st.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(Q1(e,i));});}}function Q1(e,t){var r=t.errorNode,n=Do(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new sr(g.documentElement);return Object.assign(new Oo(e),{error:n,result:We.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function eh(e,t,r){var n=e.brand,a=e.application,i=e.lang;return We.helpUrlBase+n+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function th(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!g;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||(Ue.set("globalDocumentSet",true),g=e.ownerDocument),t||(Ue.set("globalWindowSet",true),d=g.defaultView);}}function ZF(){Ue.get("globalDocumentSet")&&(Ue.set("globalDocumentSet",false),g=null),Ue.get("globalWindowSet")&&(Ue.set("globalWindowSet",false),d=null);}function QF(){ZF(),p._memoizedFns.forEach(function(e){return e.clear()}),Ue.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var cn=QF;function rh(e,t,r,n){try{e=new bo(e),p._tree=e.flatTree,p._selectorData=qi(e.flatTree);}catch(o){return cn(),n(o)}var a=Er(),i=p._audit;t.performanceTimer&&st.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){mf(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&st.auditEnd();var s=Ui(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&st.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(st.mark("auditAfterEnd"),st.measure("audit.after","auditAfterStart","auditAfterEnd"),st.logMeasures("audit.after")),s.forEach(xo),s=s.map(la));try{r(s,cn);}catch(l){cn(),bn(l);}}catch(l){cn(),n(l);}}).catch(function(o){cn(),n(o);});}function e3(e){p._audit=new Y1(e);}function t3(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=[g]);var o=e&&e.options||{};switch(e.command){case "rules":return rh(i,o,function(s,l){s=lr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Nm(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&&(br.subscribe("axe.start",t3),br.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Ka(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}Ka.prototype.run=function(){return this._run.apply(this,arguments)},Ka.prototype.collect=function(){return this._collect.apply(this,arguments)},Ka.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);},Ka.prototype.add=function(t){this._registry[t.id]=t;};function r3(e){p.plugins[e.id]=new Ka(e);}var n3=r3;function a3(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),AD();}var i3=a3;function o3(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 Ft||(t=new Mm(t));var n=um(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);xo(i),la(i);var o=_c([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Ml(l);})}),Fe({},ln(),o,{toolOptions:r})}function nh(e){var t,r,n,a=De(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!pm(i)){if(s!==void 0)throw l;s=o,o=i,i=g;}if(fe(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Hr(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 gu=function(){};function s3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];th(t[0]);var n=nh(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?gu:o,l=l3(s),u=l.thenable,c=l.resolve,m=l.reject;try{nt(p._audit,"No audit configured"),nt(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(R){return c3(R,s)}p._running=true,i.performanceTimer&&st.start();function b(R,N){var q=function(W){i.performanceTimer&&(st.mark("reporterEnd"),st.measure("reporter","reporterStart","reporterEnd"),st.logMeasures("reporter"),st.end()),p._running=false,N();try{c(W);}catch(X){p.log(X);}},$=function(W){p._running=false,N();try{m(W);}catch(X){p.log(X);}};try{i.performanceTimer&&st.mark("reporterStart"),u3(R,i,q,$);}catch(z){$(z);}}function A(R){i.performanceTimer&&st.end(),p._running=false,s(R),m(R);}return p._runRules(a,i,b,A),u}function l3(e){var t,r,n;return typeof Promise=="function"&&e===gu?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 u3(e,t,r,n){var a=Jl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function c3(e,t){if(typeof t=="function"&&t!==gu){t(e.message);return}throw e}function d3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=nh(t),a=n.options,i=n.context;nt(p._audit,"Axe is not configured. Audit is missing."),nt(!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 bo(i,p._tree);return p._tree=o.flatTree,p._selectorData=qi(o.flatTree),p._running=true,a.elementRef=false,new Promise(function(s,l){p._audit.run(o,a,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var m=c.node;return lr.toSpec(m)}),u;return o.initiator&&(u=ln()),p._running=false,cn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,cn(),Promise.reject(s)})}function f3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Hr(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",p3(e);var s=Ui(e);return s=p._audit.after(s,a),s.forEach(xo),s=s.map(la),h3(s,Fe({environmentData:o},a))}function p3(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=m3(a);t.unshift.apply(t,ke(o));}}}catch(s){r.e(s);}finally{r.f();}}function m3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return lr.mergeSpecs(n,r)}):t}function h3(e,t){return new Promise(function(r,n){var a=Jl(t.reporter);a(e,t,r,n);})}function g3(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),th(e),p._tree=Pl(e),p._selectorData=qi(p._tree),p._tree[0]}var v3=g3,b3=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=ee(a,Y);n(Fe({},ln(i),{toolOptions:o},$a(t,r)));},y3=b3,w3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,Z);r.resultTypes=["violations"];var s=$a(t,r),l=s.violations;n(Fe({},ln(i),{toolOptions:o,violations:l}));},x3=w3,D3=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=Fe({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=lr.mapRawNodeResults(o[c]);}return o});n(a);},ah=D3,A3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,E);ah(t,o,function(s){var l=ln(i);n({raw:s,env:l});});},_3=A3,E3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,v),s=$a(t,r),l=function(c){c.nodes.forEach(function(m){m.failureSummary=Ml(m);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Fe({},ln(i),{toolOptions:o},s));},C3=E3,S3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ee(a,T),s=$a(t,r);n(Fe({},ln(i),{toolOptions:o},s));},k3=S3,T3={base:{Audit:Y1,CheckResult:mu,Check:W1,Context:bo,RuleResult:Oo,Rule:Wt,metadataFunctionMap:Po},public:{reporters:za},helpers:{failureSummary:Ml,incompleteFallbackMessage:Nl,processAggregate:$a},utils:{setDefaultFrameMessenger:lf,cacheNodeSelectors:tm,getNodesMatchingExpression:Qp,convertSelector:Hi},commons:{dom:{nativelyHidden:bf,displayHidden:yf,visibilityHidden:wf,contentVisibiltyHidden:xf,ariaHidden:Df,opacityHidden:Af,scrollHidden:_f,overflowHidden:Ef,clipHidden:Cf,areaHidden:Ys,detailsHidden:Sf}}},R3=T3;p._thisWillBeDeletedDoNotUse=R3,p.constants=We,p.log=bn,p.AbstractVirtualNode=Ft,p.SerialVirtualNode=Mm,p.VirtualNode=Fl,p._cache=Ue,p.imports=kc,p.cleanup=Nm,p.configure=aE,p.frameMessenger=iE,p.getRules=sE,p._load=e3,p.plugins={},p.registerPlugin=n3,p.hasReporter=Bm,p.getReporter=Jl,p.addReporter=rE,p.reset=i3,p._runRules=rh,p.runVirtualRule=o3,p.run=s3,p.setup=v3,p.teardown=cn,p.runPartial=d3,p.finishRun=f3,p.commons=s1,p.utils=as,p.addReporter("na",y3),p.addReporter("no-passes",x3),p.addReporter("rawEnv",_3),p.addReporter("raw",ah),p.addReporter("v1",C3),p.addReporter("v2",k3,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(oe){var de="Fix any of the following:",ve=oe;if(ve)for(var Ge,tt=-1,ot=ve.length-1;tt<ot;)Ge=ve[tt+=1],de+=`
|
|
378
|
-
`+
|
|
375
|
+
`)}var Ol=BA;function Nl(){var e=p._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var nm=Xe.resultGroups;function $a(e,t){var r=p.utils.aggregateResult(e);return nm.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(de(i.node)==="object"){var o=am(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,HA(i,t),i})),nm.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function HA(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 am(a,t)});});});}function am(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=lr.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 VA=/\$\{\s?data\s?\}/g;function go(e,t){if(typeof t=="string")return e.replace(VA,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 im(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 go(r,t)}return go(e,t)}if(typeof e=="string")return go(e,t);if(typeof t=="string"){var n=e[t];return go(n,t)}var a=e.default||Nl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),im(a,t)}}var ql=im;function $A(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 ql(n.messages[t],r)}var jA=$A;function zA(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 vo=zA;function ln(){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&&de(t)==="object"?t:de(r)!=="object"?{}:{testEngine:{name:"axe-core",version:p.version},testRunner:{name:p._audit.brand},testEnvironment:GA(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function GA(e){if(!e.navigator||de(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=UA(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function UA(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function om(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&WA(e),size:XA(e),page:n}}function WA(e){var t=Rr(e.getAttribute("tabindex"));return t===null||t>=0}function XA(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 YA(e){if(Hl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";un(!Tr(e,"fromFrames"),"fromFrames"+t),un(!Tr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(yo(e))e={include:e,exclude:[]};else return {include:[g],exclude:[]};var r=sm(e.include);r.length===0&&r.push(g);var n=sm(e.exclude);return {include:r,exclude:n}}function sm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Bl(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=KA(e[r]);n&&t.push(n);}return t}function KA(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(Vl(e)?(ZA(e),e=e.fromFrames):wo(e)&&(e=[e]),JA(e))}function JA(e){if(Array.isArray(e)){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(wo(a)&&(QA(a),a=a.fromShadowDom),typeof a!="string"&&!e2(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function ZA(e){un(Array.isArray(e.fromFrames),"fromFrames property must be an array"),un(e.fromFrames.every(function(t){return !Tr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),un(!Tr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function QA(e){un(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),un(e.fromShadowDom.every(function(t){return !Tr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),un(e.fromShadowDom.every(function(t){return !Tr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function e2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function un(e,t){nt(e,"Invalid context; ".concat(t,`
|
|
376
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function lm(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 Ke(l)});r.push.apply(r,_e(o));}else r.push(Ke(i));else if(i&&i.length)if(i.length>1)t2(e,t,i);else {var s=Yl(i[0]);r.push.apply(r,_e(s.map(function(l){return Ke(l)})));}}return r.filter(function(l){return l})}function t2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Yl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=om(i,e),e.frames.push(o)),o[t].push(r);});}function bo(e,t){var r,n,a,i,o=this;e=Hr(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=de((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=YA(e),this.flatTree=t??Pl(i2(e)),this.exclude=e.exclude,this.include=e.include,this.include=lm(this,"include"),this.exclude=lm(this,"exclude"),Xl("frame, iframe",this).forEach(function(s){jl(s,o)&&r2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=n2(this),this.frames.forEach(function(s){s.page=o.page;})),a2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Gl);}function r2(e,t){!yt(t)||Sa(e.frames,"node",t)||e.frames.push(om(t,e));}function n2(e){var t=e.include;return t.length===1&&t[0].actualNode===g.documentElement}function a2(e){if(e.include.length===0&&e.frames.length===0){var t=br.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function i2(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 g.documentElement}function o2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new bo(e),n=r.frames;return n.map(function(a){var i=a.node,o=Z(a,N);o.initiator=false;var s=Bi(i);return {frameSelector:s,frameContext:o}})}function um(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 s2(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=cm(a,"overflow-x"),o=cm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function cm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var zr=ht(s2);function dm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=zr(r);return n&&t.push(n),t.concat(dm(r))},[])}function l2(){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(dm(g.body))}var u2=l2;function c2(){return Hr(at)}function d2(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 fm=d2,er;function f2(e){if(er&&er.parentNode)return er.styleSheet===void 0?er.appendChild(g.createTextNode(e)):er.styleSheet.cssText+=e,er;if(e){var t=g.head||g.getElementsByTagName("head")[0];return er=g.createElement("style"),er.type="text/css",er.styleSheet===void 0?er.appendChild(g.createTextNode(e)):er.styleSheet.cssText=e,t.appendChild(er),er}}var p2=f2;function Bl(e){return !!e&&de(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Tr(e,t){return !e||de(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function pm(e){return Hl(e)||yo(e)}function Hl(e){return ["include","exclude"].some(function(t){return Tr(e,t)&&yo(e[t])})}function yo(e){return typeof e=="string"||e instanceof d.Node||Vl(e)||wo(e)||Bl(e)}function Vl(e){return Tr(e,"fromFrames")}function wo(e){return Tr(e,"fromShadowDom")}function mm(e,t){var r=Ke(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=mm(a,true);return r&&(r._isHidden=i),i}var m2=mm;function h2(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:!!at.htmlElms[n]}var $l=h2;function jl(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 Vr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Vr(c,e)});if(s.length===0)return true;var l=hm(o),u=hm(s);return Vr(u,l)}function hm(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Vr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function zl(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 g2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Gl=g2;function rt(e){return e instanceof Lt?{vNode:e,domNode:e.actualNode}:{vNode:Ke(e),domNode:e}}function v2(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(_e(r),[m]),A=/^https?:\/\/|^\/\//i.test(c);return Wl(c,t,b,n,A)}),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 gm=v2;function b2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=y2(e);return i?gm(e,t,r,n,a):Wl(e.href,t,r,n,true)}function y2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Ul=b2;function w2(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=Xe.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 Ul(o.sheet,t,r,n,o.isCrossOrigin)})}var Wl=w2;function x2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Rr=x2,D2=(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(R){return R.startTime>=c.startTime}),b=0;b<m.length;++b){var A=m[b];if(A.name===a){u(A);return}else a||u(A);}}},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){bn(a);}}})(),st=D2;function vm(){if(g.elementsFromPoint)return g.elementsFromPoint;if(g.msElementsFromPoint)return g.msElementsFromPoint;var e=(function(){var a=g.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=g.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(g.head.appendChild(n);(o=g.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(g.documentElement)<u.length-1&&(u.splice(u.indexOf(g.documentElement),1),u.push(g.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return g.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(g.elementsFromPoint=vm());function _2(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var ja=_2;function bm(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 A2(e,t,r){for(var n=We.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=bm(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,A=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),R=false,O=0;O<A;O++){var B,V,z,X=O<(((B=o.anyLevel)===null||B===void 0?void 0:B.length)||0)?o.anyLevel[O]:o.thisLevel[O-(((V=o.anyLevel)===null||V===void 0?void 0:V.length)||0)];if((!X[0].id||c.shadowId===o.parentShadowId)&&Ln(c,X[0]))if(X.length===1)!R&&(!r||r(c))&&(s.push(c),R=true);else {var Y=X.slice(1);if([" ",">"].includes(Y[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+X[1].combinator);Y[0].combinator===">"?(m=m||[]).push(Y):(b=b||[]).push(Y);}(!X[0].id||c.shadowId===o.parentShadowId)&&(z=o.anyLevel)!==null&&z!==void 0&&z.includes(X)&&(b=b||[]).push(X);}for(c.children&&c.children.length&&(a.push(o),o=bm(c.children,b,m,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function E2(e,t,r){e=Array.isArray(e)?e:[e];var n=Hi(t),a=Qp(e,n,r);return a||A2(e,n,r)}var Fr=E2;function C2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=S2(r);if(!n.length)return Promise.resolve();var a=g.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=fm(a);return k2(n,i).then(function(o){return wm(o)})}var ym=C2;function S2(e){var t=[],r=Fr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:ka(n.actualNode)}});return ja(r,[])}function k2(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=T2(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,A){var R=[l,A];return Ul(b,u,R,c)}));r.push(m);}),Promise.all(r)}function wm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(wm(r)):t.concat(r)},[])}function T2(e,t,r){var n;return e.nodeType===11&&t?n=R2(e,r):n=F2(e),L2(n)}function R2(e,t){return Array.from(e.children).filter(I2).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 F2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?xm(t.media.mediaText):false})}function I2(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&&xm(e.media)}function xm(e){return e?!e.toUpperCase().includes("PRINT"):true}function L2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function P2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=Fr(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 M2(i)}))}var Dm=P2;function M2(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function _m(e){var t={cssom:ym,media:Dm};return Am(e)?new Promise(function(r,n){var a=Em(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 G({},l,u)})})).then(function(l){var u=l.reduce(function(c,m){return we({},c,m)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function O2(e){return de(e)==="object"&&Array.isArray(e.assets)}function Am(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:O2(e.preload)}function Em(e){var t=Xe.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=ja(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 xo(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},n=Sa(p._audit.rules,"id",e.id)||{};e.tags=Hr(n.tags||[]);var a=Cm(t,true,n),i=Cm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Us(e,Hr(r[e.id]||{}));}function N2(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Nl()}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 Cm(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?(de(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=N2(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=ql(o.message,n.data)),Us(n,o);}}function q2(e,t){return Fr(e,t)}var tr=q2;function Sm(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 B2(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?Sm(e,n.values):Sm(e,[])}var km=B2;function Tm(e,t){if(!t)return e;var r=e.cloneNode(false),n=da(r);if(r.nodeType===1){var a=r.outerHTML;r=We.get(a,function(){return Rm(r,n,e,t)});}else r=Rm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Tm(i,t));}),r}function Rm(e,t,r,n){return t&&(e=g.createElement(e.nodeName),Array.from(t).forEach(function(a){H2(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function H2(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Rn(e,r[t])}function Xl(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=V2(t.include),l=$2(t),u=0;u<s.length;u++){n=s[u];var c=Fr(n,e,l);r=j2(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function V2(e){return e.reduce(function(t,r){return (!t.length||!Vr(t[t.length-1],r))&&t.push(r),t},[])}function $2(e){return !e.exclude||e.exclude.length===0?null:function(t){return jl(t,e)}}function j2(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 Do(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(de(e)!=="object"||e===null)return {message:String(e)};var r={},n=it(Xe.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(de(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?Do(e.cause,t+1):"..."),r}var z2=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return rr(this,t),a=ee(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=Do(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return Ge(t,e),zt(t)})(H(Error)),_o=z2;function G2(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function U2(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return G2(r,n,a)});}var W2=U2;function X2(e){var t=Array.isArray(e)?_e(e):[e];return Fm(t,g)}function Fm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Fm(e,n.shadowRoot):null}function Yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g,r=Array.isArray(e)?_e(e):[e];return e.length===0?[]:Im(r,t)}function Im(e,t){var r=I(e),n=r[0],a=fn(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,_e(Im(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function Y2(){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 Ao=Y2,Lm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 K2(e){for(var t=Lm;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 Pm(e){e=Array.isArray(e)?e:Lm;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Pm(r).map(function(i){return a+i})):t.push(a);}),t}var Eo=K2,J2=(function(e){function t(r){var n;return rr(this,t),n=ee(this,t),n._props=Q2(r),n._attrs=eE(r),n}return Ge(t,e),zt(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)}}])})(Lt),Kl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Mm={},Z2=Object.keys(Kl);Z2.forEach(function(e){Mm[Kl[e]]=e;});function Q2(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Mm[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Kl[e.nodeName])!==null&&r!==void 0?r:1;nt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),nt(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(),Ao().includes(o)||(o="text"));var s=we({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function eE(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(nt(de(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 Om=J2;function tE(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(g.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 Nm=tE,za={},qm;function Bm(e){return za.hasOwnProperty(e)}function Jl(e){return typeof e=="string"&&za[e]?za[e]:typeof e=="function"?e:qm}function rE(e,t,r){za[e]=t,r&&(qm=t);}function nE(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=De(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=De(s,3),u=l[0],c=l[1],m=l[2],b=p.version.split("-"),A=De(b,2),R=A[0],O=A[1],B=R.split(".").map(Number),V=De(B,3),z=V[0],X=V[1],Y=V[2];if(u!==z||X<c||X===c&&Y<m||u===z&&c===X&&m===Y&&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"||Bm(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(ne){if(!ne.id)throw new TypeError("Configured check ".concat(JSON.stringify(ne)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ne);});}var J=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ne){if(!ne.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ne)," is invalid. Rules must be an object with at least an id property"));J.push(ne.id),t.addRule(ne);});}if(e.disableOtherRules&&t.rules.forEach(function(ne){J.includes(ne.id)===false&&(ne.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&&DD(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(Xe.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var aE=nE;function iE(e){br.updateMessenger(e);}function oE(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 sE=oE;function lE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Ba(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Pt(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var uE=lE,Hm={};fr(Hm,{getAllCells:function(){return Zl},getCellPosition:function(){return ao},getHeaders:function(){return Co},getScope:function(){return dl},isColumnHeader:function(){return Hn},isDataCell:function(){return $m},isDataTable:function(){return So},isHeader:function(){return hE},isRowHeader:function(){return Vn},toArray:function(){return jr},toGrid:function(){return jr},traverse:function(){return Ql}});function cE(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 Zl=cE;function Vm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Vn:Hn,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,A=e==="row"?0:t.x,R,O=[],B=c;B>=b&&!R;B--)for(var V=m;V>=A;V--){var z=r[B]?r[B][V]:void 0;if(z){var X=p.utils.getNodeFromTree(z);if(X[n]){R=X[n];break}O.push(z);}}return R=(R||[]).concat(O.filter(a)),O.forEach(function(Y){var J=p.utils.getNodeFromTree(Y);J[n]=R;}),R}function dE(e,t){if(e.getAttribute("headers")){var r=Cr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=jr(qn(e,"table")));var n=ao(e,t),a=Vm("row",n,t),i=Vm("col",n,t);return [].concat(a,i).reverse()}var Co=dE;function fE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Qe(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var $m=fE;function pE(e){var t=Qe(e);if((t==="presentation"||t==="none")&&!Ct(e))return false;if(e.getAttribute("contenteditable")==="true"||qn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||yr(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(Qe(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 A,R,O=0;O<i;O++){if(o=e.rows[O],A&&A!==d.getComputedStyle(o).getPropertyValue("background-color")||(A=d.getComputedStyle(o).getPropertyValue("background-color"),R&&R!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;R=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ks(e).width>Xi(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var So=pE;function mE(e){if(Hn(e)||Vn(e))return true;if(e.getAttribute("id")){var t=Dt(e.getAttribute("id"));return !!g.querySelector('[headers~="'.concat(t,'"]'))}return false}var hE=mE;function jm(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=jm(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function gE(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 jm(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var Ql=gE,zm={};fr(zm,{allowedAttr:function(){return Gm},arialabelText:function(){return Pa},arialabelledbyText:function(){return La},getAccessibleRefs:function(){return eu},getElementUnallowedRoles:function(){return Xm},getExplicitRole:function(){return Qe},getImplicitRole:function(){return Sr},getOwnedVirtual:function(){return Na},getRole:function(){return Ye},getRoleType:function(){return yr},getRolesByType:function(){return kE},getRolesWithNameFromContents:function(){return FE},implicitNodes:function(){return LE},implicitRole:function(){return Sr},isAccessibleRef:function(){return ko},isAriaRoleAllowedOnElement:function(){return Wm},isComboboxPopup:function(){return ru},isUnsupportedRole:function(){return ul},isValidRole:function(){return Ma},label:function(){return Zm},labelVirtual:function(){return so},lookupTable:function(){return Km},namedFromContents:function(){return yp},requiredAttr:function(){return Qm},requiredContext:function(){return nu},requiredOwned:function(){return au},validateAttr:function(){return To},validateAttrValue:function(){return e1}});function vE(e){var t=at.ariaRoles[e],r=_e(an());return t&&(t.allowedAttrs&&r.push.apply(r,_e(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,_e(t.requiredAttrs))),r}var Gm=vE,bE=/^idrefs?$/;function Um(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=He(e.getAttribute(i)||"");if(o){var s=it($t(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&&Um(e.childNodes[c],t,r);}function yE(e){var t;e=e.actualNode||e;var r=qt(e);r=r.documentElement||r;var n=We.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(at.ariaAttrs).filter(function(o){var s=at.ariaAttrs[o].type;return bE.test(s)});Um(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var eu=yE;function wE(e,t){var r=e instanceof Lt?e:Ke(e),n=Sr(r),a=on(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Wm=wE,xE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],DE={header:"banner",footer:"contentinfo"};function _E(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=$t(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Ma(n)})}function AE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=rt(e),n=r.vNode;if(!$l(n))return [];var a=n.props.nodeName,i=Sr(n)||DE[a],o=_E(n);return o.filter(function(s){return !EE(s,n,t,i)})}function EE(e,t,r,n){return r&&e===n?true:xE.includes(e)&&yr(e)!==n?false:Wm(t,e)}var Xm=AE;function CE(e){return Object.keys(at.ariaRoles).filter(function(t){return at.ariaRoles[t].type===e})}var jn=CE;function SE(e){return jn(e)}var kE=SE;function TE(){return We.get("ariaRolesNameFromContent",function(){return Object.keys(at.ariaRoles).filter(function(e){return at.ariaRoles[e].nameFromContent})})}var tu=TE;function RE(){return tu()}var FE=RE,Ym=function(t){return t===null},Bt=function(t){return t!==null},Gr={};Gr.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}},Gr.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"],Gr.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:Bt}}]},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:Bt}}]},"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:Bt}}]},"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:Bt}}]},"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:Bt}}]},"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:Bt}}]},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:Bt}}]},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:Bt}}]},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:Bt}}]},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:Bt}}]},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:Bt}}]},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:Bt}}]},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:Bt}}]},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:Bt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Gr.implicitHtmlRole=pl,Gr.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:Bt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Bt}},{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"]}],Gr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Ym}},{nodeName:"img",attributes:{alt:Ym}},{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"]}],Gr.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}},Gr.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 Km=Gr;function IE(e){var t=null,r=Km.role[e];return r&&r.implicit&&(t=Hr(r.implicit)),t}var LE=IE;function PE(e){return !!eu(e).length}var ko=PE;function ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Ye(e);if(r??(r=ep["aria-haspopup"].values),!r.includes(n))return false;var a=ME(e);if(Jm(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=ka(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(Jm)}var Jm=function(t){return t&&Ye(t)==="combobox"};function ME(e){for(;e=e.parent;)if(Ye(e,{noPresentational:true})!==null)return e;return null}function OE(e){return e=Ke(e),so(e)}var Zm=OE;function NE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:_e(t.requiredAttrs)}var Qm=NE;function qE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:_e(t.requiredContext)}var nu=qE;function BE(e){var t=at.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:_e(t.requiredOwned)}var au=BE;function HE(e,t){e=e instanceof Lt?e:Ke(e);var r,n,a=e.attr(t),i=at.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=$t(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=qt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Cr(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 e1=HE;function VE(e){var t=at.ariaAttrs[e];return !!t}var To=VE;function $E(e){var t=Zl(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 He(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Qe(s))!==-1}),i=jr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=ao(s,i),u=false;Hn(s)&&(u=Ql("down",l,i).find(function(c){return !Hn(c)&&Co(c,i).includes(s)})),!u&&Vn(s)&&(u=Ql("right",l,i).find(function(c){return !Vn(c)&&Co(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var jE=$E,Ga=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],t1=Ga[0],r1=Ga[1],n1=Ga[2],iu=Ga[3];function zE(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]=Ye(o));}var l=G(G(G(G({},n1,new Set),t1,new Set),r1,new Set),iu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!yt(b))){var A=b.getAttribute("headers").trim();if(!A){l[iu].add(b);return}var R=b.getAttribute("id"),O=$t(A);O.forEach(function(B){R&&B===R?l[n1].add(b):r[B]?["columnheader","rowheader"].includes(r[B])||l[r1].add(b):l[t1].add(b);});}});var u=it(Ga),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;if(l[m].size>0)return this.relatedNodes(_e(l[m])),m===iu?void 0:(this.data({messageKey:m}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function GE(e){var t=[],r=Zl(e),n=jr(e);return r.forEach(function(a){if(co(a)&&$m(a)&&!Zm(a)){var i=Co(a,n).some(function(o){return o!==null&&!!co(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var UE=GE;function WE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var XE=WE,YE=KE;function KE(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(JE),i=a?He(sn(a)):false;return !i||!n?false:He(n).toLowerCase()===He(i).toLowerCase()}}function JE(e){return e.props.nodeName==="caption"}function ZE(e){return Gp(g)?e.nodeName.toUpperCase()==="TH":true}var QE=ZE;function eC(e){var t=jr(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 tC=eC;function rC(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=sn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var nC=rC,a1={};fr(a1,{getAriaRolesByType:function(){return jn},getAriaRolesSupportingNameFromContent:function(){return tu},getElementSpec:function(){return on},getElementsByContentType:function(){return cl},getGlobalAriaAttrs:function(){return an},implicitHtmlRoles:function(){return pl}});function aC(e,t,r){var n=Qe(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=Ye(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=an().some(function(l){return r.hasAttr(l)}),o=Ct(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function iC(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 oC=iC;function sC(e){return Zt(e)}var lC=sC;function uC(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&&!Wp(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(we({value:m},c)),true;var b=cC(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(we({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function cC(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 dC(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var fC=dC;function pC(){}var mC=pC;function hC(){var e=g.title;return !!He(e)}var gC=hC;function vC(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 bC=vC;function yC(e,t,r){try{return !!He(La(r))}catch{return}}var wC=yC;function xC(e,t,r){return !!He(Pa(r))}var DC=xC;function _C(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(Dt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var AC=_C;function EC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var CC=EC;function SC(e,t,r){var n=He(r.attr("title")).toLowerCase();return this.data(n),true}var kC=SC;function TC(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 RC=TC;function FC(e){var t=il(e,"href");return t?yt(t)||void 0:false}var IC=FC,LC=["alert","log","status"];function PC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=We.get("regionlessNodes",function(){return MC(t)});return !n.includes(r)}function MC(e){var t=i1(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==g.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function i1(e,t){var r=e.actualNode;if(Ye(e)==="button"||NC(e,t)||["iframe","frame"].includes(e.props.nodeName)||Tl(e.actualNode)&&il(e.actualNode,"href")||!yt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==g.body&&co(r,true)&&!OC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return i1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function OC(e){return ["none","presentation"].includes(Ye(e))&&!uo(e)}function NC(e,t){var r=e.actualNode,n=Ye(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=jn("landmark");return !!(["assertive","polite"].includes(a)||LC.includes(n)||i.includes(n)||t.regionMatcher&&Oa(e,t.regionMatcher))}function qC(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(zl(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 BC=qC;function HC(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 VC(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 ou(e){var t=d.getComputedStyle(VC(e));return {fontWeight:HC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function o1(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 $C(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(B){return B.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(B){return B.nodeName.toUpperCase()==="P"}),l=ou(e),u=o?ou(o):null,c=s?ou(s):null,m=t.passLength,b=t.failLength,A=e.textContent.trim().length,R=o?.textContent.trim().length;if(A>R*m||!u||!o1(l,u,i))return true;var O=Nn(r,"blockquote");if(!(O&&O.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!o1(l,c,i))&&!(A>R*b))return false}var jC=$C,zC=/[;,\s]/,GC=/^[0-9.]+$/;function UC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(zC),l=De(s,1),u=l[0];if(!u.match(GC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function WC(e,t,r){var n=tr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var XC=WC,s1={};fr(s1,{aria:function(){return zm},color:function(){return l1},dom:function(){return Ws},forms:function(){return w1},matches:function(){return Oa},math:function(){return Pf},standards:function(){return a1},table:function(){return Hm},text:function(){return Ia},utils:function(){return as}});var l1={};fr(l1,{Color:function(){return wt},centerPointOfRect:function(){return KC},elementHasImage:function(){return fo},elementIsDistinct:function(){return c1},filteredRectStack:function(){return eS},flattenColors:function(){return Ir},flattenShadowColors:function(){return lu},getBackgroundColor:function(){return Wa},getBackgroundStack:function(){return uu},getContrast:function(){return zn},getForegroundColor:function(){return Io},getOwnBackgroundColor:function(){return An},getRectStack:function(){return d1},getStackingContext:function(){return du},getStrokeColorsFromShadows:function(){return cu},getTextShadowColors:function(){return Fo},hasValidContrastRatio:function(){return DS},incompleteData:function(){return gt},parseTextShadows:function(){return m1},stackingContextToColor:function(){return Ua}});function YC(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 KC=YC;function u1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function JC(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 wt;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(u1(r)[0]!==u1(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 c1=JC;function ZC(e){var t=Jf(e),r=_l(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var d1=ZC;function QC(e){var t=d1(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]:(gt.set("bgColor","elmPartiallyObscuring"),null)}return gt.set("bgColor","outsideViewport"),null}var eS=QC,tS=["hue","saturation","color","luminosity"],f1={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 Ir(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=nS(t,e,r),a=su(e.red,e.alpha,t.red,t.alpha,n.r*255),i=su(e.green,e.alpha,t.green,t.alpha,n.g*255),o=su(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=rS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new wt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new wt(l,u,c,s)}function su(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function rS(e,t,r){return Math.min(Math.max(t,e),r)}function nS(e,t,r){if(tS.includes(r))return f1[r](e,t);var n=new wt;return ["r","g","b"].forEach(function(a){n[a]=f1[r](e[a],t[a]);}),n}function lu(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 wt(n,a,i,o)}function uu(e){for(var t=_l(e).map(function(a){return a=Xp(a,e),a=aS(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return gt.set("bgColor","bgOverlap"),null;if(r!==0&&!iS(n,t[0]))return gt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function aS(e){var t=e.indexOf(g.body),r=e,n=An(d.getComputedStyle(g.documentElement));if(t>1&&n.alpha===0&&!fo(g.documentElement)){t>1&&(r.splice(t,1),r.push(g.body));var a=r.indexOf(g.documentElement);a>0&&(r.splice(a,1),r.push(g.documentElement));}return r}function iS(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 oS=.54,Ro=.5,sS=1.5,p1=["top","right","bottom","left"];function cu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=lS(e),i=Object.entries(a).map(function(o){var s=De(o,2),l=s[0],u=s[1],c=p1.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(uS).filter(function(o){return o!==null})}function lS(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=De(s,2),c=u[0],m=u[1];c>Ro?l.right.push(c):-c>Ro&&l.left.push(-c),m>Ro?l.bottom.push(m):-m>Ro&&l.top.push(-m);}}catch(b){r.e(b);}finally{r.f();}return t}function uS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new wt;a.parseString(t);var i=0,o=true;return p1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>sS}));}),o||(a.alpha=1-Math.pow(oS,i)),a}function m1(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)nt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){nt(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]===",")nt(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 Fo(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);nt(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],m=m1(s),b=it(m),A;try{for(b.s();!(A=b.n()).done;){var R=A.value,O=R.colorStr||o.getPropertyValue("color"),B=De(R.pixels,3),V=B[0],z=B[1],X=B[2],Y=X===void 0?0:X;if(!(n&&Y>=u*n)){if(r&&Y<u*r){c.push({colorStr:O,pixels:R.pixels});continue}if(c.length>0){var J=cu(c,{ignoreEdgeCount:a});if(J===null)return null;i.push.apply(i,_e(J)),c.splice(0,c.length);}var ne=cS({colorStr:O,offsetX:V,offsetY:z,blurRadius:Y,fontSize:u});i.push(ne);}}}catch(fe){b.e(fe);}finally{b.f();}if(c.length>0){var se=cu(c,{ignoreEdgeCount:a});if(se===null)return null;i.push.apply(i,_e(se));}return i}function cS(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new wt(0,0,0,0);var o=new wt;return o.parseString(t),o.alpha*=dS(a,i),o}function dS(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function du(e,t){var r=Ke(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??uu(e),t.forEach(function(i){var o,s=Ke(i),l=mS(s),u=s._stackingOrder.filter(function(b){var A=b.vNode;return !!A});u.forEach(function(b,A){var R,O=b.vNode,B=(R=u[A-1])===null||R===void 0?void 0:R.vNode,V=g1(a,O,B);A===0&&!a.get(O)&&n.unshift(V),a.set(O,V);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,m=g1(a,s,c);u.length||n.unshift(m),m.bgColor=l;}),r._stackingContext=n,n}function Ua(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(fS,h1()),a=Ir(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function fS(e,t){var r;e instanceof wt?r=e:r=Ua(e).color;var n=Ua(t).color;return Ir(n,r,t.blendMode)}function h1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new wt(0,0,0,0),blendMode:pS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function pS(e){return e||void 0}function g1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:h1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function mS(e){var t=new wt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ke(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,_e(a.bgElms)),gt.set("bgColor",a.incompleteData),a.bgColor;var i=hS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:gt.get("bgColor")},i}function hS(e,t,r){var n,a,i=uu(e);if(!i)return null;var o=Dl(e),s=(n=Fo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(lu)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(fo(u,c))return t.push(u),null;var m=void 0;try{if(m=An(c),m.alpha===0)continue}catch(O){if(O&>.get("colorParse"))return null;throw O}if(c.getPropertyValue("display")!=="inline"&&!v1(u,o))return t.push(u),gt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),m.alpha===1)break}var b=du(e,i);s=b.map(Ua).concat(s);var A=gS(e,i.includes(g.body));if((a=s).unshift.apply(a,_e(A)),s.length===0)return new wt(255,255,255,1);var R=s.reduce(function(O,B){return Ir(B.color,O.color instanceof wt?O.color:O,B.blendMode)});return Ir(R.color instanceof wt?R.color:R,new wt(255,255,255,1))}function v1(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 b1(e){return e||void 0}function gS(e,t){var r=[];if(!t){var n=g.documentElement,a=g.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=An(i),l=An(o),u=l.alpha!==0&&v1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:b1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:b1(i.getPropertyValue("mix-blend-mode"))});}return r}function vS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Ir(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var zn=vS;function Io(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return yS(a,n)},function(){return bS(a)},function(){return Fo(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&>.get("colorParse"))return null;throw O}var m=o.reduce(function(O,B){return Ir(O,B)});if(r??(r=Wa(e,[])),r===null){var b=gt.get("bgColor");return gt.set("fgColor",b),null}var A=du(e),R=y1(A,e);return Ir(wS(m,R,A),new wt(255,255,255,1))}function bS(e){return new wt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function yS(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 wt().parseString(s)}function wS(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(Ua);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Ir(l.color,s.color instanceof wt?s.color:s)},{color:new wt(0,0,0,0),blendMode:"normal"});e=Ir(e,o),t=t.ancestor;}return e}function y1(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=y1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function xS(e,t,r,n){var a=zn(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 DS=xS,w1={};fr(w1,{isAriaCombobox:function(){return Cp},isAriaListbox:function(){return Ep},isAriaRange:function(){return Sp},isAriaTextbox:function(){return Ap},isDisabled:function(){return Xa},isNativeSelect:function(){return _p},isNativeTextbox:function(){return Dp}});var _S=["fieldset","button","select","input","textarea"];function x1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return _S.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=x1(e.parent):t=false,e._isDisabled=t,t}var Xa=x1;function AS(e,t,r){var n=Ia.accessibleTextVirtual(r),a=Ia.sanitize(Ia.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Ws.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var ES=AS;function D1(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 de(o)!==de(s)?false:de(o)==="object"||de(s)==="object"?D1(o,s):o===s});return a}function CS(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 A=t.filter(function(O,B){var V=O.data;return V.name===m&&B!==s}),R=A.every(function(O){var B=O.data;return D1(B.urlProps,b)});A.length&&!R&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,_e(A.map(function(O){return O.relatedNodes[0]}))),n[m]=A,r.push(u);},i=0;i<t.length;i++)a(i);return r}var SS=CS;function kS(e){var t=Ye(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=De(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 TS(){var e=We.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Fr(p._tree[0],t,yt);return e=r.map(function(n){return {ancestry:[Bi(n.actualNode)],level:kS(n)}}),this.data({headingOrder:e}),We.set("headingOrder",r),true}var RS=TS;function FS(e){var t=LS(e);return e.forEach(function(r){r.result=IS(r,t);}),e}function IS(e,t){var r,n,a,i,o=_1(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 LS(e){e=_e(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(PS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function PS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=A1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return OS(s,a)}),o=MS(e,a);return o===-1?e.push.apply(e,_e(i)):e.splice.apply(e,[o,0].concat(_e(i))),e}function MS(e,t){for(;t.length;){var r=_1(e,t);if(r!==-1)return r;t=A1(t,1);}return -1}function _1(e,t){return e.findIndex(function(r){return zl(r.ancestry,t)})}function OS(e,t){var r=t.concat(e.ancestry);return we({},e,{ancestry:r})}function A1(e,t){return e.slice(0,e.length-t)}function NS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if($r(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=$r.bind(null,n),o=to(r),s=qS(r,o),l=BS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ya(s));return}if(u.length)return this.relatedNodes(Ya(u)),this.data({messageKey:"obscured"}),true;var m=ur(r)?false:void 0;if(!i(a))return this.data(we({minSize:n},Lo(a))),m;var b=$S(c);if(!b.length)return this.data(we({minSize:n},Lo(a))),true;var A=HS(r,b,n);if(!A){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(A)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ya(s));return}var R=b.every(ur),O="partiallyObscured".concat(R?"":"NonTabbable");return this.data(we({messageKey:O,minSize:n},Lo(A))),this.relatedNodes(Ya(b)),R?m:void 0}return this.data(we({minSize:n},Lo(A||a))),this.relatedNodes(Ya(b)),true}function qS(e,t){return t.filter(function(r){return !E1(r,e)&&C1(e,r)})}function BS(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!C1(e,o)&&Qs(e,o)&&jS(o)!=="none"&&(E1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function HS(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=el(n,a);}catch{return null}return VS(i,r)}function VS(e,t){return e.reduce(function(r,n){var a=$r(t,r),i=$r(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 $S(e){return e.filter(function(t){return yr(t)==="widget"&&Ct(t)})}function E1(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 jS(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 C1(e,t){return Vr(e,t)&&!ur(t)}function Ya(e){return e.map(function(t){var r=t.actualNode;return r})}var zS=.05;function GS(e,t,r){var n=t?.minOffset||24;if($r(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(to(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(yr(l)!=="widget"||!Ct(l))){var u=null;try{u=Of(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=US(u)*2,!(u+zS>=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(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),ur(r)?false:void 0}function US(e){return Math.round(e*10)/10}function WS(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 A=b.trim();if(!A)return m;var R=A.split("="),O=De(R,2),B=O[0],V=O[1];if(!B||!V)return m;var z=B.toLowerCase().trim(),X=V.toLowerCase().trim();return z==="maximum-scale"&&X==="yes"&&(X=1),z==="maximum-scale"&&parseFloat(X)<0||(m[z]=X),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 XS=WS;function YS(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=B(o),A=function(){var ge=O[R],xe=b[ge],Ee=xe.root,Me=xe.rules,je=Me.filter(V);if(!je.length)return 1;je.forEach(function(Fe){var qe=Fe.cssRules;Array.from(qe).forEach(function(be){var Pe=z(be);if(Pe&&be.selectorText.toUpperCase()!=="HTML"){var te=Array.from(Ee.querySelectorAll(be.selectorText))||[];m=m.concat(te);}c=c||Pe;});});},R=0,O=Object.keys(b);R<O.length;R++)A();if(!c)return true;return m.length&&this.relatedNodes(m),false;function B(le){return le.reduce(function(ge,xe){var Ee=xe.sheet,Me=xe.root,je=xe.shadowId,Fe=je||"topDocument";if(ge[Fe]||(ge[Fe]={root:Me,rules:[]}),!Ee||!Ee.cssRules)return ge;var qe=Array.from(Ee.cssRules);return ge[Fe].rules=ge[Fe].rules.concat(qe),ge},{})}function V(le){var ge=le.type,xe=le.cssText;return ge!==4?false:/orientation:\s*landscape/i.test(xe)||/orientation:\s*portrait/i.test(xe)}function z(le){var ge=le.selectorText,xe=le.style;if(!ge||xe.length<=0)return false;var Ee=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Ee&&!xe.rotate)return false;var Me=X(Ee),je=Y("rotate",xe.rotate),Fe=Me+je;return !Fe||(Fe=Math.abs(Fe),Math.abs(Fe-180)%180<=u)?false:Math.abs(Fe-90)%90<=u}function X(le){if(!le)return 0;var ge=le.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ge)return 0;var xe=De(ge,3),Ee=xe[1],Me=xe[2];return Y(Ee,Me)}function Y(le,ge){switch(le){case "rotate":case "rotateZ":return J(ge);case "rotate3d":var xe=ge.split(",").map(function(Fe){return Fe.trim()}),Ee=De(xe,4),Me=Ee[2],je=Ee[3];return parseInt(Me)===0?void 0:J(je);case "matrix":case "matrix3d":return ne(ge);default:return 0}}function J(le){var ge=le.match(/(deg|grad|rad|turn)/)||[],xe=De(ge,1),Ee=xe[0];if(!Ee)return 0;var Me=parseFloat(le.replace(Ee,""));switch(Ee){case "rad":return se(Me);case "grad":return fe(Me);case "turn":return Ae(Me);default:return parseInt(Me)}}function ne(le){var ge=le.split(",");if(ge.length<=6){var xe=De(ge,2),Ee=xe[0],Me=xe[1],je=Math.atan2(parseFloat(Me),parseFloat(Ee));return se(je)}var Fe=parseFloat(ge[8]),qe=Math.asin(Fe),be=Math.cos(qe),Pe=Math.acos(parseFloat(ge[0])/be);return se(Pe)}function se(le){return Math.round(le*(180/Math.PI))}function fe(le){return le=le%400,le<0&&(le+=400),Math.round(le/400*360)}function Ae(le){return Math.round(360/(1/le))}}var KS=YS;function JS(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=De(c,2),b=m[1],A=b.split(",");return A.map(function(R){return /:/.test(R)?l(R):parseFloat(R)})}}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 ZS=JS;function QS(e,t){return t.isViolation?false:void 0}var ek=QS,S1=" > ";function tk(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(S1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(S1);return t[i]&&(t[i].result=true),false})}var rk=tk;function nk(e,t,r){var n=tr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var ak=nk;function ik(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 ok=ik;function sk(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||!yt(c))){i=false;var m=c.nodeName.toUpperCase()==="LI",b=Ye(u),A=b==="listitem";!m&&!A&&o.push(c),m&&!A&&(s.push(c),l.includes(b)||l.push(b)),A&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var lk=sk;function uk(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"&&Ye(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&&yt(u)){var m=Qe(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 ck(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Qe(n);return ["presentation","none","list"].includes(i)?true:i&&Ma(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function dk(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=k1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&pk(l)){if(!l.children)return;var c=k1(l.children,true);i.push.apply(i,_e(c));continue}var m=fk(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 fk(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||!yt(e))return false;var b=Qe(e);return b?a.includes(b)?false:m+"[role=".concat(b,"]"):o.includes(l)?false:m+l}function pk(e){return e.props.nodeName==="div"&&Qe(e)===null}function k1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function mk(e){var t=Pt(e),r=t.nodeName.toUpperCase(),n=Qe(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Pt(t),r=t.nodeName.toUpperCase(),n=Qe(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var hk=mk;function gk(e,t,r){var n=Cn(r.attr("lang")),a=Cn(r.attr("xml:lang"));return n===a}var vk=gk;function bk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Cn(i),s=t.value?!t.value.map(Cn).includes(o):!Eo(o);(o!==""&&s||i!==""&&!He(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!El(r)?false:(this.data(n),true)}var yk=bk;function fu(e){return (e||"").trim()!==""}function wk(e,t,r){var n=typeof g<"u"?wa(g):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&fu(r.attr("xml:lang"))&&!fu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return fu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var xk=wk;function Dk(e,t,r){var n=Ye(e),a=Mt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var _k=Dk;function Ak(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 Ek=Ak;function Ck(e,t,r){var n=lo(r),a=io(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var Sk=Ck;function kk(e){var t=Dt(e.getAttribute("id")),r=e.parentNode,n=qt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !nn(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 yt(s)});if(i.length>1)return;var o=Cr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var Tk=kk;function Rk(e,t){var r=T1(t),n=T1(e);return !r||!n?false:r.includes(n)}function T1(e){var t=qa(e,{emoji:true,nonBmp:true,punctuations:true});return He(t)}function Fk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=xn(e).toLowerCase(),s=He(sn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(xl(o)<1||xl(s)<1))return Rk(s,o)}var Ik=Fk;function Lk(e,t,r){try{var n=Jt(r,"label");if(n){var a=He(Mt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var Pk=Lk;function Mk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=qt(e),a=Dt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!yt(i)){var o;try{o=Mt(r).trim();}catch{return}var s=o==="";return s}}return false}var Ok=Mk;function Nk(e,t,r){var n=lo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Cr(e,"aria-describedby");a=i.map(function(o){return o?xn(o):""}).join("");}return He(a)===He(n)}var qk=Nk;function Bk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=qt(r.actualNode),i=Dt(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(Zt(s)){var l=He(xn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Hk=Bk;function Vk(e,t,r){if(["none","presentation"].includes(Ye(r)))return false;var n=Jt(r,t.parentSelector);if(!n)return false;var a=kr(n,true).toLowerCase();return a===""?false:a===Mt(r).toLowerCase()}var $k=Vk;function jk(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var zk=jk;function Gk(e,t,r){var n=Rr(r.attr("tabindex"));return n===null||n<=0}var Uk=Gk;function Wk(e,t,r){if(r.children)try{var n=R1(r);if(!n.length)return !0;var a=n.filter(Xk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function R1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){yr(r)==="widget"&&Ct(r)?t.push(r):t.push.apply(t,_e(R1(r)));}),t}function Xk(e){var t=Rr(e.attr("tabindex"));return t!==null&&t<0}function Yk(e){var t=jn("landmark"),r=Pt(e),n=Ye(e);for(this.data({role:n});r;){var a=Qe(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Sr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Pt(r);}return true}var Kk=Yk;function Jk(e,t,r){if(r.children)try{return !r.children.some(function(n){return F1(n)})}catch{return}}function F1(e){if(ur(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 F1(t)})}function Zk(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||Ha()?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 Qk=Zk;function eT(e,t,r){if(!ur(r))return false;try{return !Mt(r)}catch{return}}var tT=eT;function rT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ha()){this.relatedNodes(n);return}return true}var nT=rT;function aT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return ur(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Jt(r.parent,"[contenteditable]");return o?n(o):false}}var iT=aT;function oT(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||Ha()?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 sT=oT;function lT(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 uT=lT;function cT(e,t,r){return nn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var dT=cT;function fT(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 pT=fT;function mT(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(We.get(n)){this.data("ignored");return}We.set(n,true);var a=Fr(p._tree[0],t.selector,function(i){return yt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Nn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Ye(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var hT=mT;function gT(e){return e.filter(function(t){return t.data!=="ignored"})}var vT=gT;function bT(e,t,r){return Oa(r,t.matcher)}var yT=bT;function wT(e,t,r){try{return He(sn(r))!==""}catch{return}}function xT(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&&Ha())return true;var n=Fr(r,t.selector,function(a){return yt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var DT=xT;function _T(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var AT=_T;function ET(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=!He(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var CT=ET;function ST(e,t,r){var n=r.attr("autocomplete")||"";return Np(n,t)}var kT=ST;function TT(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};de(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(_n.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?He(r.attr("type")).toLowerCase():"text";return c=Ao().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var RT=TT,FT=["block","list-item","table","flex","grid","inline-block"];function IT(e){if(I1(e))return false;for(var t=Pt(e);t&&t.nodeType===1&&!I1(t);)t=Pt(t);if(t){if(this.relatedNodes([t]),c1(e,t))return true;if(LT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function I1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return FT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function LT(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 L1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var PT=["block","list-item","table","flex","grid","inline-block"];function P1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return PT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function MT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(P1(e))return false;for(var a=Pt(e);a&&a.nodeType===1&&!P1(a);)a=Pt(a);if(a){this.relatedNodes([a]);var i=Io(e),o=Io(a),s=Wa(e),l=Wa(a),u=i&&o?L1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?L1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var m,b=(m=gt.get("bgColor"))!==null&&m!==void 0?m:"bgContrast";this.data({messageKey:b}),gt.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 OT=MT;function NT(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(!Zt(e))return this.data({messageKey:"hidden"}),true;var b=kr(r,false,true);if(n&&BT(b)){this.data({messageKey:"nonBmp"});return}var A=d.getComputedStyle(e),R=parseFloat(A.getPropertyValue("font-size")),O=A.getPropertyValue("font-weight"),B=parseFloat(O)>=o||O==="bold",V=Math.ceil(R*72)/96,z=B&&V<s||!B&&V<l,X=z?u.normal:u.large,Y=X.expected,J=X.minThreshold,ne=X.maxThreshold,se=qT(r,{ignorePseudo:i,pseudoSizeThreshold:m});if(se){this.data({fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:B?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:Y+":1"}),this.relatedNodes(se.actualNode);return}var fe=Fo(e,{minRatio:.001,maxRatio:c});if(fe===null){this.data({messageKey:"complexTextShadows"});return}var Ae=[],le=Wa(e,Ae,c),ge=Io(e,false,le,t),xe=null,Ee=null,Me=null;if(fe.length===0)xe=zn(le,ge);else if(ge&&le){Me=[].concat(_e(fe),[le]).reduce(lu);var je=zn(le,ge),Fe=zn(le,Me),qe=zn(Me,ge);xe=Math.max(je,Fe,qe),xe!==je&&(Ee=Fe>qe?"shadowOnBgColor":"fgOnShadowColor");}var be=xe>Y;if(typeof J=="number"&&(typeof xe!="number"||xe<J)||typeof ne=="number"&&(typeof xe!="number"||xe>ne))return this.data({contrastRatio:xe}),true;var Pe=Math.floor(xe*100)/100,te,Ce;le===null?gt.get("colorParse")?(te="colorParse",Ce=gt.get("colorParse")):te=gt.get("bgColor"):be||(te=Ee),ge===null&>.get("colorParse")&&(te="colorParse",Ce=gt.get("colorParse"));var me=Pe===1,Se=b.length===1;if(me?te=gt.set("bgColor","equalRatio"):!be&&Se&&!a&&(te="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Pe,fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:B?"bold":"normal",messageKey:te,expectedContrastRatio:Y+":1",shadowColor:Me?Me.toHexString():void 0,colorParse:Ce}),ge===null||le===null||me||Se&&!a&&!be){te=null,gt.clear(),this.relatedNodes(Ae);return}return be||this.relatedNodes(Ae),be}function qT(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=M1(e.actualNode,":before"),u=M1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var M1=ht(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||An(n).alpha===0&&a("background-image","none"))return 0;var i=O1(n.getPropertyValue("width")),o=O1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function BT(e){var t={nonBmp:true},r=yl(e,t),n=He(qa(e,t))==="";return r&&n}function O1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=De(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 HT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},VT={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 $T(e){var t=e.nodeName.toUpperCase();return HT[t]||false}function jT(e,t){var r=Qe(e);return r&&(VT[r]||t.roles.includes(r))||false}function zT(e,t){return jT(e,t)||$T(e)}var GT=zT;function UT(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=ul(n);return a&&this.data(n),a}var WT=UT;function XT(e,t,r){var n=Ye(r,{noImplicit:true});this.data(n);var a,i;try{a=He(vl(r)).toLowerCase(),i=He(Mt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var YT=XT;function KT(e,t,r){return Ct(r)}var JT=KT;function ZT(e,t,r){var n=$t(r.attr("role")),a=n.every(function(i){return !Ma(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var QT=ZT;function e5(e,t,r){var n=Qe(r);if(n===null)return false;var a=yr(n);return a==="widget"||a==="composite"}var t5=e5;function r5(e,t,r){var n=an().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var n5=r5;function a5(e,t){var r=Sr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function i5(e,t,r){var n=$t(r.attr("role"));return n.length<=1?false:a5(r,n)?void 0:true}var o5=i5;function s5(e,t,r){var n=Ye(r,{dpub:true,fallback:true}),a=at.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function l5(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(He(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):He(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function u5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return He(Mt(r))!==""}catch{return}}function c5(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=e1(r,u);}catch{n="".concat(u,'="').concat(m,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(m===""&&!d5(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 d5(e){var t;return ((t=at.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function f5(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)&&!To(i)&&n.push(i);}),n.length?(this.data(n),false):true}var p5=f5;function m5(e,t,r){var n=r.attrNames.filter(function(a){var i=at.ariaAttrs[a];if(!To(a))return false;var o=i.unsupported;return de(o)!=="object"?!!o:!Oa(e,o.exceptions)});return n.length?(this.data(n),true):false}var h5=m5;function g5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Ye(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var v5=g5;function N1(e,t,r,n){var a=Qe(e);if(r||(r=nu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Ye(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 b5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Dt(e.getAttribute("id")),a=qt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function y5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=N1(r,n);if(!a)return true;var i=b5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=N1(Ke(i[o]),n,a,true),!a)return true}return this.data(a),false}var w5=y5;function x5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Qe(r,{dpub:true}),i=au(a);if(i===null)return true;var o=D5(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 E5(c,m)}).filter(function(u,c,m){return m.indexOf(u)===c}).join(", ")}),false}if(_5(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(C5)))return false}function D5(e,t){for(var r,n=[],a=Na(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!yt(r))return 1;var s=Ye(r,{noPresentational:true}),l=A5(r),u=!!l||Ct(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(m){return m===s}))a.push.apply(a,_e(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 _5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function A5(e){return an().find(function(t){return e.hasAttr(t)})}function E5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Qe(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function C5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Ba(t,false,true)}function S5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Qe(n),i=n.attrNames,o=Qm(a);if(Array.isArray(r[a])&&(o=ja(r[a],o)),!a||!i.length||!o.length||k5(n,a)||R5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=on(n),l=o.filter(function(u){return !n.attr(u)&&!T5(s,u)});return l.length?(this.data(l),false):true}function k5(e,t){return t==="separator"&&!Ct(e)}function T5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function R5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function F5(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=Ye(r,{chromium:true,fallback:true}),o=I5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?He(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=sn(r,{subtreeDescendant:true});if(He(u)==="")return true}function I5(e,t,r,n){var a=at.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||q1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var q1=ht(function(t){if(t){var r=Ye(t,{noPresentational:true,chromium:true});return r?yr(r):q1(t.parent)}});function L5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var P5=L5;function M5(e,t,r){return r.attr("aria-hidden")!=="true"}var O5=M5;function N5(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 at.ariaAttrs["aria-errormessage"].allowEmpty;var u=$t(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Cr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!yt(c))return this.data({messageKey:"hidden",values:u}),false;var m=$t(r.attr("aria-describedby"));return Qe(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($t(n)),s.call(this,n)):true}function B1(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=q5(i),l=s&&Ye(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 q5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Jt(e,t)}}function H1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=H5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=B5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function B5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function H5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var V1={row:B1,checkbox:H1};function V5(e,t,r){var n=Ye(r);return V1[n]?V1[n].call(this,e,t,r):true}function $5(e,t,r){return r.attr("aria-busy")==="true"}function j5(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=Xm(r,a);return l.length?(this.data(l),yt(r)?false:void 0):true}var z5=j5;function G5(e,t,r){var n=[],a=Ye(r),i=Gm(a);Array.isArray(t[a])&&(i=ja(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;To(l)&&!i.includes(l)&&!U5(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&&!$l(r)&&!Ct(r)))return false}function U5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function W5(e,t,r){var n=on(r);if(!n.allowedAriaAttrs)return true;var a=Qe(r);if(a)return true;var i=n.allowedAriaAttrs,o=an(),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 X5(e,t,r){var n=$t(r.attr("role")).filter(function(a){return yr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var Y5=X5;function K5(e){var t=Cn(e.getAttribute("lang")),r=Cn(e.getAttribute("xml:lang"));return Eo(t)&&Eo(r)}var J5=K5;function Z5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var Q5=Z5;function eR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Jt(t,"svg")}catch{return false}}var pu=eR;function tR(e,t){return rR.every(function(r){return r(e,t)})}var rR=[function(e,t){return $1(t)},function(e,t){return nR(t)},function(e,t){return !pu(e,t)},function(e,t){return Ct(t)},function(e,t){return ur(t)||!aR(t)},function(e){return !Cl(e,{noLengthCompare:true,includeInlineBlock:true})}];function $1(e){return yr(e)==="widget"}function nR(e){return e.props.nodeName!=="area"}var aR=ht(function e(t){return t!=null&&t.parent?$1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function iR(e,t){var r=Ye(t);return ["treegrid","grid","table"].includes(r)}function oR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||sR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function sR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function lR(e){return Tl(e)&&Ki(e)}var uR=lR;function cR(e,t){return zr(e,13)!==void 0&&ru(t)===false&&dR(t)}function dR(e){var t=e.boundingClientRect;return tr(e,"*").some(function(r){if(!Ba(r,true,true))return false;var n=[];if(uo(r)){var a;(a=n).push.apply(a,_e(fR(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 fR(e){var t=g.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function pR(e,t){return Sr(t,{chromiumRoles:true})!==null}var mR=pR;function hR(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 gR=hR;function vR(e,t){var r=Qe(t);if(!r||["none","presentation"].includes(r))return true;var n=tp[r]||{},a=n.accessibleNameRequired;return !!(a||Ct(t))}var j1=vR,bR=function(t,r){return [j1,yR].every(function(n){return n(t,r)})};function yR(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 wR(e,t){return t.props.nodeName!=="html"}var xR=wR;function DR(e,t){return !t.attr("role")}var _R=DR;function AR(e,t){var r=Rr(t.attr("tabindex"));return r===null||r>=0}var ER=AR;function CR(e,t){var r=on(t),n=r.namingMethods;return !(n&&n.length!==0||Qe(t)==="combobox"&&tr(t,'input:not([type="hidden"])').length||ru(t,{popupRoles:["listbox"]}))}var SR=CR;function kR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var TR=kR;function RR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var FR=RR;function IR(e,t){var r=Ye(t);return r?!!at.ariaRoles[r].childrenPresentational:false}var LR=IR;function PR(e){var t=He(e.innerText),r=Qe(e);return r&&r!=="link"||!t||!Zt(e)?false:Cl(e)}var MR=PR;function OR(e){return !So(e)&&!Ct(e)}var NR=OR;function qR(e,t){return BR(t)&&yt(t)}function BR(e){var t=jn("landmark"),r=Ye(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Mt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function HR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Nn(t,r)}var VR=HR;function $R(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 jR=$R;function zR(e,t){var r=Ye(e);if(!r)return false;var n=jn("widget"),a=n.includes(r);if(!a)return false;var i=tu();return !(!i.includes(r)||!He(Pa(t))&&!He(La(e))||!He(kr(t)))}var GR=zR;function UR(e,t){return Zt(t)}function WR(e){return Zt(e)}function XR(e,t,r){return r.initiator}var z1=XR;function YR(e){return $p(e)}var KR=YR;function JR(e,t){var r=!!Mt(t);if(!r)return false;var n=Ye(e);return !(n&&n!=="link")}var ZR=JR;function QR(e,t){return !pu(e,t)}var eF=QR;function tF(e,t){return Ye(t)==="heading"}function rF(e,t){return Sr(t,{chromium:true})!==null}var nF=rF;function aF(e){var t=e.getAttribute("title");return !!He(t)}var iF=aF;function oF(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 sF=oF;function lF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Dt(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !ko(e)&&n.every(function(a){return !Ct(a)})}var uF=lF;function cF(e){return ko(e)}var dF=cF;function fF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Dt(t),'"]'),n=Array.from(qt(e).querySelectorAll(r));return !ko(e)&&n.some(Ct)}var pF=fF;function mF(e){return So(e)}var hF=mF;function gF(e){if(So(e)){var t=jr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var vF=gF;function bF(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)||Xa(t)||ro(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},!Rl(u,e))return false}return true}var c=Nn(t,"label");if(n==="label"||c){var m=c||e,b=c?Ke(c):t;if(m.htmlFor){var A=qt(m),R=A.getElementById(m.htmlFor),O=R&&Ke(R);if(O&&Xa(O))return false}var B='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',V=tr(b,B)[0];if(V&&Xa(V))return false}for(var z=[],X=t;X;){if(X.props.id){var Y=eu(X).filter(function(ge){return $t(ge.getAttribute("aria-labelledby")||"").includes(X.props.id)}).map(function(ge){return Ke(ge)});z.push.apply(z,_e(Y));}X=X.parent;}if(z.length>0&&z.every(Xa)||!xF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var J=g.createRange(),ne=t.children,se=0;se<ne.length;se++){var fe=ne[se];fe.actualNode.nodeType===3&&He(fe.actualNode.nodeValue)!==""&&J.selectNodeContents(fe.actualNode);}var Ae=Array.from(J.getClientRects()),le=Ta(t);return Ae.some(function(ge){var xe=Rl(ge,e);if(!le.length)return xe;var Ee=le.some(function(Me){return Xs(ge,Me.boundingClientRect)});return xe&&Ee})}var yF=bF,wF={emoji:true,nonBmp:false,punctuations:true};function xF(e){var t=kr(e,false,true);return t===""||qa(t,wF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!wl(r)})}function DF(e,t,r){return z1(e,t,r)?!!e.querySelector("a[href]"):true}var _F=DF;function AF(e,t){var r=t.attr("autocomplete");if(!r||He(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=Qe(t),l=Rr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=at.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Zt(t)&&!yt(t))}var EF=AF;function CF(e,t){var r=Qe(t);return !!nu(r)}var SF=CF;function kF(e,t){var r=Qe(t,{dpub:true});return !!au(r)}var TF=kF;function G1(e){return e?e.getAttribute("aria-hidden")==="true"?false:G1(Pt(e)):true}function RF(e){return G1(Pt(e))}var FF=RF;function IF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var LF=IF;function PF(e,t){return Qe(t,{dpub:true,fallback:true})!==null}var MF=PF;function OF(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 NF=OF,qF={"abstractrole-evaluate":Y5,"accesskeys-after":pT,"accesskeys-evaluate":dT,"alt-space-value-evaluate":zk,"aria-allowed-attr-elm-evaluate":W5,"aria-allowed-attr-evaluate":G5,"aria-allowed-attr-matches":NF,"aria-allowed-role-evaluate":z5,"aria-allowed-role-matches":MF,"aria-busy-evaluate":$5,"aria-conditional-attr-evaluate":V5,"aria-conditional-checkbox-attr-evaluate":H1,"aria-conditional-row-attr-evaluate":B1,"aria-errormessage-evaluate":N5,"aria-has-attr-matches":LF,"aria-hidden-body-evaluate":O5,"aria-hidden-focus-matches":FF,"aria-label-evaluate":DC,"aria-labelledby-evaluate":wC,"aria-level-evaluate":P5,"aria-prohibited-attr-evaluate":F5,"aria-required-attr-evaluate":S5,"aria-required-children-evaluate":x5,"aria-required-children-matches":TF,"aria-required-parent-evaluate":w5,"aria-required-parent-matches":SF,"aria-roledescription-evaluate":v5,"aria-unsupported-attr-evaluate":h5,"aria-valid-attr-evaluate":p5,"aria-valid-attr-value-evaluate":c5,"attr-non-space-content-evaluate":CT,"autocomplete-appropriate-evaluate":RT,"autocomplete-matches":EF,"autocomplete-valid-evaluate":kT,"avoid-inline-spacing-evaluate":bC,"braille-label-equivalent-evaluate":u5,"braille-roledescription-equivalent-evaluate":l5,"bypass-matches":_F,"caption-evaluate":ak,"caption-faked-evaluate":tC,"color-contrast-evaluate":NT,"color-contrast-matches":yF,"css-orientation-lock-evaluate":KS,"data-table-large-matches":vF,"data-table-matches":hF,"deprecatedrole-evaluate":s5,"dlitem-evaluate":hk,"doc-has-title-evaluate":gC,"duplicate-id-active-matches":pF,"duplicate-id-after":CC,"duplicate-id-aria-matches":dF,"duplicate-id-evaluate":AC,"duplicate-id-misc-matches":uF,"duplicate-img-label-evaluate":$k,"exists-evaluate":mC,"explicit-evaluate":Hk,"fallbackrole-evaluate":o5,"focusable-content-evaluate":uT,"focusable-disabled-evaluate":sT,"focusable-element-evaluate":iT,"focusable-modal-open-evaluate":nT,"focusable-no-name-evaluate":tT,"focusable-not-tabbable-evaluate":Qk,"frame-focusable-content-evaluate":Jk,"frame-focusable-content-matches":sF,"frame-tested-after":rk,"frame-tested-evaluate":ek,"frame-title-has-text-matches":iF,"has-alt-evaluate":fC,"has-descendant-after":AT,"has-descendant-evaluate":DT,"has-global-aria-attribute-evaluate":n5,"has-implicit-chromium-role-matches":nF,"has-lang-evaluate":xk,"has-text-content-evaluate":wT,"has-widget-role-evaluate":t5,"heading-matches":tF,"heading-order-after":FS,"heading-order-evaluate":RS,"help-same-as-label-evaluate":qk,"hidden-content-evaluate":uE,"hidden-explicit-label-evaluate":Ok,"html-namespace-matches":eF,"html5-scope-evaluate":QE,"identical-links-same-purpose-after":SS,"identical-links-same-purpose-evaluate":ES,"identical-links-same-purpose-matches":ZR,"implicit-evaluate":Pk,"inline-style-property-evaluate":uC,"inserted-into-focus-order-matches":KR,"internal-link-present-evaluate":XC,"invalid-children-evaluate":dk,"invalidrole-evaluate":QT,"is-element-focusable-evaluate":JT,"is-initiator-matches":z1,"is-on-screen-evaluate":lC,"is-visible-matches":WR,"is-visible-on-screen-matches":UR,"label-content-name-mismatch-evaluate":Ik,"label-content-name-mismatch-matches":GR,"label-matches":jR,"landmark-has-body-context-matches":VR,"landmark-is-top-level-evaluate":Kk,"landmark-is-unique-after":Ek,"landmark-is-unique-evaluate":_k,"landmark-unique-matches":qR,"layout-table-matches":NR,"link-in-text-block-evaluate":OT,"link-in-text-block-matches":MR,"link-in-text-block-style-evaluate":IT,"listitem-evaluate":ck,"matches-definition-evaluate":yT,"meta-refresh-evaluate":UC,"meta-viewport-scale-evaluate":XS,"multiple-label-evaluate":Tk,"nested-interactive-matches":LR,"no-autoplay-audio-evaluate":ZS,"no-autoplay-audio-matches":FR,"no-empty-role-matches":TR,"no-explicit-name-required-matches":j1,"no-focusable-content-evaluate":Wk,"no-implicit-explicit-label-evaluate":YT,"no-naming-method-matches":SR,"no-negative-tabindex-matches":ER,"no-role-matches":_R,"non-empty-if-present-evaluate":oC,"not-html-matches":xR,"object-is-loaded-matches":bR,"only-dlitems-evaluate":uk,"only-listitems-evaluate":lk,"p-as-heading-evaluate":jC,"p-as-heading-matches":gR,"page-no-duplicate-after":vT,"page-no-duplicate-evaluate":hT,"presentation-role-conflict-matches":mR,"presentational-role-evaluate":aC,"region-after":BC,"region-evaluate":PC,"same-caption-summary-evaluate":YE,"scope-value-evaluate":XE,"scrollable-region-focusable-matches":cR,"skip-link-evaluate":IC,"skip-link-matches":uR,"structured-dlitems-evaluate":ok,"summary-interactive-matches":oR,"svg-namespace-matches":pu,"svg-non-empty-title-evaluate":nC,"tabindex-evaluate":Uk,"table-or-grid-role-matches":iR,"target-offset-evaluate":GS,"target-size-evaluate":NS,"td-has-header-evaluate":UE,"td-headers-attr-evaluate":zE,"th-has-data-cells-evaluate":jE,"title-only-evaluate":Sk,"unique-frame-title-after":RC,"unique-frame-title-evaluate":kC,"unsupportedrole-evaluate":WT,"valid-lang-evaluate":yk,"valid-scrollable-semantics-evaluate":GT,"widget-not-inline-matches":tR,"window-is-top-matches":Q5,"xml-lang-mismatch-evaluate":vk,"xml-lang-mismatch-matches":J5},Po=qF;function BF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var mu=BF;function hu(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 U1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||de(e)!=="object")&&(e={value:e}),e}function Gn(e){e&&(this.id=e.id,this.configure(e));}Gn.prototype.enabled=true,Gn.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 mu(this),u=Is(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(m){t&&t.actualNode&&(m.errorNode=lr.toSpec(t)),i(m);return}u.isAsync||(l.result=c,a(l));}else a(null);},Gn.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 mu(this),u=Is(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=lr.toSpec(t)),m}return l.result=c,l},Gn.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=U1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=hu(t[n])});},Gn.prototype.getOptions=function(t){return this._internalCheck?Gs(this.options,U1(t||{})):t||this.options};var W1=Gn;function HF(e){this.id=e.id,this.result=Xe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Mo=HF;function Wt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(nt(Xe.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=hu(e.matches));}Wt.prototype.matches=function(){return true},Wt.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&&st.mark(n);var s=Xl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&st.mark(i),s=s.filter(function(l){return yt(l)}),r.performanceTimer&&(st.mark(o),st.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(st.mark(a),st.measure("rule_"+this.id+"#gather",n,a)),s},Wt.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Er();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],m=vo(c,s.id,n);l.defer(function(b,A){c.run(r,m,a,b,function(R){A(new _o({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new sr(r),error:R}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Wt.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=vo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Wt.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=Er(),s=new Mo(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=Er();["any","all","none"].forEach(function(A){b.defer(function(R,O){r.runChecks(A,u,n,t,R,O);});}),b.then(function(A){var R=X1(A);R&&(R.node=new sr(u),s.nodes.push(R),r.reviewOnFail&&(["any","all"].forEach(function(O){R[O].forEach(function(B){B.result===false&&(B.result=void 0);});}),R.none.forEach(function(O){O.result===true&&(O.result=void 0);}))),c();}).catch(function(A){return m(A)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Wt.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Mo(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=X1(s);l&&(l.node=o.actualNode?new sr(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},Wt.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;},Wt.prototype._logGatherPerformance=function(t){bn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(st.timeElapsed(),"ms")),st.mark(this._markChecksStart);},Wt.prototype._logRulePerformance=function(){st.mark(this._markChecksEnd),st.mark(this._markEnd),st.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),st.measure("rule_"+this.id,this._markStart,this._markEnd);};function X1(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}}Wt.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&&st.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 sr(s),error:l})}}),r.performanceTimer&&(st.mark(i),st.measure("rule_"+this.id+"#matches",a,i)),o};function VF(e){return Gi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function $F(e,t){var r=[];return e.forEach(function(n){var a=Gi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function jF(e){return e.filter(function(t){return t.filtered!==true})}function zF(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=jF(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}Wt.prototype.after=function(t,r){var n=this,a=VF(this);return a.forEach(function(i){var o=$F(t.nodes,i.id),s=vo(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=zF(t),t},Wt.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=hu(t.matches)),t.impact&&(nt(Xe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Un=/\{\{.+?\}\}/g,GF=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=at,this._init(),this._defaultLocale=null;}return zt(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 A=m[b],R=this.data.rules[A],O=R.description,B=R.help;r.rules[A]={description:O,help:B};}for(var V=Object.keys(this.data.failureSummaries),z=0;z<V.length;z++){var X=V[z],Y=this.data.failureSummaries[X],J=Y.failureMessage;r.failureSummaries[X]={failureMessage:J};}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]=WF(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]=XF(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]=YF(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=KF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=K1();this.allowedOrigins=[];var a=it(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Xe.allOrigins){this.allowedOrigins=["*"];return}else o!==Xe.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=UF(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,J1(r.rules,this,"addRule"),J1(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 Wt(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;de(n)==="object"&&(this.data.checks[r.id]=n,de(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 W1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),sr.setRunOptions(n),p._selectCache=[];var o=JF(this.rules,r,n),s=o.now,l=o.later,u=Er();s.forEach(function(b){u.defer(Z1(b,r,n));});var c=Er();l.length&&c.defer(function(b){_m(n).then(function(A){return b(A)}).catch(function(A){console.warn("Couldn't load preload assets: ",A),b(void 0);});});var m=Er();m.defer(u),m.defer(c),m.then(function(b){var A=b.pop();if(A&&A.length){var R=A[0];R&&(r=we({},r,R));}var O=b[0];if(!l.length){p._selectCache=void 0,a(O.filter(function(V){return !!V}));return}var B=Er();l.forEach(function(V){var z=Z1(V,r,n);B.defer(z);}),B.then(function(V){p._selectCache=void 0,a(O.concat(V).filter(function(z){return !!z}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=Sa(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 Q1(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(de(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 de(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===eh(n,i.id,a))&&(o.helpUrl=eh(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),Y1=GF;function K1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function UF(e){var t;if(e?(t=Hr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=K1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=we({checks:{},rules:{}},t.data),t}function J1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var WF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Un.test(n)&&(n=Kr.default.compile(n)),typeof a=="string"&&Un.test(a)&&(a=Kr.default.compile(a)),we({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:de(t.messages.incomplete)==="object"?we({},t.messages.incomplete,r.incomplete):r.incomplete}})},XF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Un.test(n)&&(n=Kr.default.compile(n)),typeof a=="string"&&Un.test(a)&&(a=Kr.default.compile(a)),we({},t,{help:n||t.help,description:a||t.description})},YF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Un.test(n)&&(n=Kr.default.compile(n)),we({},t,{failureMessage:n||t.failureMessage})},KF=function(t,r){return typeof r=="string"&&Un.test(r)&&(r=Kr.default.compile(r)),r||t};function JF(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return km(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Z1(e,t,r){return r.performanceTimer&&st.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(Q1(e,i));});}}function Q1(e,t){var r=t.errorNode,n=Do(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new sr(g.documentElement);return Object.assign(new Mo(e),{error:n,result:Xe.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function eh(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Xe.helpUrlBase+n+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function th(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!g;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||(We.set("globalDocumentSet",true),g=e.ownerDocument),t||(We.set("globalWindowSet",true),d=g.defaultView);}}function ZF(){We.get("globalDocumentSet")&&(We.set("globalDocumentSet",false),g=null),We.get("globalWindowSet")&&(We.set("globalWindowSet",false),d=null);}function QF(){ZF(),p._memoizedFns.forEach(function(e){return e.clear()}),We.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var cn=QF;function rh(e,t,r,n){try{e=new bo(e),p._tree=e.flatTree,p._selectorData=qi(e.flatTree);}catch(o){return cn(),n(o)}var a=Er(),i=p._audit;t.performanceTimer&&st.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){mf(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&st.auditEnd();var s=Ui(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&st.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(st.mark("auditAfterEnd"),st.measure("audit.after","auditAfterStart","auditAfterEnd"),st.logMeasures("audit.after")),s.forEach(xo),s=s.map(la));try{r(s,cn);}catch(l){cn(),bn(l);}}catch(l){cn(),n(l);}}).catch(function(o){cn(),n(o);});}function e3(e){p._audit=new Y1(e);}function t3(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=[g]);var o=e&&e.options||{};switch(e.command){case "rules":return rh(i,o,function(s,l){s=lr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Nm(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&&(br.subscribe("axe.start",t3),br.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Ka(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}Ka.prototype.run=function(){return this._run.apply(this,arguments)},Ka.prototype.collect=function(){return this._collect.apply(this,arguments)},Ka.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);},Ka.prototype.add=function(t){this._registry[t.id]=t;};function r3(e){p.plugins[e.id]=new Ka(e);}var n3=r3;function a3(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),_D();}var i3=a3;function o3(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 Lt||(t=new Om(t));var n=um(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);xo(i),la(i);var o=Ac([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Ol(l);})}),we({},ln(),o,{toolOptions:r})}function nh(e){var t,r,n,a=De(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!pm(i)){if(s!==void 0)throw l;s=o,o=i,i=g;}if(de(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Hr(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 gu=function(){};function s3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];th(t[0]);var n=nh(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?gu:o,l=l3(s),u=l.thenable,c=l.resolve,m=l.reject;try{nt(p._audit,"No audit configured"),nt(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(R){return c3(R,s)}p._running=true,i.performanceTimer&&st.start();function b(R,O){var B=function(X){i.performanceTimer&&(st.mark("reporterEnd"),st.measure("reporter","reporterStart","reporterEnd"),st.logMeasures("reporter"),st.end()),p._running=false,O();try{c(X);}catch(Y){p.log(Y);}},V=function(X){p._running=false,O();try{m(X);}catch(Y){p.log(Y);}};try{i.performanceTimer&&st.mark("reporterStart"),u3(R,i,B,V);}catch(z){V(z);}}function A(R){i.performanceTimer&&st.end(),p._running=false,s(R),m(R);}return p._runRules(a,i,b,A),u}function l3(e){var t,r,n;return typeof Promise=="function"&&e===gu?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 u3(e,t,r,n){var a=Jl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function c3(e,t){if(typeof t=="function"&&t!==gu){t(e.message);return}throw e}function d3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=nh(t),a=n.options,i=n.context;nt(p._audit,"Axe is not configured. Audit is missing."),nt(!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 bo(i,p._tree);return p._tree=o.flatTree,p._selectorData=qi(o.flatTree),p._running=true,a.elementRef=false,new Promise(function(s,l){p._audit.run(o,a,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var m=c.node;return lr.toSpec(m)}),u;return o.initiator&&(u=ln()),p._running=false,cn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,cn(),Promise.reject(s)})}function f3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Hr(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",p3(e);var s=Ui(e);return s=p._audit.after(s,a),s.forEach(xo),s=s.map(la),h3(s,we({environmentData:o},a))}function p3(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=m3(a);t.unshift.apply(t,_e(o));}}}catch(s){r.e(s);}finally{r.f();}}function m3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return lr.mergeSpecs(n,r)}):t}function h3(e,t){return new Promise(function(r,n){var a=Jl(t.reporter);a(e,t,r,n);})}function g3(e){if(p._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&de(e.documentElement)==="object"&&de(e.defaultView)==="object"&&(e=e.documentElement),th(e),p._tree=Pl(e),p._selectorData=qi(p._tree),p._tree[0]}var v3=g3,b3=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=Z(a,U);n(we({},ln(i),{toolOptions:o},$a(t,r)));},y3=b3,w3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,Q);r.resultTypes=["violations"];var s=$a(t,r),l=s.violations;n(we({},ln(i),{toolOptions:o,violations:l}));},x3=w3,D3=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=we({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=lr.mapRawNodeResults(o[c]);}return o});n(a);},ah=D3,_3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,C);ah(t,o,function(s){var l=ln(i);n({raw:s,env:l});});},A3=_3,E3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,v),s=$a(t,r),l=function(c){c.nodes.forEach(function(m){m.failureSummary=Ol(m);});};s.incomplete.forEach(l),s.violations.forEach(l),n(we({},ln(i),{toolOptions:o},s));},C3=E3,S3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,T),s=$a(t,r);n(we({},ln(i),{toolOptions:o},s));},k3=S3,T3={base:{Audit:Y1,CheckResult:mu,Check:W1,Context:bo,RuleResult:Mo,Rule:Wt,metadataFunctionMap:Po},public:{reporters:za},helpers:{failureSummary:Ol,incompleteFallbackMessage:Nl,processAggregate:$a},utils:{setDefaultFrameMessenger:lf,cacheNodeSelectors:tm,getNodesMatchingExpression:Qp,convertSelector:Hi},commons:{dom:{nativelyHidden:bf,displayHidden:yf,visibilityHidden:wf,contentVisibiltyHidden:xf,ariaHidden:Df,opacityHidden:_f,scrollHidden:Af,overflowHidden:Ef,clipHidden:Cf,areaHidden:Ys,detailsHidden:Sf}}},R3=T3;p._thisWillBeDeletedDoNotUse=R3,p.constants=Xe,p.log=bn,p.AbstractVirtualNode=Lt,p.SerialVirtualNode=Om,p.VirtualNode=Fl,p._cache=We,p.imports=kc,p.cleanup=Nm,p.configure=aE,p.frameMessenger=iE,p.getRules=sE,p._load=e3,p.plugins={},p.registerPlugin=n3,p.hasReporter=Bm,p.getReporter=Jl,p.addReporter=rE,p.reset=i3,p._runRules=rh,p.runVirtualRule=o3,p.run=s3,p.setup=v3,p.teardown=cn,p.runPartial=d3,p.finishRun=f3,p.commons=s1,p.utils=as,p.addReporter("na",y3),p.addReporter("no-passes",x3),p.addReporter("rawEnv",A3),p.addReporter("raw",ah),p.addReporter("v1",C3),p.addReporter("v2",k3,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(oe){var ue="Fix any of the following:",ve=oe;if(ve)for(var Ue,tt=-1,ot=ve.length-1;tt<ot;)Ue=ve[tt+=1],ue+=`
|
|
378
|
+
`+Ue.split(`
|
|
379
379
|
`).join(`
|
|
380
|
-
`);return
|
|
381
|
-
`+
|
|
380
|
+
`);return ue}},none:{failureMessage:function(oe){var ue="Fix all of the following:",ve=oe;if(ve)for(var Ue,tt=-1,ot=ve.length-1;tt<ot;)Ue=ve[tt+=1],ue+=`
|
|
381
|
+
`+Ue.split(`
|
|
382
382
|
`).join(`
|
|
383
|
-
`);return de}}},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:gg);});var Mg={};xr(Mg,{dismissModals:()=>nP});async function nP(f){await f.evaluate(d=>{for(let h of d){let g=document.querySelectorAll(h);for(let p of g)if(p.offsetParent!==null){p.click();return}}},rP),await new Promise(d=>setTimeout(d,500));}var rP,Ng=wr(()=>{rP=['[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 Vo={};xr(Vo,{pruneHiddenIframeIssues:()=>sP,pruneInvisibleContrast:()=>oP,waitForRenderSettle:()=>aP});async function aP(f,d=4e3){let h=Date.now()+d;try{await f.waitForLoadState?.("load",{timeout:Math.min(d/2,2e3)});}catch{}let g="";for(;Date.now()<h;){let p;try{p=await f.evaluate(()=>{let w=typeof document.getAnimations=="function"?document.getAnimations():[],D=0;for(let S of w){if(S.playState!=="running")continue;let y;try{y=S.effect?.getComputedTiming?.().iterations;}catch{y=void 0;}y!==1/0&&D++;}let x="",k=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],L=Math.min(k.length,50);for(let S=0;S<L;S++)x+=getComputedStyle(k[S]).opacity+",";return D+"|"+x});}catch{return}if(p.indexOf("0|")===0&&p===g)return;g=p,await new Promise(w=>setTimeout(w,150));}}function qg(f){return iP.has(f.wcag)||/contrast/i.test(f.type||"")}async function oP(f,d){let h=Array.from(new Set(d.filter(D=>qg(D)&&D.selector).map(D=>D.selector))).slice(0,100);if(h.length===0)return d;let g;try{g=await f.evaluate(D=>{let x=[],k={},L=Math.max(document.documentElement.scrollWidth,window.innerWidth),S=Math.max(document.documentElement.scrollHeight,window.innerHeight),y=_=>{let I=_.match(/rgba?\(([^)]+)\)/);if(!I)return !1;let C=I[1].split(/[ ,/]+/).filter(Boolean);return C.length<4||parseFloat(C[3])>=.95};for(let _ of D){let I=null;try{I=document.querySelector(_);}catch{continue}if(!I)continue;let C=getComputedStyle(I),F=I.getBoundingClientRect(),O=C.clipPath&&C.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(C.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(C.clip||""),M=F.width<=1||F.height<=1,B=window.scrollX,H=window.scrollY,Y=F.right+B<=0||F.bottom+H<=0||F.left+B>=L||F.top+H>=S,Z=!1;if(Y)for(let G=I.parentElement;G&&G!==document.body&&G!==document.documentElement;G=G.parentElement){let J=getComputedStyle(G);if(J.overflowX!=="visible"||J.overflowY!=="visible"||J.transform&&J.transform!=="none"){Z=!0;break}}if(Y&&Z){k[_]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(O||M||Y){x.push(_);continue}let E=I,v=!1;for(;E&&E!==document.documentElement;){if(parseFloat(getComputedStyle(E).opacity)===0){v=!0;break}E=E.parentElement;}if(v){k[_]="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 T=F.left+F.width/2,P=F.top+F.height/2,V=I,j=!1;for(let G=0;V&&V!==document.body&&G<8;G++){let J=getComputedStyle(V);if(y(J.backgroundColor)||J.backgroundImage&&J.backgroundImage!=="none")break;let ee=V.querySelectorAll("video, canvas, img, picture");for(let ae=0;ae<ee.length;ae++){let Q=ee[ae];if(Q.contains(I)||I.contains(Q))continue;let ce=Q.getBoundingClientRect();if(ce.width>0&&ce.height>0&&T>=ce.left&&T<=ce.right&&P>=ce.top&&P<=ce.bottom){j=!0;break}}if(j)break;V=V.parentElement;}j&&(k[_]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:x,review:k}},h);}catch{return d}let p=new Set(g.hidden),w=[];for(let D of d){if(!qg(D)){w.push(D);continue}if(p.has(D.selector))continue;let x=g.review[D.selector];w.push(x&&D.confidence!=="needs_review"?{...D,confidence:"needs_review",reviewReason:x,...D.fix?{fix:{...D.fix,needsManualReview:true}}:{}}:D);}return w}async function sP(f,d){let h=Array.from(new Set(d.filter(w=>w.selector).map(w=>w.selector))).slice(0,200);if(h.length===0)return d;let g;try{g=await f.evaluate(w=>{let D=[];for(let x of w){let k=null;try{k=document.querySelector(x);}catch{continue}if(!k||k.tagName!=="IFRAME")continue;let L=getComputedStyle(k),S=k.getClientRects().length===0||L.visibility==="hidden"||L.visibility==="collapse",y=(k.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(S||y)&&D.push(x);}return D},h);}catch{return d}if(g.length===0)return d;let p=new Set(g);return d.filter(w=>!p.has(w.selector))}var iP,$o=wr(()=>{iP=new Set(["1.4.3","1.4.6","1.4.11"]);});var jo={};xr(jo,{focusOnlyObscuredIndexes:()=>fP,resetInteractionState:()=>lP,restoreInteractionState:()=>cP,snapshotInteractionState:()=>uP});async function lP(f){try{await f.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function uP(f){try{await f.evaluate(()=>{let d=window;d.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function cP(f){try{await f.evaluate(()=>{let d=window,h=d.__waCallerState;if(delete d.__waCallerState,!h)return;let g=h.el;if(g&&g!==document.body&&g!==document.documentElement&&g.isConnected)try{g.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:h.x,top:h.y,behavior:"instant"});}catch{}});}catch{}}function dP(f){if(typeof f=="string")return f;if(!Array.isArray(f))return null;let d=f.flat(1/0).filter(h=>typeof h=="string");return d.length===1?d[0]:null}async function fP(f,d){let h=d.map(D=>{let k=[...D.any??[],...D.none??[]].flatMap(S=>S.relatedNodes??[]);if(!k.length)return null;let L=k.map(S=>dP(S.target));return L.every(S=>!!S)?L:null}),g=Array.from(new Set(h.flatMap(D=>D??[])));if(!g.length)return new Set;let p={};try{p=await f.evaluate(({sels:D,own:x})=>{let k=S=>{let y=S.getBoundingClientRect(),_=getComputedStyle(S);return !!((y.width<=1||y.height<=1)&&(_.overflow==="hidden"||_.position==="absolute"||_.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(_.clip||"")||/inset\(\s*50%/.test(_.clipPath||""))},L={};for(let S of D){let y=null;try{y=document.querySelector(S);}catch{y=null;}if(!y){L[S]=!1;continue}let _=y.closest(x);if(_&&_!==document.body&&_!==document.documentElement){L[S]=!0;continue}if(y===document.activeElement){try{y.blur();}catch{}L[S]=k(y);continue}L[S]=k(y);}return L},{sels:g,own:qo});}catch{return new Set}let w=new Set;return h.forEach((D,x)=>{D&&D.length&&D.every(k=>p[k]===true)&&w.add(x);}),w}var zo=wr(()=>{Lr();});var ta={};xr(ta,{dedupeByElementIdentity:()=>vP,deduplicateIssues:()=>pP});function pP(f){let d=new Map,h=[...f].sort((g,p)=>{let w={webability:0,"axe-core":1,"deep-analysis":2},D=w[g.source]??3,x=w[p.source]??3;return D-x});for(let g of h){let p=mP(g);d.has(p)?!d.get(p).fix?.suggestedValue&&g.fix?.suggestedValue&&d.set(p,g):d.set(p,g);}return Array.from(d.values())}function mP(f){let d=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),h=f.wcag||"";return d&&h?`${d}::${h}`:`${f.type}::${d||f.id}`}async function vP(f,d){if(d.length<2)return d;let h=Array.from(new Set(d.map(S=>S.selector).filter(Boolean))),g;try{g=await f.evaluate(S=>{let y=Array.from(document.querySelectorAll("*")),_=new Map;y.forEach((C,F)=>_.set(C,F));let I={};for(let C of S){let F=null;try{F=document.querySelector(C);}catch{}if(!F){let O=C.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(O!==C)try{F=document.querySelector(O);}catch{}}if(F){let O=F.closest("table");I[C]={el:_.get(F),table:O?_.get(O):-1,doc:F===document.documentElement||F===document.body};}}return I},h);}catch{return d}let p={webability:0,"axe-core":1,"deep-analysis":2},w=S=>{let y=g[S.selector];if(!y)return null;let _=S.wcag||S.type;return y.doc?{key:gP.has(S.wcag||"")?`doc::${_}`:`doc::${_}::${S.type}`,owner:true}:y.table>=0&&hP.test(S.type)?{key:`${y.table}::${_}::table-headers`,owner:y.el===y.table}:{key:`${y.el}::${_}`,owner:true}},D=[...d].sort((S,y)=>{let _=w(S),I=w(y),C=_?.owner?0:1,F=I?.owner?0:1;return C-F||(p[S.source]??3)-(p[y.source]??3)}),x=new Map,k=[];for(let S of D){let y=w(S);if(!y){k.push(S);continue}let _=x.get(y.key);_?!_.fix?.suggestedValue&&S.fix?.suggestedValue&&(w(_)?.owner??true)===y.owner&&x.set(y.key,S):x.set(y.key,S);}let L=new Set([...x.values(),...k]);return d.filter(S=>L.has(S))}var hP,gP,ra=wr(()=>{hP=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,gP=new Set(["2.4.1","3.1.1","2.4.2"]);});var Vg={};xr(Vg,{parseGif:()=>Bg,playsOverFiveSeconds:()=>Hg,verifyAnimatedGifs:()=>bP});function Bg(f){if(String.fromCharCode(f[0]??0,f[1]??0,f[2]??0)!=="GIF")return null;let h=13,g=f[10]??0;g&128&&(h+=3*(1<<(g&7)+1));let p=0,w=0,D=0,x=null,k=()=>{for(;h<f.length;){let L=f[h++];if(L===0)return;h+=L;}};for(;h<f.length;){let L=f[h++];if(L===59)break;if(L===33){let S=f[h++];if(S===249)D=(f[h+2]??0)|(f[h+3]??0)<<8,h+=1+(f[h]??4),k();else if(S===255){let y=f[h]??0,_=String.fromCharCode(...Array.from(f.subarray(h+1,h+1+y)));h+=1+y,(_==="NETSCAPE2.0"||_==="ANIMEXTS1.0")&&f[h]===3&&f[h+1]===1&&(x=(f[h+2]??0)|(f[h+3]??0)<<8),k();}else k();}else if(L===44){let S=f[h+8]??0;h+=9,S&128&&(h+=3*(1<<(S&7)+1)),h+=1,k(),p++,w+=D<2?10:D,D=0;}else break}return {frames:p,seconds:w/100,loops:x}}function Hg(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 bP(f,d){let h=d.filter(w=>w.type==="animated_gif_no_pause");if(!h.length)return d;let g=Array.from(new Set(h.map(w=>w.selector))),p={};try{p=await f.evaluate(async({sels:w,parserSrc:D})=>{let x=new Function("var __name = function (f) { return f }; return ("+D+")")(),k={};return await Promise.all(w.map(async L=>{k[L]=null;try{let S=document.querySelector(L),y=S&&(S.currentSrc||S.src);if(!y)return;let _=new AbortController,I=setTimeout(()=>_.abort(),5e3);try{let C=await fetch(y,{signal:_.signal,credentials:"same-origin"});if(!C.ok||Number(C.headers.get("content-length")||"0")>2e7)return;k[L]=x(new Uint8Array(await C.arrayBuffer()));}finally{clearTimeout(I);}}catch{}})),k},{sels:g,parserSrc:Bg.toString()});}catch{p={};}return d.flatMap(w=>{if(w.type!=="animated_gif_no_pause")return [w];let D=p[w.selector];if(!D)return [{...w,message:`${w.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(!Hg(D))return [];let x=D.loops===0?"loops forever":`plays for ${(D.seconds*(D.loops===null?1:D.loops+1)).toFixed(1)}s`;return [{...w,message:`animated GIF (${D.frames} frames, ${x}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var $g=wr(()=>{});var Nu={};xr(Nu,{scopeIssuesToRoot:()=>yP});async function yP(f,d,h){let g=Array.from(new Set(d.map(w=>w.selector).filter(Boolean))),p;try{p=await f.evaluate(({rootSel:w,sels:D})=>{let x=S=>{try{let _=document.querySelector(S);if(_)return _}catch{}let y=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(y!==S)try{return document.querySelector(y)}catch{return null}return null},k=null;try{k=document.querySelector(w);}catch{return {invalid:!0,matched:!1,within:{}}}if(!k)return {invalid:!1,matched:!1,within:{}};let L={};for(let S of D){let y=x(S);L[S]=y?y===k||k.contains(y):!0;}return {invalid:!1,matched:!0,within:L}},{rootSel:h,sels:g});}catch{return {issues:d,warning:`scope:evaluate-failed (${h}) \u2014 results unfiltered`}}return p.invalid?{issues:d,warning:`scope:invalid-selector (${h}) \u2014 results unfiltered`}:p.matched?{issues:d.filter(w=>w.selector?p.within[w.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${h} matched nothing \u2014 empty result)`}}var qu=wr(()=>{});var No={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var B3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],g=new Set;function p(x){let k=(x.textContent||"").trim().replace(/\s+/g,""),L=x.querySelector("img, svg, picture")!==null,S=x.querySelector("i[class], span[class]")!==null;if(k.length>0&&!L&&!S)return false;if(L){let y=x.querySelectorAll("img"),_="";y.forEach(F=>{_+=(F.getAttribute("alt")||"").trim();});let I=k.replace(/\s+/g,""),C=_.replace(/\s+/g,"");return I===""||I===C}return false}function w(x){let k=x.nextElementSibling;for(;k;){if(isVisible(k))return k;k=k.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(x=>{if(h.length>=50||x.closest(f)||!isVisible(x)||g.has(x))return;let k=x.getAttribute("href");if(!k||k==="#")return;let L=w(x);if(!L||L.tagName!=="A"||L.getAttribute("href")!==k||g.has(L)||x.getAttribute("aria-hidden")==="true"||L.getAttribute("aria-hidden")==="true")return;let y=p(x),_=p(L);if(!y&&!_)return;let I=y?x:L,C=y?L:x;g.add(I),g.add(C);let F=uniqueSel(I),O=I.outerHTML.slice(0,300),M=(C.textContent||"").trim().slice(0,80);h.push({selector:F,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:k,imageLink:true,adjacentLinkText:M,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:O}),h.push({selector:F,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:k}),needsAI:false,fixValue:"-1",outerHtml:O});}),h},ih={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(B3)}};var H3=()=>{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=""])',h=["[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(","),g=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,w=[],D=new Set;function x(S){let y=S,_=0;for(;y&&y.nodeType===1&&y!==document.body&&_<20;){try{let I=getComputedStyle(y);if(I.display==="none"||I.visibility==="hidden"||I.visibility==="collapse")return !0}catch{}y=y.parentElement,_++;}return false}function k(S){let y=S.tagName,_=S.getAttribute("tabindex");if(_!==null){let I=parseInt(_,10);if(!isNaN(I)&&I>=0)return true;if(!isNaN(I)&&I<0)return false}return g.has(y)?!(y==="A"&&!S.hasAttribute("href")||S.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(S=>{if(w.length>=p||S.closest(f)||S.closest(d)||S.closest(h)||S.matches(h))return;let y=[];if(k(S)&&y.push(S),S.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(I=>{k(I)&&y.push(I);}),y.length!==0)for(let I of y){if(w.length>=p)return;let C=uniqueSel(I),F=C+"\0tabindex";if(D.has(F))continue;D.add(F);let O=x(I),M=!O;w.push({selector:C,attribute:"tabindex",currentValue:I.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:I.tagName.toLowerCase(),parentHidden:S.tagName.toLowerCase(),collapsed:O,suggestion:O?"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",...O?{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.'}:{},...M?{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:(I.outerHTML||"").slice(0,300)});}}),w},oh={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(H3)}};var V3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=new Set,p=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function w(D){if(!(D.textContent||"").trim())return true;let k=getComputedStyle(D);return !!(k.display==="none"||k.visibility==="hidden"||k.opacity==="0"||k.maxHeight==="0px"||k.height==="0px"||D.hasAttribute("data-bind")||D.hasAttribute("v-if")||D.hasAttribute("v-show")||D.hasAttribute("ng-if")||D.hasAttribute("ng-show")||D.hasAttribute(":class")||D.hasAttribute("x-show")||D.hasAttribute("x-if")||D.hasAttribute("aria-atomic"))}for(let D of p){if(h.length>=50)break;let x=document.querySelectorAll("*");for(let k of x){if(h.length>=50)break;if(g.has(k)||k.closest(f))continue;let L=k.className&&typeof k.className=="string"?k.className:"",S=k.getAttribute("id")||"";if(!D.regex.test(L)&&!D.regex.test(S)||k.getAttribute("aria-live"))continue;let y=k.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(y)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(L+" "+S)&&!w(k))continue;g.add(k);let I=uniqueSel(k),C=D.regex.test(L)?"class":"id",F=C==="class"?L.slice(0,60):S;h.push({selector:I,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:C+": "+F+" | pattern: "+D.regex.source,needsAI:false,fixValue:D.ariaLive});}}return h},sh={name:"ariaLive",cap:50,async detect(f){return f.evaluate(V3)}};var $3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],g=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(x=>{if(!(h.length>=50)&&!x.closest(f)&&isVisible(x)&&!isHiddenFromAT(x)&&!x.getAttribute("aria-live")&&!x.closest("[aria-live]")&&!x.closest("template"))for(let k of p){let L=x.getAttribute(k);if(!L||!L.trim())continue;let S=L.trim().split(/\s+/).filter(H=>H.length>0);if(S.length===0||!S.every(H=>!document.getElementById(H)))continue;let _=x.getAttribute("aria-label");if(_&&_.trim())continue;let I=getAccessibleName(x);if(I&&I.trim())continue;let C=uniqueSel(x),F=C+"\0"+k;if(g.has(F))continue;g.add(F);let{nearbyHeading:O,parentTag:M,parentRole:B}=getNearbyContext(x);h.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),brokenAttr:k,brokenIds:S,nearbyHeading:O,parentTag:M,parentRole:B,suggestion:`All IDs in ${k}="${L}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}}),h},lh={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate($3)}};var j3=()=>{let d=[],h=["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"],g=document.querySelectorAll("button");for(let p of g){if(d.length>=50)break;let w=p;if(isWidget(w)||w.hasAttribute("type")||!w.closest("form"))continue;let D=(w.textContent||"").trim().slice(0,60),x=(w.getAttribute("aria-label")||"").trim().slice(0,60),k=D||x||"(no label)",L=k.toLowerCase();h.some(y=>L.includes(y))||d.push({selector:uniqueSel(w),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+k,needsAI:false,fixValue:"button",outerHtml:(w.outerHTML||"").slice(0,300)});}return d},uh={name:"buttonType",cap:50,async detect(f){return f.evaluate(j3)}};var z3=()=>{let d=[],h=document.querySelectorAll("video, audio");for(let g of Array.from(h)){if(d.length>=20)break;if(isWidget(g)||typeof isVisible=="function"&&!isVisible(g)||g.error)continue;let p=g.tagName==="VIDEO";if(p){let F=g.hasAttribute("muted")||g.muted,O=g.hasAttribute("controls"),M=g.hasAttribute("loop")||g.loop,B=/mute|unmute|sound|volume|audio|play|pause/i,H=!!g.parentElement?.querySelector('button, [role="button"]')||!!g.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(g.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let Y=g.parentElement?.parentElement||null,Z=0;Y&&!H&&Z<3;Y=Y.parentElement,Z++)H=Array.from(Y.querySelectorAll('button, [role="button"]')).some(E=>B.test((E.getAttribute("aria-label")||"")+" "+(E.getAttribute("title")||"")+" "+(E.textContent||"")));if(F&&M&&!O&&!H)continue}let w=g.querySelectorAll("track"),D=false;for(let F of Array.from(w)){let O=(F.getAttribute("kind")||"").toLowerCase();if(O==="captions"||O==="subtitles"){D=true;break}}if(D)continue;let x=g.currentSrc||g.getAttribute("src")||"";if(x||(x=g.querySelector("source")?.getAttribute("src")||""),!x)continue;let k=x.toLowerCase();if(k.startsWith("blob:")||k.startsWith("data:")||k.startsWith("about:")||k.startsWith("javascript:")||k.endsWith(".m3u8")||k.includes(".m3u8?")||k.endsWith(".mpd")||k.includes(".mpd?"))continue;let L=x;try{L=new URL(x,location.href).toString();}catch{continue}let S=typeof uniqueSel=="function"?uniqueSel(g):"",y=g.getAttribute("title")||g.getAttribute("aria-label")||"",_=typeof getNearbyContext=="function"?getNearbyContext(g):{parentTag:g.tagName.toLowerCase(),nearbyHeading:""},I=[];I.push("media: "+g.tagName.toLowerCase()),I.push("src: "+L.slice(0,200)),y&&I.push("title: "+y.slice(0,80)),_.nearbyHeading&&I.push("heading: "+_.nearbyHeading),I.push("parent: "+_.parentTag);let C=p;d.push({selector:S,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:I.join(" | "),needsAI:true,...C?{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:L,outerHtml:(g.outerHTML||"").slice(0,300)});}return d},ch={name:"captions",cap:20,async detect(f){return f.evaluate(z3)}};var G3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]"),w=new Map;for(let D of Array.from(p)){if(h.length>=40)break;if(D.closest(f)||D.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(D))continue;let x=D.closest(g);if(!x)continue;let k=(D.textContent||"").trim();if(!k)continue;let L=w.get(x);if(L===void 0){L=0;let Y=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),Z;for(;Z=Y.nextNode();){let E=Z.parentElement;!E||E.closest("a")||E.closest(g)===x&&(typeof isVisible=="function"&&!isVisible(E)||(L+=(Z.textContent||"").trim().length));}w.set(x,L);}if(L<20||D.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let S=getComputedStyle(D),y=getComputedStyle(x);if((S.textDecorationLine||S.textDecoration||"").includes("underline")||(()=>{let Y=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),Z,E=false;for(;Z=Y.nextNode();){if(!/[\p{L}\p{N}]/u.test(Z.textContent||""))continue;E=true;let v=false;for(let T=Z.parentElement;T&&T!==D;T=T.parentElement){let P=getComputedStyle(T),V=(P.textDecorationColor||"").replace(/\s/g,"");if((P.textDecorationLine||"").includes("underline")&&V!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(V)){v=true;break}let j=(P.borderBottomColor||"").replace(/\s/g,""),G=j==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(j);if((P.borderBottomStyle||"none")!=="none"&&parseFloat(P.borderBottomWidth||"0")>0&&!G){v=true;break}}if(!v)return false}return E})())continue;let C=parseInt(S.fontWeight||"400",10),F=parseInt(y.fontWeight||"400",10);if(Number.isFinite(C)&&Number.isFinite(F)&&C-F>=300||(S.borderBottomStyle||"none")!=="none"&&(S.borderBottomWidth||"0px")!=="0px"||S.color===y.color)continue;let M=typeof uniqueSel=="function"?uniqueSel(D):"",B=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+k.slice(0,40)),H.push("color: "+S.color),H.push("parent-color: "+y.color),B.nearbyHeading&&H.push("heading: "+B.nearbyHeading),H.push("parent: "+B.parentTag),h.push({selector:M,attribute:"style",currentValue:S.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(D.outerHTML||"").slice(0,300)});}return h},dh={name:"colorOnly",cap:40,async detect(f){return f.evaluate(G3)}};var U3=()=>{let d=[],h=O=>typeof parseCssColor=="function"?parseCssColor(O):null,g=(O,M,B)=>typeof relLuminance=="function"?relLuminance(O,M,B):0,p=(O,M)=>typeof contrastRatio=="function"?contrastRatio(O,M):1;function w(O){let M=String(O.backgroundImage||"none");if(M==="none")return false;if(/gradient\(/i.test(M))return true;if(!/url\(/i.test(M))return false;let B=String(O.backgroundRepeat||"").toLowerCase(),H=String(O.backgroundSize||"").toLowerCase(),Y=B.split(",").map(E=>E.trim()).some(E=>E!==""&&E!=="no-repeat"),Z=/cover|contain|100%/.test(H);return Y||Z}function D(O){let M=document.documentElement,B=O,H=0;for(;B&&B!==M&&H<12;){let T=getComputedStyle(B);if(w(T))return null;let P=h(T.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]];B=B.parentElement,H++;}let Y=document.body;if(B&&B!==M&&Y&&Y.contains(B)){let T=getComputedStyle(Y);if(w(T))return null;let P=h(T.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]]}let Z=getComputedStyle(M);if(w(Z))return null;let E=h(Z.backgroundColor||""),v=E?Math.min(E[3],1):0;return !E||v<=0?[255,255,255]:[Math.round(E[0]*v+255*(1-v)),Math.round(E[1]*v+255*(1-v)),Math.round(E[2]*v+255*(1-v))]}function x(O,M,B){return "#"+[O,M,B].map(H=>{let Y=Math.max(0,Math.min(255,Math.round(H))).toString(16);return Y.length===1?"0"+Y:Y}).join("")}function k(O,M,B){let H=g(M[0],M[1],M[2])>.5;return L(O,M,B,H)||L(O,M,B,!H)}function L(O,M,B,H){let Y=0,Z=1,E=null;for(let v=0;v<20;v++){let T=(Y+Z)/2,P=H?[O[0]*(1-T),O[1]*(1-T),O[2]*(1-T)]:[O[0]+(255-O[0])*T,O[1]+(255-O[1])*T,O[2]+(255-O[2])*T],V=[Math.round(P[0]),Math.round(P[1]),Math.round(P[2])];p(V,M)>=B?(E=V,Z=T):Y=T;}return E}let S=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 y(O){if(O.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let B=O;B&&B.nodeType===1;B=B.parentElement){if(B.getAttribute("aria-disabled")!=="true")continue;let H=(B.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(H&&S.has(H))return true}let M=O.closest("label");if(M){let B=M.control;if(B&&(B.disabled||B.getAttribute("aria-disabled")==="true"))return true}return false}let _=document.createTreeWalker(document.body,4),I=new Set,C=[],F=_.nextNode();for(;F;){if((F.textContent||"").trim().length>=2){let M=F.parentElement;M&&!I.has(M)&&(I.add(M),C.push(M));}F=_.nextNode();}for(let O of C){if(d.length>=30)break;if(isWidget(O)||isHiddenFromAT(O)||!isVisible(O)||y(O))continue;let M=getComputedStyle(O),B=h(M.color||"");if(!B)continue;if(B[3]<.5){let Q=M.webkitBackgroundClip||M.backgroundClip||"",ce=M.backgroundImage||"";if(String(Q).includes("text")&&/gradient\(/i.test(ce)){let we=Array.from(O.childNodes).filter(ue=>ue.nodeType===3).map(ue=>(ue.textContent||"").trim()).join("");we&&d.push({selector:uniqueSel(O),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(we.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:O.outerHTML.slice(0,200)});}continue}let H=D(O),Y=parseFloat(M.fontSize||"16"),Z=parseInt(M.fontWeight||"400",10),v=Y>=24||Y>=18.66&&Z>=700?3:4.5,T=Array.from(O.childNodes).filter(Q=>Q.nodeType===3).map(Q=>(Q.textContent||"").trim()).join("");if(!T)continue;let P=x(B[0],B[1],B[2]),V=uniqueSel(O);if(H===null){d.push({selector:V,attribute:"style",currentValue:P,message:"contrast: text "+P+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+v+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+P+" bg=<gradient-or-image> needs="+v+" text="+JSON.stringify(T.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:O.outerHTML.slice(0,200)});continue}let j=p([B[0],B[1],B[2]],H);if(j>=v)continue;let G=k([B[0],B[1],B[2]],H,v);if(!G)continue;let J=x(G[0],G[1],G[2]),ee=x(H[0],H[1],H[2]),ae="color:"+J+" !important;";d.push({selector:V,attribute:"style",currentValue:P,message:"contrast: "+P+" on "+ee+" is "+j.toFixed(2)+":1, needs "+v+":1 \u2014 e.g. color "+J,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+P+" bg="+ee+" ratio="+j.toFixed(2)+" needs="+v+" text="+JSON.stringify(T.slice(0,40)),needsAI:false,fixValue:ae,outerHtml:O.outerHTML.slice(0,200)});}return d},fh={name:"contrast",cap:30,async detect(f){return f.evaluate(U3)}};var W3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],g=document.querySelectorAll("marquee, blink");for(let k of Array.from(g)){if(h.length>=30)break;if(k.closest(f))continue;let L=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();h.push({selector:L,attribute:"aria-hidden",currentValue:k.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${k.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(k.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let k of Array.from(p)){if(h.length>=30)break;if(k.closest(f))continue;let L=k.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(L)||typeof isVisible=="function"&&!isVisible(k))continue;let S=k.getBoundingClientRect();if(S.width<=40&&S.height<=40)continue;let y=typeof uniqueSel=="function"?uniqueSel(k):"img";h.push({selector:y,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${L.split("/").pop()?.slice(0,60)||L.slice(-60)}`,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let k of Array.from(w)){if(h.length>=30)break;let L=(k.getAttribute("content")||"").trim(),S=parseInt((L.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(S)||S<=0||h.push({selector:`meta[http-equiv="refresh"][content*="${L.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:L,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${S}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(k.outerHTML||"").slice(0,200)});}try{let k=!1,L=!1;for(let S of Array.from(document.styleSheets)){let y=null;try{y=S.cssRules;}catch{continue}if(y)for(let _ of Array.from(y)){let I=_.cssText||"";if(/animation[^;]*\binfinite\b/i.test(I)&&/(keyframes|animation-name)/i.test(I+" "+(_.name||""))&&(k=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(I)&&(L=!0),_.cssRules)for(let C of Array.from(_.cssRules)){let F=C.cssText||"";/animation[^;]*\binfinite\b/i.test(F)&&(k=!0);}}}k&&!L&&h.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 D=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,x=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let k of Array.from(x)){if(h.length>=30)break;if(k.closest(f)||k.tagName==="BODY"||k.tagName==="HTML")continue;let L=k.className&&typeof k.className=="string"?k.className:"";if(!D.test(L)||typeof isVisible=="function"&&!isVisible(k))continue;let y=getComputedStyle(k).animationDuration,_=9999;if(y){let C=parseFloat(y);Number.isFinite(C)&&(_=/ms/i.test(y)?C:C*1e3);}if(_>333)continue;let I=typeof uniqueSel=="function"?uniqueSel(k):"";h.push({selector:I,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${_}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:(k.outerHTML||"").slice(0,300)});}return h},ph={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(W3)}};var X3=()=>{let d=[];function h(D){let x=(D.getAttribute("role")||"").toLowerCase();return x==="presentation"||x==="none"||(D.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function g(D){if(!D)return 0;let x=D.querySelectorAll("th, td"),k=0;for(let L=0;L<x.length;L++){let S=parseInt(x[L].getAttribute("colspan")||"1",10);k+=isNaN(S)||S<1?1:S;}return k}function p(D){let x=D.querySelectorAll("tr"),k=[];for(let L=0;L<x.length;L++){let S=x[L];S.closest("table")===D&&k.push(S);}return k}let w=document.querySelectorAll("table");for(let D=0;D<w.length&&!(d.length>=30);D++){let x=w[D];if(isWidget(x)||!isVisible(x)||h(x))continue;let k=p(x);if(k.length<=1)continue;let L=k[0],S=g(L);if(S<=1)continue;let y=uniqueSel(x),_=getNearbyContext(x),I=x.querySelectorAll("img, svg, picture").length>=2;if(I&&!(x.textContent||"").trim()){if(x.querySelector("input, select, textarea, button")&&(I=false),I&&x.querySelector("th, thead, caption, [scope], [headers]")&&(I=false),I){let v=Array.from(x.querySelectorAll("img")).map(T=>(T.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(v).size<v.length&&(I=false);}}else if(I){let v=x.querySelectorAll("td, th"),T=0;for(let P=0;P<v.length&&I;P++){let V=v[P];if(V.closest("table")!==x)continue;let j=(V.textContent||"").trim(),G=!!V.querySelector("img, svg, picture");if(!j&&!G)continue;T++;let J=V.querySelectorAll("a[href]");I=V.tagName==="TD"&&J.length===1&&G&&(J[0].textContent||"").trim()===j;}T<2&&(I=false);}if(I){d.push({selector:y,attribute:"role",currentValue:x.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:k.length,cols:S,nearbyHeading:_.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:(x.outerHTML||"").slice(0,300)});continue}let C=null,F=x.querySelectorAll("thead");for(let v=0;v<F.length;v++)if(F[v].closest("table")===x){C=F[v];break}let O=C&&C.querySelector("tr")!==null,M=false;for(let v=0;v<k.length&&!M;v++){let T=k[v].children;for(let P=0;P<T.length&&!M;P++){let V=T[P],j=(V.tagName||"").toLowerCase();if(j!=="td"&&j!=="th")continue;if(j==="th"){M=true;break}let G=(V.getAttribute("headers")||"").trim();if(!G)continue;let J=G.split(/\s+/);for(let ee=0;ee<J.length;ee++){let ae=document.getElementById(J[ee]);if(ae&&(ae.tagName||"").toLowerCase()==="th"&&ae.closest("table")===x){M=true;break}}}}if(!O&&!M&&d.length<30&&d.push({selector:y,attribute:"thead",currentValue:C?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:C?"<thead> has no <tr>":"no <thead> element",rows:k.length,cols:S,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(x.outerHTML||"").slice(0,300)}),S>2){let v=L.querySelectorAll("th, td"),T=v.length>0;for(let P=0;P<v.length;P++)if((v[P].tagName||"").toLowerCase()!=="td"){T=false;break}if(T)for(let P=0;P<v.length&&!(d.length>=30);P++){let V=v[P],j=uniqueSel(V),G=(V.textContent||"").trim().slice(0,60);d.push({selector:j,attribute:"role",currentValue:V.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:G,colIndex:P,nearbyHeading:_.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(V.outerHTML||"").slice(0,300)});}}let B=[],H=[],Y=new Map;for(let v=0;v<k.length;v++){let T=k[v],P=0;for(let V=0;V<T.children.length;V++){let j=T.children[V],G=(j.tagName||"").toLowerCase();if(G!=="td"&&G!=="th")continue;for(;B.some(Q=>Q.lane===P&&Q.untilRow>v);)P++;let J=parseInt(j.getAttribute("colspan")||"1",10);(isNaN(J)||J<1)&&(J=1);let ee={rowIdx:v,lane:P,span:J,headers:(j.getAttribute("headers")||"").trim()};G==="td"?H.push(ee):Y.set(j,ee);let ae=parseInt(j.getAttribute("rowspan")||"1",10)||1;if(ae>1)for(let Q=0;Q<J;Q++)B.push({lane:P+Q,untilRow:v+ae});P+=J;}}let Z=(v,T)=>T.lane<v.lane+v.span&&T.lane+T.span>v.lane,E=x.querySelectorAll("th");for(let v=0;v<E.length&&!(d.length>=30);v++){let T=E[v];if(T.closest("table")!==x)continue;let P=(T.getAttribute("scope")||"").trim().toLowerCase();if(P==="col"||P==="row"||P==="colgroup"||P==="rowgroup")continue;let V=false;if((T.getAttribute("headers")||"").trim())V=true;else {let ue=(T.getAttribute("id")||"").trim();if(ue)for(let Ae=0;Ae<H.length;Ae++){let Oe=H[Ae].headers;if(Oe&&Oe.split(/\s+/).indexOf(ue)!==-1){V=true;break}}}if(V)continue;let j=T.closest("tr"),G=T.closest("thead")!==null,J=false;j&&k.length>0&&k[0]===j&&(J=true);let ee=false;if(j){let ue=j.querySelectorAll("th, td");ue.length>0&&ue[0]===T&&(ee=true);}let ae="col";G||J?ae="col":ee&&(ae="row");let Q=Y.get(T);if(!V&&Q){if(ae==="row")V=H.some(ue=>ue.rowIdx===Q.rowIdx&&!ue.headers&&ue.lane>=Q.lane+Q.span);else if(V=H.some(ue=>ue.rowIdx>Q.rowIdx&&!ue.headers&&Z(Q,ue)),!V)for(let ue=0;ue<E.length;ue++){let Ae=Y.get(E[ue]);if(!Ae||Ae.rowIdx<=Q.rowIdx||!Z(Q,Ae))continue;let Oe=k[Ae.rowIdx],Ne=Oe?Oe.children:[];if(Ne.length>0&&Ne[0]===E[ue]&&E[ue].closest("table")===x){V=true;break}}}if(V)continue;let ce=uniqueSel(T),we=(T.textContent||"").trim().slice(0,60);d.push({selector:ce,attribute:"scope",currentValue:P,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ae,inThead:G,firstRow:J,firstCol:ee,headerText:we}),needsAI:false,fixValue:ae,outerHtml:(T.outerHTML||"").slice(0,300)});}}return d},mh={name:"dataTables",cap:30,async detect(f){return f.evaluate(X3)}};var Y3=()=>{let d=[];for(let h of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let g=h;if((g.getAttribute("alt")||"").trim()!=="")continue;let p=(g.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!p||isWidget(g))continue;let w=(g.getAttribute("role")||"").toLowerCase();w==="presentation"||w==="none"||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]')||(g.getAttribute("aria-label")||"").trim()||(g.getAttribute("aria-labelledby")||"").trim()||isVisible(g)&&d.push({selector:uniqueSel(g),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:(g.outerHTML||"").slice(0,300)});}return d},hh={name:"decorativeImageTitle",cap:30,async detect(f){return f.evaluate(Y3)}};var K3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,h=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],w=document.querySelectorAll("a");for(let D of w){if(p.length>=50)break;if(D.closest(f)||D.getAttribute("aria-hidden")==="true"||D.getAttribute("role")==="presentation"||D.closest('[aria-hidden="true"]')||!isVisible(D))continue;let x=getAccessibleName(D);if(x&&x.length>0&&!h.test(x)&&!d.test(x))continue;let k=D.querySelectorAll("img[alt]"),L="";for(let Y of k){let Z=(Y.getAttribute("alt")||"").trim();Z&&(L+=Z+" ");}if(L.trim())continue;let S=D.getAttribute("aria-labelledby");if(S&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(S))continue;let y=uniqueSel(D),_=D.getAttribute("href")||"",I=(D.textContent||"").trim(),C=getNearbyContext(D),F="";I&&h.test(I)?F="[whitespace only]":I&&d.test(I)&&(F=I);let O="",M=true;if(_&&_!=="#"&&!_.startsWith("javascript:")){if(_.startsWith("mailto:")){let Y=_.slice(7).split("?")[0];Y&&Y.includes("@")&&(O="Email "+Y,M=false);}else if(_.startsWith("tel:")){let Y=_.slice(4);try{Y=decodeURIComponent(Y);}catch{}Y=Y.replace(/^\+/,"").trim(),Y&&(O="Call "+Y,M=false);}}let B=[];D.closest("nav")&&B.push("inside nav"),C.nearbyHeading&&B.push("heading: "+C.nearbyHeading),_&&B.push("href: "+_.slice(0,120)),B.push("parent: "+C.parentTag);let H={selector:y,attribute:"aria-label",currentValue:F,issueType:"empty_link",wcag:"2.4.4",context:B.join(" | "),needsAI:M,outerHtml:D.outerHTML.slice(0,300)};!M&&O&&(H.fixValue=O),p.push(H);}return p},gh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(K3)}};var J3=()=>{let d=[],h=new Set;function g(S){return (S||"").trim()}function p(S){let y=g(S.getAttribute("aria-label")||"");if(y)return y;let _=S.getAttribute("aria-labelledby");if(_){let C=_.split(/\s+/),F="";for(let O=0;O<C.length;O++){let M=document.getElementById(C[O]);M&&(F+=" "+(M.textContent||""));}if(g(F))return g(F)}let I=g(S.getAttribute("title")||"");return I||""}let w=document.querySelectorAll("fieldset");for(let S=0;S<w.length&&!(d.length>=30);S++){let y=w[S];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;if(p(y)){h.add(y);continue}let _=null,I=y.querySelectorAll("legend");for(let H=0;H<I.length;H++)if(I[H].closest("fieldset")===y){_=I[H];break}let C=_!==null,F=_?g(_.textContent||""):"";if(C&&F){h.add(y);continue}let O=getNearbyContext(y),M=y.querySelectorAll("input, select, textarea"),B=uniqueSel(y);d.push({selector:B,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:C?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:M.length,nearbyHeading:O.nearbyHeading,parentTag:O.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),h.add(y);}let D=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let S=0;S<D.length&&!(d.length>=30);S++){let y=D[S];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y)||h.has(y))continue;if(p(y)){h.add(y);continue}let _=y.getAttribute("role")||"",I=getNearbyContext(y),C=y.querySelectorAll("input, select, textarea");if(_==="group"&&y.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 F=uniqueSel(y);d.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+_+'" container without accessible name',role:_,controlCount:C.length,nearbyHeading:I.nearbyHeading,parentTag:I.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),h.add(y);}let x={},k=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let S=0;S<k.length;S++){let y=k[S];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;let _=y.getAttribute("name")||"";if(!_)continue;let I=y.closest("form"),C=I?I.getAttribute("id")||I.getAttribute("action")||I.tagName:"no-form",F=(y.getAttribute("type")||"").toLowerCase(),O=C+"::"+F+"::"+_;x[O]||(x[O]=[]),x[O].push(y);}let L=Object.keys(x);for(let S=0;S<L.length&&!(d.length>=30);S++){let y=x[L[S]];if(y.length<3)continue;let _=y[0],I=_.closest('fieldset, [role="group"], [role="radiogroup"]'),C=false;if(I){C=true;for(let Y=1;Y<y.length;Y++)if(!I.contains(y[Y])){C=false;break}}if(C&&I)continue;let F=_.parentElement;for(;F&&F!==document.body;){let Y=true;for(let Z=1;Z<y.length;Z++)if(!F.contains(y[Z])){Y=false;break}if(Y)break;F=F.parentElement;}if(!F||F===document.body||h.has(F))continue;let O=(_.getAttribute("type")||"").toLowerCase(),M=_.getAttribute("name")||"",B=getNearbyContext(_),H=uniqueSel(F);d.push({selector:H,attribute:"role",currentValue:F.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+O+" group ("+y.length+' inputs share name="'+M+'")',inputType:O,inputCount:y.length,name:M,nearbyHeading:B.nearbyHeading,parentTag:B.parentTag}),needsAI:false,fixValue:O==="radio"?"radiogroup":"group",outerHtml:(F.outerHTML||"").slice(0,300)}),h.add(F);}return d},vh={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(J3)}};var Z3=()=>{let f=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),h=0;for(let g of Array.from(d)){let p=getComputedStyle(g);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let w=g.getBoundingClientRect();if(w.top>50||w.bottom<=0)continue;let D=Math.round(w.height);D<40||D>240||D>h&&(h=D);}if(h>0){let g=window.scrollX,p=window.scrollY,w=0,D=0;try{let k=[],L=new Set;document.querySelectorAll('a[href^="#"]').forEach(S=>{let y=S.getAttribute("href").slice(1);if(!y)return;let _=document.getElementById(y);_&&!L.has(_)&&(L.add(_),k.push(_));});for(let S of k){if(D>=8)break;let y=getComputedStyle(S);if(y.display==="none"||y.visibility==="hidden")continue;D++,S.scrollIntoView({block:"start"});let _=S.getBoundingClientRect(),I=Math.max(_.height,1);Math.max(0,Math.min(_.bottom,h)-Math.max(_.top,0))/Math.min(I,h)>=.5&&w++;}}catch{}try{window.scrollTo(g,p);}catch{}let x=`scroll-margin-top: ${h+8}px; scroll-padding-top: ${h+8}px;`;D>0&&w>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}px \u2014 ${w}/${D} in-page anchor targets land under it on jump`,needsAI:false,fixValue:x}):D===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}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:x});}return f},bh={name:"focusObscured",async detect(f){return f.evaluate(Z3)}};var yh={name:"focusVisible",cap:40,async detect(f){let d=typeof f.keyboard?.press=="function";try{await f.evaluate(()=>{let h=document.activeElement;window[Symbol.for("wa.prevFocus")]=h&&h!==document.body&&h!==document.documentElement?h:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let g=getSelection();window[Symbol.for("wa.prevSelection")]=g?Array.from({length:g.rangeCount},(p,w)=>g.getRangeAt(w).cloneRange()):[];});}catch{}if(d)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(h=>{let p=[],w=["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 D=document.querySelectorAll(w),x=Symbol.for("wa.prevFocus"),k=window[x]??null;try{delete window[x];}catch{}for(let L of D){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(L)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(L)||typeof isVisible=="function"&&!isVisible(L)||!L.offsetParent&&L.tagName!=="BODY")continue;let S=getComputedStyle(L),y=S.outline,_=S.outlineWidth,I=S.outlineStyle,C=S.boxShadow,F=S.border,O=S.backgroundColor;try{L.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==L)continue;let M=getComputedStyle(L),B=M.outline,H=(M.outlineStyle||"").toLowerCase(),Y=parseFloat(M.outlineWidth||"0"),Z=M.boxShadow,E=M.border,v=M.backgroundColor,T=B!==y,P=H!=="none"&&H!=="hidden"&&Y>0;if(T&&P||Z!==C&&Z!=="none"&&Z!==""||E!==F||v!==O||parseFloat(_)>0&&I!=="none")continue;let ee=typeof uniqueSel=="function"?uniqueSel(L):L.tagName.toLowerCase();p.push({selector:ee,pseudo:":focus-visible",attribute:"style",currentValue:I+" "+_,issueType:"focus_not_visible",wcag:"2.4.7",context:`${L.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:L.outerHTML.slice(0,200),...h?{}:{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{k&&k.isConnected&&k.focus({preventScroll:!0});}catch{}try{let L=Symbol.for("wa.prevScroll"),S=window[L];delete window[L],S&&window.scrollTo({left:S[0],top:S[1],behavior:"instant"});}catch{}try{let L=Symbol.for("wa.prevSelection"),S=window[L];delete window[L];let y=getSelection();if(y&&S){y.removeAllRanges();for(let _ of S)y.addRange(_);}}catch{}return p},d)}};var Q3=()=>{let d=[],h=["new","register","signup","sign-up","sign_up","create","change","reset"],g=["confirm","verify","retype","re-type","repeat","again"];function p(y){if(!y)return false;let _=" "+((y.getAttribute("id")||"")+" "+(y.getAttribute("class")||"")+" "+(y.getAttribute("name")||"")+" "+(y.getAttribute("action")||"")).toLowerCase()+" ";for(let I=0;I<h.length;I++)if(_.indexOf(h[I])!==-1)return true;return false}function w(y){let _=((y.getAttribute("name")||"")+" "+(y.getAttribute("id")||"")+" "+(y.getAttribute("placeholder")||"")+" "+(y.getAttribute("aria-label")||"")).toLowerCase();for(let I=0;I<g.length;I++)if(_.indexOf(g[I])!==-1)return true;return false}let D=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let y of D){if(d.length>=30)break;let _=y;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let I=(_.getAttribute("autocomplete")||"").trim().toLowerCase();if(w(_)){if(I==="new-password")continue;let B=uniqueSel(_);d.push({selector:B,attribute:"autocomplete",currentValue:I,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(_.outerHTML||"").slice(0,300)});continue}if(I)continue;let F=_.form||_.closest("form"),O=p(F),M=uniqueSel(_);d.push({selector:M,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(O?"new/signup/change password form":"login form")+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:O?"new-password":"current-password",outerHtml:(_.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll("form"),k=/\*|\brequired\b|\bmandatory\b/i;for(let y of x){if(d.length>=30)break;let _=y;if(isWidget(_)||!isVisible(_))continue;let I=_.querySelectorAll("input[required], select[required], textarea[required]");if(!I.length)continue;let C=0;for(let H of I)isVisible(H)&&C++;if(C===0)continue;let F=_.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),O=0;for(let H of F)isVisible(H)&&O++;if(C>=O||(_.getAttribute("data-asw-required-hint")||"").trim())continue;let M=(_.textContent||"").trim();if(k.test(M))continue;let B=uniqueSel(_);d.push({selector:B,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${C} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let L='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',S='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let y of x){if(d.length>=30)break;let _=y;if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let I=[];for(let H of _.querySelectorAll(S))isVisible(H)&&I.push(H);if(I.length===0||_.querySelector(L))continue;let C=_.getAttribute("id");if(C){let H=false;for(let Y of document.querySelectorAll(L))if(Y.getAttribute("form")===C){H=true;break}if(H)continue}if(((_.getAttribute("role")||"").toLowerCase()==="search"||!!_.closest('[role="search"]'))&&I.length===1)continue;let O=I.slice(0,4).map(H=>H.tagName.toLowerCase()+(H.tagName==="INPUT"?"["+(H.getAttribute("type")||"text")+"]":"")).join(", "),M=[];for(let H of _.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(M.length>=3)break;let Y=H;if(!isVisible(Y))continue;let Z=((Y.tagName==="INPUT"?Y.getAttribute("value"):Y.textContent)||Y.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);M.push('"'+Z+'"');}if(M.length&&!(_.getAttribute("action")||"").trim())continue;let B=M.length?" Buttons present that are not a submit control (type=button or role=button): "+M.join(", ")+".":"";d.push({selector:uniqueSel(_),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${I.length} visible field(s) (${O}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+I.length+" visible field(s) ("+O+") 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."+B,outerHtml:(_.outerHTML||"").slice(0,300)});}return d},wh={name:"formAttributes",cap:30,async detect(f){return f.evaluate(Q3)}};var eI=()=>{let f=document.documentElement;return f?(f.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},xh={name:"htmlLang",async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=[{host:"youtube.com",title:"YouTube video"},{host:"youtube-nocookie.com",title:"YouTube video"},{host:"youtu.be",title:"YouTube video"},{host:"vimeo.com",title:"Vimeo video"},{host:"maps.google.com",title:"Google Maps"},{host:"google.com",path:/^\/maps(\/|$)/,title:"Google Maps"},{host:"pay.google.com",title:"Google Pay"},{host:"google.com",path:/^\/recaptcha\//,title:"reCAPTCHA verification"},{host:"recaptcha.net",title:"reCAPTCHA verification"},{host:"facebook.com",title:"Facebook widget"},{host:"twitter.com",title:"Twitter widget"},{host:"x.com",title:"Twitter widget"},{host:"instagram.com",title:"Instagram widget"},{host:"calendly.com",title:"Scheduling widget"}],p=x=>{let k;try{k=new URL(x,location.href);}catch{return null}let L=k.hostname.toLowerCase();for(let S of g)if((L===S.host||L.endsWith("."+S.host))&&(!S.path||S.path.test(k.pathname)))return S.title;return null},w=/^(iframe|embed|widget|frame|content|untitled)$/i,D=document.querySelectorAll("iframe");for(let x of D){if(h.length>=50)break;if(x.closest(f))continue;let k=false;for(let v=x;v;v=v.parentElement)if((v.getAttribute("aria-hidden")||"").trim()==="true"){k=true;break}let L=(x.getAttribute("role")||"").trim().toLowerCase();if(k||L==="presentation"||L==="none"||x.closest("[inert]"))continue;let S=/^[\t\n\f\r ]*([-+]?\d+)/.exec(x.getAttribute("tabindex")||"");if(S&&parseInt(S[1],10)<0)continue;let y=getComputedStyle(x);if(x.getClientRects().length===0||y.visibility==="hidden"||y.visibility==="collapse"||(x.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let _="",I=(x.getAttribute("aria-labelledby")||"").trim();if(I){let v=I.split(/\s+/);for(let T=0;T<v.length;T++){let P=document.getElementById(v[T]);P&&(_+=" "+(P.textContent||""));}_=_.trim();}if(_||(_=(x.getAttribute("aria-label")||"").trim()),_)continue;let C=(x.getAttribute("title")||"").trim(),F=C.length===0,O=!F&&(C.length<3||w.test(C));if(!F&&!O)continue;let M=(x.getAttribute("src")||"").toLowerCase(),B=uniqueSel(x),H=getNearbyContext(x),Y="src: "+M.slice(0,120)+(H.nearbyHeading?" | heading: "+H.nearbyHeading:""),Z=p(x.getAttribute("src")||""),E=Z!==null;Z&&h.push({selector:B,attribute:"title",currentValue:C,issueType:"missing_label",wcag:"4.1.2",context:Y,needsAI:false,fixValue:Z,outerHtml:x.outerHTML.slice(0,300)}),!E&&F&&h.push({selector:B,attribute:"title",currentValue:C,issueType:"missing_label",wcag:"4.1.2",context:Y,needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return h},Dh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],g=[],p={email:"email",tel:"tel",password:"current-password"},w=[{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"}],D=document.querySelectorAll("input, select, textarea");for(let x of D){if(g.length>=50)break;if(x.closest(f))continue;let k=x,L=(k.getAttribute("type")||"text").toLowerCase();if(d.includes(L)||k.getAttribute("autocomplete")||!isVisible(k))continue;let S="";if(p[L]&&(S=p[L]),!S){let _=(k.getAttribute("name")||"").toLowerCase(),I=(k.getAttribute("id")||"").toLowerCase(),C=(k.getAttribute("placeholder")||"").toLowerCase(),F=_+" "+I+" "+C;for(let O of w)if(F.includes(O.pattern)){S=O.autocomplete;break}}if(!S)continue;if(S==="country"){let _=false;if(k.tagName==="SELECT"){let I=Array.from(k.options).map(C=>(C.value||"").trim()).filter(Boolean);_=I.length>0&&I.every(C=>/^[A-Za-z]{2}$/.test(C));}_||(S="country-name");}let y=uniqueSel(k);g.push({selector:y,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+L+" | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:S});}return g},Ah={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(rI)}};var nI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=['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(_){let I=_.getBoundingClientRect();if(I.width===0&&I.height===0)return false;let C=-window.scrollX,F=-window.scrollY,O=document.documentElement,M=getComputedStyle(_).position;if(M==="fixed")return false;let B=M==="absolute";for(let H=_.parentElement;H&&H!==document.body&&H!==O;H=H.parentElement){let Y=getComputedStyle(H);if(B){if(Y.position==="static")continue;B=false;}if(/auto|scroll/.test(Y.overflowX+" "+Y.overflowY))return false;let Z=Y.overflowX==="hidden"||Y.overflowX==="clip",E=Y.overflowY==="hidden"||Y.overflowY==="clip";if(!Z&&!E)continue;let v=H.getBoundingClientRect();if(Z&&(I.right<=v.left||I.left>=v.right)||E&&(I.bottom<=v.top||I.top>=v.bottom))return true;if(M=Y.position,M==="fixed")return false;M==="absolute"&&(B=true);}return I.right<=C||I.bottom<=F||I.left>=C+O.scrollWidth||I.top>=F+O.scrollHeight}let w='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',D='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"]',x='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function k(_){if(_.tagName==="A"){let C=_.href;if(C){for(let F of document.querySelectorAll("a[href]"))if(!(F===_||F.href!==C||F.tabIndex<0)&&!F.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(F)))return "another focusable link to the same href exists"}}if(_.closest(w))return "inside a slider / carousel / tablist that manages its own tab order";if(_.hasAttribute("aria-controls")||_.hasAttribute("aria-selected"))return "carries aria-controls / aria-selected (a widget manages its state)";if(_.closest('[inert],[aria-hidden="true"]'))return "inside an inert or aria-hidden container";let I=_.parentElement?.closest(D);if(I){let C=0;for(let F of I.querySelectorAll(x))F!==_&&F.getAttribute("tabindex")?.trim()==="-1"&&C++;if(C>=2)return `${C} other controls in the same <${I.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let C=_.parentElement;C&&C!==document.body&&!C.matches(x);C=C.parentElement){let F=parseInt(C.getAttribute("tabindex")||"",10);if(!Number.isFinite(F)||F<0)continue;let O=[...C.querySelectorAll(x)];if(O.length>=2&&O.every(M=>M.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let L=document.querySelectorAll(g);for(let _ of L){if(h.length>=30)break;if(_.closest(f)||!_.hasAttribute("tabindex"))continue;let I=_.getAttribute("tabindex")||"",C=parseInt(I,10);if(!Number.isFinite(C)||C===0||_.getAttribute("aria-disabled")==="true"||_.getAttribute("aria-hidden")==="true"||_.closest('[aria-hidden="true"]')||_.closest("[hidden]"))continue;let F=_.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(F&&!(F.hasAttribute("open")||F.getAttribute("aria-modal")==="true"||F.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(_)||C<0&&p(_))continue;let O=(_.getAttribute("role")||"").toLowerCase();if(C<0&&_.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let B=typeof uniqueSel=="function"?uniqueSel(_):"",H=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},Y,Z,E=C<0?k(_):"";C<0?(Y="keyboard_trap",Z="2.1.1"):(Y="focus_order_disruption",Z="2.4.3");let v=[];v.push("tabindex: "+C),v.push("tag: "+_.tagName.toLowerCase()),O&&v.push("role: "+O),H.nearbyHeading&&v.push("heading: "+H.nearbyHeading),v.push("parent: "+H.parentTag),E&&v.push('author tabindex="-1" looks intentional: '+E),h.push({selector:B,attribute:"tabindex",currentValue:String(C),issueType:Y,wcag:Z,context:v.join(" | "),needsAI:false,fixValue:"0",...E?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${E}); tabindex="0" could add a duplicate or out-of-sync tab stop. Confirm the control must be reachable on its own before applying.`}:{},outerHtml:(_.outerHTML||"").slice(0,300)});}let S=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,y=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let _ of document.querySelectorAll("[onblur]")){if(h.length>=30)break;if(_.closest(f))continue;let I=_.getAttribute("onblur")||"";!S.test(I)||y.test(I)||_.matches('[disabled], [aria-disabled="true"]')||_.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(_)||h.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase(),attribute:"onblur",currentValue:I.slice(0,100),issueType:"keyboard_trap_self_focus",wcag:"2.1.2",context:"tag: "+_.tagName.toLowerCase()+" | onblur returns focus to the same element, so keyboard focus cannot leave it",needsAI:false,outerHtml:(_.outerHTML||"").slice(0,300)});}return h},_h={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(nI)}};var aI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let w of Array.from(p)){if(h.length>=40)break;if(w.closest(f)||typeof isVisible=="function"&&!isVisible(w))continue;let D="",x=[],k=[];try{let E=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,v=/icon|awesome|glyph|material symbols|dashicons/i,T=!1;try{T=v.test(getComputedStyle(w).fontFamily||"");}catch{}let P=we=>parseFloat(we||"0")||0,V=we=>{if(we.hasAttribute("hidden"))return !0;let ue=(we.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(ue)||/clip-path:inset\((50|100)%/.test(ue))return !0;if(/position:(absolute|fixed)/.test(ue)){if(/(width|height):[01](px)?(;|!|$)/.test(ue))return !0;let Ae=ue.match(/(?:left|top):(-\d+)/);if(Ae&&parseInt(Ae[1],10)<=-999)return !0}return !1},j=(we,ue)=>{if(we.hasAttribute("hidden")||P(ue.fontSize)===0)return !0;let Ae=(ue.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(Ae)||/inset\((50|100)%\)/.test(ue.clipPath||""))return !0;let Oe=we.getBoundingClientRect();return !!(/hidden|clip/.test(ue.overflow||ue.overflowX+" "+ue.overflowY)&&(Oe.width<=1||Oe.height<=1)||(ue.position==="absolute"||ue.position==="fixed")&&(P(ue.left)<=-999||P(ue.top)<=-999||Oe.right<=0||Oe.bottom<=-window.scrollY))},G=!1,J=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),ee;for(;ee=J.nextNode();){let we=ee.parentElement;if(!we)continue;let ue=(ee.textContent||"").trim();if(!ue||we===w&&T)continue;let Ae=!1,Oe=!1;for(let Ne=we;Ne&&Ne!==w;Ne=Ne.parentElement){if(Ne.tagName==="KBD"&&(Oe=!0),Ne.getAttribute("aria-hidden")==="true"){Ae=!0;break}if(E.test(Ne.getAttribute("class")||"")||E.test(Ne.getAttribute("id")||"")){Ae=!0;break}try{let Fe=getComputedStyle(Ne);if(Fe.display==="none"||Fe.visibility==="hidden"){Ae=!0;break}if(parseFloat(Fe.opacity||"1")===0){Ae=!0;break}if(v.test(Fe.fontFamily||"")){Ae=!0;break}if(j(Ne,Fe)){Ae=!0;break}}catch{if(V(Ne)){Ae=!0;break}Ne.tagName==="SPAN"&&(G=!0);}}!Ae&&/[\p{L}\p{N}]/u.test(ue)&&k.push({text:ue,kbd:Oe});}let ae=0,Q=k.length;for(;ae<Q&&k[ae].kbd;)ae++;for(;Q>ae&&k[Q-1].kbd;)Q--;let ce=ae<Q?k.slice(ae,Q):k;for(let we of ce)x.push(we.text);D=G?"":x.join(" ").trim().toLowerCase();}catch{D=((w.innerText!=null?w.innerText:w.textContent)||"").trim().toLowerCase();}if(!D||!/[\p{L}\p{N}]/u.test(D)||/^\p{L}$/u.test(D))continue;let S=/[\p{L}\p{N}\p{M}]/u,y=(w.getAttribute("aria-label")||"").trim().toLowerCase();if(!y){let E=w.getAttribute("aria-labelledby");E&&(y=(typeof __resolveIdRefs=="function"?__resolveIdRefs(E):"").toLowerCase());}if(!y)continue;let _=E=>{let v=E.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(v)?v:E.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},I=_(y),C=/[\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,F=(E,v)=>!E||!S.test(E)||C.test(E)||C.test(v),O=(E,v)=>{if(v<=0)return "";let T=E.charCodeAt(v-1);return T>=56320&&T<=57343&&v>=2?E.slice(v-2,v):E.charAt(v-1)},M=(E,v)=>{let T=E.codePointAt(v);return T===void 0?"":String.fromCodePoint(T)},B=E=>{let v=E.substring(0,40);if(!v)return true;let T=E.length>=40,P=M(v,0),V=O(v,v.length);for(let j=0;;){let G=I.indexOf(v,j);if(G<0)return false;if(F(O(I,G),P)&&(T||F(M(I,G+v.length),V)))return true;j=G+1;}};if(B(_(D))||x.length>1&&B(_(x.join(""))))continue;if(x.length>1){let E=true,v=0;for(let T of x){let P=_(T.toLowerCase());if(!P)continue;let V=P.slice(0,40),j=-1;for(let G=v;;){let J=I.indexOf(V,G);if(J<0)break;let ee=F(O(I,J),M(V,0)),ae=V.length>=40||F(M(I,J+V.length),O(V,V.length));if(ee&&ae){j=J;break}G=J+1;}if(j<0){E=false;break}v=j+V.length;}if(E)continue}let H=typeof uniqueSel=="function"?uniqueSel(w):"",Y=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},Z=[];Z.push("visible: "+D.slice(0,40)),Z.push("aria-label: "+y.slice(0,60)),Y.nearbyHeading&&Z.push("heading: "+Y.nearbyHeading),Z.push("parent: "+Y.parentTag),h.push({selector:H,attribute:"aria-label",currentValue:y,issueType:"label_in_name",wcag:"2.5.3",context:Z.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return h},Eh={name:"labelInName",cap:40,async detect(f){return f.evaluate(aI)}};var iI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",h=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],g=[];function p(S){if(!S)return "";let y=S.split("#")[0];return y.length>1&&y.charAt(y.length-1)==="/"&&(y=y.substring(0,y.length-1)),y}function w(S){let y=(S.getAttribute("aria-label")||"").trim();return y||(S.textContent||"").trim().replace(/\s+/g," ")}function D(S){return !!S.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let x={},k=document.querySelectorAll("a[href]");for(let S=0;S<k.length;S++){let y=k[S];if(y.closest(f)||y.getAttribute("aria-hidden")==="true"||!isVisible(y))continue;let _=y.getAttribute("href")||"";if(!_)continue;let I=_.toLowerCase();if(I.charAt(0)==="#"||I.indexOf("javascript:")===0||I.indexOf("mailto:")===0||I.indexOf("tel:")===0)continue;let C=y.href||_,F=p(C);if(!F||D(y))continue;let O=(y.textContent||"").trim(),M=!!y.querySelector("img, svg, picture");if(!O&&M)continue;let B=w(y);if(!B)continue;let H=B.toLowerCase();H===I||H===C.toLowerCase()||(x[F]||(x[F]=[]),x[F].push(y));}let L=Object.keys(x);for(let S=0;S<L.length&&!(g.length>=30);S++){let y=x[L[S]];if(!y||y.length<2)continue;let _={},I="";for(let M=0;M<y.length;M++){let B=w(y[M]),H=B.toLowerCase();_[H]=true,B.length>I.length&&(I=B);}if(Object.keys(_).length<2)continue;let F=I.toLowerCase().trim();if(F.length<5)continue;let O=false;for(let M=0;M<h.length;M++)if(F===h[M]){O=true;break}if(!O)for(let M=0;M<y.length&&!(g.length>=30);M++){let B=y[M],H=w(B);if(H.toLowerCase()===F)continue;let Y=uniqueSel(B);g.push({selector:Y,attribute:"aria-label",currentValue:H,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+y.length+' link(s) on this page with different text (e.g. "'+I.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:B.outerHTML.slice(0,300)});}}return g},Ch={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(iI)}};var oI=()=>{let d=[],h=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],g={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function w(C,F){if(!C||!F)return false;if(C===F||C.endsWith("."+F)||F.endsWith("."+C))return true;let O=M=>{let B=M.split(".");if(B.length<=2)return M;let H=B[B.length-1],Y=B[B.length-2],Z=["co","com","net","org","ac","gov","edu"],E=H.length===2&&Z.indexOf(Y)>=0?3:2;return B.slice(-E).join(".")};return O(C)===O(F)}function D(C){return C.indexOf("www.")===0?C.slice(4):C}function x(C){if(!C)return "";let F=C.toLowerCase();if(F.charAt(0)==="#"||F.charAt(0)==="/"||F.charAt(0)==="?"||F.indexOf("javascript:")===0||F.indexOf("mailto:")===0||F.indexOf("tel:")===0)return "";try{return (new window.URL(C,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function k(C){if(!C)return "";let F=C,O=F.indexOf("?");O>=0&&(F=F.slice(0,O));let M=F.indexOf("#");M>=0&&(F=F.slice(0,M)),F=F.toLowerCase();for(let B=0;B<h.length;B++){let H=h[B];if(F.length>=H.length&&F.slice(F.length-H.length)===H)return H}return ""}function L(C){let F=[],O=(C.getAttribute("aria-label")||"").trim();O&&F.push(O);let M=(C.getAttribute("title")||"").trim();M&&F.push(M);let B=C.getAttribute("aria-labelledby");if(B)try{let H=typeof __resolveIdRefs=="function"?__resolveIdRefs(B):"";H&&F.push(H);}catch{}return F.push((C.textContent||"").trim()),F.join(" ").toLowerCase()}function S(C,F,O){let M="";try{typeof getAccessibleName=="function"&&(M=(getAccessibleName(C)||"").trim());}catch{}let B=(F||O||M||C.textContent||"").replace(/\s+/g," ").trim();return B||(C.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function y(C,F){let M=200-F.length;M<8&&(M=8);let B=C;if(B.length>M){let H=B.slice(0,M),Y=H.lastIndexOf(" ");Y>M*.6&&(H=H.slice(0,Y)),B=H.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (B+F).slice(0,200)}let _=document.querySelectorAll("a"),I=_.length;for(let C=0;C<I&&!(d.length>=50);C++){let F=_[C];if(!F||isWidget(F)||F.getAttribute("aria-hidden")==="true")continue;try{if(F.closest&&F.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(F))continue;let O=F.getAttribute("href");if(O==null)continue;let M=String(O).trim();if(!M)continue;let B=M.toLowerCase(),H=L(F),Y=(F.getAttribute("rel")||"").toLowerCase(),Z=uniqueSel(F),E=(F.textContent||"").trim().slice(0,80),v=(F.getAttribute("target")||"").toLowerCase(),T=(F.outerHTML||"").slice(0,300),P=M==="#",V=B.indexOf("javascript:")===0;if((P||V)&&(F.getAttribute("role")||"").toLowerCase()!=="button"){let Q=F.hasAttribute&&F.hasAttribute("onclick"),ce=F.hasAttribute&&(F.hasAttribute("data-action")||F.hasAttribute("data-click")||F.hasAttribute("data-toggle")||F.hasAttribute("data-target")),we=typeof F.onclick=="function",ue=Q||ce||we,Ae=[];Ae.push("href: "+M),E&&Ae.push("text: "+E),Ae.push(ue?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Oe='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"]',Ne=ke=>{if(getComputedStyle(ke).visibility==="hidden")return false;for(let Ot=ke;Ot&&Ot.nodeType===1;Ot=Ot.parentElement)if(getComputedStyle(Ot).display==="none")return false;return true},Fe=Array.prototype.some.call(F.querySelectorAll(Oe),ke=>Ne(ke)&&!isHiddenFromAT(ke));ue&&!Fe&&d.push({selector:Z,attribute:"role",currentValue:M,issueType:"placeholder_link",wcag:"2.4.4",context:Ae.join(" | "),needsAI:false,fixValue:"button",outerHtml:T});continue}if(M.charAt(0)==="#"&&M.length>1)continue;let j=k(B);if(j){let ae=F.hasAttribute&&F.hasAttribute("download"),Q=(g[j]||j).toLowerCase(),ce=H.indexOf(j)>=0||H.indexOf(Q)>=0||H.indexOf("download")>=0;if(!ae&&!ce){let we=S(F,(F.getAttribute("aria-label")||"").trim(),""),ue=y(we," ("+(g[j]||j)+" download)");d.push({selector:Z,attribute:"aria-label",currentValue:(F.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+j+" | href: "+M.slice(0,120),needsAI:false,fixValue:ue,outerHtml:T});continue}}let G=x(M),J=B.indexOf("http://")===0||B.indexOf("https://")===0||B.indexOf("//")===0,ee=!!G&&!!p&&!w(D(G),D(p));if(v==="_blank"){let ae=Y.indexOf("noopener")>=0||Y.indexOf("noreferrer")>=0,Q=H.indexOf("new window")>=0||H.indexOf("new tab")>=0||H.indexOf("opens in")>=0;if(!Q){let ce=(F.getAttribute("aria-label")||"").trim(),we="",ue=F.getAttribute("aria-labelledby")||"";if(!ce&&ue)try{typeof __resolveIdRefs=="function"&&(we=(__resolveIdRefs(ue)||"").trim());}catch{}let Ae=S(F,ce,we),Oe=y(Ae," (opens in new window)"),Ne=[];ae||Ne.push("missing rel=noopener"),Q||Ne.push('missing "new window" hint'),Ne.push("href: "+M.slice(0,120)),d.push({selector:Z,attribute:"aria-label",currentValue:(F.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ne.join(" | "),needsAI:false,fixValue:Oe,outerHtml:T});continue}}if(ee&&J){let ae=Y.indexOf("external")>=0,Q=H.indexOf("external")>=0||H.indexOf("opens in")>=0||H.indexOf("new window")>=0||H.indexOf("new tab")>=0;if(!ae&&!Q){let ce=(F.getAttribute("aria-label")||"").trim(),we="",ue=F.getAttribute("aria-labelledby")||"";if(!ce&&ue)try{typeof __resolveIdRefs=="function"&&(we=(__resolveIdRefs(ue)||"").trim());}catch{}let Ae=S(F,ce,we),Oe=y(Ae," (external link)");d.push({selector:Z,attribute:"aria-label",currentValue:(F.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+G+" (page: "+p+") | href: "+M.slice(0,120),needsAI:false,fixValue:Oe,outerHtml:T});}}}return d},Sh={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],g=new Set,p=document.querySelectorAll('main, [role="main"]'),w=[];return p.forEach(D=>{let x=getComputedStyle(D);x.display!=="none"&&x.visibility!=="hidden"&&w.push(D);}),p.forEach(D=>{if(h.length>=10||D.closest(f)||D.getAttribute("aria-hidden")!=="true")return;let x=getComputedStyle(D);if(x.display==="none"||x.visibility==="hidden"||D.closest('[role="dialog"]')||D.closest('[role="alertdialog"]')||D.closest("dialog")||w.some(y=>y!==D&&y.getAttribute("aria-hidden")!=="true"))return;let L=D.parentElement;for(;L&&L!==document.body&&L!==document.documentElement;){if(L.getAttribute("aria-hidden")==="true")return;L=L.parentElement;}let S=uniqueSel(D);g.has(S)||(g.add(S),h.push({selector:S,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),role:D.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:(D.outerHTML||"").slice(0,300)}));}),h},kh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(sI)}};var lI=()=>{let d=[];function h(D){return !!(!D||isWidget(D)||(D.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function g(D){return (D.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let D of p){if(d.length>=10)break;let x=D;if(h(x))continue;let k=x.hasAttribute("controls"),L=x.hasAttribute("autoplay"),S=x.hasAttribute("muted"),y=L||!x.paused&&!x.ended,_=typeof isVisible=="function"?isVisible(x):true;if(!k&&y&&_&&(d.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:g(x)}),d.length>=10))break;L&&!S&&d.push({selector:uniqueSel(x),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:g(x)});}let w=document.querySelectorAll("audio");for(let D of w){if(d.length>=10)break;let x=D;if(h(x))continue;let k=x.hasAttribute("controls"),L=x.hasAttribute("autoplay"),S=L||!x.paused&&!x.ended;if(!k&&S&&(d.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:g(x)}),d.length>=10))break;L&&d.push({selector:uniqueSel(x),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:g(x)});}return d},Th={name:"mediaControls",cap:10,async detect(f){return f.evaluate(lI)}};var uI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=[],p=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,w=/^(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,D=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,x=(y,_)=>{let I=y.getAttribute(_);if(I===null)return false;let C=parseFloat(I);return !isNaN(C)&&C<=1},k=document.querySelectorAll("img");for(let y of k){if(h.length>=50)break;if(y.closest(f)||y.closest("template, noscript, script"))continue;let _=y.getAttribute("src")||"",I=y.getAttribute("alt");if(_.startsWith("data:")||x(y,"width")||x(y,"height"))continue;let C=y.naturalWidth||0,F=y.naturalHeight||0;if(C>0&&F>0&&C<=3&&F<=3||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true")continue;let O=C||y.width,M=F||y.height,B=y.getBoundingClientRect(),H=!isVisible(y)||O<=2&&M<=2||B.width<=2&&B.height<=2||!!y.closest('[aria-hidden="true"]');if(H&&(I!==null||g.length>=50||D.test(_)))continue;let Y=(y.getAttribute("aria-label")||"").trim(),Z=(y.getAttribute("aria-labelledby")||"").trim();if(Y||Z)continue;if(I===null){let V=uniqueSel(y),j=getNearbyContext(y),G=[],J=y.closest("figure");if(J){let ce=J.querySelector("figcaption");ce&&G.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}j.nearbyHeading&&G.push("heading: "+j.nearbyHeading);let ee=y.closest("a");if(ee){let ce=ee.getAttribute("href")||"",we=(ee.textContent||"").trim().replace(/\s+/g," ");we&&G.push("link text: "+we.slice(0,60)),ce&&G.push("link href: "+ce.slice(0,80));}_&&G.push("src: "+_.slice(0,120)),G.push("parent: "+j.parentTag);let ae=_;try{ae=new URL(_,document.baseURI).href;}catch{}(H?g:h).push({selector:V,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:ae,outerHtml:y.outerHTML.slice(0,300)});continue}let E=(I||"").trim();if(E==="")continue;let v=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(E),T=p.test(E),P=w.test(E);if(v||T||P){let V=uniqueSel(y),j=getNearbyContext(y),G=[];j.nearbyHeading&&G.push("heading: "+j.nearbyHeading),_&&G.push("src: "+_.slice(0,120)),G.push("parent: "+j.parentTag);let J=_;try{J=new URL(_,document.baseURI).href;}catch{}h.push({selector:V,attribute:"alt",currentValue:E,issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:J,outerHtml:y.outerHTML.slice(0,300)});}}let L=globalThis;for(let y of Array.from(document.querySelectorAll("object"))){if(h.length>=50)break;if(y.closest(f)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let _=(y.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!L.isVisible(y))continue;let I=y.getAttribute("data")||"",C=(y.getAttribute("type")||"").trim().toLowerCase(),F=C.startsWith("image/"),O=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(I);if(!I||!(F||!C&&O)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("title")||"").trim())continue;let M=(y.getAttribute("aria-labelledby")||"").trim();M&&M.split(/\s+/).some(B=>(document.getElementById(B)?.textContent||"").trim())||y.closest('a, button, [role="button"], [role="link"]')||h.push({selector:L.uniqueSel(y),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: "+I.slice(0,120),needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}let S=Array.from(document.querySelectorAll("script:not([src])")).map(y=>y.textContent||"");for(let y of Array.from(document.querySelectorAll("canvas"))){if(h.length>=50)break;if(y.closest(f)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let _=(y.getAttribute("role")||"").trim().toLowerCase();if(_==="presentation"||_==="none"||!L.isVisible(y)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim()||(y.textContent||"").trim()||y.children.length||y.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let I=y.getBoundingClientRect();if(I.width<=30||I.height<=30)continue;let C=y.getAttribute("id");if(!C)continue;let F=new RegExp("#"+C.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+C.replace(/[^\w-]/g,"")+`['"]`);S.some(M=>F.test(M)&&/\b(fillText|strokeText)\s*\(/.test(M))&&h.push({selector:L.uniqueSel(y),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:y.outerHTML.slice(0,300)});}for(let y of g){if(h.length>=50)break;h.push(y);}return h},Rh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(uI)}};var cI=()=>{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"]',h=["onclick","data-action","ng-click","@click","v-on:click"],g=C=>{if(getComputedStyle(C).visibility==="hidden")return false;for(let F=C;F&&F.nodeType===1;F=F.parentElement)if(getComputedStyle(F).display==="none")return false;return true},p=C=>Array.prototype.some.call(C.querySelectorAll("a:not([href])"),F=>g(F)&&!isHiddenFromAT(F)&&h.some(O=>F.hasAttribute(O))),w=C=>Array.prototype.some.call(C.querySelectorAll(d),F=>g(F)&&!isHiddenFromAT(F)),x=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(C=>{if(x.length>=50||C.closest(f)||!isVisible(C)||isHiddenFromAT(C)||w(C)||p(C))return;let F=C.getAttribute("role");if(F==="button"||F==="link"||F==="tab"||F==="menuitem"||F==="checkbox"||F==="radio")return;let O=uniqueSel(C),M=C.outerHTML.slice(0,300);x.push({selector:O,attribute:"role",currentValue:F||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),hasOnclick:true,currentTabindex:C.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:M}),C.getAttribute("tabindex")===null&&x.push({selector:O,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:M});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(C=>{if(x.length>=50||C.closest(f)||!isVisible(C)||isHiddenFromAT(C)||C.getAttribute("role"))return;let O=C.hasAttribute("onclick"),M=C.getAttribute("data-action")||C.getAttribute("ng-click")||C.getAttribute("@click")||C.getAttribute("v-on:click");if(!O&&!M||w(C))return;let B=uniqueSel(C),H=C.outerHTML.slice(0,300);x.push({selector:B,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:C.getAttribute("href")||"",hasOnclick:O}),needsAI:false,fixValue:"button",outerHtml:H});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(C=>{if(x.length>=50||C.closest(f)||!isVisible(C)||isHiddenFromAT(C)||C.getAttribute("role"))return;let O=C.getAttribute("href")||"",M=false;if(O.startsWith("#")&&O.length>1){if(O.charAt(1)==="/")return;let Z=O.slice(1);if(document.getElementById(Z))return;try{if(document.querySelector('[name="'+CSS.escape(Z)+'"]'))return}catch{}M=true;}let B=O.startsWith("javascript:")||C.hasAttribute("onclick")||C.getAttribute("data-action")||C.getAttribute("ng-click")||C.getAttribute("@click")||C.getAttribute("v-on:click")||C.hasAttribute("aria-haspopup")||C.hasAttribute("aria-expanded")||C.hasAttribute("aria-controls"),H=M&&!B;if(w(C))return;let Y=uniqueSel(C);x.push({selector:Y,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:O,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:C.outerHTML.slice(0,300),...H?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(C=>{if(x.length>=50||C.closest(f)||!isVisible(C)||isHiddenFromAT(C))return;let F=(C.className&&typeof C.className=="string"?C.className:"").toLowerCase(),O=(C.getAttribute("id")||"").toLowerCase();if(!F.includes("breadcrumb")&&!F.includes("crumb")&&!O.includes("breadcrumb")&&!O.includes("crumb"))return;let M=C.querySelectorAll("a");if(M.length<2)return;let B=(C.getAttribute("aria-label")||"").toLowerCase(),H=C.getAttribute("role");if(B.includes("breadcrumb")||B.includes("crumb")||H==="navigation"&&B)return;let Y=uniqueSel(C);x.push({selector:Y,attribute:"aria-label",currentValue:B,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:M.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:C.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(C=>{if(x.length>=50||C.closest(f)||!isVisible(C)||isHiddenFromAT(C))return;let F=(C.className&&typeof C.className=="string"?C.className:"").toLowerCase(),O=(C.getAttribute("id")||"").toLowerCase();if(!F.includes("search")&&!O.includes("search")||!C.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let B=C.getAttribute("role");if(B==="search"||C.closest('[role="search"]')||C.querySelector('[role="search"]')||Array.prototype.some.call(C.querySelectorAll("form, section, div"),Z=>{let E=(Z.className&&typeof Z.className=="string"?Z.className:"").toLowerCase(),v=(Z.getAttribute("id")||"").toLowerCase();return !E.includes("search")&&!v.includes("search")||Z.getAttribute("role")==="search"?false:!!Z.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let Y=uniqueSel(C);x.push({selector:Y,attribute:"role",currentValue:B||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:C.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(C=>{if(C.closest(f))return;let F=C.getAttribute("role")||"menu",O=Array.from(C.querySelectorAll("a")).filter(B=>{if(!isVisible(B)||isHiddenFromAT(B))return false;let H=B.getAttribute("role");return H!=="menuitem"&&H!=="menuitemcheckbox"&&H!=="menuitemradio"});if(O.length===0)return;let M=uniqueSel(C);x.push({selector:M,attribute:"role",currentValue:F,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:`${O.length} link(s) inside role="${F}" without menuitem roles`,sample:O.slice(0,3).map(B=>(B.textContent||"").trim().slice(0,40))}),message:`container role="${F}" holds ${O.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:C.outerHTML.slice(0,300)});}),x},Fh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(cI)}};var dI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],g={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,w]of Object.entries(g))document.querySelectorAll(w).forEach(x=>{if(h.length>=30||x.closest(f)||typeof isVisible=="function"&&!isVisible(x))return;let k=x.parentElement,L=null;for(;k&&k!==document.body;){if(k.matches(w)){L=k;break}k=k.parentElement;}if((p==="banner"||p==="contentinfo")&&x.closest("article, section, aside, main, nav")||!L||x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let S=typeof uniqueSel=="function"?uniqueSel(x):"",y=typeof getNearbyContext=="function"?getNearbyContext(x):{nearbyHeading:""};h.push({selector:S,attribute:"role",currentValue:x.getAttribute("role")||x.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${x.tagName.toLowerCase()} | heading: ${y.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(x.outerHTML||"").slice(0,300)});});return h},Ih={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(dI)}};var fI=()=>{let d=[],h=E=>typeof parseCssColor=="function"?parseCssColor(E):null,g=(E,v,T)=>typeof relLuminance=="function"?relLuminance(E,v,T):0,w=(E,v)=>typeof contrastRatio=="function"?contrastRatio(E,v):1;function D(E){let v=document.documentElement,T=E.parentElement,P=0;for(;T&&T!==v&&P<6;){let J=getComputedStyle(T).backgroundColor||"",ee=h(J);if(ee&&ee[3]>.5)return [ee[0],ee[1],ee[2]];T=T.parentElement,P++;}let V=document.body;if(T&&T!==v&&V&&V.contains(T)){let J=h(getComputedStyle(V).backgroundColor||"");if(J&&J[3]>.5)return [J[0],J[1],J[2]]}let j=h(getComputedStyle(v).backgroundColor||""),G=j?Math.min(j[3],1):0;return !j||G<=0?[255,255,255]:[Math.round(j[0]*G+255*(1-G)),Math.round(j[1]*G+255*(1-G)),Math.round(j[2]*G+255*(1-G))]}function x(E,v,T){return "#"+[E,v,T].map(P=>{let V=Math.max(0,Math.min(255,Math.round(P))).toString(16);return V.length===1?"0"+V:V}).join("")}function k(E,v,T){let P=g(v[0],v[1],v[2])>.5;return L(E,v,T,P)||L(E,v,T,!P)}function L(E,v,T,P){let V=0,j=1,G=null;for(let J=0;J<20;J++){let ee=(V+j)/2,ae=P?[E[0]*(1-ee),E[1]*(1-ee),E[2]*(1-ee)]:[E[0]+(255-E[0])*ee,E[1]+(255-E[1])*ee,E[2]+(255-E[2])*ee],Q=[Math.round(ae[0]),Math.round(ae[1]),Math.round(ae[2])];w(Q,v)>=T?(G=Q,j=ee):V=ee;}return G}let S=(E,v)=>{let T=Math.max(0,Math.min(1,E[3]));return [E[0]*T+v[0]*(1-T),E[1]*T+v[1]*(1-T),E[2]*T+v[2]*(1-T)]};function y(E,v){let T=E.boxShadow||"";if(!T||T==="none")return null;let P=[],V=0,j="";for(let J of T)J==="("&&V++,J===")"&&V--,J===","&&V===0?(P.push(j),j=""):j+=J;j&&P.push(j);let G=null;for(let J of P){let ee=J.match(/rgba?\([^)]*\)/),ae=ee?h(ee[0]):null;if(!ae||ae[3]<=0||(J.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(ue=>parseFloat(ue)).filter(ue=>Number.isFinite(ue))[3]??0)<=0)continue;let we=w(S(ae,v),v);(G===null||we>G)&&(G=we);}return G}function _(E){let v=getComputedStyle(E),T=D(E),P=null,V=parseFloat(v.borderTopWidth||"0"),j=(v.borderTopStyle||"").toLowerCase(),G=h(v.borderTopColor||"");V>0&&j!=="none"&&j!=="hidden"&&G&&G[3]>0&&(P=w(S(G,T),T));let J=h(v.backgroundColor||"");if(J&&J[3]>0){let ae=w(S(J,T),T);(P===null||ae>P)&&(P=ae);}let ee=y(v,T);return ee!==null&&(P===null||ee>P)&&(P=ee),P}function I(E){let v=E.getBoundingClientRect();if(v.width*v.height<=0)return null;let T='input, select, textarea, button, [role="button"], svg, img, i, label',P=E.parentElement,V=null;for(let j=0;P&&j<3&&!(P===document.body||P===document.documentElement);j++,P=P.parentElement){let G=P.getBoundingClientRect();if(G.width*G.height>4*v.width*v.height+1||G.height>Math.max(2.5*v.height,v.height+40))break;let J=false,ee=document.createTreeWalker(P,4),ae=ee.nextNode();for(;ae;){if((ae.textContent||"").trim()&&ae.parentElement&&!ae.parentElement.closest(T)&&isVisible(ae.parentElement)){J=true;break}ae=ee.nextNode();}if(J)break;let Q=_(P);Q!==null&&Q>1.01&&(V===null||Q>V)&&(V=Q);}return V}let C=E=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((E.tagName||"").toLowerCase())||(getComputedStyle(E).backgroundImage||"none")!=="none",F=(E,v)=>{let T=Math.min(E.right,v.right)-Math.max(E.left,v.left),P=Math.min(E.bottom,v.bottom)-Math.max(E.top,v.top);return T>0&&P>0&&T*P/(E.width*E.height)>=.5},O=null;function M(E){let v=E.getBoundingClientRect();if(v.width*v.height<=0)return false;let T=v.left+v.width/2,P=v.top+v.height/2;if(T>=0&&P>=0&&T<window.innerWidth&&P<window.innerHeight&&typeof document.elementsFromPoint=="function"){let j=document.elementsFromPoint(T,P),G=j.indexOf(E);if(G>=0){for(let J of j.slice(G+1)){if(C(J))return true;let ee=h(getComputedStyle(J).backgroundColor||"");if(ee&&ee[3]>.5)return false}return false}}for(let j=E.parentElement,G=0;j&&G<8;j=j.parentElement,G++){let J=getComputedStyle(j);if((J.backgroundImage||"none")!=="none")return true;let ee=h(J.backgroundColor||"");if(ee&&ee[3]>.5||j===document.documentElement)break}O||(O=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let j of O)if(!(j===E||E.contains(j)||j.contains(E))&&F(v,j.getBoundingClientRect())&&isVisible(j))return true;let V=E.offsetParent||E.parentElement;if(V&&V!==document.body&&V!==document.documentElement){let j=V.getElementsByTagName("*");for(let G=0;G<j.length&&G<400;G++){let J=j[G];if(!(J===E||E.contains(J)||J.contains(E))&&F(v,J.getBoundingClientRect())&&(getComputedStyle(J).backgroundImage||"none")!=="none"&&isVisible(J))return true}}return false}function B(E){for(let V=E.parentElement;V&&V.nodeType===1;V=V.parentElement)if(parseFloat(getComputedStyle(V).opacity||"1")<1)return false;let v=V=>{if(V.tagName.toLowerCase()!=="svg"){let J=h(getComputedStyle(V).color||"");return J&&J[3]>0?[J]:null}let j=[],G=Array.from(V.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let J of G){let ee=J.getBoundingClientRect();if(ee.width===0&&ee.height===0)continue;let ae=getComputedStyle(J);if(ae.display==="none"||ae.visibility==="hidden"||parseFloat(ae.opacity||"1")<1)return null;for(let[Q,ce]of [[ae.fill,ae.fillOpacity],[ae.stroke,parseFloat(ae.strokeWidth||"0")>0?ae.strokeOpacity:"0"]]){let we=String(Q||"");if(!we||we==="none"||parseFloat(String(ce??"1"))===0)continue;if(we.startsWith("url"))return null;let ue=h(we);if(!ue)return null;ue[3]*=parseFloat(String(ce??"1")),ue[3]>0&&j.push(ue);}}return j.length?j:null},T=[];for(let V=0;V<=255;V+=17)T.push(V);let P=Array.from(E.querySelectorAll('svg, i[class], [class*="icon"]'));for(let V of P){let j=V.getBoundingClientRect();if(j.width*j.height===0)continue;let G=getComputedStyle(V);if(G.display==="none"||G.visibility==="hidden")continue;let J=v(V);if(!J)continue;let ee=null,ae=1,Q=true;for(let ue=V;ue;ue=ue===E?null:ue.parentElement){let Ae=getComputedStyle(ue),Oe=parseFloat(Ae.opacity||"1");if(!ee){let Ne=h(Ae.backgroundColor||""),Fe=String(Ae.backgroundClip||"border-box").toLowerCase();if(!(String(Ae.backgroundImage||"none")==="none")){Q=false;break}if(Ne&&Ne[3]>=1&&Fe==="border-box")ee=[Ne[0],Ne[1],Ne[2]];else if(Oe<1){Q=false;break}}ee&&(ae*=Oe);}if(!ee||!Q)continue;let ce=ee,we=1/0;for(let ue of J){let Ae=S(ue,ce);for(let Oe of T)for(let Ne of T)for(let Fe of T){let ke=[Oe,Ne,Fe],Ot=S([Ae[0],Ae[1],Ae[2],ae],ke),$t=S([ce[0],ce[1],ce[2],ae],ke),Ke=w(Ot,$t);Ke<we&&(we=Ke);}}if(we>=3)return true}return false}let H="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 Y(E){let v=E.tagName.toLowerCase(),T=v==="input"||v==="select"||v==="textarea"?v+" field":v;d.push({selector:uniqueSel(E),message:"non-text contrast: "+T+" over an image backdrop \u2014 "+H,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:v+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:H,outerHtml:E.outerHTML.slice(0,200)});}let Z=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let E of Z){if(d.length>=30)break;if(isWidget(E)||isHiddenFromAT(E)||!isVisible(E))continue;let v=getComputedStyle(E),T=D(E),P=h(v.backgroundColor||""),V=h(v.borderTopColor||""),j=parseFloat(v.borderTopWidth||"0"),G=(v.borderTopStyle||"").toLowerCase(),J=j>0&&G!=="none"&&G!=="hidden",ee=E.tagName.toLowerCase(),ae=ee==="input"||ee==="select"||ee==="textarea",Q=null;if(ee==="input"){let De=(E.type||"").toLowerCase(),Or=(v.appearance||v.webkitAppearance||"").toLowerCase();if(De==="checkbox"||De==="radio"){let cr=Or==="none"?"":String(v.accentColor||"").trim().toLowerCase(),dr=cr&&cr!=="auto"?h(cr):null;if(dr&&dr[3]>.5)Q=w([dr[0],dr[1],dr[2]],T);else if(Or&&Or!=="none")continue}}let ce=J&&V&&V[3]>.5?w([V[0],V[1],V[2]],T):null,we=P&&P[3]>.5?w([P[0],P[1],P[2]],T):Q,ue=y(v,T),Ae=ce===null&&we===null&&ue===null?null:Math.max(ce??0,we??0,ue??0);if(ae&&M(E)){Y(E);continue}if(ae&&(Ae===null||Ae<3)){let De=I(E);if(De!==null&&De>=3)continue}let Oe=null,Ne=false,Fe="";if(ae)Ae!==null?(Oe=Ae,Ae<3&&(Ne=true)):(Ne=true,Oe=1);else {let De=false,Or=document.createTreeWalker(E,4),cr=Or.nextNode();for(;cr;){if((cr.textContent||"").trim()&&cr.parentElement&&isVisible(cr.parentElement)){De=true;break}cr=Or.nextNode();}if(De)continue;let dr=M(E);{let de=["Top","Right","Bottom","Left"].map(qe=>({w:parseFloat(v["border"+qe+"Width"]||"0"),s:String(v["border"+qe+"Style"]||"").toLowerCase(),c:h(v["border"+qe+"Color"]||"")})),ve=de.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]>.5),Ge=de.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]===0),tt=true;for(let qe=E.parentElement;qe&&qe.nodeType===1;qe=qe.parentElement)if(parseFloat(getComputedStyle(qe).opacity||"1")<1){tt=false;break}let ot=Math.max(0,Math.min(1,parseFloat(v.opacity||"1"))),pt=String(v.backgroundClip||"border-box").toLowerCase(),Je=!!P&&P[3]>=1&&ot>=1&&pt==="border-box";if(ve.length&&Ge.length&&tt&&(!dr||Je)){let qe=P&&P[3]>0?S(P,T):T,Xt=S([qe[0],qe[1],qe[2],ot],T),Yt=Nr=>{let aa=S(Nr,qe);return S([aa[0],aa[1],aa[2],ot],T)};if(ve.some(Nr=>w(Yt(Nr.c),Xt)>=3))continue}}if(dr){if(B(E))continue;Y(E);continue}let na=Array.from(E.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),zt=new Map,ai=de=>{let ve=de.getBoundingClientRect();if(ve.width*ve.height===0)return "absent";let Ge=parseFloat(getComputedStyle(E).opacity||"1");for(let tt=de;tt&&tt!==E;tt=tt.parentElement){let ot=getComputedStyle(tt);if(ot.display==="none")return "absent";if(ot.visibility==="hidden"||parseFloat(ot.opacity||"1")===0)return "hidden-at-rest";Ge*=parseFloat(ot.opacity||"1");}return zt.set(de,Ge),"painted"},ii=na.map(ai),it=na.filter((de,ve)=>ii[ve]==="painted"),Mr=it.length>0,fn=!Mr&&ii.includes("hidden-at-rest"),fe=de=>{let ve=(de.tagName||"").toLowerCase();if(ve==="img"||ve==="picture"||ve==="canvas"||ve==="svg"&&de.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Ge=[];if(ve==="svg"){let ot=de.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let pt of [ot,de]){if(!pt)continue;let Je=getComputedStyle(pt),qe=1;for(let Yt=pt;Yt&&Yt!==de;Yt=Yt.parentElement||Yt.parentNode)qe*=parseFloat(getComputedStyle(Yt).opacity||"1");let Xt=Yt=>Number.isFinite(parseFloat(Yt))?parseFloat(Yt):1;if(Je.fill&&Je.fill!=="none"&&!Je.fill.startsWith("url")&&Ge.push({color:Je.fill,alpha:qe*Xt(Je.fillOpacity)}),Je.stroke&&Je.stroke!=="none"&&!Je.stroke.startsWith("url")&&parseFloat(Je.strokeWidth||"0")>0&&Ge.push({color:Je.stroke,alpha:qe*Xt(Je.strokeOpacity)}),Ge.length)break}}else ((de.textContent||"").trim()||getComputedStyle(de,"::before").content!=="none")&&Ge.push({color:getComputedStyle(de).color,alpha:1});let tt=null;for(let ot of Ge){let pt=h(ot.color);if(!pt)continue;let Je=pt[3]*ot.alpha*(zt.get(de)??1),qe=[pt[0]*Je+T[0]*(1-Je),pt[1]*Je+T[1]*(1-Je),pt[2]*Je+T[2]*(1-Je)],Xt=w(qe,T);(tt===null||Xt>tt)&&(tt=Xt);}return tt};if(Mr&&it.map(fe).some(ve=>ve!==null&&ve>=3))continue;let re=false,oe=v.position;if((oe==="absolute"||oe==="fixed")&&E.parentElement){let de=E.getBoundingClientRect(),ve=E.parentElement.getBoundingClientRect(),Ge=ve.width*ve.height;Ge>0&&de.width*de.height/Ge>=.85&&(re=true);}if(Mr||re||fn){if(Ne=true,Oe=J&&V&&V[3]>.5?w([V[0],V[1],V[2]],T):1,Oe>=3)continue;Fe=Mr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":fn?"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 Ae!==null?(Oe=Ae,Ae<3&&(Ne=true)):(Ne=true,Oe=1);}if(!Ne)continue;let ke=V&&V[3]>.5?[V[0],V[1],V[2]]:P&&P[3]>.5?[P[0],P[1],P[2]]:[128,128,128],Ot=k(ke,T,3);if(!Ot)continue;let $t=x(Ot[0],Ot[1],Ot[2]),Ke=x(T[0],T[1],T[2]),Mt="border: 1px solid "+$t+" !important;",ni=uniqueSel(E),Pr=E.tagName.toLowerCase(),jt=Ae===null&&!J?"invisible (no border, no fill: 1.00:1)":Oe?Oe.toFixed(2)+":1":"not measurable",Rt=Pr==="input"||Pr==="select"||Pr==="textarea"?Pr+" field":Pr,Wr=Fe?"non-text contrast: "+Rt+" boundary is "+jt+" against "+Ke+" (needs 3:1) \u2014 "+Fe:"non-text contrast: "+Rt+" boundary (border and fill) is "+jt+" against "+Ke+", needs 3:1 \u2014 e.g. border-color "+$t;d.push({selector:ni,message:Wr,attribute:"style",currentValue:Oe?Oe.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Pr+" bg="+Ke+" ratio="+(Oe?Oe.toFixed(2):"?")+" needs=3",needsAI:false,...Fe?{needsReview:true,reviewReason:Fe}:{fixValue:Mt},outerHtml:E.outerHTML.slice(0,200)});}return d},Lh={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(fI)}};var pI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let w of Array.from(p)){if(h.length>=20)break;if(w.closest(f))continue;let D=w.getAttribute("onfocus")||"";if(!D||!g.test(D))continue;let x=typeof uniqueSel=="function"?uniqueSel(w):"",k=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},L=[];L.push("tag: "+w.tagName.toLowerCase()),L.push("onfocus: "+D.slice(0,100)),k.nearbyHeading&&L.push("heading: "+k.nearbyHeading),L.push("parent: "+k.parentTag),h.push({selector:x,attribute:"onfocus",currentValue:D.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:L.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return h},Ph={name:"onFocus",cap:20,async detect(f){return f.evaluate(pI)}};var mI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],h=['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"]'],g=false;for(let y of h){let _=document.querySelector(y);if(_&&!_.closest(f)){g=true;break}}if(!g){let y=document.querySelectorAll('a[href^="#"]');for(let _ of y){if(_.closest(f))continue;let I=(_.textContent||"").toLowerCase();if(I.includes("skip")&&(I.includes("main")||I.includes("content")||I.includes("nav"))){g=true;break}}}if(!g){let y=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let _ of Array.from(y)){if(_.closest(f))continue;let I=(_.getAttribute("value")||_.textContent||"").trim().toLowerCase();if(I.includes("skip")&&(I.includes("main")||I.includes("content")||I.includes("nav"))){g=true;break}}}if(!g){let y=document.body?document.body.firstElementChild:null;if(y&&y.matches('main, [role="main"], div#main')){let _=getComputedStyle(y),I=y.getBoundingClientRect();_.display!=="none"&&_.visibility!=="hidden"&&!y.closest('[hidden], [aria-hidden="true"]')&&I.width>0&&I.height>0&&(g=true);}}if(!g){let y=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let _ of y){let I=getComputedStyle(_);if(I.display==="none"||I.visibility==="hidden"||_.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(_.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(F=>{let O=getComputedStyle(F);return O.display!=="none"&&O.visibility!=="hidden"&&!F.closest('[hidden], [aria-hidden="true"]')})){g=true;break}}}if(!g&&document.querySelector("nav")){let y=document.querySelectorAll("a, button");for(let _ of Array.from(y)){if(_.closest(f))continue;let I=(_.textContent||"").trim().toLowerCase();if((I.includes("toggle")||I.includes("hide")||I.includes("collapse")||I.includes("show"))&&I.includes("content")){g=true;break}}}if(g||Array.from(document.querySelectorAll('main, [role="main"]')).filter(y=>{let _=getComputedStyle(y);if(_.display==="none"||_.visibility==="hidden"||y.closest('[hidden], [aria-hidden="true"]'))return false;let I=y.getBoundingClientRect();return I.width>0&&I.height>0}).length===1)return d;let w="",D=document.querySelector('main[id], [role="main"][id]');if(D&&D.getAttribute("id"))w=D.getAttribute("id");else {let y=document.querySelector("h1[id]");if(y&&y.getAttribute("id"))w=y.getAttribute("id");else {let _=["main-content","maincontent","main","content","skip-content"];for(let I of _)if(document.getElementById(I)){w=I;break}}}let x=w==="",k=w||"main-content",S="<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="#'+k+'" class="wa-skip-link">Skip to main content</a>';return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:x?'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 #"+k,needsAI:false,fixValue:S,...x?{manualFix:true}:{}}),d},Oh={name:"skipLink",async detect(f){return f.evaluate(mI)}};var hI=()=>{let h=[],g=document.querySelectorAll("*"),p=0;for(let w of Array.from(g)){if(p++>5e3||h.length>=20)break;if(w.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(w))continue;let x=getComputedStyle(w).backgroundImage||"";if(!x||x==="none"||!x.includes("url("))continue;let k=x.match(/url\((['"]?)(.*?)\1\)/);if(!k)continue;let L=k[2];if(!L||L.startsWith("data:")&&L.length<256)continue;let S=w.getBoundingClientRect();if(S.width<32||S.height<32)continue;let y=w.tagName.toLowerCase(),_=w.getAttribute("role")||"",I=y==="a"||y==="button"||_==="button"||_==="link"||w.closest("a,button,[role=button],[role=link]")!==null,C=(w.textContent||"").trim().length>0,F=!!w.getAttribute("aria-label"),O=!!w.getAttribute("aria-labelledby"),M=!!w.getAttribute("title"),B=!!w.querySelector('img[alt]:not([alt=""])');if(w.closest('[aria-hidden="true"]')){let v=w.closest("a[href]");if(!!v&&Array.from(document.querySelectorAll("a[href]")).some(P=>P!==v&&P.href===v.href&&!P.closest('[aria-hidden="true"]')))continue}if(F||O||M||B||C||!I)continue;let H=w.closest("a,button,[role=button],[role=link]");if(H&&H!==w){let v=(H.textContent||"").trim(),T=H.getAttribute("aria-label")||H.getAttribute("title")||"",P=H.getAttribute("aria-labelledby"),V=!!H.querySelector('img[alt]:not([alt=""])');if(v||T.trim()||P||V)continue}let Y=L;try{Y=new URL(L,location.href).toString();}catch{continue}let Z=typeof uniqueSel=="function"?uniqueSel(w):"",E=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:y,nearbyHeading:""};h.push({selector:Z,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${Y.slice(0,140)} | tag: ${y} | role: ${_||"(none)"} | parent: ${E.parentTag}${E.nearbyHeading?" | heading: "+E.nearbyHeading:""}`,needsAI:true,imageSrc:Y,outerHtml:(w.outerHTML||"").slice(0,300)});}return h},Mh={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(hI)}};var gI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[];return document.querySelectorAll("svg").forEach(p=>{if(h.length>=50||p.closest(f)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let D=p.getAttribute("role");if(D==="presentation"||D==="none"||p.closest('[aria-hidden="true"]'))return;let x=p.getAttribute("aria-label")||"",k=p.getAttribute("aria-labelledby")||"",L=p.querySelector("title"),S=L?(L.textContent||"").trim():"";if(x.trim()||k.trim()||S)return;let y=p.getBoundingClientRect(),_=y.width<=16&&y.height<=16;if(y.width<=4||y.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let I=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(I){if(I.getAttribute("aria-label")?.trim()||I.getAttribute("aria-labelledby")?.trim())return;let T=getAccessibleName(I),P=I.cloneNode(true);P.querySelectorAll("svg").forEach(j=>j.remove());let V=(P.textContent||"").trim().replace(/\s+/g," ");if(T&&V.length>0)return}else {if(_)return;let T=p.parentElement;if(T&&(T.textContent||"").trim().replace(/\s+/g," ").length>3)return}let C=uniqueSel(p),F=getNearbyContext(I||p),O=I&&I.getAttribute("href")||"",M=(I||p).outerHTML.slice(0,300),B=p.getAttribute("class")||"",H=p.getAttribute("data-icon")||"",Y=I||p,Z=Y&&Y!==p&&Y.getAttribute("class")||"",E=typeof lookupIconLabel=="function"?lookupIconLabel(String(B),H,"")||lookupIconLabel(String(Z),"",""):null,v=I?uniqueSel(I):C;h.push({selector:v,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(I||p).tagName?(I||p).tagName.toLowerCase():"svg",href:O,nearbyHeading:F.nearbyHeading,parentRole:F.parentRole,svgClasses:B,iconLib:E||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!E,fixValue:E||void 0,outerHtml:M});}),h},Nh={name:"svgNames",cap:50,async detect(f){return f.evaluate(gI)}};var vI=()=>{let f={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},d=1e-9,h=Object.keys(f),g=30,p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},D=E=>{let v=[];for(let T of E.split(";")){let P=T.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!P)continue;let V=P[1].toLowerCase();if(!h.includes(V))continue;let j=P[2],G=/!\s*important\s*$/i.test(j);j=j.replace(/!\s*important\s*$/i,"").trim(),j&&(V!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(j)&&parseFloat(j)!==0||v.push({prop:V,value:j,important:G}));}return v},x=(E,v,T,P)=>{let V=v.trim().toLowerCase();if(/^normal$|^initial$/.test(V))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(V))return {kind:"notBlocked"};if(V.startsWith("var(")||V.startsWith("calc(")||V.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(V)){let ae=parseFloat(V);return E==="line-height"?{kind:"ratio",factor:ae}:{kind:"ratio",factor:0}}let j=V.endsWith("%")&&/\d/.test(V),G=j?V.slice(0,-1).trim().match(/^([\d.]+)$/):V.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!G)return {kind:"undetermined"};let J=parseFloat(G[1]);if(j||V.endsWith("em")){let ae=P??T;return ae&&T&&isFinite(ae)&&isFinite(T)&&ae>0&&T>0?j?{kind:"ratio",factor:J/100*(ae/T)}:{kind:"ratio",factor:J*(ae/T)}:j?{kind:"ratio",factor:J/100}:{kind:"ratio",factor:J}}let ee=V.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(ee==="px"||ee&&w[ee]){let ae=ee==="px"?J:J*(w[ee]||0);return T===null||!isFinite(T)||T<=0?{kind:"undetermined"}:{kind:"ratio",factor:ae/T}}return {kind:"undetermined"}},k=(E,v,T)=>{let P=E;for(;P;){let V=v.get(P);if(V){let j=V.filter(G=>G.prop===T);if(j.length){let G=j.filter(ee=>ee.important);return {decl:G.length?G[G.length-1]:j[j.length-1],from:P}}}P=P.parentElement;}return null},L=E=>{let v=E;for(;v;){let T=v.style;if(T&&(T.display==="none"||T.visibility==="hidden")||T&&(T.position==="absolute"||T.position==="fixed")&&(S(T.top)||S(T.left)))return false;if(T&&(T.overflowX==="scroll"||T.overflowX==="auto")){for(let P=E;P!==v;P=P.parentElement)if(P.style&&y(P.style.width)>=900)return false}v=v.parentElement;}return true},S=E=>{if(!E)return false;let v=E.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!v)return false;let T=parseFloat(v[2]),P=v[3].toLowerCase();return P==="px"?T>=100:P==="em"||P==="rem"?T>=4:T>=10},y=E=>{let v=E?E.match(/^([\d.]+)px$/):null;return v?parseFloat(v[1]):0},_=[],I=[],C=new Map,F=typeof getComputedStyle=="function"?getComputedStyle:null,O=E=>{try{let v=F?F(E).fontSize:"",T=v?v.match(/^([\d.]+)px$/):null;return T?parseFloat(T[1]):null}catch{return null}},M=new Map,B=Array.from(document.querySelectorAll('[style*="important" i]'));for(let E of B)E.closest(p)||M.set(E,D(E.getAttribute("style")||""));for(let E of document.querySelectorAll("body [style]"))E.closest(p)||M.has(E)||M.set(E,D(E.getAttribute("style")||""));let H=[],Y=document.createTreeWalker(document.body,1),Z=Y.currentNode;for(;Z;)Array.from(Z.childNodes).some(v=>v.nodeType===3&&/\S/.test(v.textContent||""))&&!Z.closest(p)&&H.push(Z),Z=Y.nextNode();for(let E of H){if(_.length>=g)break;if(L(E))for(let v of h){let T=k(E,M,v);if(!T||!T.decl.important)continue;let P=O(E),V=T.from===E?P:O(T.from)??P,j=x(v,T.decl.value,P,V);if(!(j.kind==="undetermined"||j.kind==="narrow"||j.kind==="ratio"&&j.factor+d<f[v]))continue;let J=C.get(T.from);J||(J=[],C.set(T.from,J),I.push({from:T.from,props:J})),J.includes(v)||J.push(v);}}for(let{from:E,props:v}of I){if(_.length>=g)break;let T=typeof uniqueSel=="function"?uniqueSel(E):"",P=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:E.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},V=[];V.push("blocked: "+v.join(",")),V.push("tag: "+E.tagName.toLowerCase()),P.nearbyHeading&&V.push("heading: "+P.nearbyHeading),V.push("parent: "+P.parentTag),_.push({selector:T,attribute:"style",currentValue:(E.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:V.join(" | "),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}return _},qh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(vI)}};var bI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of g){if(h.length>=50)break;if(p.closest(f)||!isVisible(p))continue;let w=p,D=w.tagName==="INPUT"?(w.getAttribute("type")||"").toLowerCase():"";if(D==="submit"||D==="reset")continue;let x=(w.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((x==="none"||x==="presentation")&&w.disabled===true)continue;let k=(w.getAttribute("aria-label")||"").trim(),L=w.getAttribute("aria-labelledby"),S=(w.getAttribute("title")||"").trim(),y=(w.getAttribute("value")||"").trim(),_=(w.textContent||"").trim().replace(/\s+/g," "),I="";L&&(I=typeof __resolveIdRefs=="function"?__resolveIdRefs(L):"");let C=w.querySelector('img[alt]:not([alt=""])'),F=w.querySelector("svg title"),O=w.querySelector("svg[aria-label]");if(!!(k||I||S||y||_||C||F||O))continue;let B=uniqueSel(w),H=getNearbyContext(w),Y=w.closest("form"),Z=Y&&(Y.getAttribute("id")||Y.getAttribute("name"))||"",E=w.getAttribute("class")||"",v=w.querySelector('i, svg, span[class*="icon"]'),T=v&&v.getAttribute("class")||"",P=v&&v.getAttribute("data-icon")||"",V=v?(v.textContent||"").trim():"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(T),P,V):null,G=!j&&typeof lookupIconLabel=="function"?lookupIconLabel(String(E),"",""):null,J=j||G,ee=[];Z&&ee.push("form: "+Z),H.nearbyHeading&&ee.push("heading: "+H.nearbyHeading),T&&ee.push("icon: "+String(T).slice(0,80)),E&&ee.push("class: "+String(E).slice(0,80)),ee.push("parent: "+H.parentTag),J&&ee.push("icon-lib: "+J),h.push({selector:B,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ee.join(" | "),needsAI:!J,fixValue:J||void 0,outerHtml:w.outerHTML.slice(0,300)});}return h},Bh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(bI)}};var yI=()=>{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"]),h={};function g(E){if(isWidget(E)||!isVisible(E))return;let v=getAccessibleName(E);if(!v)return;let T=v.toLowerCase().trim();h[T]=(h[T]||0)+1;}document.querySelectorAll("a[href]").forEach(E=>g(E));let p=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),w=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function D(E){let v=E.toLowerCase();return p.has(v)||w.some(T=>v.startsWith(T))}let x=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function k(E,v){return x.test(E)?1:v}let L=50,S=[];function y(E){if((E.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let T=E.querySelectorAll("i, span, em");for(let P of T)if((typeof P.className=="string"?P.className:"").split(/\s+/).some(D))return true;return false}function _(E){let v=E.className||"";return typeof v!="string"?false:v.split(/\s+/).some(D)}function I(E){if(S.length>=L||isWidget(E)||!isVisible(E))return;let v=getAccessibleName(E);if(!v)return;let T=v.toLowerCase().trim(),P=false,V=v.length>=2&&/^[A-Z][A-Z0-9]+$/.test(v.trim()),j=/^[[(]?\d{1,4}[\])]?$/.test(v.trim());if(v.length<k(v,3)&&!V&&!j)P=true;else if(f.has(T))P=true;else if(d.has(T)&&(h[T]||0)>=2){let Q=(E.getAttribute("aria-label")||"").trim().toLowerCase(),ce=!!E.getAttribute("aria-labelledby")||!!Q&&Q!==T,we=E.querySelector&&E.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),ue=we?(we.textContent||"").trim().toLowerCase():"";!ce&&!(we&&ue!==T)&&(P=true);}else (y(E)||_(E)&&v.length===0)&&(E.getAttribute("aria-label")||E.getAttribute("aria-labelledby")||E.querySelector&&E.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(P=true));if(!P)return;let G=getNearbyContext(E),J=uniqueSel(E),ee=E.getAttribute("href")||"",ae=E.outerHTML.slice(0,300);S.push({selector:J,attribute:"aria-label",currentValue:(E.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(E.getAttribute("aria-label")||E.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:ee,nearbyHeading:G.nearbyHeading,parentTag:G.parentTag,parentRole:G.parentRole,cardText:G.cardText||"",imgAlt:G.imgAlt||""}),needsAI:true,outerHtml:ae});}document.querySelectorAll("a[href]").forEach(E=>I(E));let C=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,F=/^(iframe|embed|widget|frame|content|untitled)$/i,O=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 M(E){return !!(!E||E.getAttribute("aria-hidden")==="true"||E.closest('[aria-hidden="true"]'))}function B(E,v,T,P,V,j){if(S.length>=L)return;let G=uniqueSel(E),J=(E.outerHTML||"").slice(0,300);S.push({selector:G,attribute:v,currentValue:T,issueType:P,wcag:V,context:JSON.stringify(j),needsAI:true,outerHtml:J});}let H=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let E=0;E<H.length&&!(S.length>=L);E++){let v=H[E];if(!v||isWidget(v)||M(v)||!isVisible(v))continue;let T=getAccessibleName(v);if(!T)continue;let P=T.toLowerCase().trim(),V=P.split(/\s+/).filter(Boolean),j=()=>{if(!/^\p{L}$/u.test(T))return false;let ee=v.nextElementSibling;if(!ee)return false;let ae=ee.tagName.toLowerCase(),Q=[];if(ae==="dl"?Q=Array.from(ee.querySelectorAll("dt")):ae==="ul"||ae==="ol"?Q=Array.from(ee.children).filter(we=>we.tagName==="LI"):ae==="table"&&(Q=Array.from(ee.querySelectorAll("tbody tr, tr")).map(we=>we.cells&&we.cells[0])),Q=Q.filter(Boolean),Q.length<1)return false;let ce=T.toLowerCase();return Q.every(we=>(we.textContent||"").trim().toLowerCase().startsWith(ce))},G=false;if(T.length<k(T,3)?G=!j():(V.length===1&&(f.has(P)||O.has(P))||/^page\s*\d+$/i.test(P)||/^section\s*\d+$/i.test(P)||/^chapter\s*\d+$/i.test(P)||/^[^\p{L}\p{N}]+$/u.test(T))&&(G=true),!G)continue;let J=getNearbyContext(v);B(v,"textContent",T,"weak_heading","2.4.6",{currentText:T,tag:v.tagName.toLowerCase(),nearbyHeading:J.nearbyHeading,parentTag:J.parentTag,parentRole:J.parentRole});}let Y=document.querySelectorAll("iframe");for(let E=0;E<Y.length&&!(S.length>=L);E++){let v=Y[E];if(!v||isWidget(v)||M(v))continue;let T=getComputedStyle(v);if(v.getClientRects().length===0||T.visibility==="hidden"||T.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let P=(v.getAttribute("title")||"").trim();if(!P)continue;let V=P.toLowerCase(),j=false;if((P.length<k(P,3)||F.test(V)||f.has(V))&&(j=true),!j)continue;let G=(v.getAttribute("src")||"").slice(0,120),J=getNearbyContext(v);B(v,"title",P,"weak_iframe_title","4.1.2",{currentTitle:P,src:G,nearbyHeading:J.nearbyHeading,parentTag:J.parentTag});}if(S.length<L){let E=document.querySelector("head > title, title"),v=(document.title||"").trim();if(E&&v){let T=v.toLowerCase(),P=false;(v.length<k(v,5)||C.test(T)||/^untitled/i.test(v))&&(P=true),P&&S.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:(E.outerHTML||"").slice(0,300)});}}let Z=document.querySelectorAll("svg");for(let E=0;E<Z.length&&!(S.length>=L);E++){let v=Z[E];if(!v||isWidget(v)||M(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||!isVisible(v))continue;let T=v.querySelector("title"),P=T?(T.textContent||"").trim():"",V=(v.getAttribute("aria-label")||"").trim(),j=V||P;if(!j)continue;let G=j.toLowerCase(),J=false;if((j.length<k(j,3)||f.has(G)||/^(icon|svg|image|graphic|logo)$/i.test(j))&&(J=true),!J)continue;let ee=v.closest('a, button, [role="button"], [role="link"]'),ae=getNearbyContext(v);B(v,V?"aria-label":"title",j,"weak_svg_name","1.1.1",{currentName:j,svgClasses:v.getAttribute("class")||"",parentTag:ee?ee.tagName.toLowerCase():ae.parentTag,parentHref:ee&&ee.getAttribute("href")||"",nearbyHeading:ae.nearbyHeading});}return S},Hh={name:"weakNames",cap:50,async detect(f){return f.evaluate(yI)}};var wI=()=>{let d=[],h=document.querySelector('meta[name="viewport"]');if(h){let p=(h.getAttribute("content")||"").trim(),w=p.toLowerCase(),D=false,x=[];(w.indexOf("user-scalable=no")>=0||w.indexOf("user-scalable=0")>=0)&&(D=true,x.push("user-scalable=no blocks pinch-zoom"));let k=["yes","no","device-width","device-height"],L=w.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);L&&k.indexOf(L[1])<0&&(D=true,x.push("user-scalable="+L[1]+" (invalid, parsed as 0)"));let S=w.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);S&&k.indexOf(S[1])<0&&(D=true,x.push("maximum-scale="+S[1]+" (invalid, parsed as 0)"));let y=w.match(/maximum-scale\s*=\s*([\d.]+)/);y&&parseFloat(y[1])<2&&(D=true,x.push("maximum-scale="+y[1]+" (<2)")),D&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+x.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let g=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<g.length&&!(d.length>=5);p++){let w=g[p];if(w.el)try{let x=(getComputedStyle(w.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(x==="none"||x==="pinch-zoom")&&d.push({selector:w.selector,attribute:"style",currentValue:"touch-action: "+x,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+x+" on <"+w.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Vh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(wI)}};var xI=()=>{let d=[],h=document.body?document.body.querySelectorAll("*"):[];for(let g=0;g<h.length&&d.length<10;g++){let p=h[g],w=p.tagName.toLowerCase();if(w==="script"||w==="style"||w==="svg"||w==="textarea"||w==="select")continue;let D="";for(let M=p.firstChild;M;M=M.nextSibling)M.nodeType===3&&(D+=M.nodeValue);if(!D.replace(/\s+/g,"").length)continue;let x=getComputedStyle(p);if(x.display==="none"||x.visibility==="hidden"||x.display==="contents")continue;let k=x.overflowX,L=x.overflowY,S=k==="hidden"||k==="clip",y=L==="hidden"||L==="clip";if(!S&&!y||p.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let _=p.clientWidth,I=p.clientHeight;if(I<=1||_<=1)continue;let C=x.webkitLineClamp||x.getPropertyValue("-webkit-line-clamp");if(C&&C!=="none")continue;let F="";if(y&&p.scrollHeight>I+2?F="height "+I+"px < content "+p.scrollHeight+"px":S&&x.textOverflow!=="ellipsis"&&p.scrollWidth>_+2&&(F="width "+_+"px < content "+p.scrollWidth+"px"),!F){let M=parseFloat(x.fontSize);if(!(M>0))continue;let B=p.style.getPropertyValue("font-size"),H=p.style.getPropertyPriority("font-size");p.style.setProperty("font-size",M*2+"px","important");let Y=p.clientHeight,Z=p.clientWidth;y&&Y>1&&p.scrollHeight>Y+2?F="at 200%: height "+Y+"px < content "+p.scrollHeight+"px":S&&x.textOverflow!=="ellipsis"&&Z>1&&p.scrollWidth>Z+2&&(F="at 200%: width "+Z+"px < content "+p.scrollWidth+"px"),B?p.style.setProperty("font-size",B,H):p.style.removeProperty("font-size");}if(!F)continue;let O=typeof uniqueSel=="function"?uniqueSel(p):w;d.push({selector:O,attribute:"style",currentValue:(p.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+F,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+F+"). 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},$h={name:"textClip",cap:10,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),h=new Set,g=Math.min(d.length,200);for(let p=0;p<g;p++){let w=d[p];if(h.has(w)||!w.offsetParent)continue;h.add(w);let D=getComputedStyle(w),x=parseInt(D.order||"0",10),k=D.position;if(x>=3){let L=w.getBoundingClientRect();if(L.width>0&&L.height>0){let S=(w.textContent?.trim().length||0)>10,y=!!w.querySelector("a, button, input, select, textarea");(S||y)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${x}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${x} \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(k==="absolute"){if(!!!w.querySelector("a, button, input, select, textarea"))continue;let S=w.parentElement;if(!S||S.children.length<=2)continue;let y=w.getBoundingClientRect(),_=S.getBoundingClientRect();(y.top<_.top-100||y.left<_.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${k}, displaced ${Math.round(Math.abs(y.top-_.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(DI)}};var zh={name:"sensoryCharacteristics",async detect(f){let{instructionalTexts:d,controlLabels:h,navCount:g,labelTexts:p}=await f.evaluate(()=>{let x=[],k=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),L=Math.min(k.length,300),S=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(C=>{let F=((C.textContent||"")+" "+(C.getAttribute("aria-label")||"")+" "+(C.getAttribute("value")||"")).trim().toLowerCase();F&&S.push(F);});let y=C=>!!C.offsetParent||getComputedStyle(C).position==="fixed",_=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(y).length,I=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(C=>{if(!y(C))return;let F=((C.getAttribute("aria-label")||"")+" "+(C.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&C.textContent||"")).trim().toLowerCase();F&&F.length<=60&&I.push(F);});for(let C=0;C<L;C++){let F=k[C];if(!F.offsetParent||F.children.length>3||F.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||F.closest('[aria-hidden="true"]'))continue;let O=F.textContent?.trim()||"";O.length<15||O.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(O)&&x.push({text:O,selector:typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase()});}return {instructionalTexts:x.slice(0,20),controlLabels:S,navCount:_,labelTexts:I}});if(d.length===0)return [];let w=[],D=x=>{let k=(x.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return k?g===1?true:p.some(L=>L.indexOf(k)!==-1):false};for(let{text:x,selector:k}of d){x.toLowerCase();let S=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(x)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(x),y=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(x)||D(x),_=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(x)&&!y&&/\b(click|tap|press|select|find)\b/i.test(x),I=/\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(x)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(x),C=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(x)&&/\b(click|tap|press|select|find)\b/i.test(x),F=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(x),O=(x.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],M=!!O&&h.some(B=>B.indexOf(O.toLowerCase())!==-1);if(!(F||M)&&(S||_||I||C)){let B=S?"shape":_?"position":I?"color":"size";w.push({selector:k,attribute:"data-sensory-review",currentValue:x.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${B} alone: "${x.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return w}};var AI=()=>{let f=[],d=document.querySelectorAll("img");for(let h of d){if(!h.offsetParent||h.width<50||h.height<20||h.complete&&h.naturalWidth===0)continue;let g=h.src||h.getAttribute("data-src")||"",p=g.indexOf(","),w=(g.toLowerCase().startsWith("data:")&&p!==-1?g.slice(0,p):g).toLowerCase(),D=h.getAttribute("alt")||"",x=h.getAttribute("role")||"";if(h.getAttribute("aria-hidden")==="true"||!!h.closest('[aria-hidden="true"]')||x==="presentation"||x==="none"||h.hasAttribute("alt")&&D.trim()==="")continue;let L=h.width>200&&h.height<80&&h.height>15,S=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(w);if(!(S||L)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(w)&&!S)continue;let _=h.closest("a[href]"),I=(()=>{if(!_)return false;let Z=_.getAttribute("href")||"";if(Z==="/"||Z==="")return true;try{let E=new URL(_.href,location.href);return E.origin!==location.origin?!1:!!(E.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(E.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(E.pathname))}catch{return false}})();if(I&&(_.textContent||"").trim().length===0)continue;let F="";if(_&&!I&&(_.textContent||"").trim().length===0)try{let Z=new URL(_.href,location.href),E=D.trim().split(/\s+/).filter(Boolean);if(Z.origin!==location.origin&&/^https?:$/.test(Z.protocol)&&E.length>0&&E.length<=4&&D.trim().length<=40){let v=G=>G.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),T=v(D),P=Z.hostname.toLowerCase().split(".").filter(G=>G&&G!=="www"),V=(P.length>1?P.slice(0,-1):P).map(v).filter(Boolean);F=T.length>=3&&(T===v(P.join(""))||T===V.join("")||V.some(G=>T===G||G.length>=5&&T.startsWith(G)))?"exempt":"review";}}catch{}let O=!!h.closest('header, [role="banner"], footer, [role="contentinfo"]'),M=h.height>0&&h.height<=120,B=O&&M,H=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,Y=B||H.test(w)||H.test(h.className)||H.test(h.getAttribute("id")||"");w.includes("icon")||w.includes("avatar")||w.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(h):"img",attribute:"data-image-of-text",currentValue:w.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${h.width}x${h.height}px, alt="${D.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:h.src,...Y||F?{needsReview:true,reviewReason:B?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":F==="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":F==="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},Gh={name:"imagesOfText",async detect(f){return f.evaluate(AI)}};var Uh={name:"reflow",async detect(f){let d=f;if(!d.setViewport)return [];let h=d.viewport?.()??{width:1280,height:720},g=h.width??1280,p=h.height??720;try{return await d.setViewport({width:320,height:p}),await new Promise(D=>setTimeout(D,500)),await f.evaluate(D=>{let x=[],k=document.querySelectorAll("body *"),L=Math.min(k.length,500);for(let S=0;S<L;S++){let y=k[S];if(!y.offsetParent)continue;let _=y.tagName.toLowerCase();if(_==="script"||_==="style"||_==="noscript")continue;let I=y.getBoundingClientRect();I.right>D+5&&I.width>D*1.1&&x.push({selector:typeof uniqueSel=="function"?uniqueSel(y):_,attribute:"style",currentValue:`${Math.round(I.width)}px wide at ${D}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(I.width)}px wide and overflows the ${D}px viewport by ${Math.round(I.right-D)}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>D+10&&x.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${D}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${D}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"}),x},320)}finally{await d.setViewport({width:g,height:p}).catch(()=>{});}}};var _I=()=>{let f=[],d=document.querySelectorAll("video");for(let g of d){if(g.autoplay&&!g.muted&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"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"}),!(g.offsetParent!==null&&getComputedStyle(g).display!=="none"))continue;let w=g.getBoundingClientRect();if(w.width===0&&w.height===0||g.error)continue;let D=/mute|unmute|sound|volume|audio|play|pause/i,x=!!g.parentElement?.querySelector('button, [role="button"]')||!!g.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(g.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let I=g.parentElement?.parentElement||null,C=0;I&&!x&&C<3;I=I.parentElement,C++)x=Array.from(I.querySelectorAll('button, [role="button"]')).some(F=>D.test((F.getAttribute("aria-label")||"")+" "+(F.getAttribute("title")||"")+" "+(F.textContent||"")));if((g.muted||g.hasAttribute("muted"))&&(g.loop||g.hasAttribute("loop"))&&!g.hasAttribute("controls")&&!x)continue;let k=g.querySelectorAll("track"),L=Array.from(k).find(I=>I.kind==="captions"||I.kind==="subtitles"),S=Array.from(k).find(I=>I.kind==="descriptions");g.src||g.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(g):"video";L||f.push({selector:_,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. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),S||f.push({selector:_,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 h=document.querySelectorAll("audio");for(let g of h){let p=typeof uniqueSel=="function"?uniqueSel(g):"audio";g.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}),g.autoplay&&!g.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},Wh={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(_I)).slice(0,50)}};var EI=()=>{let f=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let E=d.getAttribute("content")||"",v=parseInt(E,10);!isNaN(v)&&v>0&&v<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${E.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:E,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 h=document.querySelectorAll("[accesskey]");for(let E of h){let v=E.getAttribute("accesskey")||"";if(v.length===1){let T=typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase();f.push({selector:T,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 g=document.querySelectorAll("select");for(let E of g){let v=E.hasAttribute("onchange"),T=E.getAttribute("onchange")||"";if(v&&/submit|location|href|navigate|window\./i.test(T)){let P=typeof uniqueSel=="function"?uniqueSel(E):"select";f.push({selector:P,attribute:"onchange",currentValue:T.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 E of p)if(!(E.hasAttribute("onclick")||E.hasAttribute("onkeydown")||E.hasAttribute("onkeyup"))){let T=typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase();f.push({selector:T,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 w=document.querySelectorAll("[onmousedown]");for(let E of w){let v=E.hasAttribute("onmouseup"),T=E.tagName.toLowerCase();if(!v&&T!=="a"&&T!=="button"&&T!=="input"){let P=typeof uniqueSel=="function"?uniqueSel(E):T;f.push({selector:P,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 D=/devicemotion|deviceorientation|accelerometer|gyroscope/i,x=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,k=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,L=/(?: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 S(){let E=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let v of Array.from(E)){let T=(v.textContent||"")+" "+(v.getAttribute("aria-label")||"")+" "+(v.getAttribute("value")||"");if(L.test(T))return true}return false}function y(E){return !D.test(E.replace(x,""))||k.test(E)?true:S()}let _=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let E of _){let v=E.textContent||"";if(D.test(v)&&!y(v)){let T=[],P=E;for(;P&&P!==document.body&&P!==document.documentElement;){let G=P.parentElement,J=P.tagName.toLowerCase(),ee=G?Array.from(G.children).filter(Q=>Q.tagName===P.tagName):[],ae=ee.indexOf(P)+1;T.unshift(ae>1||ee.length>1?J+":nth-of-type("+ae+")":J),P=G;}let V=P===document.body?"body":P===document.documentElement?"html":"",j=(V?V+" > ":"")+T.join(" > ");f.push({selector:j||"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 I=document.querySelectorAll("form"),C='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',F=/\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,O=/card|payment/i,M=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,B=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,H=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,Y=/\b(?:save|update|change)\b/i,Z=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let E of I){let v=Array.from(E.querySelectorAll(C)),T=Ke=>[Ke.getAttribute("name"),Ke.getAttribute("id"),Ke.getAttribute("autocomplete"),Ke.getAttribute("placeholder"),Ke.getAttribute("aria-label")].join(" "),P=Array.from(E.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Ke=>Ke.tagName!=="BUTTON"||!Ke.getAttribute("type")||(Ke.getAttribute("type")||"").toLowerCase()==="submit").map(Ke=>(Ke.getAttribute("value")||"")+" "+(Ke.textContent||"")+" "+(Ke.getAttribute("aria-label")||"")).join(" . "),V=v.some(Ke=>F.test(T(Ke)))||Array.from(E.querySelectorAll("iframe")).some(Ke=>O.test((Ke.getAttribute("title")||"")+" "+(Ke.getAttribute("name")||""))),j=v.some(Ke=>/signature/i.test(T(Ke))),G=V||M.test(P),J=B.test(P),ee=j||H.test(P),ae=v.length>0&&v.some(Ke=>(Ke.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(T(Ke)))&&v.every(Ke=>{let Mt=Ke.tagName.toLowerCase()==="input"?(Ke.getAttribute("type")||"text").toLowerCase():Ke.tagName.toLowerCase();return Mt==="email"||Mt==="checkbox"||Mt==="tel"?true:Mt==="text"||Mt==="search"?Z.test(T(Ke)+" "+(Ke.closest("label")?.textContent||"")):false}),Q=(E.textContent||"").toLowerCase(),ce=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Q),we=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Q),ue=/delete.*account|remove.*data|cancel.*account/i.test(Q),Ae=G||J||ee,Oe=ae&&(Y.test(P)||ue),Ne=!Ae&&(!ae&&(ce||we||ue)||Oe);if(!Ae&&!Ne)continue;let Fe=!!E.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),ke=!!E.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(Fe||ke)continue;let Ot=typeof uniqueSel=="function"?uniqueSel(E):"form",$t=Ae?G?"financial":J?"data-deletion":"legal":Oe?ue?"data-deletion":"data-modification":ce?"financial":we?"legal":"data-deletion";f.push({selector:Ot,attribute:"data-error-prevention",currentValue:$t,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${$t.charAt(0).toUpperCase()+$t.slice(1)} form lacks a confirmation/review step. For ${$t} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...Ne?{needsReview:true,reviewReason:Oe&&ue?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Oe?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${$t} topics but its controls show no ${$t} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return f},Xh={name:"timingAndInput",async detect(f){return f.evaluate(EI)}};var CI=()=>{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 w=p.getBoundingClientRect();if(w.top<=window.innerHeight)continue;let D=typeof uniqueSel=="function"?uniqueSel(p):"nav";f.push({selector:D,attribute:"data-nav-position",currentValue:`top: ${Math.round(w.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 h=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let p of h){if(!p.offsetParent)continue;let w=p.getBoundingClientRect();if(w.width<1||w.height<1||!(p.textContent||"").trim()&&!p.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(p).backgroundImage==="none")continue;let D=typeof uniqueSel=="function"?uniqueSel(p):p.tagName.toLowerCase();f.push({selector:D,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 g=document.querySelectorAll('img[src*=".gif"]');for(let p of g){if(!p.offsetParent||p.width<25||p.height<25)continue;let w=p.getBoundingClientRect();if(w.width>100&&w.height>100){let D=typeof uniqueSel=="function"?uniqueSel(p):"img";f.push({selector:D,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},Yh={name:"navigationAndWayfinding",async detect(f){return f.evaluate(CI)}};var Kh={name:"flashDetection",async detect(f){let d=[];if(!f.screenshot)return d;let g=await f.evaluate(()=>{let S=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(S){let y=document.querySelectorAll("*");for(let _ of y)_.style.removeProperty("animation-play-state"),_.style.removeProperty("transition");}return S}),p=8,w=120,D=9,x=3,k=[];for(let L=0;L<p;L++){let S=await f.evaluate(y=>{let _=window.innerWidth,I=window.innerHeight,C=3,F=3,O=[];for(let M=0;M<F;M++)for(let B=0;B<C;B++){let H=Math.floor((B+.5)*(_/C)),Y=Math.floor((M+.5)*(I/F)),Z=document.elementFromPoint(H,Y);if(!Z){O.push(0);continue}let v=getComputedStyle(Z).backgroundColor||"rgba(0,0,0,0)",T=typeof parseCssColor=="function"?parseCssColor(v):null;if(!T){O.push(0);continue}let P=.2126*T[0]+.7152*T[1]+.0722*T[2];O.push(P);}return O},D);k.push(S),L<p-1&&await new Promise(y=>setTimeout(y,w));}g&&await f.evaluate(()=>{let L=document.querySelectorAll("*");for(let S of L)S.style.setProperty("animation-play-state","paused","important"),S.style.setProperty("transition","none","important");});for(let L=0;L<D;L++){let S=0,y=k[0][L],_=null;for(let F=1;F<p;F++){let O=k[F][L];if(Math.abs(O-y)>25){let B=O>y?"up":"down";_&&B!==_&&S++,_=B;}y=O;}let I=p*w/1e3,C=S/I;if(C>=x){let F=L%3,O=Math.floor(L/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${C.toFixed(1)} flashes/sec in region (${F},${O})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${C.toFixed(1)} times/second in screen region (row ${O}, col ${F}). 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 Jh={name:"reducedMotion",async detect(f){let d=[],h=await f.evaluate(()=>{let g=false,p=false;for(let D of document.styleSheets)try{for(let x of D.cssRules){let k=x.cssText||"";/animation|transition|@keyframes/i.test(k)&&!/prefers-reduced-motion/.test(k)&&(g=!0),x instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(x.conditionText||x.media?.mediaText||"")&&(p=!0);}}catch{}let w=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return w.length>0&&(g=true),{hasAnimations:g,hasReducedMotionQuery:p,animatedCount:w.length}});return h.hasAnimations&&!h.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${h.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 SI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,p=v=>v!==null&&!g.test(v.trim()),w=v=>{let T=parseFloat((v||"").trim());return Number.isFinite(T)&&T>0},D=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,x=v=>v.split(/[\s_-]+/).filter(Boolean),k=v=>{if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let T=typeof v.className=="string"?v.className:v.getAttribute("class")||"";return x(T).some(P=>D.test(P))},L=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,S=v=>{let T=v.trim();if(!T.startsWith("{"))return "";let P;try{P=JSON.parse(T);}catch{try{P=JSON.parse(T.replace(/'/g,'"'));}catch{return ""}}if(!P||typeof P!="object")return "";for(let V of Object.keys(P)){if(!L.test(V))continue;let j=P[V];if(j===true||typeof j=="number"&&j>0||typeof j=="string"&&p(j)&&j.trim()!==""||j&&typeof j=="object")return `${V}: ${JSON.stringify(j).slice(0,40)}`}return ""},y=v=>{for(let V of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!v.hasAttribute(V))continue;let j=v.getAttribute(V)||"";if((j.trim()===""||p(j))&&(k(v)||Y(v)>=2))return {attr:V,value:j}}let T=["data-interval","data-bs-interval"].some(V=>v.hasAttribute(V)&&g.test((v.getAttribute(V)||"").trim()));for(let V of ["data-ride","data-bs-ride"])if((v.getAttribute(V)||"").trim().toLowerCase()==="carousel"&&!T)return {attr:V,value:"carousel"};for(let V of ["data-interval","data-bs-interval"]){let j=v.getAttribute(V);if(w(j)&&k(v))return {attr:V,value:j||""}}let P=k(v);for(let V of Array.from(v.attributes)){if(!V.name.startsWith("data-")||!P&&!x(V.name.slice(5)).some(G=>D.test(G)))continue;let j=S(V.value);if(j)return {attr:V.name,value:j}}if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let V=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let j of Array.from(v.attributes)){if(/(^|-)autoplay$/i.test(j.name)&&(j.value.trim()===""||p(j.value)))return {attr:j.name,value:j.value.slice(0,60)};if(/autoplay/i.test(j.value)&&!V.test(j.value))return {attr:j.name,value:j.value.slice(0,60)}}}return null},_=/^(pause|stop|play|playpause|resume)$/i,I=/\b(pause|stop|play|resume)\b/i,C=v=>{let T=[v.getAttribute("aria-label")||"",v.getAttribute("title")||"",v.getAttribute("value")||"",(v.textContent||"").trim().slice(0,80)],P=(v.getAttribute("aria-labelledby")||"").trim();if(P)for(let V of P.split(/\s+/))T.push(document.getElementById(V)?.textContent||"");for(let V of Array.from(v.querySelectorAll("img[alt]")))T.push(V.getAttribute("alt")||"");return T.join(" ")},F=v=>{let T=v.getAttribute("class")||"";return x(T).some(P=>_.test(P))?true:v.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?I.test(C(v)):false},O=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,M=v=>k(v)||y(v)!==null||Array.from(v.querySelectorAll("*")).some(T=>k(T)||y(T)!==null),B=v=>{if(v.querySelector("[aria-pressed]"))return true;let T=[v];for(let j of Array.from(v.parentElement?.children||[]))j===v||O.test(j.tagName)||M(j)||T.push(j);let P=v.getAttribute("id"),V=j=>{let G=[...(j.getAttribute("aria-controls")||"").split(/\s+/),(j.getAttribute("data-bs-target")||j.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return G.length>0&&!G.includes(P||"")};for(let j of T){if(j!==v&&F(j)&&!V(j))return true;for(let G of Array.from(j.querySelectorAll("*")))if(F(G)&&!V(G))return true}if(P){let j=typeof CSS<"u"&&CSS.escape?CSS.escape(P):P.replace(/["\\]/g,"\\$&");for(let G of Array.from(document.querySelectorAll(`[aria-controls~="${j}"], [data-target="#${j}"], [data-bs-target="#${j}"]`)))if(F(G))return true}return false},H=/^(slide|cell)$/i,Y=v=>{let T=G=>x(G.getAttribute("class")||"").some(J=>H.test(J))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(G.getAttribute("class")||""),P=Array.from(v.querySelectorAll("[class]")).filter(T),V=P.filter(G=>!P.some(J=>J!==G&&J.contains(G)));if(!V.length)return 0;let j=V.length;for(let G of V){let J=Array.from(G.parentElement?.children||[]).filter(ee=>ee.tagName===G.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(ee.getAttribute("class")||""));j=Math.max(j,J.length);}return j},Z=new Set,E=(v,T)=>{if(h.length>=10||Z.has(v)||(Z.add(v),v.closest(f))||v.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(v)||Y(v)===1||B(v))return;let P=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();h.push({selector:P,attribute:T.attr,currentValue:T.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${T.attr}="${T.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(h.length>=10)break;if(!v.attributes.length)continue;if(v.hasAttribute("data-swiper-autoplay")&&w(v.getAttribute("data-swiper-autoplay"))){let P=v.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||v.parentElement?.parentElement||v;E(P,{attr:"data-swiper-autoplay",value:v.getAttribute("data-swiper-autoplay")||""});continue}let T=y(v);T&&E(v,T);}return h},Zh={name:"carouselAutoplay",cap:10,async detect(f){return f.evaluate(SI)}};var ug=[Hh,Fh,Nh,oh,Dh,xh,fh,Lh,gh,Bh,vh,Oh,sh,Rh,Ah,mh,Sh,wh,Th,_h,Vh,$h,Ch,ch,dh,Eh,Ph,qh,ph,Mh,lh,kh,jh,zh,Gh,Uh,Wh,Xh,Yh,Kh,Jh,Zh],ZI=[ih,uh,hh,Ih];function cg(f,d,h){f?.push({tool:d,kind:"engine-failed",detail:`detector threw, its findings are absent: ${h?.message??String(h)}`});}async function dg(f,d,h,g){let p=d??[];try{let{UNIQUE_SELECTOR_JS:O,IS_VISIBLE_JS:M,ACCESSIBLE_NAME_JS:B,WIDGET_SKIP_JS:H,IS_HIDDEN_FROM_AT_JS:Y,IS_TRACKING_PIXEL_JS:Z,NEARBY_CONTEXT_JS:E}=await Promise.resolve().then(()=>(eg(),Qh)),{ICON_LABELS_JS:v}=await Promise.resolve().then(()=>(rg(),tg)),{COLOR_MATH_JS:T}=await Promise.resolve().then(()=>(ag(),ng)),V=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
384
|
-
`+[
|
|
385
|
-
`),{inject:j}=await Promise.resolve().then(()=>(Lr(),dn));try{await j(f,{tool:"detector-helpers",content:V});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(V)})`);}}catch(O){console.warn("[webability] helper injection failed:",O.message),(h??[]).push("color:kernel-injection-failed");}let w=[];try{let{detectPlatform:O,applyPlatformTemplates:M}=await Promise.resolve().then(()=>(lg(),sg)),B=await O(f);w=await M(f,B);}catch{}let{guardDetectorState:D}=await Promise.resolve().then(()=>(Lr(),dn)),x=globalThis.process?.env?.WA_STRICT_STATE==="1",k={strict:x,bugs:g?.internalBugs},L=await D(f,"detectors:parallel",h??[],()=>Promise.allSettled((g?.experimental?[...ug,...ZI]:ug).map(async O=>{try{let M=await O.detect(f);return O.cap&&M.length>=O.cap&&p.push({detector:O.name,cap:O.cap}),M}catch(M){return cg(g?.internalBugs,O.name,M),[]}})),k),S=[];g?.skipFocusMutating&&(h??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let y=[...g?.skipFocusMutating?[]:[yh,bh],...g?.extraSerialDetectors??[]];for(let O of y){let M=[];try{M=await D(f,O.name,h??[],()=>O.detect(f).catch(B=>(cg(g?.internalBugs,O.name,B),[])),k);}catch(B){if(x)throw B}try{O.cap&&M.length>=O.cap&&p.push({detector:O.name,cap:O.cap}),S=S.concat(M);}catch{}}let _=[...L.flatMap(O=>O.status==="fulfilled"?O.value:[]),...S],I=[...w,..._],C=QI(I),F=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return C.filter(O=>{let M=O.selector.toLowerCase();return M.trim()?!F.some(B=>M.includes(B)):false})}function QI(f){let d=new Set;return f.filter(h=>{let g=`${h.selector}::${h.issueType}`;return d.has(g)?false:(d.add(g),true)})}var fg="1.12.0";var Au=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function _u(f){return f.includes("wcag21aa")||f.includes("wcag22aa")||f.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function pg(f,d){return d==="AAA"&&!f.includes("wcag2aaa")?[...f,"wcag2aaa"]:f}var eL={"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 tL(f){return eL[f]}var Za={A:1,AA:2,AAA:3};function mg(f){let d=String(f.wcag||"").split(/[,\s]+/).filter(g=>/^\d+\.\d+\.\d+$/.test(g));if(d.length===0)return f.level??"AA";let h;for(let g of d){let p=tL(g);p&&(!h||Za[p]<Za[h])&&(h=p);}return h}function Jn(f,d="AA"){let h=Za[d]??Za.AA;return f.filter(g=>{let p=mg(g);return !!p&&Za[p]<=h})}var rL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function hg(f){let d=rL.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",h=f.attribute==="style",g=f.attribute.startsWith("data-"),p=h&&f.fixValue?nL(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Qa(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:mg({wcag:f.wcag})??"AA",impact:d,message:aL(f,p,g),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||h||g||!!f.needsReview||!!f.manualFix}}}function nL(f){let d=f.trim();if(!d)return "";let h=d.endsWith(";"),p=d.split(";").map(w=>{let x=w.toLowerCase().lastIndexOf("!important");return x===-1?w.trim():w.slice(0,x).trim()}).filter(w=>w.length>0);return p.length===0?"":p.join(";")+(h?";":"")}function aL(f,d,h){if(f.message)return f.message;let g=f.issueType.replace(/_/g," "),p=d??f.fixValue;return h?p?`${g}: ${p}`:f.currentValue?`${g}: ${f.currentValue}`:f.context?`${g}: ${f.context}`:g:p?`${g}: set ${f.attribute}="${p}"`:f.currentValue?`${g}: ${f.attribute} is "${f.currentValue}"`:`${g}: missing ${f.attribute}`}function Zn(f){return Array.isArray(f)?f.flat(1/0).filter(h=>typeof h=="string").join(" >>> "):typeof f=="string"?f:""}function Qa(f){let d=0;for(let h=0;h<f.length;h++)d=(d<<5)-d+f.charCodeAt(h)|0;return Math.abs(d).toString(36)}function Eu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function Cu(f,d=[]){return {total:f.length,critical:f.filter(h=>h.impact==="critical").length,serious:f.filter(h=>h.impact==="serious").length,moderate:f.filter(h=>h.impact==="moderate").length,minor:f.filter(h=>h.impact==="minor").length,incomplete:0}}function iL(f){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(f);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function Su(f){for(let d of f){let h=iL(d);if(h)return h}return ""}function ku(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function bg(f,d){try{let{AxeBuilder:h}=await import('@axe-core/playwright'),g=typeof f.mainFrame=="function"?f:f.axePage?.()??f;return await new h({page:g}).options({rules:_u(d)}).withTags(d).analyze()}catch{return oL(f,d)}}async function oL(f,d){let h=await Promise.resolve().then(()=>q3(vg())),g=h.source??h.default?.source;if(!g)throw new Error("axe-core source unavailable");try{await f.evaluate(g);}catch{let{inject:w}=await Promise.resolve().then(()=>(Lr(),dn));await w(f,{tool:"axe",content:g});}return await f.evaluate(({wcagTags:w,rules:D})=>new Promise((x,k)=>{let L=window;if(!L.axe)return k(new Error("axe-core not loaded"));L.axe.run(document,{runOnly:{type:"tag",values:w},rules:D,resultTypes:["violations","incomplete"]}).then(x).catch(k);}),{wcagTags:d,rules:_u(d)})}function Tu(f){let d=[],h=[];for(let g of f)g.confidence==="needs_review"||lL(g)?h.push(g):d.push(sL(g));return {verdicts:d,undecided:h}}function sL(f){if(f.confidence===void 0&&f.reviewReason===void 0)return f;let{confidence:d,reviewReason:h,...g}=f;return g}function lL(f){let d=(f.type||"").toLowerCase(),h=f.wcag||"",g=f.html||"",p=(f.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||h==="1.4.3"||h==="1.4.11")&&uL(g))return "background uses gradient or image";if(d==="image_of_text"||h==="1.4.5"){let w=yg(g,"src").toLowerCase();w.startsWith("data:")&&(w=w.split(",")[0]);let D=yg(g,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(w))return "brand imagery";if(D.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(D))return "branded imagery"}return (d==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(g)||/<aside/i.test(g))?"footer/aside nav":""}function uL(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function yg(f,d){let h=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),g=f.match(h);return g?g[1]:""}Lr();var cL=60,dL=3,fL=120,pL=1200,mL=300,hL=2e5,gL=8e3,vL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),bL="*,*::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 yL(f){let{selectors:d,maxBoxes:h,maxW:g,maxH:p,maxArea:w}=f,D=document.documentElement.scrollWidth,x=document.documentElement.scrollHeight,k=document.createElement("canvas");k.width=k.height=1;let L=k.getContext("2d",{willReadFrequently:true}),S=O=>{try{L.clearRect(0,0,1,1),L.fillStyle="#000",L.fillStyle=O,L.fillRect(0,0,1,1);let M=L.getImageData(0,0,1,1).data;return [M[0],M[1],M[2],M[3]]}catch{return null}},y={},_=document.querySelectorAll("video,canvas,iframe,embed,object");if(_.length>200){for(let O of d)y[O]=null;return y}let I=Array.from(_).map(O=>O.getBoundingClientRect()),C=window.scrollX,F=window.scrollY;for(let O of d){y[O]=null;let M=null;try{M=document.querySelector(O);}catch{continue}if(!M)continue;let B=getComputedStyle(M);if(B.visibility!=="visible"||B.display==="none"||B.webkitBackgroundClip==="text"||B.backgroundClip==="text")continue;let H=false,Y=0;for(let Q=M;Q;Q=Q.parentElement){if(++Y>64){H=true;break}let ce=getComputedStyle(Q);parseFloat(ce.opacity)<1&&(H=true),(ce.transform!=="none"||ce.mixBlendMode!=="normal"||ce.filter!=="none")&&(H=true);}if(H)continue;let Z=S(B.color);if(!Z||Z[3]<255)continue;let E=parseFloat(B.fontSize),v=parseInt(B.fontWeight,10)>=700,T=E>=24||v&&E>=18.66,P=[],V=M.getBoundingClientRect();if(V.height>p*h||V.width>g*2)continue;let j=document.createTreeWalker(M,NodeFilter.SHOW_TEXT),G,J=0,ee=false;for(;!ee&&(G=j.nextNode());){if(++J>50){ee=true;break}if(G.parentElement!==M)continue;let Q=G.textContent||"";if(Q.length>2e3){ee=true;break}if(!Q.trim())continue;let ce=document.createRange();ce.selectNodeContents(G);let we=ce.getClientRects();if(we.length>h){ee=true;break}for(let ue=0;ue<we.length;ue++){let Ae=we[ue];if(!(Ae.width<2||Ae.height<2)&&(P.push({x:Math.round(Ae.left+C),y:Math.round(Ae.top+F),w:Math.max(1,Math.round(Ae.width)),h:Math.max(1,Math.round(Ae.height))}),P.length>h)){ee=true;break}}}ee||P.length===0||P.length>h||P.some(Q=>Q.w>g||Q.h>p||Q.w*Q.h>w||Q.x<0||Q.y<0||Q.x+Q.w>D||Q.y+Q.h>x)||P.some(Q=>I.some(ce=>Q.x<ce.right+C&&Q.x+Q.w>ce.left+C&&Q.y<ce.bottom+F&&Q.y+Q.h>ce.top+F))||(y[O]={fg:`rgb(${Z[0]},${Z[1]},${Z[2]})`,threshold:T?3:4.5,boxes:P});}return y}async function wL(f){let{b64:d,fg:h}=f,g=atob(d),p=new Uint8Array(g.length);for(let H=0;H<g.length;H++)p[H]=g.charCodeAt(H);let w=await createImageBitmap(new Blob([p],{type:"image/png"})),D=document.createElement("canvas");D.width=w.width,D.height=w.height;let x=D.getContext("2d",{willReadFrequently:true});x.drawImage(w,0,0);let k=x.getImageData(0,0,D.width,D.height).data,L=H=>{let Y=H/255;return Y<=.03928?Y/12.92:Math.pow((Y+.055)/1.055,2.4)},S=(H,Y,Z)=>.2126*L(H)+.7152*L(Y)+.0722*L(Z),y=h.match(/\d+/g).map(Number),_=S(y[0],y[1],y[2]),I=Math.max(1,Math.floor(Math.sqrt(D.width*D.height/1500))),C=0,F=1/0,O="",M="",B=0;for(let H=0;H<D.height;H+=I)for(let Y=0;Y<D.width;Y+=I){let Z=(H*D.width+Y)*4;if(k[Z+3]<255)continue;let E=S(k[Z],k[Z+1],k[Z+2]),v=Math.max(_,E),T=Math.min(_,E),P=(v+.05)/(T+.05);P>C&&(C=P,M=`rgb(${k[Z]},${k[Z+1]},${k[Z+2]})`),P<F&&(F=P,O=`rgb(${k[Z]},${k[Z+1]},${k[Z+2]})`),B++;}return B===0?null:{best:C,worst:F,worstBg:O,bestBg:M}}var Bo=class extends Error{};function ti(f,d){let h=d-Date.now();if(h<=0)return Promise.reject(new Bo("pixel pass deadline"));let g,p=new Promise((w,D)=>{g=setTimeout(()=>D(new Bo("pixel pass deadline")),h);});return Promise.race([f,p]).finally(()=>clearTimeout(g))}async function Ru(f,d){let h=f.screenshot;if(typeof h!="function"||d.length===0)return [];let g=Array.from(new Set(d)).slice(0,cL),p=[],w=false,D=Date.now()+gL;try{await ti(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),D);let x=await ti(f.evaluate(yL,{selectors:g,maxBoxes:dL,maxW:pL,maxH:mL,maxArea:hL}),D);await ti(xu(f,{tool:"contrast-pixels",css:bL}),D),w=!0;let k=0;for(let L of g){let S=x[L];if(!S)continue;if(Date.now()>D||k+S.boxes.length>fL)break;let y=0,_=1/0,I="",C="",F=!0;for(let O of S.boxes){k++;let M=await ti(h.call(f,{clip:{x:O.x,y:O.y,width:O.w,height:O.h},fullPage:!0,type:"png",animations:"disabled"}),D),B=globalThis.Buffer,H=B?B.from(M).toString("base64"):"",Y=await ti(f.evaluate(wL,{b64:H,fg:S.fg}),D);if(!Y){F=!1;break}Y.best>y&&(y=Y.best,C=Y.bestBg),Y.worst<_&&(_=Y.worst,I=Y.worstBg);}F&&p.push({selector:L,fail:y<S.threshold*.97,bestRatio:y,worstRatio:_,...I?{worstBg:I}:{},...C?{bestBg:C}:{},threshold:S.threshold,fg:S.fg});}}catch(x){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",x);}finally{if(w)try{await Promise.race([f.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(x=>x.remove())),new Promise(x=>setTimeout(x,1e3))]);}catch{}}return p}function xL(f,d){let{confidence:h,reviewReason:g,...p}=f;return {...p,id:f.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`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 wg(f,d,h,g){let p=d.filter(L=>L.wcag!=="1.4.3"||!L.selector?false:L.source==="axe-core"?vL.has(h.get(L.id)??""):L.type==="contrast_insufficient"&&/gradient or image/.test(L.reviewReason??""));if(p.length===0)return [];let w=await Ru(f,p.map(L=>L.selector));if(g)for(let L of w)g.set(L.selector,L);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${p.length} candidates, ${w.length} measured, ${w.filter(L=>L.fail).length} fail`);let D=new Map(w.filter(L=>L.fail).map(L=>[L.selector,L])),x=[],k=new Set;for(let L of p){let S=D.get(L.selector);!S||k.has(L.selector)||(k.add(L.selector),x.push(xL(L,S)));}return x}function DL(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 Fu(f){let d=f/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function xg(f,d,h){return .2126*Fu(f)+.7152*Fu(d)+.0722*Fu(h)}function AL(f,d){let h=Math.max(f,d),g=Math.min(f,d);return (h+.05)/(g+.05)}function Dg(f){if(f.startsWith("#"))return DL(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 Sn(f,d){let h=Dg(f),g=Dg(d);return !h||!g?0:AL(xg(...h),xg(...g))}var _L=30,EL=10,CL=2e4,SL=30,kL=400*1024,TL="https://openrouter.ai/api/v1",RL="anthropic/claude-haiku-4.5",Ag="deepseek/deepseek-v4-flash",_g=400,Eg=125,Iu=160,FL=2e3,Ho=new Map;function IL(f){let d=0;for(let h=0;h<f.length;h++)d=(d<<5)-d+f.charCodeAt(h)|0;return Math.abs(d).toString(36)}var Lu=f=>f.wcag||f.type,Cg=(f,d,h)=>`${f}|${d.selector}|${Lu(d)}|${IL(h)}`,Pu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function LL(f){let{selectors:d,maxHtml:h}=f,g={elements:{}},p=[],w=O=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(O)&&!/^\s*not\b/i.test(O),D=O=>{let M=O.split(",").map(B=>B.trim()).filter(Boolean);return M.length?M.every(B=>{let H=B.match(/^(-?[\d.]+)(ms|s)$/i);return H?parseFloat(H[1])*(H[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},x=(O,M,B)=>{if(!(B>8))for(let H of Array.from(O)){let Y=H.media?.mediaText,Z=M||typeof Y=="string"&&w(Y),E=H.style,v=H.selectorText;if(Z&&E&&typeof v=="string"){let V=E.getPropertyValue("animation-name").trim(),j=/^none(\s*,\s*none)*$/i.test(V)||D(E.getPropertyValue("animation-duration"))||/^paused/i.test(E.getPropertyValue("animation-play-state").trim()),G=/^none(\s*,\s*none)*$/i.test(E.getPropertyValue("transition-property").trim())||D(E.getPropertyValue("transition-duration"));(j||G)&&p.push({selector:v,anim:j,trans:G});}let T=H.cssRules;T&&T.length&&x(T,Z,B+1);let P=H.styleSheet;if(P)try{x(P.cssRules,Z||w(H.media?.mediaText||""),B+1);}catch{}}};try{for(let O of Array.from(document.styleSheets))try{x(O.cssRules,w(O.media?.mediaText||""),0);}catch{}}catch{}let k=(O,M)=>{try{return O.matches(M)}catch{return false}},L=O=>O.split(",").map(M=>{let B=M.trim().match(/^(-?[\d.]+)(ms|s)$/i);return B?parseFloat(B[1])*(B[2].toLowerCase()==="s"?1e3:1):0}),S=O=>{let M=O.cloneNode(true);M.querySelectorAll("script, style").forEach(H=>H.remove());let B=(M.textContent||"").replace(/\s+/g," ").trim();if(!B){for(let H of Array.from(O.querySelectorAll("img[alt], [aria-label]")))if(B=(H.getAttribute("alt")||H.getAttribute("aria-label")||"").trim(),B)break}return B},y=O=>{let M=(O.getAttribute("aria-label")||"").trim();if(M)return M;let H=(O.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(E=>{let v=document.getElementById(E);return v?(v.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(H)return H;let Y=S(O);if(Y)return Y;let Z=O instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(O.type)?(O.value||O.alt||"").trim():"";return Z||(O.getAttribute("title")||"").trim()},_='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',I=window.scrollX||0,C=window.scrollY||0,F=[];for(let O of d){let M=null;try{M=document.querySelector(O);}catch{}if(!M){g.elements[O]={found:false};continue}let B=F.indexOf(M);B<0&&(B=F.push(M)-1);let H=getComputedStyle(M),Y=M.getBoundingClientRect(),Z=M.tagName.toLowerCase(),E={found:true,elementKey:B,tag:Z,html:(M.outerHTML||"").slice(0,h),rect:{x:Y.left+I,y:Y.top+C,w:Y.width,h:Y.height},role:(M.getAttribute("role")||"").toLowerCase(),ariaHidden:M.getAttribute("aria-hidden")==="true"||!!M.closest('[aria-hidden="true"]'),hidden:H.display==="none"||H.visibility==="hidden"||!!M.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(H.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:H.color,bg:H.backgroundColor,fontSize:parseFloat(H.fontSize)||0,fontWeight:parseInt(H.fontWeight,10)||400};if(Z==="img"){let G=M;E.img={src:(G.currentSrc||G.getAttribute("src")||"").slice(0,300),alt:G.getAttribute("alt"),naturalW:G.naturalWidth||0,naturalH:G.naturalHeight||0,attrW:parseInt(G.getAttribute("width")||"0",10)||0,attrH:parseInt(G.getAttribute("height")||"0",10)||0};}if(E.cssBackgroundImage){let G=M.closest(_);G&&(E.control={tag:G.tagName.toLowerCase(),name:y(G).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Z)){let G=H.animationName.split(",").some(ce=>ce.trim()&&ce.trim()!=="none")&&L(H.animationDuration).some(ce=>ce>10),J=L(H.transitionDuration).some(ce=>ce>10)&&H.transitionProperty.trim()!=="none",ee=p.filter(ce=>k(M,ce.selector)),ae=!G||ee.some(ce=>ce.anim),Q=!J||ee.some(ce=>ce.trans);E.reducedMotionHandled=(G||J)&&ae&&Q;}let v=M.closest('a[href], button, [role="button"], [role="link"]');if(v&&v!==M){let G=v.cloneNode(true);G.querySelectorAll("img, svg").forEach(ae=>ae.remove());let J=(G.textContent||"").replace(/\s+/g," ").trim(),ee=(v.getAttribute("aria-label")||"").trim();E.parentInteractive={tag:v.tagName.toLowerCase(),text:(J||ee).slice(0,120)};}let T=G=>{let J=G.cloneNode(true);return J.querySelectorAll("script, style").forEach(ee=>ee.remove()),(J.textContent||"").replace(/\s+/g," ").trim()},P=M.matches('a[href], [role="link"]'),V=T(M),j=M.parentElement;if(P&&(j=M.closest("p, li, td, th, dd, dt, figcaption, blockquote")||M.parentElement),j){let G=T(j),J=P&&V?G.indexOf(V):-1,ee=J>120?J-120:0;E.nearText=(ee?"\u2026":"")+G.slice(ee,ee+240);}g.elements[O]=E;}return g}function PL(f,d){let h=(f.type||"").toLowerCase(),g=f.wcag||"";return h==="decorative_image_with_title"?"generic":g==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(h))?"alt":g==="1.4.3"||g==="1.4.6"||h==="color-contrast"||h==="contrast_insufficient"||h==="contrast_enhanced"?"contrast":g==="2.2.2"||g==="2.3.3"||/motion|animation|reduced_motion/.test(h)?"motion":"generic"}function Ou(f){return !!f&&f.tag!=="img"&&f.cssBackgroundImage&&!f.img}var OL=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function ML(f){let d=String(f??"").replace(/\s+/g," ").replace(OL,"judged").trim();if(d.length<=Iu)return d;let h=d.slice(0,Iu-1),g=h.lastIndexOf(" ");return (g>Iu/2?h.slice(0,g):h).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function NL(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>Eg){d=d.slice(0,Eg);let h=d.lastIndexOf(" ");h>60&&(d=d.slice(0,h)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function Qn(f){let d=f.match(/\d+(\.\d+)?/g);return !d||d.length<3?f:"#"+d.slice(0,3).map(h=>Math.round(Number(h)).toString(16).padStart(2,"0")).join("")}var Tg=/^#?([0-9a-f]{6})$/i;function qL(f){let d=String(f??"").trim().match(Tg);return d?"#"+d[1].toLowerCase():null}function BL(f){let{confidence:d,reviewReason:h,...g}=f;return {...g,id:f.id.replace("axe-incomplete-","axe-")}}function HL(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 h=[];for(let g of d){if(!g||typeof g!="object")continue;let{id:p,verdict:w,reason:D,fix:x}=g;if(typeof p!="string"||w!=="pass"&&w!=="violation")continue;let k=x&&typeof x=="object"?x:void 0;h.push({id:p,verdict:w,reason:typeof D=="string"?D:void 0,fix:k?{attribute:typeof k.attribute=="string"?k.attribute:void 0,value:typeof k.value=="string"?k.value:void 0}:void 0});}return h}var ea=class extends Error{},VL=`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.
|
|
383
|
+
`);return ue}}},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:gg);});var Og={};xr(Og,{dismissModals:()=>nP});async function nP(f){await f.evaluate(d=>{for(let h of d){let g=document.querySelectorAll(h);for(let p of g)if(p.offsetParent!==null){p.click();return}}},rP),await new Promise(d=>setTimeout(d,500));}var rP,Ng=wr(()=>{rP=['[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 Vo={};xr(Vo,{pruneHiddenIframeIssues:()=>sP,pruneInvisibleContrast:()=>oP,waitForRenderSettle:()=>aP});async function aP(f,d=4e3){let h=Date.now()+d;try{await f.waitForLoadState?.("load",{timeout:Math.min(d/2,2e3)});}catch{}let g="";for(;Date.now()<h;){let p;try{p=await f.evaluate(()=>{let w=typeof document.getAnimations=="function"?document.getAnimations():[],_=0;for(let S of w){if(S.playState!=="running")continue;let y;try{y=S.effect?.getComputedTiming?.().iterations;}catch{y=void 0;}y!==1/0&&_++;}let x="",k=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],F=Math.min(k.length,50);for(let S=0;S<F;S++)x+=getComputedStyle(k[S]).opacity+",";return _+"|"+x});}catch{return}if(p.indexOf("0|")===0&&p===g)return;g=p,await new Promise(w=>setTimeout(w,150));}}function qg(f){return iP.has(f.wcag)||/contrast/i.test(f.type||"")}async function oP(f,d){let h=Array.from(new Set(d.filter(_=>qg(_)&&_.selector).map(_=>_.selector))).slice(0,100);if(h.length===0)return d;let g;try{g=await f.evaluate(_=>{let x=[],k={},F=Math.max(document.documentElement.scrollWidth,window.innerWidth),S=Math.max(document.documentElement.scrollHeight,window.innerHeight),y=E=>{let D=E.match(/rgba?\(([^)]+)\)/);if(!D)return !1;let L=D[1].split(/[ ,/]+/).filter(Boolean);return L.length<4||parseFloat(L[3])>=.95};for(let E of _){let D=null;try{D=document.querySelector(E);}catch{continue}if(!D)continue;let L=getComputedStyle(D),P=D.getBoundingClientRect(),q=L.clipPath&&L.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(L.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(L.clip||""),M=P.width<=1||P.height<=1,$=window.scrollX,N=window.scrollY,U=P.right+$<=0||P.bottom+N<=0||P.left+$>=F||P.top+N>=S,Q=!1;if(U)for(let G=D.parentElement;G&&G!==document.body&&G!==document.documentElement;G=G.parentElement){let K=getComputedStyle(G);if(K.overflowX!=="visible"||K.overflowY!=="visible"||K.transform&&K.transform!=="none"){Q=!0;break}}if(U&&Q){k[E]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(q||M||U){x.push(E);continue}let C=D,v=!1;for(;C&&C!==document.documentElement;){if(parseFloat(getComputedStyle(C).opacity)===0){v=!0;break}C=C.parentElement;}if(v){k[E]="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 T=P.left+P.width/2,I=P.top+P.height/2,H=D,j=!1;for(let G=0;H&&H!==document.body&&G<8;G++){let K=getComputedStyle(H);if(y(K.backgroundColor)||K.backgroundImage&&K.backgroundImage!=="none")break;let Z=H.querySelectorAll("video, canvas, img, picture");for(let ae=0;ae<Z.length;ae++){let ee=Z[ae];if(ee.contains(D)||D.contains(ee))continue;let ce=ee.getBoundingClientRect();if(ce.width>0&&ce.height>0&&T>=ce.left&&T<=ce.right&&I>=ce.top&&I<=ce.bottom){j=!0;break}}if(j)break;H=H.parentElement;}j&&(k[E]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:x,review:k}},h);}catch{return d}let p=new Set(g.hidden),w=[];for(let _ of d){if(!qg(_)){w.push(_);continue}if(p.has(_.selector))continue;let x=g.review[_.selector];w.push(x&&_.confidence!=="needs_review"?{..._,confidence:"needs_review",reviewReason:x,..._.fix?{fix:{..._.fix,needsManualReview:true}}:{}}:_);}return w}async function sP(f,d){let h=Array.from(new Set(d.filter(w=>w.selector).map(w=>w.selector))).slice(0,200);if(h.length===0)return d;let g;try{g=await f.evaluate(w=>{let _=[];for(let x of w){let k=null;try{k=document.querySelector(x);}catch{continue}if(!k||k.tagName!=="IFRAME")continue;let F=getComputedStyle(k),S=k.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse",y=(k.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(S||y)&&_.push(x);}return _},h);}catch{return d}if(g.length===0)return d;let p=new Set(g);return d.filter(w=>!p.has(w.selector))}var iP,$o=wr(()=>{iP=new Set(["1.4.3","1.4.6","1.4.11"]);});var jo={};xr(jo,{focusOnlyObscuredIndexes:()=>fP,resetInteractionState:()=>lP,restoreInteractionState:()=>cP,snapshotInteractionState:()=>uP});async function lP(f){try{await f.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function uP(f){try{await f.evaluate(()=>{let d=window;d.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function cP(f){try{await f.evaluate(()=>{let d=window,h=d.__waCallerState;if(delete d.__waCallerState,!h)return;let g=h.el;if(g&&g!==document.body&&g!==document.documentElement&&g.isConnected)try{g.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:h.x,top:h.y,behavior:"instant"});}catch{}});}catch{}}function dP(f){if(typeof f=="string")return f;if(!Array.isArray(f))return null;let d=f.flat(1/0).filter(h=>typeof h=="string");return d.length===1?d[0]:null}async function fP(f,d){let h=d.map(_=>{let k=[..._.any??[],..._.none??[]].flatMap(S=>S.relatedNodes??[]);if(!k.length)return null;let F=k.map(S=>dP(S.target));return F.every(S=>!!S)?F:null}),g=Array.from(new Set(h.flatMap(_=>_??[])));if(!g.length)return new Set;let p={};try{p=await f.evaluate(({sels:_,own:x})=>{let k=S=>{let y=S.getBoundingClientRect(),E=getComputedStyle(S);return !!((y.width<=1||y.height<=1)&&(E.overflow==="hidden"||E.position==="absolute"||E.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(E.clip||"")||/inset\(\s*50%/.test(E.clipPath||""))},F={};for(let S of _){let y=null;try{y=document.querySelector(S);}catch{y=null;}if(!y){F[S]=!1;continue}let E=y.closest(x);if(E&&E!==document.body&&E!==document.documentElement){F[S]=!0;continue}if(y===document.activeElement){try{y.blur();}catch{}F[S]=k(y);continue}F[S]=k(y);}return F},{sels:g,own:qo});}catch{return new Set}let w=new Set;return h.forEach((_,x)=>{_&&_.length&&_.every(k=>p[k]===true)&&w.add(x);}),w}var zo=wr(()=>{Lr();});var ta={};xr(ta,{dedupeByElementIdentity:()=>vP,deduplicateIssues:()=>pP});function pP(f){let d=new Map,h=[...f].sort((g,p)=>{let w={webability:0,"axe-core":1,"deep-analysis":2},_=w[g.source]??3,x=w[p.source]??3;return _-x});for(let g of h){let p=mP(g);d.has(p)?!d.get(p).fix?.suggestedValue&&g.fix?.suggestedValue&&d.set(p,g):d.set(p,g);}return Array.from(d.values())}function mP(f){let d=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),h=f.wcag||"";return d&&h?`${d}::${h}`:`${f.type}::${d||f.id}`}async function vP(f,d){if(d.length<2)return d;let h=Array.from(new Set(d.map(S=>S.selector).filter(Boolean))),g;try{g=await f.evaluate(S=>{let y=Array.from(document.querySelectorAll("*")),E=new Map;y.forEach((L,P)=>E.set(L,P));let D={};for(let L of S){let P=null;try{P=document.querySelector(L);}catch{}if(!P){let q=L.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(q!==L)try{P=document.querySelector(q);}catch{}}if(P){let q=P.closest("table");D[L]={el:E.get(P),table:q?E.get(q):-1,doc:P===document.documentElement||P===document.body};}}return D},h);}catch{return d}let p={webability:0,"axe-core":1,"deep-analysis":2},w=S=>{let y=g[S.selector];if(!y)return null;let E=S.wcag||S.type;return y.doc?{key:gP.has(S.wcag||"")?`doc::${E}`:`doc::${E}::${S.type}`,owner:true}:y.table>=0&&hP.test(S.type)?{key:`${y.table}::${E}::table-headers`,owner:y.el===y.table}:{key:`${y.el}::${E}`,owner:true}},_=[...d].sort((S,y)=>{let E=w(S),D=w(y),L=E?.owner?0:1,P=D?.owner?0:1;return L-P||(p[S.source]??3)-(p[y.source]??3)}),x=new Map,k=[];for(let S of _){let y=w(S);if(!y){k.push(S);continue}let E=x.get(y.key);E?!E.fix?.suggestedValue&&S.fix?.suggestedValue&&(w(E)?.owner??true)===y.owner&&x.set(y.key,S):x.set(y.key,S);}let F=new Set([...x.values(),...k]);return d.filter(S=>F.has(S))}var hP,gP,ra=wr(()=>{hP=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,gP=new Set(["2.4.1","3.1.1","2.4.2"]);});var Vg={};xr(Vg,{parseGif:()=>Bg,playsOverFiveSeconds:()=>Hg,verifyAnimatedGifs:()=>bP});function Bg(f){if(String.fromCharCode(f[0]??0,f[1]??0,f[2]??0)!=="GIF")return null;let h=13,g=f[10]??0;g&128&&(h+=3*(1<<(g&7)+1));let p=0,w=0,_=0,x=null,k=()=>{for(;h<f.length;){let F=f[h++];if(F===0)return;h+=F;}};for(;h<f.length;){let F=f[h++];if(F===59)break;if(F===33){let S=f[h++];if(S===249)_=(f[h+2]??0)|(f[h+3]??0)<<8,h+=1+(f[h]??4),k();else if(S===255){let y=f[h]??0,E=String.fromCharCode(...Array.from(f.subarray(h+1,h+1+y)));h+=1+y,(E==="NETSCAPE2.0"||E==="ANIMEXTS1.0")&&f[h]===3&&f[h+1]===1&&(x=(f[h+2]??0)|(f[h+3]??0)<<8),k();}else k();}else if(F===44){let S=f[h+8]??0;h+=9,S&128&&(h+=3*(1<<(S&7)+1)),h+=1,k(),p++,w+=_<2?10:_,_=0;}else break}return {frames:p,seconds:w/100,loops:x}}function Hg(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 bP(f,d){let h=d.filter(w=>w.type==="animated_gif_no_pause");if(!h.length)return d;let g=Array.from(new Set(h.map(w=>w.selector))),p={};try{p=await f.evaluate(async({sels:w,parserSrc:_})=>{let x=new Function("var __name = function (f) { return f }; return ("+_+")")(),k={};return await Promise.all(w.map(async F=>{k[F]=null;try{let S=document.querySelector(F),y=S&&(S.currentSrc||S.src);if(!y)return;let E=new AbortController,D=setTimeout(()=>E.abort(),5e3);try{let L=await fetch(y,{signal:E.signal,credentials:"same-origin"});if(!L.ok||Number(L.headers.get("content-length")||"0")>2e7)return;k[F]=x(new Uint8Array(await L.arrayBuffer()));}finally{clearTimeout(D);}}catch{}})),k},{sels:g,parserSrc:Bg.toString()});}catch{p={};}return d.flatMap(w=>{if(w.type!=="animated_gif_no_pause")return [w];let _=p[w.selector];if(!_)return [{...w,message:`${w.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(!Hg(_))return [];let x=_.loops===0?"loops forever":`plays for ${(_.seconds*(_.loops===null?1:_.loops+1)).toFixed(1)}s`;return [{...w,message:`animated GIF (${_.frames} frames, ${x}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var $g=wr(()=>{});var Nu={};xr(Nu,{scopeIssuesToRoot:()=>yP});async function yP(f,d,h){let g=Array.from(new Set(d.map(w=>w.selector).filter(Boolean))),p;try{p=await f.evaluate(({rootSel:w,sels:_})=>{let x=S=>{try{let E=document.querySelector(S);if(E)return E}catch{}let y=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(y!==S)try{return document.querySelector(y)}catch{return null}return null},k=null;try{k=document.querySelector(w);}catch{return {invalid:!0,matched:!1,within:{}}}if(!k)return {invalid:!1,matched:!1,within:{}};let F={};for(let S of _){let y=x(S);F[S]=y?y===k||k.contains(y):!0;}return {invalid:!1,matched:!0,within:F}},{rootSel:h,sels:g});}catch{return {issues:d,warning:`scope:evaluate-failed (${h}) \u2014 results unfiltered`}}return p.invalid?{issues:d,warning:`scope:invalid-selector (${h}) \u2014 results unfiltered`}:p.matched?{issues:d.filter(w=>w.selector?p.within[w.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${h} matched nothing \u2014 empty result)`}}var qu=wr(()=>{});var No={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var B3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],g=new Set;function p(x){let k=(x.textContent||"").trim().replace(/\s+/g,""),F=x.querySelector("img, svg, picture")!==null,S=x.querySelector("i[class], span[class]")!==null;if(k.length>0&&!F&&!S)return false;if(F){let y=x.querySelectorAll("img"),E="";y.forEach(P=>{E+=(P.getAttribute("alt")||"").trim();});let D=k.replace(/\s+/g,""),L=E.replace(/\s+/g,"");return D===""||D===L}return false}function w(x){let k=x.nextElementSibling;for(;k;){if(isVisible(k))return k;k=k.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(x=>{if(h.length>=50||x.closest(f)||!isVisible(x)||g.has(x))return;let k=x.getAttribute("href");if(!k||k==="#")return;let F=w(x);if(!F||F.tagName!=="A"||F.getAttribute("href")!==k||g.has(F)||x.getAttribute("aria-hidden")==="true"||F.getAttribute("aria-hidden")==="true")return;let y=p(x),E=p(F);if(!y&&!E)return;let D=y?x:F,L=y?F:x;g.add(D),g.add(L);let P=uniqueSel(D),q=D.outerHTML.slice(0,300),M=(L.textContent||"").trim().slice(0,80);h.push({selector:P,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:k,imageLink:true,adjacentLinkText:M,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:q}),h.push({selector:P,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:k}),needsAI:false,fixValue:"-1",outerHtml:q});}),h},ih={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(B3)}};var H3=()=>{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=""])',h=["[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(","),g=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,w=[],_=new Set;function x(S){let y=S,E=0;for(;y&&y.nodeType===1&&y!==document.body&&E<20;){try{let D=getComputedStyle(y);if(D.display==="none"||D.visibility==="hidden"||D.visibility==="collapse")return !0}catch{}y=y.parentElement,E++;}return false}function k(S){let y=S.tagName,E=S.getAttribute("tabindex");if(E!==null){let D=parseInt(E,10);if(!isNaN(D)&&D>=0)return true;if(!isNaN(D)&&D<0)return false}return g.has(y)?!(y==="A"&&!S.hasAttribute("href")||S.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(S=>{if(w.length>=p||S.closest(f)||S.closest(d)||S.closest(h)||S.matches(h))return;let y=[];if(k(S)&&y.push(S),S.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(D=>{k(D)&&y.push(D);}),y.length!==0)for(let D of y){if(w.length>=p)return;let L=uniqueSel(D),P=L+"\0tabindex";if(_.has(P))continue;_.add(P);let q=x(D),M=!q;w.push({selector:L,attribute:"tabindex",currentValue:D.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),parentHidden:S.tagName.toLowerCase(),collapsed:q,suggestion:q?"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",...q?{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.'}:{},...M?{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:(D.outerHTML||"").slice(0,300)});}}),w},oh={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(H3)}};var V3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=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 w(_){if((_.textContent||"").trim())return false;if(typeof _.checkVisibility=="function")return _.checkVisibility({visibilityProperty:true});for(let x=_;x&&x.nodeType===1;x=x.parentElement)if(getComputedStyle(x).display==="none")return false;return getComputedStyle(_).visibility!=="hidden"}for(let _ of p){if(h.length>=50)break;let x=document.querySelectorAll("*");for(let k of x){if(h.length>=50)break;if(g.has(k)||k.closest(f))continue;let F=k.className&&typeof k.className=="string"?k.className:"",S=k.getAttribute("id")||"";if(!_.test(F)&&!_.test(S)||k.getAttribute("aria-live"))continue;let y=k.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(y)||!w(k))continue;g.add(k);let E=uniqueSel(k),D=_.test(F)?"class":"id",L=D==="class"?F.slice(0,60):S;h.push({selector:E,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:D+": "+L+" | pattern: "+_.source,needsAI:false,fixValue:"polite"});}}return h},sh={name:"ariaLive",cap:50,async detect(f){return f.evaluate(V3)}};var $3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],g=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(x=>{if(!(h.length>=50)&&!x.closest(f)&&isVisible(x)&&!isHiddenFromAT(x)&&!x.getAttribute("aria-live")&&!x.closest("[aria-live]")&&!x.closest("template"))for(let k of p){let F=x.getAttribute(k);if(!F||!F.trim())continue;let S=F.trim().split(/\s+/).filter(N=>N.length>0);if(S.length===0||!S.every(N=>!document.getElementById(N)))continue;let E=x.getAttribute("aria-label");if(E&&E.trim())continue;let D=getAccessibleName(x);if(D&&D.trim())continue;let L=uniqueSel(x),P=L+"\0"+k;if(g.has(P))continue;g.add(P);let{nearbyHeading:q,parentTag:M,parentRole:$}=getNearbyContext(x);h.push({selector:L,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),brokenAttr:k,brokenIds:S,nearbyHeading:q,parentTag:M,parentRole:$,suggestion:`All IDs in ${k}="${F}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}}),h},lh={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate($3)}};var j3=()=>{let d=[],h=["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"],g=document.querySelectorAll("button");for(let p of g){if(d.length>=50)break;let w=p;if(isWidget(w)||w.hasAttribute("type")||!w.closest("form"))continue;let _=(w.textContent||"").trim().slice(0,60),x=(w.getAttribute("aria-label")||"").trim().slice(0,60),k=_||x||"(no label)",F=k.toLowerCase();h.some(y=>F.includes(y))||d.push({selector:uniqueSel(w),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+k,needsAI:false,fixValue:"button",outerHtml:(w.outerHTML||"").slice(0,300)});}return d},uh={name:"buttonType",cap:50,async detect(f){return f.evaluate(j3)}};var z3=()=>{let d=[],h=document.querySelectorAll("video, audio");for(let g of Array.from(h)){if(d.length>=20)break;if(isWidget(g)||typeof isVisible=="function"&&!isVisible(g)||g.error)continue;let p=g.tagName==="VIDEO";if(p){let P=g.hasAttribute("muted")||g.muted,q=g.hasAttribute("controls"),M=g.hasAttribute("loop")||g.loop,$=/mute|unmute|sound|volume|audio|play|pause/i,N=!!g.parentElement?.querySelector('button, [role="button"]')||!!g.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(g.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let U=g.parentElement?.parentElement||null,Q=0;U&&!N&&Q<3;U=U.parentElement,Q++)N=Array.from(U.querySelectorAll('button, [role="button"]')).some(C=>$.test((C.getAttribute("aria-label")||"")+" "+(C.getAttribute("title")||"")+" "+(C.textContent||"")));if(P&&M&&!q&&!N)continue}let w=g.querySelectorAll("track"),_=false;for(let P of Array.from(w)){let q=(P.getAttribute("kind")||"").toLowerCase();if(q==="captions"||q==="subtitles"){_=true;break}}if(_)continue;let x=g.currentSrc||g.getAttribute("src")||"";if(x||(x=g.querySelector("source")?.getAttribute("src")||""),!x)continue;let k=x.toLowerCase();if(k.startsWith("blob:")||k.startsWith("data:")||k.startsWith("about:")||k.startsWith("javascript:")||k.endsWith(".m3u8")||k.includes(".m3u8?")||k.endsWith(".mpd")||k.includes(".mpd?"))continue;let F=x;try{F=new URL(x,location.href).toString();}catch{continue}let S=typeof uniqueSel=="function"?uniqueSel(g):"",y=g.getAttribute("title")||g.getAttribute("aria-label")||"",E=typeof getNearbyContext=="function"?getNearbyContext(g):{parentTag:g.tagName.toLowerCase(),nearbyHeading:""},D=[];D.push("media: "+g.tagName.toLowerCase()),D.push("src: "+F.slice(0,200)),y&&D.push("title: "+y.slice(0,80)),E.nearbyHeading&&D.push("heading: "+E.nearbyHeading),D.push("parent: "+E.parentTag);let L=p;d.push({selector:S,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:D.join(" | "),needsAI:true,...L?{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:F,outerHtml:(g.outerHTML||"").slice(0,300)});}return d},ch={name:"captions",cap:20,async detect(f){return f.evaluate(z3)}};var G3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]"),w=new Map;for(let _ of Array.from(p)){if(h.length>=40)break;if(_.closest(f)||_.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(_))continue;let x=_.closest(g);if(!x)continue;let k=(_.textContent||"").trim();if(!k)continue;let F=w.get(x);if(F===void 0){F=0;let U=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),Q;for(;Q=U.nextNode();){let C=Q.parentElement;!C||C.closest("a")||C.closest(g)===x&&(typeof isVisible=="function"&&!isVisible(C)||(F+=(Q.textContent||"").trim().length));}w.set(x,F);}if(F<20||_.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let S=getComputedStyle(_),y=getComputedStyle(x);if((S.textDecorationLine||S.textDecoration||"").includes("underline")||(()=>{let U=document.createTreeWalker(_,NodeFilter.SHOW_TEXT),Q,C=false;for(;Q=U.nextNode();){if(!/[\p{L}\p{N}]/u.test(Q.textContent||""))continue;C=true;let v=false;for(let T=Q.parentElement;T&&T!==_;T=T.parentElement){let I=getComputedStyle(T),H=(I.textDecorationColor||"").replace(/\s/g,"");if((I.textDecorationLine||"").includes("underline")&&H!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(H)){v=true;break}let j=(I.borderBottomColor||"").replace(/\s/g,""),G=j==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(j);if((I.borderBottomStyle||"none")!=="none"&&parseFloat(I.borderBottomWidth||"0")>0&&!G){v=true;break}}if(!v)return false}return C})())continue;let L=parseInt(S.fontWeight||"400",10),P=parseInt(y.fontWeight||"400",10);if(Number.isFinite(L)&&Number.isFinite(P)&&L-P>=300||(S.borderBottomStyle||"none")!=="none"&&(S.borderBottomWidth||"0px")!=="0px"||S.color===y.color)continue;let M=typeof uniqueSel=="function"?uniqueSel(_):"",$=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},N=[];N.push("link: "+k.slice(0,40)),N.push("color: "+S.color),N.push("parent-color: "+y.color),$.nearbyHeading&&N.push("heading: "+$.nearbyHeading),N.push("parent: "+$.parentTag),h.push({selector:M,attribute:"style",currentValue:S.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:N.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(_.outerHTML||"").slice(0,300)});}return h},dh={name:"colorOnly",cap:40,async detect(f){return f.evaluate(G3)}};var U3=()=>{let d=[],h=M=>typeof parseCssColor=="function"?parseCssColor(M):null,g=(M,$,N)=>typeof relLuminance=="function"?relLuminance(M,$,N):0,p=(M,$)=>typeof contrastRatio=="function"?contrastRatio(M,$):1;function w(M){let $=String(M.backgroundImage||"none");if($==="none")return false;if(/gradient\(/i.test($))return true;if(!/url\(/i.test($))return false;let N=String(M.backgroundRepeat||"").toLowerCase(),U=String(M.backgroundSize||"").toLowerCase(),Q=N.split(",").map(v=>v.trim()).some(v=>v!==""&&v!=="no-repeat"),C=/cover|contain|100%/.test(U);return Q||C}function _(M){let $=document.documentElement,N=[0,0,0],U=0,Q=()=>U>=1-1e-9,C=()=>[Math.round(Math.min(255,N[0]/U)),Math.round(Math.min(255,N[1]/U)),Math.round(Math.min(255,N[2]/U))],v=G=>{if(w(G))return false;let K=h(G.backgroundColor||"");if(!K)return true;let Z=Math.max(0,Math.min(1,K[3]));if(Z<=0)return true;let ae=Z*(1-U);return N[0]+=K[0]*ae,N[1]+=K[1]*ae,N[2]+=K[2]*ae,U+=ae,true},T=M,I=0;for(;T&&T!==$&&I<12;){if(!v(getComputedStyle(T)))return null;if(Q())return C();T=T.parentElement,I++;}let H=document.body;if(T&&T!==$&&H&&H.contains(T)){if(!v(getComputedStyle(H)))return null;if(Q())return C()}if(!v(getComputedStyle($)))return null;let j=1-U;return j>0&&(N[0]+=255*j,N[1]+=255*j,N[2]+=255*j,U=1),C()}function x(M,$,N){return "#"+[M,$,N].map(U=>{let Q=Math.max(0,Math.min(255,Math.round(U))).toString(16);return Q.length===1?"0"+Q:Q}).join("")}let k=.1;function F(M,$,N){let U=g($[0],$[1],$[2])>.5;for(let Q of [N+k,N]){let C=S(M,$,Q,U)||S(M,$,Q,!U);if(C)return C}return null}function S(M,$,N,U){let Q=0,C=1,v=null;for(let T=0;T<20;T++){let I=(Q+C)/2,H=U?[M[0]*(1-I),M[1]*(1-I),M[2]*(1-I)]:[M[0]+(255-M[0])*I,M[1]+(255-M[1])*I,M[2]+(255-M[2])*I],j=[Math.round(H[0]),Math.round(H[1]),Math.round(H[2])];p(j,$)>=N?(v=j,C=I):Q=I;}return v}let y=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 E(M){if(M.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let N=M;N&&N.nodeType===1;N=N.parentElement){if(N.getAttribute("aria-disabled")!=="true")continue;let U=(N.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(U&&y.has(U))return true}let $=M.closest("label");if($){let N=$.control;if(N&&(N.disabled||N.getAttribute("aria-disabled")==="true"))return true}return false}let D=document.createTreeWalker(document.body,4),L=new Set,P=[],q=D.nextNode();for(;q;){if((q.textContent||"").trim().length>=2){let $=q.parentElement;$&&!L.has($)&&(L.add($),P.push($));}q=D.nextNode();}for(let M of P){if(d.length>=30)break;if(isWidget(M)||isHiddenFromAT(M)||!isVisible(M)||E(M))continue;let $=getComputedStyle(M),N=h($.color||"");if(!N)continue;if(N[3]<.5){let ce=$.webkitBackgroundClip||$.backgroundClip||"",ke=$.backgroundImage||"";if(String(ce).includes("text")&&/gradient\(/i.test(ke)){let he=Array.from(M.childNodes).filter(Te=>Te.nodeType===3).map(Te=>(Te.textContent||"").trim()).join("");he&&d.push({selector:uniqueSel(M),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(he.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:M.outerHTML.slice(0,200)});}continue}let U=_(M),Q=parseFloat($.fontSize||"16"),C=parseInt($.fontWeight||"400",10),T=Q>=24||Q>=18.66&&C>=700?3:4.5,I=Array.from(M.childNodes).filter(ce=>ce.nodeType===3).map(ce=>(ce.textContent||"").trim()).join("");if(!I)continue;let H=x(N[0],N[1],N[2]),j=uniqueSel(M);if(U===null){d.push({selector:j,attribute:"style",currentValue:H,message:"contrast: text "+H+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+T+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+H+" bg=<gradient-or-image> needs="+T+" text="+JSON.stringify(I.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:M.outerHTML.slice(0,200)});continue}let G=p([N[0],N[1],N[2]],U);if(G>=T)continue;let K=F([N[0],N[1],N[2]],U,T);if(!K)continue;let Z=x(K[0],K[1],K[2]),ae=x(U[0],U[1],U[2]),ee="color:"+Z+" !important;";d.push({selector:j,attribute:"style",currentValue:H,message:"contrast: "+H+" on "+ae+" is "+G.toFixed(2)+":1, needs "+T+":1 \u2014 e.g. color "+Z,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+H+" bg="+ae+" ratio="+G.toFixed(2)+" needs="+T+" text="+JSON.stringify(I.slice(0,40)),needsAI:false,fixValue:ee,outerHtml:M.outerHTML.slice(0,200)});}return d},fh={name:"contrast",cap:30,async detect(f){return f.evaluate(U3)}};var W3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],g=document.querySelectorAll("marquee, blink");for(let k of Array.from(g)){if(h.length>=30)break;if(k.closest(f))continue;let F=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();h.push({selector:F,attribute:"aria-hidden",currentValue:k.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${k.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(k.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let k of Array.from(p)){if(h.length>=30)break;if(k.closest(f))continue;let F=k.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(F)||typeof isVisible=="function"&&!isVisible(k))continue;let S=k.getBoundingClientRect();if(S.width<=40&&S.height<=40)continue;let y=typeof uniqueSel=="function"?uniqueSel(k):"img";h.push({selector:y,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${F.split("/").pop()?.slice(0,60)||F.slice(-60)}`,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let k of Array.from(w)){if(h.length>=30)break;let F=(k.getAttribute("content")||"").trim(),S=parseInt((F.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(S)||S<=0||h.push({selector:`meta[http-equiv="refresh"][content*="${F.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:F,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${S}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(k.outerHTML||"").slice(0,200)});}try{let k=!1,F=!1;for(let S of Array.from(document.styleSheets)){let y=null;try{y=S.cssRules;}catch{continue}if(y)for(let E of Array.from(y)){let D=E.cssText||"";if(/animation[^;]*\binfinite\b/i.test(D)&&/(keyframes|animation-name)/i.test(D+" "+(E.name||""))&&(k=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(D)&&(F=!0),E.cssRules)for(let L of Array.from(E.cssRules)){let P=L.cssText||"";/animation[^;]*\binfinite\b/i.test(P)&&(k=!0);}}}k&&!F&&h.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 _=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,x=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let k of Array.from(x)){if(h.length>=30)break;if(k.closest(f)||k.tagName==="BODY"||k.tagName==="HTML")continue;let F=k.className&&typeof k.className=="string"?k.className:"";if(!_.test(F)||typeof isVisible=="function"&&!isVisible(k))continue;let y=getComputedStyle(k).animationDuration,E=9999;if(y){let L=parseFloat(y);Number.isFinite(L)&&(E=/ms/i.test(y)?L:L*1e3);}if(E>333)continue;let D=typeof uniqueSel=="function"?uniqueSel(k):"";h.push({selector:D,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${E}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:(k.outerHTML||"").slice(0,300)});}return h},ph={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(W3)}};var X3=()=>{let d=[];function h(_){let x=(_.getAttribute("role")||"").toLowerCase();return x==="presentation"||x==="none"||(_.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function g(_){if(!_)return 0;let x=_.querySelectorAll("th, td"),k=0;for(let F=0;F<x.length;F++){let S=parseInt(x[F].getAttribute("colspan")||"1",10);k+=isNaN(S)||S<1?1:S;}return k}function p(_){let x=_.querySelectorAll("tr"),k=[];for(let F=0;F<x.length;F++){let S=x[F];S.closest("table")===_&&k.push(S);}return k}let w=document.querySelectorAll("table");for(let _=0;_<w.length&&!(d.length>=30);_++){let x=w[_];if(isWidget(x)||!isVisible(x)||h(x))continue;let k=p(x);if(k.length<=1)continue;let F=k[0],S=g(F);if(S<=1)continue;let y=uniqueSel(x),E=getNearbyContext(x),D=x.querySelectorAll("img, svg, picture").length>=2;if(D&&!(x.textContent||"").trim()){if(x.querySelector("input, select, textarea, button")&&(D=false),D&&x.querySelector("th, thead, caption, [scope], [headers]")&&(D=false),D){let v=Array.from(x.querySelectorAll("img")).map(T=>(T.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(v).size<v.length&&(D=false);}}else if(D){let v=x.querySelectorAll("td, th"),T=0;for(let I=0;I<v.length&&D;I++){let H=v[I];if(H.closest("table")!==x)continue;let j=(H.textContent||"").trim(),G=!!H.querySelector("img, svg, picture");if(!j&&!G)continue;T++;let K=H.querySelectorAll("a[href]");D=H.tagName==="TD"&&K.length===1&&G&&(K[0].textContent||"").trim()===j;}T<2&&(D=false);}if(D){d.push({selector:y,attribute:"role",currentValue:x.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:k.length,cols:S,nearbyHeading:E.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:(x.outerHTML||"").slice(0,300)});continue}let L=null,P=x.querySelectorAll("thead");for(let v=0;v<P.length;v++)if(P[v].closest("table")===x){L=P[v];break}let q=L&&L.querySelector("tr")!==null,M=false;for(let v=0;v<k.length&&!M;v++){let T=k[v].children;for(let I=0;I<T.length&&!M;I++){let H=T[I],j=(H.tagName||"").toLowerCase();if(j!=="td"&&j!=="th")continue;if(j==="th"){M=true;break}let G=(H.getAttribute("headers")||"").trim();if(!G)continue;let K=G.split(/\s+/);for(let Z=0;Z<K.length;Z++){let ae=document.getElementById(K[Z]);if(ae&&(ae.tagName||"").toLowerCase()==="th"&&ae.closest("table")===x){M=true;break}}}}if(!q&&!M&&d.length<30&&d.push({selector:y,attribute:"thead",currentValue:L?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:L?"<thead> has no <tr>":"no <thead> element",rows:k.length,cols:S,nearbyHeading:E.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(x.outerHTML||"").slice(0,300)}),S>2){let v=F.querySelectorAll("th, td"),T=v.length>0;for(let I=0;I<v.length;I++)if((v[I].tagName||"").toLowerCase()!=="td"){T=false;break}if(T)for(let I=0;I<v.length&&!(d.length>=30);I++){let H=v[I],j=uniqueSel(H),G=(H.textContent||"").trim().slice(0,60);d.push({selector:j,attribute:"role",currentValue:H.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:G,colIndex:I,nearbyHeading:E.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(H.outerHTML||"").slice(0,300)});}}let $=[],N=[],U=new Map;for(let v=0;v<k.length;v++){let T=k[v],I=0;for(let H=0;H<T.children.length;H++){let j=T.children[H],G=(j.tagName||"").toLowerCase();if(G!=="td"&&G!=="th")continue;for(;$.some(ee=>ee.lane===I&&ee.untilRow>v);)I++;let K=parseInt(j.getAttribute("colspan")||"1",10);(isNaN(K)||K<1)&&(K=1);let Z={rowIdx:v,lane:I,span:K,headers:(j.getAttribute("headers")||"").trim()};G==="td"?N.push(Z):U.set(j,Z);let ae=parseInt(j.getAttribute("rowspan")||"1",10)||1;if(ae>1)for(let ee=0;ee<K;ee++)$.push({lane:I+ee,untilRow:v+ae});I+=K;}}let Q=(v,T)=>T.lane<v.lane+v.span&&T.lane+T.span>v.lane,C=x.querySelectorAll("th");for(let v=0;v<C.length&&!(d.length>=30);v++){let T=C[v];if(T.closest("table")!==x)continue;let I=(T.getAttribute("scope")||"").trim().toLowerCase();if(I==="col"||I==="row"||I==="colgroup"||I==="rowgroup")continue;let H=false;if((T.getAttribute("headers")||"").trim())H=true;else {let he=(T.getAttribute("id")||"").trim();if(he)for(let Te=0;Te<N.length;Te++){let Ge=N[Te].headers;if(Ge&&Ge.split(/\s+/).indexOf(he)!==-1){H=true;break}}}if(H)continue;let j=T.closest("tr"),G=T.closest("thead")!==null,K=false;j&&k.length>0&&k[0]===j&&(K=true);let Z=false;if(j){let he=j.querySelectorAll("th, td");he.length>0&&he[0]===T&&(Z=true);}let ae="col";G||K?ae="col":Z&&(ae="row");let ee=U.get(T);if(!H&&ee){if(ae==="row")H=N.some(he=>he.rowIdx===ee.rowIdx&&!he.headers&&he.lane>=ee.lane+ee.span);else if(H=N.some(he=>he.rowIdx>ee.rowIdx&&!he.headers&&Q(ee,he)),!H)for(let he=0;he<C.length;he++){let Te=U.get(C[he]);if(!Te||Te.rowIdx<=ee.rowIdx||!Q(ee,Te))continue;let Ge=k[Te.rowIdx],Be=Ge?Ge.children:[];if(Be.length>0&&Be[0]===C[he]&&C[he].closest("table")===x){H=true;break}}}if(H)continue;let ce=uniqueSel(T),ke=(T.textContent||"").trim().slice(0,60);d.push({selector:ce,attribute:"scope",currentValue:I,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ae,inThead:G,firstRow:K,firstCol:Z,headerText:ke}),needsAI:false,fixValue:ae,outerHtml:(T.outerHTML||"").slice(0,300)});}}return d},mh={name:"dataTables",cap:30,async detect(f){return f.evaluate(X3)}};var Y3=()=>{let d=[];for(let h of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let g=h;if((g.getAttribute("alt")||"").trim()!=="")continue;let p=(g.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!p||isWidget(g))continue;let w=(g.getAttribute("role")||"").toLowerCase();w==="presentation"||w==="none"||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]')||(g.getAttribute("aria-label")||"").trim()||(g.getAttribute("aria-labelledby")||"").trim()||isVisible(g)&&d.push({selector:uniqueSel(g),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:(g.outerHTML||"").slice(0,300)});}return d},hh={name:"decorativeImageTitle",cap:30,async detect(f){return f.evaluate(Y3)}};var K3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,h=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],w=document.querySelectorAll("a");for(let _ of w){if(p.length>=50)break;if(_.closest(f)||_.getAttribute("aria-hidden")==="true"||_.getAttribute("role")==="presentation"||_.closest('[aria-hidden="true"]')||!isVisible(_))continue;let x=getAccessibleName(_);if(x&&x.length>0&&!h.test(x)&&!d.test(x))continue;let k=_.querySelectorAll("img[alt]"),F="";for(let U of k){let Q=(U.getAttribute("alt")||"").trim();Q&&(F+=Q+" ");}if(F.trim())continue;let S=_.getAttribute("aria-labelledby");if(S&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(S))continue;let y=uniqueSel(_),E=_.getAttribute("href")||"",D=(_.textContent||"").trim(),L=getNearbyContext(_),P="";D&&h.test(D)?P="[whitespace only]":D&&d.test(D)&&(P=D);let q="",M=true;if(E&&E!=="#"&&!E.startsWith("javascript:")){if(E.startsWith("mailto:")){let U=E.slice(7).split("?")[0];U&&U.includes("@")&&(q="Email "+U,M=false);}else if(E.startsWith("tel:")){let U=E.slice(4);try{U=decodeURIComponent(U);}catch{}U=U.replace(/^\+/,"").trim(),U&&(q="Call "+U,M=false);}}let $=[];_.closest("nav")&&$.push("inside nav"),L.nearbyHeading&&$.push("heading: "+L.nearbyHeading),E&&$.push("href: "+E.slice(0,120)),$.push("parent: "+L.parentTag);let N={selector:y,attribute:"aria-label",currentValue:P,issueType:"empty_link",wcag:"2.4.4",context:$.join(" | "),needsAI:M,outerHtml:_.outerHTML.slice(0,300)};!M&&q&&(N.fixValue=q),p.push(N);}return p},gh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(K3)}};var J3=()=>{let d=[],h=new Set;function g(S){return (S||"").trim()}function p(S){let y=g(S.getAttribute("aria-label")||"");if(y)return y;let E=S.getAttribute("aria-labelledby");if(E){let L=E.split(/\s+/),P="";for(let q=0;q<L.length;q++){let M=document.getElementById(L[q]);M&&(P+=" "+(M.textContent||""));}if(g(P))return g(P)}let D=g(S.getAttribute("title")||"");return D||""}let w=document.querySelectorAll("fieldset");for(let S=0;S<w.length&&!(d.length>=30);S++){let y=w[S];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;if(p(y)){h.add(y);continue}let E=null,D=y.querySelectorAll("legend");for(let N=0;N<D.length;N++)if(D[N].closest("fieldset")===y){E=D[N];break}let L=E!==null,P=E?g(E.textContent||""):"";if(L&&P){h.add(y);continue}let q=getNearbyContext(y),M=y.querySelectorAll("input, select, textarea"),$=uniqueSel(y);d.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:L?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:M.length,nearbyHeading:q.nearbyHeading,parentTag:q.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),h.add(y);}let _=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let S=0;S<_.length&&!(d.length>=30);S++){let y=_[S];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y)||h.has(y))continue;if(p(y)){h.add(y);continue}let E=y.getAttribute("role")||"",D=getNearbyContext(y),L=y.querySelectorAll("input, select, textarea");if(E==="group"&&y.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 P=uniqueSel(y);d.push({selector:P,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+E+'" container without accessible name',role:E,controlCount:L.length,nearbyHeading:D.nearbyHeading,parentTag:D.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)}),h.add(y);}let x={},k=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let S=0;S<k.length;S++){let y=k[S];if(isWidget(y)||!isVisible(y)||isHiddenFromAT(y))continue;let E=y.getAttribute("name")||"";if(!E)continue;let D=y.closest("form"),L=D?D.getAttribute("id")||D.getAttribute("action")||D.tagName:"no-form",P=(y.getAttribute("type")||"").toLowerCase(),q=L+"::"+P+"::"+E;x[q]||(x[q]=[]),x[q].push(y);}let F=Object.keys(x);for(let S=0;S<F.length&&!(d.length>=30);S++){let y=x[F[S]];if(y.length<3)continue;let E=y[0],D=E.closest('fieldset, [role="group"], [role="radiogroup"]'),L=false;if(D){L=true;for(let U=1;U<y.length;U++)if(!D.contains(y[U])){L=false;break}}if(L&&D)continue;let P=E.parentElement;for(;P&&P!==document.body;){let U=true;for(let Q=1;Q<y.length;Q++)if(!P.contains(y[Q])){U=false;break}if(U)break;P=P.parentElement;}if(!P||P===document.body||h.has(P))continue;let q=(E.getAttribute("type")||"").toLowerCase(),M=E.getAttribute("name")||"",$=getNearbyContext(E),N=uniqueSel(P);d.push({selector:N,attribute:"role",currentValue:P.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+q+" group ("+y.length+' inputs share name="'+M+'")',inputType:q,inputCount:y.length,name:M,nearbyHeading:$.nearbyHeading,parentTag:$.parentTag}),needsAI:false,fixValue:q==="radio"?"radiogroup":"group",outerHtml:(P.outerHTML||"").slice(0,300)}),h.add(P);}return d},vh={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(J3)}};var Z3=()=>{let f=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),h=0;for(let g of Array.from(d)){let p=getComputedStyle(g);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let w=g.getBoundingClientRect();if(w.top>50||w.bottom<=0)continue;let _=Math.round(w.height);_<40||_>240||_>h&&(h=_);}if(h>0){let g=window.scrollX,p=window.scrollY,w=0,_=0;try{let k=[],F=new Set;document.querySelectorAll('a[href^="#"]').forEach(S=>{let y=S.getAttribute("href").slice(1);if(!y)return;let E=document.getElementById(y);E&&!F.has(E)&&(F.add(E),k.push(E));});for(let S of k){if(_>=8)break;let y=getComputedStyle(S);if(y.display==="none"||y.visibility==="hidden")continue;_++,S.scrollIntoView({block:"start"});let E=S.getBoundingClientRect(),D=Math.max(E.height,1);Math.max(0,Math.min(E.bottom,h)-Math.max(E.top,0))/Math.min(D,h)>=.5&&w++;}}catch{}try{window.scrollTo(g,p);}catch{}let x=`scroll-margin-top: ${h+8}px; scroll-padding-top: ${h+8}px;`;_>0&&w>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}px \u2014 ${w}/${_} in-page anchor targets land under it on jump`,needsAI:false,fixValue:x}):_===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${h}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:x});}return f},bh={name:"focusObscured",async detect(f){return f.evaluate(Z3)}};var yh={name:"focusVisible",cap:40,async detect(f){let d=typeof f.keyboard?.press=="function";try{await f.evaluate(()=>{let h=document.activeElement;window[Symbol.for("wa.prevFocus")]=h&&h!==document.body&&h!==document.documentElement?h:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let g=getSelection();window[Symbol.for("wa.prevSelection")]=g?Array.from({length:g.rangeCount},(p,w)=>g.getRangeAt(w).cloneRange()):[];});}catch{}if(d)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(h=>{let p=[],w=["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 _=document.querySelectorAll(w),x=Symbol.for("wa.prevFocus"),k=window[x]??null;try{delete window[x];}catch{}for(let F of _){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(F)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(F)||typeof isVisible=="function"&&!isVisible(F)||!F.offsetParent&&F.tagName!=="BODY")continue;let S=getComputedStyle(F),y=S.outline,E=S.outlineWidth,D=S.outlineStyle,L=S.boxShadow,P=S.border,q=S.backgroundColor;try{F.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==F)continue;let M=getComputedStyle(F),$=M.outline,N=(M.outlineStyle||"").toLowerCase(),U=parseFloat(M.outlineWidth||"0"),Q=M.boxShadow,C=M.border,v=M.backgroundColor,T=$!==y,I=N!=="none"&&N!=="hidden"&&U>0;if(T&&I||Q!==L&&Q!=="none"&&Q!==""||C!==P||v!==q||parseFloat(E)>0&&D!=="none")continue;let Z=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();p.push({selector:Z,pseudo:":focus-visible",attribute:"style",currentValue:D+" "+E,issueType:"focus_not_visible",wcag:"2.4.7",context:`${F.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:F.outerHTML.slice(0,200),...h?{}:{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{k&&k.isConnected&&k.focus({preventScroll:!0});}catch{}try{let F=Symbol.for("wa.prevScroll"),S=window[F];delete window[F],S&&window.scrollTo({left:S[0],top:S[1],behavior:"instant"});}catch{}try{let F=Symbol.for("wa.prevSelection"),S=window[F];delete window[F];let y=getSelection();if(y&&S){y.removeAllRanges();for(let E of S)y.addRange(E);}}catch{}return p},d)}};var Q3=()=>{let d=[],h=["new","register","signup","sign-up","sign_up","create","change","reset"],g=["confirm","verify","retype","re-type","repeat","again"];function p(y){if(!y)return false;let E=" "+((y.getAttribute("id")||"")+" "+(y.getAttribute("class")||"")+" "+(y.getAttribute("name")||"")+" "+(y.getAttribute("action")||"")).toLowerCase()+" ";for(let D=0;D<h.length;D++)if(E.indexOf(h[D])!==-1)return true;return false}function w(y){let E=((y.getAttribute("name")||"")+" "+(y.getAttribute("id")||"")+" "+(y.getAttribute("placeholder")||"")+" "+(y.getAttribute("aria-label")||"")).toLowerCase();for(let D=0;D<g.length;D++)if(E.indexOf(g[D])!==-1)return true;return false}let _=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let y of _){if(d.length>=30)break;let E=y;if(isWidget(E)||isHiddenFromAT(E)||!isVisible(E))continue;let D=(E.getAttribute("autocomplete")||"").trim().toLowerCase();if(w(E)){if(D==="new-password")continue;let $=uniqueSel(E);d.push({selector:$,attribute:"autocomplete",currentValue:D,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(E.getAttribute("name")||"")+" | id: "+(E.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(E.outerHTML||"").slice(0,300)});continue}if(D)continue;let P=E.form||E.closest("form"),q=p(P),M=uniqueSel(E);d.push({selector:M,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(q?"new/signup/change password form":"login form")+" | name: "+(E.getAttribute("name")||"")+" | id: "+(E.getAttribute("id")||""),needsAI:false,fixValue:q?"new-password":"current-password",outerHtml:(E.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll("form"),k=/\*|\brequired\b|\bmandatory\b/i;for(let y of x){if(d.length>=30)break;let E=y;if(isWidget(E)||!isVisible(E))continue;let D=E.querySelectorAll("input[required], select[required], textarea[required]");if(!D.length)continue;let L=0;for(let N of D)isVisible(N)&&L++;if(L===0)continue;let P=E.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),q=0;for(let N of P)isVisible(N)&&q++;if(L>=q||(E.getAttribute("data-asw-required-hint")||"").trim())continue;let M=(E.textContent||"").trim();if(k.test(M))continue;let $=uniqueSel(E);d.push({selector:$,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${L} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}let F='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',S='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let y of x){if(d.length>=30)break;let E=y;if(isWidget(E)||!isVisible(E)||isHiddenFromAT(E))continue;let D=[];for(let N of E.querySelectorAll(S))isVisible(N)&&D.push(N);if(D.length===0||E.querySelector(F))continue;let L=E.getAttribute("id");if(L){let N=false;for(let U of document.querySelectorAll(F))if(U.getAttribute("form")===L){N=true;break}if(N)continue}if(((E.getAttribute("role")||"").toLowerCase()==="search"||!!E.closest('[role="search"]'))&&D.length===1)continue;let q=D.slice(0,4).map(N=>N.tagName.toLowerCase()+(N.tagName==="INPUT"?"["+(N.getAttribute("type")||"text")+"]":"")).join(", "),M=[];for(let N of E.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(M.length>=3)break;let U=N;if(!isVisible(U))continue;let Q=((U.tagName==="INPUT"?U.getAttribute("value"):U.textContent)||U.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);M.push('"'+Q+'"');}if(M.length&&!(E.getAttribute("action")||"").trim())continue;let $=M.length?" Buttons present that are not a submit control (type=button or role=button): "+M.join(", ")+".":"";d.push({selector:uniqueSel(E),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${D.length} visible field(s) (${q}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+D.length+" visible field(s) ("+q+") 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."+$,outerHtml:(E.outerHTML||"").slice(0,300)});}return d},wh={name:"formAttributes",cap:30,async detect(f){return f.evaluate(Q3)}};var eI=()=>{let f=document.documentElement;return f?(f.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},xh={name:"htmlLang",async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=[{host:"youtube.com",title:"YouTube video"},{host:"youtube-nocookie.com",title:"YouTube video"},{host:"youtu.be",title:"YouTube video"},{host:"vimeo.com",title:"Vimeo video"},{host:"maps.google.com",title:"Google Maps"},{host:"google.com",path:/^\/maps(\/|$)/,title:"Google Maps"},{host:"pay.google.com",title:"Google Pay"},{host:"google.com",path:/^\/recaptcha\//,title:"reCAPTCHA verification"},{host:"recaptcha.net",title:"reCAPTCHA verification"},{host:"facebook.com",title:"Facebook widget"},{host:"twitter.com",title:"Twitter widget"},{host:"x.com",title:"Twitter widget"},{host:"instagram.com",title:"Instagram widget"},{host:"calendly.com",title:"Scheduling widget"}],p=x=>{let k;try{k=new URL(x,location.href);}catch{return null}let F=k.hostname.toLowerCase();for(let S of g)if((F===S.host||F.endsWith("."+S.host))&&(!S.path||S.path.test(k.pathname)))return S.title;return null},w=/^(iframe|embed|widget|frame|content|untitled)$/i,_=document.querySelectorAll("iframe");for(let x of _){if(h.length>=50)break;if(x.closest(f))continue;let k=false;for(let v=x;v;v=v.parentElement)if((v.getAttribute("aria-hidden")||"").trim()==="true"){k=true;break}let F=(x.getAttribute("role")||"").trim().toLowerCase();if(k||F==="presentation"||F==="none"||x.closest("[inert]"))continue;let S=/^[\t\n\f\r ]*([-+]?\d+)/.exec(x.getAttribute("tabindex")||"");if(S&&parseInt(S[1],10)<0)continue;let y=getComputedStyle(x);if(x.getClientRects().length===0||y.visibility==="hidden"||y.visibility==="collapse"||(x.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let E="",D=(x.getAttribute("aria-labelledby")||"").trim();if(D){let v=D.split(/\s+/);for(let T=0;T<v.length;T++){let I=document.getElementById(v[T]);I&&(E+=" "+(I.textContent||""));}E=E.trim();}if(E||(E=(x.getAttribute("aria-label")||"").trim()),E)continue;let L=(x.getAttribute("title")||"").trim(),P=L.length===0,q=!P&&(L.length<3||w.test(L));if(!P&&!q)continue;let M=(x.getAttribute("src")||"").toLowerCase(),$=uniqueSel(x),N=getNearbyContext(x),U="src: "+M.slice(0,120)+(N.nearbyHeading?" | heading: "+N.nearbyHeading:""),Q=p(x.getAttribute("src")||""),C=Q!==null;Q&&h.push({selector:$,attribute:"title",currentValue:L,issueType:"missing_label",wcag:"4.1.2",context:U,needsAI:false,fixValue:Q,outerHtml:x.outerHTML.slice(0,300)}),!C&&P&&h.push({selector:$,attribute:"title",currentValue:L,issueType:"missing_label",wcag:"4.1.2",context:U,needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return h},Dh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],g=[],p={email:"email",tel:"tel",password:"current-password"},w=[{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"}],_=document.querySelectorAll("input, select, textarea");for(let x of _){if(g.length>=50)break;if(x.closest(f))continue;let k=x,F=(k.getAttribute("type")||"text").toLowerCase();if(d.includes(F)||k.getAttribute("autocomplete")||!isVisible(k))continue;let S="";if(p[F]&&(S=p[F]),!S){let E=(k.getAttribute("name")||"").toLowerCase(),D=(k.getAttribute("id")||"").toLowerCase(),L=(k.getAttribute("placeholder")||"").toLowerCase(),P=E+" "+D+" "+L;for(let q of w)if(P.includes(q.pattern)){S=q.autocomplete;break}}if(!S)continue;if(S==="country"){let E=false;if(k.tagName==="SELECT"){let D=Array.from(k.options).map(L=>(L.value||"").trim()).filter(Boolean);E=D.length>0&&D.every(L=>/^[A-Za-z]{2}$/.test(L));}E||(S="country-name");}let y=uniqueSel(k);g.push({selector:y,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+F+" | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:S});}return g},_h={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(rI)}};var nI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=['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(E){let D=E.getBoundingClientRect();if(D.width===0&&D.height===0)return false;let L=-window.scrollX,P=-window.scrollY,q=document.documentElement,M=getComputedStyle(E).position;if(M==="fixed")return false;let $=M==="absolute";for(let N=E.parentElement;N&&N!==document.body&&N!==q;N=N.parentElement){let U=getComputedStyle(N);if($){if(U.position==="static")continue;$=false;}if(/auto|scroll/.test(U.overflowX+" "+U.overflowY))return false;let Q=U.overflowX==="hidden"||U.overflowX==="clip",C=U.overflowY==="hidden"||U.overflowY==="clip";if(!Q&&!C)continue;let v=N.getBoundingClientRect();if(Q&&(D.right<=v.left||D.left>=v.right)||C&&(D.bottom<=v.top||D.top>=v.bottom))return true;if(M=U.position,M==="fixed")return false;M==="absolute"&&($=true);}return D.right<=L||D.bottom<=P||D.left>=L+q.scrollWidth||D.top>=P+q.scrollHeight}let w='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',_='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"]',x='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function k(E){if(E.tagName==="A"){let L=E.href;if(L){for(let P of document.querySelectorAll("a[href]"))if(!(P===E||P.href!==L||P.tabIndex<0)&&!P.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(P)))return "another focusable link to the same href exists"}}if(E.closest(w))return "inside a slider / carousel / tablist that manages its own tab order";if(E.hasAttribute("aria-controls")||E.hasAttribute("aria-selected"))return "carries aria-controls / aria-selected (a widget manages its state)";if(E.closest('[inert],[aria-hidden="true"]'))return "inside an inert or aria-hidden container";let D=E.parentElement?.closest(_);if(D){let L=0;for(let P of D.querySelectorAll(x))P!==E&&P.getAttribute("tabindex")?.trim()==="-1"&&L++;if(L>=2)return `${L} other controls in the same <${D.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let L=E.parentElement;L&&L!==document.body&&!L.matches(x);L=L.parentElement){let P=parseInt(L.getAttribute("tabindex")||"",10);if(!Number.isFinite(P)||P<0)continue;let q=[...L.querySelectorAll(x)];if(q.length>=2&&q.every(M=>M.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let F=document.querySelectorAll(g);for(let E of F){if(h.length>=30)break;if(E.closest(f)||!E.hasAttribute("tabindex"))continue;let D=E.getAttribute("tabindex")||"",L=parseInt(D,10);if(!Number.isFinite(L)||L===0||E.getAttribute("aria-disabled")==="true"||E.getAttribute("aria-hidden")==="true"||E.closest('[aria-hidden="true"]')||E.closest("[hidden]"))continue;let P=E.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(P&&!(P.hasAttribute("open")||P.getAttribute("aria-modal")==="true"||P.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(E)||L<0&&p(E))continue;let q=(E.getAttribute("role")||"").toLowerCase();if(L<0&&E.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(L<0&&E.tagName==="A"){if((E.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let T=(E.getAttribute("href")||"").trim();if(T&&!T.includes("#"))try{let I=new URL(T,document.baseURI),H=new URL(location.href);if(I.hash="",H.hash="",I.href===H.href)continue}catch{}}let $=typeof uniqueSel=="function"?uniqueSel(E):"",N=typeof getNearbyContext=="function"?getNearbyContext(E):{parentTag:E.tagName.toLowerCase(),nearbyHeading:""},U,Q,C=L<0?k(E):"";L<0?(U="keyboard_trap",Q="2.1.1"):(U="focus_order_disruption",Q="2.4.3");let v=[];v.push("tabindex: "+L),v.push("tag: "+E.tagName.toLowerCase()),q&&v.push("role: "+q),N.nearbyHeading&&v.push("heading: "+N.nearbyHeading),v.push("parent: "+N.parentTag),C&&v.push('author tabindex="-1" looks intentional: '+C),h.push({selector:$,attribute:"tabindex",currentValue:String(L),issueType:U,wcag:Q,context:v.join(" | "),needsAI:false,fixValue:"0",...C?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${C}); tabindex="0" could add a duplicate or out-of-sync tab stop. Confirm the control must be reachable on its own before applying.`}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}let S=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,y=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let E of document.querySelectorAll("[onblur]")){if(h.length>=30)break;if(E.closest(f))continue;let D=E.getAttribute("onblur")||"";!S.test(D)||y.test(D)||E.matches('[disabled], [aria-disabled="true"]')||E.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(E)||h.push({selector:typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase(),attribute:"onblur",currentValue:D.slice(0,100),issueType:"keyboard_trap_self_focus",wcag:"2.1.2",context:"tag: "+E.tagName.toLowerCase()+" | onblur returns focus to the same element, so keyboard focus cannot leave it",needsAI:false,outerHtml:(E.outerHTML||"").slice(0,300)});}return h},Ah={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(nI)}};var aI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],p=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let w of Array.from(p)){if(h.length>=40)break;if(w.closest(f)||typeof isVisible=="function"&&!isVisible(w))continue;let _="",x=[],k=[];try{let C=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,v=/icon|awesome|glyph|material symbols|dashicons/i,T=!1;try{T=v.test(getComputedStyle(w).fontFamily||"");}catch{}let I=Be=>parseFloat(Be||"0")||0,H=Be=>{if(Be.hasAttribute("hidden"))return !0;let we=(Be.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(we)||/clip-path:inset\((50|100)%/.test(we))return !0;if(/position:(absolute|fixed)/.test(we)){if(/(width|height):[01](px)?(;|!|$)/.test(we))return !0;let _e=we.match(/(?:left|top):(-\d+)/);if(_e&&parseInt(_e[1],10)<=-999)return !0}return !1},j=(Be,we)=>{if(Be.hasAttribute("hidden")||I(we.fontSize)===0)return !0;let _e=(we.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(_e)||/inset\((50|100)%\)/.test(we.clipPath||""))return !0;let Rt=Be.getBoundingClientRect();return !!(/hidden|clip/.test(we.overflow||we.overflowX+" "+we.overflowY)&&(Rt.width<=1||Rt.height<=1)||(we.position==="absolute"||we.position==="fixed")&&(I(we.left)<=-999||I(we.top)<=-999||Rt.right<=0||Rt.bottom<=-window.scrollY))},G=!1,K=w.querySelector('h1, h2, h3, h4, h5, h6, [role="heading"]'),Z=!!K&&!K.closest('[aria-hidden="true"]')&&/[\p{L}\p{N}]/u.test(K.innerText||""),ae=0;try{ae=I(getComputedStyle(w).fontSize);}catch{}let ee=Be=>{if(!Z||K.contains(Be))return !1;for(let we=Be;we&&we!==w;we=we.parentElement)if(we.tagName==="TIME"||we.tagName==="SMALL")return !0;try{let we=I(getComputedStyle(Be).fontSize);return ae>0&&we>0&&we<ae}catch{return !1}},ce=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),ke;for(;ke=ce.nextNode();){let Be=ke.parentElement;if(!Be)continue;let we=(ke.textContent||"").trim();if(!we||Be===w&&T)continue;let _e=!1,Rt=!1;for(let dt=Be;dt&&dt!==w;dt=dt.parentElement){if(dt.tagName==="KBD"&&(Rt=!0),dt.getAttribute("aria-hidden")==="true"){_e=!0;break}if(C.test(dt.getAttribute("class")||"")||C.test(dt.getAttribute("id")||"")){_e=!0;break}try{let $e=getComputedStyle(dt);if($e.display==="none"||$e.visibility==="hidden"){_e=!0;break}if(parseFloat($e.opacity||"1")===0){_e=!0;break}if(v.test($e.fontFamily||"")){_e=!0;break}if(j(dt,$e)){_e=!0;break}}catch{if(H(dt)){_e=!0;break}dt.tagName==="SPAN"&&(G=!0);}}!_e&&/[\p{L}\p{N}]/u.test(we)&&!ee(Be)&&k.push({text:we,kbd:Rt});}let he=0,Te=k.length;for(;he<Te&&k[he].kbd;)he++;for(;Te>he&&k[Te-1].kbd;)Te--;let Ge=he<Te?k.slice(he,Te):k;for(let Be of Ge)x.push(Be.text);_=G?"":x.join(" ").trim().toLowerCase();}catch{_=((w.innerText!=null?w.innerText:w.textContent)||"").trim().toLowerCase();}if(!_||!/[\p{L}\p{N}]/u.test(_)||/^\p{L}$/u.test(_))continue;let S=/[\p{L}\p{N}\p{M}]/u,y=(w.getAttribute("aria-label")||"").trim().toLowerCase();if(!y){let C=w.getAttribute("aria-labelledby");C&&(y=(typeof __resolveIdRefs=="function"?__resolveIdRefs(C):"").toLowerCase());}if(!y)continue;let E=C=>{let v=C.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(v)?v:C.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},D=E(y),L=/[\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,P=(C,v)=>!C||!S.test(C)||L.test(C)||L.test(v),q=(C,v)=>{if(v<=0)return "";let T=C.charCodeAt(v-1);return T>=56320&&T<=57343&&v>=2?C.slice(v-2,v):C.charAt(v-1)},M=(C,v)=>{let T=C.codePointAt(v);return T===void 0?"":String.fromCodePoint(T)},$=C=>{let v=C.substring(0,40);if(!v)return true;let T=C.length>=40,I=M(v,0),H=q(v,v.length);for(let j=0;;){let G=D.indexOf(v,j);if(G<0)return false;if(P(q(D,G),I)&&(T||P(M(D,G+v.length),H)))return true;j=G+1;}};if($(E(_))||x.length>1&&$(E(x.join(""))))continue;if(x.length>1){let C=true,v=0;for(let T of x){let I=E(T.toLowerCase());if(!I)continue;let H=I.slice(0,40),j=-1;for(let G=v;;){let K=D.indexOf(H,G);if(K<0)break;let Z=P(q(D,K),M(H,0)),ae=H.length>=40||P(M(D,K+H.length),q(H,H.length));if(Z&&ae){j=K;break}G=K+1;}if(j<0){C=false;break}v=j+H.length;}if(C)continue}let N=typeof uniqueSel=="function"?uniqueSel(w):"",U=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},Q=[];Q.push("visible: "+_.slice(0,40)),Q.push("aria-label: "+y.slice(0,60)),U.nearbyHeading&&Q.push("heading: "+U.nearbyHeading),Q.push("parent: "+U.parentTag),h.push({selector:N,attribute:"aria-label",currentValue:y,issueType:"label_in_name",wcag:"2.5.3",context:Q.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return h},Eh={name:"labelInName",cap:40,async detect(f){return f.evaluate(aI)}};var iI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",h=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],g=[];function p(S){if(!S)return "";let y=S.split("#")[0];return y.length>1&&y.charAt(y.length-1)==="/"&&(y=y.substring(0,y.length-1)),y}function w(S){let y=(S.getAttribute("aria-label")||"").trim();return y||(S.textContent||"").trim().replace(/\s+/g," ")}function _(S){return !!S.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let x={},k=document.querySelectorAll("a[href]");for(let S=0;S<k.length;S++){let y=k[S];if(y.closest(f)||y.getAttribute("aria-hidden")==="true"||!isVisible(y))continue;let E=y.getAttribute("href")||"";if(!E)continue;let D=E.toLowerCase();if(D.charAt(0)==="#"||D.indexOf("javascript:")===0||D.indexOf("mailto:")===0||D.indexOf("tel:")===0)continue;let L=y.href||E,P=p(L);if(!P||_(y))continue;let q=(y.textContent||"").trim(),M=!!y.querySelector("img, svg, picture");if(!q&&M)continue;let $=w(y);if(!$)continue;let N=$.toLowerCase();N===D||N===L.toLowerCase()||(x[P]||(x[P]=[]),x[P].push(y));}let F=Object.keys(x);for(let S=0;S<F.length&&!(g.length>=30);S++){let y=x[F[S]];if(!y||y.length<2)continue;let E={},D="";for(let M=0;M<y.length;M++){let $=w(y[M]),N=$.toLowerCase();E[N]=true,$.length>D.length&&(D=$);}if(Object.keys(E).length<2)continue;let P=D.toLowerCase().trim();if(P.length<5)continue;let q=false;for(let M=0;M<h.length;M++)if(P===h[M]){q=true;break}if(!q)for(let M=0;M<y.length&&!(g.length>=30);M++){let $=y[M],N=w($);if(N.toLowerCase()===P)continue;let U=uniqueSel($);g.push({selector:U,attribute:"aria-label",currentValue:N,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+y.length+' link(s) on this page with different text (e.g. "'+D.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:$.outerHTML.slice(0,300)});}}return g},Ch={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(iI)}};var oI=()=>{let d=[],h=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],g={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function w(L,P){if(!L||!P)return false;if(L===P||L.endsWith("."+P)||P.endsWith("."+L))return true;let q=M=>{let $=M.split(".");if($.length<=2)return M;let N=$[$.length-1],U=$[$.length-2],Q=["co","com","net","org","ac","gov","edu"],C=N.length===2&&Q.indexOf(U)>=0?3:2;return $.slice(-C).join(".")};return q(L)===q(P)}function _(L){return L.indexOf("www.")===0?L.slice(4):L}function x(L){if(!L)return "";let P=L.toLowerCase();if(P.charAt(0)==="#"||P.charAt(0)==="/"||P.charAt(0)==="?"||P.indexOf("javascript:")===0||P.indexOf("mailto:")===0||P.indexOf("tel:")===0)return "";try{return (new window.URL(L,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function k(L){if(!L)return "";let P=L,q=P.indexOf("?");q>=0&&(P=P.slice(0,q));let M=P.indexOf("#");M>=0&&(P=P.slice(0,M)),P=P.toLowerCase();for(let $=0;$<h.length;$++){let N=h[$];if(P.length>=N.length&&P.slice(P.length-N.length)===N)return N}return ""}function F(L){let P=[],q=(L.getAttribute("aria-label")||"").trim();q&&P.push(q);let M=(L.getAttribute("title")||"").trim();M&&P.push(M);let $=L.getAttribute("aria-labelledby");if($)try{let N=typeof __resolveIdRefs=="function"?__resolveIdRefs($):"";N&&P.push(N);}catch{}return P.push((L.textContent||"").trim()),P.join(" ").toLowerCase()}function S(L,P,q){let M="";try{typeof getAccessibleName=="function"&&(M=(getAccessibleName(L)||"").trim());}catch{}let $=(P||q||M||L.textContent||"").replace(/\s+/g," ").trim();return $||(L.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function y(L,P){let M=200-P.length;M<8&&(M=8);let $=L;if($.length>M){let N=$.slice(0,M),U=N.lastIndexOf(" ");U>M*.6&&(N=N.slice(0,U)),$=N.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return ($+P).slice(0,200)}let E=document.querySelectorAll("a"),D=E.length;for(let L=0;L<D&&!(d.length>=50);L++){let P=E[L];if(!P||isWidget(P)||P.getAttribute("aria-hidden")==="true")continue;try{if(P.closest&&P.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(P))continue;let q=P.getAttribute("href");if(q==null)continue;let M=String(q).trim();if(!M)continue;let $=M.toLowerCase(),N=F(P),U=(P.getAttribute("rel")||"").toLowerCase(),Q=uniqueSel(P),C=(P.getAttribute("target")||"").toLowerCase(),v=(P.outerHTML||"").slice(0,300);if(M==="#"||$.indexOf("javascript:")===0||M.charAt(0)==="#"&&M.length>1)continue;let T=k($);if(T){let G=P.hasAttribute&&P.hasAttribute("download"),K=(g[T]||T).toLowerCase(),Z=N.indexOf(T)>=0||N.indexOf(K)>=0||N.indexOf("download")>=0;if(!G&&!Z){let ae=S(P,(P.getAttribute("aria-label")||"").trim(),""),ee=y(ae," ("+(g[T]||T)+" download)");d.push({selector:Q,attribute:"aria-label",currentValue:(P.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+T+" | href: "+M.slice(0,120),needsAI:false,fixValue:ee,outerHtml:v});continue}}let I=x(M),H=$.indexOf("http://")===0||$.indexOf("https://")===0||$.indexOf("//")===0,j=!!I&&!!p&&!w(_(I),_(p));if(C==="_blank"){let G=U.indexOf("noopener")>=0||U.indexOf("noreferrer")>=0,K=N.indexOf("new window")>=0||N.indexOf("new tab")>=0||N.indexOf("opens in")>=0;if(!K){let Z=(P.getAttribute("aria-label")||"").trim(),ae="",ee=P.getAttribute("aria-labelledby")||"";if(!Z&&ee)try{typeof __resolveIdRefs=="function"&&(ae=(__resolveIdRefs(ee)||"").trim());}catch{}let ce=S(P,Z,ae),ke=y(ce," (opens in new window)"),he=[];G||he.push("missing rel=noopener"),K||he.push('missing "new window" hint'),he.push("href: "+M.slice(0,120)),d.push({selector:Q,attribute:"aria-label",currentValue:(P.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:he.join(" | "),needsAI:false,fixValue:ke,outerHtml:v});continue}}if(j&&H){let G=U.indexOf("external")>=0,K=N.indexOf("external")>=0||N.indexOf("opens in")>=0||N.indexOf("new window")>=0||N.indexOf("new tab")>=0;if(!G&&!K){let Z=(P.getAttribute("aria-label")||"").trim(),ae="",ee=P.getAttribute("aria-labelledby")||"";if(!Z&&ee)try{typeof __resolveIdRefs=="function"&&(ae=(__resolveIdRefs(ee)||"").trim());}catch{}let ce=S(P,Z,ae),ke=y(ce," (external link)");d.push({selector:Q,attribute:"aria-label",currentValue:(P.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+I+" (page: "+p+") | href: "+M.slice(0,120),needsAI:false,fixValue:ke,outerHtml:v});}}}return d},Sh={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],g=new Set,p=document.querySelectorAll('main, [role="main"]'),w=[];return p.forEach(_=>{let x=getComputedStyle(_);x.display!=="none"&&x.visibility!=="hidden"&&w.push(_);}),p.forEach(_=>{if(h.length>=10||_.closest(f)||_.getAttribute("aria-hidden")!=="true")return;let x=getComputedStyle(_);if(x.display==="none"||x.visibility==="hidden"||_.closest('[role="dialog"]')||_.closest('[role="alertdialog"]')||_.closest("dialog")||w.some(y=>y!==_&&y.getAttribute("aria-hidden")!=="true"))return;let F=_.parentElement;for(;F&&F!==document.body&&F!==document.documentElement;){if(F.getAttribute("aria-hidden")==="true")return;F=F.parentElement;}let S=uniqueSel(_);g.has(S)||(g.add(S),h.push({selector:S,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),role:_.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:(_.outerHTML||"").slice(0,300)}));}),h},kh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(sI)}};var lI=()=>{let d=[];function h(_){return !!(!_||isWidget(_)||(_.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function g(_){return (_.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let _ of p){if(d.length>=10)break;let x=_;if(h(x))continue;let k=x.hasAttribute("controls"),F=x.hasAttribute("autoplay"),S=x.hasAttribute("muted"),y=F||!x.paused&&!x.ended,E=typeof isVisible=="function"?isVisible(x):true;if(!k&&y&&E&&(d.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:g(x)}),d.length>=10))break;F&&!S&&d.push({selector:uniqueSel(x),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:g(x)});}let w=document.querySelectorAll("audio");for(let _ of w){if(d.length>=10)break;let x=_;if(h(x))continue;let k=x.hasAttribute("controls"),F=x.hasAttribute("autoplay"),S=F||!x.paused&&!x.ended;if(!k&&S&&(d.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:g(x)}),d.length>=10))break;F&&d.push({selector:uniqueSel(x),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:g(x)});}return d},Th={name:"mediaControls",cap:10,async detect(f){return f.evaluate(lI)}};var uI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=[],p=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,w=/^(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,_=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,x=(y,E)=>{let D=y.getAttribute(E);if(D===null)return false;let L=parseFloat(D);return !isNaN(L)&&L<=1},k=document.querySelectorAll("img");for(let y of k){if(h.length>=50)break;if(y.closest(f)||y.closest("template, noscript, script"))continue;let E=y.getAttribute("src")||"",D=y.getAttribute("alt");if(E.startsWith("data:")||x(y,"width")||x(y,"height"))continue;let L=y.naturalWidth||0,P=y.naturalHeight||0;if(L>0&&P>0&&L<=3&&P<=3||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true")continue;let q=L||y.width,M=P||y.height,$=y.getBoundingClientRect(),N=!isVisible(y)||q<=2&&M<=2||$.width<=2&&$.height<=2||!!y.closest('[aria-hidden="true"]');if(N&&(D!==null||g.length>=50||_.test(E)))continue;let U=(y.getAttribute("aria-label")||"").trim(),Q=(y.getAttribute("aria-labelledby")||"").trim();if(U||Q)continue;if(D===null){let H=uniqueSel(y),j=getNearbyContext(y),G=[],K=y.closest("figure");if(K){let ce=K.querySelector("figcaption");ce&&G.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}j.nearbyHeading&&G.push("heading: "+j.nearbyHeading);let Z=y.closest("a");if(Z){let ce=Z.getAttribute("href")||"",ke=(Z.textContent||"").trim().replace(/\s+/g," ");ke&&G.push("link text: "+ke.slice(0,60)),ce&&G.push("link href: "+ce.slice(0,80));}E&&G.push("src: "+E.slice(0,120)),G.push("parent: "+j.parentTag);let ae=E;try{ae=new URL(E,document.baseURI).href;}catch{}(N?g:h).push({selector:H,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:ae,outerHtml:y.outerHTML.slice(0,300)});continue}let C=(D||"").trim();if(C==="")continue;let v=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(C),T=p.test(C),I=w.test(C);if(v||T||I){let H=uniqueSel(y),j=getNearbyContext(y),G=[];j.nearbyHeading&&G.push("heading: "+j.nearbyHeading),E&&G.push("src: "+E.slice(0,120)),G.push("parent: "+j.parentTag);let K=E;try{K=new URL(E,document.baseURI).href;}catch{}h.push({selector:H,attribute:"alt",currentValue:C,issueType:"missing_alt",wcag:"1.1.1",context:G.join(" | "),needsAI:true,imageSrc:K,outerHtml:y.outerHTML.slice(0,300)});}}let F=globalThis;for(let y of Array.from(document.querySelectorAll("object"))){if(h.length>=50)break;if(y.closest(f)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let E=(y.getAttribute("role")||"").trim().toLowerCase();if(E==="presentation"||E==="none"||!F.isVisible(y))continue;let D=y.getAttribute("data")||"",L=(y.getAttribute("type")||"").trim().toLowerCase(),P=L.startsWith("image/"),q=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(D);if(!D||!(P||!L&&q)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("title")||"").trim())continue;let M=(y.getAttribute("aria-labelledby")||"").trim();M&&M.split(/\s+/).some($=>(document.getElementById($)?.textContent||"").trim())||y.closest('a, button, [role="button"], [role="link"]')||h.push({selector:F.uniqueSel(y),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: "+D.slice(0,120),needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}let S=Array.from(document.querySelectorAll("script:not([src])")).map(y=>y.textContent||"");for(let y of Array.from(document.querySelectorAll("canvas"))){if(h.length>=50)break;if(y.closest(f)||y.closest('[aria-hidden="true"]')||y.getAttribute("aria-hidden")==="true")continue;let E=(y.getAttribute("role")||"").trim().toLowerCase();if(E==="presentation"||E==="none"||!F.isVisible(y)||(y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim()||(y.textContent||"").trim()||y.children.length||y.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let D=y.getBoundingClientRect();if(D.width<=30||D.height<=30)continue;let L=y.getAttribute("id");if(!L)continue;let P=new RegExp("#"+L.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+L.replace(/[^\w-]/g,"")+`['"]`);S.some(M=>P.test(M)&&/\b(fillText|strokeText)\s*\(/.test(M))&&h.push({selector:F.uniqueSel(y),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:y.outerHTML.slice(0,300)});}for(let y of g){if(h.length>=50)break;h.push(y);}return h},Rh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(uI)}};var cI=()=>{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"]',h=["onclick","data-action","ng-click","@click","v-on:click"],g=D=>{if(getComputedStyle(D).visibility==="hidden")return false;for(let L=D;L&&L.nodeType===1;L=L.parentElement)if(getComputedStyle(L).display==="none")return false;return true},p=D=>Array.prototype.some.call(D.querySelectorAll("a:not([href])"),L=>g(L)&&!isHiddenFromAT(L)&&h.some(P=>L.hasAttribute(P))),w=D=>Array.prototype.some.call(D.querySelectorAll(d),L=>g(L)&&!isHiddenFromAT(L)),x=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(D=>{if(x.length>=50||D.closest(f)||!isVisible(D)||isHiddenFromAT(D)||w(D)||p(D))return;let L=D.getAttribute("role");if(L==="button"||L==="link"||L==="tab"||L==="menuitem"||L==="checkbox"||L==="radio")return;let P=uniqueSel(D),q=D.outerHTML.slice(0,300);x.push({selector:P,attribute:"role",currentValue:L||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),hasOnclick:true,currentTabindex:D.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:q}),D.getAttribute("tabindex")===null&&x.push({selector:P,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:q});}),document.querySelectorAll("a:not([href])").forEach(D=>{if(x.length>=50||D.closest(f)||!isVisible(D)||isHiddenFromAT(D)||D.getAttribute("role"))return;let P=D.hasAttribute("onclick"),q=D.getAttribute("data-action")||D.getAttribute("ng-click")||D.getAttribute("@click")||D.getAttribute("v-on:click");if(!P&&!q||w(D))return;let M=uniqueSel(D),$=D.outerHTML.slice(0,300);x.push({selector:M,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:D.getAttribute("href")||"",hasOnclick:P}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll("nav, ol, ul").forEach(D=>{if(x.length>=50||D.closest(f)||!isVisible(D)||isHiddenFromAT(D))return;let L=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),P=(D.getAttribute("id")||"").toLowerCase();if(!L.includes("breadcrumb")&&!L.includes("crumb")&&!P.includes("breadcrumb")&&!P.includes("crumb"))return;let q=D.querySelectorAll("a");if(q.length<2)return;let M=(D.getAttribute("aria-label")||"").toLowerCase(),$=D.getAttribute("role");if(M.includes("breadcrumb")||M.includes("crumb")||$==="navigation"&&M)return;let N=uniqueSel(D);x.push({selector:N,attribute:"aria-label",currentValue:M,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:q.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:D.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(D=>{if(x.length>=50||D.closest(f)||!isVisible(D)||isHiddenFromAT(D))return;let L=(D.className&&typeof D.className=="string"?D.className:"").toLowerCase(),P=(D.getAttribute("id")||"").toLowerCase();if(!L.includes("search")&&!P.includes("search")||!D.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let M=D.getAttribute("role");if(M==="search"||D.closest('[role="search"]')||D.querySelector('[role="search"]')||Array.prototype.some.call(D.querySelectorAll("form, section, div"),U=>{let Q=(U.className&&typeof U.className=="string"?U.className:"").toLowerCase(),C=(U.getAttribute("id")||"").toLowerCase();return !Q.includes("search")&&!C.includes("search")||U.getAttribute("role")==="search"?false:!!U.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let N=uniqueSel(D);x.push({selector:N,attribute:"role",currentValue:M||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:D.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(D=>{if(D.closest(f))return;let L=D.getAttribute("role")||"menu",P=Array.from(D.querySelectorAll("a")).filter(M=>{if(!isVisible(M)||isHiddenFromAT(M))return false;let $=M.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(P.length===0)return;let q=uniqueSel(D);x.push({selector:q,attribute:"role",currentValue:L,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),reason:`${P.length} link(s) inside role="${L}" without menuitem roles`,sample:P.slice(0,3).map(M=>(M.textContent||"").trim().slice(0,40))}),message:`container role="${L}" holds ${P.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:D.outerHTML.slice(0,300)});}),x},Fh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(cI)}};var dI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[],g={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,w]of Object.entries(g))document.querySelectorAll(w).forEach(x=>{if(h.length>=30||x.closest(f)||typeof isVisible=="function"&&!isVisible(x))return;let k=x.parentElement,F=null;for(;k&&k!==document.body;){if(k.matches(w)){F=k;break}k=k.parentElement;}if((p==="banner"||p==="contentinfo")&&x.closest("article, section, aside, main, nav")||!F||x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let S=typeof uniqueSel=="function"?uniqueSel(x):"",y=typeof getNearbyContext=="function"?getNearbyContext(x):{nearbyHeading:""};h.push({selector:S,attribute:"role",currentValue:x.getAttribute("role")||x.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${x.tagName.toLowerCase()} | heading: ${y.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(x.outerHTML||"").slice(0,300)});});return h},Ih={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(dI)}};var fI=()=>{let d=[],h=C=>typeof parseCssColor=="function"?parseCssColor(C):null,g=(C,v,T)=>typeof relLuminance=="function"?relLuminance(C,v,T):0,w=(C,v)=>typeof contrastRatio=="function"?contrastRatio(C,v):1;function _(C){let v=document.documentElement,T=C.parentElement,I=0;for(;T&&T!==v&&I<6;){let K=getComputedStyle(T).backgroundColor||"",Z=h(K);if(Z&&Z[3]>.5)return [Z[0],Z[1],Z[2]];T=T.parentElement,I++;}let H=document.body;if(T&&T!==v&&H&&H.contains(T)){let K=h(getComputedStyle(H).backgroundColor||"");if(K&&K[3]>.5)return [K[0],K[1],K[2]]}let j=h(getComputedStyle(v).backgroundColor||""),G=j?Math.min(j[3],1):0;return !j||G<=0?[255,255,255]:[Math.round(j[0]*G+255*(1-G)),Math.round(j[1]*G+255*(1-G)),Math.round(j[2]*G+255*(1-G))]}function x(C,v,T){return "#"+[C,v,T].map(I=>{let H=Math.max(0,Math.min(255,Math.round(I))).toString(16);return H.length===1?"0"+H:H}).join("")}function k(C,v,T){let I=g(v[0],v[1],v[2])>.5;return F(C,v,T,I)||F(C,v,T,!I)}function F(C,v,T,I){let H=0,j=1,G=null;for(let K=0;K<20;K++){let Z=(H+j)/2,ae=I?[C[0]*(1-Z),C[1]*(1-Z),C[2]*(1-Z)]:[C[0]+(255-C[0])*Z,C[1]+(255-C[1])*Z,C[2]+(255-C[2])*Z],ee=[Math.round(ae[0]),Math.round(ae[1]),Math.round(ae[2])];w(ee,v)>=T?(G=ee,j=Z):H=Z;}return G}let S=(C,v)=>{let T=Math.max(0,Math.min(1,C[3]));return [C[0]*T+v[0]*(1-T),C[1]*T+v[1]*(1-T),C[2]*T+v[2]*(1-T)]};function y(C,v){let T=C.boxShadow||"";if(!T||T==="none")return null;let I=[],H=0,j="";for(let K of T)K==="("&&H++,K===")"&&H--,K===","&&H===0?(I.push(j),j=""):j+=K;j&&I.push(j);let G=null;for(let K of I){let Z=K.match(/rgba?\([^)]*\)/),ae=Z?h(Z[0]):null;if(!ae||ae[3]<=0||(K.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(he=>parseFloat(he)).filter(he=>Number.isFinite(he))[3]??0)<=0)continue;let ke=w(S(ae,v),v);(G===null||ke>G)&&(G=ke);}return G}function E(C){let v=getComputedStyle(C),T=_(C),I=null,H=parseFloat(v.borderTopWidth||"0"),j=(v.borderTopStyle||"").toLowerCase(),G=h(v.borderTopColor||"");H>0&&j!=="none"&&j!=="hidden"&&G&&G[3]>0&&(I=w(S(G,T),T));let K=h(v.backgroundColor||"");if(K&&K[3]>0){let ae=w(S(K,T),T);(I===null||ae>I)&&(I=ae);}let Z=y(v,T);return Z!==null&&(I===null||Z>I)&&(I=Z),I}function D(C){let v=C.getBoundingClientRect();if(v.width*v.height<=0)return null;let T='input, select, textarea, button, [role="button"], svg, img, i, label',I=C.parentElement,H=null;for(let j=0;I&&j<3&&!(I===document.body||I===document.documentElement);j++,I=I.parentElement){let G=I.getBoundingClientRect();if(G.width*G.height>4*v.width*v.height+1||G.height>Math.max(2.5*v.height,v.height+40))break;let K=false,Z=document.createTreeWalker(I,4),ae=Z.nextNode();for(;ae;){if((ae.textContent||"").trim()&&ae.parentElement&&!ae.parentElement.closest(T)&&isVisible(ae.parentElement)){K=true;break}ae=Z.nextNode();}if(K)break;let ee=E(I);ee!==null&&ee>1.01&&(H===null||ee>H)&&(H=ee);}return H}let L=C=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((C.tagName||"").toLowerCase())||(getComputedStyle(C).backgroundImage||"none")!=="none",P=(C,v)=>{let T=Math.min(C.right,v.right)-Math.max(C.left,v.left),I=Math.min(C.bottom,v.bottom)-Math.max(C.top,v.top);return T>0&&I>0&&T*I/(C.width*C.height)>=.5},q=null;function M(C){let v=C.getBoundingClientRect();if(v.width*v.height<=0)return false;let T=v.left+v.width/2,I=v.top+v.height/2;if(T>=0&&I>=0&&T<window.innerWidth&&I<window.innerHeight&&typeof document.elementsFromPoint=="function"){let j=document.elementsFromPoint(T,I),G=j.indexOf(C);if(G>=0){for(let K of j.slice(G+1)){if(L(K))return true;let Z=h(getComputedStyle(K).backgroundColor||"");if(Z&&Z[3]>.5)return false}return false}}for(let j=C.parentElement,G=0;j&&G<8;j=j.parentElement,G++){let K=getComputedStyle(j);if((K.backgroundImage||"none")!=="none")return true;let Z=h(K.backgroundColor||"");if(Z&&Z[3]>.5||j===document.documentElement)break}q||(q=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let j of q)if(!(j===C||C.contains(j)||j.contains(C))&&P(v,j.getBoundingClientRect())&&isVisible(j))return true;let H=C.offsetParent||C.parentElement;if(H&&H!==document.body&&H!==document.documentElement){let j=H.getElementsByTagName("*");for(let G=0;G<j.length&&G<400;G++){let K=j[G];if(!(K===C||C.contains(K)||K.contains(C))&&P(v,K.getBoundingClientRect())&&(getComputedStyle(K).backgroundImage||"none")!=="none"&&isVisible(K))return true}}return false}function $(C){for(let H=C.parentElement;H&&H.nodeType===1;H=H.parentElement)if(parseFloat(getComputedStyle(H).opacity||"1")<1)return false;let v=H=>{if(H.tagName.toLowerCase()!=="svg"){let K=h(getComputedStyle(H).color||"");return K&&K[3]>0?[K]:null}let j=[],G=Array.from(H.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let K of G){let Z=K.getBoundingClientRect();if(Z.width===0&&Z.height===0)continue;let ae=getComputedStyle(K);if(ae.display==="none"||ae.visibility==="hidden"||parseFloat(ae.opacity||"1")<1)return null;for(let[ee,ce]of [[ae.fill,ae.fillOpacity],[ae.stroke,parseFloat(ae.strokeWidth||"0")>0?ae.strokeOpacity:"0"]]){let ke=String(ee||"");if(!ke||ke==="none"||parseFloat(String(ce??"1"))===0)continue;if(ke.startsWith("url"))return null;let he=h(ke);if(!he)return null;he[3]*=parseFloat(String(ce??"1")),he[3]>0&&j.push(he);}}return j.length?j:null},T=[];for(let H=0;H<=255;H+=17)T.push(H);let I=Array.from(C.querySelectorAll('svg, i[class], [class*="icon"]'));for(let H of I){let j=H.getBoundingClientRect();if(j.width*j.height===0)continue;let G=getComputedStyle(H);if(G.display==="none"||G.visibility==="hidden")continue;let K=v(H);if(!K)continue;let Z=null,ae=1,ee=true;for(let he=H;he;he=he===C?null:he.parentElement){let Te=getComputedStyle(he),Ge=parseFloat(Te.opacity||"1");if(!Z){let Be=h(Te.backgroundColor||""),we=String(Te.backgroundClip||"border-box").toLowerCase();if(!(String(Te.backgroundImage||"none")==="none")){ee=false;break}if(Be&&Be[3]>=1&&we==="border-box")Z=[Be[0],Be[1],Be[2]];else if(Ge<1){ee=false;break}}Z&&(ae*=Ge);}if(!Z||!ee)continue;let ce=Z,ke=1/0;for(let he of K){let Te=S(he,ce);for(let Ge of T)for(let Be of T)for(let we of T){let _e=[Ge,Be,we],Rt=S([Te[0],Te[1],Te[2],ae],_e),dt=S([ce[0],ce[1],ce[2],ae],_e),$e=w(Rt,dt);$e<ke&&(ke=$e);}}if(ke>=3)return true}return false}let N="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(C){let v=C.tagName.toLowerCase(),T=v==="input"||v==="select"||v==="textarea"?v+" field":v;d.push({selector:uniqueSel(C),message:"non-text contrast: "+T+" over an image backdrop \u2014 "+N,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:v+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:N,outerHtml:C.outerHTML.slice(0,200)});}let Q=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let C of Q){if(d.length>=30)break;if(isWidget(C)||isHiddenFromAT(C)||!isVisible(C))continue;let v=getComputedStyle(C),T=_(C),I=h(v.backgroundColor||""),H=h(v.borderTopColor||""),j=parseFloat(v.borderTopWidth||"0"),G=(v.borderTopStyle||"").toLowerCase(),K=j>0&&G!=="none"&&G!=="hidden",Z=C.tagName.toLowerCase(),ae=Z==="input"||Z==="select"||Z==="textarea",ee=null;if(Z==="input"){let De=(C.type||"").toLowerCase(),Mr=(v.appearance||v.webkitAppearance||"").toLowerCase();if(De==="checkbox"||De==="radio"){let cr=Mr==="none"?"":String(v.accentColor||"").trim().toLowerCase(),dr=cr&&cr!=="auto"?h(cr):null;if(dr&&dr[3]>.5)ee=w([dr[0],dr[1],dr[2]],T);else if(Mr&&Mr!=="none")continue}}let ce=K&&H&&H[3]>.5?w([H[0],H[1],H[2]],T):null,ke=I&&I[3]>.5?w([I[0],I[1],I[2]],T):ee,he=y(v,T),Te=ce===null&&ke===null&&he===null?null:Math.max(ce??0,ke??0,he??0);if(ae&&M(C)){U(C);continue}if(ae&&(Te===null||Te<3)){let De=D(C);if(De!==null&&De>=3)continue}let Ge=null,Be=false,we="";if(ae)Te!==null?(Ge=Te,Te<3&&(Be=true)):(Be=true,Ge=1);else {let De=false,Mr=document.createTreeWalker(C,4),cr=Mr.nextNode();for(;cr;){if((cr.textContent||"").trim()&&cr.parentElement&&isVisible(cr.parentElement)){De=true;break}cr=Mr.nextNode();}if(De)continue;let dr=M(C);{let ue=["Top","Right","Bottom","Left"].map(Oe=>({w:parseFloat(v["border"+Oe+"Width"]||"0"),s:String(v["border"+Oe+"Style"]||"").toLowerCase(),c:h(v["border"+Oe+"Color"]||"")})),ve=ue.filter(Oe=>Oe.w>0&&Oe.s!=="none"&&Oe.s!=="hidden"&&Oe.c&&Oe.c[3]>.5),Ue=ue.filter(Oe=>Oe.w>0&&Oe.s!=="none"&&Oe.s!=="hidden"&&Oe.c&&Oe.c[3]===0),tt=true;for(let Oe=C.parentElement;Oe&&Oe.nodeType===1;Oe=Oe.parentElement)if(parseFloat(getComputedStyle(Oe).opacity||"1")<1){tt=false;break}let ot=Math.max(0,Math.min(1,parseFloat(v.opacity||"1"))),mt=String(v.backgroundClip||"border-box").toLowerCase(),Je=!!I&&I[3]>=1&&ot>=1&&mt==="border-box";if(ve.length&&Ue.length&&tt&&(!dr||Je)){let Oe=I&&I[3]>0?S(I,T):T,Xt=S([Oe[0],Oe[1],Oe[2],ot],T),Yt=Nr=>{let aa=S(Nr,Oe);return S([aa[0],aa[1],aa[2],ot],T)};if(ve.some(Nr=>w(Yt(Nr.c),Xt)>=3))continue}}if(dr){if($(C))continue;U(C);continue}let na=Array.from(C.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),zt=new Map,ai=ue=>{let ve=ue.getBoundingClientRect();if(ve.width*ve.height===0)return "absent";let Ue=parseFloat(getComputedStyle(C).opacity||"1");for(let tt=ue;tt&&tt!==C;tt=tt.parentElement){let ot=getComputedStyle(tt);if(ot.display==="none")return "absent";if(ot.visibility==="hidden"||parseFloat(ot.opacity||"1")===0)return "hidden-at-rest";Ue*=parseFloat(ot.opacity||"1");}return zt.set(ue,Ue),"painted"},ii=na.map(ai),it=na.filter((ue,ve)=>ii[ve]==="painted"),Or=it.length>0,fn=!Or&&ii.includes("hidden-at-rest"),de=ue=>{let ve=(ue.tagName||"").toLowerCase();if(ve==="img"||ve==="picture"||ve==="canvas"||ve==="svg"&&ue.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Ue=[];if(ve==="svg"){let ot=ue.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let mt of [ot,ue]){if(!mt)continue;let Je=getComputedStyle(mt),Oe=1;for(let Yt=mt;Yt&&Yt!==ue;Yt=Yt.parentElement||Yt.parentNode)Oe*=parseFloat(getComputedStyle(Yt).opacity||"1");let Xt=Yt=>Number.isFinite(parseFloat(Yt))?parseFloat(Yt):1;if(Je.fill&&Je.fill!=="none"&&!Je.fill.startsWith("url")&&Ue.push({color:Je.fill,alpha:Oe*Xt(Je.fillOpacity)}),Je.stroke&&Je.stroke!=="none"&&!Je.stroke.startsWith("url")&&parseFloat(Je.strokeWidth||"0")>0&&Ue.push({color:Je.stroke,alpha:Oe*Xt(Je.strokeOpacity)}),Ue.length)break}}else ((ue.textContent||"").trim()||getComputedStyle(ue,"::before").content!=="none")&&Ue.push({color:getComputedStyle(ue).color,alpha:1});let tt=null;for(let ot of Ue){let mt=h(ot.color);if(!mt)continue;let Je=mt[3]*ot.alpha*(zt.get(ue)??1),Oe=[mt[0]*Je+T[0]*(1-Je),mt[1]*Je+T[1]*(1-Je),mt[2]*Je+T[2]*(1-Je)],Xt=w(Oe,T);(tt===null||Xt>tt)&&(tt=Xt);}return tt};if(Or&&it.map(de).some(ve=>ve!==null&&ve>=3))continue;let re=false,oe=v.position;if((oe==="absolute"||oe==="fixed")&&C.parentElement){let ue=C.getBoundingClientRect(),ve=C.parentElement.getBoundingClientRect(),Ue=ve.width*ve.height;Ue>0&&ue.width*ue.height/Ue>=.85&&(re=true);}if(Or||re||fn){if(Be=true,Ge=K&&H&&H[3]>.5?w([H[0],H[1],H[2]],T):1,Ge>=3)continue;we=Or?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":fn?"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 Te!==null?(Ge=Te,Te<3&&(Be=true)):(Be=true,Ge=1);}if(!Be)continue;let _e=H&&H[3]>.5?[H[0],H[1],H[2]]:I&&I[3]>.5?[I[0],I[1],I[2]]:[128,128,128],Rt=k(_e,T,3);if(!Rt)continue;let dt=x(Rt[0],Rt[1],Rt[2]),$e=x(T[0],T[1],T[2]),Nt="border: 1px solid "+dt+" !important;",ni=uniqueSel(C),Pr=C.tagName.toLowerCase(),jt=Te===null&&!K?"invisible (no border, no fill: 1.00:1)":Ge?Ge.toFixed(2)+":1":"not measurable",It=Pr==="input"||Pr==="select"||Pr==="textarea"?Pr+" field":Pr,Wr=we?"non-text contrast: "+It+" boundary is "+jt+" against "+$e+" (needs 3:1) \u2014 "+we:"non-text contrast: "+It+" boundary (border and fill) is "+jt+" against "+$e+", needs 3:1 \u2014 e.g. border-color "+dt;d.push({selector:ni,message:Wr,attribute:"style",currentValue:Ge?Ge.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Pr+" bg="+$e+" ratio="+(Ge?Ge.toFixed(2):"?")+" needs=3",needsAI:false,...we?{needsReview:true,reviewReason:we}:{fixValue:Nt},outerHtml:C.outerHTML.slice(0,200)});}return d},Lh={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(fI)}};var pI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let w of Array.from(p)){if(h.length>=20)break;if(w.closest(f))continue;let _=w.getAttribute("onfocus")||"";if(!_||!g.test(_))continue;let x=typeof uniqueSel=="function"?uniqueSel(w):"",k=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},F=[];F.push("tag: "+w.tagName.toLowerCase()),F.push("onfocus: "+_.slice(0,100)),k.nearbyHeading&&F.push("heading: "+k.nearbyHeading),F.push("parent: "+k.parentTag),h.push({selector:x,attribute:"onfocus",currentValue:_.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:F.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return h},Ph={name:"onFocus",cap:20,async detect(f){return f.evaluate(pI)}};var mI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],h=['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"]'],g=false;for(let y of h){let E=document.querySelector(y);if(E&&!E.closest(f)){g=true;break}}if(!g){let y=document.querySelectorAll('a[href^="#"]');for(let E of y){if(E.closest(f))continue;let D=(E.textContent||"").toLowerCase();if(D.includes("skip")&&(D.includes("main")||D.includes("content")||D.includes("nav"))){g=true;break}}}if(!g){let y=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let E of Array.from(y)){if(E.closest(f))continue;let D=(E.getAttribute("value")||E.textContent||"").trim().toLowerCase();if(D.includes("skip")&&(D.includes("main")||D.includes("content")||D.includes("nav"))){g=true;break}}}if(!g){let y=document.body?document.body.firstElementChild:null;if(y&&y.matches('main, [role="main"], div#main')){let E=getComputedStyle(y),D=y.getBoundingClientRect();E.display!=="none"&&E.visibility!=="hidden"&&!y.closest('[hidden], [aria-hidden="true"]')&&D.width>0&&D.height>0&&(g=true);}}if(!g){let y=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let E of y){let D=getComputedStyle(E);if(D.display==="none"||D.visibility==="hidden"||E.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(E.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(P=>{let q=getComputedStyle(P);return q.display!=="none"&&q.visibility!=="hidden"&&!P.closest('[hidden], [aria-hidden="true"]')})){g=true;break}}}if(!g&&document.querySelector("nav")){let y=document.querySelectorAll("a, button");for(let E of Array.from(y)){if(E.closest(f))continue;let D=(E.textContent||"").trim().toLowerCase();if((D.includes("toggle")||D.includes("hide")||D.includes("collapse")||D.includes("show"))&&D.includes("content")){g=true;break}}}if(g||Array.from(document.querySelectorAll('main, [role="main"]')).filter(y=>{let E=getComputedStyle(y);if(E.display==="none"||E.visibility==="hidden"||y.closest('[hidden], [aria-hidden="true"]'))return false;let D=y.getBoundingClientRect();return D.width>0&&D.height>0}).length===1)return d;let w="",_=document.querySelector('main[id], [role="main"][id]');if(_&&_.getAttribute("id"))w=_.getAttribute("id");else {let y=document.querySelector("h1[id]");if(y&&y.getAttribute("id"))w=y.getAttribute("id");else {let E=["main-content","maincontent","main","content","skip-content"];for(let D of E)if(document.getElementById(D)){w=D;break}}}let x=w==="",k=w||"main-content",S="<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="#'+k+'" class="wa-skip-link">Skip to main content</a>';return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:x?'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 #"+k,needsAI:false,fixValue:S,...x?{manualFix:true}:{}}),d},Mh={name:"skipLink",async detect(f){return f.evaluate(mI)}};var hI=()=>{let h=[],g=document.querySelectorAll("*"),p=0;for(let w of Array.from(g)){if(p++>5e3||h.length>=20)break;if(w.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(w))continue;let x=getComputedStyle(w).backgroundImage||"";if(!x||x==="none"||!x.includes("url("))continue;let k=x.match(/url\((['"]?)(.*?)\1\)/);if(!k)continue;let F=k[2];if(!F||F.startsWith("data:")&&F.length<256)continue;let S=w.getBoundingClientRect();if(S.width<32||S.height<32)continue;let y=w.tagName.toLowerCase(),E=w.getAttribute("role")||"",D=y==="a"||y==="button"||E==="button"||E==="link"||w.closest("a,button,[role=button],[role=link]")!==null,L=(w.textContent||"").trim().length>0,P=!!w.getAttribute("aria-label"),q=!!w.getAttribute("aria-labelledby"),M=!!w.getAttribute("title"),$=!!w.querySelector('img[alt]:not([alt=""])');if(w.closest('[aria-hidden="true"]')){let v=w.closest("a[href]");if(!!v&&Array.from(document.querySelectorAll("a[href]")).some(I=>I!==v&&I.href===v.href&&!I.closest('[aria-hidden="true"]')))continue}if(P||q||M||$||L||!D)continue;let N=w.closest("a,button,[role=button],[role=link]");if(N&&N!==w){let v=(N.textContent||"").trim(),T=N.getAttribute("aria-label")||N.getAttribute("title")||"",I=N.getAttribute("aria-labelledby"),H=!!N.querySelector('img[alt]:not([alt=""])');if(v||T.trim()||I||H)continue}let U=F;try{U=new URL(F,location.href).toString();}catch{continue}let Q=typeof uniqueSel=="function"?uniqueSel(w):"",C=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:y,nearbyHeading:""};h.push({selector:Q,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${U.slice(0,140)} | tag: ${y} | role: ${E||"(none)"} | parent: ${C.parentTag}${C.nearbyHeading?" | heading: "+C.nearbyHeading:""}`,needsAI:true,imageSrc:U,outerHtml:(w.outerHTML||"").slice(0,300)});}return h},Oh={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(hI)}};var gI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",h=[];return document.querySelectorAll("svg").forEach(p=>{if(h.length>=50||p.closest(f)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let _=p.getAttribute("role");if(_==="presentation"||_==="none"||p.closest('[aria-hidden="true"]'))return;let x=p.getAttribute("aria-label")||"",k=p.getAttribute("aria-labelledby")||"",F=p.querySelector("title"),S=F?(F.textContent||"").trim():"";if(x.trim()||k.trim()||S)return;let y=p.getBoundingClientRect(),E=y.width<=16&&y.height<=16;if(y.width<=4||y.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let D=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(D){if(D.getAttribute("aria-label")?.trim()||D.getAttribute("aria-labelledby")?.trim())return;let T=getAccessibleName(D),I=D.cloneNode(true);I.querySelectorAll("svg").forEach(j=>j.remove());let H=(I.textContent||"").trim().replace(/\s+/g," ");if(T&&H.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((_||"").trim().split(/\s+/)[0])||E)return;let T=p.parentElement;if(T&&(T.textContent||"").trim().replace(/\s+/g," ").length>3)return}let L=uniqueSel(p),P=getNearbyContext(D||p),q=D&&D.getAttribute("href")||"",M=(D||p).outerHTML.slice(0,300),$=p.getAttribute("class")||"",N=p.getAttribute("data-icon")||"",U=D||p,Q=U&&U!==p&&U.getAttribute("class")||"",C=typeof lookupIconLabel=="function"?lookupIconLabel(String($),N,"")||lookupIconLabel(String(Q),"",""):null,v=D?uniqueSel(D):L;h.push({selector:v,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(D||p).tagName?(D||p).tagName.toLowerCase():"svg",href:q,nearbyHeading:P.nearbyHeading,parentRole:P.parentRole,svgClasses:$,iconLib:C||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!C,fixValue:C||void 0,outerHtml:M});}),h},Nh={name:"svgNames",cap:50,async detect(f){return f.evaluate(gI)}};var vI=()=>{let f={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},d=1e-9,h=Object.keys(f),g=30,p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",w={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},_=C=>{let v=[];for(let T of C.split(";")){let I=T.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!I)continue;let H=I[1].toLowerCase();if(!h.includes(H))continue;let j=I[2],G=/!\s*important\s*$/i.test(j);j=j.replace(/!\s*important\s*$/i,"").trim(),j&&(H!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(j)&&parseFloat(j)!==0||v.push({prop:H,value:j,important:G}));}return v},x=(C,v,T,I)=>{let H=v.trim().toLowerCase();if(/^normal$|^initial$/.test(H))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(H))return {kind:"notBlocked"};if(H.startsWith("var(")||H.startsWith("calc(")||H.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(H)){let ae=parseFloat(H);return C==="line-height"?{kind:"ratio",factor:ae}:{kind:"ratio",factor:0}}let j=H.endsWith("%")&&/\d/.test(H),G=j?H.slice(0,-1).trim().match(/^([\d.]+)$/):H.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!G)return {kind:"undetermined"};let K=parseFloat(G[1]);if(j||H.endsWith("em")){let ae=I??T;return ae&&T&&isFinite(ae)&&isFinite(T)&&ae>0&&T>0?j?{kind:"ratio",factor:K/100*(ae/T)}:{kind:"ratio",factor:K*(ae/T)}:j?{kind:"ratio",factor:K/100}:{kind:"ratio",factor:K}}let Z=H.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(Z==="px"||Z&&w[Z]){let ae=Z==="px"?K:K*(w[Z]||0);return T===null||!isFinite(T)||T<=0?{kind:"undetermined"}:{kind:"ratio",factor:ae/T}}return {kind:"undetermined"}},k=(C,v,T)=>{let I=C;for(;I;){let H=v.get(I);if(H){let j=H.filter(G=>G.prop===T);if(j.length){let G=j.filter(Z=>Z.important);return {decl:G.length?G[G.length-1]:j[j.length-1],from:I}}}I=I.parentElement;}return null},F=C=>{let v=C;for(;v;){let T=v.style;if(T&&(T.display==="none"||T.visibility==="hidden")||T&&(T.position==="absolute"||T.position==="fixed")&&(S(T.top)||S(T.left)))return false;if(T&&(T.overflowX==="scroll"||T.overflowX==="auto")){for(let I=C;I!==v;I=I.parentElement)if(I.style&&y(I.style.width)>=900)return false}v=v.parentElement;}return true},S=C=>{if(!C)return false;let v=C.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!v)return false;let T=parseFloat(v[2]),I=v[3].toLowerCase();return I==="px"?T>=100:I==="em"||I==="rem"?T>=4:T>=10},y=C=>{let v=C?C.match(/^([\d.]+)px$/):null;return v?parseFloat(v[1]):0},E=[],D=[],L=new Map,P=typeof getComputedStyle=="function"?getComputedStyle:null,q=C=>{try{let v=P?P(C).fontSize:"",T=v?v.match(/^([\d.]+)px$/):null;return T?parseFloat(T[1]):null}catch{return null}},M=new Map,$=Array.from(document.querySelectorAll('[style*="important" i]'));for(let C of $)C.closest(p)||M.set(C,_(C.getAttribute("style")||""));for(let C of document.querySelectorAll("body [style]"))C.closest(p)||M.has(C)||M.set(C,_(C.getAttribute("style")||""));let N=[],U=document.createTreeWalker(document.body,1),Q=U.currentNode;for(;Q;)Array.from(Q.childNodes).some(v=>v.nodeType===3&&/\S/.test(v.textContent||""))&&!Q.closest(p)&&N.push(Q),Q=U.nextNode();for(let C of N){if(E.length>=g)break;if(F(C))for(let v of h){let T=k(C,M,v);if(!T||!T.decl.important)continue;let I=q(C),H=T.from===C?I:q(T.from)??I,j=x(v,T.decl.value,I,H);if(!(j.kind==="undetermined"||j.kind==="narrow"||j.kind==="ratio"&&j.factor+d<f[v]))continue;let K=L.get(T.from);K||(K=[],L.set(T.from,K),D.push({from:T.from,props:K})),K.includes(v)||K.push(v);}}for(let{from:C,props:v}of D){if(E.length>=g)break;let T=typeof uniqueSel=="function"?uniqueSel(C):"",I=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},H=[];H.push("blocked: "+v.join(",")),H.push("tag: "+C.tagName.toLowerCase()),I.nearbyHeading&&H.push("heading: "+I.nearbyHeading),H.push("parent: "+I.parentTag),E.push({selector:T,attribute:"style",currentValue:(C.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:H.join(" | "),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}return E},qh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(vI)}};var bI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of g){if(h.length>=50)break;if(p.closest(f)||!isVisible(p))continue;let w=p,_=w.tagName==="INPUT"?(w.getAttribute("type")||"").toLowerCase():"";if(_==="submit"||_==="reset")continue;let x=(w.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((x==="none"||x==="presentation")&&w.disabled===true)continue;let k=(w.getAttribute("aria-label")||"").trim(),F=w.getAttribute("aria-labelledby"),S=(w.getAttribute("title")||"").trim(),y=(w.getAttribute("value")||"").trim(),E=(w.textContent||"").trim().replace(/\s+/g," "),D="";F&&(D=typeof __resolveIdRefs=="function"?__resolveIdRefs(F):"");let L=w.querySelector('img[alt]:not([alt=""])'),P=w.querySelector("svg title"),q=w.querySelector("svg[aria-label]");if(!!(k||D||S||y||E||L||P||q))continue;let $=uniqueSel(w),N=getNearbyContext(w),U=w.closest("form"),Q=U&&(U.getAttribute("id")||U.getAttribute("name"))||"",C=w.getAttribute("class")||"",v=w.querySelector('i, svg, span[class*="icon"]'),T=v&&v.getAttribute("class")||"",I=v&&v.getAttribute("data-icon")||"",H=v?(v.textContent||"").trim():"",j=typeof lookupIconLabel=="function"?lookupIconLabel(String(T),I,H):null,G=!j&&typeof lookupIconLabel=="function"?lookupIconLabel(String(C),"",""):null,K=j||G,Z=[];Q&&Z.push("form: "+Q),N.nearbyHeading&&Z.push("heading: "+N.nearbyHeading),T&&Z.push("icon: "+String(T).slice(0,80)),C&&Z.push("class: "+String(C).slice(0,80)),Z.push("parent: "+N.parentTag),K&&Z.push("icon-lib: "+K),h.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:Z.join(" | "),needsAI:!K,fixValue:K||void 0,outerHtml:w.outerHTML.slice(0,300)});}return h},Bh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(bI)}};var yI=()=>{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"]),h={};function g(C){if(isWidget(C)||!isVisible(C))return;let v=getAccessibleName(C);if(!v)return;let T=v.toLowerCase().trim();h[T]=(h[T]||0)+1;}document.querySelectorAll("a[href]").forEach(C=>g(C));let p=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),w=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function _(C){let v=C.toLowerCase();return p.has(v)||w.some(T=>v.startsWith(T))}let x=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function k(C,v){return x.test(C)?1:v}let F=50,S=[];function y(C){if((C.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let T=C.querySelectorAll("i, span, em");for(let I of T)if((typeof I.className=="string"?I.className:"").split(/\s+/).some(_))return true;return false}function E(C){let v=C.className||"";return typeof v!="string"?false:v.split(/\s+/).some(_)}function D(C){if(S.length>=F||isWidget(C)||!isVisible(C))return;let v=getAccessibleName(C);if(!v)return;let T=v.toLowerCase().trim(),I=false,H=v.length>=2&&/^[A-Z][A-Z0-9]+$/.test(v.trim()),j=/^[[(]?\d{1,4}[\])]?$/.test(v.trim());if(v.length<k(v,3)&&!H&&!j)I=true;else if(f.has(T))I=true;else if(d.has(T)&&(h[T]||0)>=2){let ee=(C.getAttribute("aria-label")||"").trim().toLowerCase(),ce=!!C.getAttribute("aria-labelledby")||!!ee&&ee!==T,ke=C.querySelector&&C.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),he=ke?(ke.textContent||"").trim().toLowerCase():"";!ce&&!(ke&&he!==T)&&(I=true);}else (y(C)||E(C)&&v.length===0)&&(C.getAttribute("aria-label")||C.getAttribute("aria-labelledby")||C.querySelector&&C.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(I=true));if(!I)return;let G=getNearbyContext(C),K=uniqueSel(C),Z=C.getAttribute("href")||"",ae=C.outerHTML.slice(0,300);S.push({selector:K,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(C.getAttribute("aria-label")||C.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:Z,nearbyHeading:G.nearbyHeading,parentTag:G.parentTag,parentRole:G.parentRole,cardText:G.cardText||"",imgAlt:G.imgAlt||""}),needsAI:true,outerHtml:ae});}document.querySelectorAll("a[href]").forEach(C=>D(C));let L=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,P=/^(iframe|embed|widget|frame|content|untitled)$/i,q=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 M(C){return !!(!C||C.getAttribute("aria-hidden")==="true"||C.closest('[aria-hidden="true"]'))}function $(C,v,T,I,H,j){if(S.length>=F)return;let G=uniqueSel(C),K=(C.outerHTML||"").slice(0,300);S.push({selector:G,attribute:v,currentValue:T,issueType:I,wcag:H,context:JSON.stringify(j),needsAI:true,outerHtml:K});}let N=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let C=0;C<N.length&&!(S.length>=F);C++){let v=N[C];if(!v||isWidget(v)||M(v)||!isVisible(v))continue;let T=getAccessibleName(v);if(!T)continue;let I=T.toLowerCase().trim(),H=I.split(/\s+/).filter(Boolean),j=()=>{if(!/^\p{L}$/u.test(T))return false;let Z=v.nextElementSibling;if(!Z)return false;let ae=Z.tagName.toLowerCase(),ee=[];if(ae==="dl"?ee=Array.from(Z.querySelectorAll("dt")):ae==="ul"||ae==="ol"?ee=Array.from(Z.children).filter(ke=>ke.tagName==="LI"):ae==="table"&&(ee=Array.from(Z.querySelectorAll("tbody tr, tr")).map(ke=>ke.cells&&ke.cells[0])),ee=ee.filter(Boolean),ee.length<1)return false;let ce=T.toLowerCase();return ee.every(ke=>(ke.textContent||"").trim().toLowerCase().startsWith(ce))},G=false;if(T.length<k(T,3)?G=!j():(H.length===1&&(f.has(I)||q.has(I))||/^page\s*\d+$/i.test(I)||/^section\s*\d+$/i.test(I)||/^chapter\s*\d+$/i.test(I)||/^[^\p{L}\p{N}]+$/u.test(T))&&(G=true),!G)continue;let K=getNearbyContext(v);$(v,"textContent",T,"weak_heading","2.4.6",{currentText:T,tag:v.tagName.toLowerCase(),nearbyHeading:K.nearbyHeading,parentTag:K.parentTag,parentRole:K.parentRole});}let U=document.querySelectorAll("iframe");for(let C=0;C<U.length&&!(S.length>=F);C++){let v=U[C];if(!v||isWidget(v)||M(v))continue;let T=getComputedStyle(v);if(v.getClientRects().length===0||T.visibility==="hidden"||T.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let I=(v.getAttribute("title")||"").trim();if(!I)continue;let H=I.toLowerCase(),j=false;if((I.length<k(I,3)||P.test(H)||f.has(H))&&(j=true),!j)continue;let G=(v.getAttribute("src")||"").slice(0,120),K=getNearbyContext(v);$(v,"title",I,"weak_iframe_title","4.1.2",{currentTitle:I,src:G,nearbyHeading:K.nearbyHeading,parentTag:K.parentTag});}if(S.length<F){let C=document.querySelector("head > title, title"),v=(document.title||"").trim();if(C&&v){let T=v.toLowerCase(),I=false;(v.length<k(v,5)||L.test(T)||/^untitled/i.test(v))&&(I=true),I&&S.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:(C.outerHTML||"").slice(0,300)});}}let Q=document.querySelectorAll("svg");for(let C=0;C<Q.length&&!(S.length>=F);C++){let v=Q[C];if(!v||isWidget(v)||M(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||!isVisible(v))continue;let T=v.querySelector("title"),I=T?(T.textContent||"").trim():"",H=(v.getAttribute("aria-label")||"").trim(),j=H||I;if(!j)continue;let G=j.toLowerCase(),K=false;if((j.length<k(j,3)||f.has(G)||/^(icon|svg|image|graphic|logo)$/i.test(j))&&(K=true),!K)continue;let Z=v.closest('a, button, [role="button"], [role="link"]'),ae=getNearbyContext(v);$(v,H?"aria-label":"title",j,"weak_svg_name","1.1.1",{currentName:j,svgClasses:v.getAttribute("class")||"",parentTag:Z?Z.tagName.toLowerCase():ae.parentTag,parentHref:Z&&Z.getAttribute("href")||"",nearbyHeading:ae.nearbyHeading});}return S},Hh={name:"weakNames",cap:50,async detect(f){return f.evaluate(yI)}};var wI=()=>{let d=[],h=document.querySelector('meta[name="viewport"]');if(h){let p=(h.getAttribute("content")||"").trim(),w=p.toLowerCase(),_=false,x=[];(w.indexOf("user-scalable=no")>=0||w.indexOf("user-scalable=0")>=0)&&(_=true,x.push("user-scalable=no blocks pinch-zoom"));let k=["yes","no","device-width","device-height"],F=w.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);F&&k.indexOf(F[1])<0&&(_=true,x.push("user-scalable="+F[1]+" (invalid, parsed as 0)"));let S=w.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);S&&k.indexOf(S[1])<0&&(_=true,x.push("maximum-scale="+S[1]+" (invalid, parsed as 0)"));let y=w.match(/maximum-scale\s*=\s*([\d.]+)/);y&&parseFloat(y[1])<2&&(_=true,x.push("maximum-scale="+y[1]+" (<2)")),_&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+x.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let g=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<g.length&&!(d.length>=5);p++){let w=g[p];if(w.el)try{let x=(getComputedStyle(w.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(x==="none"||x==="pinch-zoom")&&d.push({selector:w.selector,attribute:"style",currentValue:"touch-action: "+x,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+x+" on <"+w.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Vh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(wI)}};var xI=()=>{let d=[],h=document.body?document.body.querySelectorAll("*"):[];for(let g=0;g<h.length&&d.length<10;g++){let p=h[g],w=p.tagName.toLowerCase();if(w==="script"||w==="style"||w==="svg"||w==="textarea"||w==="select")continue;let _="";for(let M=p.firstChild;M;M=M.nextSibling)M.nodeType===3&&(_+=M.nodeValue);if(!_.replace(/\s+/g,"").length)continue;let x=getComputedStyle(p);if(x.display==="none"||x.visibility==="hidden"||x.display==="contents")continue;let k=x.overflowX,F=x.overflowY,S=k==="hidden"||k==="clip",y=F==="hidden"||F==="clip";if(!S&&!y||p.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let E=p.clientWidth,D=p.clientHeight;if(D<=1||E<=1)continue;let L=x.webkitLineClamp||x.getPropertyValue("-webkit-line-clamp");if(L&&L!=="none")continue;let P="";if(y&&p.scrollHeight>D+2?P="height "+D+"px < content "+p.scrollHeight+"px":S&&x.textOverflow!=="ellipsis"&&p.scrollWidth>E+2&&(P="width "+E+"px < content "+p.scrollWidth+"px"),!P){let M=parseFloat(x.fontSize);if(!(M>0))continue;let $=p.style.getPropertyValue("font-size"),N=p.style.getPropertyPriority("font-size");p.style.setProperty("font-size",M*2+"px","important");let U=p.clientHeight,Q=p.clientWidth;y&&U>1&&p.scrollHeight>U+2?P="at 200%: height "+U+"px < content "+p.scrollHeight+"px":S&&x.textOverflow!=="ellipsis"&&Q>1&&p.scrollWidth>Q+2&&(P="at 200%: width "+Q+"px < content "+p.scrollWidth+"px"),$?p.style.setProperty("font-size",$,N):p.style.removeProperty("font-size");}if(!P)continue;let q=typeof uniqueSel=="function"?uniqueSel(p):w;d.push({selector:q,attribute:"style",currentValue:(p.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+P,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+P+"). 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},$h={name:"textClip",cap:10,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),h=new Set,g=Math.min(d.length,200);for(let p=0;p<g;p++){let w=d[p];if(h.has(w)||!w.offsetParent)continue;h.add(w);let _=getComputedStyle(w),x=parseInt(_.order||"0",10),k=_.position;if(x>=3){let F=w.getBoundingClientRect();if(F.width>0&&F.height>0){let S=(w.textContent?.trim().length||0)>10,y=!!w.querySelector("a, button, input, select, textarea");(S||y)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${x}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${x} \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(k==="absolute"){if(!!!w.querySelector("a, button, input, select, textarea"))continue;let S=w.parentElement;if(!S||S.children.length<=2)continue;let y=w.getBoundingClientRect(),E=S.getBoundingClientRect();(y.top<E.top-100||y.left<E.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${k}, displaced ${Math.round(Math.abs(y.top-E.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(DI)}};var zh={name:"sensoryCharacteristics",async detect(f){let{instructionalTexts:d,controlLabels:h,navCount:g,labelTexts:p}=await f.evaluate(()=>{let x=[],k=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),F=Math.min(k.length,300),S=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(L=>{let P=((L.textContent||"")+" "+(L.getAttribute("aria-label")||"")+" "+(L.getAttribute("value")||"")).trim().toLowerCase();P&&S.push(P);});let y=L=>!!L.offsetParent||getComputedStyle(L).position==="fixed",E=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(y).length,D=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(L=>{if(!y(L))return;let P=((L.getAttribute("aria-label")||"")+" "+(L.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&L.textContent||"")).trim().toLowerCase();P&&P.length<=60&&D.push(P);});for(let L=0;L<F;L++){let P=k[L];if(!P.offsetParent||P.children.length>3||P.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||P.closest('[aria-hidden="true"]'))continue;let q=P.textContent?.trim()||"";q.length<15||q.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(q)&&x.push({text:q,selector:typeof uniqueSel=="function"?uniqueSel(P):P.tagName.toLowerCase()});}return {instructionalTexts:x.slice(0,20),controlLabels:S,navCount:E,labelTexts:D}});if(d.length===0)return [];let w=[],_=x=>{let k=(x.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return k?g===1?true:p.some(F=>F.indexOf(k)!==-1):false};for(let{text:x,selector:k}of d){x.toLowerCase();let S=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(x)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(x),y=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(x)||_(x),E=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(x)&&!y&&/\b(click|tap|press|select|find)\b/i.test(x),D=/\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(x)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(x),L=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(x)&&/\b(click|tap|press|select|find)\b/i.test(x),P=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(x),q=(x.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],M=!!q&&h.some($=>$.indexOf(q.toLowerCase())!==-1);if(!(P||M)&&(S||E||D||L)){let $=S?"shape":E?"position":D?"color":"size";w.push({selector:k,attribute:"data-sensory-review",currentValue:x.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${$} alone: "${x.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return w}};var _I=()=>{let f=[],d=document.querySelectorAll("img");for(let h of d){if(!h.offsetParent||h.width<50||h.height<20||h.complete&&h.naturalWidth===0)continue;let g=h.src||h.getAttribute("data-src")||"",p=g.indexOf(","),w=(g.toLowerCase().startsWith("data:")&&p!==-1?g.slice(0,p):g).toLowerCase(),_=h.getAttribute("alt")||"",x=h.getAttribute("role")||"";if(h.getAttribute("aria-hidden")==="true"||!!h.closest('[aria-hidden="true"]')||x==="presentation"||x==="none"||h.hasAttribute("alt")&&_.trim()==="")continue;let F=h.width>200&&h.height<80&&h.height>15,S=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(w);if(!(S||F)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(w)&&!S)continue;let E=h.closest("a[href]"),D=(()=>{if(!E)return false;let Q=E.getAttribute("href")||"";if(Q==="/"||Q==="")return true;try{let C=new URL(E.href,location.href);return C.origin!==location.origin?!1:!!(C.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(C.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(C.pathname))}catch{return false}})();if(D&&(E.textContent||"").trim().length===0)continue;let P="";if(E&&!D&&(E.textContent||"").trim().length===0)try{let Q=new URL(E.href,location.href),C=_.trim().split(/\s+/).filter(Boolean);if(Q.origin!==location.origin&&/^https?:$/.test(Q.protocol)&&C.length>0&&C.length<=4&&_.trim().length<=40){let v=G=>G.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),T=v(_),I=Q.hostname.toLowerCase().split(".").filter(G=>G&&G!=="www"),H=(I.length>1?I.slice(0,-1):I).map(v).filter(Boolean);P=T.length>=3&&(T===v(I.join(""))||T===H.join("")||H.some(G=>T===G||G.length>=5&&T.startsWith(G)))?"exempt":"review";}}catch{}let q=!!h.closest('header, [role="banner"], footer, [role="contentinfo"]'),M=h.height>0&&h.height<=120,$=q&&M,N=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,U=$||N.test(w)||N.test(h.className)||N.test(h.getAttribute("id")||"");w.includes("icon")||w.includes("avatar")||w.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(h):"img",attribute:"data-image-of-text",currentValue:w.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${h.width}x${h.height}px, alt="${_.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:h.src,...U||P?{needsReview:true,reviewReason:$?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":P==="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":P==="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},Gh={name:"imagesOfText",async detect(f){return f.evaluate(_I)}};var Uh={name:"reflow",async detect(f){let d=f;if(!d.setViewport)return [];let h=d.viewport?.()??{width:1280,height:720},g=h.width??1280,p=h.height??720;try{return await d.setViewport({width:320,height:p}),await new Promise(_=>setTimeout(_,500)),await f.evaluate(_=>{let x=[],k=document.querySelectorAll("body *"),F=Math.min(k.length,500);for(let S=0;S<F;S++){let y=k[S];if(!y.offsetParent)continue;let E=y.tagName.toLowerCase();if(E==="script"||E==="style"||E==="noscript")continue;let D=y.getBoundingClientRect();D.right>_+5&&D.width>_*1.1&&x.push({selector:typeof uniqueSel=="function"?uniqueSel(y):E,attribute:"style",currentValue:`${Math.round(D.width)}px wide at ${_}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(D.width)}px wide and overflows the ${_}px viewport by ${Math.round(D.right-_)}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>_+10&&x.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${_}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${_}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"}),x},320)}finally{await d.setViewport({width:g,height:p}).catch(()=>{});}}};var AI=()=>{let f=[],d=document.querySelectorAll("video");for(let g of d){if(g.autoplay&&!g.muted&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"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"}),!(g.offsetParent!==null&&getComputedStyle(g).display!=="none"))continue;let w=g.getBoundingClientRect();if(w.width===0&&w.height===0||g.error)continue;let _=/mute|unmute|sound|volume|audio|play|pause/i,x=!!g.parentElement?.querySelector('button, [role="button"]')||!!g.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(g.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let D=g.parentElement?.parentElement||null,L=0;D&&!x&&L<3;D=D.parentElement,L++)x=Array.from(D.querySelectorAll('button, [role="button"]')).some(P=>_.test((P.getAttribute("aria-label")||"")+" "+(P.getAttribute("title")||"")+" "+(P.textContent||"")));if((g.muted||g.hasAttribute("muted"))&&(g.loop||g.hasAttribute("loop"))&&!g.hasAttribute("controls")&&!x)continue;let k=g.querySelectorAll("track"),F=Array.from(k).find(D=>D.kind==="captions"||D.kind==="subtitles"),S=Array.from(k).find(D=>D.kind==="descriptions");g.src||g.querySelector("source")?.src||"";let E=typeof uniqueSel=="function"?uniqueSel(g):"video";F||f.push({selector:E,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. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),S||f.push({selector:E,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 h=document.querySelectorAll("audio");for(let g of h){let p=typeof uniqueSel=="function"?uniqueSel(g):"audio";g.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}),g.autoplay&&!g.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},Wh={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(AI)).slice(0,50)}};var EI=()=>{let f=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let C=d.getAttribute("content")||"",v=parseInt(C,10);!isNaN(v)&&v>0&&v<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${C.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:C,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 h=document.querySelectorAll("[accesskey]");for(let C of h){let v=C.getAttribute("accesskey")||"";if(v.length===1){let T=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();f.push({selector:T,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 g=document.querySelectorAll("select");for(let C of g){let v=C.hasAttribute("onchange"),T=C.getAttribute("onchange")||"";if(v&&/submit|location|href|navigate|window\./i.test(T)){let I=typeof uniqueSel=="function"?uniqueSel(C):"select";f.push({selector:I,attribute:"onchange",currentValue:T.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 C of p)if(!(C.hasAttribute("onclick")||C.hasAttribute("onkeydown")||C.hasAttribute("onkeyup"))){let T=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();f.push({selector:T,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 w=document.querySelectorAll("[onmousedown]");for(let C of w){let v=C.hasAttribute("onmouseup"),T=C.tagName.toLowerCase();if(!v&&T!=="a"&&T!=="button"&&T!=="input"){let I=typeof uniqueSel=="function"?uniqueSel(C):T;f.push({selector:I,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 _=/devicemotion|deviceorientation|accelerometer|gyroscope/i,x=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,k=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,F=/(?: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 S(){let C=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let v of Array.from(C)){let T=(v.textContent||"")+" "+(v.getAttribute("aria-label")||"")+" "+(v.getAttribute("value")||"");if(F.test(T))return true}return false}function y(C){return !_.test(C.replace(x,""))||k.test(C)?true:S()}let E=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let C of E){let v=C.textContent||"";if(_.test(v)&&!y(v)){let T=[],I=C;for(;I&&I!==document.body&&I!==document.documentElement;){let G=I.parentElement,K=I.tagName.toLowerCase(),Z=G?Array.from(G.children).filter(ee=>ee.tagName===I.tagName):[],ae=Z.indexOf(I)+1;T.unshift(ae>1||Z.length>1?K+":nth-of-type("+ae+")":K),I=G;}let H=I===document.body?"body":I===document.documentElement?"html":"",j=(H?H+" > ":"")+T.join(" > ");f.push({selector:j||"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 D=document.querySelectorAll("form"),L='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',P=/\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,q=/card|payment/i,M=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,$=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,N=/\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,Q=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let C of D){let v=Array.from(C.querySelectorAll(L)),T=$e=>[$e.getAttribute("name"),$e.getAttribute("id"),$e.getAttribute("autocomplete"),$e.getAttribute("placeholder"),$e.getAttribute("aria-label")].join(" "),I=Array.from(C.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter($e=>$e.tagName!=="BUTTON"||!$e.getAttribute("type")||($e.getAttribute("type")||"").toLowerCase()==="submit").map($e=>($e.getAttribute("value")||"")+" "+($e.textContent||"")+" "+($e.getAttribute("aria-label")||"")).join(" . "),H=v.some($e=>P.test(T($e)))||Array.from(C.querySelectorAll("iframe")).some($e=>q.test(($e.getAttribute("title")||"")+" "+($e.getAttribute("name")||""))),j=v.some($e=>/signature/i.test(T($e))),G=H||M.test(I),K=$.test(I),Z=j||N.test(I),ae=v.length>0&&v.some($e=>($e.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(T($e)))&&v.every($e=>{let Nt=$e.tagName.toLowerCase()==="input"?($e.getAttribute("type")||"text").toLowerCase():$e.tagName.toLowerCase();return Nt==="email"||Nt==="checkbox"||Nt==="tel"?true:Nt==="text"||Nt==="search"?Q.test(T($e)+" "+($e.closest("label")?.textContent||"")):false}),ee=(C.textContent||"").toLowerCase(),ce=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(ee),ke=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(ee),he=/delete.*account|remove.*data|cancel.*account/i.test(ee),Te=G||K||Z,Ge=ae&&(U.test(I)||he),Be=!Te&&(!ae&&(ce||ke||he)||Ge);if(!Te&&!Be)continue;let we=!!C.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),_e=!!C.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(we||_e)continue;let Rt=typeof uniqueSel=="function"?uniqueSel(C):"form",dt=Te?G?"financial":K?"data-deletion":"legal":Ge?he?"data-deletion":"data-modification":ce?"financial":ke?"legal":"data-deletion";f.push({selector:Rt,attribute:"data-error-prevention",currentValue:dt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${dt.charAt(0).toUpperCase()+dt.slice(1)} form lacks a confirmation/review step. For ${dt} 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:Ge&&he?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Ge?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${dt} topics but its controls show no ${dt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return f},Xh={name:"timingAndInput",async detect(f){return f.evaluate(EI)}};var CI=()=>{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 w=p.getBoundingClientRect();if(w.top<=window.innerHeight)continue;let _=typeof uniqueSel=="function"?uniqueSel(p):"nav";f.push({selector:_,attribute:"data-nav-position",currentValue:`top: ${Math.round(w.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 h=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let p of h){if(!p.offsetParent)continue;let w=p.getBoundingClientRect();if(w.width<1||w.height<1||!(p.textContent||"").trim()&&!p.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(p).backgroundImage==="none")continue;let _=typeof uniqueSel=="function"?uniqueSel(p):p.tagName.toLowerCase();f.push({selector:_,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 g=document.querySelectorAll('img[src*=".gif"]');for(let p of g){if(!p.offsetParent||p.width<25||p.height<25)continue;let w=p.getBoundingClientRect();if(w.width>100&&w.height>100){let _=typeof uniqueSel=="function"?uniqueSel(p):"img";f.push({selector:_,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},Yh={name:"navigationAndWayfinding",async detect(f){return f.evaluate(CI)}};var Kh={name:"flashDetection",async detect(f){let d=[];if(!f.screenshot)return d;let g=await f.evaluate(()=>{let S=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(S){let y=document.querySelectorAll("*");for(let E of y)E.style.removeProperty("animation-play-state"),E.style.removeProperty("transition");}return S}),p=8,w=120,_=9,x=3,k=[];for(let F=0;F<p;F++){let S=await f.evaluate(y=>{let E=window.innerWidth,D=window.innerHeight,L=3,P=3,q=[];for(let M=0;M<P;M++)for(let $=0;$<L;$++){let N=Math.floor(($+.5)*(E/L)),U=Math.floor((M+.5)*(D/P)),Q=document.elementFromPoint(N,U);if(!Q){q.push(0);continue}let v=getComputedStyle(Q).backgroundColor||"rgba(0,0,0,0)",T=typeof parseCssColor=="function"?parseCssColor(v):null;if(!T){q.push(0);continue}let I=.2126*T[0]+.7152*T[1]+.0722*T[2];q.push(I);}return q},_);k.push(S),F<p-1&&await new Promise(y=>setTimeout(y,w));}g&&await f.evaluate(()=>{let F=document.querySelectorAll("*");for(let S of F)S.style.setProperty("animation-play-state","paused","important"),S.style.setProperty("transition","none","important");});for(let F=0;F<_;F++){let S=0,y=k[0][F],E=null;for(let P=1;P<p;P++){let q=k[P][F];if(Math.abs(q-y)>25){let $=q>y?"up":"down";E&&$!==E&&S++,E=$;}y=q;}let D=p*w/1e3,L=S/D;if(L>=x){let P=F%3,q=Math.floor(F/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${L.toFixed(1)} flashes/sec in region (${P},${q})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${L.toFixed(1)} times/second in screen region (row ${q}, col ${P}). 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 Jh={name:"reducedMotion",async detect(f){let d=[],h=await f.evaluate(()=>{let g=false,p=false;for(let _ of document.styleSheets)try{for(let x of _.cssRules){let k=x.cssText||"";/animation|transition|@keyframes/i.test(k)&&!/prefers-reduced-motion/.test(k)&&(g=!0),x instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(x.conditionText||x.media?.mediaText||"")&&(p=!0);}}catch{}let w=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return w.length>0&&(g=true),{hasAnimations:g,hasReducedMotionQuery:p,animatedCount:w.length}});return h.hasAnimations&&!h.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${h.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 SI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",h=[],g=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,p=v=>v!==null&&!g.test(v.trim()),w=v=>{let T=parseFloat((v||"").trim());return Number.isFinite(T)&&T>0},_=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,x=v=>v.split(/[\s_-]+/).filter(Boolean),k=v=>{if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let T=typeof v.className=="string"?v.className:v.getAttribute("class")||"";return x(T).some(I=>_.test(I))},F=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,S=v=>{let T=v.trim();if(!T.startsWith("{"))return "";let I;try{I=JSON.parse(T);}catch{try{I=JSON.parse(T.replace(/'/g,'"'));}catch{return ""}}if(!I||typeof I!="object")return "";for(let H of Object.keys(I)){if(!F.test(H))continue;let j=I[H];if(j===true||typeof j=="number"&&j>0||typeof j=="string"&&p(j)&&j.trim()!==""||j&&typeof j=="object")return `${H}: ${JSON.stringify(j).slice(0,40)}`}return ""},y=v=>{for(let H of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!v.hasAttribute(H))continue;let j=v.getAttribute(H)||"";if((j.trim()===""||p(j))&&(k(v)||U(v)>=2))return {attr:H,value:j}}let T=["data-interval","data-bs-interval"].some(H=>v.hasAttribute(H)&&g.test((v.getAttribute(H)||"").trim()));for(let H of ["data-ride","data-bs-ride"])if((v.getAttribute(H)||"").trim().toLowerCase()==="carousel"&&!T)return {attr:H,value:"carousel"};for(let H of ["data-interval","data-bs-interval"]){let j=v.getAttribute(H);if(w(j)&&k(v))return {attr:H,value:j||""}}let I=k(v);for(let H of Array.from(v.attributes)){if(!H.name.startsWith("data-")||!I&&!x(H.name.slice(5)).some(G=>_.test(G)))continue;let j=S(H.value);if(j)return {attr:H.name,value:j}}if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let H=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let j of Array.from(v.attributes)){if(/(^|-)autoplay$/i.test(j.name)&&(j.value.trim()===""||p(j.value)))return {attr:j.name,value:j.value.slice(0,60)};if(/autoplay/i.test(j.value)&&!H.test(j.value))return {attr:j.name,value:j.value.slice(0,60)}}}return null},E=/^(pause|stop|play|playpause|resume)$/i,D=/\b(pause|stop|play|resume)\b/i,L=v=>{let T=[v.getAttribute("aria-label")||"",v.getAttribute("title")||"",v.getAttribute("value")||"",(v.textContent||"").trim().slice(0,80)],I=(v.getAttribute("aria-labelledby")||"").trim();if(I)for(let H of I.split(/\s+/))T.push(document.getElementById(H)?.textContent||"");for(let H of Array.from(v.querySelectorAll("img[alt]")))T.push(H.getAttribute("alt")||"");return T.join(" ")},P=v=>{let T=v.getAttribute("class")||"";return x(T).some(I=>E.test(I))?true:v.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?D.test(L(v)):false},q=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,M=v=>k(v)||y(v)!==null||Array.from(v.querySelectorAll("*")).some(T=>k(T)||y(T)!==null),$=v=>{if(v.querySelector("[aria-pressed]"))return true;let T=[v];for(let j of Array.from(v.parentElement?.children||[]))j===v||q.test(j.tagName)||M(j)||T.push(j);let I=v.getAttribute("id"),H=j=>{let G=[...(j.getAttribute("aria-controls")||"").split(/\s+/),(j.getAttribute("data-bs-target")||j.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return G.length>0&&!G.includes(I||"")};for(let j of T){if(j!==v&&P(j)&&!H(j))return true;for(let G of Array.from(j.querySelectorAll("*")))if(P(G)&&!H(G))return true}if(I){let j=typeof CSS<"u"&&CSS.escape?CSS.escape(I):I.replace(/["\\]/g,"\\$&");for(let G of Array.from(document.querySelectorAll(`[aria-controls~="${j}"], [data-target="#${j}"], [data-bs-target="#${j}"]`)))if(P(G))return true}return false},N=/^(slide|cell)$/i,U=v=>{let T=G=>x(G.getAttribute("class")||"").some(K=>N.test(K))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(G.getAttribute("class")||""),I=Array.from(v.querySelectorAll("[class]")).filter(T),H=I.filter(G=>!I.some(K=>K!==G&&K.contains(G)));if(!H.length)return 0;let j=H.length;for(let G of H){let K=Array.from(G.parentElement?.children||[]).filter(Z=>Z.tagName===G.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(Z.getAttribute("class")||""));j=Math.max(j,K.length);}return j},Q=new Set,C=(v,T)=>{if(h.length>=10||Q.has(v)||(Q.add(v),v.closest(f))||v.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(v)||U(v)===1||$(v))return;let I=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();h.push({selector:I,attribute:T.attr,currentValue:T.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${T.attr}="${T.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(h.length>=10)break;if(!v.attributes.length)continue;if(v.hasAttribute("data-swiper-autoplay")&&w(v.getAttribute("data-swiper-autoplay"))){let I=v.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||v.parentElement?.parentElement||v;C(I,{attr:"data-swiper-autoplay",value:v.getAttribute("data-swiper-autoplay")||""});continue}let T=y(v);T&&C(v,T);}return h},Zh={name:"carouselAutoplay",cap:10,async detect(f){return f.evaluate(SI)}};var ug=[Hh,Fh,Nh,oh,Dh,xh,fh,Lh,gh,Bh,vh,Mh,sh,Rh,_h,mh,Sh,wh,Th,Ah,Vh,$h,Ch,ch,dh,Eh,Ph,qh,ph,Oh,lh,kh,jh,zh,Gh,Uh,Wh,Xh,Yh,Kh,Jh,Zh],ZI=[ih,uh,hh,Ih];function cg(f,d,h){f?.push({tool:d,kind:"engine-failed",detail:`detector threw, its findings are absent: ${h?.message??String(h)}`});}async function dg(f,d,h,g){let p=d??[];try{let{UNIQUE_SELECTOR_JS:q,IS_VISIBLE_JS:M,ACCESSIBLE_NAME_JS:$,WIDGET_SKIP_JS:N,IS_HIDDEN_FROM_AT_JS:U,IS_TRACKING_PIXEL_JS:Q,NEARBY_CONTEXT_JS:C}=await Promise.resolve().then(()=>(eg(),Qh)),{ICON_LABELS_JS:v}=await Promise.resolve().then(()=>(rg(),tg)),{COLOR_MATH_JS:T}=await Promise.resolve().then(()=>(ag(),ng)),H=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
384
|
+
`+[q,M,$,N,U,Q,C,v,T].join(`
|
|
385
|
+
`),{inject:j}=await Promise.resolve().then(()=>(Lr(),dn));try{await j(f,{tool:"detector-helpers",content:H});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(H)})`);}}catch(q){console.warn("[webability] helper injection failed:",q.message),(h??[]).push("color:kernel-injection-failed");}let w=[];try{let{detectPlatform:q,applyPlatformTemplates:M}=await Promise.resolve().then(()=>(lg(),sg)),$=await q(f);w=await M(f,$);}catch{}let{guardDetectorState:_}=await Promise.resolve().then(()=>(Lr(),dn)),x=globalThis.process?.env?.WA_STRICT_STATE==="1",k={strict:x,bugs:g?.internalBugs},F=await _(f,"detectors:parallel",h??[],()=>Promise.allSettled((g?.experimental?[...ug,...ZI]:ug).map(async q=>{try{let M=await q.detect(f);return q.cap&&M.length>=q.cap&&p.push({detector:q.name,cap:q.cap}),M}catch(M){return cg(g?.internalBugs,q.name,M),[]}})),k),S=[];g?.skipFocusMutating&&(h??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let y=[...g?.skipFocusMutating?[]:[yh,bh],...g?.extraSerialDetectors??[]];for(let q of y){let M=[];try{M=await _(f,q.name,h??[],()=>q.detect(f).catch($=>(cg(g?.internalBugs,q.name,$),[])),k);}catch($){if(x)throw $}try{q.cap&&M.length>=q.cap&&p.push({detector:q.name,cap:q.cap}),S=S.concat(M);}catch{}}let E=[...F.flatMap(q=>q.status==="fulfilled"?q.value:[]),...S],D=[...w,...E],L=QI(D),P=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return L.filter(q=>{let M=q.selector.toLowerCase();return M.trim()?!P.some($=>M.includes($)):false})}function QI(f){let d=new Set;return f.filter(h=>{let g=`${h.selector}::${h.issueType}`;return d.has(g)?false:(d.add(g),true)})}var fg="1.13.0";var _u=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function Au(f){return f.includes("wcag21aa")||f.includes("wcag22aa")||f.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function pg(f,d){return d==="AAA"&&!f.includes("wcag2aaa")?[...f,"wcag2aaa"]:f}var eL={"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 tL(f){return eL[f]}var Za={A:1,AA:2,AAA:3};function mg(f){let d=String(f.wcag||"").split(/[,\s]+/).filter(g=>/^\d+\.\d+\.\d+$/.test(g));if(d.length===0)return f.level??"AA";let h;for(let g of d){let p=tL(g);p&&(!h||Za[p]<Za[h])&&(h=p);}return h}function Jn(f,d="AA"){let h=Za[d]??Za.AA;return f.filter(g=>{let p=mg(g);return !!p&&Za[p]<=h})}var rL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function hg(f){let d=rL.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",h=f.attribute==="style",g=f.attribute.startsWith("data-"),p=h&&f.fixValue?nL(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Qa(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:mg({wcag:f.wcag})??"AA",impact:d,message:aL(f,p,g),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||h||g||!!f.needsReview||!!f.manualFix}}}function nL(f){let d=f.trim();if(!d)return "";let h=d.endsWith(";"),p=d.split(";").map(w=>{let x=w.toLowerCase().lastIndexOf("!important");return x===-1?w.trim():w.slice(0,x).trim()}).filter(w=>w.length>0);return p.length===0?"":p.join(";")+(h?";":"")}function aL(f,d,h){if(f.message)return f.message;let g=f.issueType.replace(/_/g," "),p=d??f.fixValue;return h?p?`${g}: ${p}`:f.currentValue?`${g}: ${f.currentValue}`:f.context?`${g}: ${f.context}`:g:p?`${g}: set ${f.attribute}="${p}"`:f.currentValue?`${g}: ${f.attribute} is "${f.currentValue}"`:`${g}: missing ${f.attribute}`}function Zn(f){return Array.isArray(f)?f.flat(1/0).filter(h=>typeof h=="string").join(" >>> "):typeof f=="string"?f:""}function Qa(f){let d=0;for(let h=0;h<f.length;h++)d=(d<<5)-d+f.charCodeAt(h)|0;return Math.abs(d).toString(36)}function Eu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function Cu(f,d=[]){return {total:f.length,critical:f.filter(h=>h.impact==="critical").length,serious:f.filter(h=>h.impact==="serious").length,moderate:f.filter(h=>h.impact==="moderate").length,minor:f.filter(h=>h.impact==="minor").length,incomplete:0}}function iL(f){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(f);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function Su(f){for(let d of f){let h=iL(d);if(h)return h}return ""}function ku(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function bg(f,d){try{let{AxeBuilder:h}=await import('@axe-core/playwright'),g=typeof f.mainFrame=="function"?f:f.axePage?.()??f;return await new h({page:g}).options({rules:Au(d)}).withTags(d).analyze()}catch{return oL(f,d)}}async function oL(f,d){let h=await Promise.resolve().then(()=>q3(vg())),g=h.source??h.default?.source;if(!g)throw new Error("axe-core source unavailable");try{await f.evaluate(g);}catch{let{inject:w}=await Promise.resolve().then(()=>(Lr(),dn));await w(f,{tool:"axe",content:g});}return await f.evaluate(({wcagTags:w,rules:_})=>new Promise((x,k)=>{let F=window;if(!F.axe)return k(new Error("axe-core not loaded"));F.axe.run(document,{runOnly:{type:"tag",values:w},rules:_,resultTypes:["violations","incomplete"]}).then(x).catch(k);}),{wcagTags:d,rules:Au(d)})}function Tu(f){let d=[],h=[];for(let g of f)g.confidence==="needs_review"||lL(g)?h.push(g):d.push(sL(g));return {verdicts:d,undecided:h}}function sL(f){if(f.confidence===void 0&&f.reviewReason===void 0)return f;let{confidence:d,reviewReason:h,...g}=f;return g}function lL(f){let d=(f.type||"").toLowerCase(),h=f.wcag||"",g=f.html||"",p=(f.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||h==="1.4.3"||h==="1.4.11")&&uL(g))return "background uses gradient or image";if(d==="image_of_text"||h==="1.4.5"){let w=yg(g,"src").toLowerCase();w.startsWith("data:")&&(w=w.split(",")[0]);let _=yg(g,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(w))return "brand imagery";if(_.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(_))return "branded imagery"}return (d==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(g)||/<aside/i.test(g))?"footer/aside nav":""}function uL(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function yg(f,d){let h=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),g=f.match(h);return g?g[1]:""}Lr();var cL=60,dL=3,fL=120,pL=1200,mL=300,hL=2e5,gL=8e3,vL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),bL="*,*::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 yL(f){let{selectors:d,maxBoxes:h,maxW:g,maxH:p,maxArea:w}=f,_=document.documentElement.scrollWidth,x=document.documentElement.scrollHeight,k=document.createElement("canvas");k.width=k.height=1;let F=k.getContext("2d",{willReadFrequently:true}),S=q=>{try{F.clearRect(0,0,1,1),F.fillStyle="#000",F.fillStyle=q,F.fillRect(0,0,1,1);let M=F.getImageData(0,0,1,1).data;return [M[0],M[1],M[2],M[3]]}catch{return null}},y={},E=document.querySelectorAll("video,canvas,iframe,embed,object");if(E.length>200){for(let q of d)y[q]=null;return y}let D=Array.from(E).map(q=>q.getBoundingClientRect()),L=window.scrollX,P=window.scrollY;for(let q of d){y[q]=null;let M=null;try{M=document.querySelector(q);}catch{continue}if(!M)continue;let $=getComputedStyle(M);if($.visibility!=="visible"||$.display==="none"||$.webkitBackgroundClip==="text"||$.backgroundClip==="text")continue;let N=false,U=0;for(let ee=M;ee;ee=ee.parentElement){if(++U>64){N=true;break}let ce=getComputedStyle(ee);parseFloat(ce.opacity)<1&&(N=true),(ce.transform!=="none"||ce.mixBlendMode!=="normal"||ce.filter!=="none")&&(N=true);}if(N)continue;let Q=S($.color);if(!Q||Q[3]<255)continue;let C=parseFloat($.fontSize),v=parseInt($.fontWeight,10)>=700,T=C>=24||v&&C>=18.66,I=[],H=M.getBoundingClientRect();if(H.height>p*h||H.width>g*2)continue;let j=document.createTreeWalker(M,NodeFilter.SHOW_TEXT),G,K=0,Z=false;for(;!Z&&(G=j.nextNode());){if(++K>50){Z=true;break}if(G.parentElement!==M)continue;let ee=G.textContent||"";if(ee.length>2e3){Z=true;break}if(!ee.trim())continue;let ce=document.createRange();ce.selectNodeContents(G);let ke=ce.getClientRects();if(ke.length>h){Z=true;break}for(let he=0;he<ke.length;he++){let Te=ke[he];if(!(Te.width<2||Te.height<2)&&(I.push({x:Math.round(Te.left+L),y:Math.round(Te.top+P),w:Math.max(1,Math.round(Te.width)),h:Math.max(1,Math.round(Te.height))}),I.length>h)){Z=true;break}}}Z||I.length===0||I.length>h||I.some(ee=>ee.w>g||ee.h>p||ee.w*ee.h>w||ee.x<0||ee.y<0||ee.x+ee.w>_||ee.y+ee.h>x)||I.some(ee=>D.some(ce=>ee.x<ce.right+L&&ee.x+ee.w>ce.left+L&&ee.y<ce.bottom+P&&ee.y+ee.h>ce.top+P))||(y[q]={fg:`rgb(${Q[0]},${Q[1]},${Q[2]})`,threshold:T?3:4.5,boxes:I});}return y}async function wL(f){let{b64:d,fg:h}=f,g=atob(d),p=new Uint8Array(g.length);for(let N=0;N<g.length;N++)p[N]=g.charCodeAt(N);let w=await createImageBitmap(new Blob([p],{type:"image/png"})),_=document.createElement("canvas");_.width=w.width,_.height=w.height;let x=_.getContext("2d",{willReadFrequently:true});x.drawImage(w,0,0);let k=x.getImageData(0,0,_.width,_.height).data,F=N=>{let U=N/255;return U<=.03928?U/12.92:Math.pow((U+.055)/1.055,2.4)},S=(N,U,Q)=>.2126*F(N)+.7152*F(U)+.0722*F(Q),y=h.match(/\d+/g).map(Number),E=S(y[0],y[1],y[2]),D=Math.max(1,Math.floor(Math.sqrt(_.width*_.height/1500))),L=0,P=1/0,q="",M="",$=0;for(let N=0;N<_.height;N+=D)for(let U=0;U<_.width;U+=D){let Q=(N*_.width+U)*4;if(k[Q+3]<255)continue;let C=S(k[Q],k[Q+1],k[Q+2]),v=Math.max(E,C),T=Math.min(E,C),I=(v+.05)/(T+.05);I>L&&(L=I,M=`rgb(${k[Q]},${k[Q+1]},${k[Q+2]})`),I<P&&(P=I,q=`rgb(${k[Q]},${k[Q+1]},${k[Q+2]})`),$++;}return $===0?null:{best:L,worst:P,worstBg:q,bestBg:M}}var Bo=class extends Error{};function ti(f,d){let h=d-Date.now();if(h<=0)return Promise.reject(new Bo("pixel pass deadline"));let g,p=new Promise((w,_)=>{g=setTimeout(()=>_(new Bo("pixel pass deadline")),h);});return Promise.race([f,p]).finally(()=>clearTimeout(g))}async function Ru(f,d){let h=f.screenshot;if(typeof h!="function"||d.length===0)return [];let g=Array.from(new Set(d)).slice(0,cL),p=[],w=false,_=Date.now()+gL;try{await ti(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),_);let x=await ti(f.evaluate(yL,{selectors:g,maxBoxes:dL,maxW:pL,maxH:mL,maxArea:hL}),_);await ti(xu(f,{tool:"contrast-pixels",css:bL}),_),w=!0;let k=0;for(let F of g){let S=x[F];if(!S)continue;if(Date.now()>_||k+S.boxes.length>fL)break;let y=0,E=1/0,D="",L="",P=!0;for(let q of S.boxes){k++;let M=await ti(h.call(f,{clip:{x:q.x,y:q.y,width:q.w,height:q.h},fullPage:!0,type:"png",animations:"disabled"}),_),$=globalThis.Buffer,N=$?$.from(M).toString("base64"):"",U=await ti(f.evaluate(wL,{b64:N,fg:S.fg}),_);if(!U){P=!1;break}U.best>y&&(y=U.best,L=U.bestBg),U.worst<E&&(E=U.worst,D=U.worstBg);}P&&p.push({selector:F,fail:y<S.threshold*.97,bestRatio:y,worstRatio:E,...D?{worstBg:D}:{},...L?{bestBg:L}:{},threshold:S.threshold,fg:S.fg});}}catch(x){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",x);}finally{if(w)try{await Promise.race([f.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(x=>x.remove())),new Promise(x=>setTimeout(x,1e3))]);}catch{}}return p}function xL(f,d){let{confidence:h,reviewReason:g,...p}=f;return {...p,id:f.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`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 wg(f,d,h,g){let p=d.filter(F=>F.wcag!=="1.4.3"||!F.selector?false:F.source==="axe-core"?vL.has(h.get(F.id)??""):F.type==="contrast_insufficient"&&/gradient or image/.test(F.reviewReason??""));if(p.length===0)return [];let w=await Ru(f,p.map(F=>F.selector));if(g)for(let F of w)g.set(F.selector,F);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${p.length} candidates, ${w.length} measured, ${w.filter(F=>F.fail).length} fail`);let _=new Map(w.filter(F=>F.fail).map(F=>[F.selector,F])),x=[],k=new Set;for(let F of p){let S=_.get(F.selector);!S||k.has(F.selector)||(k.add(F.selector),x.push(xL(F,S)));}return x}function DL(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 Fu(f){let d=f/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function xg(f,d,h){return .2126*Fu(f)+.7152*Fu(d)+.0722*Fu(h)}function _L(f,d){let h=Math.max(f,d),g=Math.min(f,d);return (h+.05)/(g+.05)}function Dg(f){if(f.startsWith("#"))return DL(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 Sn(f,d){let h=Dg(f),g=Dg(d);return !h||!g?0:_L(xg(...h),xg(...g))}var AL=30,EL=10,CL=2e4,SL=30,kL=400*1024,TL="https://openrouter.ai/api/v1",RL="anthropic/claude-haiku-4.5",_g="deepseek/deepseek-v4-flash",Ag=400,Eg=125,Iu=160,FL=2e3,Ho=new Map;function IL(f){let d=0;for(let h=0;h<f.length;h++)d=(d<<5)-d+f.charCodeAt(h)|0;return Math.abs(d).toString(36)}var Lu=f=>f.wcag||f.type,Cg=(f,d,h)=>`${f}|${d.selector}|${Lu(d)}|${IL(h)}`,Pu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function LL(f){let{selectors:d,maxHtml:h}=f,g={elements:{}},p=[],w=q=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(q)&&!/^\s*not\b/i.test(q),_=q=>{let M=q.split(",").map($=>$.trim()).filter(Boolean);return M.length?M.every($=>{let N=$.match(/^(-?[\d.]+)(ms|s)$/i);return N?parseFloat(N[1])*(N[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},x=(q,M,$)=>{if(!($>8))for(let N of Array.from(q)){let U=N.media?.mediaText,Q=M||typeof U=="string"&&w(U),C=N.style,v=N.selectorText;if(Q&&C&&typeof v=="string"){let H=C.getPropertyValue("animation-name").trim(),j=/^none(\s*,\s*none)*$/i.test(H)||_(C.getPropertyValue("animation-duration"))||/^paused/i.test(C.getPropertyValue("animation-play-state").trim()),G=/^none(\s*,\s*none)*$/i.test(C.getPropertyValue("transition-property").trim())||_(C.getPropertyValue("transition-duration"));(j||G)&&p.push({selector:v,anim:j,trans:G});}let T=N.cssRules;T&&T.length&&x(T,Q,$+1);let I=N.styleSheet;if(I)try{x(I.cssRules,Q||w(N.media?.mediaText||""),$+1);}catch{}}};try{for(let q of Array.from(document.styleSheets))try{x(q.cssRules,w(q.media?.mediaText||""),0);}catch{}}catch{}let k=(q,M)=>{try{return q.matches(M)}catch{return false}},F=q=>q.split(",").map(M=>{let $=M.trim().match(/^(-?[\d.]+)(ms|s)$/i);return $?parseFloat($[1])*($[2].toLowerCase()==="s"?1e3:1):0}),S=q=>{let M=q.cloneNode(true);M.querySelectorAll("script, style").forEach(N=>N.remove());let $=(M.textContent||"").replace(/\s+/g," ").trim();if(!$){for(let N of Array.from(q.querySelectorAll("img[alt], [aria-label]")))if($=(N.getAttribute("alt")||N.getAttribute("aria-label")||"").trim(),$)break}return $},y=q=>{let M=(q.getAttribute("aria-label")||"").trim();if(M)return M;let N=(q.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(C=>{let v=document.getElementById(C);return v?(v.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(N)return N;let U=S(q);if(U)return U;let Q=q instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(q.type)?(q.value||q.alt||"").trim():"";return Q||(q.getAttribute("title")||"").trim()},E='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',D=window.scrollX||0,L=window.scrollY||0,P=[];for(let q of d){let M=null;try{M=document.querySelector(q);}catch{}if(!M){g.elements[q]={found:false};continue}let $=P.indexOf(M);$<0&&($=P.push(M)-1);let N=getComputedStyle(M),U=M.getBoundingClientRect(),Q=M.tagName.toLowerCase(),C={found:true,elementKey:$,tag:Q,html:(M.outerHTML||"").slice(0,h),rect:{x:U.left+D,y:U.top+L,w:U.width,h:U.height},role:(M.getAttribute("role")||"").toLowerCase(),ariaHidden:M.getAttribute("aria-hidden")==="true"||!!M.closest('[aria-hidden="true"]'),hidden:N.display==="none"||N.visibility==="hidden"||!!M.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(N.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:N.color,bg:N.backgroundColor,fontSize:parseFloat(N.fontSize)||0,fontWeight:parseInt(N.fontWeight,10)||400};if(Q==="img"){let G=M;C.img={src:(G.currentSrc||G.getAttribute("src")||"").slice(0,300),alt:G.getAttribute("alt"),naturalW:G.naturalWidth||0,naturalH:G.naturalHeight||0,attrW:parseInt(G.getAttribute("width")||"0",10)||0,attrH:parseInt(G.getAttribute("height")||"0",10)||0};}if(C.cssBackgroundImage){let G=M.closest(E);G&&(C.control={tag:G.tagName.toLowerCase(),name:y(G).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Q)){let G=N.animationName.split(",").some(ce=>ce.trim()&&ce.trim()!=="none")&&F(N.animationDuration).some(ce=>ce>10),K=F(N.transitionDuration).some(ce=>ce>10)&&N.transitionProperty.trim()!=="none",Z=p.filter(ce=>k(M,ce.selector)),ae=!G||Z.some(ce=>ce.anim),ee=!K||Z.some(ce=>ce.trans);C.reducedMotionHandled=(G||K)&&ae&ⅇ}let v=M.closest('a[href], button, [role="button"], [role="link"]');if(v&&v!==M){let G=v.cloneNode(true);G.querySelectorAll("img, svg").forEach(ae=>ae.remove());let K=(G.textContent||"").replace(/\s+/g," ").trim(),Z=(v.getAttribute("aria-label")||"").trim();C.parentInteractive={tag:v.tagName.toLowerCase(),text:(K||Z).slice(0,120)};}let T=G=>{let K=G.cloneNode(true);return K.querySelectorAll("script, style").forEach(Z=>Z.remove()),(K.textContent||"").replace(/\s+/g," ").trim()},I=M.matches('a[href], [role="link"]'),H=T(M),j=M.parentElement;if(I&&(j=M.closest("p, li, td, th, dd, dt, figcaption, blockquote")||M.parentElement),j){let G=T(j),K=I&&H?G.indexOf(H):-1,Z=K>120?K-120:0;C.nearText=(Z?"\u2026":"")+G.slice(Z,Z+240);}g.elements[q]=C;}return g}function PL(f,d){let h=(f.type||"").toLowerCase(),g=f.wcag||"";return h==="decorative_image_with_title"?"generic":g==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(h))?"alt":g==="1.4.3"||g==="1.4.6"||h==="color-contrast"||h==="contrast_insufficient"||h==="contrast_enhanced"?"contrast":g==="2.2.2"||g==="2.3.3"||/motion|animation|reduced_motion/.test(h)?"motion":"generic"}function Mu(f){return !!f&&f.tag!=="img"&&f.cssBackgroundImage&&!f.img}var ML=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function OL(f){let d=String(f??"").replace(/\s+/g," ").replace(ML,"judged").trim();if(d.length<=Iu)return d;let h=d.slice(0,Iu-1),g=h.lastIndexOf(" ");return (g>Iu/2?h.slice(0,g):h).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function NL(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>Eg){d=d.slice(0,Eg);let h=d.lastIndexOf(" ");h>60&&(d=d.slice(0,h)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function Qn(f){let d=f.match(/\d+(\.\d+)?/g);return !d||d.length<3?f:"#"+d.slice(0,3).map(h=>Math.round(Number(h)).toString(16).padStart(2,"0")).join("")}var Tg=/^#?([0-9a-f]{6})$/i;function qL(f){let d=String(f??"").trim().match(Tg);return d?"#"+d[1].toLowerCase():null}function BL(f){let{confidence:d,reviewReason:h,...g}=f;return {...g,id:f.id.replace("axe-incomplete-","axe-")}}function HL(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 h=[];for(let g of d){if(!g||typeof g!="object")continue;let{id:p,verdict:w,reason:_,fix:x}=g;if(typeof p!="string"||w!=="pass"&&w!=="violation")continue;let k=x&&typeof x=="object"?x:void 0;h.push({id:p,verdict:w,reason:typeof _=="string"?_:void 0,fix:k?{attribute:typeof k.attribute=="string"?k.attribute:void 0,value:typeof k.value=="string"?k.value:void 0}:void 0});}return h}var ea=class extends Error{},VL=`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
386
|
|
|
387
387
|
Rules:
|
|
388
388
|
- 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 +402,7 @@ Omit "fix" for passes.`;function $L(f){let d=f.items.map(({screenshot:h,...g})=>
|
|
|
402
402
|
Conformance level: ${f.level}
|
|
403
403
|
|
|
404
404
|
Findings:
|
|
405
|
-
${JSON.stringify(d,null,1)}`}function jL(f,d={}){let h=f.vision&&f.items.some(w=>w.screenshot),g=h?d.visionModel||RL:d.textModel||Ag,p=[{type:"text",text:$L(f)}];if(h)for(let w of f.items)w.screenshot&&(p.push({type:"text",text:`Crop for ${w.id}:`}),p.push({type:"image_url",image_url:{url:`data:image/png;base64,${w.screenshot}`}}));return {model:g,temperature:0,max_tokens:4096,...g===Ag&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:VL},{role:"user",content:p}]}}function zL(f){let d=(f.baseUrl||TL).replace(/\/+$/,""),h=false;try{let g=new URL(d).hostname;h=g==="openrouter.ai"||g.endsWith(".openrouter.ai");}catch{}return async(g,p)=>{let w=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(jL(g,{visionModel:f.visionModel,textModel:f.textModel,disableTextModelReasoning:h}))});if(!w.ok)throw new ea(`judge model HTTP ${w.status}`);let x=(await w.json()).choices?.[0]?.message?.content;if(typeof x=="string")return x;if(Array.isArray(x))return x.map(k=>typeof k?.text=="string"?k.text:"").join("");throw new Error("judge model returned no content")}}function GL(f){let d=f.apiUrl.replace(/\/+$/,"");return async(h,g)=>{let p=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:g,redirect:"manual",headers:{"Content-Type":"application/json",...f.token?{Authorization:`Bearer ${f.token}`}:{},...f.internalSecret?{"x-mcp-internal":f.internalSecret}:{}},body:JSON.stringify(h)});if(p.status>=300&&p.status<400)throw new ea(`judge endpoint redirected (HTTP ${p.status}); not followed`);if(!p.ok)throw new ea(`judge endpoint HTTP ${p.status}`);return p.json()}}function UL(f){return f.transport?f.transport:f.apiKey?zL({apiKey:f.apiKey,baseUrl:f.baseUrl,visionModel:f.visionModel,textModel:f.textModel}):f.apiUrl?GL({apiUrl:f.apiUrl,token:f.apiToken,internalSecret:f.internalSecret}):null}function WL(f){return f.maxCropChars??(!f.transport&&!f.apiKey&&f.apiUrl?kL:void 0)}async function Rg(f,d,h){let g={promoted:[],judged:[]},p=UL(h);if(d.length===0)return g;let w=h.level??"AA",D=h.timeoutMs??CL,x=Date.now()+D,k=Jn([...d],w);if(k.length===0)return g;let L=new Map;for(let v of k){let T=`${v.selector}|${Lu(v)}`,P=L.get(T);P?P.members.push(v):L.set(T,{key:T,members:[v],rep:v,ctx:void 0,kind:"generic"});}let S={elements:{}};if(f)try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),S=await f.evaluate(LL,{selectors:[...L.keys()].map(v=>L.get(v).rep.selector),maxHtml:_g});}catch{}for(let v of L.values())v.ctx=S.elements[v.rep.selector],v.ctx&&!v.ctx.found&&(v.ctx=void 0),v.kind=PL(v.rep,v.ctx);let y=new Map;for(let[v,T]of [...L]){if(!T.ctx)continue;let P=`${T.ctx.elementKey}|${Lu(T.rep)}`,V=y.get(P);if(!V){y.set(P,T);continue}V.members.push(...T.members),L.delete(v);}let _={promoted:[],judged:[]},I=(v,T)=>{for(let P of v.members){if(T.verdict==="violation"){let V=YL(P,v,T);if(!V)continue;_.promoted.push(V);}_.judged.push({id:P.id.replace("axe-incomplete-","axe-"),type:P.type,verdict:T.verdict,reason:T.reason});}},C=[...L.values()].filter(v=>v.kind==="contrast");if(C.length&&f){for(let T of C)T.pixels=h.measured?.get(T.rep.selector);let v=C.filter(T=>!T.pixels).map(T=>T.rep.selector);if(v.length)try{for(let T of await Ru(f,v))for(let P of C)P.rep.selector===T.selector&&(P.pixels=T);}catch{}}let F=[];for(let v of L.values()){let T=p?Ho.get(Cg(h.url,v.rep,v.ctx?.html??v.rep.html??"")):void 0;if(T){I(v,T);continue}let P=XL(v);if(P!=="drop"){if(P){I(v,P);continue}F.push(v);}}if(F.length===0||!p)return _;let O=h.vision!==false&&!!f&&typeof f.screenshot=="function",M=new Map,B=new Set,H=0,Y=WL(h),Z=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,_g),context:B.has(v.key)?{...Sg(v),cropNote:"no image attached: the crop was too large to send"}:Sg(v),...M.has(v.key)?{screenshot:M.get(v.key)}:{}}),E=O?EL:_L;for(let v=0;v<F.length;v+=E){let T=x-Date.now();if(T<=0)break;let P=F.slice(v,v+E);if(O){for(let Q of P){if(H>=SL||Date.now()>x)break;let ce=await ZL(f,Q.ctx,Y);ce&&(H++,ce.data?M.set(Q.key,ce.data):B.add(Q.key));}if(Date.now()>x)break}let V=new Map(P.map(Q=>[Q.rep.id,Q])),j=new AbortController,G=setTimeout(()=>j.abort(),T),J=null,ee=false,ae=Date.now();try{let Q=await Promise.race([p({url:h.url,level:w,vision:O,items:P.map(Z)},j.signal),new Promise((ce,we)=>j.signal.addEventListener("abort",()=>we(new Error("judge deadline"))))]);J=HL(Q),Pu()&&console.error(`ai judge: batch ${P.length} items, ${P.filter(ce=>M.has(ce.key)).length} crops, ${Date.now()-ae}ms, ${J?J.length+" verdicts":"MALFORMED: "+String(Q).slice(0,200)}`);}catch(Q){Pu()&&console.error(`ai judge: batch ${P.length} items failed after ${Date.now()-ae}ms: ${Q.message}`),J=null,ee=Q instanceof ea;}finally{clearTimeout(G);}if(!J){if(j.signal.aborted||ee)break;continue}for(let Q of J){let ce=V.get(Q.id);if(!ce)continue;V.delete(Q.id);let we={verdict:Q.verdict,reason:ML(Q.reason),fix:Q.fix};Ho.size>=FL&&Ho.clear(),Ho.set(Cg(h.url,ce.rep,ce.ctx?.html??ce.rep.html??""),we),I(ce,we);}}return _}function XL(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:h,attrH:g,naturalW:p,naturalH:w}=d.img;if(h>0&&h<=1&&g>0&&g<=1||p>0&&p<=1&&w>0&&w<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Ou(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 h=Mu(f.rep,f.pixels.threshold);return f.pixels.worstRatio>=h?{verdict:"pass",reason:`measured ${f.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${h}:1`}:f.pixels.bestRatio<h*.97?{verdict:"violation",reason:`measured ${f.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${h}:1 everywhere`}:null}return null}function Sg(f){let d=f.ctx,h={};return f.rep.reviewReason&&(h.engineNote=f.rep.reviewReason),d&&(h.tag=d.tag,d.nearText&&(h.nearbyText=d.nearText),d.parentInteractive&&(h.parentControl=d.parentInteractive),f.kind==="alt"&&Ou(d)&&d.control&&(h.control={tag:d.control.tag,accessibleName:d.control.name}),f.kind==="alt"&&d.img&&(h.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&&(h.fg=Qn(f.pixels.fg),h.threshold=Mu(f.rep,f.pixels.threshold),h.bestRatio=kg(f.pixels.bestRatio),h.worstRatio=kg(f.pixels.worstRatio),h.fontSize=d.fontSize,h.fontWeight=d.fontWeight),f.kind==="generic"&&(h.fg=Qn(d.fg),h.bg=Qn(d.bg),h.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),h}function Mu(f,d){return f.wcag==="1.4.6"||f.type==="contrast_enhanced"?d===3?4.5:7:d}var kg=f=>Math.round(f*100)/100;function YL(f,d,h){let g=BL(f);if(d.kind==="alt"){let w=NL(h.fix?.value);return w?Ou(d.ctx)?{...g,fix:{attribute:"aria-label",currentValue:"",suggestedValue:w,needsManualReview:false}}:{...g,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??f.fix?.currentValue??"",suggestedValue:w,needsManualReview:false}}:null}if(d.kind==="contrast"){let w=d.pixels;if(!w)return null;let D=Qn(w.fg),x=Mu(f,w.threshold),k=w.worstBg?Qn(w.worstBg):null,L=w.bestBg?Qn(w.bestBg):null,S=C=>!!C&&!!k&&Sn(C,k)>=x&&(!L||Sn(C,L)>=x),y,_=qL(h.fix?.value),I=k?KL(D,k,x):null;return _&&_!==D.toLowerCase()&&S(_)?y=`color:${_} !important;`:S(I)?y=`color:${I} !important;`:L&&Sn(D,L)>=x&&(y=`background-color:${L} !important;`),{...g,impact:"serious",message:`contrast: ${D} text on its rendered background measures ${w.worstRatio.toFixed(2)}:1 at worst (${w.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${h.reason||"not readable"}), needs ${x}:1`,fix:{attribute:"style",currentValue:D,...y?{suggestedValue:y}:{},needsManualReview:true}}}let p=f.fix;return p?{...g,fix:p}:h.fix?.attribute&&h.fix.value?{...g,fix:{attribute:h.fix.attribute,currentValue:"",suggestedValue:h.fix.value,needsManualReview:true}}:g}function KL(f,d,h){let g=f.match(Tg);if(!g)return null;let p=parseInt(g[1],16),w=[p>>16&255,p>>8&255,p&255],D=L=>"#"+L.map(S=>Math.round(Math.min(255,Math.max(0,S))).toString(16).padStart(2,"0")).join(""),x=(L,S)=>D(w.map(y=>S?y*(1-L):y+(255-y)*L)),k=null;for(let L of [true,false]){if(Sn(x(1,L),d)<h)continue;let S=0,y=1;for(let I=0;I<24;I++){let C=(S+y)/2;Sn(x(C,L),d)>=h?y=C:S=C;}let _=x(y,L);Sn(_,d)>=h&&(!k||y<k.t)&&(k={t:y,hex:_});}return k?.hex??null}var JL=[1,.6,.35];async function ZL(f,d,h){let g=f.screenshot;if(typeof g!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let w=Math.min(1200,d.rect.w+16),D=Math.min(600,d.rect.h+16),x=d.rect.x+d.rect.w/2,k=d.rect.y+d.rect.h/2,L=globalThis.Buffer;if(!L)return null;let S=0;for(let y of h===void 0?[1]:JL){let _=Math.max(2,Math.round(w*y)),I=Math.max(2,Math.round(D*y)),C=y===1?Math.max(0,d.rect.x-8):Math.max(0,x-_/2),F=y===1?Math.max(0,d.rect.y-8):Math.max(0,k-I/2),O=await g.call(f,{clip:{x:C,y:F,width:_,height:I},fullPage:!0,type:"png",animations:"disabled"}),M=L.from(O).toString("base64");if(S=M.length,h===void 0||M.length<=h)return {data:M}}return Pu()&&console.error(`ai judge: crop for ${d.tag} left out (${S} base64 chars > ${h} at the smallest clip)`),{}}catch{return null}}async function QL(f){let d=C=>({verdict:"drop",why:C}),h=null;try{h=document.querySelector(f.selector);}catch{return d("bad selector")}if(!h||h.tagName!=="VIDEO")return d("not a video");let g=getComputedStyle(h),p=h.getBoundingClientRect();if(g.display==="none"||g.visibility==="hidden"||h.closest("[hidden]")||p.width<100||p.height<50)return d("not visible/large enough");if(h.error)return d("failed load");let w=h.currentSrc||h.getAttribute("src")||h.querySelector("source")?.getAttribute("src")||"";if(!w||/^(blob|data|about|javascript):/i.test(w)||/\.(m3u8|mpd)(\?|$)/i.test(w))return d("no direct src / MSE");let D=h.hasAttribute("muted")||h.muted,x=h.hasAttribute("controls"),k=h.hasAttribute("autoplay")||h.autoplay,L=h.hasAttribute("loop")||h.loop,S=x||k&&!D;if(!S){let C=/play|pause|mute|unmute|sound|volume/i;for(let F=h.parentElement,O=0;F&&O<3&&!S;F=F.parentElement,O++)S=Array.from(F.querySelectorAll('button, [role="button"]')).some(M=>C.test((M.getAttribute("aria-label")||"")+" "+(M.getAttribute("title")||"")+" "+(M.textContent||"")));}if(!S)return d("not user-playable");if(D&&L&&!x)return d("decorative loop");if(h.hasAttribute("muted")&&!x&&!k)return d("muted");if(Number.isFinite(h.duration)&&h.duration>0&&h.duration<5)return d("under 5s");await new Promise(C=>setTimeout(C,2e3));for(let C of Array.from(h.querySelectorAll("track"))){let F=(C.getAttribute("kind")||"subtitles").toLowerCase();if((F==="captions"||F==="subtitles")&&C.getAttribute("src"))return d("has caption track")}let y=h.textTracks;for(let C=0;y&&C<y.length;C++)if(y[C].kind==="captions"||y[C].kind==="subtitles")return d("has text track");let _=h,I=null;if(typeof _.mozHasAudio=="boolean"?I=_.mozHasAudio:_.audioTracks&&typeof _.audioTracks.length=="number"&&(I=_.audioTracks.length>0?true:null),I===null&&typeof _.webkitAudioDecodedByteCount=="number"&&_.webkitAudioDecodedByteCount>0&&(I=true),I===null)try{let C=new AbortController,F=setTimeout(()=>C.abort(),f.fetchMs),O=await fetch(w,{headers:{Range:"bytes=0-"+(f.rangeBytes-1)},signal:C.signal}),M=new Uint8Array(f.rangeBytes),B=0,H=O.body?O.body.getReader():null;if(H)try{for(;B<f.rangeBytes;){let{done:E,value:v}=await H.read();if(E||!v)break;let T=Math.min(v.length,f.rangeBytes-B);M.set(v.subarray(0,T),B),B+=T;}}finally{try{await H.cancel();}catch{}}clearTimeout(F);let Y=(E,v=0)=>{e:for(let T=v;T<=B-E.length;T++){for(let P=0;P<E.length;P++)if(M[T+P]!==E[P])continue e;return T}return -1},Z=E=>Array.from(E).map(v=>v.charCodeAt(0));Y(Z("ftyp"))>=0&&Y(Z("moov"))>=0?I=Y(Z("hdlr"))>=0&&Y(Z("soun"))>=0:M[0]===26&&M[1]===69&&M[2]===223&&M[3]===163&&Y([22,84,174,107])>=0&&(I=Y([131,129,2])>=0);}catch{I=null;}return I!==true?d(I===false?"silent":"audio unknowable"):{verdict:"violation"}}async function Fg(f,d){let h=d.filter(w=>w.type==="missing_captions"&&/^<video\b/i.test(w.html??"")&&w.selector).slice(0,10);if(h.length===0)return [];let g=[],p=Date.now()+1e4;try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let w of h){if(Date.now()>p)break;let D=p-Date.now(),x,k=await Promise.race([f.evaluate(QL,{selector:w.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(L=>{x=setTimeout(()=>L(null),D);})]).finally(()=>x&&clearTimeout(x));if(!k)break;if(k.verdict==="violation"){let{confidence:L,reviewReason:S,...y}=w;g.push({...y,id:w.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 g}function Pg(){let f=p=>{let w=p.getBoundingClientRect();if(w.width===0||w.height===0)return false;let D=window.getComputedStyle(p);return D.visibility!=="hidden"&&D.display!=="none"&&D.opacity!=="0"},d=Array.from(document.querySelectorAll('input[type="password"]')),h=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),g=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:h,oauthButtons:g,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var eP=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,tP=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Ig(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 Og(f,d,h){if(Ig(d))return null;let g=Lg(d)!==Lg(h),p=f.submitLabels.some(y=>eP.test(y)),w=tP.test(f.headingText),D=Ig(h),x=[];D&&x.push("url"),p&&x.push("submit"),w&&x.push("heading"),g&&x.push("redirected");let k=f.visiblePasswordFields>0,L=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!k&&!L||x.length<2)return null;let S=`${k?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${h}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:S,finalUrl:h}}function Lg(f){try{let d=new URL(f);return `${d.origin}${d.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}async function wP(f){try{return await f.evaluate(()=>{let d=(document.title||"").toLowerCase(),h=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[w,D]of h)if(d.includes(w))return {vendor:D,signal:`title:"${document.title}"`,needsCorroboration:!1};let g=[["#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[w,D]of g)if(document.querySelector(w))return {vendor:D,signal:`marker:${w}`,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[w,D]of p)if(d.includes(w))return {vendor:D,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function xP(f){try{return await f.evaluate(()=>{let d=document.querySelectorAll("body *").length;if(d>250)return null;let h=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of h)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:d}}catch{}let g=(document.title||"").toLowerCase();return g.includes("captcha")||g.includes("security check")||g.includes("bot verification")?{signal:`title:"${document.title}"`,elements:d}:null})}catch{return null}}async function DP(f,d){let h=await wP(f),g=typeof d=="number"&&d>=400,p=h&&(!h.needsCorroboration||g)?h:null;if(!p&&!g)return null;let w=[];return p&&w.push(`served a ${p.vendor} bot-challenge / interstitial page`),g&&w.push(`main document returned HTTP ${d}`),{reason:`Scan did not reach the real page \u2014 the target ${w.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}:g?{signal:`status:${d}`}:{}}}async function ri(f,d){let h=typeof f=="string",g={wcagTags:Au,includeAxe:true,deep:false,dismissModals:h,...d},p,w,D,x;if(h){D=f.startsWith("http")?f:`https://${f}`;let k=typeof g.viewport=="string"?No[g.viewport]??No.desktop:g.viewport??No.desktop;w=await(await import('playwright')).chromium.launch({headless:g.browser?.headless??true}),p=await(await w.newContext({viewport:k})).newPage();let y=await p.goto(D,{waitUntil:"domcontentloaded",timeout:g.browser?.timeout??3e4});x=typeof y?.status=="function"?y.status():void 0;}else p=f,D=p.url(),x=g.mainStatus;if(g.dismissModals)try{let{dismissModals:k}=await Promise.resolve().then(()=>(Ng(),Mg));await k(p);}catch{}if(g.settle!==false)try{let{waitForRenderSettle:k}=await Promise.resolve().then(()=>($o(),Vo));await k(p,typeof g.settle=="number"?g.settle:void 0);}catch{}if(!w){let{snapshotInteractionState:k}=await Promise.resolve().then(()=>(zo(),jo));await k(p);}try{let k=await p.evaluate(()=>performance.timeOrigin);try{let ae=await p.evaluate(Pg),Q=Og(ae,D,typeof p.url=="function"?p.url():D);if(Q)return {url:D,timestamp:new Date().toISOString(),blocked:{reason:Q.reason,signal:`auth-wall:${Q.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let L=await DP(p,x);if(L)return {url:D,timestamp:new Date().toISOString(),blocked:L,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let S=[],y=new Map,_=[],I=[],C=[],{guardDetectorState:F,dropToolingFindings:O}=await Promise.resolve().then(()=>(Lr(),dn)),M=await xP(p);M&&I.push(`challenge:suspected-interstitial (${M.signal}; ${M.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Lr(),dn))).startProvenance(p);let B=await dg(p,_,I,{internalBugs:C,extraSerialDetectors:g.extraSerialDetectors,experimental:g.experimental});S.push(...B.map(hg));let{resetInteractionState:H,focusOnlyObscuredIndexes:Y}=await Promise.resolve().then(()=>(zo(),jo));if(await H(p),g.includeAxe)try{let ae=await F(p,"axe",I,()=>bg(p,pg(g.wcagTags??Au,g.level)),{bugs:C});for(let Q of ae.violations){let ce=Q.id==="target-size"?await Y(p,Q.nodes):new Set;for(let[we,ue]of Q.nodes.entries()){if(ce.has(we)){C.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:Zn(ue.target)});continue}S.push({id:`axe-${Q.id}-${Qa(Zn(ue.target))}`,source:"axe-core",type:Q.id,wcag:Su(Q.tags),level:ku(Q.tags),impact:Eu(Q.impact),message:Q.help,selector:Zn(ue.target),html:ue.html?.slice(0,300)});}}for(let Q of ae.incomplete??[])for(let ce of Q.nodes){let we=`axe-incomplete-${Q.id}-${Qa(Zn(ce.target))}`,ue=ce.any?.[0]?.data?.messageKey;ue&&y.set(we,ue),S.push({id:we,source:"axe-core",type:Q.id,wcag:Su(Q.tags),level:ku(Q.tags),impact:Eu(Q.impact),message:Q.help,selector:Zn(ce.target),html:ce.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch(ae){C.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${ae?.message??String(ae)}`});}let{deduplicateIssues:Z}=await Promise.resolve().then(()=>(ra(),ta)),E=Tu(S),v=Z(E.verdicts);try{let{pruneInvisibleContrast:ae}=await Promise.resolve().then(()=>($o(),Vo));v=await ae(p,v);}catch{}try{let{pruneHiddenIframeIssues:ae}=await Promise.resolve().then(()=>($o(),Vo));v=await ae(p,v);}catch{}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ra(),ta));v=await ae(p,v);}catch{}try{v=await O(p,v,C);}catch{}try{let{verifyAnimatedGifs:ae}=await Promise.resolve().then(()=>($g(),Vg));v=await ae(p,v);}catch{}if(g.deep&&g.deepApiKey)try{let ae=await AP(D,v,g);v.push(...ae);}catch{}if(g.rootSelector)try{let{scopeIssuesToRoot:ae}=await Promise.resolve().then(()=>(qu(),Nu)),Q=await ae(p,v,g.rootSelector);v=Q.issues,Q.warning&&I.push(Q.warning);}catch{}v=Jn(v,g.level??"AA");let T=Tu(v),P=T.verdicts,V=[],j=[],G=new Set;try{if(j=[...E.undecided,...T.undecided],g.rootSelector){let{scopeIssuesToRoot:ue}=await Promise.resolve().then(()=>(qu(),Nu));j=(await ue(p,j,g.rootSelector)).issues;}let ae=new Map;await H(p);let Q=await F(p,"contrast-pixels",I,()=>wg(p,j,y,ae),{bugs:C}),ce=await Fg(p,j),we=[...Q,...ce];if(G=new Set(we.map(ue=>`${ue.selector}|${ue.wcag}`)),we.length){let{deduplicateIssues:ue}=await Promise.resolve().then(()=>(ra(),ta));P=ue([...P,...we]);}{let ue=j.filter(Oe=>!G.has(`${Oe.selector}|${Oe.wcag}`)),Ae=await Rg(p,ue,{...g.judge,url:D,level:g.judge?.level??g.level??"AA",measured:ae});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${ue.length} undecided before judge, ${Ae.promoted.length} promoted, ${Ae.judged.filter(Oe=>Oe.verdict==="pass").length} passed`),V=Ae.judged,Ae.promoted.length){let{deduplicateIssues:Oe}=await Promise.resolve().then(()=>(ra(),ta));P=Oe([...P,...Jn(Ae.promoted,g.level??"AA")]);}}}catch{}let J;{let ae=new Set(V.map(ce=>ce.id)),Q=Jn(j,g.level??"AA").filter(ce=>!G.has(`${ce.selector}|${ce.wcag}`)&&!ae.has(ce.id.replace("axe-incomplete-","axe-")));Q.length&&(J={count:Q.length,wcag:[...new Set(Q.map(ce=>ce.wcag))].sort()});}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ra(),ta));P=await ae(p,P);}catch{}try{P=await O(p,P,C);}catch{}if(await p.evaluate(()=>performance.timeOrigin)!==k)throw new Error(`the page's document was replaced during the scan (navigation to ${p.url()}); the findings mix two documents`);{let{attachMutations:ae,stopProvenance:Q}=await Promise.resolve().then(()=>(Lr(),dn));ae(C,await Q(p));}let ee={url:D,timestamp:new Date().toISOString(),engine:fg,issues:P,internal_bugs:C,incomplete:[],...V.length?{judged:V}:{},..._.length?{truncated:_}:{},...I.length?{engineWarnings:I}:{},...J?{unsettled:J}:{},...g.keepDetected?{detected:B}:{},summary:Cu(P)};if(g.review!==!1&&g.deepApiKey)try{ee=await _P(ee,g);}catch{}return ee}finally{let{stopProvenance:k}=await Promise.resolve().then(()=>(Lr(),dn));if(await k(p),w)await w.close();else {let{restoreInteractionState:L}=await Promise.resolve().then(()=>(zo(),jo));await L(p);}}}async function AP(f,d,h){let g=h.deepApiUrl||"https://api.webability.io",p=await fetch(`${g}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:d.slice(0,30).map(({source:D,...x})=>x)})});return p.ok?((await p.json()).issues??[]).map((D,x)=>({id:`deep-${x}-${Qa(D.selector||D.element||"")}`,source:"deep-analysis",type:`wcag-${D.wcag}`,wcag:D.wcag,level:"AA",impact:D.severity==="High"?"critical":D.severity==="Medium"?"serious":"moderate",message:D.message,selector:D.selector||D.element||""})):[]}function jg(f){let d=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&d!=="style"&&!d.startsWith("data-")}async function _P(f,d){let h=d.deepApiUrl||"https://api.webability.io",g=f.issues.filter(jg);if(g.length===0)return f;try{let p=await fetch(`${h}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.deepApiKey}`},body:JSON.stringify({url:f.url,issues:g.slice(0,30).map(({source:k,...L})=>L)})});if(!p.ok)return f;let w=await p.json();if(!w.confirmed_ids)return f;let D=new Set(w.confirmed_ids),x=f.issues.filter(k=>!jg(k)||D.has(k.id));return {...f,issues:x,summary:Cu(x)}}catch{return f}}function Gg(f){return {...f,issues:f.issues.map(({source:d,...h})=>h)}}async function EP(f,d){return Gg(await ri(f,{...d,dismissModals:false}))}var zg=class{page;options;snapshots=[];observer=false;constructor(d,h){this.page=d,this.options=h??{};}async analyze(d){return EP(this.page,{...this.options,...d})}async start(d){this.snapshots=[],this.observer=true;let h={...this.options,...d},g=await ri(this.page,{...h,dismissModals:false});this.snapshots.push(g),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let p=await ri(this.page,{...h,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 ri(this.page,{...this.options,dismissModals:false});this.snapshots.push(d);let h=new Map;for(let w of this.snapshots)for(let D of w.issues)h.set(D.id,D);let g=Array.from(h.values()),p={url:d.url,timestamp:d.timestamp,issues:g,incomplete:[],summary:{total:g.length,critical:g.filter(w=>w.impact==="critical").length,serious:g.filter(w=>w.impact==="serious").length,moderate:g.filter(w=>w.impact==="moderate").length,minor:g.filter(w=>w.impact==="minor").length,incomplete:0}};return this.snapshots=[],Gg(p)}};/*! Bundled license information:
|
|
405
|
+
${JSON.stringify(d,null,1)}`}function jL(f,d={}){let h=f.vision&&f.items.some(w=>w.screenshot),g=h?d.visionModel||RL:d.textModel||_g,p=[{type:"text",text:$L(f)}];if(h)for(let w of f.items)w.screenshot&&(p.push({type:"text",text:`Crop for ${w.id}:`}),p.push({type:"image_url",image_url:{url:`data:image/png;base64,${w.screenshot}`}}));return {model:g,temperature:0,max_tokens:4096,...g===_g&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:VL},{role:"user",content:p}]}}function zL(f){let d=(f.baseUrl||TL).replace(/\/+$/,""),h=false;try{let g=new URL(d).hostname;h=g==="openrouter.ai"||g.endsWith(".openrouter.ai");}catch{}return async(g,p)=>{let w=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(jL(g,{visionModel:f.visionModel,textModel:f.textModel,disableTextModelReasoning:h}))});if(!w.ok)throw new ea(`judge model HTTP ${w.status}`);let x=(await w.json()).choices?.[0]?.message?.content;if(typeof x=="string")return x;if(Array.isArray(x))return x.map(k=>typeof k?.text=="string"?k.text:"").join("");throw new Error("judge model returned no content")}}function GL(f){let d=f.apiUrl.replace(/\/+$/,"");return async(h,g)=>{let p=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:g,redirect:"manual",headers:{"Content-Type":"application/json",...f.token?{Authorization:`Bearer ${f.token}`}:{},...f.internalSecret?{"x-mcp-internal":f.internalSecret}:{}},body:JSON.stringify(h)});if(p.status>=300&&p.status<400)throw new ea(`judge endpoint redirected (HTTP ${p.status}); not followed`);if(!p.ok)throw new ea(`judge endpoint HTTP ${p.status}`);return p.json()}}function UL(f){return f.transport?f.transport:f.apiKey?zL({apiKey:f.apiKey,baseUrl:f.baseUrl,visionModel:f.visionModel,textModel:f.textModel}):f.apiUrl?GL({apiUrl:f.apiUrl,token:f.apiToken,internalSecret:f.internalSecret}):null}function WL(f){return f.maxCropChars??(!f.transport&&!f.apiKey&&f.apiUrl?kL:void 0)}async function Rg(f,d,h){let g={promoted:[],judged:[]},p=UL(h);if(d.length===0)return g;let w=h.level??"AA",_=h.timeoutMs??CL,x=Date.now()+_,k=Jn([...d],w);if(k.length===0)return g;let F=new Map;for(let v of k){let T=`${v.selector}|${Lu(v)}`,I=F.get(T);I?I.members.push(v):F.set(T,{key:T,members:[v],rep:v,ctx:void 0,kind:"generic"});}let S={elements:{}};if(f)try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),S=await f.evaluate(LL,{selectors:[...F.keys()].map(v=>F.get(v).rep.selector),maxHtml:Ag});}catch{}for(let v of F.values())v.ctx=S.elements[v.rep.selector],v.ctx&&!v.ctx.found&&(v.ctx=void 0),v.kind=PL(v.rep,v.ctx);let y=new Map;for(let[v,T]of [...F]){if(!T.ctx)continue;let I=`${T.ctx.elementKey}|${Lu(T.rep)}`,H=y.get(I);if(!H){y.set(I,T);continue}H.members.push(...T.members),F.delete(v);}let E={promoted:[],judged:[]},D=(v,T)=>{for(let I of v.members){if(T.verdict==="violation"){let H=YL(I,v,T);if(!H)continue;E.promoted.push(H);}E.judged.push({id:I.id.replace("axe-incomplete-","axe-"),type:I.type,verdict:T.verdict,reason:T.reason});}},L=[...F.values()].filter(v=>v.kind==="contrast");if(L.length&&f){for(let T of L)T.pixels=h.measured?.get(T.rep.selector);let v=L.filter(T=>!T.pixels).map(T=>T.rep.selector);if(v.length)try{for(let T of await Ru(f,v))for(let I of L)I.rep.selector===T.selector&&(I.pixels=T);}catch{}}let P=[];for(let v of F.values()){let T=p?Ho.get(Cg(h.url,v.rep,v.ctx?.html??v.rep.html??"")):void 0;if(T){D(v,T);continue}let I=XL(v);if(I!=="drop"){if(I){D(v,I);continue}P.push(v);}}if(P.length===0||!p)return E;let q=h.vision!==false&&!!f&&typeof f.screenshot=="function",M=new Map,$=new Set,N=0,U=WL(h),Q=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,Ag),context:$.has(v.key)?{...Sg(v),cropNote:"no image attached: the crop was too large to send"}:Sg(v),...M.has(v.key)?{screenshot:M.get(v.key)}:{}}),C=q?EL:AL;for(let v=0;v<P.length;v+=C){let T=x-Date.now();if(T<=0)break;let I=P.slice(v,v+C);if(q){for(let ee of I){if(N>=SL||Date.now()>x)break;let ce=await ZL(f,ee.ctx,U);ce&&(N++,ce.data?M.set(ee.key,ce.data):$.add(ee.key));}if(Date.now()>x)break}let H=new Map(I.map(ee=>[ee.rep.id,ee])),j=new AbortController,G=setTimeout(()=>j.abort(),T),K=null,Z=false,ae=Date.now();try{let ee=await Promise.race([p({url:h.url,level:w,vision:q,items:I.map(Q)},j.signal),new Promise((ce,ke)=>j.signal.addEventListener("abort",()=>ke(new Error("judge deadline"))))]);K=HL(ee),Pu()&&console.error(`ai judge: batch ${I.length} items, ${I.filter(ce=>M.has(ce.key)).length} crops, ${Date.now()-ae}ms, ${K?K.length+" verdicts":"MALFORMED: "+String(ee).slice(0,200)}`);}catch(ee){Pu()&&console.error(`ai judge: batch ${I.length} items failed after ${Date.now()-ae}ms: ${ee.message}`),K=null,Z=ee instanceof ea;}finally{clearTimeout(G);}if(!K){if(j.signal.aborted||Z)break;continue}for(let ee of K){let ce=H.get(ee.id);if(!ce)continue;H.delete(ee.id);let ke={verdict:ee.verdict,reason:OL(ee.reason),fix:ee.fix};Ho.size>=FL&&Ho.clear(),Ho.set(Cg(h.url,ce.rep,ce.ctx?.html??ce.rep.html??""),ke),D(ce,ke);}}return E}function XL(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:h,attrH:g,naturalW:p,naturalH:w}=d.img;if(h>0&&h<=1&&g>0&&g<=1||p>0&&p<=1&&w>0&&w<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Mu(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 h=Ou(f.rep,f.pixels.threshold);return f.pixels.worstRatio>=h?{verdict:"pass",reason:`measured ${f.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${h}:1`}:f.pixels.bestRatio<h*.97?{verdict:"violation",reason:`measured ${f.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${h}:1 everywhere`}:null}return null}function Sg(f){let d=f.ctx,h={};return f.rep.reviewReason&&(h.engineNote=f.rep.reviewReason),d&&(h.tag=d.tag,d.nearText&&(h.nearbyText=d.nearText),d.parentInteractive&&(h.parentControl=d.parentInteractive),f.kind==="alt"&&Mu(d)&&d.control&&(h.control={tag:d.control.tag,accessibleName:d.control.name}),f.kind==="alt"&&d.img&&(h.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&&(h.fg=Qn(f.pixels.fg),h.threshold=Ou(f.rep,f.pixels.threshold),h.bestRatio=kg(f.pixels.bestRatio),h.worstRatio=kg(f.pixels.worstRatio),h.fontSize=d.fontSize,h.fontWeight=d.fontWeight),f.kind==="generic"&&(h.fg=Qn(d.fg),h.bg=Qn(d.bg),h.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),h}function Ou(f,d){return f.wcag==="1.4.6"||f.type==="contrast_enhanced"?d===3?4.5:7:d}var kg=f=>Math.round(f*100)/100;function YL(f,d,h){let g=BL(f);if(d.kind==="alt"){let w=NL(h.fix?.value);return w?Mu(d.ctx)?{...g,fix:{attribute:"aria-label",currentValue:"",suggestedValue:w,needsManualReview:false}}:{...g,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??f.fix?.currentValue??"",suggestedValue:w,needsManualReview:false}}:null}if(d.kind==="contrast"){let w=d.pixels;if(!w)return null;let _=Qn(w.fg),x=Ou(f,w.threshold),k=w.worstBg?Qn(w.worstBg):null,F=w.bestBg?Qn(w.bestBg):null,S=L=>!!L&&!!k&&Sn(L,k)>=x&&(!F||Sn(L,F)>=x),y,E=qL(h.fix?.value),D=k?KL(_,k,x):null;return E&&E!==_.toLowerCase()&&S(E)?y=`color:${E} !important;`:S(D)?y=`color:${D} !important;`:F&&Sn(_,F)>=x&&(y=`background-color:${F} !important;`),{...g,impact:"serious",message:`contrast: ${_} text on its rendered background measures ${w.worstRatio.toFixed(2)}:1 at worst (${w.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${h.reason||"not readable"}), needs ${x}:1`,fix:{attribute:"style",currentValue:_,...y?{suggestedValue:y}:{},needsManualReview:true}}}let p=f.fix;return p?{...g,fix:p}:h.fix?.attribute&&h.fix.value?{...g,fix:{attribute:h.fix.attribute,currentValue:"",suggestedValue:h.fix.value,needsManualReview:true}}:g}function KL(f,d,h){let g=f.match(Tg);if(!g)return null;let p=parseInt(g[1],16),w=[p>>16&255,p>>8&255,p&255],_=F=>"#"+F.map(S=>Math.round(Math.min(255,Math.max(0,S))).toString(16).padStart(2,"0")).join(""),x=(F,S)=>_(w.map(y=>S?y*(1-F):y+(255-y)*F)),k=null;for(let F of [true,false]){if(Sn(x(1,F),d)<h)continue;let S=0,y=1;for(let D=0;D<24;D++){let L=(S+y)/2;Sn(x(L,F),d)>=h?y=L:S=L;}let E=x(y,F);Sn(E,d)>=h&&(!k||y<k.t)&&(k={t:y,hex:E});}return k?.hex??null}var JL=[1,.6,.35];async function ZL(f,d,h){let g=f.screenshot;if(typeof g!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let w=Math.min(1200,d.rect.w+16),_=Math.min(600,d.rect.h+16),x=d.rect.x+d.rect.w/2,k=d.rect.y+d.rect.h/2,F=globalThis.Buffer;if(!F)return null;let S=0;for(let y of h===void 0?[1]:JL){let E=Math.max(2,Math.round(w*y)),D=Math.max(2,Math.round(_*y)),L=y===1?Math.max(0,d.rect.x-8):Math.max(0,x-E/2),P=y===1?Math.max(0,d.rect.y-8):Math.max(0,k-D/2),q=await g.call(f,{clip:{x:L,y:P,width:E,height:D},fullPage:!0,type:"png",animations:"disabled"}),M=F.from(q).toString("base64");if(S=M.length,h===void 0||M.length<=h)return {data:M}}return Pu()&&console.error(`ai judge: crop for ${d.tag} left out (${S} base64 chars > ${h} at the smallest clip)`),{}}catch{return null}}async function QL(f){let d=L=>({verdict:"drop",why:L}),h=null;try{h=document.querySelector(f.selector);}catch{return d("bad selector")}if(!h||h.tagName!=="VIDEO")return d("not a video");let g=getComputedStyle(h),p=h.getBoundingClientRect();if(g.display==="none"||g.visibility==="hidden"||h.closest("[hidden]")||p.width<100||p.height<50)return d("not visible/large enough");if(h.error)return d("failed load");let w=h.currentSrc||h.getAttribute("src")||h.querySelector("source")?.getAttribute("src")||"";if(!w||/^(blob|data|about|javascript):/i.test(w)||/\.(m3u8|mpd)(\?|$)/i.test(w))return d("no direct src / MSE");let _=h.hasAttribute("muted")||h.muted,x=h.hasAttribute("controls"),k=h.hasAttribute("autoplay")||h.autoplay,F=h.hasAttribute("loop")||h.loop,S=x||k&&!_;if(!S){let L=/play|pause|mute|unmute|sound|volume/i;for(let P=h.parentElement,q=0;P&&q<3&&!S;P=P.parentElement,q++)S=Array.from(P.querySelectorAll('button, [role="button"]')).some(M=>L.test((M.getAttribute("aria-label")||"")+" "+(M.getAttribute("title")||"")+" "+(M.textContent||"")));}if(!S)return d("not user-playable");if(_&&F&&!x)return d("decorative loop");if(h.hasAttribute("muted")&&!x&&!k)return d("muted");if(Number.isFinite(h.duration)&&h.duration>0&&h.duration<5)return d("under 5s");await new Promise(L=>setTimeout(L,2e3));for(let L of Array.from(h.querySelectorAll("track"))){let P=(L.getAttribute("kind")||"subtitles").toLowerCase();if((P==="captions"||P==="subtitles")&&L.getAttribute("src"))return d("has caption track")}let y=h.textTracks;for(let L=0;y&&L<y.length;L++)if(y[L].kind==="captions"||y[L].kind==="subtitles")return d("has text track");let E=h,D=null;if(typeof E.mozHasAudio=="boolean"?D=E.mozHasAudio:E.audioTracks&&typeof E.audioTracks.length=="number"&&(D=E.audioTracks.length>0?true:null),D===null&&typeof E.webkitAudioDecodedByteCount=="number"&&E.webkitAudioDecodedByteCount>0&&(D=true),D===null)try{let L=new AbortController,P=setTimeout(()=>L.abort(),f.fetchMs),q=await fetch(w,{headers:{Range:"bytes=0-"+(f.rangeBytes-1)},signal:L.signal}),M=new Uint8Array(f.rangeBytes),$=0,N=q.body?q.body.getReader():null;if(N)try{for(;$<f.rangeBytes;){let{done:C,value:v}=await N.read();if(C||!v)break;let T=Math.min(v.length,f.rangeBytes-$);M.set(v.subarray(0,T),$),$+=T;}}finally{try{await N.cancel();}catch{}}clearTimeout(P);let U=(C,v=0)=>{e:for(let T=v;T<=$-C.length;T++){for(let I=0;I<C.length;I++)if(M[T+I]!==C[I])continue e;return T}return -1},Q=C=>Array.from(C).map(v=>v.charCodeAt(0));U(Q("ftyp"))>=0&&U(Q("moov"))>=0?D=U(Q("hdlr"))>=0&&U(Q("soun"))>=0:M[0]===26&&M[1]===69&&M[2]===223&&M[3]===163&&U([22,84,174,107])>=0&&(D=U([131,129,2])>=0);}catch{D=null;}return D!==true?d(D===false?"silent":"audio unknowable"):{verdict:"violation"}}async function Fg(f,d){let h=d.filter(w=>w.type==="missing_captions"&&/^<video\b/i.test(w.html??"")&&w.selector).slice(0,10);if(h.length===0)return [];let g=[],p=Date.now()+1e4;try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let w of h){if(Date.now()>p)break;let _=p-Date.now(),x,k=await Promise.race([f.evaluate(QL,{selector:w.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(F=>{x=setTimeout(()=>F(null),_);})]).finally(()=>x&&clearTimeout(x));if(!k)break;if(k.verdict==="violation"){let{confidence:F,reviewReason:S,...y}=w;g.push({...y,id:w.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 g}function Pg(){let f=p=>{let w=p.getBoundingClientRect();if(w.width===0||w.height===0)return false;let _=window.getComputedStyle(p);return _.visibility!=="hidden"&&_.display!=="none"&&_.opacity!=="0"},d=Array.from(document.querySelectorAll('input[type="password"]')),h=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),g=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:h,oauthButtons:g,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var eP=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,tP=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Ig(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 Mg(f,d,h){if(Ig(d))return null;let g=Lg(d)!==Lg(h),p=f.submitLabels.some(y=>eP.test(y)),w=tP.test(f.headingText),_=Ig(h),x=[];_&&x.push("url"),p&&x.push("submit"),w&&x.push("heading"),g&&x.push("redirected");let k=f.visiblePasswordFields>0,F=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!k&&!F||x.length<2)return null;let S=`${k?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${h}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:S,finalUrl:h}}function Lg(f){try{let d=new URL(f);return `${d.origin}${d.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}async function wP(f){try{return await f.evaluate(()=>{let d=(document.title||"").toLowerCase(),h=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[w,_]of h)if(d.includes(w))return {vendor:_,signal:`title:"${document.title}"`,needsCorroboration:!1};let g=[["#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[w,_]of g)if(document.querySelector(w))return {vendor:_,signal:`marker:${w}`,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[w,_]of p)if(d.includes(w))return {vendor:_,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function xP(f){try{return await f.evaluate(()=>{let d=document.querySelectorAll("body *").length;if(d>250)return null;let h=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of h)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:d}}catch{}let g=(document.title||"").toLowerCase();return g.includes("captcha")||g.includes("security check")||g.includes("bot verification")?{signal:`title:"${document.title}"`,elements:d}:null})}catch{return null}}async function DP(f,d){let h=await wP(f),g=typeof d=="number"&&d>=400,p=h&&(!h.needsCorroboration||g)?h:null;if(!p&&!g)return null;let w=[];return p&&w.push(`served a ${p.vendor} bot-challenge / interstitial page`),g&&w.push(`main document returned HTTP ${d}`),{reason:`Scan did not reach the real page \u2014 the target ${w.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}:g?{signal:`status:${d}`}:{}}}async function ri(f,d){let h=typeof f=="string",g={wcagTags:_u,includeAxe:true,deep:false,dismissModals:h,...d},p,w,_,x;if(h){_=f.startsWith("http")?f:`https://${f}`;let k=typeof g.viewport=="string"?No[g.viewport]??No.desktop:g.viewport??No.desktop;w=await(await import('playwright')).chromium.launch({headless:g.browser?.headless??true}),p=await(await w.newContext({viewport:k})).newPage();let y=await p.goto(_,{waitUntil:"domcontentloaded",timeout:g.browser?.timeout??3e4});x=typeof y?.status=="function"?y.status():void 0;}else p=f,_=p.url(),x=g.mainStatus;if(g.dismissModals)try{let{dismissModals:k}=await Promise.resolve().then(()=>(Ng(),Og));await k(p);}catch{}if(g.settle!==false)try{let{waitForRenderSettle:k}=await Promise.resolve().then(()=>($o(),Vo));await k(p,typeof g.settle=="number"?g.settle:void 0);}catch{}if(!w){let{snapshotInteractionState:k}=await Promise.resolve().then(()=>(zo(),jo));await k(p);}try{let k=await p.evaluate(()=>performance.timeOrigin);try{let ae=await p.evaluate(Pg),ee=Mg(ae,_,typeof p.url=="function"?p.url():_);if(ee)return {url:_,timestamp:new Date().toISOString(),blocked:{reason:ee.reason,signal:`auth-wall:${ee.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let F=await DP(p,x);if(F)return {url:_,timestamp:new Date().toISOString(),blocked:F,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let S=[],y=new Map,E=[],D=[],L=[],{guardDetectorState:P,dropToolingFindings:q}=await Promise.resolve().then(()=>(Lr(),dn)),M=await xP(p);M&&D.push(`challenge:suspected-interstitial (${M.signal}; ${M.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Lr(),dn))).startProvenance(p);let $=await dg(p,E,D,{internalBugs:L,extraSerialDetectors:g.extraSerialDetectors,experimental:g.experimental});S.push(...$.map(hg));let{resetInteractionState:N,focusOnlyObscuredIndexes:U}=await Promise.resolve().then(()=>(zo(),jo));if(await N(p),g.includeAxe)try{let ae=await P(p,"axe",D,()=>bg(p,pg(g.wcagTags??_u,g.level)),{bugs:L});for(let ee of ae.violations){let ce=ee.id==="target-size"?await U(p,ee.nodes):new Set;for(let[ke,he]of ee.nodes.entries()){if(ce.has(ke)){L.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:Zn(he.target)});continue}S.push({id:`axe-${ee.id}-${Qa(Zn(he.target))}`,source:"axe-core",type:ee.id,wcag:Su(ee.tags),level:ku(ee.tags),impact:Eu(ee.impact),message:ee.help,selector:Zn(he.target),html:he.html?.slice(0,300)});}}for(let ee of ae.incomplete??[])for(let ce of ee.nodes){let ke=`axe-incomplete-${ee.id}-${Qa(Zn(ce.target))}`,he=ce.any?.[0]?.data?.messageKey;he&&y.set(ke,he),S.push({id:ke,source:"axe-core",type:ee.id,wcag:Su(ee.tags),level:ku(ee.tags),impact:Eu(ee.impact),message:ee.help,selector:Zn(ce.target),html:ce.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch(ae){L.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${ae?.message??String(ae)}`});}let{deduplicateIssues:Q}=await Promise.resolve().then(()=>(ra(),ta)),C=Tu(S),v=Q(C.verdicts);try{let{pruneInvisibleContrast:ae}=await Promise.resolve().then(()=>($o(),Vo));v=await ae(p,v);}catch{}try{let{pruneHiddenIframeIssues:ae}=await Promise.resolve().then(()=>($o(),Vo));v=await ae(p,v);}catch{}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ra(),ta));v=await ae(p,v);}catch{}try{v=await q(p,v,L);}catch{}try{let{verifyAnimatedGifs:ae}=await Promise.resolve().then(()=>($g(),Vg));v=await ae(p,v);}catch{}if(g.deep&&g.deepApiKey)try{let ae=await _P(_,v,g);v.push(...ae);}catch{}if(g.rootSelector)try{let{scopeIssuesToRoot:ae}=await Promise.resolve().then(()=>(qu(),Nu)),ee=await ae(p,v,g.rootSelector);v=ee.issues,ee.warning&&D.push(ee.warning);}catch{}v=Jn(v,g.level??"AA");let T=Tu(v),I=T.verdicts,H=[],j=[],G=new Set;try{if(j=[...C.undecided,...T.undecided],g.rootSelector){let{scopeIssuesToRoot:he}=await Promise.resolve().then(()=>(qu(),Nu));j=(await he(p,j,g.rootSelector)).issues;}let ae=new Map;await N(p);let ee=await P(p,"contrast-pixels",D,()=>wg(p,j,y,ae),{bugs:L}),ce=await Fg(p,j),ke=[...ee,...ce];if(G=new Set(ke.map(he=>`${he.selector}|${he.wcag}`)),ke.length){let{deduplicateIssues:he}=await Promise.resolve().then(()=>(ra(),ta));I=he([...I,...ke]);}{let he=j.filter(Ge=>!G.has(`${Ge.selector}|${Ge.wcag}`)),Te=await Rg(p,he,{...g.judge,url:_,level:g.judge?.level??g.level??"AA",measured:ae});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${he.length} undecided before judge, ${Te.promoted.length} promoted, ${Te.judged.filter(Ge=>Ge.verdict==="pass").length} passed`),H=Te.judged,Te.promoted.length){let{deduplicateIssues:Ge}=await Promise.resolve().then(()=>(ra(),ta));I=Ge([...I,...Jn(Te.promoted,g.level??"AA")]);}}}catch{}let K;{let ae=new Set(H.map(ce=>ce.id)),ee=Jn(j,g.level??"AA").filter(ce=>!G.has(`${ce.selector}|${ce.wcag}`)&&!ae.has(ce.id.replace("axe-incomplete-","axe-")));ee.length&&(K={count:ee.length,wcag:[...new Set(ee.map(ce=>ce.wcag))].sort()});}try{let{dedupeByElementIdentity:ae}=await Promise.resolve().then(()=>(ra(),ta));I=await ae(p,I);}catch{}try{I=await q(p,I,L);}catch{}if(await p.evaluate(()=>performance.timeOrigin)!==k)throw new Error(`the page's document was replaced during the scan (navigation to ${p.url()}); the findings mix two documents`);{let{attachMutations:ae,stopProvenance:ee}=await Promise.resolve().then(()=>(Lr(),dn));ae(L,await ee(p));}let Z={url:_,timestamp:new Date().toISOString(),engine:fg,issues:I,internal_bugs:L,incomplete:[],...H.length?{judged:H}:{},...E.length?{truncated:E}:{},...D.length?{engineWarnings:D}:{},...K?{unsettled:K}:{},...g.keepDetected?{detected:$}:{},summary:Cu(I)};if(g.review!==!1&&g.deepApiKey)try{Z=await AP(Z,g);}catch{}return Z}finally{let{stopProvenance:k}=await Promise.resolve().then(()=>(Lr(),dn));if(await k(p),w)await w.close();else {let{restoreInteractionState:F}=await Promise.resolve().then(()=>(zo(),jo));await F(p);}}}async function _P(f,d,h){let g=h.deepApiUrl||"https://api.webability.io",p=await fetch(`${g}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:d.slice(0,30).map(({source:_,...x})=>x)})});return p.ok?((await p.json()).issues??[]).map((_,x)=>({id:`deep-${x}-${Qa(_.selector||_.element||"")}`,source:"deep-analysis",type:`wcag-${_.wcag}`,wcag:_.wcag,level:"AA",impact:_.severity==="High"?"critical":_.severity==="Medium"?"serious":"moderate",message:_.message,selector:_.selector||_.element||""})):[]}function jg(f){let d=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&d!=="style"&&!d.startsWith("data-")}async function AP(f,d){let h=d.deepApiUrl||"https://api.webability.io",g=f.issues.filter(jg);if(g.length===0)return f;try{let p=await fetch(`${h}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.deepApiKey}`},body:JSON.stringify({url:f.url,issues:g.slice(0,30).map(({source:k,...F})=>F)})});if(!p.ok)return f;let w=await p.json();if(!w.confirmed_ids)return f;let _=new Set(w.confirmed_ids),x=f.issues.filter(k=>!jg(k)||_.has(k.id));return {...f,issues:x,summary:Cu(x)}}catch{return f}}function Gg(f){return {...f,issues:f.issues.map(({source:d,...h})=>h)}}async function EP(f,d){return Gg(await ri(f,{...d,dismissModals:false}))}var zg=class{page;options;snapshots=[];observer=false;constructor(d,h){this.page=d,this.options=h??{};}async analyze(d){return EP(this.page,{...this.options,...d})}async start(d){this.snapshots=[],this.observer=true;let h={...this.options,...d},g=await ri(this.page,{...h,dismissModals:false});this.snapshots.push(g),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let p=await ri(this.page,{...h,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 ri(this.page,{...this.options,dismissModals:false});this.snapshots.push(d);let h=new Map;for(let w of this.snapshots)for(let _ of w.issues)h.set(_.id,_);let g=Array.from(h.values()),p={url:d.url,timestamp:d.timestamp,issues:g,incomplete:[],summary:{total:g.length,critical:g.filter(w=>w.impact==="critical").length,serious:g.filter(w=>w.impact==="serious").length,moderate:g.filter(w=>w.impact==="moderate").length,minor:g.filter(w=>w.impact==="minor").length,incomplete:0}};return this.snapshots=[],Gg(p)}};/*! Bundled license information:
|
|
406
406
|
|
|
407
407
|
axe-core/axe.js:
|
|
408
408
|
(*! axe v4.11.3
|