@webability/core 1.7.0 → 1.9.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/NOTICES.md +0 -16
- package/README.md +1 -1
- package/dist/dom.cjs +51 -29
- package/dist/dom.d.cts +8 -5
- package/dist/dom.d.ts +8 -5
- package/dist/dom.js +51 -29
- package/dist/engine.cjs +414 -0
- package/dist/engine.d.cts +565 -0
- package/dist/engine.d.ts +565 -0
- package/dist/engine.js +414 -0
- package/dist/index.cjs +61 -43
- package/dist/index.d.cts +59 -3
- package/dist/index.d.ts +59 -3
- package/dist/index.js +61 -43
- package/dist/playwright.cjs +51 -33
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +51 -33
- package/dist/types-g-bI_MhR.d.cts +514 -0
- package/dist/types-g-bI_MhR.d.ts +514 -0
- package/package.json +17 -3
- package/dist/types-CbNyAKbT.d.cts +0 -257
- package/dist/types-CbNyAKbT.d.ts +0 -257
package/dist/playwright.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var M3=Object.create;var yu=Object.defineProperty;var O3=Object.getOwnPropertyDescriptor;var N3=Object.getOwnPropertyNames;var q3=Object.getPrototypeOf,B3=Object.prototype.hasOwnProperty;var vr=(f,d)=>()=>(f&&(d=f(f=0)),d);var H3=(f,d)=>()=>(d||f((d={exports:{}}).exports,d),d.exports),br=(f,d)=>{for(var g in d)yu(f,g,{get:d[g],enumerable:true});},V3=(f,d,g,h)=>{if(d&&typeof d=="object"||typeof d=="function")for(let m of N3(d))!B3.call(f,m)&&m!==g&&yu(f,m,{get:()=>d[m],enumerable:!(h=O3(d,m))||h.enumerable});return f};var j3=(f,d,g)=>(g=f!=null?M3(q3(f)):{},V3(yu(g,"default",{value:f,enumerable:true}),f));var og={};br(og,{ACCESSIBLE_NAME_JS:()=>HI,IS_HIDDEN_FROM_AT_JS:()=>jI,IS_TRACKING_PIXEL_JS:()=>$I,IS_VISIBLE_JS:()=>BI,NEARBY_CONTEXT_JS:()=>zI,UNIQUE_SELECTOR_JS:()=>qI,WIDGET_SKIP_JS:()=>VI});var qI,BI,HI,VI,jI,$I,zI,sg=vr(()=>{qI=`
|
|
2
2
|
function __isUnique(sel) {
|
|
3
3
|
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
4
|
}
|
|
@@ -152,7 +152,7 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
152
152
|
// (an empty selector is unactionable downstream).
|
|
153
153
|
return candidate || full || __tagWithClass(el);
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,BI=`
|
|
156
156
|
function isVisible(el) {
|
|
157
157
|
if (!el) return false;
|
|
158
158
|
const s = getComputedStyle(el);
|
|
@@ -175,7 +175,7 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
175
175
|
if (/rect\\(\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*\\)/.test(s.clip || '')) return false;
|
|
176
176
|
return true;
|
|
177
177
|
}
|
|
178
|
-
`,
|
|
178
|
+
`,HI=`
|
|
179
179
|
// aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
|
|
180
180
|
// the whole attribute with getElementById silently failed on multi-ID
|
|
181
181
|
// references (bug existed in 7 copies across detectors \u2014 now one kernel).
|
|
@@ -226,13 +226,13 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
226
226
|
var title = el.getAttribute('title') || '';
|
|
227
227
|
return title.trim();
|
|
228
228
|
}
|
|
229
|
-
`,
|
|
229
|
+
`,VI=`
|
|
230
230
|
const WIDGET_SKIP = '[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te],[id*=recaptcha],[class*=intercom],[class*=drift-],[class*=crisp-],[class*=tawk-],[class*=hubspot-],[class*=fb-],[class*=wistia],#wpadminbar,[class*=cmplz-btn],[class*=cmplz-link],[id*=cmplz-],[class*=onetrust],[class*=cookiebot],[class*=borlabs],[class*=brlbs-],[id*=wp-ada-compliance],[class*=wp-ada-compliance],[id*=webability-widget],[class*=webability-a11y]';
|
|
231
231
|
function isWidget(el) {
|
|
232
232
|
if (!el) return false;
|
|
233
233
|
return el.closest(WIDGET_SKIP) !== null;
|
|
234
234
|
}
|
|
235
|
-
`,
|
|
235
|
+
`,jI=`
|
|
236
236
|
function isHiddenFromAT(el) {
|
|
237
237
|
if (!el) return false;
|
|
238
238
|
if (el.getAttribute('aria-hidden') === 'true') return true;
|
|
@@ -249,7 +249,7 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
249
249
|
}
|
|
250
250
|
return false;
|
|
251
251
|
}
|
|
252
|
-
|
|
252
|
+
`,$I=`
|
|
253
253
|
function isTrackingPixel(img) {
|
|
254
254
|
const w = img.naturalWidth || img.width || 0;
|
|
255
255
|
const h = img.naturalHeight || img.height || 0;
|
|
@@ -260,7 +260,7 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
260
260
|
if (src.includes('pixel') || src.includes('beacon') || src.includes('tracker') || src.includes('analytics') || src.includes('adsrvr') || src.includes('doubleclick') || src.includes('facebook.com/tr')) return true;
|
|
261
261
|
return false;
|
|
262
262
|
}
|
|
263
|
-
`,
|
|
263
|
+
`,zI=`
|
|
264
264
|
function getNearbyContext(el) {
|
|
265
265
|
// Walk up to the nearest semantic container
|
|
266
266
|
var container = el.closest('article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]');
|
|
@@ -287,8 +287,8 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
287
287
|
|
|
288
288
|
return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
|
|
289
289
|
}
|
|
290
|
-
`;});var
|
|
291
|
-
var __ICON_LABELS = ${JSON.stringify(
|
|
290
|
+
`;});var lg={};br(lg,{ICON_LABELS_JS:()=>XI,ICON_LABELS_JSON:()=>UI,lookupIconLabel:()=>WI});function WI(f,d="",g=""){let h=[];if(f)for(let m of f.split(/\s+/)){if(!m)continue;let y=m.toLowerCase().replace(GI,"").replace(/^icon-/,"");y&&y!==m.toLowerCase()&&h.push(y);}if(d&&h.push(d.toLowerCase().trim()),g){let m=g.trim().toLowerCase();m.length<30&&/^[a-z_-]+$/.test(m)&&h.push(m.replace(/_/g,"-"));}for(let m of h)if(Yn[m])return Yn[m];for(let m of h)for(let y of m.split("-"))if(Yn[y])return Yn[y];return null}var Yn,GI,UI,XI,ug=vr(()=>{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"},GI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;UI=JSON.stringify(Yn),XI=`
|
|
291
|
+
var __ICON_LABELS = ${JSON.stringify(Yn)};
|
|
292
292
|
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)-/;
|
|
293
293
|
function lookupIconLabel(classString, dataIcon, textContent) {
|
|
294
294
|
var parts = [];
|
|
@@ -317,7 +317,7 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
317
317
|
}
|
|
318
318
|
return null;
|
|
319
319
|
}
|
|
320
|
-
`;});var
|
|
320
|
+
`;});var cg={};br(cg,{COLOR_MATH_JS:()=>YI});var YI,dg=vr(()=>{YI=`
|
|
321
321
|
var __colorCtx;
|
|
322
322
|
function parseCssColor(str) {
|
|
323
323
|
if (!str) return null;
|
|
@@ -354,32 +354,50 @@ var d3=Object.create;var ou=Object.defineProperty;var f3=Object.getOwnPropertyDe
|
|
|
354
354
|
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
355
355
|
return (hi + 0.05) / (lo + 0.05);
|
|
356
356
|
}
|
|
357
|
-
`;});var
|
|
358
|
-
|
|
359
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(X,ee){var ce=X==null?null:typeof Symbol<"u"&&X[Symbol.iterator]||X["@@iterator"];if(ce!=null){var De,it,Dt,Ot,rr=[],Ft=true,Vt=false;try{if(Dt=(ce=ce.call(X)).next,ee===0){if(Object(ce)!==ce)return;Ft=!1;}else for(;!(Ft=(De=Dt.call(ce)).done)&&(rr.push(De.value),rr.length!==ee);Ft=!0);}catch(Ga){Vt=true,it=Ga;}finally{try{if(!Ft&&ce.return!=null&&(Ot=ce.return(),Object(Ot)!==Ot))return}finally{if(Vt)throw it}}return rr}}function zt(X){if(Array.isArray(X))return X}function ft(X,ee){if(!(X instanceof ee))throw new TypeError("Cannot call a class as a function")}function tr(X,ee){for(var ce=0;ce<ee.length;ce++){var De=ee[ce];De.enumerable=De.enumerable||false,De.configurable=true,"value"in De&&(De.writable=true),Object.defineProperty(X,bt(De.key),De);}}function vt(X,ee,ce){return ee&&tr(X.prototype,ee),ce&&tr(X,ce),Object.defineProperty(X,"prototype",{writable:false}),X}function bt(X){var ee=ia(X,"string");return ie(ee)=="symbol"?ee:ee+""}function ia(X,ee){if(ie(X)!="object"||!X)return X;var ce=X[Symbol.toPrimitive];if(ce!==void 0){var De=ce.call(X,ee);if(ie(De)!="object")return De;throw new TypeError("@@toPrimitive must return a primitive value.")}return (ee==="string"?String:Number)(X)}function Ke(X,ee){var ce=typeof Symbol<"u"&&X[Symbol.iterator]||X["@@iterator"];if(!ce){if(Array.isArray(X)||(ce=Gt(X))||ee){ce&&(X=ce);var De=0,it=function(){};return {s:it,n:function(){return De>=X.length?{done:true}:{done:false,value:X[De++]}},e:function(Vt){throw Vt},f:it}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
360
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Dt,Ot=true,rr=false;return {s:function(){ce=ce.call(X);},n:function(){var Vt=ce.next();return Ot=Vt.done,Vt},e:function(Vt){rr=true,Dt=Vt;},f:function(){try{Ot||ce.return==null||ce.return();}finally{if(rr)throw Dt}}}}function Gt(X,ee){if(X){if(typeof X=="string")return Un(X,ee);var ce={}.toString.call(X).slice(8,-1);return ce==="Object"&&X.constructor&&(ce=X.constructor.name),ce==="Map"||ce==="Set"?Array.from(X):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?Un(X,ee):void 0}}function Un(X,ee){(ee==null||ee>X.length)&&(ee=X.length);for(var ce=0,De=Array(ee);ce<ee;ce++)De[ce]=X[ce];return De}function ie(X){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},ie(X)}((function(X,ee,ce,De,it,Dt,Ot,rr,Ft,Vt,Ga){var Ag=Object.create,Wa=Object.defineProperty,Eg=Object.getPrototypeOf,Cg=Object.prototype.hasOwnProperty,Sg=Object.getOwnPropertyNames,kg=Object.getOwnPropertyDescriptor,Tg=function(t,r,a){return r in t?Wa(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Fg=function(t){return Wa(t,"__esModule",{value:true})},B=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},dr=function(t,r){for(var a in r)Wa(t,a,{get:r[a],enumerable:true});},Rg=function(t,r,a){if(r&&ie(r)==="object"||typeof r=="function"){var n=Ke(Sg(r)),i;try{var o=function(){var l=i.value;!Cg.call(t,l)&&l!=="default"&&Wa(t,l,{get:function(){return r[l]},enumerable:!(a=kg(r,l))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},wr=function(t){return Rg(Fg(Wa(t!=null?Ag(Eg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},yu=function(t,r,a){return Tg(t,ie(r)!=="symbol"?r+"":r,a),a},Ig=B(function(e,t){(function(r,a){ie(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(J){var se=ie(J);return J!==null&&(se==="object"||se==="function")}function a(J){return typeof J=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(se){return Object.prototype.toString.call(se)==="[object Array]"};var i=n,o=0,s=void 0,l=void 0,u=function(se,fe){Y[o]=se,Y[o+1]=fe,o+=2,o===2&&(l?l(te):ve());};function c(J){l=J;}function d(J){u=J;}var g=typeof f<"u"?f:void 0,_=g||{},k=_.MutationObserver||_.WebKitMutationObserver,R=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",P=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function M(){return function(){return process.nextTick(te)}}function O(){return typeof s<"u"?function(){s(te);}:z()}function H(){var J=0,se=new k(te),fe=m.createTextNode("");return se.observe(fe,{characterData:true}),function(){fe.data=J=++J%2;}}function V(){var J=new MessageChannel;return J.port1.onmessage=te,function(){return J.port2.postMessage(0)}}function z(){var J=setTimeout;return function(){return J(te,1)}}var Y=new Array(1e3);function te(){for(var J=0;J<o;J+=2){var se=Y[J],fe=Y[J+1];se(fe),Y[J]=void 0,Y[J+1]=void 0;}o=0;}function oe(){try{var J=Function("return this")().require("vertx");return s=J.runOnLoop||J.runOnContext,O()}catch{return z()}}var ve=void 0;R?ve=M():k?ve=H():P?ve=V():g===void 0?ve=oe():ve=z();function re(J,se){var fe=this,Ce=new this.constructor(be);Ce[pe]===void 0&&ct(Ce);var Be=fe._state;if(Be){var Ge=arguments[Be-1];u(function(){return st(Be,Ce,Ge,fe._result)});}else Ye(fe,Ce,J,se);return Ce}function ue(J){var se=this;if(J&&ie(J)==="object"&&J.constructor===se)return J;var fe=new se(be);return xe(fe,J),fe}var pe=Math.random().toString(36).substring(2);function be(){}var Fe=void 0,qe=1,Ee=2;function Pe(){return new TypeError("You cannot resolve a promise with itself")}function de(){return new TypeError("A promises callback cannot return that same promise.")}function Te(J,se,fe,Ce){try{J.call(se,fe,Ce);}catch(Be){return Be}}function U(J,se,fe){u(function(Ce){var Be=false,Ge=Te(fe,se,function(Tt){Be||(Be=true,se!==Tt?xe(Ce,Tt):Ae(Ce,Tt));},function(Tt){Be||(Be=true,Se(Ce,Tt));},"Settle: "+(Ce._label||" unknown promise"));!Be&&Ge&&(Be=true,Se(Ce,Ge));},J);}function we(J,se){se._state===qe?Ae(J,se._result):se._state===Ee?Se(J,se._result):Ye(se,void 0,function(fe){return xe(J,fe)},function(fe){return Se(J,fe)});}function le(J,se,fe){se.constructor===J.constructor&&fe===re&&se.constructor.resolve===ue?we(J,se):fe===void 0?Ae(J,se):a(fe)?U(J,se,fe):Ae(J,se);}function xe(J,se){if(J===se)Se(J,Pe());else if(r(se)){var fe=void 0;try{fe=se.then;}catch(Ce){Se(J,Ce);return}le(J,se,fe);}else Ae(J,se);}function Ne(J){J._onerror&&J._onerror(J._result),at(J);}function Ae(J,se){J._state===Fe&&(J._result=se,J._state=qe,J._subscribers.length!==0&&u(at,J));}function Se(J,se){J._state===Fe&&(J._state=Ee,J._result=se,u(Ne,J));}function Ye(J,se,fe,Ce){var Be=J._subscribers,Ge=Be.length;J._onerror=null,Be[Ge]=se,Be[Ge+qe]=fe,Be[Ge+Ee]=Ce,Ge===0&&J._state&&u(at,J);}function at(J){var se=J._subscribers,fe=J._state;if(se.length!==0){for(var Ce=void 0,Be=void 0,Ge=J._result,Tt=0;Tt<se.length;Tt+=3)Ce=se[Tt],Be=se[Tt+fe],Ce?st(fe,Ce,Be,Ge):Be(Ge);J._subscribers.length=0;}}function st(J,se,fe,Ce){var Be=a(fe),Ge=void 0,Tt=void 0,Ha=true;if(Be){try{Ge=fe(Ce);}catch(Ao){Ha=false,Tt=Ao;}if(se===Ge){Se(se,de());return}}else Ge=Ce;se._state!==Fe||(Be&&Ha?xe(se,Ge):Ha===false?Se(se,Tt):J===qe?Ae(se,Ge):J===Ee&&Se(se,Ge));}function wt(J,se){try{se(function(Ce){xe(J,Ce);},function(Ce){Se(J,Ce);});}catch(fe){Se(J,fe);}}var Ct=0;function Et(){return Ct++}function ct(J){J[pe]=Ct++,J._state=void 0,J._result=void 0,J._subscribers=[];}function Ba(){return new Error("Array Methods must be provided an Array")}var Pt=(function(){function J(se,fe){this._instanceConstructor=se,this.promise=new se(be),this.promise[pe]||ct(this.promise),i(fe)?(this.length=fe.length,this._remaining=fe.length,this._result=new Array(this.length),this.length===0?Ae(this.promise,this._result):(this.length=this.length||0,this._enumerate(fe),this._remaining===0&&Ae(this.promise,this._result))):Se(this.promise,Ba());}return J.prototype._enumerate=function(fe){for(var Ce=0;this._state===Fe&&Ce<fe.length;Ce++)this._eachEntry(fe[Ce],Ce);},J.prototype._eachEntry=function(fe,Ce){var Be=this._instanceConstructor,Ge=Be.resolve;if(Ge===ue){var Tt=void 0,Ha=void 0,Ao=false;try{Tt=fe.then;}catch(iu){Ao=true,Ha=iu;}if(Tt===re&&fe._state!==Fe)this._settledAt(fe._state,Ce,fe._result);else if(typeof Tt!="function")this._remaining--,this._result[Ce]=fe;else if(Be===ht){var nu=new Be(be);Ao?Se(nu,Ha):le(nu,fe,Tt),this._willSettleAt(nu,Ce);}else this._willSettleAt(new Be(function(iu){return iu(fe)}),Ce);}else this._willSettleAt(Ge(fe),Ce);},J.prototype._settledAt=function(fe,Ce,Be){var Ge=this.promise;Ge._state===Fe&&(this._remaining--,fe===Ee?Se(Ge,Be):this._result[Ce]=Be),this._remaining===0&&Ae(Ge,this._result);},J.prototype._willSettleAt=function(fe,Ce){var Be=this;Ye(fe,void 0,function(Ge){return Be._settledAt(qe,Ce,Ge)},function(Ge){return Be._settledAt(Ee,Ce,Ge)});},J})();function dt(J){return new Pt(this,J).promise}function St(J){var se=this;return i(J)?new se(function(fe,Ce){for(var Be=J.length,Ge=0;Ge<Be;Ge++)se.resolve(J[Ge]).then(fe,Ce);}):new se(function(fe,Ce){return Ce(new TypeError("You must pass an array to race."))})}function xt(J){var se=this,fe=new se(be);return Se(fe,J),fe}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 ht=(function(){function J(se){this[pe]=Et(),this._result=this._state=void 0,this._subscribers=[],be!==se&&(typeof se!="function"&&Bt(),this instanceof J?wt(this,se):Ht());}return J.prototype.catch=function(fe){return this.then(null,fe)},J.prototype.finally=function(fe){var Ce=this,Be=Ce.constructor;return a(fe)?Ce.then(function(Ge){return Be.resolve(fe()).then(function(){return Ge})},function(Ge){return Be.resolve(fe()).then(function(){throw Ge})}):Ce.then(fe,fe)},J})();ht.prototype.then=re,ht.all=dt,ht.race=St,ht.resolve=ue,ht.reject=xt,ht._setScheduler=c,ht._setAsap=d,ht._asap=u;function nt(){var J=void 0;if(typeof b<"u")J=b;else if(typeof self<"u")J=self;else try{J=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var se=J.Promise;if(se){var fe=null;try{fe=Object.prototype.toString.call(se.resolve());}catch{}if(fe==="[object Promise]"&&!se.cast)return}J.Promise=ht;}return ht.polyfill=nt,ht.Promise=ht,ht});}),Lg=B(function(e){var t=1e5,r=(function(){var U=Object.prototype.toString,we=Object.prototype.hasOwnProperty;return {Class:function(xe){return U.call(xe).replace(/^\[object *|\]$/g,"")},HasProperty:function(xe,Ne){return Ne in xe},HasOwnProperty:function(xe,Ne){return we.call(xe,Ne)},IsCallable:function(xe){return typeof xe=="function"},ToInt32:function(xe){return xe>>0},ToUint32:function(xe){return xe>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(U,we,le){return U<we?we:U>le?le:U}var d=Object.getOwnPropertyNames||function(U){if(U!==Object(U))throw new TypeError("Object.getOwnPropertyNames called on non-object");var we=[],le;for(le in U)r.HasOwnProperty(U,le)&&we.push(le);return we},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(we,le,xe){if(!we===Object(we))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(xe,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(we,le,xe.get),r.HasProperty(xe,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(we,le,xe.set),r.HasProperty(xe,"value")&&(we[le]=xe.value),we};function _(U){if(d&&g){var we=d(U),le;for(le=0;le<we.length;le+=1)g(U,we[le],{value:U[we[le]],writable:false,enumerable:false,configurable:false});}}function k(U){if(!g)return;if(U.length>t)throw new RangeError("Array too large for polyfill");function we(xe){g(U,xe,{get:function(){return U._getter(xe)},set:function(Ae){U._setter(xe,Ae);},enumerable:true,configurable:false});}var le;for(le=0;le<U.length;le+=1)we(le);}function R(U,we){var le=32-we;return U<<le>>le}function P(U,we){var le=32-we;return U<<le>>>le}function M(U){return [U&255]}function O(U){return R(U[0],8)}function H(U){return [U&255]}function V(U){return P(U[0],8)}function z(U){return U=u(Number(U)),[U<0?0:U>255?255:U&255]}function Y(U){return [U>>8&255,U&255]}function te(U){return R(U[0]<<8|U[1],16)}function oe(U){return [U>>8&255,U&255]}function ve(U){return P(U[0]<<8|U[1],16)}function re(U){return [U>>24&255,U>>16&255,U>>8&255,U&255]}function ue(U){return R(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function pe(U){return [U>>24&255,U>>16&255,U>>8&255,U&255]}function be(U){return P(U[0]<<24|U[1]<<16|U[2]<<8|U[3],32)}function Fe(U,we,le){var xe=(1<<we-1)-1,Ne,Ae,Se,Ye,at,st,wt;function Ct(Et){var ct=i(Et),Ba=Et-ct;return Ba<.5?ct:Ba>.5||ct%2?ct+1:ct}for(U!==U?(Ae=(1<<we)-1,Se=l(2,le-1),Ne=0):U===1/0||U===-1/0?(Ae=(1<<we)-1,Se=0,Ne=U<0?1:0):U===0?(Ae=0,Se=0,Ne=1/U===-1/0?1:0):(Ne=U<0,U=n(U),U>=l(2,1-xe)?(Ae=s(i(o(U)/a),1023),Se=Ct(U/l(2,Ae)*l(2,le)),Se/l(2,le)>=2&&(Ae=Ae+1,Se=1),Ae>xe?(Ae=(1<<we)-1,Se=0):(Ae=Ae+xe,Se=Se-l(2,le))):(Ae=0,Se=Ct(U/l(2,1-xe-le)))),at=[],Ye=le;Ye;Ye-=1)at.push(Se%2?1:0),Se=i(Se/2);for(Ye=we;Ye;Ye-=1)at.push(Ae%2?1:0),Ae=i(Ae/2);for(at.push(Ne?1:0),at.reverse(),st=at.join(""),wt=[];st.length;)wt.push(parseInt(st.substring(0,8),2)),st=st.substring(8);return wt}function qe(U,we,le){var xe=[],Ne,Ae,Se,Ye,at,st,wt,Ct;for(Ne=U.length;Ne;Ne-=1)for(Se=U[Ne-1],Ae=8;Ae;Ae-=1)xe.push(Se%2?1:0),Se=Se>>1;return xe.reverse(),Ye=xe.join(""),at=(1<<we-1)-1,st=parseInt(Ye.substring(0,1),2)?-1:1,wt=parseInt(Ye.substring(1,1+we),2),Ct=parseInt(Ye.substring(1+we),2),wt===(1<<we)-1?Ct===0?st*(1/0):NaN:wt>0?st*l(2,wt-at)*(1+Ct/l(2,le)):Ct!==0?st*l(2,-(at-1))*(Ct/l(2,le)):st<0?-0:0}function Ee(U){return qe(U,11,52)}function Pe(U){return Fe(U,11,52)}function de(U){return qe(U,8,23)}function Te(U){return Fe(U,8,23)}((function(){function U(Et){if(Et=r.ToInt32(Et),Et<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Et,this._bytes=[],this._bytes.length=Et;var ct;for(ct=0;ct<this.byteLength;ct+=1)this._bytes[ct]=0;_(this);}e.ArrayBuffer=e.ArrayBuffer||U;function we(){}function le(Et,ct,Ba){var Pt;return Pt=function(St,xt,Bt){var Ht,ht,nt,J;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 U(this.byteLength),this.byteOffset=0;}else if(ie(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 U(this.byteLength),this.byteOffset=0,nt=0;nt<this.length;nt+=1)this._setter(nt,Ht._getter(nt));else if(ie(arguments[0])==="object"&&!(arguments[0]instanceof U||r.Class(arguments[0])==="ArrayBuffer"))for(ht=arguments[0],this.length=r.ToUint32(ht.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new U(this.byteLength),this.byteOffset=0,nt=0;nt<this.length;nt+=1)J=ht[nt],this._setter(nt,Number(J));else if(ie(arguments[0])==="object"&&(arguments[0]instanceof U||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=St,this.byteOffset=r.ToUint32(xt),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,_(this),k(this);},Pt.prototype=new we,Pt.prototype.BYTES_PER_ELEMENT=Et,Pt.prototype._pack=ct,Pt.prototype._unpack=Ba,Pt.BYTES_PER_ELEMENT=Et,Pt.prototype._getter=function(dt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(dt=r.ToUint32(dt),!(dt>=this.length)){for(var St=[],xt=0,Bt=this.byteOffset+dt*this.BYTES_PER_ELEMENT;xt<this.BYTES_PER_ELEMENT;xt+=1,Bt+=1)St.push(this.buffer._bytes[Bt]);return this._unpack(St)}},Pt.prototype.get=Pt.prototype._getter,Pt.prototype._setter=function(dt,St){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(dt=r.ToUint32(dt),dt<this.length){var xt=this._pack(St),Bt,Ht;for(Bt=0,Ht=this.byteOffset+dt*this.BYTES_PER_ELEMENT;Bt<this.BYTES_PER_ELEMENT;Bt+=1,Ht+=1)this.buffer._bytes[Ht]=xt[Bt];}},Pt.prototype.set=function(dt,St){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var xt,Bt,Ht,ht,nt,J,se,fe,Ce,Be;if(ie(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(xt=arguments[0],Ht=r.ToUint32(arguments[1]),Ht+xt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(fe=this.byteOffset+Ht*this.BYTES_PER_ELEMENT,Ce=xt.length*this.BYTES_PER_ELEMENT,xt.buffer===this.buffer){for(Be=[],nt=0,J=xt.byteOffset;nt<Ce;nt+=1,J+=1)Be[nt]=xt.buffer._bytes[J];for(nt=0,se=fe;nt<Ce;nt+=1,se+=1)this.buffer._bytes[se]=Be[nt];}else for(nt=0,J=xt.byteOffset,se=fe;nt<Ce;nt+=1,J+=1,se+=1)this.buffer._bytes[se]=xt.buffer._bytes[J];}else if(ie(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Bt=arguments[0],ht=r.ToUint32(Bt.length),Ht=r.ToUint32(arguments[1]),Ht+ht>this.length)throw new RangeError("Offset plus length of array is out of range");for(nt=0;nt<ht;nt+=1)J=Bt[nt],this._setter(Ht+nt,Number(J));}else throw new TypeError("Unexpected argument type(s)")},Pt.prototype.subarray=function(dt,St){dt=r.ToInt32(dt),St=r.ToInt32(St),arguments.length<1&&(dt=0),arguments.length<2&&(St=this.length),dt<0&&(dt=this.length+dt),St<0&&(St=this.length+St),dt=c(dt,0,this.length),St=c(St,0,this.length);var xt=St-dt;return xt<0&&(xt=0),new this.constructor(this.buffer,this.byteOffset+dt*this.BYTES_PER_ELEMENT,xt)},Pt}var xe=le(1,M,O),Ne=le(1,H,V),Ae=le(1,z,V),Se=le(2,Y,te),Ye=le(2,oe,ve),at=le(4,re,ue),st=le(4,pe,be),wt=le(4,Te,de),Ct=le(8,Pe,Ee);e.Int8Array=e.Int8Array||xe,e.Uint8Array=e.Uint8Array||Ne,e.Uint8ClampedArray=e.Uint8ClampedArray||Ae,e.Int16Array=e.Int16Array||Se,e.Uint16Array=e.Uint16Array||Ye,e.Int32Array=e.Int32Array||at,e.Uint32Array=e.Uint32Array||st,e.Float32Array=e.Float32Array||wt,e.Float64Array=e.Float64Array||Ct;}))(),(function(){function U(Ae,Se){return r.IsCallable(Ae.get)?Ae.get(Se):Ae[Se]}var we=(function(){var Ae=new e.Uint16Array([4660]),Se=new e.Uint8Array(Ae.buffer);return U(Se,0)===18})();function le(Ae,Se,Ye){if(arguments.length===0)Ae=new e.ArrayBuffer(0);else if(!(Ae instanceof e.ArrayBuffer||r.Class(Ae)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Ae||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Se),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(Ye),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");_(this);}function xe(Ae){return function(Se,Ye){if(Se=r.ToUint32(Se),Se+Ae.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Se+=this.byteOffset;var at=new e.Uint8Array(this.buffer,Se,Ae.BYTES_PER_ELEMENT),st=[],wt;for(wt=0;wt<Ae.BYTES_PER_ELEMENT;wt+=1)st.push(U(at,wt));return !!Ye==!!we&&st.reverse(),U(new Ae(new e.Uint8Array(st).buffer),0)}}le.prototype.getUint8=xe(e.Uint8Array),le.prototype.getInt8=xe(e.Int8Array),le.prototype.getUint16=xe(e.Uint16Array),le.prototype.getInt16=xe(e.Int16Array),le.prototype.getUint32=xe(e.Uint32Array),le.prototype.getInt32=xe(e.Int32Array),le.prototype.getFloat32=xe(e.Float32Array),le.prototype.getFloat64=xe(e.Float64Array);function Ne(Ae){return function(Se,Ye,at){if(Se=r.ToUint32(Se),Se+Ae.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var st=new Ae([Ye]),wt=new e.Uint8Array(st.buffer),Ct=[],Et,ct;for(Et=0;Et<Ae.BYTES_PER_ELEMENT;Et+=1)Ct.push(U(wt,Et));!!at==!!we&&Ct.reverse(),ct=new e.Uint8Array(this.buffer,Se,Ae.BYTES_PER_ELEMENT),ct.set(Ct);}}le.prototype.setUint8=Ne(e.Uint8Array),le.prototype.setInt8=Ne(e.Int8Array),le.prototype.setUint16=Ne(e.Uint16Array),le.prototype.setInt16=Ne(e.Int16Array),le.prototype.setUint32=Ne(e.Uint32Array),le.prototype.setInt32=Ne(e.Int32Array),le.prototype.setFloat32=Ne(e.Float32Array),le.prototype.setFloat64=Ne(e.Float64Array),e.DataView=e.DataView||le;})();}),Pg=B(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(s,l,u){a?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(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],true):false}),n(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var d=c[this._id];return !!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var g=c[this._id];return g&&g[0]===c?(g[1]=d,this):(n(c,this._id,[c,d]),this)});function s(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+ie(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof f<"u"?f:typeof b<"u"?b:e);}),fr=B(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":ie(globalThis))=="object"&&globalThis)||r((typeof f>"u"?"undefined":ie(f))=="object"&&f)||r((typeof self>"u"?"undefined":ie(self))=="object"&&self)||r((typeof b>"u"?"undefined":ie(b))=="object"&&b)||r(ie(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),pr=B(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Xn=B(function(e,t){var r=pr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Mg=B(function(e,t){var r=Xn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":ie(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),ar=B(function(e,t){var r=Xn(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}};}),Yn=B(function(e,t){var r=ar(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),wu=B(function(e,t){var r=Yn(),a=ar();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Wt=B(function(e,t){var r=(typeof m>"u"?"undefined":ie(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),xr=B(function(e,t){var r=pr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),oa=B(function(e,t){var r=Xn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),xu=B(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),Kn=B(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Og=B(function(e,t){var r=ar(),a=pr(),n=Yn(),i=Object,o=r("".split);t.exports=a(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return n(s)==="String"?o(s,""):i(s)}:i;}),Io=B(function(e,t){t.exports=function(r){return r==null};}),Jn=B(function(e,t){var r=Io(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ua=B(function(e,t){var r=Og(),a=Jn();t.exports=function(n){return r(a(n))};}),jr=B(function(e,t){var r=Wt();t.exports=function(a){return ie(a)=="object"?a!==null:r(a)};}),Xa=B(function(e,t){t.exports={};}),Lo=B(function(e,t){var r=Xa(),a=fr(),n=Wt(),i=function(s){return n(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][s]||a[o]&&a[o][s]};}),Ng=B(function(e,t){var r=ar();t.exports=r({}.isPrototypeOf);}),qg=B(function(e,t){var r=fr(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Bg=B(function(e,t){var r=fr(),a=qg(),n=r.process,i=r.Deno,o=n&&n.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&&a&&(l=a.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=a.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Du=B(function(e,t){var r=Bg(),a=pr(),n=fr(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),_u=B(function(e,t){var r=Du();t.exports=r&&!Symbol.sham&&ie(Symbol.iterator)=="symbol";}),Au=B(function(e,t){var r=Lo(),a=Wt(),n=Ng(),i=_u(),o=Object;t.exports=i?function(s){return ie(s)=="symbol"}:function(s){var l=r("Symbol");return a(l)&&n(l.prototype,o(s))};}),Eu=B(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Zn=B(function(e,t){var r=Wt(),a=Eu(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),Po=B(function(e,t){var r=Zn(),a=Io();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Hg=B(function(e,t){var r=oa(),a=Wt(),n=jr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&a(l=o.toString)&&!n(u=r(l,o))||a(l=o.valueOf)&&!n(u=r(l,o))||s!=="string"&&a(l=o.toString)&&!n(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Mo=B(function(e,t){t.exports=true;}),Vg=B(function(e,t){var r=fr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),Qn=B(function(e,t){var r=Mo(),a=fr(),n=Vg(),i="__core-js_shared__",o=t.exports=a[i]||n(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});}),Cu=B(function(e,t){var r=Qn();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Oo=B(function(e,t){var r=Jn(),a=Object;t.exports=function(n){return a(r(n))};}),Lr=B(function(e,t){var r=ar(),a=Oo(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Su=B(function(e,t){var r=ar(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Pr=B(function(e,t){var r=fr(),a=Cu(),n=Lr(),i=Su(),o=Du(),s=_u(),l=r.Symbol,u=a("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(d){return n(u,d)||(u[d]=o&&n(l,d)?l[d]:c("Symbol."+d)),u[d]};}),jg=B(function(e,t){var r=oa(),a=jr(),n=Au(),i=Po(),o=Hg(),s=Pr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var g=i(c,u),_;if(g){if(d===void 0&&(d="default"),_=r(g,c,d),!a(_)||n(_))return _;throw new l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),ku=B(function(e,t){var r=jg(),a=Au();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),Tu=B(function(e,t){var r=fr(),a=jr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),Fu=B(function(e,t){var r=xr(),a=pr(),n=Tu();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),$g=B(function(e){var t=xr(),r=oa(),a=xu(),n=Kn(),i=Ua(),o=ku(),s=Lr(),l=Fu(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(d,g){if(d=i(d),g=o(g),l)try{return u(d,g)}catch{}if(s(d,g))return n(!r(a.f,d,g),d[g])};}),zg=B(function(e,t){var r=pr(),a=Wt(),n=/#|\.prototype\./,i=function(d,g){var _=s[o(d)];return _===u?true:_===l?false:a(g)?r(g):!!g},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),Ru=B(function(e,t){var r=wu(),a=Zn(),n=Xn(),i=r(r.bind);t.exports=function(o,s){return a(o),s===void 0?o:n?i(o,s):function(){return o.apply(s,arguments)}};}),Iu=B(function(e,t){var r=xr(),a=pr();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),wa=B(function(e,t){var r=jr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),ei=B(function(e){var t=xr(),r=Fu(),a=Iu(),n=wa(),i=ku(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?a?function(_,k,R){if(n(_),k=i(k),n(R),typeof _=="function"&&k==="prototype"&&"value"in R&&d in R&&!R[d]){var P=l(_,k);P&&P[d]&&(_[k]=R.value,R={configurable:c in R?R[c]:P[c],enumerable:u in R?R[u]:P[u],writable:false});}return s(_,k,R)}:s:function(_,k,R){if(n(_),k=i(k),n(R),r)try{return s(_,k,R)}catch{}if("get"in R||"set"in R)throw new o("Accessors not supported");return "value"in R&&(_[k]=R.value),_};}),Ya=B(function(e,t){var r=xr(),a=ei(),n=Kn();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),ti=B(function(e,t){var r=fr(),a=Mg(),n=wu(),i=Wt(),o=$g().f,s=zg(),l=Xa(),u=Ru(),c=Ya(),d=Lr();Qn();var g=function(k){var R=function(M,O,H){if(this instanceof R){switch(arguments.length){case 0:return new k;case 1:return new k(M);case 2:return new k(M,O)}return new k(M,O,H)}return a(k,this,arguments)};return R.prototype=k.prototype,R};t.exports=function(_,k){var R=_.target,P=_.global,M=_.stat,O=_.proto,H=P?r:M?r[R]:r[R]&&r[R].prototype,V=P?l:l[R]||c(l,R,{})[R],z=V.prototype,Y,te,oe,ve,re,ue,pe,be,Fe;for(ve in k)Y=s(P?ve:R+(M?".":"#")+ve,_.forced),te=!Y&&H&&d(H,ve),ue=V[ve],te&&(_.dontCallGetSet?(Fe=o(H,ve),pe=Fe&&Fe.value):pe=H[ve]),re=te&&pe?pe:k[ve],!(!Y&&!O&&ie(ue)==ie(re))&&(_.bind&&te?be=u(re,r):_.wrap&&te?be=g(re):O&&i(re)?be=n(re):be=re,(_.sham||re&&re.sham||ue&&ue.sham)&&c(be,"sham",true),c(V,ve,be),O&&(oe=R+"Prototype",d(l,oe)||c(l,oe,{}),c(l[oe],ve,re),_.real&&z&&(Y||!z[ve])&&c(z,ve,re)));};}),Gg=B(function(){var e=ti(),t=Lr();e({target:"Object",stat:true},{hasOwn:t});}),Wg=B(function(e,t){Gg();var r=Xa();t.exports=r.Object.hasOwn;}),Ug=B(function(e,t){var r=Wg();t.exports=r;}),Xg=B(function(e,t){var r=Ug();t.exports=r;}),No=B(function(e,t){var r=Cu(),a=Su(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Yg=B(function(e,t){var r=pr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),qo=B(function(e,t){var r=Lr(),a=Wt(),n=Oo(),i=No(),o=Yg(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var d=n(c);if(r(d,s))return d[s];var g=d.constructor;return a(g)&&d instanceof g?g.prototype:d instanceof l?u:null};}),Kg=B(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?a:r)(o)};}),Bo=B(function(e,t){var r=Kg();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),Jg=B(function(e,t){var r=Bo(),a=Math.max,n=Math.min;t.exports=function(i,o){var s=r(i);return s<0?a(s+o,0):n(s,o)};}),Zg=B(function(e,t){var r=Bo(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Lu=B(function(e,t){var r=Zg();t.exports=function(a){return r(a.length)};}),Qg=B(function(e,t){var r=Ua(),a=Jg(),n=Lu(),i=function(s){return function(l,u,c){var d=r(l),g=n(d);if(g===0)return !s&&-1;var _=a(c,g),k;if(s&&u!==u){for(;g>_;)if(k=d[_++],k!==k)return true}else for(;g>_;_++)if((s||_ in d)&&d[_]===u)return s||_||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Ho=B(function(e,t){t.exports={};}),ev=B(function(e,t){var r=ar(),a=Lr(),n=Ua(),i=Qg().indexOf,o=Ho(),s=r([].push);t.exports=function(l,u){var c=n(l),d=0,g=[],_;for(_ in c)!a(o,_)&&a(c,_)&&s(g,_);for(;u.length>d;)a(c,_=u[d++])&&(~i(g,_)||s(g,_));return g};}),Pu=B(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Mu=B(function(e,t){var r=ev(),a=Pu();t.exports=Object.keys||function(i){return r(i,a)};}),tv=B(function(e,t){var r=xr(),a=pr(),n=ar(),i=qo(),o=Mu(),s=Ua(),l=xu().f,u=n(l),c=n([].push),d=r&&a(function(){var _=Object.create(null);return _[2]=2,!u(_,2)}),g=function(k){return function(R){for(var P=s(R),M=o(P),O=d&&i(P)===null,H=M.length,V=0,z=[],Y;H>V;)Y=M[V++],(!r||(O?Y in P:u(P,Y)))&&c(z,k?[Y,P[Y]]:P[Y]);return z}};t.exports={entries:g(true),values:g(false)};}),rv=B(function(){var e=ti(),t=tv().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),av=B(function(e,t){rv();var r=Xa();t.exports=r.Object.values;}),nv=B(function(e,t){var r=av();t.exports=r;}),iv=B(function(e,t){var r=nv();t.exports=r;}),Vo=B(function(e,t){var r=Pr(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),ri=B(function(e,t){var r=Vo(),a=Wt(),n=Yn(),i=Pr(),o=i("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments",u=function(d,g){try{return d[g]}catch{}};t.exports=r?n:function(c){var d,g,_;return c===void 0?"Undefined":c===null?"Null":typeof(g=u(d=s(c),o))=="string"?g:l?n(d):(_=n(d))==="Object"&&a(d.callee)?"Arguments":_};}),Ou=B(function(e,t){var r=ri(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),ov=B(function(e,t){var r=ar(),a=Bo(),n=Ou(),i=Jn(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(d){return function(g,_){var k=n(i(g)),R=a(_),P=k.length,M,O;return R<0||R>=P?d?"":void 0:(M=s(k,R),M<55296||M>56319||R+1===P||(O=s(k,R+1))<56320||O>57343?d?o(k,R):M:d?l(k,R,R+2):(M-55296<<10)+(O-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),sv=B(function(e,t){var r=fr(),a=Wt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),lv=B(function(e,t){var r=sv(),a=fr(),n=jr(),i=Ya(),o=Lr(),s=Qn(),l=No(),u=Ho(),c="Object already initialized",d=a.TypeError,g=a.WeakMap,_,k,R,P=function(z){return R(z)?k(z):_(z,{})},M=function(z){return function(Y){var te;if(!n(Y)||(te=k(Y)).type!==z)throw new d("Incompatible receiver, "+z+" required");return te}};r||s.state?(O=s.state||(s.state=new g),O.get=O.get,O.has=O.has,O.set=O.set,_=function(z,Y){if(O.has(z))throw new d(c);return Y.facade=z,O.set(z,Y),Y},k=function(z){return O.get(z)||{}},R=function(z){return O.has(z)}):(H=l("state"),u[H]=true,_=function(z,Y){if(o(z,H))throw new d(c);return Y.facade=z,i(z,H,Y),Y},k=function(z){return o(z,H)?z[H]:{}},R=function(z){return o(z,H)});var O,H;t.exports={set:_,get:k,has:R,enforce:P,getterFor:M};}),uv=B(function(e,t){var r=xr(),a=Lr(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),cv=B(function(e){var t=xr(),r=Iu(),a=ei(),n=wa(),i=Ua(),o=Mu();e.f=t&&!r?Object.defineProperties:function(l,u){n(l);for(var c=i(u),d=o(u),g=d.length,_=0,k;g>_;)a.f(l,k=d[_++],c[k]);return l};}),dv=B(function(e,t){var r=Lo();t.exports=r("document","documentElement");}),Nu=B(function(e,t){var r=wa(),a=cv(),n=Pu(),i=Ho(),o=dv(),s=Tu(),l=No(),u=">",c="<",d="prototype",g="script",_=l("IE_PROTO"),k=function(){},R=function(z){return c+g+u+z+c+"/"+g+u},P=function(z){z.write(R("")),z.close();var Y=z.parentWindow.Object;return z=null,Y},M=function(){var z=s("iframe"),Y="java"+g+":",te;return z.style.display="none",o.appendChild(z),z.src=String(Y),te=z.contentWindow.document,te.open(),te.write(R("document.F=Object")),te.close(),te.F},O,H=function(){try{O=new ActiveXObject("htmlfile");}catch{}H=typeof m<"u"?m.domain&&O?P(O):M():P(O);for(var z=n.length;z--;)delete H[d][n[z]];return H()};i[_]=true,t.exports=Object.create||function(z,Y){var te;return z!==null?(k[d]=r(z),te=new k,k[d]=null,te[_]=z):te=H(),Y===void 0?te:a.f(te,Y)};}),qu=B(function(e,t){var r=Ya();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),Bu=B(function(e,t){var r=pr(),a=Wt(),n=jr(),i=Nu(),o=qo(),s=qu(),l=Pr(),u=Mo(),c=l("iterator"),d=false,g,_,k;[].keys&&(k=[].keys(),"next"in k?(_=o(o(k)),_!==Object.prototype&&(g=_)):d=true);var R=!n(g)||r(function(){var P={};return g[c].call(P)!==P});R?g={}:u&&(g=i(g)),a(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:d};}),fv=B(function(e,t){var r=Vo(),a=ri();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),Hu=B(function(e,t){var r=Vo(),a=ei().f,n=Ya(),i=Lr(),o=fv(),s=Pr(),l=s("toStringTag");t.exports=function(u,c,d,g){var _=d?u:u&&u.prototype;_&&(i(_,l)||a(_,l,{configurable:true,value:c}),g&&!r&&n(_,"toString",o));};}),ai=B(function(e,t){t.exports={};}),pv=B(function(e,t){var r=Bu().IteratorPrototype,a=Nu(),n=Kn(),i=Hu(),o=ai(),s=function(){return this};t.exports=function(l,u,c,d){var g=u+" Iterator";return l.prototype=a(r,{next:n(+!d,c)}),i(l,g,false,true),o[g]=s,l};}),mv=B(function(e,t){var r=ar(),a=Zn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),hv=B(function(e,t){var r=jr();t.exports=function(a){return r(a)||a===null};}),gv=B(function(e,t){var r=hv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),vv=B(function(e,t){var r=mv(),a=jr(),n=Jn(),i=gv();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,d){return n(c),i(d),a(c)&&(o?l(c,d):c.__proto__=d),c}})():void 0);}),bv=B(function(e,t){var r=ti(),a=oa(),n=Mo(),i=uv(),o=Wt(),s=pv(),l=qo(),u=vv(),c=Hu(),d=Ya(),g=qu(),_=Pr(),k=ai(),R=Bu(),P=i.PROPER,M=i.CONFIGURABLE,O=R.IteratorPrototype,H=R.BUGGY_SAFARI_ITERATORS,V=_("iterator"),z="keys",Y="values",te="entries",oe=function(){return this};t.exports=function(ve,re,ue,pe,be,Fe,qe){s(ue,re,pe);var Ee=function(Ye){if(Ye===be&&we)return we;if(!H&&Ye&&Ye in Te)return Te[Ye];switch(Ye){case z:return function(){return new ue(this,Ye)};case Y:return function(){return new ue(this,Ye)};case te:return function(){return new ue(this,Ye)}}return function(){return new ue(this)}},Pe=re+" Iterator",de=false,Te=ve.prototype,U=Te[V]||Te["@@iterator"]||be&&Te[be],we=!H&&U||Ee(be),le=re==="Array"&&Te.entries||U,xe,Ne,Ae;if(le&&(xe=l(le.call(new ve)),xe!==Object.prototype&&xe.next&&(!n&&l(xe)!==O&&(u?u(xe,O):o(xe[V])||g(xe,V,oe)),c(xe,Pe,true,true),n&&(k[Pe]=oe))),P&&be===Y&&U&&U.name!==Y&&(!n&&M?d(Te,"name",Y):(de=true,we=function(){return a(U,this)})),be)if(Ne={values:Ee(Y),keys:Fe?we:Ee(z),entries:Ee(te)},qe)for(Ae in Ne)(H||de||!(Ae in Te))&&g(Te,Ae,Ne[Ae]);else r({target:re,proto:true,forced:H||de},Ne);return (!n||qe)&&Te[V]!==we&&g(Te,V,we,{name:be}),k[re]=we,Ne};}),yv=B(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),wv=B(function(){var e=ov().charAt,t=Ou(),r=lv(),a=bv(),n=yv(),i="String Iterator",o=r.set,s=r.getterFor(i);a(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,d=u.index,g;return d>=c.length?n(void 0,true):(g=e(c,d),u.index+=g.length,n(g,false))});}),xv=B(function(e,t){var r=oa(),a=wa(),n=Po();t.exports=function(i,o,s){var l,u;a(i);try{if(l=n(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 a(l),s};}),Dv=B(function(e,t){var r=wa(),a=xv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),_v=B(function(e,t){var r=Pr(),a=ai(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Av=B(function(e,t){var r=ar(),a=Wt(),n=Qn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Ev=B(function(e,t){var r=ar(),a=pr(),n=Wt(),i=ri(),o=Lo(),s=Av(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),g=!c.test(l),_=function(P){if(!n(P))return false;try{return u(l,[],P),!0}catch{return false}},k=function(P){if(!n(P))return false;switch(i(P)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!d(c,s(P))}catch{return true}};k.sham=true,t.exports=!u||a(function(){var R;return _(_.call)||!_(Object)||!_(function(){R=true;})||R})?k:_;}),Cv=B(function(e,t){var r=xr(),a=ei(),n=Kn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),Sv=B(function(e,t){var r=Yn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),kv=B(function(e,t){var r=xr(),a=Sv(),n=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(a(s)&&!i(s,"length").writable)throw new n("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),Vu=B(function(e,t){var r=ri(),a=Po(),n=Io(),i=ai(),o=Pr(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),Tv=B(function(e,t){var r=oa(),a=Zn(),n=wa(),i=Eu(),o=Vu(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(a(c))return n(r(c,l));throw new s(i(l)+" is not iterable")};}),Fv=B(function(e,t){var r=Ru(),a=oa(),n=Oo(),i=Dv(),o=_v(),s=Ev(),l=Lu(),u=Cv(),c=kv(),d=Tv(),g=Vu(),_=Array;t.exports=function(R){var P=n(R),M=s(this),O=arguments.length,H=O>1?arguments[1]:void 0,V=H!==void 0;V&&(H=r(H,O>2?arguments[2]:void 0));var z=g(P),Y=0,te,oe,ve,re,ue,pe;if(z&&!(this===_&&o(z)))for(oe=M?new this:[],re=d(P,z),ue=re.next;!(ve=a(ue,re)).done;Y++)pe=V?i(re,H,[ve.value,Y],true):ve.value,u(oe,Y,pe);else for(te=l(P),oe=M?new this(te):_(te);te>Y;Y++)pe=V?H(P[Y],Y):P[Y],u(oe,Y,pe);return c(oe,Y),oe};}),Rv=B(function(e,t){var r=Pr(),a=r("iterator"),n=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){n=!0;}},o[a]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!n)return !1}catch{return false}var u=false;try{var c={};c[a]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Iv=B(function(){var e=ti(),t=Fv(),r=Rv(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Lv=B(function(e,t){wv(),Iv();var r=Xa();t.exports=r.Array.from;}),Pv=B(function(e,t){var r=Lv();t.exports=r;}),ju=B(function(e,t){var r=Pv();t.exports=r;}),$u=B(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var 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 d=c.charCodeAt(0);if((d&63488)===55296){var g=o.charCodeAt(u++);if((d&64512)!==55296||(g&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(g&1023)+65536;}l+="\\"+d.toString(16)+" ";}u++;}return l}e.escapeIdentifier=n;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var d=o.charAt(u);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),l+=d,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:`
|
|
357
|
+
`;});var cn={};br(cn,{INJECT_ATTR:()=>zr,OWN_TOOLING_SELECTOR:()=>qo,attachMutations:()=>eL,dropToolingFindings:()=>nL,guardDetectorState:()=>tL,inject:()=>xu,startProvenance:()=>JI,stopProvenance:()=>ZI});async function xu(f,d){let g=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await f.evaluate(({attr:m,mark:y,css:v})=>{let w=document.createElement("style");w.setAttribute(m,y),w.textContent=v,document.documentElement.appendChild(w);},{attr:zr,mark:g,css:d.css});return}if(d.url){let m=await f.addScriptTag({url:d.url});try{await m?.evaluate?.((y,v)=>y.setAttribute(v.attr,v.mark),{attr:zr,mark:g});}catch{}return}let h=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify(zr)},${JSON.stringify(g)});
|
|
358
|
+
`;await f.addScriptTag({content:h+(d.content??"")});}async function JI(f){try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await f.evaluate(({key:d,attr:g,max:h})=>{let m=window;if(m[Symbol.for(d)]||typeof MutationObserver>"u")return;let y={tool:null,log:[],overflow:0,left:new Map};y.ours=v=>{let w=v&&v.nodeType===1?v:v?v.parentElement:null;for(;w;){if(w.hasAttribute(g))return !0;w=w.parentElement;}return !1},y.take=v=>{if(y.tool)for(let w of v){if(w.type==="attributes"&&w.attributeName===g||y.ours(w.target))continue;let C=w.type==="childList"?Array.from(w.addedNodes).filter(A=>!y.ours(A)):[];if(w.type==="childList"&&!C.length&&Array.from(w.removedNodes).every(A=>A.nodeType===1&&A.hasAttribute(g)))continue;let E=C.map(A=>A.nodeName.toLowerCase()+(A.nodeType===1&&A.id?"#"+A.id:""));y.log.length<h?y.log.push({tool:y.tool,type:w.type,attr:w.attributeName,target:w.target.nodeName,added:E}):y.overflow++;}},y.obs=new MutationObserver(v=>y.take(v)),y.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),m[Symbol.for(d)]=y;},{key:Ja,attr:zr,max:KI});}catch{}}async function ZI(f){try{return await f.evaluate(d=>{let g=window,h=g[Symbol.for(d)];return h?(h.take(h.obs.takeRecords()),h.obs.disconnect(),delete g[Symbol.for(d)],{log:h.log,overflow:h.overflow}):null},Ja)}catch{return null}}function eL(f,d){if(!d||!f.length)return;let g=d.log;for(let h of f){let m=g.filter(y=>y.tool===h.tool).slice(0,QI).map(({type:y,attr:v,target:w,added:C})=>({type:y,attr:v,target:w,added:C}));m.length&&(h.mutations=m);}}async function tL(f,d,g,h,m={}){let y=null;try{y=await f.evaluate(({key:v,prov:w,name:C,attr:E,widget:A,fsk:S})=>{let F=window;try{let M=F[Symbol.for(S)];M&&document.removeEventListener("focusin",M.h,!0);let V=new WeakMap,z=Y=>{let q=(new Error().stack||"").split(`
|
|
359
|
+
`).slice(1),P=/eval at evaluate/.test(q[0]||"");V.set(Y.target,P&&q.length>1&&!q.slice(1).some(O=>/UtilityScript|eval at evaluate/.test(O))?"page":"ours");};document.addEventListener("focusin",z,!0),F[Symbol.for(S)]={src:V,h:z};}catch{}let D=F[Symbol.for(w)];D&&(D.take(D.obs.takeRecords()),D.tool=C);let x=document.activeElement,k=!!x&&x!==document.body&&x!==document.documentElement,T=[];try{let M=typeof getSelection=="function"?getSelection():null;T=M?Array.from({length:M.rangeCount},(V,z)=>M.getRangeAt(z).cloneRange()):[];}catch{}let I=Array.from(document.querySelectorAll(`[${E}]:not(script):not([${E}="${A}"])`));return F[Symbol.for(v)]={el:k?x:null,ranges:T,marked:new Set(I)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:k,injected:I.length}},{key:fg,prov:Ja,name:d,attr:zr,widget:wu,fsk:pg});}catch{y=null;}try{return await h()}finally{y&&await rL(f,d,y,g,m);}}async function rL(f,d,g,h,m){let y={leaks:[]};try{y=await f.evaluate(({key:v,prov:w,snap:C,attr:E,widget:A,fsk:S})=>{let F=window,D=[],x=F[Symbol.for(S)];x&&(document.removeEventListener("focusin",x.h,!0),delete F[Symbol.for(S)]);let k=F[Symbol.for(v)],T=k?.el??null;try{delete F[Symbol.for(v)];}catch{}let I=F[Symbol.for(w)];I&&I.take(I.obs.takeRecords());let M=document.activeElement,V=M&&M!==document.body&&M!==document.documentElement?M:null,z=!!V&&V!==T&&x?.src.get(V)==="page";if(V!==T&&!z){D.push("activeElement"),I&&V&&I.left.set(V,I.tool);try{V?.blur?.();}catch{}try{T&&T.isConnected&&T.focus({preventScroll:!0});}catch{}}let Y=null;try{Y=document.querySelector(":focus-visible");}catch{}if(Y&&Y!==T&&!(z&&Y===V)){D.push("focus-visible");try{Y.blur();}catch{}}!z&&(Math.abs(window.scrollX-C.scrollX)>1||Math.abs(window.scrollY-C.scrollY)>1)&&(D.push("scroll"),window.scrollTo({left:C.scrollX,top:C.scrollY,behavior:"instant"}));try{let P=getSelection(),O=k?.ranges??[];if(P&&(P.rangeCount!==O.length||O.some((B,$)=>B.compareBoundaryPoints(Range.START_TO_START,P.getRangeAt($))!==0||B.compareBoundaryPoints(Range.END_TO_END,P.getRangeAt($))!==0))){D.push("selection"),P.removeAllRanges();for(let B of O)P.addRange(B);}}catch{}let q=Array.from(document.querySelectorAll(`[${E}]:not(script):not([${E}="${A}"])`));q.length!==C.injected&&D.push(`injected-nodes ${C.injected}->${q.length}`);for(let P of q)if(k?.marked&&!k.marked.has(P))try{P.remove();}catch{}return I&&(I.tool=null),{leaks:D}},{key:fg,prov:Ja,snap:g,attr:zr,widget:wu,fsk:pg});}catch{}if(y.leaks.length){let v=`tooling:state-not-restored (${d}: ${y.leaks.join(", ")}) \u2014 restored by the scanner`;if(m.bugs?.push({tool:d,kind:"state-not-restored",detail:y.leaks.join(", ")}),m.strict)throw new Error(v);h.push(v);}}async function nL(f,d,g){if(!d.length)return d;let h=Array.from(new Set(d.map(y=>y.selector).filter(Boolean))),m={};try{m=await f.evaluate(({sels:y,own:v,prov:w,attr:C,widget:E})=>{let A=window[Symbol.for(w)],S={};for(let F of y){S[F]=null;let D=null;try{D=document.querySelector(F.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{D=null;}if(!D)continue;let x=D.closest(v);if(x&&x!==document.body&&x!==document.documentElement){let k=x.closest(`[${C}]`)?.getAttribute(C);S[F]={tool:k&&k!==E?k.split(":")[0]:null,why:`on node injected by ${k}`};continue}A&&A.left.has(D)&&(S[F]={tool:A.left.get(D),why:"on the element the tool left focused"});}return S},{sels:h,own:qo,prov:Ja,attr:zr,widget:wu});}catch{return d}return d.filter(y=>{let v=m[y.selector];return v?(v.tool&&g?.push({tool:v.tool,kind:"finding-dropped",detail:`${y.type} ${v.why}`,selector:y.selector}),false):true})}var zr,wu,qo,Ja,KI,QI,fg,pg,Fr=vr(()=>{zr="data-wa-injected",wu="widget",qo=`[${zr}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,Ja="wa.provenance",KI=500;QI=10;fg="wa.stateGuard.active",pg="wa.stateGuard.focusSource";});var mg={};br(mg,{applyPlatformTemplates:()=>oL,detectPlatform:()=>iL,isAriaHiddenSafeForTemplate:()=>Du});function Du(f){let d=f.trim().split(/[\s>~+]+/),h=d[d.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!h)return true;let m=h[1].toLowerCase();return m==="body"||m==="html"?false:!new Set(["a","button","input","select","textarea"]).has(m)}function aL(){if(Kn)return Kn;try{let f=globalThis.process,d=f?.getBuiltinModule?.("fs"),g=f?.getBuiltinModule?.("path");if(!d||!g)throw new Error("fs unavailable");let h=d.readFileSync(g.join(__dirname,"platformTemplates.json"),"utf-8");return Kn=JSON.parse(h),Kn}catch{return Kn={},Kn}}async function iL(f){return f.evaluate(()=>{let d=[],g=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),m=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (g.includes("shopify")||g.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(m.includes("wordpress")||g.includes("wp-content")||g.includes("wp-includes"))&&d.push("wordpress"),(g.includes("civicplus")||g.includes("civicalerts")||g.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&d.push("civicplus"),(g.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&d.push("finalsite"),(g.includes("dealersocket")||g.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&d.push("dealer"),(g.includes("wix.com")||g.includes("wixsite.com"))&&d.push("wix"),(g.includes("squarespace")||m.includes("squarespace"))&&d.push("squarespace"),(g.includes("webflow")||m.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}async function oL(f,d,g="scan"){let h=aL(),m=[];for(let v of d)h[v]&&m.push(...h[v]);return m.length?g==="manifest"?m.filter(v=>v.attribute==="aria-hidden"&&v.value==="true"?Du(v.selector):true).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (template)`,needsAI:false,fixValue:v.value})):(await f.evaluate(v=>{let w=[];for(let C of v)try{let E=document.querySelectorAll(C.selector);if(E.length>0){let A=!1;for(let S of E){let F=S.getAttribute(C.attribute)||"";if(C.attribute==="alt"&&S.getAttribute("alt")===null)A=!0;else if(C.attribute==="alt"&&F===""&&C.value==="")A=!0;else if(C.attribute==="aria-label"&&!F)A=!0;else if(C.attribute==="title"&&!F)A=!0;else if(C.attribute==="role"&&F!==C.value)A=!0;else if(C.attribute==="aria-level"&&!S.getAttribute("aria-level"))A=!0;else if(C.attribute==="aria-hidden"&&S.getAttribute("aria-hidden")!=="true"){let D=S.tagName.toLowerCase(),x=D==="a"&&S.hasAttribute("href")||D==="button"||D==="input"||D==="select"||D==="textarea"||Number(S.getAttribute("tabindex")??-1)>=0;D!=="body"&&D!=="html"&&!x&&(A=!0);}if(A)break}A&&w.push({selector:C.selector,attribute:C.attribute,value:C.value,platform:C.platform,matchCount:E.length});}}catch{}return w},m.filter(v=>!(v.attribute==="aria-hidden"&&v.value==="true")||Du(v.selector)).map(v=>({selector:v.selector,attribute:v.attribute,value:v.value,platform:v.platform})))).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (${v.matchCount} elements)`,needsAI:false,fixValue:v.value})):[]}var Kn,hg=vr(()=>{Kn=null;});var xg=H3((wg,ei)=>{(function f(d){var g=d,h=d.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof ei>"u"?"undefined":de(ei))==="object"&&ei.exports&&typeof f.toString=="function"&&(m.source="("+f.toString()+')(typeof window === "object" ? window : this);',ei.exports=m),typeof d.getComputedStyle=="function"&&(d.axe=m);var v=["precision","format","inGamut"],w=["space"],C=["algorithm"],E=["method"],A=["maxDeltaE","deltaEMethod","steps","maxSteps"],S=["node"],F=["relatedNodes"],D=["node"],x=["variant"],k=["matches"],T=["chromium"],I=["noImplicit"],M=["noPresentational"],V=["node"],z=["environmentData"],Y=["environmentData"],q=["environmentData"],P=["environmentData"],O=["environmentData"];function B(ee){return lr(ee)||dn(ee)||Pr(ee)||Lr()}function $(ee){var oe=typeof Map=="function"?new Map:void 0;return $=function(ge){if(ge===null||!X(ge))return ge;if(typeof ge!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(ge))return oe.get(ge);oe.set(ge,Ge);}function Ge(){return te(ge,arguments,Ae(this).constructor)}return Ge.prototype=Object.create(ge.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}}),je(Ge,ge)},$(ee)}function X(ee){try{return Function.toString.call(ee).indexOf("[native code]")!==-1}catch{return typeof ee=="function"}}function K(ee,oe,ce){return (oe=ai(oe))in ee?Object.defineProperty(ee,oe,{value:ce,enumerable:true,configurable:true,writable:true}):ee[oe]=ce,ee}function te(ee,oe,ce){if(Ie())return Reflect.construct.apply(null,arguments);var ge=[null];ge.push.apply(ge,oe);var Ge=new(ee.bind.apply(ee,ge));return ce&&je(Ge,ce.prototype),Ge}function Z(ee,oe){if(ee==null)return {};var ce,ge,Ge=ne(ee,oe);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(ee);for(ge=0;ge<et.length;ge++)ce=et[ge],oe.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(ee,ce)&&(Ge[ce]=ee[ce]);}return Ge}function ne(ee,oe){if(ee==null)return {};var ce={};for(var ge in ee)if({}.hasOwnProperty.call(ee,ge)){if(oe.indexOf(ge)!==-1)continue;ce[ge]=ee[ge];}return ce}function ae(ee,oe,ce){return oe=Ae(oe),ue(ee,Ie()?Reflect.construct(oe,ce||[],Ae(ee).constructor):oe.apply(ee,ce))}function ue(ee,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 xe(ee)}function xe(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function Ie(){try{var ee=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (Ie=function(){return !!ee})()}function Ae(ee){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Ae(ee)}function Se(ee,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(oe&&oe.prototype,{constructor:{value:ee,writable:true,configurable:true}}),Object.defineProperty(ee,"prototype",{writable:false}),oe&&je(ee,oe);}function je(ee,oe){return je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,ge){return ce.__proto__=ge,ce},je(ee,oe)}function Le(){return Le=Object.assign?Object.assign.bind():function(ee){for(var oe=1;oe<arguments.length;oe++){var ce=arguments[oe];for(var ge in ce)({}).hasOwnProperty.call(ce,ge)&&(ee[ge]=ce[ge]);}return ee},Le.apply(null,arguments)}function Te(ee){return Gr(ee)||dn(ee)||Pr(ee)||Bt()}function Bt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
360
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dn(ee){if(typeof Symbol<"u"&&ee[Symbol.iterator]!=null||ee["@@iterator"]!=null)return Array.from(ee)}function Gr(ee){if(Array.isArray(ee))return fn(ee)}function yr(ee,oe,ce){Ir(ee,oe),oe.set(ee,ce);}function ni(ee,oe){Ir(ee,oe),oe.add(ee);}function Ir(ee,oe){if(oe.has(ee))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ht(ee,oe){return ee.get(Wr(ee,oe))}function Tt(ee,oe,ce){return ee.set(Wr(ee,oe),ce),ce}function Wr(ee,oe,ce){if(typeof ee=="function"?ee===oe:ee.has(oe))return arguments.length<3?oe:ce;throw new TypeError("Private element is not present on this object")}function we(ee,oe){return lr(ee)||sr(ee,oe)||Pr(ee,oe)||Lr()}function Lr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
361
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sr(ee,oe){var ce=ee==null?null:typeof Symbol<"u"&&ee[Symbol.iterator]||ee["@@iterator"];if(ce!=null){var ge,Ge,et,it,ft=[],Ke=true,Ne=false;try{if(et=(ce=ce.call(ee)).next,oe===0){if(Object(ce)!==ce)return;Ke=!1;}else for(;!(Ke=(ge=et.call(ce)).done)&&(ft.push(ge.value),ft.length!==oe);Ke=!0);}catch(Gt){Ne=true,Ge=Gt;}finally{try{if(!Ke&&ce.return!=null&&(it=ce.return(),Object(it)!==it))return}finally{if(Ne)throw Ge}}return ft}}function lr(ee){if(Array.isArray(ee))return ee}function Qt(ee,oe){if(!(ee instanceof oe))throw new TypeError("Cannot call a class as a function")}function na(ee,oe){for(var ce=0;ce<oe.length;ce++){var ge=oe[ce];ge.enumerable=ge.enumerable||false,ge.configurable=true,"value"in ge&&(ge.writable=true),Object.defineProperty(ee,ai(ge.key),ge);}}function Vt(ee,oe,ce){return oe&&na(ee.prototype,oe),ce&&na(ee,ce),Object.defineProperty(ee,"prototype",{writable:false}),ee}function ai(ee){var oe=ii(ee,"string");return de(oe)=="symbol"?oe:oe+""}function ii(ee,oe){if(de(ee)!="object"||!ee)return ee;var ce=ee[Symbol.toPrimitive];if(ce!==void 0){var ge=ce.call(ee,oe);if(de(ge)!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return (oe==="string"?String:Number)(ee)}function at(ee,oe){var ce=typeof Symbol<"u"&&ee[Symbol.iterator]||ee["@@iterator"];if(!ce){if(Array.isArray(ee)||(ce=Pr(ee))||oe){ce&&(ee=ce);var ge=0,Ge=function(){};return {s:Ge,n:function(){return ge>=ee.length?{done:true}:{done:false,value:ee[ge++]}},e:function(Ne){throw Ne},f:Ge}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
362
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var et,it=true,ft=false;return {s:function(){ce=ce.call(ee);},n:function(){var Ne=ce.next();return it=Ne.done,Ne},e:function(Ne){ft=true,et=Ne;},f:function(){try{it||ce.return==null||ce.return();}finally{if(ft)throw et}}}}function Pr(ee,oe){if(ee){if(typeof ee=="string")return fn(ee,oe);var ce={}.toString.call(ee).slice(8,-1);return ce==="Object"&&ee.constructor&&(ce=ee.constructor.name),ce==="Map"||ce==="Set"?Array.from(ee):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?fn(ee,oe):void 0}}function fn(ee,oe){(oe==null||oe>ee.length)&&(oe=ee.length);for(var ce=0,ge=Array(oe);ce<oe;ce++)ge[ce]=ee[ce];return ge}function de(ee){"@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(ee)}((function(ee,oe,ce,ge,Ge,et,it,ft,Ke,Ne,Gt){var Wt=Object.create,Mr=Object.defineProperty,aa=Object.getPrototypeOf,Kg=Object.prototype.hasOwnProperty,Jg=Object.getOwnPropertyNames,Zg=Object.getOwnPropertyDescriptor,Qg=function(t,r,n){return r in t?Mr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},ev=function(t){return Mr(t,"__esModule",{value:true})},G=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},ur=function(t,r){for(var n in r)Mr(t,n,{get:r[n],enumerable:true});},tv=function(t,r,n){if(r&&de(r)==="object"||typeof r=="function"){var a=at(Jg(r)),i;try{var o=function(){var l=i.value;!Kg.call(t,l)&&l!=="default"&&Mr(t,l,{get:function(){return r[l]},enumerable:!(n=Zg(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},wr=function(t){return tv(ev(Mr(t!=null?Wt(aa(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Hu=function(t,r,n){return Qg(t,de(r)!=="symbol"?r+"":r,n),n},rv=G(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,be){re[o]=pe,re[o+1]=be,o+=2,o===2&&(l?l(se):De());};function c(ie){l=ie;}function p(ie){u=ie;}var b=typeof d<"u"?d:void 0,_=b||{},R=_.MutationObserver||_.WebKitMutationObserver,L=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",N=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function H(){return function(){return process.nextTick(se)}}function j(){return typeof s<"u"?function(){s(se);}:J()}function W(){var ie=0,pe=new R(se),be=h.createTextNode("");return pe.observe(be,{characterData:true}),function(){be.data=ie=++ie%2;}}function U(){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 re=new Array(1e3);function se(){for(var ie=0;ie<o;ie+=2){var pe=re[ie],be=re[ie+1];pe(be),re[ie]=void 0,re[ie+1]=void 0;}o=0;}function fe(){try{var ie=Function("return this")().require("vertx");return s=ie.runOnLoop||ie.runOnContext,j()}catch{return J()}}var De=void 0;L?De=H():R?De=W():N?De=U():b===void 0?De=fe():De=J();function le(ie,pe){var be=this,Fe=new this.constructor(_e);Fe[ye]===void 0&&ht(Fe);var ze=be._state;if(ze){var Je=arguments[ze-1];u(function(){return dt(ze,Fe,Je,be._result)});}else Qe(be,Fe,ie,pe);return Fe}function he(ie){var pe=this;if(ie&&de(ie)==="object"&&ie.constructor===pe)return ie;var be=new pe(_e);return Ce(be,ie),be}var ye=Math.random().toString(36).substring(2);function _e(){}var Oe=void 0,$e=1,Re=2;function Be(){return new TypeError("You cannot resolve a promise with itself")}function ve(){return new TypeError("A promises callback cannot return that same promise.")}function Me(ie,pe,be,Fe){try{ie.call(pe,be,Fe);}catch(ze){return ze}}function Q(ie,pe,be){u(function(Fe){var ze=false,Je=Me(be,pe,function(kt){ze||(ze=true,pe!==kt?Ce(Fe,kt):ke(Fe,kt));},function(kt){ze||(ze=true,Pe(Fe,kt));},"Settle: "+(Fe._label||" unknown promise"));!ze&&Je&&(ze=true,Pe(Fe,Je));},ie);}function Ee(ie,pe){pe._state===$e?ke(ie,pe._result):pe._state===Re?Pe(ie,pe._result):Qe(pe,void 0,function(be){return Ce(ie,be)},function(be){return Pe(ie,be)});}function me(ie,pe,be){pe.constructor===ie.constructor&&be===le&&pe.constructor.resolve===he?Ee(ie,pe):be===void 0?ke(ie,pe):n(be)?Q(ie,pe,be):ke(ie,pe);}function Ce(ie,pe){if(ie===pe)Pe(ie,Be());else if(r(pe)){var be=void 0;try{be=pe.then;}catch(Fe){Pe(ie,Fe);return}me(ie,pe,be);}else ke(ie,pe);}function Ve(ie){ie._onerror&&ie._onerror(ie._result),lt(ie);}function ke(ie,pe){ie._state===Oe&&(ie._result=pe,ie._state=$e,ie._subscribers.length!==0&&u(lt,ie));}function Pe(ie,pe){ie._state===Oe&&(ie._state=Re,ie._result=pe,u(Ve,ie));}function Qe(ie,pe,be,Fe){var ze=ie._subscribers,Je=ze.length;ie._onerror=null,ze[Je]=pe,ze[Je+$e]=be,ze[Je+Re]=Fe,Je===0&&ie._state&&u(lt,ie);}function lt(ie){var pe=ie._subscribers,be=ie._state;if(pe.length!==0){for(var Fe=void 0,ze=void 0,Je=ie._result,kt=0;kt<pe.length;kt+=3)Fe=pe[kt],ze=pe[kt+be],Fe?dt(be,Fe,ze,Je):ze(Je);ie._subscribers.length=0;}}function dt(ie,pe,be,Fe){var ze=n(be),Je=void 0,kt=void 0,Xn=true;if(ze){try{Je=be(Fe);}catch(Oo){Xn=false,kt=Oo;}if(pe===Je){Pe(pe,ve());return}}else Je=Fe;pe._state!==Oe||(ze&&Xn?Ce(pe,Je):Xn===false?Pe(pe,kt):ie===$e?ke(pe,Je):ie===Re&&Pe(pe,Je));}function xt(ie,pe){try{pe(function(Fe){Ce(ie,Fe);},function(Fe){Pe(ie,Fe);});}catch(be){Pe(ie,be);}}var Ct=0;function Et(){return Ct++}function ht(ie){ie[ye]=Ct++,ie._state=void 0,ie._result=void 0,ie._subscribers=[];}function Un(){return new Error("Array Methods must be provided an Array")}var Lt=(function(){function ie(pe,be){this._instanceConstructor=pe,this.promise=new pe(_e),this.promise[ye]||ht(this.promise),i(be)?(this.length=be.length,this._remaining=be.length,this._result=new Array(this.length),this.length===0?ke(this.promise,this._result):(this.length=this.length||0,this._enumerate(be),this._remaining===0&&ke(this.promise,this._result))):Pe(this.promise,Un());}return ie.prototype._enumerate=function(be){for(var Fe=0;this._state===Oe&&Fe<be.length;Fe++)this._eachEntry(be[Fe],Fe);},ie.prototype._eachEntry=function(be,Fe){var ze=this._instanceConstructor,Je=ze.resolve;if(Je===he){var kt=void 0,Xn=void 0,Oo=false;try{kt=be.then;}catch(bu){Oo=true,Xn=bu;}if(kt===le&&be._state!==Oe)this._settledAt(be._state,Fe,be._result);else if(typeof kt!="function")this._remaining--,this._result[Fe]=be;else if(ze===yt){var vu=new ze(_e);Oo?Pe(vu,Xn):me(vu,be,kt),this._willSettleAt(vu,Fe);}else this._willSettleAt(new ze(function(bu){return bu(be)}),Fe);}else this._willSettleAt(Je(be),Fe);},ie.prototype._settledAt=function(be,Fe,ze){var Je=this.promise;Je._state===Oe&&(this._remaining--,be===Re?Pe(Je,ze):this._result[Fe]=ze),this._remaining===0&&ke(Je,this._result);},ie.prototype._willSettleAt=function(be,Fe){var ze=this;Qe(be,void 0,function(Je){return ze._settledAt($e,Fe,Je)},function(Je){return ze._settledAt(Re,Fe,Je)});},ie})();function gt(ie){return new Lt(this,ie).promise}function St(ie){var pe=this;return i(ie)?new pe(function(be,Fe){for(var ze=ie.length,Je=0;Je<ze;Je++)pe.resolve(ie[Je]).then(be,Fe);}):new pe(function(be,Fe){return Fe(new TypeError("You must pass an array to race."))})}function Dt(ie){var pe=this,be=new pe(_e);return Pe(be,ie),be}function Ot(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Nt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var yt=(function(){function ie(pe){this[ye]=Et(),this._result=this._state=void 0,this._subscribers=[],_e!==pe&&(typeof pe!="function"&&Ot(),this instanceof ie?xt(this,pe):Nt());}return ie.prototype.catch=function(be){return this.then(null,be)},ie.prototype.finally=function(be){var Fe=this,ze=Fe.constructor;return n(be)?Fe.then(function(Je){return ze.resolve(be()).then(function(){return Je})},function(Je){return ze.resolve(be()).then(function(){throw Je})}):Fe.then(be,be)},ie})();yt.prototype.then=le,yt.all=gt,yt.race=St,yt.resolve=he,yt.reject=Dt,yt._setScheduler=c,yt._setAsap=p,yt._asap=u;function ut(){var ie=void 0;if(typeof g<"u")ie=g;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 be=null;try{be=Object.prototype.toString.call(pe.resolve());}catch{}if(be==="[object Promise]"&&!pe.cast)return}ie.Promise=yt;}return yt.polyfill=ut,yt.Promise=yt,yt});}),nv=G(function(e){var t=1e5,r=(function(){var Q=Object.prototype.toString,Ee=Object.prototype.hasOwnProperty;return {Class:function(Ce){return Q.call(Ce).replace(/^\[object *|\]$/g,"")},HasProperty:function(Ce,Ve){return Ve in Ce},HasOwnProperty:function(Ce,Ve){return Ee.call(Ce,Ve)},IsCallable:function(Ce){return typeof Ce=="function"},ToInt32:function(Ce){return Ce>>0},ToUint32:function(Ce){return Ce>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(Q,Ee,me){return Q<Ee?Ee:Q>me?me:Q}var p=Object.getOwnPropertyNames||function(Q){if(Q!==Object(Q))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Ee=[],me;for(me in Q)r.HasOwnProperty(Q,me)&&Ee.push(me);return Ee},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Ee,me,Ce){if(!Ee===Object(Ee))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Ce,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Ee,me,Ce.get),r.HasProperty(Ce,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Ee,me,Ce.set),r.HasProperty(Ce,"value")&&(Ee[me]=Ce.value),Ee};function _(Q){if(p&&b){var Ee=p(Q),me;for(me=0;me<Ee.length;me+=1)b(Q,Ee[me],{value:Q[Ee[me]],writable:false,enumerable:false,configurable:false});}}function R(Q){if(!b)return;if(Q.length>t)throw new RangeError("Array too large for polyfill");function Ee(Ce){b(Q,Ce,{get:function(){return Q._getter(Ce)},set:function(ke){Q._setter(Ce,ke);},enumerable:true,configurable:false});}var me;for(me=0;me<Q.length;me+=1)Ee(me);}function L(Q,Ee){var me=32-Ee;return Q<<me>>me}function N(Q,Ee){var me=32-Ee;return Q<<me>>>me}function H(Q){return [Q&255]}function j(Q){return L(Q[0],8)}function W(Q){return [Q&255]}function U(Q){return N(Q[0],8)}function J(Q){return Q=u(Number(Q)),[Q<0?0:Q>255?255:Q&255]}function re(Q){return [Q>>8&255,Q&255]}function se(Q){return L(Q[0]<<8|Q[1],16)}function fe(Q){return [Q>>8&255,Q&255]}function De(Q){return N(Q[0]<<8|Q[1],16)}function le(Q){return [Q>>24&255,Q>>16&255,Q>>8&255,Q&255]}function he(Q){return L(Q[0]<<24|Q[1]<<16|Q[2]<<8|Q[3],32)}function ye(Q){return [Q>>24&255,Q>>16&255,Q>>8&255,Q&255]}function _e(Q){return N(Q[0]<<24|Q[1]<<16|Q[2]<<8|Q[3],32)}function Oe(Q,Ee,me){var Ce=(1<<Ee-1)-1,Ve,ke,Pe,Qe,lt,dt,xt;function Ct(Et){var ht=i(Et),Un=Et-ht;return Un<.5?ht:Un>.5||ht%2?ht+1:ht}for(Q!==Q?(ke=(1<<Ee)-1,Pe=l(2,me-1),Ve=0):Q===1/0||Q===-1/0?(ke=(1<<Ee)-1,Pe=0,Ve=Q<0?1:0):Q===0?(ke=0,Pe=0,Ve=1/Q===-1/0?1:0):(Ve=Q<0,Q=a(Q),Q>=l(2,1-Ce)?(ke=s(i(o(Q)/n),1023),Pe=Ct(Q/l(2,ke)*l(2,me)),Pe/l(2,me)>=2&&(ke=ke+1,Pe=1),ke>Ce?(ke=(1<<Ee)-1,Pe=0):(ke=ke+Ce,Pe=Pe-l(2,me))):(ke=0,Pe=Ct(Q/l(2,1-Ce-me)))),lt=[],Qe=me;Qe;Qe-=1)lt.push(Pe%2?1:0),Pe=i(Pe/2);for(Qe=Ee;Qe;Qe-=1)lt.push(ke%2?1:0),ke=i(ke/2);for(lt.push(Ve?1:0),lt.reverse(),dt=lt.join(""),xt=[];dt.length;)xt.push(parseInt(dt.substring(0,8),2)),dt=dt.substring(8);return xt}function $e(Q,Ee,me){var Ce=[],Ve,ke,Pe,Qe,lt,dt,xt,Ct;for(Ve=Q.length;Ve;Ve-=1)for(Pe=Q[Ve-1],ke=8;ke;ke-=1)Ce.push(Pe%2?1:0),Pe=Pe>>1;return Ce.reverse(),Qe=Ce.join(""),lt=(1<<Ee-1)-1,dt=parseInt(Qe.substring(0,1),2)?-1:1,xt=parseInt(Qe.substring(1,1+Ee),2),Ct=parseInt(Qe.substring(1+Ee),2),xt===(1<<Ee)-1?Ct===0?dt*(1/0):NaN:xt>0?dt*l(2,xt-lt)*(1+Ct/l(2,me)):Ct!==0?dt*l(2,-(lt-1))*(Ct/l(2,me)):dt<0?-0:0}function Re(Q){return $e(Q,11,52)}function Be(Q){return Oe(Q,11,52)}function ve(Q){return $e(Q,8,23)}function Me(Q){return Oe(Q,8,23)}((function(){function Q(Et){if(Et=r.ToInt32(Et),Et<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Et,this._bytes=[],this._bytes.length=Et;var ht;for(ht=0;ht<this.byteLength;ht+=1)this._bytes[ht]=0;_(this);}e.ArrayBuffer=e.ArrayBuffer||Q;function Ee(){}function me(Et,ht,Un){var Lt;return Lt=function(St,Dt,Ot){var Nt,yt,ut,ie;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Ot<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new Q(this.byteLength),this.byteOffset=0;}else if(de(arguments[0])==="object"&&arguments[0].constructor===Lt)for(Nt=arguments[0],this.length=Nt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new Q(this.byteLength),this.byteOffset=0,ut=0;ut<this.length;ut+=1)this._setter(ut,Nt._getter(ut));else if(de(arguments[0])==="object"&&!(arguments[0]instanceof Q||r.Class(arguments[0])==="ArrayBuffer"))for(yt=arguments[0],this.length=r.ToUint32(yt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new Q(this.byteLength),this.byteOffset=0,ut=0;ut<this.length;ut+=1)ie=yt[ut],this._setter(ut,Number(ie));else if(de(arguments[0])==="object"&&(arguments[0]instanceof Q||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=St,this.byteOffset=r.ToUint32(Dt),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(Ot),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=Lt,_(this),R(this);},Lt.prototype=new Ee,Lt.prototype.BYTES_PER_ELEMENT=Et,Lt.prototype._pack=ht,Lt.prototype._unpack=Un,Lt.BYTES_PER_ELEMENT=Et,Lt.prototype._getter=function(gt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(gt=r.ToUint32(gt),!(gt>=this.length)){for(var St=[],Dt=0,Ot=this.byteOffset+gt*this.BYTES_PER_ELEMENT;Dt<this.BYTES_PER_ELEMENT;Dt+=1,Ot+=1)St.push(this.buffer._bytes[Ot]);return this._unpack(St)}},Lt.prototype.get=Lt.prototype._getter,Lt.prototype._setter=function(gt,St){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(gt=r.ToUint32(gt),gt<this.length){var Dt=this._pack(St),Ot,Nt;for(Ot=0,Nt=this.byteOffset+gt*this.BYTES_PER_ELEMENT;Ot<this.BYTES_PER_ELEMENT;Ot+=1,Nt+=1)this.buffer._bytes[Nt]=Dt[Ot];}},Lt.prototype.set=function(gt,St){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var Dt,Ot,Nt,yt,ut,ie,pe,be,Fe,ze;if(de(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(Dt=arguments[0],Nt=r.ToUint32(arguments[1]),Nt+Dt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(be=this.byteOffset+Nt*this.BYTES_PER_ELEMENT,Fe=Dt.length*this.BYTES_PER_ELEMENT,Dt.buffer===this.buffer){for(ze=[],ut=0,ie=Dt.byteOffset;ut<Fe;ut+=1,ie+=1)ze[ut]=Dt.buffer._bytes[ie];for(ut=0,pe=be;ut<Fe;ut+=1,pe+=1)this.buffer._bytes[pe]=ze[ut];}else for(ut=0,ie=Dt.byteOffset,pe=be;ut<Fe;ut+=1,ie+=1,pe+=1)this.buffer._bytes[pe]=Dt.buffer._bytes[ie];}else if(de(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Ot=arguments[0],yt=r.ToUint32(Ot.length),Nt=r.ToUint32(arguments[1]),Nt+yt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ut=0;ut<yt;ut+=1)ie=Ot[ut],this._setter(Nt+ut,Number(ie));}else throw new TypeError("Unexpected argument type(s)")},Lt.prototype.subarray=function(gt,St){gt=r.ToInt32(gt),St=r.ToInt32(St),arguments.length<1&&(gt=0),arguments.length<2&&(St=this.length),gt<0&&(gt=this.length+gt),St<0&&(St=this.length+St),gt=c(gt,0,this.length),St=c(St,0,this.length);var Dt=St-gt;return Dt<0&&(Dt=0),new this.constructor(this.buffer,this.byteOffset+gt*this.BYTES_PER_ELEMENT,Dt)},Lt}var Ce=me(1,H,j),Ve=me(1,W,U),ke=me(1,J,U),Pe=me(2,re,se),Qe=me(2,fe,De),lt=me(4,le,he),dt=me(4,ye,_e),xt=me(4,Me,ve),Ct=me(8,Be,Re);e.Int8Array=e.Int8Array||Ce,e.Uint8Array=e.Uint8Array||Ve,e.Uint8ClampedArray=e.Uint8ClampedArray||ke,e.Int16Array=e.Int16Array||Pe,e.Uint16Array=e.Uint16Array||Qe,e.Int32Array=e.Int32Array||lt,e.Uint32Array=e.Uint32Array||dt,e.Float32Array=e.Float32Array||xt,e.Float64Array=e.Float64Array||Ct;}))(),(function(){function Q(ke,Pe){return r.IsCallable(ke.get)?ke.get(Pe):ke[Pe]}var Ee=(function(){var ke=new e.Uint16Array([4660]),Pe=new e.Uint8Array(ke.buffer);return Q(Pe,0)===18})();function me(ke,Pe,Qe){if(arguments.length===0)ke=new e.ArrayBuffer(0);else if(!(ke instanceof e.ArrayBuffer||r.Class(ke)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=ke||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Pe),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(Qe),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");_(this);}function Ce(ke){return function(Pe,Qe){if(Pe=r.ToUint32(Pe),Pe+ke.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Pe+=this.byteOffset;var lt=new e.Uint8Array(this.buffer,Pe,ke.BYTES_PER_ELEMENT),dt=[],xt;for(xt=0;xt<ke.BYTES_PER_ELEMENT;xt+=1)dt.push(Q(lt,xt));return !!Qe==!!Ee&&dt.reverse(),Q(new ke(new e.Uint8Array(dt).buffer),0)}}me.prototype.getUint8=Ce(e.Uint8Array),me.prototype.getInt8=Ce(e.Int8Array),me.prototype.getUint16=Ce(e.Uint16Array),me.prototype.getInt16=Ce(e.Int16Array),me.prototype.getUint32=Ce(e.Uint32Array),me.prototype.getInt32=Ce(e.Int32Array),me.prototype.getFloat32=Ce(e.Float32Array),me.prototype.getFloat64=Ce(e.Float64Array);function Ve(ke){return function(Pe,Qe,lt){if(Pe=r.ToUint32(Pe),Pe+ke.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var dt=new ke([Qe]),xt=new e.Uint8Array(dt.buffer),Ct=[],Et,ht;for(Et=0;Et<ke.BYTES_PER_ELEMENT;Et+=1)Ct.push(Q(xt,Et));!!lt==!!Ee&&Ct.reverse(),ht=new e.Uint8Array(this.buffer,Pe,ke.BYTES_PER_ELEMENT),ht.set(Ct);}}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;})();}),av=G(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 p=c[this._id];return p&&p[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var p=c[this._id];if(p&&p[0]===c)return p[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var p=c[this._id];return !!(p&&p[0]===c)}),a(o.prototype,"set",function(c,p){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]=p,this):(a(c,this._id,[c,p]),this)});function s(c,p){if(!i(c)||!r.call(c,"_id"))throw new TypeError(p+" 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 g<"u"?g:e);}),cr=G(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 g>"u"?"undefined":de(g))=="object"&&g)||r(de(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),dr=G(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),oi=G(function(e,t){var r=dr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),iv=G(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)});}),er=G(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=G(function(e,t){var r=er(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Vu=G(function(e,t){var r=si(),n=er();t.exports=function(a){if(r(a)==="Function")return n(a)};}),jt=G(function(e,t){var r=(typeof h>"u"?"undefined":de(h))=="object"&&h.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),xr=G(function(e,t){var r=dr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),pn=G(function(e,t){var r=oi(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),ju=G(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=G(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),ov=G(function(e,t){var r=er(),n=dr(),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=G(function(e,t){t.exports=function(r){return r==null};}),ui=G(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=G(function(e,t){var r=ov(),n=ui();t.exports=function(a){return r(n(a))};}),Ur=G(function(e,t){var r=jt();t.exports=function(n){return de(n)=="object"?n!==null:r(n)};}),oa=G(function(e,t){t.exports={};}),Wo=G(function(e,t){var r=oa(),n=cr(),a=jt(),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]};}),sv=G(function(e,t){var r=er();t.exports=r({}.isPrototypeOf);}),lv=G(function(e,t){var r=cr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),uv=G(function(e,t){var r=cr(),n=lv(),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=G(function(e,t){var r=uv(),n=dr(),a=cr(),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});}),zu=G(function(e,t){var r=$u();t.exports=r&&!Symbol.sham&&de(Symbol.iterator)=="symbol";}),Gu=G(function(e,t){var r=Wo(),n=jt(),a=sv(),i=zu(),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))};}),Wu=G(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ci=G(function(e,t){var r=jt(),n=Wu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Uo=G(function(e,t){var r=ci(),n=Go();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),cv=G(function(e,t){var r=pn(),n=jt(),a=Ur(),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=G(function(e,t){t.exports=true;}),dv=G(function(e,t){var r=cr(),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=G(function(e,t){var r=Xo(),n=cr(),a=dv(),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=G(function(e,t){var r=di();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Yo=G(function(e,t){var r=ui(),n=Object;t.exports=function(a){return n(r(a))};}),Or=G(function(e,t){var r=er(),n=Yo(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Xu=G(function(e,t){var r=er(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Nr=G(function(e,t){var r=cr(),n=Uu(),a=Or(),i=Xu(),o=$u(),s=zu(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(p){return a(u,p)||(u[p]=o&&a(l,p)?l[p]:c("Symbol."+p)),u[p]};}),fv=G(function(e,t){var r=pn(),n=Ur(),a=Gu(),i=Uo(),o=cv(),s=Nr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,p){if(!n(c)||a(c))return c;var b=i(c,u),_;if(b){if(p===void 0&&(p="default"),_=r(b,c,p),!n(_)||a(_))return _;throw new l("Can't convert object to primitive value")}return p===void 0&&(p="number"),o(c,p)};}),Yu=G(function(e,t){var r=fv(),n=Gu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Ku=G(function(e,t){var r=cr(),n=Ur(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),Ju=G(function(e,t){var r=xr(),n=dr(),a=Ku();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),pv=G(function(e){var t=xr(),r=pn(),n=ju(),a=li(),i=ia(),o=Yu(),s=Or(),l=Ju(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(p,b){if(p=i(p),b=o(b),l)try{return u(p,b)}catch{}if(s(p,b))return a(!r(n.f,p,b),p[b])};}),mv=G(function(e,t){var r=dr(),n=jt(),a=/#|\.prototype\./,i=function(p,b){var _=s[o(p)];return _===u?true:_===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;}),Zu=G(function(e,t){var r=Vu(),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)}};}),Qu=G(function(e,t){var r=xr(),n=dr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),kn=G(function(e,t){var r=Ur(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),fi=G(function(e){var t=xr(),r=Ju(),n=Qu(),a=kn(),i=Yu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",p="writable";e.f=t?n?function(_,R,L){if(a(_),R=i(R),a(L),typeof _=="function"&&R==="prototype"&&"value"in L&&p in L&&!L[p]){var N=l(_,R);N&&N[p]&&(_[R]=L.value,L={configurable:c in L?L[c]:N[c],enumerable:u in L?L[u]:N[u],writable:false});}return s(_,R,L)}:s:function(_,R,L){if(a(_),R=i(R),a(L),r)try{return s(_,R,L)}catch{}if("get"in L||"set"in L)throw new o("Accessors not supported");return "value"in L&&(_[R]=L.value),_};}),sa=G(function(e,t){var r=xr(),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=G(function(e,t){var r=cr(),n=iv(),a=Vu(),i=jt(),o=pv().f,s=mv(),l=oa(),u=Zu(),c=sa(),p=Or();di();var b=function(R){var L=function(H,j,W){if(this instanceof L){switch(arguments.length){case 0:return new R;case 1:return new R(H);case 2:return new R(H,j)}return new R(H,j,W)}return n(R,this,arguments)};return L.prototype=R.prototype,L};t.exports=function(_,R){var L=_.target,N=_.global,H=_.stat,j=_.proto,W=N?r:H?r[L]:r[L]&&r[L].prototype,U=N?l:l[L]||c(l,L,{})[L],J=U.prototype,re,se,fe,De,le,he,ye,_e,Oe;for(De in R)re=s(N?De:L+(H?".":"#")+De,_.forced),se=!re&&W&&p(W,De),he=U[De],se&&(_.dontCallGetSet?(Oe=o(W,De),ye=Oe&&Oe.value):ye=W[De]),le=se&&ye?ye:R[De],!(!re&&!j&&de(he)==de(le))&&(_.bind&&se?_e=u(le,r):_.wrap&&se?_e=b(le):j&&i(le)?_e=a(le):_e=le,(_.sham||le&&le.sham||he&&he.sham)&&c(_e,"sham",true),c(U,De,_e),j&&(fe=L+"Prototype",p(l,fe)||c(l,fe,{}),c(l[fe],De,le),_.real&&J&&(re||!J[De])&&c(J,De,le)));};}),hv=G(function(){var e=pi(),t=Or();e({target:"Object",stat:true},{hasOwn:t});}),gv=G(function(e,t){hv();var r=oa();t.exports=r.Object.hasOwn;}),vv=G(function(e,t){var r=gv();t.exports=r;}),bv=G(function(e,t){var r=vv();t.exports=r;}),Ko=G(function(e,t){var r=Uu(),n=Xu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),yv=G(function(e,t){var r=dr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),Jo=G(function(e,t){var r=Or(),n=jt(),a=Yo(),i=Ko(),o=yv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var p=a(c);if(r(p,s))return p[s];var b=p.constructor;return n(b)&&p instanceof b?b.prototype:p instanceof l?u:null};}),wv=G(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=G(function(e,t){var r=wv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),xv=G(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)};}),Dv=G(function(e,t){var r=Zo(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),ec=G(function(e,t){var r=Dv();t.exports=function(n){return r(n.length)};}),_v=G(function(e,t){var r=ia(),n=xv(),a=ec(),i=function(s){return function(l,u,c){var p=r(l),b=a(p);if(b===0)return !s&&-1;var _=n(c,b),R;if(s&&u!==u){for(;b>_;)if(R=p[_++],R!==R)return true}else for(;b>_;_++)if((s||_ in p)&&p[_]===u)return s||_||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Qo=G(function(e,t){t.exports={};}),Av=G(function(e,t){var r=er(),n=Or(),a=ia(),i=_v().indexOf,o=Qo(),s=r([].push);t.exports=function(l,u){var c=a(l),p=0,b=[],_;for(_ in c)!n(o,_)&&n(c,_)&&s(b,_);for(;u.length>p;)n(c,_=u[p++])&&(~i(b,_)||s(b,_));return b};}),tc=G(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),rc=G(function(e,t){var r=Av(),n=tc();t.exports=Object.keys||function(i){return r(i,n)};}),Ev=G(function(e,t){var r=xr(),n=dr(),a=er(),i=Jo(),o=rc(),s=ia(),l=ju().f,u=a(l),c=a([].push),p=r&&n(function(){var _=Object.create(null);return _[2]=2,!u(_,2)}),b=function(R){return function(L){for(var N=s(L),H=o(N),j=p&&i(N)===null,W=H.length,U=0,J=[],re;W>U;)re=H[U++],(!r||(j?re in N:u(N,re)))&&c(J,R?[re,N[re]]:N[re]);return J}};t.exports={entries:b(true),values:b(false)};}),Cv=G(function(){var e=pi(),t=Ev().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),Sv=G(function(e,t){Cv();var r=oa();t.exports=r.Object.values;}),kv=G(function(e,t){var r=Sv();t.exports=r;}),Tv=G(function(e,t){var r=kv();t.exports=r;}),es=G(function(e,t){var r=Nr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),mi=G(function(e,t){var r=es(),n=jt(),a=si(),i=Nr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(p,b){try{return p[b]}catch{}};t.exports=r?a:function(c){var p,b,_;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(p=s(c),o))=="string"?b:l?a(p):(_=a(p))==="Object"&&n(p.callee)?"Arguments":_};}),nc=G(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)};}),Rv=G(function(e,t){var r=er(),n=Zo(),a=nc(),i=ui(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(p){return function(b,_){var R=a(i(b)),L=n(_),N=R.length,H,j;return L<0||L>=N?p?"":void 0:(H=s(R,L),H<55296||H>56319||L+1===N||(j=s(R,L+1))<56320||j>57343?p?o(R,L):H:p?l(R,L,L+2):(H-55296<<10)+(j-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Fv=G(function(e,t){var r=cr(),n=jt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),Iv=G(function(e,t){var r=Fv(),n=cr(),a=Ur(),i=sa(),o=Or(),s=di(),l=Ko(),u=Qo(),c="Object already initialized",p=n.TypeError,b=n.WeakMap,_,R,L,N=function(J){return L(J)?R(J):_(J,{})},H=function(J){return function(re){var se;if(!a(re)||(se=R(re)).type!==J)throw new p("Incompatible receiver, "+J+" required");return se}};r||s.state?(j=s.state||(s.state=new b),j.get=j.get,j.has=j.has,j.set=j.set,_=function(J,re){if(j.has(J))throw new p(c);return re.facade=J,j.set(J,re),re},R=function(J){return j.get(J)||{}},L=function(J){return j.has(J)}):(W=l("state"),u[W]=true,_=function(J,re){if(o(J,W))throw new p(c);return re.facade=J,i(J,W,re),re},R=function(J){return o(J,W)?J[W]:{}},L=function(J){return o(J,W)});var j,W;t.exports={set:_,get:R,has:L,enforce:N,getterFor:H};}),Lv=G(function(e,t){var r=xr(),n=Or(),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};}),Pv=G(function(e){var t=xr(),r=Qu(),n=fi(),a=kn(),i=ia(),o=rc();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),p=o(u),b=p.length,_=0,R;b>_;)n.f(l,R=p[_++],c[R]);return l};}),Mv=G(function(e,t){var r=Wo();t.exports=r("document","documentElement");}),ac=G(function(e,t){var r=kn(),n=Pv(),a=tc(),i=Qo(),o=Mv(),s=Ku(),l=Ko(),u=">",c="<",p="prototype",b="script",_=l("IE_PROTO"),R=function(){},L=function(J){return c+b+u+J+c+"/"+b+u},N=function(J){J.write(L("")),J.close();var re=J.parentWindow.Object;return J=null,re},H=function(){var J=s("iframe"),re="java"+b+":",se;return J.style.display="none",o.appendChild(J),J.src=String(re),se=J.contentWindow.document,se.open(),se.write(L("document.F=Object")),se.close(),se.F},j,W=function(){try{j=new ActiveXObject("htmlfile");}catch{}W=typeof h<"u"?h.domain&&j?N(j):H():N(j);for(var J=a.length;J--;)delete W[p][a[J]];return W()};i[_]=true,t.exports=Object.create||function(J,re){var se;return J!==null?(R[p]=r(J),se=new R,R[p]=null,se[_]=J):se=W(),re===void 0?se:n.f(se,re)};}),ic=G(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};}),oc=G(function(e,t){var r=dr(),n=jt(),a=Ur(),i=ac(),o=Jo(),s=ic(),l=Nr(),u=Xo(),c=l("iterator"),p=false,b,_,R;[].keys&&(R=[].keys(),"next"in R?(_=o(o(R)),_!==Object.prototype&&(b=_)):p=true);var L=!a(b)||r(function(){var N={};return b[c].call(N)!==N});L?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:p};}),Ov=G(function(e,t){var r=es(),n=mi();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),sc=G(function(e,t){var r=es(),n=fi().f,a=sa(),i=Or(),o=Ov(),s=Nr(),l=s("toStringTag");t.exports=function(u,c,p,b){var _=p?u:u&&u.prototype;_&&(i(_,l)||n(_,l,{configurable:true,value:c}),b&&!r&&a(_,"toString",o));};}),hi=G(function(e,t){t.exports={};}),Nv=G(function(e,t){var r=oc().IteratorPrototype,n=ac(),a=li(),i=sc(),o=hi(),s=function(){return this};t.exports=function(l,u,c,p){var b=u+" Iterator";return l.prototype=n(r,{next:a(+!p,c)}),i(l,b,false,true),o[b]=s,l};}),qv=G(function(e,t){var r=er(),n=ci();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Bv=G(function(e,t){var r=Ur();t.exports=function(n){return r(n)||n===null};}),Hv=G(function(e,t){var r=Bv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),Vv=G(function(e,t){var r=qv(),n=Ur(),a=ui(),i=Hv();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,p){return a(c),i(p),n(c)&&(o?l(c,p):c.__proto__=p),c}})():void 0);}),jv=G(function(e,t){var r=pi(),n=pn(),a=Xo(),i=Lv(),o=jt(),s=Nv(),l=Jo(),u=Vv(),c=sc(),p=sa(),b=ic(),_=Nr(),R=hi(),L=oc(),N=i.PROPER,H=i.CONFIGURABLE,j=L.IteratorPrototype,W=L.BUGGY_SAFARI_ITERATORS,U=_("iterator"),J="keys",re="values",se="entries",fe=function(){return this};t.exports=function(De,le,he,ye,_e,Oe,$e){s(he,le,ye);var Re=function(Qe){if(Qe===_e&&Ee)return Ee;if(!W&&Qe&&Qe in Me)return Me[Qe];switch(Qe){case J:return function(){return new he(this,Qe)};case re:return function(){return new he(this,Qe)};case se:return function(){return new he(this,Qe)}}return function(){return new he(this)}},Be=le+" Iterator",ve=false,Me=De.prototype,Q=Me[U]||Me["@@iterator"]||_e&&Me[_e],Ee=!W&&Q||Re(_e),me=le==="Array"&&Me.entries||Q,Ce,Ve,ke;if(me&&(Ce=l(me.call(new De)),Ce!==Object.prototype&&Ce.next&&(!a&&l(Ce)!==j&&(u?u(Ce,j):o(Ce[U])||b(Ce,U,fe)),c(Ce,Be,true,true),a&&(R[Be]=fe))),N&&_e===re&&Q&&Q.name!==re&&(!a&&H?p(Me,"name",re):(ve=true,Ee=function(){return n(Q,this)})),_e)if(Ve={values:Re(re),keys:Oe?Ee:Re(J),entries:Re(se)},$e)for(ke in Ve)(W||ve||!(ke in Me))&&b(Me,ke,Ve[ke]);else r({target:le,proto:true,forced:W||ve},Ve);return (!a||$e)&&Me[U]!==Ee&&b(Me,U,Ee,{name:_e}),R[le]=Ee,Ve};}),$v=G(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),zv=G(function(){var e=Rv().charAt,t=nc(),r=Iv(),n=jv(),a=$v(),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,p=u.index,b;return p>=c.length?a(void 0,true):(b=e(c,p),u.index+=b.length,a(b,false))});}),Gv=G(function(e,t){var r=pn(),n=kn(),a=Uo();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};}),Wv=G(function(e,t){var r=kn(),n=Gv();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),Uv=G(function(e,t){var r=Nr(),n=hi(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),Xv=G(function(e,t){var r=er(),n=jt(),a=di(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),Yv=G(function(e,t){var r=er(),n=dr(),a=jt(),i=mi(),o=Wo(),s=Xv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,p=r(c.exec),b=!c.test(l),_=function(N){if(!a(N))return false;try{return u(l,[],N),!0}catch{return false}},R=function(N){if(!a(N))return false;switch(i(N)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!p(c,s(N))}catch{return true}};R.sham=true,t.exports=!u||n(function(){var L;return _(_.call)||!_(Object)||!_(function(){L=true;})||L})?R:_;}),Kv=G(function(e,t){var r=xr(),n=fi(),a=li();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Jv=G(function(e,t){var r=si();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Zv=G(function(e,t){var r=xr(),n=Jv(),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};}),lc=G(function(e,t){var r=mi(),n=Uo(),a=Go(),i=hi(),o=Nr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Qv=G(function(e,t){var r=pn(),n=ci(),a=kn(),i=Wu(),o=lc(),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")};}),eb=G(function(e,t){var r=Zu(),n=pn(),a=Yo(),i=Wv(),o=Uv(),s=Yv(),l=ec(),u=Kv(),c=Zv(),p=Qv(),b=lc(),_=Array;t.exports=function(L){var N=a(L),H=s(this),j=arguments.length,W=j>1?arguments[1]:void 0,U=W!==void 0;U&&(W=r(W,j>2?arguments[2]:void 0));var J=b(N),re=0,se,fe,De,le,he,ye;if(J&&!(this===_&&o(J)))for(fe=H?new this:[],le=p(N,J),he=le.next;!(De=n(he,le)).done;re++)ye=U?i(le,W,[De.value,re],true):De.value,u(fe,re,ye);else for(se=l(N),fe=H?new this(se):_(se);se>re;re++)ye=U?W(N[re],re):N[re],u(fe,re,ye);return c(fe,re),fe};}),tb=G(function(e,t){var r=Nr(),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};}),rb=G(function(){var e=pi(),t=eb(),r=tb(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),nb=G(function(e,t){zv(),rb();var r=oa();t.exports=r.Array.from;}),ab=G(function(e,t){var r=nb();t.exports=r;}),uc=G(function(e,t){var r=ab();t.exports=r;}),cc=G(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 p=c.charCodeAt(0);if((p&63488)===55296){var b=o.charCodeAt(u++);if((p&64512)!==55296||(b&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");p=((p&1023)<<10)+(b&1023)+65536;}l+="\\"+p.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var p=o.charAt(u);p==='"'?p='\\"':p==="\\"?p="\\\\":(c=e.strReplacementsRev[p])!==void 0&&(p=c),l+=p,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:`
|
|
361
363
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
362
|
-
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),
|
|
363
|
-
`||c==="\r"||c==="\f";)O=true,n++,c=a.charAt(n);return O}function k(){var O=R();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return O}function R(){var O=P();if(!O)return null;var H=O;for(c=a.charAt(n);c===",";){if(n++,_(),H.type!=="selectors"&&(H={type:"selectors",selectors:[O]}),O=P(),!O)throw Error('Rule expected after ",".');H.selectors.push(O);}return H}function P(){_();var O={type:"ruleSet"},H=M();if(!H)return null;for(var V=O;H&&(H.type="rule",V.rule=H,V=H,_(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var z=c;if(n++,_(),H=M(),!H)throw Error('Rule expected after "'+z+'".');H.nestingOperator=z;}else H=M(),H&&(H.nestingOperator=null);return O}function M(){for(var O=null;n<u;)if(c=a.charAt(n),c==="*")n++,(O=O||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(O=O||{}).tagName=g();else if(c===".")n++,O=O||{},(O.classNames=O.classNames||[]).push(g());else if(c==="#")n++,(O=O||{}).id=g();else if(c==="["){n++,_();var H={name:g()};if(_(),c==="]")n++;else {var V="";if(o[c]&&(V=c,n++,c=a.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');H.operator=V+"=",n++,_();var z="";if(H.valueType="string",c==='"')z=d('"',t.doubleQuotesEscapeChars);else if(c==="'")z=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,z=g(),H.valueType="substitute";else {for(;n<u&&c!=="]";)z+=c,n++,c=a.charAt(n);z=z.trim();}if(_(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,H.value=z;}O=O||{},(O.attrs=O.attrs||[]).push(H);}else if(c===":"){n++;var Y=g(),te={name:Y};if(c==="("){n++;var oe="";if(_(),i[Y]==="selector")te.valueType="selector",oe=R();else {if(te.valueType=i[Y]||"string",c==='"')oe=d('"',t.doubleQuotesEscapeChars);else if(c==="'")oe=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,oe=g(),te.valueType="substitute";else {for(;n<u&&c!==")";)oe+=c,n++,c=a.charAt(n);oe=oe.trim();}_();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,te.value=oe;}O=O||{},(O.pseudos=O.pseudos||[]).push(te);}else break;return O}return k()}e.parseCssSelector=r;}),Ov=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=$u();function r(a){var n="";switch(a.type){case "ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case "selectors":n=a.selectors.map(r).join(", ");break;case "rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),a.attrs&&(n+=a.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("")),a.pseudos&&(n+=a.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: "'+a.type+'".')}return n}e.renderEntity=r;}),Nv=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Mv(),r=Ov(),a=(function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},n.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},n.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},n.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},n.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},n.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},n.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},n.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},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n})();e.CssSelectorParser=a;}),qv=B(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":ie(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{f.globalThis=(function(){if(typeof self<"u")return self;if(typeof f<"u")return f;if(typeof b<"u")return b;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(d){return l[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||n,function(c,d,g,_){return d.indexOf("def.")===0&&(d=d.substring(4)),d in u||(g===":"?(s.defineParams&&_.replace(s.defineParams,function(k,R,P){u[d]={arg:R,text:P};}),d in u||(u[d]=_)):new Function("def","def['"+d+"']="+_)(u)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(_,k,R,P){if(u[R]&&u[R].arg&&P){var M=(R+":"+P).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[M]=u[R].text.replace(new RegExp("(^|[^\\w$])"+u[R].arg+"([^\\w$])","g"),"$1"+P+"$2"),k+"def.__exp['"+M+"']"}}));var g=new Function("def","return "+d)(u);return g&&i(s,g,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?a.append:a.split,d,g=0,_,k=l.use||l.define?i(l,s,u||{}):s;k=("var out='"+(l.strip?k.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):k).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(R,P){return c.start+o(P)+c.end}).replace(l.encode||n,function(R,P){return d=true,c.startencode+o(P)+c.end}).replace(l.conditional||n,function(R,P,M){return P?M?"';}else if("+o(M)+"){out+='":"';}else{out+='":M?"';if("+o(M)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(R,P,M,O){return P?(g+=1,_=O||"i"+g,P=o(P),"';var arr"+g+"="+P+";if(arr"+g+"){var "+M+","+_+"=-1,l"+g+"=arr"+g+".length-1;while("+_+"<l"+g+"){"+M+"=arr"+g+"["+_+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(R,P){return "';"+o(P)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),k="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+k);try{return new Function(l.varname,k)}catch(R){throw typeof console<"u"&&console.log("Could not create a template function: "+k),R}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Bv=B(function(e,t){t.exports=function(){};}),sa=B(function(e,t){var r=Bv()();t.exports=function(a){return a!==r&&a!==null};}),zu=B(function(e,t){var r=sa(),a=Array.prototype.forEach,n=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=n(null);return a.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),Hv=B(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Vv=B(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),jv=B(function(e,t){t.exports=Hv()()?Math.sign:Vv();}),$v=B(function(e,t){var r=jv(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))};}),la=B(function(e,t){var r=$v(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Gu=B(function(e,t){var r=la();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),$r=B(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),xa=B(function(e,t){var r=sa();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),zv=B(function(e,t){var r=$r(),a=xa(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,d){var g,_=arguments[2],k=arguments[3];return c=Object(a(c)),r(d),g=o(c),k&&g.sort(typeof k=="function"?n.call(k,c):void 0),typeof l!="function"&&(l=g[l]),i.call(l,g,function(R,P){return s.call(c,R)?i.call(d,_,c[R],R,c,P):u})}};}),ni=B(function(e,t){t.exports=zv()("forEach");}),ua=B(function(){}),Gv=B(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?false:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")};}),Wv=B(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Uv=B(function(e,t){var r=sa(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Xv=B(function(e,t){t.exports=Wv()()?Object.keys:Uv();}),Yv=B(function(e,t){var r=Xv(),a=xa(),n=Math.max;t.exports=function(i,o){var s,l,u=n(arguments.length,2),c;for(i=Object(a(i)),c=function(g){try{i[g]=o[g];}catch(_){s||(s=_);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Wu=B(function(e,t){t.exports=Gv()()?Object.assign:Yv();}),Kv=B(function(e,t){var r=sa(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[ie(n)]||false};}),Jv=B(function(e,t){var r=Wu(),a=Kv(),n=sa(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return n(u)||a(l)&&(u=l,l=null),n(u)&&r(s,u),n(l)&&(s.code=l),i&&i(s,t.exports),s};}),Uu=B(function(e,t){var r=xa(),a=Object.defineProperty,n=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(d){try{a(s,d,n(l,d));}catch(g){u=g;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(l,d));}catch(g){u=g;}}),u!==void 0)throw u;return s};}),Xu=B(function(e,t){var r=la(),a=function(u,c){return c},n,i,o,s;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(n.value=u,i(l,"length",n))}):(s=Uu(),o=(function(){var l=[];return function(u){var c,d=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++d).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});}),Yu=B(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),Zv=B(function(e,t){var r=Yu(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,ie(n)):false};}),Qv=B(function(e,t){var r=Zv();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),eb=B(function(e,t){var r=Qv();t.exports=function(a){if(typeof a!="function"||!hasOwnProperty.call(a,"length"))return false;try{if(typeof a.length!="number"||typeof a.call!="function"||typeof a.apply!="function")return !1}catch{return false}return !r(a)};}),tb=B(function(e,t){var r=eb(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),rb=B(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ab=B(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),nb=B(function(e,t){t.exports=rb()()?String.prototype.contains:ab();}),ca=B(function(e,t){var r=Yu(),a=tb(),n=Wu(),i=zu(),o=nb(),s=t.exports=function(l,u){var c,d,g,_,k;return arguments.length<2||typeof l!="string"?(_=u,u=l,l=null):_=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),g=o.call(l,"w")):(c=g=true,d=false),k={value:u,configurable:c,enumerable:d,writable:g},_?n(i(_),k):k};s.gs=function(l,u,c){var d,g,_,k;return typeof l!="string"?(_=c,c=u,u=l,l=null):_=arguments[3],r(u)?a(u)?r(c)?a(c)||(_=c,c=void 0):c=void 0:(_=u,u=c=void 0):u=void 0,r(l)?(d=o.call(l,"c"),g=o.call(l,"e")):(d=true,g=false),k={get:u,set:c,configurable:d,enumerable:g},_?n(i(_),k):k};}),ib=B(function(e,t){var r=ca(),a=$r(),n=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},d,g,_,k,R,P,M;d=function(H,V){var z;return a(V),u.call(this,"__ee__")?z=this.__ee__:(z=c.value=o(null),s(this,"__ee__",c),c.value=null),z[H]?ie(z[H])==="object"?z[H].push(V):z[H]=[z[H],V]:z[H]=V,this},g=function(H,V){var z,Y;return a(V),Y=this,d.call(this,H,z=function(){_.call(Y,H,z),n.call(V,this,arguments);}),z.__eeOnceListener__=V,this},_=function(H,V){var z,Y,te,oe;if(a(V),!u.call(this,"__ee__"))return this;if(z=this.__ee__,!z[H])return this;if(Y=z[H],ie(Y)==="object")for(oe=0;te=Y[oe];++oe)(te===V||te.__eeOnceListener__===V)&&(Y.length===2?z[H]=Y[oe?0:1]:Y.splice(oe,1));else (Y===V||Y.__eeOnceListener__===V)&&delete z[H];return this},k=function(H){var V,z,Y,te,oe;if(u.call(this,"__ee__")&&(te=this.__ee__[H],!!te))if(ie(te)==="object"){for(z=arguments.length,oe=new Array(z-1),V=1;V<z;++V)oe[V-1]=arguments[V];for(te=te.slice(),V=0;Y=te[V];++V)n.call(Y,this,oe);}else switch(arguments.length){case 1:i.call(te,this);break;case 2:i.call(te,this,arguments[1]);break;case 3:i.call(te,this,arguments[1],arguments[2]);break;default:for(z=arguments.length,oe=new Array(z-1),V=1;V<z;++V)oe[V-1]=arguments[V];n.call(te,this,oe);}},R={on:d,once:g,off:_,emit:k},P={on:r(d),once:r(g),off:r(_),emit:r(k)},M=l({},P),t.exports=e=function(H){return H==null?o(M):l(Object(H),P)},e.methods=R;}),ob=B(function(e,t){t.exports=function(){var r=Array.from,a,n;return typeof r!="function"?false:(a=["raz","dwa"],n=r(a),!!(n&&n!==a&&n[1]==="dwa"))};}),sb=B(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ie(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),lb=B(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ie(self))==="object"&&self)return self;if((typeof f>"u"?"undefined":ie(f))==="object"&&f)return f;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),ii=B(function(e,t){t.exports=sb()()?globalThis:lb();}),ub=B(function(e,t){var r=ii(),a={object:true,symbol:true};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return false;i=n("test symbol");try{String(i);}catch{return false}return !(!a[ie(n.iterator)]||!a[ie(n.toPrimitive)]||!a[ie(n.toStringTag)])};}),cb=B(function(e,t){t.exports=function(r){return r?ie(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Ku=B(function(e,t){var r=cb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),db=B(function(e,t){var r=ca(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,n(i,u,r.gs(null,function(d){c||(c=true,n(this,u,r(d)),c=false);})),u};}),fb=B(function(e,t){var r=ca(),a=ii().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})};}),pb=B(function(e,t){var r=ca(),a=Ku(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var s;a(o);for(s in n)if(n[s]===o)return s})})};}),mb=B(function(e,t){var r=ca(),a=Ku(),n=ii().Symbol,i=db(),o=fb(),s=pb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,d,g,_;if(typeof n=="function")try{String(n()),_=!0;}catch{}else n=null;g=function(R){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return d(R)},t.exports=d=function k(R){var P;if(this instanceof k)throw new TypeError("Symbol is not a constructor");return _?n(R):(P=l(g.prototype),R=R===void 0?"":String(R),u(P,{__description__:r("",R),__name__:r("",i(R))}))},o(d),s(d),u(g.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),u(d.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var k=a(this);return ie(k)==="symbol"?k:k.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(g.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(g.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]));}),hb=B(function(e,t){t.exports=ub()()?ii().Symbol:mb();}),gb=B(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),vb=B(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))};}),bb=B(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&ie(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),yb=B(function(e,t){var r=hb().iterator,a=gb(),n=vb(),i=la(),o=$r(),s=xa(),l=sa(),u=bb(),c=Array.isArray,d=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},_=Object.defineProperty;t.exports=function(k){var R=arguments[1],P=arguments[2],M,O,H,V,z,Y,te,oe,ve,re;if(k=Object(s(k)),l(R)&&o(R),!this||this===Array||!n(this)){if(!R){if(a(k))return z=k.length,z!==1?Array.apply(null,k):(V=new Array(1),V[0]=k[0],V);if(c(k)){for(V=new Array(z=k.length),O=0;O<z;++O)V[O]=k[O];return V}}V=[];}else M=this;if(!c(k)){if((ve=k[r])!==void 0){for(te=o(ve).call(k),M&&(V=new M),oe=te.next(),O=0;!oe.done;)re=R?d.call(R,P,oe.value,O):oe.value,M?(g.value=re,_(V,O,g)):V[O]=re,oe=te.next(),++O;z=O;}else if(u(k)){for(z=k.length,M&&(V=new M),O=0,H=0;O<z;++O)re=k[O],O+1<z&&(Y=re.charCodeAt(0),Y>=55296&&Y<=56319&&(re+=k[++O])),re=R?d.call(R,P,re,H):re,M?(g.value=re,_(V,H,g)):V[H]=re,++H;z=H;}}if(z===void 0)for(z=i(k.length),M&&(V=new M(z)),O=0;O<z;++O)re=R?d.call(R,P,k[O],O):k[O],M?(g.value=re,_(V,O,g)):V[O]=re;return M&&(g.value=null,V.length=z),V};}),jo=B(function(e,t){t.exports=ob()()?Array.from:yb();}),wb=B(function(e,t){var r=jo(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),xb=B(function(e,t){var r=wb(),a=sa(),n=$r(),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){a(l)&&n(l);}),o.bind(s)};}),Db=B(function(e,t){var r=$r();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))};}),_b=B(function(e,t){var r=Jv(),a=Xu(),n=ca(),i=ib().methods,o=xb(),s=Db(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,g=i.on,_=i.emit;t.exports=function(k,R,P){var M=c(null),O,H,V,z,Y,te,oe,ve,re,ue,pe,be,Fe,qe,Ee;return R!==false?H=R:isNaN(k.length)?H=1:H=k.length,P.normalizer&&(ue=s(P.normalizer),V=ue.get,z=ue.set,Y=ue.delete,te=ue.clear),P.resolvers!=null&&(Ee=o(P.resolvers)),V?qe=a(function(Pe){var de,Te,U=arguments;if(Ee&&(U=Ee(U)),de=V(U),de!==null&&hasOwnProperty.call(M,de))return pe&&O.emit("get",de,U,this),M[de];if(U.length===1?Te=u.call(k,this,U[0]):Te=l.call(k,this,U),de===null){if(de=V(U),de!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");de=z(U);}else if(hasOwnProperty.call(M,de))throw r("Circular invocation","CIRCULAR_INVOCATION");return M[de]=Te,be&&O.emit("set",de,null,Te),Te},H):R===0?qe=function(){var de;if(hasOwnProperty.call(M,"data"))return pe&&O.emit("get","data",arguments,this),M.data;if(arguments.length?de=l.call(k,this,arguments):de=u.call(k,this),hasOwnProperty.call(M,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return M.data=de,be&&O.emit("set","data",null,de),de}:qe=function(de){var Te,U=arguments,we;if(Ee&&(U=Ee(arguments)),we=String(U[0]),hasOwnProperty.call(M,we))return pe&&O.emit("get",we,U,this),M[we];if(U.length===1?Te=u.call(k,this,U[0]):Te=l.call(k,this,U),hasOwnProperty.call(M,we))throw r("Circular invocation","CIRCULAR_INVOCATION");return M[we]=Te,be&&O.emit("set",we,null,Te),Te},O={original:k,memoized:qe,profileName:P.profileName,get:function(de){return Ee&&(de=Ee(de)),V?V(de):String(de[0])},has:function(de){return hasOwnProperty.call(M,de)},delete:function(de){var Te;hasOwnProperty.call(M,de)&&(Y&&Y(de),Te=M[de],delete M[de],Fe&&O.emit("delete",de,Te));},clear:function(){var de=M;te&&te(),M=c(null),O.emit("clear",de);},on:function(de,Te){return de==="get"?pe=true:de==="set"?be=true:de==="delete"&&(Fe=true),g.call(this,de,Te)},emit:_,updateEnv:function(){k=O.original;}},V?oe=a(function(Pe){var de,Te=arguments;Ee&&(Te=Ee(Te)),de=V(Te),de!==null&&O.delete(de);},H):R===0?oe=function(){return O.delete("data")}:oe=function(de){return Ee&&(de=Ee(arguments)[0]),O.delete(de)},ve=a(function(){var Pe,de=arguments;return R===0?M.data:(Ee&&(de=Ee(de)),V?Pe=V(de):Pe=String(de[0]),M[Pe])}),re=a(function(){var Pe,de=arguments;return R===0?O.has("data"):(Ee&&(de=Ee(de)),V?Pe=V(de):Pe=String(de[0]),Pe===null?false:O.has(Pe))}),d(qe,{__memoized__:n(true),delete:n(oe),clear:n(O.clear),_get:n(ve),_has:n(re)}),O};}),Ab=B(function(e,t){var r=$r(),a=ni(),n=ua(),i=_b(),o=Gu();t.exports=function s(l){var u,c,d;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&&n.async),d=i(l,c,u),a(n,function(g,_){u[_]&&g(u[_],d,u);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),Eb=B(function(e,t){t.exports=function(r){var a,n,i=r.length;if(!i)return "";for(a=String(r[n=0]);--i;)a+=""+r[++n];return a};}),Cb=B(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return ""}};}),Sb=B(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),kb=B(function(e,t){t.exports=function(r){return r!==r};}),Tb=B(function(e,t){t.exports=Sb()()?Number.isNaN:kb();}),$o=B(function(e,t){var r=Tb(),a=la(),n=xa(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,d,g,_;if(!r(u))return i.apply(this,arguments);for(d=a(n(this).length),g=arguments[1],isNaN(g)?g=0:g>=0?g=l(g):g=a(this.length)-l(s(g)),c=g;c<d;++c)if(o.call(this,c)&&(_=this[c],r(_)))return c;return -1};}),Fb=B(function(e,t){var r=$o(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(l){var u=0,c=i,d,g=l.length;if(g===0)return c[g]||null;if(c=c[g]){for(;u<g-1;){if(d=r.call(c[0],l[u]),d===-1)return null;c=c[1][d],++u;}return d=r.call(c[0],l[u]),d===-1?null:c[1][d]||null}return null},set:function(l){var u=0,c=i,d,g=l.length;if(g===0)c[g]=++n;else {for(c[g]||(c[g]=[[],[]]),c=c[g];u<g-1;)d=r.call(c[0],l[u]),d===-1&&(d=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][d],++u;d=r.call(c[0],l[u]),d===-1&&(d=c[0].push(l[u])-1),c[1][d]=++n;}return o[n]=l,n},delete:function(l){var u=0,c=i,d,g=o[l],_=g.length,k=[];if(_===0)delete c[_];else if(c=c[_]){for(;u<_-1;){if(d=r.call(c[0],g[u]),d===-1)return;k.push(c,d),c=c[1][d],++u;}if(d=r.call(c[0],g[u]),d===-1)return;for(l=c[1][d],c[0].splice(d,1),c[1].splice(d,1);!c[0].length&&k.length;)d=k.pop(),c=k.pop(),c[0].splice(d,1),c[1].splice(d,1);}delete o[l];},clear:function(){i=[],o=a(null);}}};}),Rb=B(function(e,t){var r=$o();t.exports=function(){var a=0,n=[],i=[];return {get:function(s){var l=r.call(n,s[0]);return l===-1?null:i[l]},set:function(s){return n.push(s[0]),i.push(++a),a},delete:function(s){var l=r.call(i,s);l!==-1&&(n.splice(l,1),i.splice(l,1));},clear:function(){n=[],i=[];}}};}),Ib=B(function(e,t){var r=$o(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(u){for(var c=0,d=o,g;c<n-1;){if(g=r.call(d[0],u[c]),g===-1)return null;d=d[1][g],++c;}return g=r.call(d[0],u[c]),g===-1?null:d[1][g]||null},set:function(u){for(var c=0,d=o,g;c<n-1;)g=r.call(d[0],u[c]),g===-1&&(g=d[0].push(u[c])-1,d[1].push([[],[]])),d=d[1][g],++c;return g=r.call(d[0],u[c]),g===-1&&(g=d[0].push(u[c])-1),d[1][g]=++i,s[i]=u,i},delete:function(u){for(var c=0,d=o,g,_=[],k=s[u];c<n-1;){if(g=r.call(d[0],k[c]),g===-1)return;_.push(d,g),d=d[1][g],++c;}if(g=r.call(d[0],k[c]),g!==-1){for(u=d[1][g],d[0].splice(g,1),d[1].splice(g,1);!d[0].length&&_.length;)g=_.pop(),d=_.pop(),d[0].splice(g,1),d[1].splice(g,1);delete s[u];}},clear:function(){o=[[],[]],s=a(null);}}};}),Ju=B(function(e,t){var r=$r(),a=ni(),n=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),a(i,function(u,c,d,g){s[c]=n.call(o,l,u,c,d,g);}),s};}),zo=B(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=m.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":ie(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof m>"u"?"undefined":ie(m))==="object"&&m){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":ie(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Lb=B(function(){var e=jo(),t=Ju(),r=Uu(),a=Xu(),n=zo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;ua().async=function(l,u){var c=s(null),d=s(null),g=u.memoized,_=u.original,k,R,P;u.memoized=a(function(M){var O=arguments,H=O[O.length-1];return typeof H=="function"&&(k=H,O=i.call(O,0,-1)),g.apply(R=this,P=O)},g);try{r(u.memoized,g);}catch{}u.on("get",function(M){var O,H,V;if(k){if(c[M]){typeof c[M]=="function"?c[M]=[c[M],k]:c[M].push(k),k=null;return}O=k,H=R,V=P,k=R=P=null,n(function(){var z;hasOwnProperty.call(d,M)?(z=d[M],u.emit("getasync",M,V,H),o.call(O,z.context,z.args)):(k=O,R=H,P=V,g.apply(H,V));});}}),u.original=function(){var M,O,H,V;return k?(M=e(arguments),O=function z(Y){var te,oe,ve=z.id;if(ve==null){n(o.bind(z,this,arguments));return}if(delete z.id,te=c[ve],delete c[ve],!!te)return oe=e(arguments),u.has(ve)&&(Y?u.delete(ve):(d[ve]={context:this,args:oe},u.emit("setasync",ve,typeof te=="function"?1:te.length))),typeof te=="function"?V=o.call(te,this,oe):te.forEach(function(re){V=o.call(re,this,oe);},this),V},H=k,k=R=P=null,M.push(O),V=o.call(_,this,M),O.cb=H,k=O,V):o.call(_,this,arguments)},u.on("set",function(M){if(!k){u.delete(M);return}c[M]?typeof c[M]=="function"?c[M]=[c[M],k.cb]:c[M].push(k.cb):c[M]=k.cb,delete k.cb,k.id=M,k=null;}),u.on("delete",function(M){var O;hasOwnProperty.call(c,M)||d[M]&&(O=d[M],delete d[M],u.emit("deleteasync",M,i.call(O.args,1)));}),u.on("clear",function(){var M=d;d=s(null),u.emit("clearasync",t(M,function(O){return i.call(O.args,1)}));});};}),Pb=B(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=true;}),i};}),Zu=B(function(e,t){t.exports=function(r){return typeof r=="function"};}),Mb=B(function(e,t){var r=Zu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Ob=B(function(e,t){var r=xa(),a=Mb();t.exports=function(n){return a(r(n))};}),Nb=B(function(e,t){var r=Zu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),qb=B(function(e,t){var r=Nb(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),Qu=B(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(ie(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Bb=B(function(){var e=Ju(),t=Pb(),r=Ob(),a=qb(),n=Qu(),i=zo(),o=Object.create,s=t("then","then:finally","done","done:finally");ua().promise=function(l,u){var c=o(null),d=o(null),g=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");u.on("set",function(_,k,R){var P=false;if(!n(R)){d[_]=R,u.emit("setasync",_,1);return}c[_]=1,g[_]=R;var M=function(Y){var te=c[_];if(P)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)
|
|
364
|
-
Consider to rely on 'then' or 'done' mode instead.`);te&&(delete c[_],d[_]=Y,u.emit("setasync",_,te));},O=function(){P=true,c[_]&&(delete c[_],delete g[_],u.delete(_));},H=l;if(H||(H="then"),H==="then"){var V=function(){i(O);};R=R.then(function(z){i(M.bind(this,z));},V),typeof R.finally=="function"&&R.finally(V);}else if(H==="done"){if(typeof R.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");R.done(M,O);}else if(H==="done:finally"){if(typeof R.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof R.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");R.done(M),R.finally(O);}}),u.on("get",function(_,k,R){var P;if(c[_]){++c[_];return}P=g[_];var M=function(){u.emit("getasync",_,k,R);};n(P)?typeof P.done=="function"?P.done(M):P.then(function(){i(M);}):M();}),u.on("delete",function(_){if(delete g[_],c[_]){delete c[_];return}if(hasOwnProperty.call(d,_)){var k=d[_];delete d[_],u.emit("deleteasync",_,[k]);}}),u.on("clear",function(){var _=d;d=o(null),c=o(null),g=o(null),u.emit("clearasync",e(_,function(k){return [k]}));});};}),Hb=B(function(){var e=$r(),t=ni(),r=ua(),a=Function.prototype.apply;r.dispose=function(n,i,o){var s;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){a.call(n,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){n(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),Vb=B(function(e,t){t.exports=2147483647;}),jb=B(function(e,t){var r=la(),a=Vb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),$b=B(function(){var e=jo(),t=ni(),r=zo(),a=Qu(),n=jb(),i=ua(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,d,g){var _,k,R,P;c=n(c),c&&(_=u(null),k=g.async&&i.async||g.promise&&i.promise?"async":"",d.on("set"+k,function(M){_[M]=setTimeout(function(){d.delete(M);},c),typeof _[M].unref=="function"&&_[M].unref(),P&&(P[M]&&P[M]!=="nextTick"&&clearTimeout(P[M]),P[M]=setTimeout(function(){delete P[M];},R),typeof P[M].unref=="function"&&P[M].unref());}),d.on("delete"+k,function(M){clearTimeout(_[M]),delete _[M],P&&(P[M]!=="nextTick"&&clearTimeout(P[M]),delete P[M]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?R=.333:R=s(l(Number(g.preFetch),1),0),R&&(P={},R=(1-R)*c,d.on("get"+k,function(M,O,H){P[M]||(P[M]="nextTick",r(function(){var V;P[M]==="nextTick"&&(delete P[M],d.delete(M),g.async&&(O=e(O),O.push(o)),V=d.memoized.apply(H,O),g.promise&&a(V)&&(typeof V.done=="function"?V.done(o,o):V.then(o,o)));}));}))),d.on("clear"+k,function(){t(_,function(M){clearTimeout(M);}),_={},P&&(t(P,function(M){M!=="nextTick"&&clearTimeout(M);}),P={});}));};}),zb=B(function(e,t){var r=la(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=a(null),u=a(null),c=0,d;return i=r(i),{hit:function(_){var k=u[_],R=++c;if(l[R]=_,u[_]=R,!k)return ++o,o<=i?void 0:(_=l[s],d(_),_);if(delete l[k],s===k)for(;!n.call(l,++s););},delete:d=function(_){var k=u[_];if(k&&(delete l[k],delete u[_],--o,s===k)){if(!o){c=0,s=1;return}for(;!n.call(l,++s););}},clear:function(){o=0,s=1,l=a(null),u=a(null),c=0;}}};}),Gb=B(function(){var e=la(),t=zb(),r=ua();r.max=function(a,n,i){var o,s,l;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,l),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),Wb=B(function(){var e=ca(),t=ua(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,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={};}),a(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]})});};}),Ub=B(function(e,t){var r=zu(),a=Gu(),n=Ab();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=a(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=Eb():s>1&&(o.normalizer=Cb()(s)):s===false?o.normalizer=Fb()():s===1?o.normalizer=Rb()():o.normalizer=Ib()(s))),o.async&&Lb(),o.promise&&Bb(),o.dispose&&Hb(),o.maxAge&&$b(),o.max&&Gb(),o.refCounter&&Wb(),n(i,o)};}),Xb=[{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"}],mr={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"])};Xb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;mr[t]=r,mr[t+"_PRIO"]=a,mr[t+"_GROUP"]=n,mr.results[a]=r,mr.resultGroups[a]=n,mr.resultGroupMap[r]=n;}),Object.freeze(mr.results),Object.freeze(mr.resultGroups),Object.freeze(mr.resultGroupMap),Object.freeze(mr);var je=mr;function Yb(){(typeof console>"u"?"undefined":ie(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var da=Yb,Kb=/[\t\r\n\f]/g,Jb=(function(){function e(){ft(this,e),this.parent=void 0;}return vt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(Kb," ").indexOf(n)>=0}}])})(),Rt=Jb,Go={};dr(Go,{DqElement:function(){return sr},RuleError:function(){return co},aggregate:function(){return oi},aggregateChecks:function(){return rc},aggregateNodeResults:function(){return ac},aggregateResult:function(){return nc},areStylesSet:function(){return ny},assert:function(){return Qe},checkHelper:function(){return ys},clone:function(){return Mr},closest:function(){return Kt},collectResultsFromFrames:function(){return Ud},contains:function(){return Or},convertSelector:function(){return ki},cssParser:function(){return Sd},deepMerge:function(){return Is},escapeSelector:function(){return yt},extendMetaData:function(){return Ls},filterHtmlAttrs:function(){return um},finalizeRuleResult:function(){return Ka},findBy:function(){return gn},getAllChecks:function(){return Li},getAncestry:function(){return Si},getBaseLang:function(){return ya},getCheckMessage:function(){return _A},getCheckOption:function(){return no},getElementSource:function(){return Ed},getEnvironmentData:function(){return ta},getFlattenedTree:function(){return xl},getFrameContexts:function(){return HA},getFriendlyUriEnd:function(){return sc},getNodeAttributes:function(){return Qa},getNodeFromTree:function(){return ze},getPreloadConfig:function(){return im},getRootNode:function(){return vn},getRule:function(){return $p},getScroll:function(){return Br},getScrollState:function(){return $A},getSelector:function(){return vs},getSelectorData:function(){return Ci},getShadowSelector:function(){return ms},getStandards:function(){return zA},getStyleSheetFactory:function(){return Wp},getXpath:function(){return Ad},injectStyle:function(){return UA},isArrayLike:function(){return Cl},isContextObject:function(){return Sl},isContextProp:function(){return oo},isContextSpec:function(){return Up},isHidden:function(){return XA},isHtmlElement:function(){return Tl},isLabelledFramesSelector:function(){return kl},isLabelledShadowDomSelector:function(){return so},isNodeInContext:function(){return Fl},isShadowRoot:function(){return Mi},isValidLang:function(){return po},isXHTML:function(){return un},matchAncestry:function(){return Rl},matches:function(){return xs},matchesExpression:function(){return Ea},matchesSelector:function(){return Da},memoize:function(){return lt},mergeResults:function(){return Pi},nodeLookup:function(){return Ze},nodeSerializer:function(){return lr},nodeSorter:function(){return Il},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return Pl},parseSameOriginStylesheet:function(){return Kp},parseStylesheet:function(){return Ll},parseTabindex:function(){return kr},performanceTimer:function(){return tt},pollyfillElementsFromPoint:function(){return Jp},preload:function(){return am},preloadCssom:function(){return Qp},preloadMedia:function(){return rm},processMessage:function(){return El},publishMetaData:function(){return lo},querySelectorAll:function(){return er},querySelectorAllFilter:function(){return Tr},queue:function(){return _r},respondable:function(){return vr},ruleShouldRun:function(){return lm},select:function(){return Ml},sendCommandToFrame:function(){return $d},serializeError:function(){return uo},setScrollState:function(){return S2},shadowSelect:function(){return k2},shadowSelectAll:function(){return Ol},shouldPreload:function(){return nm},toArray:function(){return oc},tokenList:function(){return jt},uniqueArray:function(){return In},uuid:function(){return Iw},validInputTypes:function(){return fo},validLangs:function(){return mm}});function Zb(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var oi=Zb,Qb=je.CANTTELL_PRIO,ey=je.FAIL_PRIO,si=[];si[je.PASS_PRIO]=true,si[je.CANTTELL_PRIO]=null,si[je.FAIL_PRIO]=false;var ec=["any","all","none"];function tc(e,t){return ec.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function ty(e){var t=Object.assign({},e);tc(t,function(n,i){var o=typeof n.result>"u"?-1:si.indexOf(n.result);n.priority=o!==-1?o:je.CANTTELL_PRIO,i==="none"&&(n.priority===je.PASS_PRIO?n.priority=je.FAIL_PRIO:n.priority===je.FAIL_PRIO&&(n.priority=je.PASS_PRIO));});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return ec.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)});}),[Qb,ey].includes(t.priority)?t.impact=oi(je.impact,a):t.impact=null,tc(t,function(n){delete n.result,delete n.priority;}),t.result=je.results[t.priority],delete t.priority,t}var rc=ty;function Ka(e){var t=p._audit.rules.find(function(r){var a=r.id;return a===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact;});});}),Object.assign(e,ac(e.nodes)),delete e.nodes,e}function ry(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return rc(i);if(Array.isArray(i.node))return Ka(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=oi(je.results,r,t.result);}else t.result="inapplicable";je.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=je.resultGroupMap[i.result];t[o].push(i);});var a=je.FAIL_GROUP;if(t[a].length===0&&(a=je.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=oi(je.impact,n)||null;}else t.impact=null;return t}var ac=ry;function Wo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),je.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function ay(e){var t={};return je.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Wo(t,r,je.CANTTELL_GROUP):r.result===je.NA?Wo(t,r,je.NA_GROUP):je.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Wo(t,r,a);});}),t}var nc=ay;function ic(e,t,r){var a=f.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:ic(e.parentNode,t,r)}var ny=ic;function iy(e,t){if(!e)throw new Error(t)}var Qe=iy;function oy(e){return Array.prototype.slice.call(e)}var oc=oy;function sy(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var yt=sy;function ly(){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 Ja(e,t){return [e.substring(0,t),e.substring(t)]}function Za(e){return e.replace(/\s+$/,"")}function uy(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=Ja(e,e.indexOf("#")),u=ge(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=Ja(e,e.indexOf("?")),d=ge(c,2);e=d[0],o=d[1];}if(e.includes("://")){var g=e.split("://"),_=ge(g,2);r=_[0],e=_[1];var k=Ja(e,e.indexOf("/")),R=ge(k,2);a=R[0],e=R[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var P=Ja(e,e.indexOf("/")),M=ge(P,2);a=M[0],e=M[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var O=Ja(a,a.indexOf(":")),H=ge(O,2);a=H[0],n=H[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function cy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,a=t.maxLength,n=a===void 0?25:a,i=uy(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<=n?Za(u+l):u.length<2&&l.length>2&&l.length<=n?Za(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return Za(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=n&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!ly(u))return Za(u)}}var sc=cy;function dy(e){return e.attributes instanceof f.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Qa=dy,fy=(function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i<n;i++)if(o=a[i],r[o])return o}return function(r,a){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](a):false}})(),Da=fy,lc={};dr(lc,{ArrayFrom:function(){return bd.default},Colorjs:function(){return ot},CssSelectorParser:function(){return uc.CssSelectorParser},doT:function(){return zr.default},emojiRegexText:function(){return Uo},memoize:function(){return cc.default}});var py=wr(Ig()),my=wr(Lg());wr(Pg());var hy=wr(Xg()),gy=wr(iv()),vy=wr(ju());"hasOwn"in Object||(Object.hasOwn=hy.default),"values"in Object||(Object.values=gy.default),"Promise"in f||py.default.polyfill(),"Uint32Array"in f||(f.Uint32Array=my.Uint32Array),f.Uint32Array&&("some"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=vy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),f.Node&&!("isConnected"in f.Node.prototype)&&Object.defineProperty(f.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var uc=wr(Nv()),zr=wr(qv()),Uo=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},cc=wr(Ub());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 a=t[0].length,n=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return n.map(function(s){var l=0;if(!Array.isArray(o)){var u=Ke(s),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;l+=o*d;}}catch(_){u.e(_);}finally{u.f();}return l}for(var g=0;g<o.length;g++)l+=o[g]*(s[g]||0);return l})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function en(e){return Gr(e)==="string"}function Gr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function li(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function dc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),n.push(o);}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function fc(e){return e[e.length-1]}function ui(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function pc(e,t,r){return (r-e)/(t-e)}function Xo(e,t,r){return ui(t[0],t[1],pc(e[0],e[1],r))}function mc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var by=Object.freeze({__proto__:null,isString:en,type:Gr,toPrecision:li,parseFunction:dc,last:fc,interpolate:ui,interpolateInv:pc,mapRange:Xo,parseCoordGrammar:mc,multiplyMatrices:_t}),yy=(function(){function e(){ft(this,e);}return vt(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),Wr=new yy,Dr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},hr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Yo(e){return Array.isArray(e)?e:hr[e]}function ci(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Yo(e),t=Yo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var n={W1:e,W2:t,XYZ:r,options:a};if(Wr.run("chromatic-adaptation-start",n),n.M||(n.W1===hr.D65&&n.W2===hr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===hr.D50&&n.W2===hr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Wr.run("chromatic-adaptation-end",n),n.M)return _t(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var wy=75e-6,gr=(X=new WeakSet,ee=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;ft(this,e),za(this,X),cr(this,ee,void 0),this.id=t.id,this.name=t.name,this.base=t.base?gr.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=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=Yo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var g=this.formats[d];g.type||(g.type="function"),g.name||(g.name=d);}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,Mt(ee,this,Ir(X,this,xy).call(this).reverse()),Wr.run("colorspace-init-end",this);}return vt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?wy:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=ge(u.range,2),d=c[0],g=c[1];return (d===void 0||s>=d-i)&&(g===void 0||s<=g+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(ie(r)==="object")return r=Ir(X,this,hc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Ir(X,this,hc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}if(r=gr.get(r),this===r)return a;a=a.map(function(g){return Number.isNaN(g)?0:g});for(var i=$t(ee,this),o=$t(ee,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--)a=i[c].toBase(a);for(var d=l+1;d<o.length;d++)a=o[d].fromBase(a);return a}},{key:"from",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}return r=gr.get(r),r.to(this,a)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var a in this.coords){var n,i=this.coords[a],o=i.range||i.refRange;r.push((n=o?.min)!==null&&n!==void 0?n:0);}return r}}],[{key:"all",get:function(){return ke(new Set(Object.values(gr.registry)))}},{key:"register",value:function(r,a){if(arguments.length===1&&(a=arguments[0],r=a.id),a=this.get(a),this.registry[r]&&this.registry[r]!==a)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=a,arguments.length===1&&a.aliases){var n=Ke(a.aliases),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;this.register(o,a);}}catch(s){n.e(s);}finally{n.f();}}return a}},{key:"get",value:function(r){if(!r||r instanceof gr)return r;var a=Gr(r);if(a==="string"){var n=gr.registry[r.toLowerCase()];if(!n)throw new TypeError('No color space found with id = "'.concat(r,'"'));return n}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return gr.get.apply(gr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=Gr(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),l=ge(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=ge(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=gr.get(i),i||(i=a),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(n=Gr(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Re({space:i,id:c[0],index:o},c[1])}i=gr.get(i);var d=o.toLowerCase(),g=0;for(var _ in i.coords){var k,R=i.coords[_];if(_.toLowerCase()===d||((k=R.name)===null||k===void 0?void 0:k.toLowerCase())===d)return Re({space:i,id:_,index:g},R);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function hc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=mc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=ge(r,2);n[0];var o=n[1],s=e.coordGrammar[a][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,a){return r.map(function(n,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(n=Xo(s,l,n)),n=li(n,a),u&&(n+=u),n})};}return e}function xy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Le=gr;yu(Le,"registry",{}),yu(Le,"DEFAULT_FORMAT",{type:"functions",name:"color"});var nr=new Le({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 a,n;if(ft(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=nr),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 n.white!==n.base.white&&(l=ci(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=ci(n.base.white,n.white,s),_t(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=me(this,t,[r])}return Me(t,e),vt(t)})(Le);function gc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Wr.run("parse-start",r),r.color)return r.color;if(r.parsed=dc(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=Ke(Le.all),s;try{var l=function(){var ve=s.value,re=ve.getFormat("color");if(re){var ue;if(n===re.id||(ue=re.ids)!==null&&ue!==void 0&&ue.includes(n)){var pe=Object.keys(ve.coords).length,be=Array(pe).fill(0);return be.forEach(function(Fe,qe){return be[qe]=r.parsed.args[qe]||0}),{v:{spaceId:ve.id,coords:be,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(oe){o.e(oe);}finally{o.f();}var c="";if(n in Le.registry){var d,g=(d=Le.registry[n].formats)===null||d===void 0||(d=d.functions)===null||d===void 0||(d=d.color)===null||d===void 0?void 0:d.id;g&&(c="Did you mean color(".concat(g,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var _=Ke(Le.all),k;try{var R=function(){var ve=k.value,re=ve.getFormat(a);if(re&&re.type==="function"){var ue=1;(re.lastAlpha||fc(r.parsed.args).alpha)&&(ue=r.parsed.args.pop());var pe=r.parsed.args;return re.coordGrammar&&Object.entries(ve.coords).forEach(function(be,Fe){var qe,Ee=ge(be,2),Pe=Ee[0],de=Ee[1],Te=re.coordGrammar[Fe],U=(qe=pe[Fe])===null||qe===void 0?void 0:qe.type;if(Te=Te.find(function(Ne){return Ne==U}),!Te){var we=de.name||Pe;throw new TypeError("".concat(U," not allowed for ").concat(we," in ").concat(a,"()"))}var le=Te.range;U==="<percentage>"&&(le||(le=[0,1]));var xe=de.range||de.refRange;le&&xe&&(pe[Fe]=Xo(le,xe,pe[Fe]));}),{v:{spaceId:ve.id,coords:pe,alpha:ue}}}},P;for(_.s();!(k=_.n()).done;)if(P=R(),P)return P.v}catch(oe){_.e(oe);}finally{_.f();}}}else {var M=Ke(Le.all),O;try{for(M.s();!(O=M.n()).done;){var H=O.value;for(var V in H.formats){var z=H.formats[V];if(z.type==="custom"&&!(z.test&&!z.test(r.str))){var Y=z.parse(r.str);if(Y){var te;return (te=Y.alpha)!==null&&te!==void 0||(Y.alpha=1),Y}}}}}catch(oe){M.e(oe);}finally{M.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function rt(e){if(!e)throw new TypeError("Empty color reference");en(e)&&(e=gc(e));var t=e.space||e.spaceId;return t instanceof Le||(e.space=Le.get(t)),e.alpha===void 0&&(e.alpha=1),e}function tn(e,t){return t=Le.get(t),t.from(e)}function ir(e,t){var r=Le.resolveCoord(t,e.space),a=r.space,n=r.index,i=tn(e,a);return i[n]}function vc(e,t,r){return t=Le.get(t),e.coords=t.to(e.space,r),e}function Ur(e,t,r){if(e=rt(e),arguments.length===2&&Gr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Ur(e,n,a[n]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Le.resolveCoord(t,e.space),o=i.space,s=i.index,l=tn(e,o);l[s]=r,vc(e,o,l);}return e}var Ko=new Le({id:"xyz-d50",name:"XYZ D50",white:"D50",base:nr,fromBase:function(t){return ci(nr.white,"D50",t)},toBase:function(t){return ci("D50",nr.white,t)},formats:{color:{}}}),Dy=216/24389,bc=24/116,di=24389/27,Jo=hr.D50,Yt=new Le({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Jo,base:Ko,fromBase:function(t){var r=t.map(function(n,i){return n/Jo[i]}),a=r.map(function(n){return n>Dy?Math.cbrt(n):(di*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>bc?Math.pow(r[0],3):(116*r[0]-16)/di,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/di,r[2]>bc?Math.pow(r[2],3):(116*r[2]-16)/di];return a.map(function(n,i){return n*Jo[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function fi(e){return (e%360+360)%360}function _y(e,t){if(e==="raw")return t;var r=t.map(fi),a=ge(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var rn=new Le({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:Yt,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s=.02;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),fi(o)]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];return n<0&&(n=0),isNaN(i)&&(i=0),[a,n*Math.cos(i*Math.PI/180),n*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),yc=Math.pow(25,7),pi=Math.PI,wc=180/pi,_a=pi/180;function Zo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Yt.from(e),c=ge(u,3),d=c[0],g=c[1],_=c[2],k=rn.from(Yt,[d,g,_])[1],R=Yt.from(t),P=ge(R,3),M=P[0],O=P[1],H=P[2],V=rn.from(Yt,[M,O,H])[1];k<0&&(k=0),V<0&&(V=0);var z=(k+V)/2,Y=Math.pow(z,7),te=.5*(1-Math.sqrt(Y/(Y+yc))),oe=(1+te)*g,ve=(1+te)*O,re=Math.sqrt(Math.pow(oe,2)+Math.pow(_,2)),ue=Math.sqrt(Math.pow(ve,2)+Math.pow(H,2)),pe=oe===0&&_===0?0:Math.atan2(_,oe),be=ve===0&&H===0?0:Math.atan2(H,ve);pe<0&&(pe+=2*pi),be<0&&(be+=2*pi),pe*=wc,be*=wc;var Fe=M-d,qe=ue-re,Ee=be-pe,Pe=pe+be,de=Math.abs(Ee),Te;re*ue===0?Te=0:de<=180?Te=Ee:Ee>180?Te=Ee-360:Ee<-180?Te=Ee+360:console.log("the unthinkable has happened");var U=2*Math.sqrt(ue*re)*Math.sin(Te*_a/2),we=(d+M)/2,le=(re+ue)/2,xe=Math.pow(le,7),Ne;re*ue===0?Ne=Pe:de<=180?Ne=Pe/2:Pe<360?Ne=(Pe+360)/2:Ne=(Pe-360)/2;var Ae=Math.pow(we-50,2),Se=1+.015*Ae/Math.sqrt(20+Ae),Ye=1+.045*le,at=1;at-=.17*Math.cos((Ne-30)*_a),at+=.24*Math.cos(2*Ne*_a),at+=.32*Math.cos((3*Ne+6)*_a),at-=.2*Math.cos((4*Ne-63)*_a);var st=1+.015*le*at,wt=30*Math.exp(-1*Math.pow((Ne-275)/25,2)),Ct=2*Math.sqrt(xe/(xe+yc)),Et=-1*Math.sin(2*wt*_a)*Ct,ct=Math.pow(Fe/(n*Se),2);return ct+=Math.pow(qe/(o*Ye),2),ct+=Math.pow(U/(l*st),2),ct+=Et*(qe/(o*Ye))*(U/(l*st)),Math.sqrt(ct)}var Ay=75e-6;function an(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?Ay:a;e=rt(e),t=Le.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function nn(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Xr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?Dr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(en(arguments[1])&&(i=arguments[1]),i=Le.get(i),an(e,i,{epsilon:0}))return e;var o=or(e,i);if(a!=="clip"&&!an(e,i)){var s=Xr(nn(o),{method:"clip",space:i});if(Zo(e,s)>2){for(var l=Le.resolveCoord(a),u=l.space,c=l.id,d=or(o,u),g=l.range||l.refRange,_=g[0],k=.01,R=_,P=ir(d,c);P-R>k;){var M=nn(d);M=Xr(M,{space:i,method:"clip"});var O=Zo(d,M);O-2<k?R=ir(d,c):P=ir(d,c),Ur(d,c,(R+P)/2);}o=or(d,i);}else o=s;}if(a==="clip"||!an(o,i,{epsilon:0})){var H=Object.values(i.coords).map(function(V){return V.range||[]});o.coords=o.coords.map(function(V,z){var Y=ge(H[z],2),te=Y[0],oe=Y[1];return te!==void 0&&(V=Math.max(te,V)),oe!==void 0&&(V=Math.min(V,oe)),V});}return i!==e.space&&(o=or(o,e.space)),e.coords=o.coords,e}Xr.returns="color";function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=rt(e),t=Le.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Xr(i)),i}or.returns="color";function mi(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?Dr.precision:n,o=a.format,s=o===void 0?"default":o,l=a.inGamut,u=l===void 0?true:l,c=he(a,v),d;e=rt(e);var g=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Le.DEFAULT_FORMAT,u||(u=s.toGamut);var _=e.coords;if(_=_.map(function(V){return V||0}),u&&!an(e)&&(_=Xr(nn(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(_,e.alpha,c);else throw new TypeError("format ".concat(g," can only be used to parse colors, not for serialization"));else {var k=s.name||"color";s.serializeCoords?_=s.serializeCoords(_,i):i!==null&&(_=_.map(function(V){return li(V,i)}));var R=ke(_);if(k==="color"){var P,M=s.id||((P=s.ids)===null||P===void 0?void 0:P[0])||e.space.id;R.unshift(M);}var O=e.alpha;i!==null&&(O=li(O,i));var H=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(O):"";d="".concat(k,"(").concat(R.join(s.commas?", ":" ")).concat(H,")");}return d}var Ey=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Cy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],hi=new Ut({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Ey,fromXYZ_M:Cy,formats:{color:{}}}),gi=1.09929682680944,xc=.018053968510807,Dc=new Ut({id:"rec2020",name:"REC.2020",base:hi,toBase:function(t){return t.map(function(r){return r<xc*4.5?r/4.5:Math.pow((r+gi-1)/gi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=xc?gi*Math.pow(r,.45)-(gi-1):4.5*r})},formats:{color:{}}}),Sy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],ky=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],_c=new Ut({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Sy,fromXYZ_M:ky}),Ty=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Fy=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Ac=new Ut({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Ty,fromXYZ_M:Fy,formats:{color:{}}}),Ec={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]},Cc=Array(3).fill("<percentage> | <number>[0, 255]"),Sc=Array(3).fill("<number>[0, 255]"),on=new Ut({id:"srgb",name:"sRGB",base:Ac,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:Cc},rgb_number:{name:"rgb",commas:true,coords:Sc,noAlpha:true},color:{},rgba:{coords:Cc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Sc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(a){r.push(parseInt(a,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?true:n;r<1&&t.push(r),t=t.map(function(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=Ec.black,r.alpha=0):r.coords=Ec[t],r.coords)return r}}}}),kc=new Ut({id:"p3",name:"P3",base:_c,fromBase:on.fromBase,toBase:on.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=on,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var Qo=0,Tc=[Yt,Dc,kc];Qo<Tc.length;Qo++){var es=Tc[Qo],Ry=es.getMinCoords(),Iy={space:es,coords:Ry,alpha:1},Ly=mi(Iy);if(CSS.supports("color",Ly)){Dr.display_space=es;break}}function Py(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?Dr.display_space:a,i=he(r,y),o=mi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Dr.display_space)o=new String(o),o.color=e;else {var s=or(e,n);o=new String(mi(s,i)),o.color=s;}return o}function Fc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Le.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,s){var l=n[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function My(e,t){return e=rt(e),t=rt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Yr(e){return ir(e,[nr,"y"])}function Rc(e,t){Ur(e,[nr,"y"],t);}function Oy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Yr(this)},set:function(r){Rc(this,r);}});}var Ny=Object.freeze({__proto__:null,getLuminance:Yr,setLuminance:Rc,register:Oy});function qy(e,t){e=rt(e),t=rt(t);var r=Math.max(Yr(e),0),a=Math.max(Yr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var By=.56,Hy=.57,Vy=.62,jy=.65,Ic=.022,$y=1.414,zy=.1,Gy=5e-4,Wy=1.14,Lc=.027,Uy=1.14;function Pc(e){return e>=Ic?e:e+Math.pow(Ic-e,$y)}function Aa(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Xy(e,t){t=rt(t),e=rt(e);var r,a,n,i,o,s;t=or(t,"srgb");var l=ge(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Aa(i)*.2126729+Aa(o)*.7151522+Aa(s)*.072175;e=or(e,"srgb");var c=ge(e.coords,3);i=c[0],o=c[1],s=c[2];var d=Aa(i)*.2126729+Aa(o)*.7151522+Aa(s)*.072175,g=Pc(u),_=Pc(d),k=_>g;return Math.abs(_-g)<Gy?a=0:k?(r=Math.pow(_,By)-Math.pow(g,Hy),a=r*Wy):(r=Math.pow(_,jy)-Math.pow(g,Vy),a=r*Uy),Math.abs(a)<zy?n=0:a>0?n=a-Lc:n=a+Lc,n*100}function Yy(e,t){e=rt(e),t=rt(t);var r=Math.max(Yr(e),0),a=Math.max(Yr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}var i=r+a;return i===0?0:(r-a)/i}var Ky=5e4;function Jy(e,t){e=rt(e),t=rt(t);var r=Math.max(Yr(e),0),a=Math.max(Yr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?Ky:(r-a)/a}function Zy(e,t){e=rt(e),t=rt(t);var r=ir(e,[Yt,"l"]),a=ir(t,[Yt,"l"]);return Math.abs(r-a)}var Qy=216/24389,Mc=24/116,vi=24389/27,ts=hr.D65,rs=new Le({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ts,base:nr,fromBase:function(t){var r=t.map(function(n,i){return n/ts[i]}),a=r.map(function(n){return n>Qy?Math.cbrt(n):(vi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Mc?Math.pow(r[0],3):(116*r[0]-16)/vi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/vi,r[2]>Mc?Math.pow(r[2],3):(116*r[2]-16)/vi];return a.map(function(n,i){return n*ts[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),as=Math.pow(5,.5)*.5+.5;function e0(e,t){e=rt(e),t=rt(t);var r=ir(e,[rs,"l"]),a=ir(t,[rs,"l"]),n=Math.abs(Math.pow(r,as)-Math.pow(a,as)),i=Math.pow(n,1/as)*Math.SQRT2-40;return i<7.5?0:i}var bi=Object.freeze({__proto__:null,contrastWCAG21:qy,contrastAPCA:Xy,contrastMichelson:Yy,contrastWeber:Jy,contrastLstar:Zy,contrastDeltaPhi:e0});function t0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};en(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=he(a,x);if(!n){var o=Object.keys(bi).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=rt(e),t=rt(t);for(var s in bi)if("contrast"+n.toLowerCase()===s.toLowerCase())return bi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Oc(e){var t=tn(e,nr),r=ge(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return [4*a/o,9*n/o]}function Nc(e){var t=tn(e,nr),r=ge(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function r0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Oc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Nc(this)}});}var a0=Object.freeze({__proto__:null,uv:Oc,xy:Nc,register:r0});function n0(e,t){return Fc(e,t,"lab")}var i0=Math.PI,qc=i0/180;function o0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,s=Yt.from(e),l=ge(s,3),u=l[0],c=l[1],d=l[2],g=rn.from(Yt,[u,c,d]),_=ge(g,3),k=_[1],R=_[2],P=Yt.from(t),M=ge(P,3),O=M[0],H=M[1],V=M[2],z=rn.from(Yt,[O,H,V])[1];k<0&&(k=0),z<0&&(z=0);var Y=u-O,te=k-z,oe=c-H,ve=d-V,re=Math.pow(oe,2)+Math.pow(ve,2)-Math.pow(te,2),ue=.511;u>=16&&(ue=.040975*u/(1+.01765*u));var pe=.0638*k/(1+.0131*k)+.638,be;Number.isNaN(R)&&(R=0),R>=164&&R<=345?be=.56+Math.abs(.2*Math.cos((R+168)*qc)):be=.36+Math.abs(.4*Math.cos((R+35)*qc));var Fe=Math.pow(k,4),qe=Math.sqrt(Fe/(Fe+1900)),Ee=pe*(qe*be+1-qe),Pe=Math.pow(Y/(n*ue),2);return Pe+=Math.pow(te/(o*pe),2),Pe+=re/Math.pow(Ee,2),Math.sqrt(Pe)}var Bc=203,ns=new Le({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:nr,fromBase:function(t){return t.map(function(r){return Math.max(r*Bc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Bc,0)})}}),yi=1.15,wi=.66,Hc=2610/Math.pow(2,14),s0=Math.pow(2,14)/2610,Vc=3424/Math.pow(2,12),jc=2413/Math.pow(2,7),$c=2392/Math.pow(2,7),l0=1.7*2523/Math.pow(2,5),zc=Math.pow(2,5)/(1.7*2523),xi=-0.56,is=16295499532821565e-27,u0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],c0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],d0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],f0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Gc=new Le({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ns,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o=yi*a-(yi-1)*i,s=wi*n-(wi-1)*a,l=_t(u0,[o,s,i]),u=l.map(function(P){var M=Vc+jc*Math.pow(P/1e4,Hc),O=1+$c*Math.pow(P/1e4,Hc);return Math.pow(M/O,l0)}),c=_t(d0,u),d=ge(c,3),g=d[0],_=d[1],k=d[2],R=(1+xi)*g/(1+xi*g)-is;return [R,_,k]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o=(a+is)/(1+xi-xi*(a+is)),s=_t(f0,[o,n,i]),l=s.map(function(P){var M=Vc-Math.pow(P,zc),O=$c*Math.pow(P,zc)-jc,H=1e4*Math.pow(M/O,s0);return H}),u=_t(c0,l),c=ge(u,3),d=c[0],g=c[1],_=c[2],k=(d+(yi-1)*_)/yi,R=(g+(wi-1)*k)/wi;return [k,R,_]},formats:{color:{}}}),os=new Le({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:Gc,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),fi(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 p0(e,t){var r=os.from(e),a=ge(r,3),n=a[0],i=a[1],o=a[2],s=os.from(t),l=ge(s,3),u=l[0],c=l[1],d=l[2],g=n-u,_=i-c;Number.isNaN(o)&&Number.isNaN(d)?(o=0,d=0):Number.isNaN(o)?o=d:Number.isNaN(d)&&(d=o);var k=o-d,R=2*Math.sqrt(i*c)*Math.sin(k/2*(Math.PI/180));return Math.sqrt(Math.pow(g,2)+Math.pow(_,2)+Math.pow(R,2))}var Wc=3424/4096,Uc=2413/128,Xc=2392/128,Yc=2610/16384,m0=2523/32,h0=16384/2610,Kc=32/2523,g0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],v0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],b0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],y0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ss=new Le({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:ns,fromBase:function(t){var r=_t(g0,t);return w0(r)},toBase:function(t){var r=x0(t);return _t(y0,r)},formats:{color:{}}});function w0(e){var t=e.map(function(r){var a=Wc+Uc*Math.pow(r/1e4,Yc),n=1+Xc*Math.pow(r/1e4,Yc);return Math.pow(a/n,m0)});return _t(v0,t)}function x0(e){var t=_t(b0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,Kc)-Wc,0),i=Uc-Xc*Math.pow(a,Kc);return 1e4*Math.pow(n/i,h0)});return r}function D0(e,t){var r=ss.from(e),a=ge(r,3),n=a[0],i=a[1],o=a[2],s=ss.from(t),l=ge(s,3),u=l[0],c=l[1],d=l[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-d,2))}var _0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],A0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],E0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],C0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Di=new Le({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:nr,fromBase:function(t){var r=_t(_0,t),a=r.map(function(n){return Math.cbrt(n)});return _t(E0,a)},toBase:function(t){var r=_t(C0,t),a=r.map(function(n){return Math.pow(n,3)});return _t(A0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function S0(e,t){var r=Di.from(e),a=ge(r,3),n=a[0],i=a[1],o=a[2],s=Di.from(t),l=ge(s,3),u=l[0],c=l[1],d=l[2],g=n-u,_=i-c,k=o-d;return Math.sqrt(Math.pow(g,2)+Math.pow(_,2)+Math.pow(k,2))}var ls=Object.freeze({__proto__:null,deltaE76:n0,deltaECMC:o0,deltaE2000:Zo,deltaEJz:p0,deltaEITP:D0,deltaEOK:S0});function sn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};en(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?Dr.deltaE:n,o=he(a,I);e=rt(e),t=rt(t);for(var s in ls)if("deltae"+i.toLowerCase()===s.toLowerCase())return ls[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function k0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),a=[r,"l"];return Ur(e,a,function(n){return n*(1+t)})}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),a=[r,"l"];return Ur(e,a,function(n){return n*(1-t)})}var F0=Object.freeze({__proto__:null,lighten:k0,darken:T0});function Jc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[rt(e),rt(t)];if(e=n[0],t=n[1],Gr(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,l=o.outputSpace,u=o.premultiplied,c=ln(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function Zc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(us(e)){a=e,r=t;var n=ge(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,d=c===void 0?1e3:c,g=he(i,S);if(!a){var _=[rt(e),rt(t)];e=_[0],t=_[1],a=ln(e,t,g);}var k=sn(e,t),R=o>0?Math.max(u,Math.ceil(k/o)+1):u,P=[];if(d!==void 0&&(R=Math.min(R,d)),R===1)P=[{p:.5,color:a(.5)}];else {var M=1/(R-1);P=Array.from({length:R},function(oe,ve){var re=ve*M;return {p:re,color:a(re)}});}if(o>0)for(var O=P.reduce(function(oe,ve,re){if(re===0)return 0;var ue=sn(ve.color,P[re-1].color,s);return Math.max(oe,ue)},0);O>o;){O=0;for(var H=1;H<P.length&&P.length<d;H++){var V=P[H-1],z=P[H],Y=(z.p+V.p)/2,te=a(Y);O=Math.max(O,sn(te,V.color),sn(te,z.color)),P.splice(H,0,{p:Y,color:a(Y)}),H++;}}return P=P.map(function(oe){return oe.color}),P}function ln(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(us(e)){var a=e,n=t;return ln.apply(void 0,ke(a.rangeArgs.colors).concat([Re({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=rt(e),t=rt(t),e=nn(e),t=nn(t);var u={colors:[e,t],options:r};if(i?i=Le.get(i):i=Le.registry[Dr.interpolationSpace]||e.space,o=o?Le.get(o):i,e=or(e,i),t=or(t,i),e=Xr(e),t=Xr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],g=[ir(e,d),ir(t,d)],_=g[0],k=g[1],R=_y(c,[_,k]),P=ge(R,2);_=P[0],k=P[1],Ur(e,d,_),Ur(t,d,k);}return l&&(e.coords=e.coords.map(function(M){return M*e.alpha}),t.coords=t.coords.map(function(M){return M*t.alpha})),Object.assign(function(M){M=s?s(M):M;var O=e.coords.map(function(z,Y){var te=t.coords[Y];return ui(z,te,M)}),H=ui(e.alpha,t.alpha,M),V={space:i,coords:O,alpha:H};return l&&(V.coords=V.coords.map(function(z){return z/H})),o!==i&&(V=or(V,o)),V},{rangeArgs:u})}function us(e){return Gr(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function R0(e){e.defineFunction("mix",Jc,{returns:"color"}),e.defineFunction("range",ln,{returns:"function<color>"}),e.defineFunction("steps",Zc,{returns:"array<color>"});}var I0=Object.freeze({__proto__:null,mix:Jc,steps:Zc,range:ln,isRange:us,register:R0}),Qc=new Le({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:on,fromBase:function(t){var r=Math.max.apply(Math,ke(t)),a=Math.min.apply(Math,ke(t)),n=ge(t,3),i=n[0],o=n[1],s=n[2],l=NaN,u=0,c=(a+r)/2,d=r-a;if(d!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/d+(o<s?6:0);break;case o:l=(s-i)/d+2;break;case s:l=(i-o)/d+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];a=a%360,a<0&&(a+=360),n/=100,i/=100;function o(s){var l=(s+a/30)%12,u=n*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}}}),ed=new Le({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:Qc,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return [a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return [a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),L0=new Le({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:ed,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var s=n/o;return [a,0,s*100]}var l=1-i,u=l===0?0:1-n/l;return [a,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),P0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],M0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],td=new Ut({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:P0,fromXYZ_M:M0}),O0=new Ut({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:td,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"}}}),N0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],q0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],rd=new Ut({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ko,toXYZ_M:N0,fromXYZ_M:q0}),B0=1/512,H0=16/512,V0=new Ut({id:"prophoto",name:"ProPhoto",base:rd,toBase:function(t){return t.map(function(r){return r<H0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=B0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),j0=new Le({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:Di,fromBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),fi(o)]},toBase:function(t){var r=ge(t,3),a=r[0],n=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=n*Math.cos(i*Math.PI/180),s=n*Math.sin(i*Math.PI/180)),[a,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),ad=203,nd=2610/Math.pow(2,14),$0=Math.pow(2,14)/2610,z0=2523/Math.pow(2,5),id=Math.pow(2,5)/2523,od=3424/Math.pow(2,12),sd=2413/Math.pow(2,7),ld=2392/Math.pow(2,7),G0=new Ut({id:"rec2100pq",name:"REC.2100-PQ",base:hi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,id)-od,0)/(sd-ld*Math.pow(r,id)),$0);return a*1e4/ad})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*ad/1e4,0),n=od+sd*Math.pow(a,nd),i=1+ld*Math.pow(a,nd);return Math.pow(n/i,z0)})},formats:{color:{id:"rec2100-pq"}}}),ud=.17883277,cd=.28466892,dd=.55991073,cs=3.7743,W0=new Ut({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:hi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*cs:Math.exp((r-dd)/ud+cd)/12*cs})},fromBase:function(t){return t.map(function(r){return r/=cs,r<=1/12?Math.sqrt(3*r):ud*Math.log(12*r-cd)+dd})},formats:{color:{id:"rec2100-hlg"}}}),fd={};Wr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=pd(e.W1,e.W2,e.options.method));}),Wr.add("chromatic-adaptation-end",function(e){e.M||(e.M=pd(e.W1,e.W2,e.options.method));});function _i(e){var t=e.id;e.toCone_M;e.fromCone_M;fd[t]=arguments[0];}function pd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=fd[r],n=_t(a.toCone_M,e),i=ge(n,3),o=i[0],s=i[1],l=i[2],u=_t(a.toCone_M,t),c=ge(u,3),d=c[0],g=c[1],_=c[2],k=[[d/o,0,0],[0,g/s,0],[0,0,_/l]],R=_t(k,a.toCone_M),P=_t(a.fromCone_M,R);return P}_i({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]]}),_i({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]]}),_i({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]]}),_i({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(hr,{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]}),hr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var U0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],X0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],md=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:hr.ACES,toXYZ_M:U0,fromXYZ_M:X0,formats:{color:{}}}),Ai=Math.pow(2,-16),ds=-0.35828683,Ei=(Math.log2(65504)+9.72)/17.52,Y0=new Ut({id:"acescc",name:"ACEScc",coords:{r:{range:[ds,Ei],name:"Red"},g:{range:[ds,Ei],name:"Green"},b:{range:[ds,Ei],name:"Blue"}},referred:"scene",base:md,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Ai)*2:a<Ei?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ai)+9.72)/17.52:r<Ai?(Math.log2(Ai+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),hd=Object.freeze({__proto__:null,XYZ_D65:nr,XYZ_D50:Ko,XYZ_ABS_D65:ns,Lab_D65:rs,Lab:Yt,LCH:rn,sRGB_Linear:Ac,sRGB:on,HSL:Qc,HWB:L0,HSV:ed,P3_Linear:_c,P3:kc,A98RGB_Linear:td,A98RGB:O0,ProPhoto_Linear:rd,ProPhoto:V0,REC_2020_Linear:hi,REC_2020:Dc,OKLab:Di,OKLCH:j0,Jzazbz:Gc,JzCzHz:os,ICTCP:ss,REC_2100_PQ:G0,REC_2100_HLG:W0,ACEScg:md,ACEScc:Y0}),ot=(De=new WeakMap,(function(){function e(){var t=this;ft(this,e),cr(this,De,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=rt(n[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=n[0],s=n[1],l=n[2]),Mt(De,this,Le.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(_){Object.defineProperty(t,_,{get:function(){return t.get(_)},set:function(R){return t.set(_,R)}});};for(var d in $t(De,this).coords)c(d);}return vt(e,[{key:"space",get:function(){return $t(De,this)}},{key:"spaceId",get:function(){return $t(De,this).id}},{key:"clone",value:function(){return new ot(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=Py.apply(void 0,[this].concat(a));return i.color=new ot(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ot)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return _e(ot,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,s=n.returns,l=function(){var c=a.apply(void 0,arguments);if(s==="color")c=ot.get(c);else if(s==="function<color>"){var d=c;c=function(){var _=d.apply(void 0,arguments);return ot.get(_)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(g){return ot.get(g)}));return c};r in ot||(ot[r]=l),o&&(ot.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)ot.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(ot);else for(var a in r)ot.defineFunction(a,r[a]);}}])})());ot.defineFunctions({get:ir,getAll:tn,set:Ur,setAll:vc,to:or,equals:My,inGamut:an,toGamut:Xr,distance:Fc,toString:mi}),Object.assign(ot,{util:by,hooks:Wr,WHITES:hr,Space:Le,spaces:Le.registry,parse:gc,defaults:Dr});for(var fs=0,gd=Object.keys(hd);fs<gd.length;fs++){var K0=gd[fs];Le.register(hd[K0]);}for(var vd in Le.registry)ps(vd,Le.registry[vd]);Wr.add("colorspace-init-end",function(e){var t;ps(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ps(r,e);});});function ps(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(ot.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Le.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&ie(l)!=="symbol"&&!(l in s)){var c=Le.resolveCoord([t,l]),d=c.index;if(d>=0)return s[d]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&ie(l)!=="symbol"&&!(l in s)||l>=0){var d=Le.resolveCoord([t,l]),g=d.index;if(g>=0)return s[g]=u,n.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}ot.extend(ls),ot.extend({deltaE:sn}),ot.extend(F0),ot.extend({contrast:t0}),ot.extend(a0),ot.extend(Ny),ot.extend(I0),ot.extend(bi);var bd=wr(ju());zr.default.templateSettings.strip=false,p._memoizedFns=[];function J0(e){var t=(0, cc.default)(e);return p._memoizedFns.push(t),t}var lt=J0,Z0=lt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),un=Z0;function ms(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||m;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return "";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode();}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var Q0=["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"],ew=31,tw=/([\\"])/g,rw=/(\r\n|\r|\n)/g;function hs(e){return e.replace(tw,"\\$1").replace(rw,"\\a ")}function yd(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=sc(e.getAttribute(r));n?a=yt(t.name)+'$="'+hs(n)+'"':a=yt(t.name)+'="'+hs(e.getAttribute(r))+'"';}else a=yt(r)+'="'+hs(t.value)+'"';return a}function gs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function wd(e){return !Q0.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<ew)}function Ci(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=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=yt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(Qa(s)).filter(wd).forEach(function(u){var c=yd(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(a.push(r),r=o.children.slice());!r.length&&a.length;)r=a.pop();};r.length;)n();return t}function aw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=yt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(gs)}function nw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&Da(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function iw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+yt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function xd(e){var t=un(m);return yt(t?e.localName:e.nodeName.toLowerCase())}function ow(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Qa(e)).filter(wd).forEach(function(i){var o=yd(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(gs)}function sw(e,t){var r="",a,n=aw(e,t),i=ow(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=xd(e)):(a=n.concat(i),a.sort(gs),a=a.slice(0,3),a.some(function(o){return o.species==="class"})?a.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=xd(e)),r+=a.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function lw(e,t,r){if(!p._selectorData)throw new Error("Expect axe._selectorData to be set up");var a=t.toRoot,n=a===void 0?false:a,i,o;do{var s=iw(e);s||(s=sw(e,p._selectorData),s+=nw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>je.selectorSimilarFilterLimit?o=cw(r,i):o=o.filter(function(l){return Da(l,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function uw(e,t){return ms(lw,e,t)}var vs=lt(uw),cw=lt(function(e,t){return Array.from(e.querySelectorAll(t))});function Dd(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,a=e.parentNode,n="";if(t!=="head"&&t!=="body"&&a?.children.length>1){var i=Array.prototype.indexOf.call(a.children,e)+1;n=":nth-child(".concat(i,")");}return r?Dd(r)+" > "+t+n:t+n}function Si(e,t){return ms(Dd,e,t)}function _d(e,t){var r,a;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=_d(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&yt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function dw(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 fw(e){var t=_d(e);return dw(t)}var Ad=fw,cn={},pw={set:function(t,r){mw(t),cn[t]=r;},get:function(t,r){if(hw(r),t in cn)return cn[t];if(typeof r=="function"){var a=r();return Qe(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),cn[t]}},clear:function(){cn={};}};function mw(e){Qe(typeof e=="string","key must be a string, "+ie(e)+" given"),Qe(e!=="","key must not be empty");}function hw(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ie(e)+" given");}var Ve=pw;function gw(e,t){var r=t||e;return Ve.get("nodeMap")?Ve.get("nodeMap").get(r):null}var ze=gw;function Ed(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,a=r===void 0?300:r,n=t.attrLimit,i=n===void 0?20:n;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return bs(s,a)}var l=vw(e);return l.length>a?bw(e,{maxLength:a,attrLimit:i}):l}function vw(e){var t=e.outerHTML;return !t&&typeof f.XMLSerializer=="function"&&(t=new f.XMLSerializer().serializeToString(e)),t||""}function bw(e,t){var r=t.maxLength,a=t.attrLimit,n=un(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Qa(e)).map(function(k){var R=k.name,P=k.value;return {name:R,value:P}}),o=i.reduce(function(k,R){var P=R.name,M=R.value;return k+P.length+M.length+4},0);2+n.length+o>r&&i.forEach(function(k){k.name=bs(k.name,a),k.value=bs(k.value,a);});var s="<".concat(n),l=">",u=" ...>",c=Ke(i),d;try{for(c.s();!(d=c.n()).done;){var g=d.value,_=" ".concat(g.name,'="').concat(g.value,'"');if(s.length+_.length>r-u.length){l=u;continue}s+=_;}}catch(k){c.e(k);}finally{c.f();}return s+l}function bs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Cd="DqElm.RunOptions",fa=lt(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Ve.get(Cd))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Rt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=ze(t)),this.fromFrame=((n=this.spec.selector)===null||n===void 0?void 0:n.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!p._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Ed(this._element);}return this});fa.prototype={get selector(){return this.spec.selector||[vs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Si(this.element)]},get xpath(){return this.spec.xpath||[Ad(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}},fa.fromFrame=function(t,r,a){var n=fa.mergeSpecs(t,a);return new fa(a.element,r,n)},fa.mergeSpecs=function(t,r){return Re({},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})},fa.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Ve.set(Cd,{elementRef:r,absolutePaths:a});};var sr=fa;function yw(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){f.Node&&(i instanceof f.Node||i instanceof Rt?i=[i]:i=oc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Rt&&(o=o.actualNode),o instanceof f.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var ys=yw;function Mr(e){return ws(e,new Map)}function ws(e,t){var r,a;if(e===null||ie(e)!=="object"||(r=f)!==null&&r!==void 0&&r.Node&&e instanceof f.Node||(a=f)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof f.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(s){n.push(ws(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ws(e[o],t);return i}var dn=new uc.CssSelectorParser;dn.registerSelectorPseudos("not"),dn.registerSelectorPseudos("is"),dn.registerNestingOperators(">"),dn.registerAttrEqualityMods("^","$","*","~");var Sd=dn;function xs(e,t){var r=ki(t);return r.some(function(a){return Ea(e,a)})}function ww(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function xw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Dw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function _w(e,t){return !t.id||e.props.id===t.id}function Aw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Ea(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Ea(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function kd(e,t){return ww(e,t)&&xw(e,t)&&Dw(e,t)&&_w(e,t)&&Aw(e,t)}var fn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ds=/\\/g;function Ew(e){if(e)return e.map(function(t){var r=t.name.replace(Ds,""),a=(t.value||"").replace(Ds,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+fn(a));break;case "$=":i=new RegExp(fn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+fn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+fn(a)+"(-|$)");break;case "=":n=function(s){return a===s};break;case "*=":n=function(s){return s&&s.includes(a)};break;case "!=":n=function(s){return a!==s};break;default:n=function(s){return s!==null};}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return false}),n||(n=function(s){return s&&i.test(s)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function Cw(e){if(e)return e.map(function(t){return t=t.replace(Ds,""),{value:t,regexp:new RegExp("(^|\\s)"+fn(t)+"(\\s|$)")}})}function Sw(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=Td(r)),{name:t.name,expressions:r,value:t.value}})}function Td(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:Ew(a.attrs),classes:Cw(a.classNames),pseudos:Sw(a.pseudos)}),a=a.rule;return r})}function ki(e){var t=Sd.parse(e);return t=t.selectors?t.selectors:[t],Td(t)}function Fd(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=kd(e,i);!o&&a&&e.parent;)e=e.parent,o=kd(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&&Fd(e.parent,t,r-1,i.combinator===" ");}return o}function Ea(e,t,r){return Fd(e,t,t.length-1,r)}function kw(e,t){for(;e;){if(xs(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 Kt=kw;function Ti(){}function _s(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Tw(){var e=[],t=0,r=0,a=Ti,n=false,i,o=function(_){i=_,setTimeout(function(){i!=null&&da("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(_){e[g]=_,r-=1,!r&&a!==Ti&&(n=true,a(e));}}function u(g){return a=Ti,s(g),e}function c(){for(var g=e.length;t<g;t++){var _=e[t];try{_.call(null,l(t),u);}catch(k){u(k);}}}var d={defer:function(_){if(ie(_)==="object"&&_.then&&_.catch){var k=_;_=function(P,M){k.then(P).catch(M);};}if(_s(_),i===void 0){if(n)throw new Error("Queue already completed");return e.push(_),++r,c(),d}},then:function(_){if(_s(_),a!==Ti)throw new Error("queue `then` already set");return i||(a=_,r||(n=true,a(e))),d},catch:function(_){if(_s(_),s!==o)throw new Error("queue `catch` already set");return i?(_(i),i=null):s=_,d},abort:u};return d}var _r=Tw,Ca,Sa,As=f.crypto||f.msCrypto;if(!Sa&&As&&As.getRandomValues){var Rd=new Uint8Array(16);Sa=function(){return As.getRandomValues(Rd),Rd};}if(!Sa){var Id=new Array(16);Sa=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Id[t]=r>>>((t&3)<<3)&255;return Id};}for(var Ld=typeof f.Buffer=="function"?f.Buffer:Array,Es=[],Pd={},ka=0;ka<256;ka++)Es[ka]=(ka+256).toString(16).substr(1),Pd[Es[ka]]=ka;function Fw(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=Pd[i]);});n<16;)t[a+n++]=0;return t}function Cs(e,t){var r=t||0,a=Es;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var Kr=Sa(),Rw=[Kr[0]|1,Kr[1],Kr[2],Kr[3],Kr[4],Kr[5]],Md=(Kr[6]<<8|Kr[7])&16383,Ss=0,ks=0;function Od(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Md,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:ks+1,l=o-Ss+(s-ks)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Ss)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ss=o,ks=s,Md=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;n[a++]=u>>>24&255,n[a++]=u>>>16&255,n[a++]=u>>>8&255,n[a++]=u&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var d=e.node||Rw,g=0;g<6;g++)n[a+g]=d[g];return t||Cs(n)}function pa(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Ld(16):null,e=null),e=e||{};var n=e.random||(e.rng||Sa)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Cs(n)}Ca=pa,Ca.v1=Od,Ca.v4=pa,Ca.parse=Fw,Ca.unparse=Cs,Ca.BufferClass=Ld,p._uuid=Od();var Iw=pa,Lw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Pw(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:Nd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Mw(e){var t;try{t=JSON.parse(e);}catch{return}if(Ow(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=ie(t.error)==="object"?Nw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Ow(e){return e!==null&&ie(e)==="object"&&typeof e.channelId=="string"&&e.source===Nd()}function Nw(e){var t=e.message||"Unknown error occurred",r=Lw.includes(e.name)?e.name:"Error",a=f[r]||Error;return e.stack&&(t+=`
|
|
365
|
-
`+e.stack.replace(e.message,"")),new a(t)}function Nd(){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 Ts(e){Bd(e),Qe(f.parent===e,"Source of the response must be the parent window.");}function qd(e){Bd(e),Qe(e.parent===f,"Respondable target must be a frame in the current window");}function Bd(e){Qe(f!==e,"Messages can not be sent to the same window.");}var pn={};function qw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(pn,e),"A replyHandler already exists for this message channel."),pn[e]={replyHandler:t,sendToParent:r};}function Bw(e){return Object.prototype.hasOwnProperty.call(pn,e)?pn[e]:void 0}function Hw(e){delete pn[e];}var Fi=[];function Fs(){var e="".concat(pa(),":").concat(pa());return Fi.includes(e)?Fs():(Fi.push(e),e)}function Vw(e){return Fi.includes(e)?false:(Fi.push(e),true)}function Rs(e,t,r,a){if(r?Ts(e):qd(e),t.message instanceof Error&&!r)return p.log(t.message),false;var n=Pw(Re({messageId:Fs()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&qw(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function jw(e,t,r){if(!e.parent!==f)return p.log(t);try{Rs(e,{topic:null,channelId:r,message:t,messageId:Fs(),keepalive:!0},!0);}catch(a){return p.log(a)}}function Hd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(n,i,o){var s={channelId:t,message:n,keepalive:i};Rs(e,s,r,o);}}function $w(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function zw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Mw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!$w(r)||!Vw(l))return;if(s instanceof Error&&n.parent!==f)return p.log(s),!1;try{if(i.topic){var u=Hd(n,o);Ts(n),t(i,u);}else Gw(n,i);}catch(c){jw(n,c,o);}}catch(c){return p.log(c),false}}function Gw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Bw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ts(e):qd(e);var l=Hd(e,r,s);!n&&r&&Hw(r);try{o(a,n,l);}catch(u){p.log(u),l(u,n);}}}var Ww={open:function(t){if(typeof f.addEventListener=="function"){var r=function(n){zw(n,t);};return f.addEventListener("message",r,false),function(){f.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof f.addEventListener!="function"?false:Rs(t,r,false,a)}};function Vd(e){e.updateMessenger(Ww);}var Ri,jd,Ii={};function vr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(pa(),":").concat(pa()),keepalive:a};return jd(e,i,n)}function Uw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Ii,r)?Ii[r]:void 0;if(i)try{i(a,n,t);}catch(o){p.log(o),t(o,n);}}vr.updateMessenger=function(t){var r=t.open,a=t.post;Qe(typeof r=="function","open callback must be a function"),Qe(typeof a=="function","post callback must be a function"),Ri&&Ri();var n=r(Uw);n?(Qe(typeof n=="function","open callback must return a cleanup function"),Ri=n):Ri=null,jd=a;},vr.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(Ii,t),"Topic ".concat(t," is already registered to.")),Ii[t]=r;},vr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f;return !!t.frameElement},Vd(vr);function $d(e,t,r,a){var n,i,o=e.contentWindow,s=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){da("Frame does not have a content window",e),r(null);return}if(s===0){zd(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(Gd("No response from frame",e)):r(null);},0);},s);vr(o,"axe.ping",null,void 0,function(){clearTimeout(l),zd(e,t,r,a);});}function zd(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,s=e.contentWindow,l=setTimeout(function(){a(Gd("Axe in frame timed out",e));},o);vr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?a(u):r(u);});}function Gd(e,t){var r;return p._tree&&(r=vs(t)),new Error(e+": "+(r||t))}var mn=null,hn={update:function(t){Qe(ie(t)==="object","serializer must be an object"),mn=t;},toSpec:function(t){return hn.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var a;return t instanceof sr?(r&&(t=Xw(t,r)),typeof((a=mn)===null||a===void 0?void 0:a.toSpec)=="function"?mn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=mn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?mn.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Re({},r,{nodes:hn.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=he(r,w);n.node=hn.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(l){var u=l.relatedNodes,c=he(l,T);return c.relatedNodes=u.map(hn.dqElmToSpec),c});}return n})}},lr=hn;function Xw(e,t){var r=e.fromFrame,a=t.ancestry,n=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:a?e.ancestry:[":root"],xpath:n?e.xpath:"/"}),e.fromFrame=r,e}function Yw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Li=Yw;function Kw(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&ie(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var gn=Kw;function Jw(e,t,r){e.forEach(function(a){a.node=lr.mergeSpecs(a.node,r);var n=Li(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function Zw(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Wd(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(ke(t)));return}}e.push.apply(e,ke(t));}function Qw(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function ex(e,t){var r=[];return e.forEach(function(a){var n=Qw(a);if(!(!n||!n.length)){var i=tx(a);n.forEach(function(o){o.nodes&&i&&Jw(o.nodes,t,i);var s=gn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Zw(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return Wd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Wd(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),a=0;a<r;a++){var n=e?.[a],i=t?.[a];if(typeof n!="number"||isNaN(n))return a===0?1:-1;if(typeof i!="number"||isNaN(i))return a===0?-1:1;if(n!==i)return n-i}return 0}var Pi=ex;function tx(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Ud(e,t,r,a,n,i){t=Re({},t,{elementRef:false});var o=_r(),s=e.frames;s.forEach(function(l){var u=l.node,c=he(l,E);o.defer(function(d,g){var _={options:t,command:r,parameter:a,context:c};function k(R){return d(R?{results:R,frameElement:u}:null)}$d(u,_,k,g);});}),o.then(function(l){n(Pi(l,t));}).catch(i);}function Or(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 Xd(){for(var e={},t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return r.forEach(function(n){if(!(!n||ie(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ie(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Xd(e[s],n[s]);}}),e}var Is=Xd;function rx(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 Ls=rx,ax=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function nx(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 Mi=nx,Ps={};dr(Ps,{createGrid:function(){return wn},findElmsInContext:function(){return Yd},findNearbyElms:function(){return $i},findUp:function(){return Fa},findUpVirtual:function(){return Ta},focusDisabled:function(){return zs},getComposedParent:function(){return It},getElementByReference:function(){return Ws},getElementCoordinates:function(){return Ns},getElementStack:function(){return Rf},getModalDialog:function(){return Cf},getNodeGrid:function(){return ji},getOverflowHiddenAncestors:function(){return bn},getRootNode:function(){return Nt},getScrollOffset:function(){return df},getTabbableElements:function(){return If},getTargetRects:function(){return Gi},getTargetSize:function(){return Lf},getTextElementStack:function(){return cl},getViewportSize:function(){return Oi},getVisibleChildTextRects:function(){return ul},hasContent:function(){return Zi},hasContentVirtual:function(){return kn},hasLangText:function(){return fl},idrefs:function(){return Ar},insertedIntoFocusOrder:function(){return Dp},isCurrentPageLink:function(){return Gs},isFixedPosition:function(){return Ni},isFocusable:function(){return At},isHTML5:function(){return Ep},isHiddenForEveryone:function(){return Jr},isHiddenWithCSS:function(){return R_},isInTabOrder:function(){return ur},isInTextBlock:function(){return pl},isInert:function(){return zi},isModalOpen:function(){return Tn},isMultiline:function(){return Sp},isNativelyFocusable:function(){return Ys},isNode:function(){return V_},isOffscreen:function(){return qi},isOpaque:function(){return J_},isSkipLink:function(){return gl},isVisible:function(){return aA},isVisibleOnScreen:function(){return Jt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return dl},reduceToElementsBelowFloating:function(){return kp},shadowElementsFromPoint:function(){return oA},urlPropsFromAttribute:function(){return fA},visuallyContains:function(){return Tp},visuallyOverlaps:function(){return vl},visuallySort:function(){return Us}});function ix(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var vn=ix,Nt=vn;function ox(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=yt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Nt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var Yd=ox;function sx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var a=e.actualNode.closest(t);return a||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Da(r,t)&&r!==m.documentElement);return !r||!Da(r,t)?null:r}var Ta=sx;function lx(e,t){return Ta(ze(e),t)}var Fa=lx;function Ms(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 Kd=lt(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Kd(t.parent))}),bn=Kd,ux=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,cx=/(\w+)\((\d+)/;function Jd(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Zd(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function Qd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ef(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function tf(e){return e.attr("aria-hidden")==="true"}function rf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function af(e){var t=Br(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function nf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return false;var n=bn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!dx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Ms(i,s)})}function of(e){var t=e.getComputedStylePropertyValue("clip").match(ux),r=e.getComputedStylePropertyValue("clip-path").match(cx);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function Os(e,t){var r=Kt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=vn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=er(p._tree,'img[usemap="#'.concat(yt(a),'"]'));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(a){return a.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function dx(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 fx=[Zd,Qd,ef,sf];function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Ze(e).vNode,r?lf(e,n):uf(e,n)}var lf=lt(function(t,r){return Jd(t)?true:t.actualNode?!!(fx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),uf=lt(function(t,r){return lf(t,r)?true:t.parent?uf(t.parent,true):false});function cf(e){if(e.assignedSlot)return cf(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=cf;function px(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 df=px;function mx(e){var t=df(m),r=t.left,a=t.top,n=e.getBoundingClientRect();return {top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var Ns=mx;function hx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var a=t.body;return {width:a.clientWidth,height:a.clientHeight}}var Oi=hx;function Ni(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Ze(e),n=a.vNode;return n?r?ff(n):pf(n):false}var ff=lt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),pf=lt(function(t){return ff(t)?true:t.parent?pf(t.parent):false});function gx(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 vx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Ze(e),n=a.domNode;if(n){var i=m.documentElement,o=f.getComputedStyle(n),s=f.getComputedStyle(m.body||i).getPropertyValue("direction"),l=Ni(n),u=l?n.getBoundingClientRect():Ns(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(gx(n,u.bottom)||o.position==="absolute"))return true;var c=Oi(f);if(l&&u.top>=c.height)return true;var d=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=d||(l||s==="ltr")&&u.right<=0)}}var qi=vx,bx=[rf,af,nf,of,qi];function Jt(e){return e=Ze(e).vNode,qs(e)}var qs=lt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Os(t,qs):Jr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&bx.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?qs(t.parent,true):true});function Bs(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new f.DOMRect(i,r,a-i,n-r)}function Bi(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,s=t.left;return a>=n&&r<=i&&a<=o&&r>=s}var mf={};dr(mf,{getBoundingRect:function(){return Bs},getIntersectionRect:function(){return Hi},getOffset:function(){return gf},getRectCenter:function(){return yn},hasVisualOverlap:function(){return Hs},isPointInRect:function(){return Bi},rectHasMinimumSize:function(){return Nr},rectsOverlap:function(){return Ms},splitRects:function(){return Vs}});function Hi(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new f.DOMRect(r,n,a-r,i-n)}function yn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new f.DOMPoint(t+a/2,r+n/2)}var hf=.05;function Nr(e,t){var r=t.width,a=t.height;return r+hf>=e&&a+hf>=e}function gf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Gi(e),n=Gi(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=yn(o),l=Ke(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Bi(s,c))return 0;var d=yx(s,c),g=vf(s,d);i=Math.min(i,g);}}catch(M){l.e(M);}finally{l.f();}var _=Lf(t);if(Nr(r*2,_))return i;var k=n.reduce(Bs),R=yn(k),P=vf(s,R)-r;return Math.max(0,Math.min(i,P))},1/0)}function yx(e,t){var r,a;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?a=t.top:e.y>t.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function vf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Hs(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?false:Us(e,t)>0}function Vs(e,t){var r=Array.isArray(e)?e:[e],a=Ke(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(l,u){return l.concat(wx(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function wx(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=r<t.bottom&&n>t.top,s=a<t.right&&i>t.left,l=[];if(Vi(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),Vi(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),Vi(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),Vi(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(Dx(e,t))return [];l.push(e);}return l.map(xx)}var Vi=function(t,r,a){return t>r&&t<a};function xx(e){return new f.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Dx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var bf=0,_x=.1,yf=.2,wf=.3,js=0;function wn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ve.get("gridCreated")&&!r)return je.gridSize;if(Ve.set("gridCreated",true),!r){var a=ze(m.documentElement);if(a||(a=new bl(m.documentElement)),js=0,a._stackingOrder=[_f(bf,js++,null)],t??(t=new $s),Af(t,a),Br(a.actualNode)){var n=new $s(a);a._subGrid=n;}}for(var i=m.createTreeWalker(e,f.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=ze(o);s&&s.parent?r=s.parent:o.assignedSlot?r=ze(o.assignedSlot):o.parentElement?r=ze(o.parentElement):o.parentNode&&ze(o.parentNode)&&(r=ze(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=Ax(s,r,js++);var l=Sx(s,r),u=l?l._subGrid:t;if(Br(s.actualNode)){var c=new $s(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&Jt(o)&&Af(u,s),Mi(o)&&wn(o.shadowRoot,u,s),o=i.nextNode();}return je.gridSize}function xf(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var 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 d=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(d!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var g=e.getComputedStylePropertyValue("will-change");if(g==="transform"||g==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var _=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(_)||a!=="auto"&&Df(t))}function Df(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Ax(e,t,r){var a=t._stackingOrder.slice();if(xf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [bf,yf,wf].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Ex(e,t);return i!==null&&a.push(_f(i,r,e)),a}function _f(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Ex(e,t){var r=Cx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?wf:e.getComputedStylePropertyValue("float")!=="none"?yf:xf(e,t)?_x:null:parseInt(r)}function Cx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Df(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Sx(e,t){for(var r=null,a=[e];t;){if(Br(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=ze(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Af(e,t){var r=bn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&Hi(s,l.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var $s=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;ft(this,e),this.container=t,this.cells=[];}return vt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/je.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Qe(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);Qe(Bi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(a=this.cells[s-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=u[l-u._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,s=n.top,l=n.bottom;this.boundaries&&(r=Bs(this.boundaries,r)),this.boundaries=r,Ef(this.cells,s,l,function(u,c){Ef(u,i,o,function(d,g){a(d,{row:c,col:g});});});}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-s),n=this.toGridIndex(n+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new f.DOMRect(o,a,n-o,i-a)}}])})();function Ef(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),a(e[l],l+e._negativeIndex);}}function ji(e){wn();var t=Ze(e),r=t.vNode;return r._grid}function $i(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=ji(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Ni(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(l){var u=Ke(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===Ni(d)&&s.push(d);}}catch(g){u.e(g);}finally{u.f();}}),s}var kx=lt(function(){var t;if(!p._tree)return null;var r=Tr(p._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&Jt(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=Tx(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Cf=kx;function Tx(e){wn();var t=p._tree[0]._grid,r=new f.DOMRect(0,0,f.innerWidth,f.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Hi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function zi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Sf(e,a):kf(e,a)}var Sf=lt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=Cf();if(a&&!Or(a,t))return true}return false}),kf=lt(function(t,r){return Sf(t,r)?true:t.parent?kf(t.parent,true):false}),Fx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Rx(e){return Fx.includes(e)}function Ix(e){var t=Ze(e),r=t.vNode;if(Rx(r.props.nodeName)&&r.hasAttr("disabled")||zi(r))return true;for(var a=r.parent,n=[],i=false;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=true),a=a.parent;}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?Jr(r):false}var zs=Ix,Lx=/^\/\#/,Px=/^#[!/]/;function Gs(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Lx.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Px.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=f.location)===null||t===void 0?void 0:t.origin)!="string"||f.location.origin.indexOf("://")===-1)return null;var l=f.location.origin+f.location.pathname,u;return i?u="".concat(n,"//").concat(i).concat(o?":".concat(o):""):u=f.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=f.location.pathname,u===l}function Mx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Gs(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=m.getElementById(r);return a||(a=m.getElementsByName(r),a.length?a[0]:null)}var Ws=Mx;function Us(e,t){wn();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a<r;a++){if(typeof t._stackingOrder[a]>"u")return -1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return -1;if(t._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return t._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var n=e.actualNode,i=t.actualNode;if(n.getRootNode&&n.getRootNode()!==i.getRootNode()){for(var o=[];n;)o.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;i&&!o.find(function(P){return P.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(P){return P.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=f.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,d=n.compareDocumentPosition(i),g=d&l?1:-1,_=d&u||d&c,k=Tf(e),R=Tf(t);return k===R||_?g:R-k}function Tf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Ff(e)?1:0}function Ff(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=Ff(e.parent);return e._isFloated=r,r}function Xs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=yn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(u){return u.clientRects.some(function(c){var d=c.left,g=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(g+c.height)&&o>=Math.floor(g)})}),l=e.container;return l&&(s=Xs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Us).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,d){return d.indexOf(u)===c})),s}function Ox(e){var t=ji(e);if(!t)return [];var r=ze(e).boundingClientRect;return Xs(t,r)}var Rf=Ox;function Nx(e){var t=er(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=kr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var If=Nx;function qx(e){var t=Ze(e),r=t.vNode;if(!r||zs(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 !er(r,"summary").length}return false}var Ys=qx;function At(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1||zs(r))return false;if(Ys(r))return true;var a=kr(r.attr("tabindex"));return a!==null}function ur(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=kr(r.attr("tabindex"));return a<=-1?false:At(r)}var Gi=lt(Bx);function Bx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=$i(e).filter(function(i){return Hs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!Hx(e,i)});if(!a.length)return r;var n=a.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Vs(r,n)}function Hx(e,t){return Or(e,t)&&!ur(t)}var Lf=lt(Vx);function Vx(e,t){var r=Gi(e);return jx(r,t)}function jx(e,t){return e.reduce(function(r,a){var n=Nr(t,r),i=Nr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}var xn={};dr(xn,{accessibleText:function(){return ma},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return ga},formControlValue:function(){return cp},formControlValueMethods:function(){return al},hasUnicode:function(){return ol},isHumanInterpretable:function(){return ll},isIconLigature:function(){return sl},isValidAutocomplete:function(){return vp},label:function(){return b_},labelText:function(){return nl},labelVirtual:function(){return Ki},nativeElementType:function(){return w_},nativeTextAlternative:function(){return fp},nativeTextMethods:function(){return dp},removeUnicode:function(){return Sn},sanitize:function(){return Oe},subtreeText:function(){return ea},titleText:function(){return Ui},unsupported:function(){return ep},visible:function(){return bp},visibleTextNodes:function(){return x_},visibleVirtual:function(){return Cr}});function $x(e,t){e=e.actualNode||e;try{var r=Nt(e),a=[],n=e.getAttribute(t);if(n){n=jt(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Ar=$x;function zx(e,t){var r=ze(e);return Lt(r,t)}var ma=zx;function Gx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ze(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=Ar(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=ma(o,Re({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var Dn=Gx;function _n(e){var t=Ze(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Wx={"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}},Pf=Wx,Ux={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"]}},Mf=Ux,Xx={"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"]}},Yx=Xx,Kx={"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}},Jx=Kx,Zx={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"]}},Qx=Zx,eD={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]},tD=eD,Of={ariaAttrs:Pf,ariaRoles:Re({},Mf,Yx,Jx),htmlElms:Qx,cssColors:tD},Ra=Re({},Of);function rD(e){Object.keys(Ra).forEach(function(t){e[t]&&(Ra[t]=Is(Ra[t],e[t]));});}function aD(){Object.keys(Ra).forEach(function(e){Ra[e]=Of[e];});}var et=Ra;function nD(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var Ks=nD;function iD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=et.ariaRoles[e],o=Ks(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var An=iD;function oD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof Rt?e:ze(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?jt(i):[i],s=o.find(function(l){return !n&&l.substr(0,4)==="doc-"?false:An(l,{allowAbstract:a})});return s||null}var We=oD;function sD(e){return Object.keys(et.htmlElms).filter(function(t){var r=et.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 Js=sD;function lD(){return Ve.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Zr=lD;function uD(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var i=r[a].cells;t[a]=t[a]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),d=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,g=0;g<d;g++){for(t[a+g]=t[a+g]||[];t[a+g][o];)o++;t[a+g][o]=i[s];}o++;}}return t}var qr=lt(uD);function cD(e,t){var r,a;for(t||(t=qr(Fa(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Wi=lt(cD);function Zs(e){var t=Ze(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=We(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(n==="col"||n==="row")return n;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=qr(Fa(a,"table")),s=Wi(a,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 dD(e){return ["col","auto"].indexOf(Zs(e))!==-1}var Ia=dD;function fD(e){return ["row","auto"].includes(Zs(e))}var La=fD;function pD(e){return e?e.replace(/\r\n/g,`
|
|
366
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Oe=pD,Nf=function(){return Ve.get("sectioningContentSelector",function(){return Js("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},qf=function(){return Ve.get("sectioningContentPlusMainSelector",function(){return Nf()+" , main:not([role]), [role=main]"})};function Qs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Oe(Dn(e))||Oe(_n(e))||a&&e?.props.nodeType===1&&Oe(e.attr("title")))}var mD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Kt(t.parent,Nf())&&!Qs(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=Kt(t,qf());return r?null:"contentinfo"},form:function(t){return Qs(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Kt(t,qf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Zr().find(function(n){return t.hasAttr(n)});return r&&!a&&!At(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=Ar(t.actualNode,"list").filter(function(n){return !!n})[0];r=a&&a.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return Qs(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=Kt(t,"table"),a=We(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Ia(t))return "columnheader";if(La(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},el=mD;function hD(e,t){var r=ie(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var ha=hD;function gD(e,t){return ha(!!Lt(e),t)}var Bf=gD;function vD(e,t){var r=ie(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(a){return ha(e(a),t[a])})}var tl=vD;function bD(e,t){return e=Ze(e).vNode,tl(function(r){return e.attr(r)},t)}var Hf=bD;function Vf(e,t){return !!t(e)}function yD(e,t){return ha(We(e),t)}var jf=yD;function wD(e,t){return ha(Er(e),t)}var $f=wD;function xD(e,t){return e=Ze(e).vNode,ha(e.props.nodeName,t)}var zf=xD;function DD(e,t){return e=Ze(e).vNode,tl(function(r){return e.props[r]},t)}var Gf=DD;function _D(e,t){return ha($e(e),t)}var Wf=_D,Uf={hasAccessibleName:Bf,attributes:Hf,condition:Vf,explicitRole:jf,implicitRole:$f,nodeName:zf,properties:Gf,semanticRole:Wf};function Xf(e,t){return e=Ze(e).vNode,Array.isArray(t)?t.some(function(r){return Xf(e,r)}):typeof t=="string"?xs(e,t):Object.keys(t).every(function(r){if(!Uf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Uf[r],n=t[r];return a(e,n)})}var Yf=Xf;function AD(e,t){return Yf(e,t)}var Zt=AD;Zt.hasAccessibleName=Bf,Zt.attributes=Hf,Zt.condition=Vf,Zt.explicitRole=jf,Zt.fromDefinition=Yf,Zt.fromFunction=tl,Zt.fromPrimative=ha,Zt.implicitRole=$f,Zt.nodeName=zf,Zt.properties=Gf,Zt.semanticRole=Wf;var En=Zt;function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=et.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=he(n,A);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=he(l,C),d=Array.isArray(u)?u:[u],g=0;g<d.length&&a;g++)if(d[g].hasOwnProperty("hasAccessibleName"))return n;if(En(e,u))for(var _ in c)c.hasOwnProperty(_)&&(o[_]=c[_]);}for(var k in i.default)i.default.hasOwnProperty(k)&&typeof o[k]>"u"&&(o[k]=i.default[k]);return o}var Qr=ED;function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Rt?e:ze(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=el[n];if(!i&&r){var o=Qr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var Er=CD,SD={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 Kf(e,t){var r=SD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var a=We(e.parent,t);return ["none","presentation"].includes(a)&&!Zf(e.parent)?a:a?null:Kf(e.parent,t)}function Jf(e,t){var r=t.chromium,a=he(t,F),n=Er(e,{chromium:r});if(!n)return null;var i=Kf(e,a);return i||n}function Zf(e){var t=Zr().some(function(r){return e.hasAttr(r)});return t||At(e)}function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=he(t,L),n=Ze(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=We(i,a);return o?["presentation","none"].includes(o)&&Zf(i)?r?null:Jf(i,a):o:r?null:Jf(i,a)}function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=he(t,N),n=kD(e,a);return r&&["presentation","none"].includes(n)?null:n}var $e=TD,FD=["iframe"];function RD(e){var t=Ze(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Zt(r,FD)&&["none","presentation"].includes($e(r))?"":r.attr("title")}var Ui=RD;function ID(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Rt?e:ze(e),e.props.nodeType!==1)return false;var a=$e(e),n=et.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var Qf=ID;function LD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=Ar(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return p.utils.getNodeFromTree(o)}),n=a.filter(function(o,s){return a.indexOf(o)===s}),i=r.filter(function(o){return !n.includes(o)});return [].concat(ke(i),ke(n))}return ke(r)}var Cn=LD,ep={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Ze(e).vNode,rl(e)}var rl=lt(function(t,r){return tf(t)||zi(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Os(t,rl):Jr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?rl(t.parent,true):true});function tp(e,t,r){var a=Ze(e),n=a.vNode,i=t?pt:Jt,o=!e.actualNode||e.actualNode&&i(e),s=n.children.map(function(l){var u=l.props,c=u.nodeType,d=u.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return tp(l,t)}).join("");return Oe(s)}var Cr=tp,PD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function MD(e){e=e instanceof Rt?e:ze(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!PD.includes((e.attr("type")||"").toLowerCase())}var rp=MD;function OD(e){e=e instanceof Rt?e:ze(e);var t=e.props.nodeName;return t==="select"}var ap=OD;function ND(e){var t=We(e);return t==="textbox"}var np=ND;function qD(e){var t=We(e);return t==="listbox"}var ip=qD;function BD(e){var t=We(e);return t==="combobox"}var op=BD,HD=["progressbar","scrollbar","slider","spinbutton"];function VD(e){var t=We(e);return HD.includes(t)}var sp=VD,lp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],al={nativeTextboxValue:$D,nativeSelectValue:zD,ariaTextboxValue:GD,ariaListboxValue:up,ariaComboboxValue:WD,ariaRangeValue:UD};function jD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=ep.accessibleNameFromFieldValue||[],n=$e(e);if(t.startNode===e||!lp.includes(n)||a.includes(n))return "";var i=Object.keys(al).map(function(s){return al[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&da(o||"{empty-value}",r,t),o}function $D(e){var t=Ze(e),r=t.vNode;return rp(r)&&r.props.value||""}function zD(e){var t=Ze(e),r=t.vNode;if(!ap(r))return "";var a=er(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Cr(i)}).join(" ")||""}function GD(e){var t=Ze(e),r=t.vNode,a=t.domNode;return np(r)?!a||a&&!Jr(a)?Cr(r,true):a.textContent:""}function up(e,t){var r=Ze(e),a=r.vNode;if(!ip(a))return "";var n=Cn(a).filter(function(i){return $e(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":Lt(n[0],t)}function WD(e,t){var r=Ze(e),a=r.vNode;if(!op(a))return "";var n=Cn(a).filter(function(i){return $e(i)==="listbox"})[0];return n?up(n,t):""}function UD(e){var t=Ze(e),r=t.vNode;if(!sp(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var cp=jD;function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=$e(e),l=Qr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||lp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Qf(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Re({subtreeDescendant:c},t);}return Cn(e).reduce(function(d,g){return KD(d,g,t)},"")}var YD=Js("phrasing").concat(["#text"]);function KD(e,t,r){var a=t.props.nodeName,n=Lt(t,r);return n?(YD.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var ea=XD;function JD(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 a=Re({inControlContext:true},t),n=ZD(e),i=Kt(e,"label"),o;return i?(o=[].concat(ke(n),[i.actualNode]),o.sort(Il)):o=n,o.map(function(s){return ma(s,a)}).filter(function(s){return s!==""}).join(" ")}function ZD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Yd({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var nl=JD,QD={submit:"Submit",image:"Submit",reset:"Reset",button:""},e_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return QD[t.props.type]||""},tableCaptionText:Xi.bind(null,"caption"),figureText:Xi.bind(null,"figcaption"),svgTitleText:Xi.bind(null,"title"),fieldsetLegendText:Xi.bind(null,"legend"),altText:il.bind(null,"alt"),tableSummaryText:il.bind(null,"summary"),titleText:Ui,subtreeText:ea,labelText:nl,singleSpace:function(){return " "},placeholderText:il.bind(null,"placeholder")};function il(e,t){return t.attr(e)||""}function Xi(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return !i||i.nodeName.toLowerCase()!==e?"":ma(i,r)}var dp=e_;function fp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes($e(e)))return "";var a=t_(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(n||"{empty-value}",r,t),n}function t_(e){var t=Qr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return dp[a]})}function pp(){return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function mp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function hp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function gp(){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 r_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Uo().test(e))),a&&(i||(i=pp().test(e)||hp().test(e)||gp().test(e))),n&&(i||(i=mp().test(e))),i}var ol=r_;function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!Oe(a)||ol(a,{emoji:true,nonBmp:true}))return false;var n=Ve.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Ve.get("fonts",function(){return {}}),s=f.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,d="".concat(c,"px ").concat(l);n.font=d;var g=a.charAt(0),_=n.measureText(g).width;if(_===0)return u.numLigatures++,true;if(_<30){var k=30/_;_*=k,c*=k,d="".concat(c,"px ").concat(l);}i.width=_,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(g,0,0);var R=new Uint32Array(n.getImageData(0,0,_,c).data.buffer);if(!R.some(function(Y){return Y}))return u.numLigatures++,true;n.clearRect(0,0,_,c),n.fillText(a,0,0);var P=new Uint32Array(n.getImageData(0,0,_,c).data.buffer),M=R.reduce(function(Y,te,oe){return te===0&&P[oe]===0||te!==0&&P[oe]!==0?Y:++Y},0),O=a.split("").reduce(function(Y,te){return Y+n.measureText(te).width},0),H=n.measureText(a).width,V=M/R.length,z=1-H/O;return V>=t&&z>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=o_(e,t),n_(e,t)||i_(e,t))return "";var r=[Dn,_n,fp,cp,ea,a_,Ui],a=r.reduce(function(n,i){return t.startNode===e&&(n=Oe(n)),n!==""?n:i(e,t)},"");return t.debug&&p.log(a||"{empty-value}",e.actualNode,t),a}function a_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function n_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function i_(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?false:sl(e,n,i)}function o_(e,t){return t.startNode||(t=Re({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Re({includeHidden:!pt(e)},t)),t}Lt.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,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Uo(),"")),a&&(e=e.replace(pp(),"").replace(hp(),"").replace(gp(),"")),n&&(e=e.replace(mp(),"")),e}var Sn=s_;function l_(e){return u_(e)||c_(e)||d_(e)||f_(e)?0:1}function u_(e){return Oe(e).length===0}function c_(e){return e.length===1&&e.match(/\D/)}function d_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function f_(e){var t=Sn(e,{emoji:true,nonBmp:true,punctuations:true});return !Oe(t)}var ll=l_,ga={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 p_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?false:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,d=c===void 0?[]:c,g=t.qualifiedTerms,_=g===void 0?[]:g,k=t.ignoredValues,R=k===void 0?[]:k;if(e=e.toLowerCase().trim(),i=i.concat(ga.stateTerms),i.includes(e)||e==="")return true;u=u.concat(ga.qualifiers),s=s.concat(ga.locations),d=d.concat(ga.standaloneTerms),_=_.concat(ga.qualifiedTerms);var P=e.split(/\s+/g);if(P[P.length-1]==="webauthn"&&(P.pop(),P.length===0)||!a&&(P[0].length>8&&P[0].substr(0,8)==="section-"&&P.shift(),s.includes(P[0])&&P.shift(),u.includes(P[0])&&(P.shift(),d=[]),P.length!==1))return false;var M=P[P.length-1];if(!R.includes(M))return d.includes(M)||_.includes(M)}var vp=p_;function m_(e){var t,r;return e.attr("aria-labelledby")&&(t=Ar(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=ze(a);return n?Cr(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Oe(r),r))?r:null}var Yi=m_;function h_(e,t,r){return e=ze(e),Cr(e,t,r)}var bp=h_;function g_(e){var t,r,a;if(r=Yi(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=yt(e.attr("id"));if(a=Nt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&bp(t,true),r)return r}return t=Kt(e,"label"),r=t&&Cr(t,true),r||null}var Ki=g_;function v_(e){return e=ze(e),Ki(e)}var b_=v_,y_=[{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"]}],w_=y_;function yp(e){var t=Jt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(yp(a));}),r}var x_=yp,D_=lt(function(t){var r=ze(t),a=r.boundingClientRect,n=[],i=bn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Oe(o.nodeValue)==="")){var s=__(o);A_(s,a)||n.push.apply(n,ke(wp(s,i)));}}),n.length?n:wp([a],i)}),ul=D_;function __(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function A_(e,t){return e.some(function(r){var a=yn(r);return !Bi(a,t)})}function wp(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&Hi(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function E_(e){var t=ji(e);if(!t)return [];var r=ul(e);return r.map(function(a){return Xs(t,a)})}var cl=E_,C_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function S_(e){var t=Ze(e),r=t.vNode,a=p.commons.aria.getExplicitRole(r);if(a)return C_.indexOf(a)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var dl=S_,k_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Ji(e){return k_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function xp(e,t,r){return Ji(e)||dl(e.actualNode)||!r&&!!Yi(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&xp(a)})}var kn=xp;function T_(e,t,r){return e=ze(e),kn(e,t,r)}var Zi=T_;function fl(e){return typeof e.children>"u"||Ji(e)?true:e.props.nodeType===1&&dl(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&fl(t)&&!Jr(t)})}function F_(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&At(e)&&!Ys(e)}var Dp=F_;function _p(e,t){var r=Ze(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=Ap(n,t)),a._isHiddenWithCSS):Ap(n,t)}function Ap(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=f.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=It(e);return o&&!n.includes(i)?_p(o,i):false}var R_=_p;function I_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Ep=I_;function L_(e){var t;(e instanceof Rt||(t=f)!==null&&t!==void 0&&t.Node&&e instanceof f.Node)&&(e=p.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var br=L_,P_=["block","list-item","table","flex","grid"],M_=["inline-block","inline-flex","inline-grid"];function O_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,a=t.includeInlineBlock,n=a===void 0?false:a,i=Ze(e),o=i.vNode,s=i.domNode;if(ml(s)||!n&&N_(o))return false;var l=q_(s),u="",c="",d=0;return Cp(l,function(g){if(g===l.actualNode)return true;if(d===2)return false;if(g.nodeType===3&&(u+=g.nodeValue),g.nodeType===1){var _=(g.nodeName||"").toUpperCase();g===s&&(d=1);var k=ml(g);if((k||["BR","HR"].includes(_))&&(d===0?(u="",c=""):d=2),k||g.style.display==="none"||g.style.overflow==="hidden"||!["",null,"none"].includes(g.style.float)||!["",null,"relative"].includes(g.style.position))return false;if(br(g)==="widget")return c+=g.textContent,false}}),u=Oe(u),r?u.length!==0:(c=Oe(c),u.length>c.length)}var pl=O_;function ml(e){var t=Ze(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return P_.includes(a)||a.substr(0,6)==="table-"}function N_(e){var t=e.getComputedStylePropertyValue("display");return M_.includes(t)}function Cp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Cp(r,t)});}function q_(e){for(var t=It(e);t&&!ml(t);)t=It(t);return ze(t)}function B_(e){e=e||{};var t=e.modalPercent||.75;if(Ve.get("isModalOpen"))return Ve.get("isModalOpen");var r=Tr(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",Jt);if(r.length)return Ve.set("isModalOpen",true),true;for(var a=Oi(f),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,l=[{x:o,y:s},{x:a.width-o,y:s},{x:a.width/2,y:a.height/2},{x:o,y:a.height-s},{x:a.width-o,y:a.height-s}],u=l.map(function(_){return Array.from(m.elementsFromPoint(_.x,_.y))}),c=function(){var k=u[g].find(function(R){var P=f.getComputedStyle(R);return parseInt(P.width,10)>=n&&parseInt(P.height,10)>=i&&P.getPropertyValue("pointer-events")!=="none"&&(P.position==="absolute"||P.position==="fixed")});if(k&&u.every(function(R){return R.includes(k)}))return Ve.set("isModalOpen",true),{v:true}},d,g=0;g<u.length;g++)if(d=c(),d)return d.v;Ve.set("isModalOpen",void 0);}var Tn=B_;function Sp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var a=0,n=0,i=Ke(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(a>s.top+t)a=Math.max(a,s.bottom);else if(n===0)a=s.bottom,n++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function H_(e){return e instanceof f.Node}var V_=H_,hl="color.incompleteData",j_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Ve.get(hl,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Ve.get(hl);return r?.[t]},clear:function(){Ve.set(hl,{});}},ut=j_;function $_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ut.set("bgColor","imgNode"),true;t=t||f.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ut.set("bgColor",o?"bgGradient":"bgImage");}return i}var Qi=$_,z_=/^#[0-9a-f]{3,8}$/i,G_=/hsl\(\s*([-\d.]+)(rad|turn)/,Fn=(it=new WeakMap,Dt=new WeakMap,Ot=new WeakMap,rr=new WeakMap,Ft=new WeakMap,Vt=new WeakMap,Ga=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(ft(this,e),za(this,Ga),cr(this,it,void 0),cr(this,Dt,void 0),cr(this,Ot,void 0),cr(this,rr,void 0),cr(this,Ft,void 0),cr(this,Vt,void 0),t instanceof Fn){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=a,this.alpha=n;}return vt(e,[{key:"r",get:function(){return $t(it,this)},set:function(r){Mt(it,this,r),Mt(rr,this,Math.round(Pa(r,0,1)*255));}},{key:"g",get:function(){return $t(Dt,this)},set:function(r){Mt(Dt,this,r),Mt(Ft,this,Math.round(Pa(r,0,1)*255));}},{key:"b",get:function(){return $t(Ot,this)},set:function(r){Mt(Ot,this,r),Mt(Vt,this,Math.round(Pa(r,0,1)*255));}},{key:"red",get:function(){return $t(rr,this)},set:function(r){Mt(it,this,r/255),Mt(rr,this,Pa(r,0,255));}},{key:"green",get:function(){return $t(Ft,this)},set:function(r){Mt(Dt,this,r/255),Mt(Ft,this,Pa(r,0,255));}},{key:"blue",get:function(){return $t(Vt,this)},set:function(r){Mt(Ot,this,r/255),Mt(Vt,this,Pa(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return {red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(G_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,U_(o));case "turn":return i.replace(l,X_(o))}});try{var a;"Prototype"in f&&"Version"in f.Prototype&&(a=Array.from,Array.from=bd.default);var n=new ot(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw ut.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(z_)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,a=this.g,n=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4),s=n<=.04045?n/12.92:Math.pow((n+.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 a=r-this.getLuminosity();return Ir(Ga,this,W_).call(this,a).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var a=new Fn(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,d){return c.value-d.value}),o=ge(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,a[u.name]=u.value,a[s.name]=s.value,a[l.name]=l.value,a}},{key:"clip",value:function(){var r=new Fn(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])})());function W_(e){var t=new Fn(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=Fn;function Pa(e,t,r){return Math.min(Math.max(t,e),r)}function U_(e){return e*180/Math.PI}function X_(e){return e*360}function Y_(e){var t=new mt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var va=Y_;function K_(e){var t=f.getComputedStyle(e);return Qi(e,t)||va(t).alpha===1}var J_=K_;function gl(e){if(!e.href)return false;var t=Ve.get("firstPageLink",Z_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Z_(){var e;return f.location.origin?e=er(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Gs(t.actualNode)}):e=er(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var Q_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,eA=/(\w+)\((\d+)/;function tA(e){var t=e.getPropertyValue("clip").match(Q_),r=e.getPropertyValue("clip-path").match(eA);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function rA(e,t,r){var a=Fa(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Nt(e);if(!i||i.nodeType!==9)return false;var o=er(p._tree,'img[usemap="#'.concat(yt(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return eo(l,t,r)})}function eo(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Rt?e:ze(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=f.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return false}if(!e){var g=n.parent,_=true;return g&&(_=eo(g,t,true)),n&&(n[i]=_),_}var k=f.getComputedStyle(e,null);if(k===null)return false;if(c==="area")return rA(e,t,r);if(k.getPropertyValue("display")==="none")return false;var R=parseInt(k.getPropertyValue("height")),P=parseInt(k.getPropertyValue("width")),M=Br(e),O=M&&R===0,H=M&&P===0,V=k.getPropertyValue("position")==="absolute"&&(R<2||P<2)&&k.getPropertyValue("overflow")==="hidden";if(!t&&(tA(k)||k.getPropertyValue("opacity")==="0"||O||H||V)||!r&&(k.getPropertyValue("visibility")==="hidden"||!t&&qi(e)))return false;var z=e.assignedSlot?e.assignedSlot:e.parentNode,Y=false;return z&&(Y=eo(z,t,true)),n&&(n[i]=Y),Y}var aA=eo;function nA(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var s=f.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var kp=nA;function Tp(e,t){var r=Fp(t);do{var a=Fp(e);if(a===r||a===t)return iA(e,t);e=a;}while(e);return false}function Fp(e){for(var t=ze(e),r=t.parent;r;){if(Br(r.actualNode))return r.actualNode;r=r.parent;}}function iA(e,t){var r=f.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof f.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.some(function(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 Rp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Nt(n)===r}).reduce(function(n,i){if(Mi(i)){var o=Rp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Tp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var oA=Rp;function sA(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=m.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=uA(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:lA(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:cA(a.search),hash:dA(a.hash),filename:l}}}function lA(e){var t=["443","80"];return t.includes(e)?"":e}function uA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function cA(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;a<r.length;a++){var n=r[a],i=n.split("="),o=ge(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function dA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=ge(r,1),n=a[0];return n==="#"?"":e}var fA=sA;function pA(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=f.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof f.HTMLBodyElement||t instanceof f.HTMLHtmlElement:true}var vl=pA,Ip=0,mA=(function(e){function t(r,a,n){var i;if(ft(this,t),i=me(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Ip=0),i.nodeIndex=Ip++,i._isHidden=null,i._cache={},i._isXHTML=un(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),fo().includes(o)||(o="text"),i._type=o;}return Ve.get("nodeMap")&&Ve.get("nodeMap").set(r,i),i}return Me(t,e),vt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,s=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},n===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof f.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=f.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=At(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=If(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Rt),bl=mA;function hA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var jt=hA,ba=" [idsMap]";function Lp(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Pp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=gA(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(d){c.isComplexSelector&&!Ea(d,l)||o.add(d);});});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 gA(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Pp(a))n=t["*"];else {if(a.id){var o;if(!t[ba]||!Object.hasOwn(t[ba],a.id)||!((o=t[ba][a.id])!==null&&o!==void 0&&o.length))return;n=t[ba][a.id].filter(function(R){return R.shadowId===r});}if(a.tag&&a.tag!=="*"){var s;if(!((s=t[a.tag])!==null&&s!==void 0&&s.length))return;var l=t[a.tag];n=n?yl(l,n):l;}if(a.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];n=n?yl(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var g,_=a.attributes[d];if(_.type==="attrValue"&&(i=true),!((g=t["[".concat(_.key,"]")])!==null&&g!==void 0&&g.length))return;var k=t["[".concat(_.key,"]")];n=n?yl(k,n):k;}}return {nodes:n,isComplexSelector:i}}function Pp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function yl(e,t){return e.filter(function(r){return t.includes(r)})}function to(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Mp(e,t){e.props.nodeType===1&&(to(e.props.nodeName,e,t),to("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[ba]=t[ba]||{},jt(e.attr(r)).forEach(function(a){to(a,e,t[ba]);})),to("[".concat(r,"]"),e,t);}));}var wl;function xl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;wl=false;var r={};Ve.set("nodeMap",new WeakMap),Ve.set("selectorMap",r);var a=Op(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=wl,a}function vA(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Dl(e,t,r){var a=new bl(e,t,r);return Mp(a,Ve.get("selectorMap")),a}function ro(e,t,r){var a=[];return e.forEach(function(n){var i=Op(n,r,t);i&&a.push.apply(a,ke(i));}),a}function Op(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Mi(e))return wl=true,a=Dl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=ro(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),ro(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=vA(e));f.getComputedStyle(e);return ro(n,r,t)}if(e.nodeType===m.ELEMENT_NODE)return a=Dl(e,r,t),n=Array.from(e.childNodes),a.children=ro(n,a,t),[a];if(e.nodeType===m.TEXT_NODE)return [Dl(e,r)]}function bA(e){return e?e.trim().split("-")[0].toLowerCase():""}var ya=bA;function yA(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var a=p._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
364
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),ib=G(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=cc();function r(n,a,i,o,s,l){var u=n.length,c="";function p(j,W){var U="";for(a++,c=n.charAt(a);a<u;){if(c===j)return a++,U;if(c==="\\"){a++,c=n.charAt(a);var J=void 0;if(c===j)U+=j;else if((J=W[c])!==void 0)U+=J;else if(t.isHex(c)){var re=c;for(a++,c=n.charAt(a);t.isHex(c);)re+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),U+=String.fromCharCode(parseInt(re,16));continue}else U+=c;}else U+=c;a++,c=n.charAt(a);}return U}function b(){var j="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))j+=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])j+=c;else if(t.isHex(c)){var W=c;for(a++,c=n.charAt(a);t.isHex(c);)W+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),j+=String.fromCharCode(parseInt(W,16));continue}else j+=c;}else return j;a++,c=n.charAt(a);}return j}function _(){c=n.charAt(a);for(var j=false;c===" "||c===" "||c===`
|
|
365
|
+
`||c==="\r"||c==="\f";)j=true,a++,c=n.charAt(a);return j}function R(){var j=L();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return j}function L(){var j=N();if(!j)return null;var W=j;for(c=n.charAt(a);c===",";){if(a++,_(),W.type!=="selectors"&&(W={type:"selectors",selectors:[j]}),j=N(),!j)throw Error('Rule expected after ",".');W.selectors.push(j);}return W}function N(){_();var j={type:"ruleSet"},W=H();if(!W)return null;for(var U=j;W&&(W.type="rule",U.rule=W,U=W,_(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var J=c;if(a++,_(),W=H(),!W)throw Error('Rule expected after "'+J+'".');W.nestingOperator=J;}else W=H(),W&&(W.nestingOperator=null);return j}function H(){for(var j=null;a<u;)if(c=n.charAt(a),c==="*")a++,(j=j||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(j=j||{}).tagName=b();else if(c===".")a++,j=j||{},(j.classNames=j.classNames||[]).push(b());else if(c==="#")a++,(j=j||{}).id=b();else if(c==="["){a++,_();var W={name:b()};if(_(),c==="]")a++;else {var U="";if(o[c]&&(U=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=U+"=",a++,_();var J="";if(W.valueType="string",c==='"')J=p('"',t.doubleQuotesEscapeChars);else if(c==="'")J=p("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,J=b(),W.valueType="substitute";else {for(;a<u&&c!=="]";)J+=c,a++,c=n.charAt(a);J=J.trim();}if(_(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,W.value=J;}j=j||{},(j.attrs=j.attrs||[]).push(W);}else if(c===":"){a++;var re=b(),se={name:re};if(c==="("){a++;var fe="";if(_(),i[re]==="selector")se.valueType="selector",fe=L();else {if(se.valueType=i[re]||"string",c==='"')fe=p('"',t.doubleQuotesEscapeChars);else if(c==="'")fe=p("'",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();}_();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,se.value=fe;}j=j||{},(j.pseudos=j.pseudos||[]).push(se);}else break;return j}return R()}e.parseCssSelector=r;}),ob=G(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=cc();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;}),sb=G(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=ib(),r=ob(),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;}),lb=G(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 g<"u")return g;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(p){return l[p]||p}):""}},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,p,b,_){return p.indexOf("def.")===0&&(p=p.substring(4)),p in u||(b===":"?(s.defineParams&&_.replace(s.defineParams,function(R,L,N){u[p]={arg:L,text:N};}),p in u||(u[p]=_)):new Function("def","def['"+p+"']="+_)(u)),""}).replace(s.use||a,function(c,p){s.useParams&&(p=p.replace(s.useParams,function(_,R,L,N){if(u[L]&&u[L].arg&&N){var H=(L+":"+N).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[H]=u[L].text.replace(new RegExp("(^|[^\\w$])"+u[L].arg+"([^\\w$])","g"),"$1"+N+"$2"),R+"def.__exp['"+H+"']"}}));var b=new Function("def","return "+p)(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,p,b=0,_,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(L,N){return c.start+o(N)+c.end}).replace(l.encode||a,function(L,N){return p=true,c.startencode+o(N)+c.end}).replace(l.conditional||a,function(L,N,H){return N?H?"';}else if("+o(H)+"){out+='":"';}else{out+='":H?"';if("+o(H)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(L,N,H,j){return N?(b+=1,_=j||"i"+b,N=o(N),"';var arr"+b+"="+N+";if(arr"+b+"){var "+H+","+_+"=-1,l"+b+"=arr"+b+".length-1;while("+_+"<l"+b+"){"+H+"=arr"+b+"["+_+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(L,N){return "';"+o(N)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),p&&(!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(L){throw typeof console<"u"&&console.log("Could not create a template function: "+R),L}},r.compile=function(s,l){return r.template(s,null,l)};})();}),ub=G(function(e,t){t.exports=function(){};}),mn=G(function(e,t){var r=ub()();t.exports=function(n){return n!==r&&n!==null};}),dc=G(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};}),cb=G(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),db=G(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),fb=G(function(e,t){t.exports=cb()()?Math.sign:db();}),pb=G(function(e,t){var r=fb(),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=G(function(e,t){var r=pb(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),fc=G(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)};}),Xr=G(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Tn=G(function(e,t){var r=mn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),mb=G(function(e,t){var r=Xr(),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,p){var b,_=arguments[2],R=arguments[3];return c=Object(n(c)),r(p),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(L,N){return s.call(c,L)?i.call(p,_,c[L],L,c,N):u})}};}),gi=G(function(e,t){t.exports=mb()("forEach");}),gn=G(function(){}),hb=G(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")};}),gb=G(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),vb=G(function(e,t){var r=mn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),bb=G(function(e,t){t.exports=gb()()?Object.keys:vb();}),yb=G(function(e,t){var r=bb(),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(_){s||(s=_);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),pc=G(function(e,t){t.exports=hb()()?Object.assign:yb();}),wb=G(function(e,t){var r=mn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[de(a)]||false};}),xb=G(function(e,t){var r=pc(),n=wb(),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};}),mc=G(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(p){try{n(s,p,a(l,p));}catch(b){u=b;}}),typeof o=="function"&&o(c).forEach(function(p){try{n(s,p,a(l,p));}catch(b){u=b;}}),u!==void 0)throw u;return s};}),hc=G(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=mc(),o=(function(){var l=[];return function(u){var c,p=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++p).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});}),gc=G(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),Db=G(function(e,t){var r=gc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,de(a)):false};}),_b=G(function(e,t){var r=Db();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),Ab=G(function(e,t){var r=_b();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)};}),Eb=G(function(e,t){var r=Ab(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Cb=G(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Sb=G(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),kb=G(function(e,t){t.exports=Cb()()?String.prototype.contains:Sb();}),vn=G(function(e,t){var r=gc(),n=Eb(),a=pc(),i=dc(),o=kb(),s=t.exports=function(l,u){var c,p,b,_,R;return arguments.length<2||typeof l!="string"?(_=u,u=l,l=null):_=arguments[2],r(l)?(c=o.call(l,"c"),p=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,p=false),R={value:u,configurable:c,enumerable:p,writable:b},_?a(i(_),R):R};s.gs=function(l,u,c){var p,b,_,R;return typeof l!="string"?(_=c,c=u,u=l,l=null):_=arguments[3],r(u)?n(u)?r(c)?n(c)||(_=c,c=void 0):c=void 0:(_=u,u=c=void 0):u=void 0,r(l)?(p=o.call(l,"c"),b=o.call(l,"e")):(p=true,b=false),R={get:u,set:c,configurable:p,enumerable:b},_?a(i(_),R):R};}),Tb=G(function(e,t){var r=vn(),n=Xr(),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},p,b,_,R,L,N,H;p=function(W,U){var J;return n(U),u.call(this,"__ee__")?J=this.__ee__:(J=c.value=o(null),s(this,"__ee__",c),c.value=null),J[W]?de(J[W])==="object"?J[W].push(U):J[W]=[J[W],U]:J[W]=U,this},b=function(W,U){var J,re;return n(U),re=this,p.call(this,W,J=function(){_.call(re,W,J),a.call(U,this,arguments);}),J.__eeOnceListener__=U,this},_=function(W,U){var J,re,se,fe;if(n(U),!u.call(this,"__ee__"))return this;if(J=this.__ee__,!J[W])return this;if(re=J[W],de(re)==="object")for(fe=0;se=re[fe];++fe)(se===U||se.__eeOnceListener__===U)&&(re.length===2?J[W]=re[fe?0:1]:re.splice(fe,1));else (re===U||re.__eeOnceListener__===U)&&delete J[W];return this},R=function(W){var U,J,re,se,fe;if(u.call(this,"__ee__")&&(se=this.__ee__[W],!!se))if(de(se)==="object"){for(J=arguments.length,fe=new Array(J-1),U=1;U<J;++U)fe[U-1]=arguments[U];for(se=se.slice(),U=0;re=se[U];++U)a.call(re,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),U=1;U<J;++U)fe[U-1]=arguments[U];a.call(se,this,fe);}},L={on:p,once:b,off:_,emit:R},N={on:r(p),once:r(b),off:r(_),emit:r(R)},H=l({},N),t.exports=e=function(W){return W==null?o(H):l(Object(W),N)},e.methods=L;}),Rb=G(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"))};}),Fb=G(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":de(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),Ib=G(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=G(function(e,t){t.exports=Fb()()?globalThis:Ib();}),Lb=G(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)])};}),Pb=G(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};}),vc=G(function(e,t){var r=Pb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),Mb=G(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(p){c||(c=true,a(this,u,r(p)),c=false);})),u};}),Ob=G(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"))})};}),Nb=G(function(e,t){var r=vn(),n=vc(),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})})};}),qb=G(function(e,t){var r=vn(),n=vc(),a=vi().Symbol,i=Mb(),o=Ob(),s=Nb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,p,b,_;if(typeof a=="function")try{String(a()),_=!0;}catch{}else a=null;b=function(L){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return p(L)},t.exports=p=function R(L){var N;if(this instanceof R)throw new TypeError("Symbol is not a constructor");return _?a(L):(N=l(b.prototype),L=L===void 0?"":String(L),u(N,{__description__:r("",L),__name__:r("",i(L))}))},o(p),s(p),u(b.prototype,{constructor:r(p),toString:r("",function(){return this.__name__})}),u(p.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(p.prototype,p.toPrimitive,r("",function(){var R=n(this);return de(R)==="symbol"?R:R.toString()})),c(p.prototype,p.toStringTag,r("c","Symbol")),c(b.prototype,p.toStringTag,r("c",p.prototype[p.toStringTag])),c(b.prototype,p.toPrimitive,r("c",p.prototype[p.toPrimitive]));}),Bb=G(function(e,t){t.exports=Lb()()?vi().Symbol:qb();}),Hb=G(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),Vb=G(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))};}),jb=G(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};}),$b=G(function(e,t){var r=Bb().iterator,n=Hb(),a=Vb(),i=hn(),o=Xr(),s=Tn(),l=mn(),u=jb(),c=Array.isArray,p=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},_=Object.defineProperty;t.exports=function(R){var L=arguments[1],N=arguments[2],H,j,W,U,J,re,se,fe,De,le;if(R=Object(s(R)),l(L)&&o(L),!this||this===Array||!a(this)){if(!L){if(n(R))return J=R.length,J!==1?Array.apply(null,R):(U=new Array(1),U[0]=R[0],U);if(c(R)){for(U=new Array(J=R.length),j=0;j<J;++j)U[j]=R[j];return U}}U=[];}else H=this;if(!c(R)){if((De=R[r])!==void 0){for(se=o(De).call(R),H&&(U=new H),fe=se.next(),j=0;!fe.done;)le=L?p.call(L,N,fe.value,j):fe.value,H?(b.value=le,_(U,j,b)):U[j]=le,fe=se.next(),++j;J=j;}else if(u(R)){for(J=R.length,H&&(U=new H),j=0,W=0;j<J;++j)le=R[j],j+1<J&&(re=le.charCodeAt(0),re>=55296&&re<=56319&&(le+=R[++j])),le=L?p.call(L,N,le,W):le,H?(b.value=le,_(U,W,b)):U[W]=le,++W;J=W;}}if(J===void 0)for(J=i(R.length),H&&(U=new H(J)),j=0;j<J;++j)le=L?p.call(L,N,R[j],j):R[j],H?(b.value=le,_(U,j,b)):U[j]=le;return H&&(b.value=null,U.length=J),U};}),ts=G(function(e,t){t.exports=Rb()()?Array.from:$b();}),zb=G(function(e,t){var r=ts(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),Gb=G(function(e,t){var r=zb(),n=mn(),a=Xr(),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)};}),Wb=G(function(e,t){var r=Xr();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))};}),Ub=G(function(e,t){var r=xb(),n=hc(),a=vn(),i=Tb().methods,o=Gb(),s=Wb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,p=Object.defineProperties,b=i.on,_=i.emit;t.exports=function(R,L,N){var H=c(null),j,W,U,J,re,se,fe,De,le,he,ye,_e,Oe,$e,Re;return L!==false?W=L:isNaN(R.length)?W=1:W=R.length,N.normalizer&&(he=s(N.normalizer),U=he.get,J=he.set,re=he.delete,se=he.clear),N.resolvers!=null&&(Re=o(N.resolvers)),U?$e=n(function(Be){var ve,Me,Q=arguments;if(Re&&(Q=Re(Q)),ve=U(Q),ve!==null&&hasOwnProperty.call(H,ve))return ye&&j.emit("get",ve,Q,this),H[ve];if(Q.length===1?Me=u.call(R,this,Q[0]):Me=l.call(R,this,Q),ve===null){if(ve=U(Q),ve!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ve=J(Q);}else if(hasOwnProperty.call(H,ve))throw r("Circular invocation","CIRCULAR_INVOCATION");return H[ve]=Me,_e&&j.emit("set",ve,null,Me),Me},W):L===0?$e=function(){var ve;if(hasOwnProperty.call(H,"data"))return ye&&j.emit("get","data",arguments,this),H.data;if(arguments.length?ve=l.call(R,this,arguments):ve=u.call(R,this),hasOwnProperty.call(H,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return H.data=ve,_e&&j.emit("set","data",null,ve),ve}:$e=function(ve){var Me,Q=arguments,Ee;if(Re&&(Q=Re(arguments)),Ee=String(Q[0]),hasOwnProperty.call(H,Ee))return ye&&j.emit("get",Ee,Q,this),H[Ee];if(Q.length===1?Me=u.call(R,this,Q[0]):Me=l.call(R,this,Q),hasOwnProperty.call(H,Ee))throw r("Circular invocation","CIRCULAR_INVOCATION");return H[Ee]=Me,_e&&j.emit("set",Ee,null,Me),Me},j={original:R,memoized:$e,profileName:N.profileName,get:function(ve){return Re&&(ve=Re(ve)),U?U(ve):String(ve[0])},has:function(ve){return hasOwnProperty.call(H,ve)},delete:function(ve){var Me;hasOwnProperty.call(H,ve)&&(re&&re(ve),Me=H[ve],delete H[ve],Oe&&j.emit("delete",ve,Me));},clear:function(){var ve=H;se&&se(),H=c(null),j.emit("clear",ve);},on:function(ve,Me){return ve==="get"?ye=true:ve==="set"?_e=true:ve==="delete"&&(Oe=true),b.call(this,ve,Me)},emit:_,updateEnv:function(){R=j.original;}},U?fe=n(function(Be){var ve,Me=arguments;Re&&(Me=Re(Me)),ve=U(Me),ve!==null&&j.delete(ve);},W):L===0?fe=function(){return j.delete("data")}:fe=function(ve){return Re&&(ve=Re(arguments)[0]),j.delete(ve)},De=n(function(){var Be,ve=arguments;return L===0?H.data:(Re&&(ve=Re(ve)),U?Be=U(ve):Be=String(ve[0]),H[Be])}),le=n(function(){var Be,ve=arguments;return L===0?j.has("data"):(Re&&(ve=Re(ve)),U?Be=U(ve):Be=String(ve[0]),Be===null?false:j.has(Be))}),p($e,{__memoized__:a(true),delete:a(fe),clear:a(j.clear),_get:a(De),_has:a(le)}),j};}),Xb=G(function(e,t){var r=Xr(),n=gi(),a=gn(),i=Ub(),o=fc();t.exports=function s(l){var u,c,p;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),p=i(l,c,u),n(a,function(b,_){u[_]&&b(u[_],p,u);}),s.__profiler__&&s.__profiler__(p),p.updateEnv(),p.memoized)};}),Yb=G(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};}),Kb=G(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 ""}};}),Jb=G(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Zb=G(function(e,t){t.exports=function(r){return r!==r};}),Qb=G(function(e,t){t.exports=Jb()()?Number.isNaN:Zb();}),rs=G(function(e,t){var r=Qb(),n=hn(),a=Tn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,p,b,_;if(!r(u))return i.apply(this,arguments);for(p=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<p;++c)if(o.call(this,c)&&(_=this[c],r(_)))return c;return -1};}),ey=G(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,p,b=l.length;if(b===0)return c[b]||null;if(c=c[b]){for(;u<b-1;){if(p=r.call(c[0],l[u]),p===-1)return null;c=c[1][p],++u;}return p=r.call(c[0],l[u]),p===-1?null:c[1][p]||null}return null},set:function(l){var u=0,c=i,p,b=l.length;if(b===0)c[b]=++a;else {for(c[b]||(c[b]=[[],[]]),c=c[b];u<b-1;)p=r.call(c[0],l[u]),p===-1&&(p=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][p],++u;p=r.call(c[0],l[u]),p===-1&&(p=c[0].push(l[u])-1),c[1][p]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,p,b=o[l],_=b.length,R=[];if(_===0)delete c[_];else if(c=c[_]){for(;u<_-1;){if(p=r.call(c[0],b[u]),p===-1)return;R.push(c,p),c=c[1][p],++u;}if(p=r.call(c[0],b[u]),p===-1)return;for(l=c[1][p],c[0].splice(p,1),c[1].splice(p,1);!c[0].length&&R.length;)p=R.pop(),c=R.pop(),c[0].splice(p,1),c[1].splice(p,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),ty=G(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=[];}}};}),ry=G(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,p=o,b;c<a-1;){if(b=r.call(p[0],u[c]),b===-1)return null;p=p[1][b],++c;}return b=r.call(p[0],u[c]),b===-1?null:p[1][b]||null},set:function(u){for(var c=0,p=o,b;c<a-1;)b=r.call(p[0],u[c]),b===-1&&(b=p[0].push(u[c])-1,p[1].push([[],[]])),p=p[1][b],++c;return b=r.call(p[0],u[c]),b===-1&&(b=p[0].push(u[c])-1),p[1][b]=++i,s[i]=u,i},delete:function(u){for(var c=0,p=o,b,_=[],R=s[u];c<a-1;){if(b=r.call(p[0],R[c]),b===-1)return;_.push(p,b),p=p[1][b],++c;}if(b=r.call(p[0],R[c]),b!==-1){for(u=p[1][b],p[0].splice(b,1),p[1].splice(b,1);!p[0].length&&_.length;)b=_.pop(),p=_.pop(),p[0].splice(b,1),p[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),bc=G(function(e,t){var r=Xr(),n=gi(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,p,b){s[c]=a.call(o,l,u,c,p,b);}),s};}),ns=G(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=h.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":de(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof h>"u"?"undefined":de(h))==="object"&&h){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":de(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),ny=G(function(){var e=ts(),t=bc(),r=mc(),n=hc(),a=ns(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;gn().async=function(l,u){var c=s(null),p=s(null),b=u.memoized,_=u.original,R,L,N;u.memoized=n(function(H){var j=arguments,W=j[j.length-1];return typeof W=="function"&&(R=W,j=i.call(j,0,-1)),b.apply(L=this,N=j)},b);try{r(u.memoized,b);}catch{}u.on("get",function(H){var j,W,U;if(R){if(c[H]){typeof c[H]=="function"?c[H]=[c[H],R]:c[H].push(R),R=null;return}j=R,W=L,U=N,R=L=N=null,a(function(){var J;hasOwnProperty.call(p,H)?(J=p[H],u.emit("getasync",H,U,W),o.call(j,J.context,J.args)):(R=j,L=W,N=U,b.apply(W,U));});}}),u.original=function(){var H,j,W,U;return R?(H=e(arguments),j=function J(re){var se,fe,De=J.id;if(De==null){a(o.bind(J,this,arguments));return}if(delete J.id,se=c[De],delete c[De],!!se)return fe=e(arguments),u.has(De)&&(re?u.delete(De):(p[De]={context:this,args:fe},u.emit("setasync",De,typeof se=="function"?1:se.length))),typeof se=="function"?U=o.call(se,this,fe):se.forEach(function(le){U=o.call(le,this,fe);},this),U},W=R,R=L=N=null,H.push(j),U=o.call(_,this,H),j.cb=W,R=j,U):o.call(_,this,arguments)},u.on("set",function(H){if(!R){u.delete(H);return}c[H]?typeof c[H]=="function"?c[H]=[c[H],R.cb]:c[H].push(R.cb):c[H]=R.cb,delete R.cb,R.id=H,R=null;}),u.on("delete",function(H){var j;hasOwnProperty.call(c,H)||p[H]&&(j=p[H],delete p[H],u.emit("deleteasync",H,i.call(j.args,1)));}),u.on("clear",function(){var H=p;p=s(null),u.emit("clearasync",t(H,function(j){return i.call(j.args,1)}));});};}),ay=G(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};}),yc=G(function(e,t){t.exports=function(r){return typeof r=="function"};}),iy=G(function(e,t){var r=yc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),oy=G(function(e,t){var r=Tn(),n=iy();t.exports=function(a){return n(r(a))};}),sy=G(function(e,t){var r=yc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),ly=G(function(e,t){var r=sy(),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};}),wc=G(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"}}),uy=G(function(){var e=bc(),t=ay(),r=oy(),n=ly(),a=wc(),i=ns(),o=Object.create,s=t("then","then:finally","done","done:finally");gn().promise=function(l,u){var c=o(null),p=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(_,R,L){var N=false;if(!a(L)){p[_]=L,u.emit("setasync",_,1);return}c[_]=1,b[_]=L;var H=function(re){var se=c[_];if(N)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)
|
|
366
|
+
Consider to rely on 'then' or 'done' mode instead.`);se&&(delete c[_],p[_]=re,u.emit("setasync",_,se));},j=function(){N=true,c[_]&&(delete c[_],delete b[_],u.delete(_));},W=l;if(W||(W="then"),W==="then"){var U=function(){i(j);};L=L.then(function(J){i(H.bind(this,J));},U),typeof L.finally=="function"&&L.finally(U);}else if(W==="done"){if(typeof L.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");L.done(H,j);}else if(W==="done:finally"){if(typeof L.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof L.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");L.done(H),L.finally(j);}}),u.on("get",function(_,R,L){var N;if(c[_]){++c[_];return}N=b[_];var H=function(){u.emit("getasync",_,R,L);};a(N)?typeof N.done=="function"?N.done(H):N.then(function(){i(H);}):H();}),u.on("delete",function(_){if(delete b[_],c[_]){delete c[_];return}if(hasOwnProperty.call(p,_)){var R=p[_];delete p[_],u.emit("deleteasync",_,[R]);}}),u.on("clear",function(){var _=p;p=o(null),c=o(null),b=o(null),u.emit("clearasync",e(_,function(R){return [R]}));});};}),cy=G(function(){var e=Xr(),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);});});};}),dy=G(function(e,t){t.exports=2147483647;}),fy=G(function(e,t){var r=hn(),n=dy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),py=G(function(){var e=ts(),t=gi(),r=ns(),n=wc(),a=fy(),i=gn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,p,b){var _,R,L,N;c=a(c),c&&(_=u(null),R=b.async&&i.async||b.promise&&i.promise?"async":"",p.on("set"+R,function(H){_[H]=setTimeout(function(){p.delete(H);},c),typeof _[H].unref=="function"&&_[H].unref(),N&&(N[H]&&N[H]!=="nextTick"&&clearTimeout(N[H]),N[H]=setTimeout(function(){delete N[H];},L),typeof N[H].unref=="function"&&N[H].unref());}),p.on("delete"+R,function(H){clearTimeout(_[H]),delete _[H],N&&(N[H]!=="nextTick"&&clearTimeout(N[H]),delete N[H]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?L=.333:L=s(l(Number(b.preFetch),1),0),L&&(N={},L=(1-L)*c,p.on("get"+R,function(H,j,W){N[H]||(N[H]="nextTick",r(function(){var U;N[H]==="nextTick"&&(delete N[H],p.delete(H),b.async&&(j=e(j),j.push(o)),U=p.memoized.apply(W,j),b.promise&&n(U)&&(typeof U.done=="function"?U.done(o,o):U.then(o,o)));}));}))),p.on("clear"+R,function(){t(_,function(H){clearTimeout(H);}),_={},N&&(t(N,function(H){H!=="nextTick"&&clearTimeout(H);}),N={});}));};}),my=G(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,p;return i=r(i),{hit:function(_){var R=u[_],L=++c;if(l[L]=_,u[_]=L,!R)return ++o,o<=i?void 0:(_=l[s],p(_),_);if(delete l[R],s===R)for(;!a.call(l,++s););},delete:p=function(_){var R=u[_];if(R&&(delete l[R],delete u[_],--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;}}};}),hy=G(function(){var e=hn(),t=my(),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));};}),gy=G(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]})});};}),vy=G(function(e,t){var r=dc(),n=fc(),a=Xb();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=Yb():s>1&&(o.normalizer=Kb()(s)):s===false?o.normalizer=ey()():s===1?o.normalizer=ty()():o.normalizer=ry()(s))),o.async&&ny(),o.promise&&uy(),o.dispose&&cy(),o.maxAge&&py(),o.max&&hy(),o.refCounter&&gy(),a(i,o)};}),by=[{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"}],fr={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"])};by.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;fr[t]=r,fr[t+"_PRIO"]=n,fr[t+"_GROUP"]=a,fr.results[n]=r,fr.resultGroups[n]=a,fr.resultGroupMap[r]=a;}),Object.freeze(fr.results),Object.freeze(fr.resultGroups),Object.freeze(fr.resultGroupMap),Object.freeze(fr);var Ue=fr;function yy(){(typeof console>"u"?"undefined":de(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var bn=yy,wy=/[\t\r\n\f]/g,xy=(function(){function e(){Qt(this,e),this.parent=void 0;}return Vt(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(wy," ").indexOf(a)>=0}}])})(),Rt=xy,as={};ur(as,{DqElement:function(){return ar},RuleError:function(){return _o},aggregate:function(){return bi},aggregateChecks:function(){return _c},aggregateNodeResults:function(){return Ac},aggregateResult:function(){return Ec},areStylesSet:function(){return ky},assert:function(){return rt},checkHelper:function(){return Is},clone:function(){return qr},closest:function(){return Xt},collectResultsFromFrames:function(){return hf},contains:function(){return Br},convertSelector:function(){return Hi},cssParser:function(){return Xd},deepMerge:function(){return Gs},escapeSelector:function(){return wt},extendMetaData:function(){return Ws},filterHtmlAttrs:function(){return Rm},finalizeRuleResult:function(){return la},findBy:function(){return Sa},getAllChecks:function(){return Gi},getAncestry:function(){return Bi},getBaseLang:function(){return Cn},getCheckMessage:function(){return UA},getCheckOption:function(){return vo},getElementSource:function(){return Wd},getEnvironmentData:function(){return sn},getFlattenedTree:function(){return Pl},getFrameContexts:function(){return c2},getFriendlyUriEnd:function(){return kc},getNodeAttributes:function(){return da},getNodeFromTree:function(){return Ye},getPreloadConfig:function(){return Cm},getRootNode:function(){return ka},getRule:function(){return cm},getScroll:function(){return jr},getScrollState:function(){return p2},getSelector:function(){return Rs},getSelectorData:function(){return qi},getShadowSelector:function(){return Ss},getStandards:function(){return m2},getStyleSheetFactory:function(){return pm},getXpath:function(){return Gd},injectStyle:function(){return v2},isArrayLike:function(){return Bl},isContextObject:function(){return Hl},isContextProp:function(){return yo},isContextSpec:function(){return mm},isHidden:function(){return b2},isHtmlElement:function(){return jl},isLabelledFramesSelector:function(){return Vl},isLabelledShadowDomSelector:function(){return wo},isNodeInContext:function(){return $l},isShadowRoot:function(){return Ui},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 pt},mergeResults:function(){return Wi},nodeLookup:function(){return tt},nodeSerializer:function(){return ir},nodeSorter:function(){return Gl},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return Ul},parseSameOriginStylesheet:function(){return vm},parseStylesheet:function(){return Wl},parseTabindex:function(){return kr},performanceTimer:function(){return ot},pollyfillElementsFromPoint:function(){return bm},preload:function(){return Am},preloadCssom:function(){return wm},preloadMedia:function(){return _m},processMessage:function(){return ql},publishMetaData:function(){return xo},querySelectorAll:function(){return Zt},querySelectorAllFilter:function(){return Tr},queue:function(){return _r},respondable:function(){return hr},ruleShouldRun:function(){return Tm},select:function(){return Xl},sendCommandToFrame:function(){return df},serializeError:function(){return Do},setScrollState:function(){return J2},shadowSelect:function(){return Z2},shadowSelectAll:function(){return Yl},shouldPreload:function(){return Em},toArray:function(){return Sc},tokenList:function(){return qt},uniqueArray:function(){return $a},uuid:function(){return rx},validInputTypes:function(){return Ao},validLangs:function(){return Mm}});function Dy(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=Dy,_y=Ue.CANTTELL_PRIO,Ay=Ue.FAIL_PRIO,yi=[];yi[Ue.PASS_PRIO]=true,yi[Ue.CANTTELL_PRIO]=null,yi[Ue.FAIL_PRIO]=false;var xc=["any","all","none"];function Dc(e,t){return xc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Ey(e){var t=Object.assign({},e);Dc(t,function(a,i){var o=typeof a.result>"u"?-1:yi.indexOf(a.result);a.priority=o!==-1?o:Ue.CANTTELL_PRIO,i==="none"&&(a.priority===Ue.PASS_PRIO?a.priority=Ue.FAIL_PRIO:a.priority===Ue.FAIL_PRIO&&(a.priority=Ue.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 xc.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)});}),[_y,Ay].includes(t.priority)?t.impact=bi(Ue.impact,n):t.impact=null,Dc(t,function(a){delete a.result,delete a.priority;}),t.result=Ue.results[t.priority],delete t.priority,t}var _c=Ey;function la(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,Ac(e.nodes)),delete e.nodes,e}function Cy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return _c(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(Ue.results,r,t.result);}else t.result="inapplicable";Ue.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Ue.resultGroupMap[i.result];t[o].push(i);});var n=Ue.FAIL_GROUP;if(t[n].length===0&&(n=Ue.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=bi(Ue.impact,a)||null;}else t.impact=null;return t}var Ac=Cy;function is(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Ue.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Sy(e){var t={};return Ue.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?is(t,r,Ue.CANTTELL_GROUP):r.result===Ue.NA?is(t,r,Ue.NA_GROUP):Ue.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&is(t,r,n);});}),t}var Ec=Sy;function Cc(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:Cc(e.parentNode,t,r)}var ky=Cc;function Ty(e,t){if(!e)throw new Error(t)}var rt=Ty;function Ry(e){return Array.prototype.slice.call(e)}var Sc=Ry;function Fy(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 wt=Fy;function Iy(){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 Ly(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ua(e,e.indexOf("#")),u=we(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ua(e,e.indexOf("?")),p=we(c,2);e=p[0],o=p[1];}if(e.includes("://")){var b=e.split("://"),_=we(b,2);r=_[0],e=_[1];var R=ua(e,e.indexOf("/")),L=we(R,2);n=L[0],e=L[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var N=ua(e,e.indexOf("/")),H=we(N,2);n=H[0],e=H[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var j=ua(n,n.indexOf(":")),W=we(j,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 Py(){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=Ly(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})?/)&&!Iy(u))return ca(u)}}var kc=Py;function My(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var da=My,Oy=(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=Oy,Tc={};ur(Tc,{ArrayFrom:function(){return Bd.default},Colorjs:function(){return ct},CssSelectorParser:function(){return Rc.CssSelectorParser},doT:function(){return Yr.default},emojiRegexText:function(){return os},memoize:function(){return Fc.default}});var Ny=wr(rv()),qy=wr(nv());wr(av());var By=wr(bv()),Hy=wr(Tv()),Vy=wr(uc());"hasOwn"in Object||(Object.hasOwn=By.default),"values"in Object||(Object.values=Hy.default),"Promise"in d||Ny.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=qy.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=Vy.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 Rc=wr(sb()),Yr=wr(lb()),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},Fc=wr(vy());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=at(s),c;try{for(u.s();!(c=u.n()).done;){var p=c.value;l+=o*p;}}catch(_){u.e(_);}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 Kr(e)==="string"}function Kr(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 Ic(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 Lc(e){return e[e.length-1]}function xi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Pc(e,t,r){return (r-e)/(t-e)}function ss(e,t,r){return xi(t[0],t[1],Pc(e[0],e[1],r))}function Mc(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 jy=Object.freeze({__proto__:null,isString:fa,type:Kr,toPrecision:wi,parseFunction:Ic,last:Lc,interpolate:xi,interpolateInv:Pc,mapRange:ss,parseCoordGrammar:Mc,multiplyMatrices:_t}),$y=(function(){function e(){Qt(this,e);}return Vt(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);});}}])})(),Jr=new $y,Dr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},pr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ls(e){return Array.isArray(e)?e:pr[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(Jr.run("chromatic-adaptation-start",a),a.M||(a.W1===pr.D65&&a.W2===pr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===pr.D50&&a.W2===pr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Jr.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 zy=75e-6,mr=(ee=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;Qt(this,e),ni(this,ee),yr(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?mr.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 p in this.formats){var b=this.formats[p];b.type||(b.type="function"),b.name||(b.name=p);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Tt(oe,this,Wr(ee,this,Gy).call(this).reverse()),Jr.run("colorspace-init-end",this);}return Vt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?zy: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=we(u.range,2),p=c[0],b=c[1];return (p===void 0||s>=p-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(ee,this,Oc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=Wr(ee,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=mr.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=Ht(oe,this),o=Ht(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 p=l+1;p<o.length;p++)n=o[p].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=mr.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 Te(new Set(Object.values(mr.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=at(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 mr)return r;var n=Kr(r);if(n==="string"){var a=mr.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 mr.get.apply(mr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Kr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=we(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=we(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=mr.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=Kr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Le({space:i,id:c[0],index:o},c[1])}i=mr.get(i);var p=o.toLowerCase(),b=0;for(var _ in i.coords){var R,L=i.coords[_];if(_.toLowerCase()===p||((R=L.name)===null||R===void 0?void 0:R.toLowerCase())===p)return Le({space:i,id:_,index:b},L);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=Mc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=we(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 Gy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var qe=mr;Hu(qe,"registry",{}),Hu(qe,"DEFAULT_FORMAT",{type:"functions",name:"color"});var tr=new qe({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"]}),$t=(function(e){function t(r){var n,a;if(Qt(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=tr),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=ae(this,t,[r])}return Se(t,e),Vt(t)})(qe);function Nc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Jr.run("parse-start",r),r.color)return r.color;if(r.parsed=Ic(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=at(qe.all),s;try{var l=function(){var De=s.value,le=De.getFormat("color");if(le){var he;if(a===le.id||(he=le.ids)!==null&&he!==void 0&&he.includes(a)){var ye=Object.keys(De.coords).length,_e=Array(ye).fill(0);return _e.forEach(function(Oe,$e){return _e[$e]=r.parsed.args[$e]||0}),{v:{spaceId:De.id,coords:_e,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 qe.registry){var p,b=(p=qe.registry[a].formats)===null||p===void 0||(p=p.functions)===null||p===void 0||(p=p.color)===null||p===void 0?void 0:p.id;b&&(c="Did you mean color(".concat(b,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var _=at(qe.all),R;try{var L=function(){var De=R.value,le=De.getFormat(n);if(le&&le.type==="function"){var he=1;(le.lastAlpha||Lc(r.parsed.args).alpha)&&(he=r.parsed.args.pop());var ye=r.parsed.args;return le.coordGrammar&&Object.entries(De.coords).forEach(function(_e,Oe){var $e,Re=we(_e,2),Be=Re[0],ve=Re[1],Me=le.coordGrammar[Oe],Q=($e=ye[Oe])===null||$e===void 0?void 0:$e.type;if(Me=Me.find(function(Ve){return Ve==Q}),!Me){var Ee=ve.name||Be;throw new TypeError("".concat(Q," not allowed for ").concat(Ee," in ").concat(n,"()"))}var me=Me.range;Q==="<percentage>"&&(me||(me=[0,1]));var Ce=ve.range||ve.refRange;me&&Ce&&(ye[Oe]=ss(me,Ce,ye[Oe]));}),{v:{spaceId:De.id,coords:ye,alpha:he}}}},N;for(_.s();!(R=_.n()).done;)if(N=L(),N)return N.v}catch(fe){_.e(fe);}finally{_.f();}}}else {var H=at(qe.all),j;try{for(H.s();!(j=H.n()).done;){var W=j.value;for(var U in W.formats){var J=W.formats[U];if(J.type==="custom"&&!(J.test&&!J.test(r.str))){var re=J.parse(r.str);if(re){var se;return (se=re.alpha)!==null&&se!==void 0||(re.alpha=1),re}}}}}catch(fe){H.e(fe);}finally{H.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function st(e){if(!e)throw new TypeError("Empty color reference");fa(e)&&(e=Nc(e));var t=e.space||e.spaceId;return t instanceof qe||(e.space=qe.get(t)),e.alpha===void 0&&(e.alpha=1),e}function pa(e,t){return t=qe.get(t),t.from(e)}function rr(e,t){var r=qe.resolveCoord(t,e.space),n=r.space,a=r.index,i=pa(e,n);return i[a]}function qc(e,t,r){return t=qe.get(t),e.coords=t.to(e.space,r),e}function Zr(e,t,r){if(e=st(e),arguments.length===2&&Kr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Zr(e,a,n[a]);}else {typeof r=="function"&&(r=r(rr(e,t)));var i=qe.resolveCoord(t,e.space),o=i.space,s=i.index,l=pa(e,o);l[s]=r,qc(e,o,l);}return e}var us=new qe({id:"xyz-d50",name:"XYZ D50",white:"D50",base:tr,fromBase:function(t){return Di(tr.white,"D50",t)},toBase:function(t){return Di("D50",tr.white,t)},formats:{color:{}}}),Wy=216/24389,Bc=24/116,_i=24389/27,cs=pr.D50,Ut=new qe({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>Wy?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]>Bc?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]>Bc?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 Uy(e,t){if(e==="raw")return t;var r=t.map(Ai),n=we(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 qe({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:Ut,fromBase:function(t){var r=we(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=we(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>"]}}}),Hc=Math.pow(25,7),Ei=Math.PI,Vc=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=Ut.from(e),c=we(u,3),p=c[0],b=c[1],_=c[2],R=ma.from(Ut,[p,b,_])[1],L=Ut.from(t),N=we(L,3),H=N[0],j=N[1],W=N[2],U=ma.from(Ut,[H,j,W])[1];R<0&&(R=0),U<0&&(U=0);var J=(R+U)/2,re=Math.pow(J,7),se=.5*(1-Math.sqrt(re/(re+Hc))),fe=(1+se)*b,De=(1+se)*j,le=Math.sqrt(Math.pow(fe,2)+Math.pow(_,2)),he=Math.sqrt(Math.pow(De,2)+Math.pow(W,2)),ye=fe===0&&_===0?0:Math.atan2(_,fe),_e=De===0&&W===0?0:Math.atan2(W,De);ye<0&&(ye+=2*Ei),_e<0&&(_e+=2*Ei),ye*=Vc,_e*=Vc;var Oe=H-p,$e=he-le,Re=_e-ye,Be=ye+_e,ve=Math.abs(Re),Me;le*he===0?Me=0:ve<=180?Me=Re:Re>180?Me=Re-360:Re<-180?Me=Re+360:console.log("the unthinkable has happened");var Q=2*Math.sqrt(he*le)*Math.sin(Me*Fn/2),Ee=(p+H)/2,me=(le+he)/2,Ce=Math.pow(me,7),Ve;le*he===0?Ve=Be:ve<=180?Ve=Be/2:Be<360?Ve=(Be+360)/2:Ve=(Be-360)/2;var ke=Math.pow(Ee-50,2),Pe=1+.015*ke/Math.sqrt(20+ke),Qe=1+.045*me,lt=1;lt-=.17*Math.cos((Ve-30)*Fn),lt+=.24*Math.cos(2*Ve*Fn),lt+=.32*Math.cos((3*Ve+6)*Fn),lt-=.2*Math.cos((4*Ve-63)*Fn);var dt=1+.015*me*lt,xt=30*Math.exp(-1*Math.pow((Ve-275)/25,2)),Ct=2*Math.sqrt(Ce/(Ce+Hc)),Et=-1*Math.sin(2*xt*Fn)*Ct,ht=Math.pow(Oe/(a*Pe),2);return ht+=Math.pow($e/(o*Qe),2),ht+=Math.pow(Q/(l*dt),2),ht+=Et*($e/(o*Qe))*(Q/(l*dt)),Math.sqrt(ht)}var Xy=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?Xy:n;e=st(e),t=qe.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 Qr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Dr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(fa(arguments[1])&&(i=arguments[1]),i=qe.get(i),ha(e,i,{epsilon:0}))return e;var o=nr(e,i);if(n!=="clip"&&!ha(e,i)){var s=Qr(ga(o),{method:"clip",space:i});if(ds(e,s)>2){for(var l=qe.resolveCoord(n),u=l.space,c=l.id,p=nr(o,u),b=l.range||l.refRange,_=b[0],R=.01,L=_,N=rr(p,c);N-L>R;){var H=ga(p);H=Qr(H,{space:i,method:"clip"});var j=ds(p,H);j-2<R?L=rr(p,c):N=rr(p,c),Zr(p,c,(L+N)/2);}o=nr(p,i);}else o=s;}if(n==="clip"||!ha(o,i,{epsilon:0})){var W=Object.values(i.coords).map(function(U){return U.range||[]});o.coords=o.coords.map(function(U,J){var re=we(W[J],2),se=re[0],fe=re[1];return se!==void 0&&(U=Math.max(se,U)),fe!==void 0&&(U=Math.min(U,fe)),U});}return i!==e.space&&(o=nr(o,e.space)),e.coords=o.coords,e}Qr.returns="color";function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=st(e),t=qe.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=Qr(i)),i}nr.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?Dr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=Z(n,v),p;e=st(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:qe.DEFAULT_FORMAT,u||(u=s.toGamut);var _=e.coords;if(_=_.map(function(U){return U||0}),u&&!ha(e)&&(_=Qr(ga(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)p=s.serialize(_,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?_=s.serializeCoords(_,i):i!==null&&(_=_.map(function(U){return wi(U,i)}));var L=Te(_);if(R==="color"){var N,H=s.id||((N=s.ids)===null||N===void 0?void 0:N[0])||e.space.id;L.unshift(H);}var j=e.alpha;i!==null&&(j=wi(j,i));var W=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(j):"";p="".concat(R,"(").concat(L.join(s.commas?", ":" ")).concat(W,")");}return p}var Yy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Ky=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Si=new $t({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Yy,fromXYZ_M:Ky,formats:{color:{}}}),ki=1.09929682680944,jc=.018053968510807,$c=new $t({id:"rec2020",name:"REC.2020",base:Si,toBase:function(t){return t.map(function(r){return r<jc*4.5?r/4.5:Math.pow((r+ki-1)/ki,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=jc?ki*Math.pow(r,.45)-(ki-1):4.5*r})},formats:{color:{}}}),Jy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Zy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],zc=new $t({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Jy,fromXYZ_M:Zy}),Qy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],e0=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Gc=new $t({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Qy,fromXYZ_M:e0,formats:{color:{}}}),Wc={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]"),Xc=Array(3).fill("<number>[0, 255]"),va=new $t({id:"srgb",name:"sRGB",base:Gc,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:Xc,noAlpha:true},color:{},rgba:{coords:Uc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Xc},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=Wc.black,r.alpha=0):r.coords=Wc[t],r.coords)return r}}}}),Yc=new $t({id:"p3",name:"P3",base:zc,fromBase:va.fromBase,toBase:va.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=va,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var fs=0,Kc=[Ut,$c,Yc];fs<Kc.length;fs++){var ps=Kc[fs],t0=ps.getMinCoords(),r0={space:ps,coords:t0,alpha:1},n0=Ci(r0);if(CSS.supports("color",n0)){Dr.display_space=ps;break}}function a0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Dr.display_space:n,i=Z(r,w),o=Ci(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Dr.display_space)o=new String(o),o.color=e;else {var s=nr(e,a);o=new String(Ci(s,i)),o.color=s;}return o}function Jc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=qe.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 i0(e,t){return e=st(e),t=st(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function en(e){return rr(e,[tr,"y"])}function Zc(e,t){Zr(e,[tr,"y"],t);}function o0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return en(this)},set:function(r){Zc(this,r);}});}var s0=Object.freeze({__proto__:null,getLuminance:en,setLuminance:Zc,register:o0});function l0(e,t){e=st(e),t=st(t);var r=Math.max(en(e),0),n=Math.max(en(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var u0=.56,c0=.57,d0=.62,f0=.65,Qc=.022,p0=1.414,m0=.1,h0=5e-4,g0=1.14,ed=.027,v0=1.14;function td(e){return e>=Qc?e:e+Math.pow(Qc-e,p0)}function In(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function b0(e,t){t=st(t),e=st(e);var r,n,a,i,o,s;t=nr(t,"srgb");var l=we(t.coords,3);i=l[0],o=l[1],s=l[2];var u=In(i)*.2126729+In(o)*.7151522+In(s)*.072175;e=nr(e,"srgb");var c=we(e.coords,3);i=c[0],o=c[1],s=c[2];var p=In(i)*.2126729+In(o)*.7151522+In(s)*.072175,b=td(u),_=td(p),R=_>b;return Math.abs(_-b)<h0?n=0:R?(r=Math.pow(_,u0)-Math.pow(b,c0),n=r*g0):(r=Math.pow(_,f0)-Math.pow(b,d0),n=r*v0),Math.abs(n)<m0?a=0:n>0?a=n-ed:a=n+ed,a*100}function y0(e,t){e=st(e),t=st(t);var r=Math.max(en(e),0),n=Math.max(en(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 w0=5e4;function x0(e,t){e=st(e),t=st(t);var r=Math.max(en(e),0),n=Math.max(en(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?w0:(r-n)/n}function D0(e,t){e=st(e),t=st(t);var r=rr(e,[Ut,"l"]),n=rr(t,[Ut,"l"]);return Math.abs(r-n)}var _0=216/24389,rd=24/116,Ti=24389/27,ms=pr.D65,hs=new qe({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ms,base:tr,fromBase:function(t){var r=t.map(function(a,i){return a/ms[i]}),n=r.map(function(a){return a>_0?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]>rd?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]>rd?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 A0(e,t){e=st(e),t=st(t);var r=rr(e,[hs,"l"]),n=rr(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:l0,contrastAPCA:b0,contrastMichelson:y0,contrastWeber:x0,contrastLstar:D0,contrastDeltaPhi:A0});function E0(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,C);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=st(e),t=st(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 nd(e){var t=pa(e,tr),r=we(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 ad(e){var t=pa(e,tr),r=we(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function C0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return nd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return ad(this)}});}var S0=Object.freeze({__proto__:null,uv:nd,xy:ad,register:C0});function k0(e,t){return Jc(e,t,"lab")}var T0=Math.PI,id=T0/180;function R0(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=Ut.from(e),l=we(s,3),u=l[0],c=l[1],p=l[2],b=ma.from(Ut,[u,c,p]),_=we(b,3),R=_[1],L=_[2],N=Ut.from(t),H=we(N,3),j=H[0],W=H[1],U=H[2],J=ma.from(Ut,[j,W,U])[1];R<0&&(R=0),J<0&&(J=0);var re=u-j,se=R-J,fe=c-W,De=p-U,le=Math.pow(fe,2)+Math.pow(De,2)-Math.pow(se,2),he=.511;u>=16&&(he=.040975*u/(1+.01765*u));var ye=.0638*R/(1+.0131*R)+.638,_e;Number.isNaN(L)&&(L=0),L>=164&&L<=345?_e=.56+Math.abs(.2*Math.cos((L+168)*id)):_e=.36+Math.abs(.4*Math.cos((L+35)*id));var Oe=Math.pow(R,4),$e=Math.sqrt(Oe/(Oe+1900)),Re=ye*($e*_e+1-$e),Be=Math.pow(re/(a*he),2);return Be+=Math.pow(se/(o*ye),2),Be+=le/Math.pow(Re,2),Math.sqrt(Be)}var od=203,vs=new qe({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:tr,fromBase:function(t){return t.map(function(r){return Math.max(r*od,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/od,0)})}}),Fi=1.15,Ii=.66,sd=2610/Math.pow(2,14),F0=Math.pow(2,14)/2610,ld=3424/Math.pow(2,12),ud=2413/Math.pow(2,7),cd=2392/Math.pow(2,7),I0=1.7*2523/Math.pow(2,5),dd=Math.pow(2,5)/(1.7*2523),Li=-0.56,bs=16295499532821565e-27,L0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],P0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],M0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],O0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],fd=new qe({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=we(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(L0,[o,s,i]),u=l.map(function(N){var H=ld+ud*Math.pow(N/1e4,sd),j=1+cd*Math.pow(N/1e4,sd);return Math.pow(H/j,I0)}),c=_t(M0,u),p=we(c,3),b=p[0],_=p[1],R=p[2],L=(1+Li)*b/(1+Li*b)-bs;return [L,_,R]},toBase:function(t){var r=we(t,3),n=r[0],a=r[1],i=r[2],o=(n+bs)/(1+Li-Li*(n+bs)),s=_t(O0,[o,a,i]),l=s.map(function(N){var H=ld-Math.pow(N,dd),j=cd*Math.pow(N,dd)-ud,W=1e4*Math.pow(H/j,F0);return W}),u=_t(P0,l),c=we(u,3),p=c[0],b=c[1],_=c[2],R=(p+(Fi-1)*_)/Fi,L=(b+(Ii-1)*R)/Ii;return [R,L,_]},formats:{color:{}}}),ys=new qe({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:fd,fromBase:function(t){var r=we(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 N0(e,t){var r=ys.from(e),n=we(r,3),a=n[0],i=n[1],o=n[2],s=ys.from(t),l=we(s,3),u=l[0],c=l[1],p=l[2],b=a-u,_=i-c;Number.isNaN(o)&&Number.isNaN(p)?(o=0,p=0):Number.isNaN(o)?o=p:Number.isNaN(p)&&(p=o);var R=o-p,L=2*Math.sqrt(i*c)*Math.sin(R/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(_,2)+Math.pow(L,2))}var pd=3424/4096,md=2413/128,hd=2392/128,gd=2610/16384,q0=2523/32,B0=16384/2610,vd=32/2523,H0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],V0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],j0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],$0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ws=new qe({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(H0,t);return z0(r)},toBase:function(t){var r=G0(t);return _t($0,r)},formats:{color:{}}});function z0(e){var t=e.map(function(r){var n=pd+md*Math.pow(r/1e4,gd),a=1+hd*Math.pow(r/1e4,gd);return Math.pow(n/a,q0)});return _t(V0,t)}function G0(e){var t=_t(j0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,vd)-pd,0),i=md-hd*Math.pow(n,vd);return 1e4*Math.pow(a/i,B0)});return r}function W0(e,t){var r=ws.from(e),n=we(r,3),a=n[0],i=n[1],o=n[2],s=ws.from(t),l=we(s,3),u=l[0],c=l[1],p=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-p,2))}var U0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],X0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],Y0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],K0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Pi=new qe({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:tr,fromBase:function(t){var r=_t(U0,t),n=r.map(function(a){return Math.cbrt(a)});return _t(Y0,n)},toBase:function(t){var r=_t(K0,t),n=r.map(function(a){return Math.pow(a,3)});return _t(X0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function J0(e,t){var r=Pi.from(e),n=we(r,3),a=n[0],i=n[1],o=n[2],s=Pi.from(t),l=we(s,3),u=l[0],c=l[1],p=l[2],b=a-u,_=i-c,R=o-p;return Math.sqrt(Math.pow(b,2)+Math.pow(_,2)+Math.pow(R,2))}var xs=Object.freeze({__proto__:null,deltaE76:k0,deltaECMC:R0,deltaE2000:ds,deltaEJz:N0,deltaEITP:W0,deltaEOK:J0});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?Dr.deltaE:a,o=Z(n,E);e=st(e),t=st(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 Z0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=qe.get("oklch","lch"),n=[r,"l"];return Zr(e,n,function(a){return a*(1+t)})}function Q0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=qe.get("oklch","lch"),n=[r,"l"];return Zr(e,n,function(a){return a*(1-t)})}var ew=Object.freeze({__proto__:null,lighten:Z0,darken:Q0});function bd(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=[st(e),st(t)];if(e=a[0],t=a[1],Kr(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 yd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Ds(e)){n=e,r=t;var a=we(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,p=c===void 0?1e3:c,b=Z(i,A);if(!n){var _=[st(e),st(t)];e=_[0],t=_[1],n=ya(e,t,b);}var R=ba(e,t),L=o>0?Math.max(u,Math.ceil(R/o)+1):u,N=[];if(p!==void 0&&(L=Math.min(L,p)),L===1)N=[{p:.5,color:n(.5)}];else {var H=1/(L-1);N=Array.from({length:L},function(fe,De){var le=De*H;return {p:le,color:n(le)}});}if(o>0)for(var j=N.reduce(function(fe,De,le){if(le===0)return 0;var he=ba(De.color,N[le-1].color,s);return Math.max(fe,he)},0);j>o;){j=0;for(var W=1;W<N.length&&N.length<p;W++){var U=N[W-1],J=N[W],re=(J.p+U.p)/2,se=n(re);j=Math.max(j,ba(se,U.color),ba(se,J.color)),N.splice(W,0,{p:re,color:n(re)}),W++;}}return N=N.map(function(fe){return fe.color}),N}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,Te(n.rangeArgs.colors).concat([Le({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=st(e),t=st(t),e=ga(e),t=ga(t);var u={colors:[e,t],options:r};if(i?i=qe.get(i):i=qe.registry[Dr.interpolationSpace]||e.space,o=o?qe.get(o):i,e=nr(e,i),t=nr(t,i),e=Qr(e),t=Qr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",p=[i,"h"],b=[rr(e,p),rr(t,p)],_=b[0],R=b[1],L=Uy(c,[_,R]),N=we(L,2);_=N[0],R=N[1],Zr(e,p,_),Zr(t,p,R);}return l&&(e.coords=e.coords.map(function(H){return H*e.alpha}),t.coords=t.coords.map(function(H){return H*t.alpha})),Object.assign(function(H){H=s?s(H):H;var j=e.coords.map(function(J,re){var se=t.coords[re];return xi(J,se,H)}),W=xi(e.alpha,t.alpha,H),U={space:i,coords:j,alpha:W};return l&&(U.coords=U.coords.map(function(J){return J/W})),o!==i&&(U=nr(U,o)),U},{rangeArgs:u})}function Ds(e){return Kr(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function tw(e){e.defineFunction("mix",bd,{returns:"color"}),e.defineFunction("range",ya,{returns:"function<color>"}),e.defineFunction("steps",yd,{returns:"array<color>"});}var rw=Object.freeze({__proto__:null,mix:bd,steps:yd,range:ya,isRange:Ds,register:tw}),wd=new qe({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,Te(t)),n=Math.min.apply(Math,Te(t)),a=we(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,p=r-n;if(p!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/p+(o<s?6:0);break;case o:l=(s-i)/p+2;break;case s:l=(i-o)/p+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=we(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}}}),xd=new qe({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:wd,fromBase:function(t){var r=we(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=we(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}}}),nw=new qe({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:xd,fromBase:function(t){var r=we(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=we(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>"]}}}),aw=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],iw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Dd=new $t({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:aw,fromXYZ_M:iw}),ow=new $t({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Dd,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"}}}),sw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],lw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],_d=new $t({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:us,toXYZ_M:sw,fromXYZ_M:lw}),uw=1/512,cw=16/512,dw=new $t({id:"prophoto",name:"ProPhoto",base:_d,toBase:function(t){return t.map(function(r){return r<cw?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=uw?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),fw=new qe({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=we(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=we(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,Ed=2610/Math.pow(2,14),pw=Math.pow(2,14)/2610,mw=2523/Math.pow(2,5),Cd=Math.pow(2,5)/2523,Sd=3424/Math.pow(2,12),kd=2413/Math.pow(2,7),Td=2392/Math.pow(2,7),hw=new $t({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,Cd)-Sd,0)/(kd-Td*Math.pow(r,Cd)),pw);return n*1e4/Ad})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Ad/1e4,0),a=Sd+kd*Math.pow(n,Ed),i=1+Td*Math.pow(n,Ed);return Math.pow(a/i,mw)})},formats:{color:{id:"rec2100-pq"}}}),Rd=.17883277,Fd=.28466892,Id=.55991073,_s=3.7743,gw=new $t({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-Id)/Rd+Fd)/12*_s})},fromBase:function(t){return t.map(function(r){return r/=_s,r<=1/12?Math.sqrt(3*r):Rd*Math.log(12*r-Fd)+Id})},formats:{color:{id:"rec2100-hlg"}}}),Ld={};Jr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Pd(e.W1,e.W2,e.options.method));}),Jr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Pd(e.W1,e.W2,e.options.method));});function Mi(e){var t=e.id;e.toCone_M;e.fromCone_M;Ld[t]=arguments[0];}function Pd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Ld[r],a=_t(n.toCone_M,e),i=we(a,3),o=i[0],s=i[1],l=i[2],u=_t(n.toCone_M,t),c=we(u,3),p=c[0],b=c[1],_=c[2],R=[[p/o,0,0],[0,b/s,0],[0,0,_/l]],L=_t(R,n.toCone_M),N=_t(n.fromCone_M,L);return N}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(pr,{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]}),pr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var vw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],bw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Md=new $t({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:pr.ACES,toXYZ_M:vw,fromXYZ_M:bw,formats:{color:{}}}),Oi=Math.pow(2,-16),As=-0.35828683,Ni=(Math.log2(65504)+9.72)/17.52,yw=new $t({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:Md,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:{}}}),Od=Object.freeze({__proto__:null,XYZ_D65:tr,XYZ_D50:us,XYZ_ABS_D65:vs,Lab_D65:hs,Lab:Ut,LCH:ma,sRGB_Linear:Gc,sRGB:va,HSL:wd,HWB:nw,HSV:xd,P3_Linear:zc,P3:Yc,A98RGB_Linear:Dd,A98RGB:ow,ProPhoto_Linear:_d,ProPhoto:dw,REC_2020_Linear:Si,REC_2020:$c,OKLab:Pi,OKLCH:fw,Jzazbz:fd,JzCzHz:ys,ICTCP:ws,REC_2100_PQ:hw,REC_2100_HLG:gw,ACEScg:Md,ACEScc:yw}),ct=(ge=new WeakMap,(function(){function e(){var t=this;Qt(this,e),yr(this,ge,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=st(a[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=a[0],s=a[1],l=a[2]),Tt(ge,this,qe.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(_){Object.defineProperty(t,_,{get:function(){return t.get(_)},set:function(L){return t.set(_,L)}});};for(var p in Ht(ge,this).coords)c(p);}return Vt(e,[{key:"space",get:function(){return Ht(ge,this)}},{key:"spaceId",get:function(){return Ht(ge,this).id}},{key:"clone",value:function(){return new ct(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=a0.apply(void 0,[this].concat(n));return i.color=new ct(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ct)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 te(ct,[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=ct.get(c);else if(s==="function<color>"){var p=c;c=function(){var _=p.apply(void 0,arguments);return ct.get(_)},Object.assign(c,p);}else s==="array<color>"&&(c=c.map(function(b){return ct.get(b)}));return c};r in ct||(ct[r]=l),o&&(ct.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),p=0;p<u;p++)c[p]=arguments[p];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var n in r)ct.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(ct);else for(var n in r)ct.defineFunction(n,r[n]);}}])})());ct.defineFunctions({get:rr,getAll:pa,set:Zr,setAll:qc,to:nr,equals:i0,inGamut:ha,toGamut:Qr,distance:Jc,toString:Ci}),Object.assign(ct,{util:jy,hooks:Jr,WHITES:pr,Space:qe,spaces:qe.registry,parse:Nc,defaults:Dr});for(var Es=0,Nd=Object.keys(Od);Es<Nd.length;Es++){var ww=Nd[Es];qe.register(Od[ww]);}for(var qd in qe.registry)Cs(qd,qe.registry[qd]);Jr.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(ct.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 qe.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=qe.resolveCoord([t,l]),p=c.index;if(p>=0)return s[p]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&de(l)!=="symbol"&&!(l in s)||l>=0){var p=qe.resolveCoord([t,l]),b=p.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});}ct.extend(xs),ct.extend({deltaE:ba}),ct.extend(ew),ct.extend({contrast:E0}),ct.extend(S0),ct.extend(s0),ct.extend(rw),ct.extend(Ri);var Bd=wr(uc());Yr.default.templateSettings.strip=false,m._memoizedFns=[];function xw(e){var t=(0, Fc.default)(e);return m._memoizedFns.push(t),t}var pt=xw,Dw=pt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),wa=Dw;function Ss(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||h;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var _w=["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"],Aw=31,Ew=/([\\"])/g,Cw=/(\r\n|\r|\n)/g;function ks(e){return e.replace(Ew,"\\$1").replace(Cw,"\\a ")}function Hd(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=kc(e.getAttribute(r));a?n=wt(t.name)+'$="'+ks(a)+'"':n=wt(t.name)+'="'+ks(e.getAttribute(r))+'"';}else n=wt(r)+'="'+ks(t.value)+'"';return n}function Ts(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Vd(e){return !_w.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Aw)}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=wt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(da(s)).filter(Vd).forEach(function(u){var c=Hd(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 Sw(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=wt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Ts)}function kw(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 Tw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||h,r="#"+wt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function jd(e){var t=wa(h);return wt(t?e.localName:e.nodeName.toLowerCase())}function Rw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(da(e)).filter(Vd).forEach(function(i){var o=Hd(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Ts)}function Fw(e,t){var r="",n,a=Sw(e,t),i=Rw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=jd(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=jd(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 Iw(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=Tw(e);s||(s=Fw(e,m._selectorData),s+=kw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Ue.selectorSimilarFilterLimit?o=Pw(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 Lw(e,t){return Ss(Iw,e,t)}var Rs=pt(Lw),Pw=pt(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 zd(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=zd(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&&wt(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 Mw(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 Ow(e){var t=zd(e);return Mw(t)}var Gd=Ow,xa={},Nw={set:function(t,r){qw(t),xa[t]=r;},get:function(t,r){if(Bw(r),t in xa)return xa[t];if(typeof r=="function"){var n=r();return rt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),xa[t]}},clear:function(){xa={};}};function qw(e){rt(typeof e=="string","key must be a string, "+de(e)+" given"),rt(e!=="","key must not be empty");}function Bw(e){rt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+de(e)+" given");}var We=Nw;function Hw(e,t){var r=t||e;return We.get("nodeMap")?We.get("nodeMap").get(r):null}var Ye=Hw;function Wd(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=Vw(e);return l.length>n?jw(e,{maxLength:n,attrLimit:i}):l}function Vw(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function jw(e,t){var r=t.maxLength,n=t.attrLimit,a=wa(e.ownerDocument||h)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(da(e)).map(function(R){var L=R.name,N=R.value;return {name:L,value:N}}),o=i.reduce(function(R,L){var N=L.name,H=L.value;return R+N.length+H.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=at(i),p;try{for(c.s();!(p=c.n()).done;){var b=p.value,_=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+_.length>r-u.length){l=u;continue}s+=_;}}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=pt(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 Rt?(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,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Wd(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||[Gd(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 Le({},t,{selector:[].concat(Te(r.selector),Te(t.selector)),ancestry:[].concat(Te(r.ancestry),Te(t.ancestry)),xpath:[].concat(Te(r.xpath),Te(t.xpath)),nodeIndexes:[].concat(Te(r.nodeIndexes),Te(t.nodeIndexes)),fromFrame:true})},yn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;We.set(Ud,{elementRef:r,absolutePaths:n});};var ar=yn;function $w(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 Rt?i=[i]:i=Sc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Rt&&(o=o.actualNode),o instanceof d.Node){var s=new ar(o);e.relatedNodes.push(s);}}));}}}var Is=$w;function qr(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 Rc.CssSelectorParser;Da.registerSelectorPseudos("not"),Da.registerSelectorPseudos("is"),Da.registerNestingOperators(">"),Da.registerAttrEqualityMods("^","$","*","~");var Xd=Da;function Ps(e,t){var r=Hi(t);return r.some(function(n){return Ln(e,n)})}function zw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Gw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Ww(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function Uw(e,t){return !t.id||e.props.id===t.id}function Xw(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 Yd(e,t){return zw(e,t)&&Gw(e,t)&&Ww(e,t)&&Uw(e,t)&&Xw(e,t)}var _a=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ms=/\\/g;function Yw(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 Kw(e){if(e)return e.map(function(t){return t=t.replace(Ms,""),{value:t,regexp:new RegExp("(^|\\s)"+_a(t)+"(\\s|$)")}})}function Jw(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=Kd(r)),{name:t.name,expressions:r,value:t.value}})}function Kd(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:Yw(n.attrs),classes:Kw(n.classNames),pseudos:Jw(n.pseudos)}),n=n.rule;return r})}function Hi(e){var t=Xd.parse(e);return t=t.selectors?t.selectors:[t],Kd(t)}function Jd(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Yd(e,i);!o&&n&&e.parent;)e=e.parent,o=Yd(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&&Jd(e.parent,t,r-1,i.combinator===" ");}return o}function Ln(e,t,r){return Jd(e,t,t.length-1,r)}function Zw(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 Xt=Zw;function Vi(){}function Os(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Qw(){var e=[],t=0,r=0,n=Vi,a=false,i,o=function(_){i=_,setTimeout(function(){i!=null&&bn("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(_){e[b]=_,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 _=e[t];try{_.call(null,l(t),u);}catch(R){u(R);}}}var p={defer:function(_){if(de(_)==="object"&&_.then&&_.catch){var R=_;_=function(N,H){R.then(N).catch(H);};}if(Os(_),i===void 0){if(a)throw new Error("Queue already completed");return e.push(_),++r,c(),p}},then:function(_){if(Os(_),n!==Vi)throw new Error("queue `then` already set");return i||(n=_,r||(a=true,n(e))),p},catch:function(_){if(Os(_),s!==o)throw new Error("queue `catch` already set");return i?(_(i),i=null):s=_,p},abort:u};return p}var _r=Qw,Pn,Mn,Ns=d.crypto||d.msCrypto;if(!Mn&&Ns&&Ns.getRandomValues){var Zd=new Uint8Array(16);Mn=function(){return Ns.getRandomValues(Zd),Zd};}if(!Mn){var Qd=new Array(16);Mn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Qd[t]=r>>>((t&3)<<3)&255;return Qd};}for(var ef=typeof d.Buffer=="function"?d.Buffer:Array,qs=[],tf={},On=0;On<256;On++)qs[On]=(On+256).toString(16).substr(1),tf[qs[On]]=On;function ex(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++]=tf[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 tn=Mn(),tx=[tn[0]|1,tn[1],tn[2],tn[3],tn[4],tn[5]],rf=(tn[6]<<8|tn[7])&16383,Hs=0,Vs=0;function nf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:rf,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,rf=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 p=e.node||tx,b=0;b<6;b++)a[n+b]=p[b];return t||Bs(a)}function wn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new ef(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=nf,Pn.v4=wn,Pn.parse=ex,Pn.unparse=Bs,Pn.BufferClass=ef,m._uuid=nf();var rx=wn,nx=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function ax(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:af()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function ix(e){var t;try{t=JSON.parse(e);}catch{return}if(ox(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=de(t.error)==="object"?sx(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function ox(e){return e!==null&&de(e)==="object"&&typeof e.channelId=="string"&&e.source===af()}function sx(e){var t=e.message||"Unknown error occurred",r=nx.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
367
|
+
`+e.stack.replace(e.message,"")),new n(t)}function af(){var e="axeAPI",t="";return typeof m<"u"&&m._audit&&m._audit.application&&(e=m._audit.application),typeof m<"u"&&(t=m.version),e+"."+t}function js(e){sf(e),rt(d.parent===e,"Source of the response must be the parent window.");}function of(e){sf(e),rt(e.parent===d,"Respondable target must be a frame in the current window");}function sf(e){rt(d!==e,"Messages can not be sent to the same window.");}var Aa={};function lx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;rt(!Object.prototype.hasOwnProperty.call(Aa,e),"A replyHandler already exists for this message channel."),Aa[e]={replyHandler:t,sendToParent:r};}function ux(e){return Object.prototype.hasOwnProperty.call(Aa,e)?Aa[e]:void 0}function cx(e){delete Aa[e];}var ji=[];function $s(){var e="".concat(wn(),":").concat(wn());return ji.includes(e)?$s():(ji.push(e),e)}function dx(e){return ji.includes(e)?false:(ji.push(e),true)}function zs(e,t,r,n){if(r?js(e):of(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=ax(Le({messageId:$s()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&lx(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 fx(e,t,r){if(!e.parent!==d)return m.log(t);try{zs(e,{topic:null,channelId:r,message:t,messageId:$s(),keepalive:!0},!0);}catch(n){return m.log(n)}}function lf(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 px(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function mx(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=ix(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!px(r)||!dx(l))return;if(s instanceof Error&&a.parent!==d)return m.log(s),!1;try{if(i.topic){var u=lf(a,o);js(a),t(i,u);}else hx(a,i);}catch(c){fx(a,c,o);}}catch(c){return m.log(c),false}}function hx(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=ux(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?js(e):of(e);var l=lf(e,r,s);!a&&r&&cx(r);try{o(n,a,l);}catch(u){m.log(u),l(u,a);}}}var gx={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){mx(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 uf(e){e.updateMessenger(gx);}var $i,cf,zi={};function hr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(wn(),":").concat(wn()),keepalive:n};return cf(e,i,a)}function vx(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){m.log(o),t(o,a);}}hr.updateMessenger=function(t){var r=t.open,n=t.post;rt(typeof r=="function","open callback must be a function"),rt(typeof n=="function","post callback must be a function"),$i&&$i();var a=r(vx);a?(rt(typeof a=="function","open callback must return a cleanup function"),$i=a):$i=null,cf=n;},hr.subscribe=function(t,r){rt(typeof r=="function","Subscriber callback must be a function"),rt(!Object.prototype.hasOwnProperty.call(zi,t),"Topic ".concat(t," is already registered to.")),zi[t]=r;},hr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},uf(hr);function df(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){ff(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(pf("No response from frame",e)):r(null);},0);},s);hr(o,"axe.ping",null,void 0,function(){clearTimeout(l),ff(e,t,r,n);});}function ff(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(pf("Axe in frame timed out",e));},o);hr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function pf(e,t){var r;return m._tree&&(r=Rs(t)),new Error(e+": "+(r||t))}var Ea=null,Ca={update:function(t){rt(de(t)==="object","serializer must be an object"),Ea=t;},toSpec:function(t){return Ca.dqElmToSpec(new ar(t))},dqElmToSpec:function(t,r){var n;return t instanceof ar?(r&&(t=bx(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):ar.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Le({},r,{nodes:Ca.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=Z(r,S);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,F);return c.relatedNodes=u.map(Ca.dqElmToSpec),c});}return a})}},ir=Ca;function bx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new ar(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 yx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Gi=yx;function wx(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=wx;function xx(e,t,r){e.forEach(function(n){n.node=ir.mergeSpecs(n.node,r);var a=Gi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return ir.mergeSpecs(o,r)});});});}function Dx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=mf(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(Te(t)));return}}e.push.apply(e,Te(t));}function _x(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Ax(e,t){var r=[];return e.forEach(function(n){var a=_x(n);if(!(!a||!a.length)){var i=Ex(n);a.forEach(function(o){o.nodes&&i&&xx(o.nodes,t,i);var s=Sa(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Dx(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 mf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function mf(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var Wi=Ax;function Ex(e){return e.frameElement?ir.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function hf(e,t,r,n,a,i){t=Le({},t,{elementRef:false});var o=_r(),s=e.frames;s.forEach(function(l){var u=l.node,c=Z(l,D);o.defer(function(p,b){var _={options:t,command:r,parameter:n,context:c};function R(L){return p(L?{results:L,frameElement:u}:null)}df(u,_,R,b);});}),o.then(function(l){a(Wi(l,t));}).catch(i);}function Br(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 gf(){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]=gf(e[s],a[s]);}}),e}var Gs=gf;function Cx(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 Ws=Cx,Sx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function kx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Sx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Ui=kx,Us={};ur(Us,{createGrid:function(){return Fa},findElmsInContext:function(){return vf},findNearbyElms:function(){return to},findUp:function(){return qn},findUpVirtual:function(){return Nn},focusDisabled:function(){return nl},getComposedParent:function(){return Ft},getElementByReference:function(){return il},getElementCoordinates:function(){return Ks},getElementStack:function(){return Zf},getModalDialog:function(){return Uf},getNodeGrid:function(){return eo},getOverflowHiddenAncestors:function(){return Ta},getRootNode:function(){return Pt},getScrollOffset:function(){return If},getTabbableElements:function(){return Qf},getTargetRects:function(){return no},getTargetSize:function(){return ep},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 Ar},insertedIntoFocusOrder:function(){return $p},isCurrentPageLink:function(){return al},isFixedPosition:function(){return Yi},isFocusable:function(){return At},isHTML5:function(){return Wp},isHiddenForEveryone:function(){return rn},isHiddenWithCSS:function(){return tA},isInTabOrder:function(){return or},isInTextBlock:function(){return Cl},isInert:function(){return ro},isModalOpen:function(){return Ha},isMultiline:function(){return Xp},isNativelyFocusable:function(){return ll},isNode:function(){return dA},isOffscreen:function(){return Ki},isOpaque:function(){return xA},isSkipLink:function(){return Tl},isVisible:function(){return SA},isVisibleOnScreen:function(){return Yt},isVisibleToScreenReaders:function(){return vt},isVisualContent:function(){return Al},reduceToElementsBelowFloating:function(){return Yp},shadowElementsFromPoint:function(){return RA},urlPropsFromAttribute:function(){return OA},visuallyContains:function(){return Kp},visuallyOverlaps:function(){return Rl},visuallySort:function(){return ol}});function Tx(e){var t=e.getRootNode&&e.getRootNode()||h;return t===e&&(t=h),t}var ka=Tx,Pt=ka;function Rx(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=wt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Pt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var vf=Rx;function Fx(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!==h.documentElement);return !r||!Rn(r,t)?null:r}var Nn=Fx;function Ix(e,t){return Nn(Ye(e),t)}var qn=Ix;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 bf=pt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(bf(t.parent))}),Ta=bf,Lx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Px=/(\w+)\((\d+)/;function yf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function wf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function xf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Df(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function _f(e){return e.attr("aria-hidden")==="true"}function Af(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Ef(e){var t=jr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Cf(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"&&!Mx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Xs(i,s)})}function Sf(e){var t=e.getComputedStylePropertyValue("clip").match(Lx),r=e.getComputedStylePropertyValue("clip-path").match(Px);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=Xt(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=Zt(m._tree,'img[usemap="#'.concat(wt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function kf(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 Mx(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 Ox=[wf,xf,Df,kf];function rn(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=tt(e).vNode,r?Tf(e,a):Rf(e,a)}var Tf=pt(function(t,r){return yf(t)?true:t.actualNode?!!(Ox.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Rf=pt(function(t,r){return Tf(t,r)?true:t.parent?Rf(t.parent,true):false});function Ff(e){if(e.assignedSlot)return Ff(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Ft=Ff;function Nx(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 If=Nx;function qx(e){var t=If(h),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var Ks=qx;function Bx(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=Bx;function Yi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=tt(e),a=n.vNode;return a?r?Lf(a):Pf(a):false}var Lf=pt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Pf=pt(function(t){return Lf(t)?true:t.parent?Pf(t.parent):false});function Hx(e,t){for(e=Ft(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Ft(e);}return true}function Vx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=tt(e),a=n.domNode;if(a){var i=h.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(h.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&&(Hx(a,u.bottom)||o.position==="absolute"))return true;var c=Xi(d);if(l&&u.top>=c.height)return true;var p=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=p||(l||s==="ltr")&&u.right<=0)}}var Ki=Vx,jx=[Af,Ef,Cf,Sf,Ki];function Yt(e){return e=tt(e).vNode,Js(e)}var Js=pt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Ys(t,Js):rn(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&jx.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 Mf={};ur(Mf,{getBoundingRect:function(){return Zs},getIntersectionRect:function(){return Zi},getOffset:function(){return Nf},getRectCenter:function(){return Ra},hasVisualOverlap:function(){return Qs},isPointInRect:function(){return Ji},rectHasMinimumSize:function(){return Hr},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 Hr(e,t){var r=t.width,n=t.height;return r+Of>=e&&n+Of>=e}function Nf(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=at(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Ji(s,c))return 0;var p=$x(s,c),b=qf(s,p);i=Math.min(i,b);}}catch(H){l.e(H);}finally{l.f();}var _=ep(t);if(Hr(r*2,_))return i;var R=a.reduce(Zs),L=Ra(R),N=qf(s,L)-r;return Math.max(0,Math.min(i,N))},1/0)}function $x(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 qf(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=at(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(zx(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 zx(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(Wx(e,t))return [];l.push(e);}return l.map(Gx)}var Qi=function(t,r,n){return t>r&&t<n};function Gx(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Wx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Bf=0,Ux=.1,Hf=.2,Vf=.3,tl=0;function Fa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(We.get("gridCreated")&&!r)return Ue.gridSize;if(We.set("gridCreated",true),!r){var n=Ye(h.documentElement);if(n||(n=new Fl(h.documentElement)),tl=0,n._stackingOrder=[zf(Bf,tl++,null)],t??(t=new rl),Gf(t,n),jr(n.actualNode)){var a=new rl(n);n._subGrid=a;}}for(var i=h.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=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 m.VirtualNode(o,r)),s._stackingOrder=Xx(s,r,tl++);var l=Jx(s,r),u=l?l._subGrid:t;if(jr(s.actualNode)){var c=new rl(s);s._subGrid=c;}var p=s.boundingClientRect;p.width!==0&&p.height!==0&&Yt(o)&&Gf(u,s),Ui(o)&&Fa(o.shadowRoot,u,s),o=i.nextNode();}return Ue.gridSize}function jf(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 p=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(p!=="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 _=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(_)||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 Xx(e,t,r){var n=t._stackingOrder.slice();if(jf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Bf,Hf,Vf].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=Yx(e,t);return i!==null&&n.push(zf(i,r,e)),n}function zf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Yx(e,t){var r=Kx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Vf:e.getComputedStylePropertyValue("float")!=="none"?Hf:jf(e,t)?Ux:null:parseInt(r)}function Kx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!$f(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Jx(e,t){for(var r=null,n=[e];t;){if(jr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ye(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Gf(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;Qt(this,e),this.container=t,this.cells=[];}return Vt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Ue.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;rt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);rt(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,Wf(this.cells,s,l,function(u,c){Wf(u,i,o,function(p,b){n(p,{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 Wf(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=tt(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=at(l),c;try{for(u.s();!(c=u.n()).done;){var p=c.value;p&&p!==e&&!s.includes(p)&&i===Yi(p)&&s.push(p);}}catch(b){u.e(b);}finally{u.f();}}),s}var Zx=pt(function(){var t;if(!m._tree)return null;var r=Tr(m._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=h.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Yt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=h.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=Qx(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=h.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Uf=Zx;function Qx(e){Fa();var t=m._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?Xf(e,n):Yf(e,n)}var Xf=pt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Uf();if(n&&!Br(n,t))return true}return false}),Yf=pt(function(t,r){return Xf(t,r)?true:t.parent?Yf(t.parent,true):false}),eD=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function tD(e){return eD.includes(e)}function rD(e){var t=tt(e),r=t.vNode;if(tD(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?rn(r):false}var nl=rD,nD=/^\/\#/,aD=/^#[!/]/;function al(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(nD.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(aD.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 iD(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=h.getElementById(r);return n||(n=h.getElementsByName(r),n.length?n[0]:null)}var il=iD;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(N){return N.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(N){return N.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,p=a.compareDocumentPosition(i),b=p&l?1:-1,_=p&u||p&c,R=Kf(e),L=Kf(t);return R===L||_?b:L-R}function Kf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Jf(e)?1:0}function Jf(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=Jf(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 p=c.left,b=c.top;return i<Math.floor(p+c.width)&&i>=Math.floor(p)&&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(h.documentElement).filter(function(u,c,p){return p.indexOf(u)===c})),s}function oD(e){var t=eo(e);if(!t)return [];var r=Ye(e).boundingClientRect;return sl(t,r)}var Zf=oD;function sD(e){var t=Zt(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=kr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Qf=sD;function lD(e){var t=tt(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 !Zt(r,"summary").length}return false}var ll=lD;function At(e){var t=tt(e),r=t.vNode;if(r.props.nodeType!==1||nl(r))return false;if(ll(r))return true;var n=kr(r.attr("tabindex"));return n!==null}function or(e){var t=tt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=kr(r.attr("tabindex"));return n<=-1?false:At(r)}var no=pt(uD);function uD(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"&&!cD(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 cD(e,t){return Br(e,t)&&!or(t)}var ep=pt(dD);function dD(e,t){var r=no(e);return fD(r,t)}function fD(e,t){return e.reduce(function(r,n){var a=Hr(t,r),i=Hr(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={};ur(Ia,{accessibleText:function(){return xn},accessibleTextVirtual:function(){return It},autocomplete:function(){return _n},formControlValue:function(){return Fp},formControlValueMethods:function(){return gl},hasUnicode:function(){return yl},isHumanInterpretable:function(){return xl},isIconLigature:function(){return wl},isValidAutocomplete:function(){return qp},label:function(){return j_},labelText:function(){return vl},labelVirtual:function(){return lo},nativeElementType:function(){return z_},nativeTextAlternative:function(){return Lp},nativeTextMethods:function(){return Ip},removeUnicode:function(){return qa},sanitize:function(){return He},subtreeText:function(){return on},titleText:function(){return io},unsupported:function(){return xp},visible:function(){return Bp},visibleTextNodes:function(){return G_},visibleVirtual:function(){return Cr}});function pD(e,t){e=e.actualNode||e;try{var r=Pt(e),n=[],a=e.getAttribute(t);if(a){a=qt(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 Ar=pD;function mD(e,t){var r=Ye(e);return It(r,t)}var xn=mD;function hD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=tt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Ar(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=xn(o,Le({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var La=hD;function Pa(e){var t=tt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var gD={"aria-activedescendant":{type:"idref",allowEmpty:true},"aria-atomic":{type:"boolean",global:true},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:true,global:true},"aria-brailleroledescription":{type:"string",allowEmpty:true,global:true},"aria-busy":{type:"boolean",global:true},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:true,global:true},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],global:true},"aria-describedby":{type:"idrefs",allowEmpty:true,global:true},"aria-description":{type:"string",allowEmpty:true,global:true},"aria-details":{type:"idref",allowEmpty:true,global:true},"aria-disabled":{type:"boolean",global:true},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:true},"aria-errormessage":{type:"idref",allowEmpty:true,global:true},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:true,global:true},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],global:true},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:true},"aria-keyshortcuts":{type:"string",allowEmpty:true,global:true},"aria-label":{type:"string",allowEmpty:true,global:true},"aria-labelledby":{type:"idrefs",allowEmpty:true,global:true},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:true},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:true,global:true},"aria-placeholder":{type:"string",allowEmpty:true},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:true},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:true,global:true},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:true}},tp=gD,vD={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:true},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:true},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:true},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:true},directory:{type:"structure",deprecated:true,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:true},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:false},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:true},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:false,nameFromContent:true},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:true,childrenPresentational:true},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:true},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:true},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:false},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:true},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:true},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:true},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:true},section:{type:"abstract",superclassRole:["structure"],nameFromContent:true},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:true},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:true},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:true,childrenPresentational:true},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:true},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:true,childrenPresentational:true},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:false,nameFromContent:true},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:false},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},text:{type:"structure",superclassRole:["section"],nameFromContent:true},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:true},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:true},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:false},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:true,nameFromContent:true},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},rp=vD,bD={"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"]}},yD=bD,wD={"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}},xD=wD,DD={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"]}},_D=DD,AD={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]},ED=AD,np={ariaAttrs:tp,ariaRoles:Le({},rp,yD,xD),htmlElms:_D,cssColors:ED},Bn=Le({},np);function CD(e){Object.keys(Bn).forEach(function(t){e[t]&&(Bn[t]=Gs(Bn[t],e[t]));});}function SD(){Object.keys(Bn).forEach(function(e){Bn[e]=np[e];});}var nt=Bn;function kD(e){var t=nt.ariaRoles[e];return t?!!t.unsupported:false}var ul=kD;function TD(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=nt.ariaRoles[e],o=ul(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Ma=TD;function RD(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 Rt?e:Ye(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?qt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Ma(l,{allowAbstract:n})});return s||null}var Ze=RD;function FD(e){return Object.keys(nt.htmlElms).filter(function(t){var r=nt.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=FD;function ID(){return We.get("globalAriaAttrs",function(){return Object.keys(nt.ariaAttrs).filter(function(e){return nt.ariaAttrs[e].global})})}var nn=ID;function LD(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"),p=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,b=0;b<p;b++){for(t[n+b]=t[n+b]||[];t[n+b][o];)o++;t[n+b][o]=i[s];}o++;}}return t}var Vr=pt(LD);function PD(e,t){var r,n;for(t||(t=Vr(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=pt(PD);function dl(e){var t=tt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Ze(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=Vr(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 MD(e){return ["col","auto"].indexOf(dl(e))!==-1}var Hn=MD;function OD(e){return ["row","auto"].includes(dl(e))}var Vn=OD;function ND(e){return e?e.replace(/\r\n/g,`
|
|
368
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var He=ND,ap=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]"})},ip=function(){return We.get("sectioningContentPlusMainSelector",function(){return ap()+" , 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 qD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Xt(t.parent,ap())&&!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=Xt(t,ip());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=Xt(t,ip());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=nn().find(function(a){return t.hasAttr(a)});return r&&!n&&!At(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Ar(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=Xt(t,"table"),n=Ze(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=qD;function BD(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=BD;function HD(e,t){return Dn(!!It(e),t)}var op=HD;function VD(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=VD;function jD(e,t){return e=tt(e).vNode,ml(function(r){return e.attr(r)},t)}var sp=jD;function lp(e,t){return !!t(e)}function $D(e,t){return Dn(Ze(e),t)}var up=$D;function zD(e,t){return Dn(Er(e),t)}var cp=zD;function GD(e,t){return e=tt(e).vNode,Dn(e.props.nodeName,t)}var dp=GD;function WD(e,t){return e=tt(e).vNode,ml(function(r){return e.props[r]},t)}var fp=WD;function UD(e,t){return Dn(Xe(e),t)}var pp=UD,mp={hasAccessibleName:op,attributes:sp,condition:lp,explicitRole:up,implicitRole:cp,nodeName:dp,properties:fp,semanticRole:pp};function hp(e,t){return e=tt(e).vNode,Array.isArray(t)?t.some(function(r){return hp(e,r)}):typeof t=="string"?Ps(e,t):Object.keys(t).every(function(r){if(!mp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=mp[r],a=t[r];return n(e,a)})}var gp=hp;function XD(e,t){return gp(e,t)}var Kt=XD;Kt.hasAccessibleName=op,Kt.attributes=sp,Kt.condition=lp,Kt.explicitRole=up,Kt.fromDefinition=gp,Kt.fromFunction=ml,Kt.fromPrimative=Dn,Kt.implicitRole=cp,Kt.nodeName=dp,Kt.properties=fp,Kt.semanticRole=pp;var Oa=Kt;function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=nt.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=Z(a,x);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=Z(l,k),p=Array.isArray(u)?u:[u],b=0;b<p.length&&n;b++)if(p[b].hasOwnProperty("hasAccessibleName"))return a;if(Oa(e,u))for(var _ in c)c.hasOwnProperty(_)&&(o[_]=c[_]);}for(var R in i.default)i.default.hasOwnProperty(R)&&typeof o[R]>"u"&&(o[R]=i.default[R]);return o}var an=YD;function KD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Rt?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=an(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Er=KD,JD={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 vp(e,t){var r=JD[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=Ze(e.parent,t);return ["none","presentation"].includes(n)&&!yp(e.parent)?n:n?null:vp(e.parent,t)}function bp(e,t){var r=t.chromium,n=Z(t,T),a=Er(e,{chromium:r});if(!a)return null;var i=vp(e,n);return i||a}function yp(e){var t=nn().some(function(r){return e.hasAttr(r)});return t||At(e)}function ZD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=Z(t,I),a=tt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Ze(i,n);return o?["presentation","none"].includes(o)&&yp(i)?r?null:bp(i,n):o:r?null:bp(i,n)}function QD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=Z(t,M),a=ZD(e,n);return r&&["presentation","none"].includes(a)?null:a}var Xe=QD,e_=["iframe"];function t_(e){var t=tt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Kt(r,e_)&&["none","presentation"].includes(Xe(r))?"":r.attr("title")}var io=t_;function r_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Rt?e:Ye(e),e.props.nodeType!==1)return false;var n=Xe(e),a=nt.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var wp=r_;function n_(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=Ar(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(Te(i),Te(a))}return Te(r)}var Na=n_,xp={accessibleNameFromFieldValue:["progressbar"]};function vt(e){return e=tt(e).vNode,hl(e)}var hl=pt(function(t,r){return _f(t)||ro(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Ys(t,hl):rn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?hl(t.parent,true):true});function Dp(e,t,r){var n=tt(e),a=n.vNode,i=t?vt:Yt,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,p=u.nodeValue;if(c===3){if(p&&o)return p}else if(!r)return Dp(l,t)}).join("");return He(s)}var Cr=Dp,a_=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function i_(e){e=e instanceof Rt?e:Ye(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!a_.includes((e.attr("type")||"").toLowerCase())}var _p=i_;function o_(e){e=e instanceof Rt?e:Ye(e);var t=e.props.nodeName;return t==="select"}var Ap=o_;function s_(e){var t=Ze(e);return t==="textbox"}var Ep=s_;function l_(e){var t=Ze(e);return t==="listbox"}var Cp=l_;function u_(e){var t=Ze(e);return t==="combobox"}var Sp=u_,c_=["progressbar","scrollbar","slider","spinbutton"];function d_(e){var t=Ze(e);return c_.includes(t)}var kp=d_,Tp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],gl={nativeTextboxValue:p_,nativeSelectValue:m_,ariaTextboxValue:h_,ariaListboxValue:Rp,ariaComboboxValue:g_,ariaRangeValue:v_};function f_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=xp.accessibleNameFromFieldValue||[],a=Xe(e);if(t.startNode===e||!Tp.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 p_(e){var t=tt(e),r=t.vNode;return _p(r)&&r.props.value||""}function m_(e){var t=tt(e),r=t.vNode;if(!Ap(r))return "";var n=Zt(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Cr(i)}).join(" ")||""}function h_(e){var t=tt(e),r=t.vNode,n=t.domNode;return Ep(r)?!n||n&&!rn(n)?Cr(r,true):n.textContent:""}function Rp(e,t){var r=tt(e),n=r.vNode;if(!Cp(n))return "";var a=Na(n).filter(function(i){return Xe(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":It(a[0],t)}function g_(e,t){var r=tt(e),n=r.vNode;if(!Sp(n))return "";var a=Na(n).filter(function(i){return Xe(i)==="listbox"})[0];return a?Rp(a,t):""}function v_(e){var t=tt(e),r=t.vNode;if(!kp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Fp=f_;function b_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=It.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Xe(e),l=an(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||Tp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!wp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=Le({subtreeDescendant:c},t);}return Na(e).reduce(function(p,b){return w_(p,b,t)},"")}var y_=cl("phrasing").concat(["#text"]);function w_(e,t,r){var n=t.props.nodeName,a=It(t,r);return a?(y_.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var on=b_;function x_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=It.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Le({inControlContext:true},t),a=D_(e),i=Xt(e,"label"),o;return i?(o=[].concat(Te(a),[i.actualNode]),o.sort(Gl)):o=a,o.map(function(s){return xn(s,n)}).filter(function(s){return s!==""}).join(" ")}function D_(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return vf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var vl=x_,__={submit:"Submit",image:"Submit",reset:"Reset",button:""},A_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return __[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:on,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 Ip=A_;function Lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Xe(e)))return "";var n=E_(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function E_(e){var t=an(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Ip[n]})}function Pp(){return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function Mp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Op(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Np(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function C_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=os().test(e))),n&&(i||(i=Pp().test(e)||Op().test(e)||Np().test(e))),a&&(i||(i=Mp().test(e))),i}var yl=C_;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 h.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,p="".concat(c,"px ").concat(l);a.font=p;var b=n.charAt(0),_=a.measureText(b).width;if(_===0)return u.numLigatures++,true;if(_<30){var R=30/_;_*=R,c*=R,p="".concat(c,"px ").concat(l);}i.width=_,i.height=c,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(b,0,0);var L=new Uint32Array(a.getImageData(0,0,_,c).data.buffer);if(!L.some(function(re){return re}))return u.numLigatures++,true;a.clearRect(0,0,_,c),a.fillText(n,0,0);var N=new Uint32Array(a.getImageData(0,0,_,c).data.buffer),H=L.reduce(function(re,se,fe){return se===0&&N[fe]===0||se!==0&&N[fe]!==0?re:++re},0),j=n.split("").reduce(function(re,se){return re+a.measureText(se).width},0),W=a.measureText(n).width,U=H/L.length,J=1-W/j;return U>=t&&J>=t?(u.numLigatures++,true):false}function It(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=R_(e,t),k_(e,t)||T_(e,t))return "";var r=[La,Pa,Lp,Fp,on,S_,io],n=r.reduce(function(a,i){return t.startNode===e&&(a=He(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function S_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function k_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!vt(e)}function T_(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 R_(e,t){return t.startNode||(t=Le({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Le({includeHidden:!vt(e)},t)),t}It.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function F_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(os(),"")),n&&(e=e.replace(Pp(),"").replace(Op(),"").replace(Np(),"")),a&&(e=e.replace(Mp(),"")),e}var qa=F_;function I_(e){return L_(e)||P_(e)||M_(e)||O_(e)?0:1}function L_(e){return He(e).length===0}function P_(e){return e.length===1&&e.match(/\D/)}function M_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function O_(e){var t=qa(e,{emoji:true,nonBmp:true,punctuations:true});return !He(t)}var xl=I_,_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 N_(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,p=c===void 0?[]:c,b=t.qualifiedTerms,_=b===void 0?[]:b,R=t.ignoredValues,L=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),p=p.concat(_n.standaloneTerms),_=_.concat(_n.qualifiedTerms);var N=e.split(/\s+/g);if(N[N.length-1]==="webauthn"&&(N.pop(),N.length===0)||!n&&(N[0].length>8&&N[0].substr(0,8)==="section-"&&N.shift(),s.includes(N[0])&&N.shift(),u.includes(N[0])&&(N.shift(),p=[]),N.length!==1))return false;var H=N[N.length-1];if(!L.includes(H))return p.includes(H)||_.includes(H)}var qp=N_;function q_(e){var t,r;return e.attr("aria-labelledby")&&(t=Ar(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ye(n);return a?Cr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=He(r),r))?r:null}var so=q_;function B_(e,t,r){return e=Ye(e),Cr(e,t,r)}var Bp=B_;function H_(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=wt(e.attr("id"));if(n=Pt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Bp(t,true),r)return r}return t=Xt(e,"label"),r=t&&Cr(t,true),r||null}var lo=H_;function V_(e){return e=Ye(e),lo(e)}var j_=V_,$_=[{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"]}],z_=$_;function Hp(e){var t=Yt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Hp(n));}),r}var G_=Hp,W_=pt(function(t){var r=Ye(t),n=r.boundingClientRect,a=[],i=Ta(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||He(o.nodeValue)==="")){var s=U_(o);X_(s,n)||a.push.apply(a,Te(Vp(s,i)));}}),a.length?a:Vp([n],i)}),Dl=W_;function U_(e){var t=h.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function X_(e,t){return e.some(function(r){var n=Ra(r);return !Ji(n,t)})}function Vp(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&Zi(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function Y_(e){var t=eo(e);if(!t)return [];var r=Dl(e);return r.map(function(n){return sl(t,n)})}var _l=Y_,K_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function J_(e){var t=tt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return K_.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=J_,Z_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function uo(e){return Z_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function jp(e,t,r){return uo(e)||Al(e.actualNode)||!r&&!!so(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&jp(n)})}var Ba=jp;function Q_(e,t,r){return e=Ye(e),Ba(e,t,r)}var co=Q_;function El(e){return typeof e.children>"u"||uo(e)?true:e.props.nodeType===1&&Al(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&El(t)&&!rn(t)})}function eA(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&At(e)&&!ll(e)}var $p=eA;function zp(e,t){var r=tt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Gp(a,t)),n._isHiddenWithCSS):Gp(a,t)}function Gp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=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=Ft(e);return o&&!a.includes(i)?zp(o,i):false}var tA=zp;function rA(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Wp=rA;function nA(e){var t;(e instanceof Rt||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=m.commons.aria.getRole(e));var r=nt.ariaRoles[e];return r?.type||null}var gr=nA,aA=["block","list-item","table","flex","grid"],iA=["inline-block","inline-flex","inline-grid"];function oA(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=tt(e),o=i.vNode,s=i.domNode;if(Sl(s)||!a&&sA(o))return false;var l=lA(s),u="",c="",p=0;return Up(l,function(b){if(b===l.actualNode)return true;if(p===2)return false;if(b.nodeType===3&&(u+=b.nodeValue),b.nodeType===1){var _=(b.nodeName||"").toUpperCase();b===s&&(p=1);var R=Sl(b);if((R||["BR","HR"].includes(_))&&(p===0?(u="",c=""):p=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(gr(b)==="widget")return c+=b.textContent,false}}),u=He(u),r?u.length!==0:(c=He(c),u.length>c.length)}var Cl=oA;function Sl(e){var t=tt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return aA.includes(n)||n.substr(0,6)==="table-"}function sA(e){var t=e.getComputedStylePropertyValue("display");return iA.includes(t)}function Up(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Up(r,t)});}function lA(e){for(var t=Ft(e);t&&!Sl(t);)t=Ft(t);return Ye(t)}function uA(e){e=e||{};var t=e.modalPercent||.75;if(We.get("isModalOpen"))return We.get("isModalOpen");var r=Tr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",Yt);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(_){return Array.from(h.elementsFromPoint(_.x,_.y))}),c=function(){var R=u[b].find(function(L){var N=d.getComputedStyle(L);return parseInt(N.width,10)>=a&&parseInt(N.height,10)>=i&&N.getPropertyValue("pointer-events")!=="none"&&(N.position==="absolute"||N.position==="fixed")});if(R&&u.every(function(L){return L.includes(R)}))return We.set("isModalOpen",true),{v:true}},p,b=0;b<u.length;b++)if(p=c(),p)return p.v;We.set("isModalOpen",void 0);}var Ha=uA;function Xp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=at(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 cA(e){return e instanceof d.Node}var dA=cA,kl="color.incompleteData",fA={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,{});}},mt=fA;function pA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return mt.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);mt.set("bgColor",o?"bgGradient":"bgImage");}return i}var fo=pA,mA=/^#[0-9a-f]{3,8}$/i,hA=/hsl\(\s*([-\d.]+)(rad|turn)/,Va=(Ge=new WeakMap,et=new WeakMap,it=new WeakMap,ft=new WeakMap,Ke=new WeakMap,Ne=new WeakMap,Gt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Qt(this,e),ni(this,Gt),yr(this,Ge,void 0),yr(this,et,void 0),yr(this,it,void 0),yr(this,ft,void 0),yr(this,Ke,void 0),yr(this,Ne,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 Vt(e,[{key:"r",get:function(){return Ht(Ge,this)},set:function(r){Tt(Ge,this,r),Tt(ft,this,Math.round(jn(r,0,1)*255));}},{key:"g",get:function(){return Ht(et,this)},set:function(r){Tt(et,this,r),Tt(Ke,this,Math.round(jn(r,0,1)*255));}},{key:"b",get:function(){return Ht(it,this)},set:function(r){Tt(it,this,r),Tt(Ne,this,Math.round(jn(r,0,1)*255));}},{key:"red",get:function(){return Ht(ft,this)},set:function(r){Tt(Ge,this,r/255),Tt(ft,this,jn(r,0,255));}},{key:"green",get:function(){return Ht(Ke,this)},set:function(r){Tt(et,this,r/255),Tt(Ke,this,jn(r,0,255));}},{key:"blue",get:function(){return Ht(Ne,this)},set:function(r){Tt(it,this,r/255),Tt(Ne,this,jn(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(hA,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,vA(o));case "turn":return i.replace(l,bA(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=Bd.default);var a=new ct(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 mt.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(mA)||[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(Gt,this,gA).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,p){return c.value-p.value}),o=we(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 gA(e){var t=new Va(this);return t.r+=e,t.g+=e,t.b+=e,t}var bt=Va;function jn(e,t,r){return Math.min(Math.max(t,e),r)}function vA(e){return e*180/Math.PI}function bA(e){return e*360}function yA(e){var t=new bt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var An=yA;function wA(e){var t=d.getComputedStyle(e);return fo(e,t)||An(t).alpha===1}var xA=wA;function Tl(e){if(!e.href)return false;var t=We.get("firstPageLink",DA);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function DA(){var e;return d.location.origin?e=Zt(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !al(t.actualNode)}):e=Zt(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var _A=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,AA=/(\w+)\((\d+)/;function EA(e){var t=e.getPropertyValue("clip").match(_A),r=e.getPropertyValue("clip-path").match(AA);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 CA(e,t,r){var n=qn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Pt(e);if(!i||i.nodeType!==9)return false;var o=Zt(m._tree,'img[usemap="#'.concat(wt(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 Rt?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 p=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(p==="true")return false}if(!e){var b=a.parent,_=true;return b&&(_=po(b,t,true)),a&&(a[i]=_),_}var R=d.getComputedStyle(e,null);if(R===null)return false;if(c==="area")return CA(e,t,r);if(R.getPropertyValue("display")==="none")return false;var L=parseInt(R.getPropertyValue("height")),N=parseInt(R.getPropertyValue("width")),H=jr(e),j=H&&L===0,W=H&&N===0,U=R.getPropertyValue("position")==="absolute"&&(L<2||N<2)&&R.getPropertyValue("overflow")==="hidden";if(!t&&(EA(R)||R.getPropertyValue("opacity")==="0"||j||W||U)||!r&&(R.getPropertyValue("visibility")==="hidden"||!t&&Ki(e)))return false;var J=e.assignedSlot?e.assignedSlot:e.parentNode,re=false;return J&&(re=po(J,t,true)),a&&(a[i]=re),re}var SA=po;function kA(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 Yp=kA;function Kp(e,t){var r=Jp(t);do{var n=Jp(e);if(n===r||n===t)return TA(e,t);e=n;}while(e);return false}function Jp(e){for(var t=Ye(e),r=t.parent;r;){if(jr(r.actualNode))return r.actualNode;r=r.parent;}}function TA(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 Zp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return Pt(a)===r}).reduce(function(a,i){if(Ui(i)){var o=Zp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Kp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var RA=Zp;function FA(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=h.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=LA(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:IA(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:PA(n.search),hash:MA(n.hash),filename:l}}}function IA(e){var t=["443","80"];return t.includes(e)?"":e}function LA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function PA(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=we(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function MA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=we(r,1),a=n[0];return a==="#"?"":e}var OA=FA;function NA(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=NA,Qp=0,qA=(function(e){function t(r,n,a){var i;if(Qt(this,t),i=ae(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Qp=0),i.nodeIndex=Qp++,i._isHidden=null,i._cache={},i._isXHTML=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 Se(t,e),Vt(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=At(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Qf(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}}])})(Rt),Fl=qA;function BA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var qt=BA,En=" [idsMap]";function em(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 tm(l)}))return;var o=new Set;t.forEach(function(l){var u,c=HA(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(p){c.isComplexSelector&&!Ln(p,l)||o.add(p);});});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 HA(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(tm(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(L){return L.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 p=0;p<n.attributes.length;p++){var b,_=n.attributes[p];if(_.type==="attrValue"&&(i=true),!((b=t["[".concat(_.key,"]")])!==null&&b!==void 0&&b.length))return;var R=t["[".concat(_.key,"]")];a=a?Il(R,a):R;}}return {nodes:a,isComplexSelector:i}}function tm(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 rm(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]||{},qt(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]:h.documentElement,t=arguments.length>1?arguments[1]:void 0;Ll=false;var r={};We.set("nodeMap",new WeakMap),We.set("selectorMap",r);var n=nm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Ll,n}function VA(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 rm(n,We.get("selectorMap")),n}function ho(e,t,r){var n=[];return e.forEach(function(a){var i=nm(a,r,t);i&&n.push.apply(n,Te(i));}),n}function nm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Ui(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=VA(e));d.getComputedStyle(e);return ho(a,r,t)}if(e.nodeType===h.ELEMENT_NODE)return n=Ml(e,r,t),a=Array.from(e.childNodes),n.children=ho(a,n,t),[n];if(e.nodeType===h.TEXT_NODE)return [Ml(e,r)]}function jA(e){return e?e.trim().split("-")[0].toLowerCase():""}var Cn=jA;function $A(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
367
369
|
|
|
368
|
-
`)}var
|
|
369
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function jp(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof f.Node)if(i.documentElement instanceof f.Node)r.push(e.flatTree[0]);else if(i.host instanceof f.Node){var o=Array.from(i.children).map(function(l){return ze(l)});r.push.apply(r,ke(o));}else r.push(ze(i));else if(i&&i.length)if(i.length>1)MA(e,t,i);else {var s=Ol(i[0]);r.push.apply(r,ke(s.map(function(l){return ze(l)})));}}return r.filter(function(l){return l})}function MA(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Ol(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Hp(i,e),e.frames.push(o)),o[t].push(r);});}function io(e,t){var r,a,n,i,o=this;e=Mr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=ie((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=TA(e),this.flatTree=t??xl(BA(e)),this.exclude=e.exclude,this.include=e.include,this.include=jp(this,"include"),this.exclude=jp(this,"exclude"),Ml("frame, iframe",this).forEach(function(s){Fl(s,o)&&OA(o,s.actualNode);}),typeof this.page>"u"&&(this.page=NA(this),this.frames.forEach(function(s){s.page=o.page;})),qA(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Il);}function OA(e,t){!pt(t)||gn(e.frames,"node",t)||e.frames.push(Hp(t,e));}function NA(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function qA(e){if(e.include.length===0&&e.frames.length===0){var t=vr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function BA(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof f.Element)return i.ownerDocument.documentElement;if(i instanceof f.Document)return i.documentElement}return m.documentElement}function HA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new io(e),a=r.frames;return a.map(function(n){var i=n.node,o=he(n,$);o.initiator=false;var s=Si(i);return {frameSelector:s,frameContext:o}})}function $p(e){var t=p._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function VA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=f.getComputedStyle(e),i=zp(n,"overflow-x"),o=zp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function zp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Br=lt(VA);function Gp(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Br(r);return a&&t.push(a),t.concat(Gp(r))},[])}function jA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f,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(Gp(m.body))}var $A=jA;function zA(){return Mr(et)}function GA(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?false:a,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:s}}}var Wp=GA,Qt;function WA(e){if(Qt&&Qt.parentNode)return Qt.styleSheet===void 0?Qt.appendChild(m.createTextNode(e)):Qt.styleSheet.cssText+=e,Qt;if(e){var t=m.head||m.getElementsByTagName("head")[0];return Qt=m.createElement("style"),Qt.type="text/css",Qt.styleSheet===void 0?Qt.appendChild(m.createTextNode(e)):Qt.styleSheet.cssText=e,t.appendChild(Qt),Qt}}var UA=WA;function Cl(e){return !!e&&ie(e)==="object"&&typeof e.length=="number"&&!(e instanceof f.Node)}function Sr(e,t){return !e||ie(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Up(e){return Sl(e)||oo(e)}function Sl(e){return ["include","exclude"].some(function(t){return Sr(e,t)&&oo(e[t])})}function oo(e){return typeof e=="string"||e instanceof f.Node||kl(e)||so(e)||Cl(e)}function kl(e){return Sr(e,"fromFrames")}function so(e){return Sr(e,"fromShadowDom")}function Xp(e,t){var r=ze(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=f.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Xp(n,true);return r&&(r._isHidden=i),i}var XA=Xp;function YA(e){var t,r,a=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!et.htmlElms[a]}var Tl=YA;function Fl(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Or(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Or(c,e)});if(s.length===0)return true;var l=Yp(o),u=Yp(s);return Or(u,l)}function Yp(e){var t,r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Or(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function Rl(e,t){return e.length!==t.length?false:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?false:r.every(function(i,o){return n[o]===i}):r===n})}function KA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Il=KA;function Ze(e){return e instanceof Rt?{vNode:e,domNode:e.actualNode}:{vNode:ze(e),domNode:e}}function JA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,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 !a.includes(c)}),l=s.map(function(c,d){var g=[].concat(ke(r),[d]),_=/^https?:\/\/|^\/\//i.test(c);return Pl(c,t,g,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:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var Kp=JA;function ZA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=QA(e);return i?Kp(e,t,r,a,n):Pl(e.href,t,r,a,true)}function QA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Ll=ZA;function e2(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new f.XMLHttpRequest;s.open("GET",e),s.timeout=je.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:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Ll(o.sheet,t,r,a,o.isCrossOrigin)})}var Pl=e2;function t2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=t2,r2=(function(){function e(){if(f.performance&&f.performance)return f.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(n){var i;(i=f.performance)!==null&&i!==void 0&&i.mark&&f.performance.mark(n);},measure:function(n,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=f.performance)!==null&&s!==void 0&&s.measure){try{f.performance.measure(n,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,l=function(R){return Array.isArray(R)?R[R.length-1]:R},u=function(R){i._log("Measure "+R.name+" took "+R.duration+"ms");};if(!(!((o=f.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=f.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(f.performance.getEntriesByName("mark_axe_start"))||l(f.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=f.performance.getEntriesByType("measure").filter(function(k){return k.startTime>=c.startTime}),g=0;g<d.length;++g){var _=d[g];if(_.name===n){u(_);return}else n||u(_);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=f.performance)!==null&&n!==void 0&&n.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];f.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){da(n);}}})(),tt=r2;function Jp(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var n=m.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=m.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(m.head.appendChild(a);(o=m.elementFromPoint(n,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(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(a),u}}typeof f.addEventListener=="function"&&(m.elementsFromPoint=Jp());function a2(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var In=a2;function Zp(e,t,r,a,n){var i=n||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=a,i}function n2(e,t,r){for(var a=Ve.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=Zp(i,t,null,e[0].shadowId,a.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],d=null,g=null,_=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),k=false,R=0;R<_;R++){var P,M,O,H=R<(((P=o.anyLevel)===null||P===void 0?void 0:P.length)||0)?o.anyLevel[R]:o.thisLevel[R-(((M=o.anyLevel)===null||M===void 0?void 0:M.length)||0)];if((!H[0].id||c.shadowId===o.parentShadowId)&&Ea(c,H[0]))if(H.length===1)!k&&(!r||r(c))&&(s.push(c),k=true);else {var V=H.slice(1);if([" ",">"].includes(V[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+H[1].combinator);V[0].combinator===">"?(d=d||[]).push(V):(g=g||[]).push(V);}(!H[0].id||c.shadowId===o.parentShadowId)&&(O=o.anyLevel)!==null&&O!==void 0&&O.includes(H)&&(g=g||[]).push(H);}for(c.children&&c.children.length&&(n.push(o),o=Zp(c.children,g,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function i2(e,t,r){e=Array.isArray(e)?e:[e];var a=ki(t),n=Lp(e,a,r);return n||n2(e,a,r)}var Tr=i2;function o2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,a=s2(r);if(!a.length)return Promise.resolve();var n=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Wp(n);return l2(a,i).then(function(o){return em(o)})}var Qp=o2;function s2(e){var t=[],r=Tr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:vn(a.actualNode)}});return In(r,[])}function l2(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=u2(i,o,t);if(!s)return Promise.all(r);var l=n+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],d=Promise.all(s.map(function(g,_){var k=[l,_];return Ll(g,u,k,c)}));r.push(d);}),Promise.all(r)}function em(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(em(r)):t.concat(r)},[])}function u2(e,t,r){var a;return e.nodeType===11&&t?a=c2(e,r):a=d2(e),p2(a)}function c2(e,t){return Array.from(e.children).filter(f2).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function d2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?tm(t.media.mediaText):false})}function f2(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&tm(e.media)}function tm(e){return e?!e.toUpperCase().includes("PRINT"):true}function p2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function m2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,a=Tr(r,"video[autoplay], audio[autoplay]",function(n){var i=n.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return h2(i)}))}var rm=m2;function h2(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:Qp,media:rm};return nm(e)?new Promise(function(r,a){var n=im(e),i=n.assets,o=n.timeout,s=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return ne({},l,u)})})).then(function(l){var u=l.reduce(function(c,d){return Re({},c,d)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),a(l);});}):Promise.resolve()}function g2(e){return ie(e)==="object"&&Array.isArray(e.assets)}function nm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:g2(e.preload)}function im(e){var t=je.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return n.assets=In(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function lo(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},a=gn(p._audit.rules,"id",e.id)||{};e.tags=Mr(a.tags||[]);var n=om(t,true,a),i=om(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Ls(e,Mr(r[e.id]||{}));}function v2(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:Al()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function om(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(ie(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=v2(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=El(o.message,a.data)),Ls(a,o);}}function b2(e,t){return Tr(e,t)}var er=b2;function sm(e,t){var r,a,n=p._audit&&p._audit.tagExclude?p._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(n.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=n.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?a.every(function(o){return e.tags.indexOf(o)===-1}):false}function y2(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?sm(e,a.values):sm(e,[])}var lm=y2;function um(e,t){if(!t)return e;var r=e.cloneNode(false),a=Qa(r);if(r.nodeType===1){var n=r.outerHTML;r=Ve.get(n,function(){return cm(r,a,e,t)});}else r=cm(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(um(i,t));}),r}function cm(e,t,r,a){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(n){w2(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function w2(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Da(e,r[t])}function Ml(e,t){var r=[],a;if(p._selectCache)for(var n=0,i=p._selectCache.length;n<i;n++){var o=p._selectCache[n];if(o.selector===e)return o.result}for(var s=x2(t.include),l=D2(t),u=0;u<s.length;u++){a=s[u];var c=Tr(a,e,l);r=_2(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function x2(e){return e.reduce(function(t,r){return (!t.length||!Or(t[t.length-1],r))&&t.push(r),t},[])}function D2(e){return !e.exclude||e.exclude.length===0?null:function(t){return Fl(t,e)}}function _2(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var a=0,n=t.length;a<n;a++)e.includes(t[a])||e.push(t[a]);return e}function uo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ie(e)!=="object"||e===null)return {message:String(e)};var r={},a=Ke(je.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(ie(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?uo(e.cause,t+1):"..."),r}var A2=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return ft(this,t),n=me(this,t),n.name=(a=i.name)!==null&&a!==void 0?a:"RuleError",n.message=i.message,n.stack=i.stack,i.cause&&(n.cause=uo(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),l&&(n.errorNode=l),n}return Me(t,e),vt(t)})(Q(Error)),co=A2;function E2(e,t,r){if(e===f)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function C2(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return E2(r,a,n)});}var S2=C2;function k2(e){var t=Array.isArray(e)?ke(e):[e];return dm(t,m)}function dm(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?dm(e,a.shadowRoot):null}function Ol(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?ke(e):[e];return e.length===0?[]:fm(r,t)}function fm(e,t){var r=Z(e),a=r[0],n=Un(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=Ke(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,ke(fm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function T2(){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 fo=T2,pm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 F2(e){for(var t=pm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return false}return true}function mm(e){e=Array.isArray(e)?e:pm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(mm(r).map(function(i){return n+i})):t.push(n);}),t}var po=F2,R2=(function(e){function t(r){var a;return ft(this,t),a=me(this,t),a._props=L2(r),a._attrs=P2(r),a}return Me(t,e),vt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Rt),Nl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},hm={},I2=Object.keys(Nl);I2.forEach(function(e){hm[Nl[e]]=e;});function L2(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:hm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Nl[e.nodeName])!==null&&r!==void 0?r:1;Qe(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Qe(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),fo().includes(o)||(o="text"));var s=Re({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function P2(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(Qe(ie(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=a[i]||i;n[s]=o!==null?String(o):null;}return n},{})}var gm=R2;function M2(e,t){if(e=e||function(){},t=t||p.log,!p._audit)throw new Error("No audit configured");var r=p.utils.queue(),a=[];Object.keys(p.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{p.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=p.utils.getFlattenedTree(m.body);p.utils.querySelectorAll(n,"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){a.length===0?e(i):t(a);}).catch(t);}var vm=M2,Ln={},bm;function ym(e){return Ln.hasOwnProperty(e)}function ql(e){return typeof e=="string"&&Ln[e]?Ln[e]:typeof e=="function"?e:bm}function O2(e,t,r){Ln[e]=t,r&&(bm=t);}function N2(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 a=r.split("-"),n=ge(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),l=ge(s,3),u=l[0],c=l[1],d=l[2],g=p.version.split("-"),_=ge(g,2),k=_[0],R=_[1],P=k.split(".").map(Number),M=ge(P,3),O=M[0],H=M[1],V=M[2];if(u!==O||H<c||H===c&&V<d||u===O&&c===H&&d===V&&o&&o!==R)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||ym(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(Y){if(!Y.id)throw new TypeError("Configured check ".concat(JSON.stringify(Y)," is invalid. Checks must be an object with at least an id property"));t.addCheck(Y);});}var z=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(Y){if(!Y.id)throw new TypeError("Configured rule ".concat(JSON.stringify(Y)," is invalid. Rules must be an object with at least an id property"));z.push(Y.id),t.addRule(Y);});}if(e.disableOtherRules&&t.rules.forEach(function(Y){z.includes(Y.id)===false&&(Y.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&&rD(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(je.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var q2=N2;function B2(e){vr.updateMessenger(e);}function H2(e){e=e||[];var t=e.length?p._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):p._audit.rules,r=p._audit.data.rules||{};return t.map(function(a){var n=r[a.id]||{};return {ruleId:a.id,description:n.description,help:n.help,helpUrl:n.helpUrl,tags:a.tags,actIds:a.actIds}})}var V2=H2;function j2(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&kn(r)){var n=f.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&f.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var $2=j2,wm={};dr(wm,{getAllCells:function(){return Bl},getCellPosition:function(){return Wi},getHeaders:function(){return mo},getScope:function(){return Zs},isColumnHeader:function(){return Ia},isDataCell:function(){return Dm},isDataTable:function(){return ho},isHeader:function(){return Y2},isRowHeader:function(){return La},toArray:function(){return qr},toGrid:function(){return qr},traverse:function(){return Hl}});function z2(e){var t,r,a,n,i=[];for(t=0,a=e.rows.length;t<a;t++)for(r=0,n=e.rows[t].cells.length;r<n;r++)i.push(e.rows[t].cells[r]);return i}var Bl=z2;function xm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?La:Ia,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,d=t.x+o,g=e==="row"?t.y:0,_=e==="row"?0:t.x,k,R=[],P=c;P>=g&&!k;P--)for(var M=d;M>=_;M--){var O=r[P]?r[P][M]:void 0;if(O){var H=p.utils.getNodeFromTree(O);if(H[a]){k=H[a];break}R.push(O);}}return k=(k||[]).concat(R.filter(n)),R.forEach(function(V){var z=p.utils.getNodeFromTree(V);z[a]=k;}),k}function G2(e,t){if(e.getAttribute("headers")){var r=Ar(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=qr(Fa(e,"table")));var a=Wi(e,t),n=xm("row",a,t),i=xm("col",a,t);return [].concat(n,i).reverse()}var mo=G2;function W2(e){if(!e.children.length&&!e.textContent.trim())return false;var t=We(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Dm=W2;function U2(e){var t=We(e);if((t==="presentation"||t==="none")&&!At(e))return false;if(e.getAttribute("contenteditable")==="true"||Fa(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||br(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,a=e.children.length;r<a;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var n=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,d=o.cells.length;c<d;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(We(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var g=e.rows[Math.ceil(i/2)];if(g.cells.length===1&&g.cells[0].colSpan===1)return false;if(g.cells.length>=5||l)return true;for(var _,k,R=0;R<i;R++){if(o=e.rows[R],_&&_!==f.getComputedStyle(o).getPropertyValue("background-color")||(_=f.getComputedStyle(o).getPropertyValue("background-color"),k&&k!==f.getComputedStyle(o).getPropertyValue("background-image")))return true;k=f.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ns(e).width>Oi(f).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var ho=U2;function X2(e){if(Ia(e)||La(e))return true;if(e.getAttribute("id")){var t=yt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var Y2=X2;function _m(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===true)?[i]:(n=_m(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function K2(e,t,r,a){if(Array.isArray(t)&&(a=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return _m(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Hl=K2,Am={};dr(Am,{allowedAttr:function(){return Em},arialabelText:function(){return _n},arialabelledbyText:function(){return Dn},getAccessibleRefs:function(){return Vl},getElementUnallowedRoles:function(){return km},getExplicitRole:function(){return We},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return Cn},getRole:function(){return $e},getRoleType:function(){return br},getRolesByType:function(){return lE},getRolesWithNameFromContents:function(){return dE},implicitNodes:function(){return pE},implicitRole:function(){return Er},isAccessibleRef:function(){return go},isAriaRoleAllowedOnElement:function(){return Sm},isComboboxPopup:function(){return $l},isUnsupportedRole:function(){return Ks},isValidRole:function(){return An},label:function(){return Im},labelVirtual:function(){return Yi},lookupTable:function(){return Fm},namedFromContents:function(){return Qf},requiredAttr:function(){return Lm},requiredContext:function(){return zl},requiredOwned:function(){return Gl},validateAttr:function(){return vo},validateAttrValue:function(){return Pm}});function J2(e){var t=et.ariaRoles[e],r=ke(Zr());return t&&(t.allowedAttrs&&r.push.apply(r,ke(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ke(t.requiredAttrs))),r}var Em=J2,Z2=/^idrefs?$/;function Cm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e]);}for(var n=0;n<r.length;++n){var i=r[n],o=Oe(e.getAttribute(i)||"");if(o){var s=Ke(jt(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(d){s.e(d);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Cm(e.childNodes[c],t,r);}function Q2(e){var t;e=e.actualNode||e;var r=Nt(e);r=r.documentElement||r;var a=Ve.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(et.ariaAttrs).filter(function(o){var s=et.ariaAttrs[o].type;return Z2.test(s)});Cm(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Vl=Q2;function eE(e,t){var r=e instanceof Rt?e:ze(e),a=Er(r),n=Qr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Sm=eE,tE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],rE={header:"banner",footer:"contentinfo"};function aE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=jt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return An(a)})}function nE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ze(e),a=r.vNode;if(!Tl(a))return [];var n=a.props.nodeName,i=Er(a)||rE[n],o=aE(a);return o.filter(function(s){return !iE(s,a,t,i)})}function iE(e,t,r,a){return r&&e===a?true:tE.includes(e)&&br(e)!==a?false:Sm(t,e)}var km=nE;function oE(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Ma=oE;function sE(e){return Ma(e)}var lE=sE;function uE(){return Ve.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var jl=uE;function cE(){return jl()}var dE=cE,Tm=function(t){return t===null},qt=function(t){return t!==null},Hr={};Hr.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}},Hr.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"],Hr.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}},Hr.implicitHtmlRole=el,Hr.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"]}],Hr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Tm}},{nodeName:"img",attributes:{alt:Tm}},{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"]}],Hr.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?a:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case "":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case "button":case "image":return n;case "checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?true:n;case "radio":return a==="menuitemradio";case "text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case "tel":return a==="combobox"||a==="spinbutton";case "url":case "search":case "email":return a==="combobox";default:return false}},LI:function(t){var r=t.node,a=t.out,n=p.utils.matchesSelector(r,"ol li, ul li");return n?a:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=p.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !a},SELECT:function(t){var r=t.node,a=t.role;return !r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:a}},Hr.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 Fm=Hr;function fE(e){var t=null,r=Fm.role[e];return r&&r.implicit&&(t=Mr(r.implicit)),t}var pE=fE;function mE(e){return !!Vl(e).length}var go=mE;function $l(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=$e(e);if(r??(r=Pf["aria-haspopup"].values),!r.includes(a))return false;var n=hE(e);if(Rm(n))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=vn(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
370
|
-
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Rm)}var Rm=function(t){return t&&$e(t)==="combobox"};function hE(e){for(;e=e.parent;)if($e(e,{noPresentational:true})!==null)return e;return null}function gE(e){return e=ze(e),Yi(e)}var Im=gE;function vE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ke(t.requiredAttrs)}var Lm=vE;function bE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ke(t.requiredContext)}var zl=bE;function yE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ke(t.requiredOwned)}var Gl=yE;function wE(e,t){e=e instanceof Rt?e:ze(e);var r,a,n=e.attr(t),i=et.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=jt(n),a.reduce(function(l,u){return l&&i.values.includes(u)},a.length!==0);case "idref":try{var o=Nt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Ar(e,t).some(function(l){return !!l});case "string":return n.trim()!=="";case "decimal":return r=n.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(n)&&parseInt(n)>=s}}var Pm=wE;function xE(e){var t=et.ariaAttrs[e];return !!t}var vo=xE;function DE(e){var t=Bl(e),r=this,a=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(a=a.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(a=a.concat(u.split(/\s+/)));});var n=t.filter(function(s){return Oe(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(We(s))!==-1}),i=qr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=Wi(s,i),u=false;Ia(s)&&(u=Hl("down",l,i).find(function(c){return !Ia(c)&&mo(c,i).includes(s)})),!u&&La(s)&&(u=Hl("right",l,i).find(function(c){return !La(c)&&mo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var _E=DE,Pn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Mm=Pn[0],Om=Pn[1],Nm=Pn[2],Wl=Pn[3];function AE(e){for(var t=[],r={},a=0;a<e.rows.length;a++)for(var n=e.rows[a],i=0;i<n.cells.length;i++){var o=n.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=$e(o));}var l=ne(ne(ne(ne({},Nm,new Set),Mm,new Set),Om,new Set),Wl,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!pt(g))){var _=g.getAttribute("headers").trim();if(!_){l[Wl].add(g);return}var k=g.getAttribute("id"),R=jt(_);R.forEach(function(P){k&&P===k?l[Nm].add(g):r[P]?["columnheader","rowheader"].includes(r[P])||l[Om].add(g):l[Mm].add(g);});}});var u=Ke(Pn),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l[d].size>0)return this.relatedNodes(ke(l[d])),d===Wl?void 0:(this.data({messageKey:d}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function EE(e){var t=[],r=Bl(e),a=qr(e);return r.forEach(function(n){if(Zi(n)&&Dm(n)&&!Im(n)){var i=mo(n,a).some(function(o){return o!==null&&!!Zi(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var CE=EE;function SE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var kE=SE,TE=FE;function FE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(RE),i=n?Oe(ea(n)):false;return !i||!a?false:Oe(a).toLowerCase()===Oe(i).toLowerCase()}}function RE(e){return e.props.nodeName==="caption"}function IE(e){return Ep(m)?e.nodeName.toUpperCase()==="TH":true}var LE=IE;function PE(e){var t=qr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},false)}var ME=PE;function OE(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),false;try{var n=ea(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var NE=OE,qm={};dr(qm,{getAriaRolesByType:function(){return Ma},getAriaRolesSupportingNameFromContent:function(){return jl},getElementSpec:function(){return Qr},getElementsByContentType:function(){return Js},getGlobalAriaAttrs:function(){return Zr},implicitHtmlRoles:function(){return el}});function qE(e,t,r){var a=We(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var n=$e(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=Zr().some(function(l){return r.hasAttr(l)}),o=At(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function BE(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:false}var HE=BE;function VE(e){return Jt(e)}var jE=VE;function $E(e,t){var r=t.cssProperty,a=t.absoluteValues,n=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&&!Sp(e))return true;var c={};typeof n=="number"&&(c.minValue=n),typeof i=="number"&&(c.maxValue=i);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(Re({value:d},c)),true;var g=zE(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Re({value:g},c)),typeof g=="number")return (typeof n!="number"||g>=n)&&(typeof i!="number"||g<=i)}function zE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=f.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function GE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var WE=GE;function UE(){}var XE=UE;function YE(){var e=m.title;return !!Oe(e)}var KE=YE;function JE(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),false):true}var ZE=JE;function QE(e,t,r){try{return !!Oe(Dn(r))}catch{return}}var eC=QE;function tC(e,t,r){return !!Oe(_n(r))}var rC=tC;function aC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Nt(e),a=Array.from(r.querySelectorAll('[id="'.concat(yt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var nC=aC;function iC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var oC=iC;function sC(e,t,r){var a=Oe(r.attr("title")).toLowerCase();return this.data(a),true}var lC=sC;function uC(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 cC=uC;function dC(e){var t=Ws(e,"href");return t?pt(t)||void 0:false}var fC=dC,pC=["alert","log","status"];function mC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Ve.get("regionlessNodes",function(){return hC(t)});return !a.includes(r)}function hC(e){var t=Bm(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function Bm(e,t){var r=e.actualNode;if($e(e)==="button"||vC(e,t)||["iframe","frame"].includes(e.props.nodeName)||gl(e.actualNode)&&Ws(e.actualNode,"href")||!pt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==m.body&&Zi(r,true)&&!gC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Bm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function gC(e){return ["none","presentation"].includes($e(e))&&!Ji(e)}function vC(e,t){var r=e.actualNode,a=$e(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Ma("landmark");return !!(["assertive","polite"].includes(n)||pC.includes(a)||i.includes(a)||t.regionMatcher&&En(e,t.regionMatcher))}function bC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var a=r.node.ancestry.slice(0,-1),n=Ke(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(Rl(a,o.node.ancestry)){r.result=o.result;break}}}catch(s){n.e(s);}finally{n.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var yC=bC;function wC(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 xC(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1<e.children.length);t=e.children[n];}return e}function Ul(e){var t=f.getComputedStyle(xC(e));return {fontWeight:wC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Hm(e,t,r){return r.reduce(function(a,n){return a||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},false)}function DC(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(P){return P.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(P){return P.nodeName.toUpperCase()==="P"}),l=Ul(e),u=o?Ul(o):null,c=s?Ul(s):null,d=t.passLength,g=t.failLength,_=e.textContent.trim().length,k=o?.textContent.trim().length;if(_>k*d||!u||!Hm(l,u,i))return true;var R=Ta(r,"blockquote");if(!(R&&R.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Hm(l,c,i))&&!(_>k*g))return false}var _C=DC,AC=/[;,\s]/,EC=/^[0-9.]+$/;function CC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(AC),l=ge(s,1),u=l[0];if(!u.match(EC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function SC(e,t,r){var a=er(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var kC=SC,Vm={};dr(Vm,{aria:function(){return Am},color:function(){return jm},dom:function(){return Ps},forms:function(){return e1},matches:function(){return En},math:function(){return mf},standards:function(){return qm},table:function(){return wm},text:function(){return xn},utils:function(){return Go}});var jm={};dr(jm,{Color:function(){return mt},centerPointOfRect:function(){return FC},elementHasImage:function(){return Qi},elementIsDistinct:function(){return zm},filteredRectStack:function(){return PC},flattenColors:function(){return Fr},flattenShadowColors:function(){return Yl},getBackgroundColor:function(){return On},getBackgroundStack:function(){return Kl},getContrast:function(){return Oa},getForegroundColor:function(){return wo},getOwnBackgroundColor:function(){return va},getRectStack:function(){return Gm},getStackingContext:function(){return Zl},getStrokeColorsFromShadows:function(){return Jl},getTextShadowColors:function(){return yo},hasValidContrastRatio:function(){return rS},incompleteData:function(){return ut},parseTextShadows:function(){return Xm},stackingContextToColor:function(){return Mn}});function TC(e){if(!(e.left>f.innerWidth)&&!(e.top>f.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),f.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),f.innerHeight-1);return {x:t,y:r}}}var FC=TC;function $m(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function RC(e,t){var r=f.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new mt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(a)return true;var n=f.getComputedStyle(t);if($m(r)[0]!==$m(n)[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)!==n.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var zm=RC;function IC(e){var t=Rf(e),r=cl(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Gm=IC;function LC(e){var t=Gm(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],s=t[i];a=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),a?t[0]:(ut.set("bgColor","elmPartiallyObscuring"),null)}return ut.set("bgColor","outsideViewport"),null}var PC=LC,MC=["hue","saturation","color","luminosity"],Wm={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=NC(t,e,r),n=Xl(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Xl(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Xl(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=OC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new mt(n,i,o,s);var l=Math.round(n/s),u=Math.round(i/s),c=Math.round(o/s);return new mt(l,u,c,s)}function Xl(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function OC(e,t,r){return Math.min(Math.max(t,e),r)}function NC(e,t,r){if(MC.includes(r))return Wm[r](e,t);var a=new mt;return ["r","g","b"].forEach(function(n){a[n]=Wm[r](e[n],t[n]);}),a}function Yl(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new mt(a,n,i,o)}function Kl(e){for(var t=cl(e).map(function(n){return n=kp(n,e),n=qC(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ut.set("bgColor","bgOverlap"),null;if(r!==0&&!BC(a,t[0]))return ut.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function qC(e){var t=e.indexOf(m.body),r=e,a=va(f.getComputedStyle(m.documentElement));if(t>1&&a.alpha===0&&!Qi(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var n=r.indexOf(m.documentElement);n>0&&(r.splice(n,1),r.push(m.documentElement));}return r}function BC(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 HC=.54,bo=.5,VC=1.5,Um=["top","right","bottom","left"];function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=jC(e),i=Object.entries(n).map(function(o){var s=ge(o,2),l=s[0],u=s[1],c=Um.filter(function(d){return u[d].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !a&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map($C).filter(function(o){return o!==null})}function jC(e){var t={},r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,s=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=ge(s,2),c=u[0],d=u[1];c>bo?l.right.push(c):-c>bo&&l.left.push(-c),d>bo?l.bottom.push(d):-d>bo&&l.top.push(-d);}}catch(g){r.e(g);}finally{r.f();}return t}function $C(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new mt;n.parseString(t);var i=0,o=true;return Um.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>VC}));}),o||(n.alpha=1-Math.pow(HC,i)),n}function Xm(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return [];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)Qe(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Qe(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]===",")Qe(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),a}function yo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=f.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);Qe(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],d=Xm(s),g=Ke(d),_;try{for(g.s();!(_=g.n()).done;){var k=_.value,R=k.colorStr||o.getPropertyValue("color"),P=ge(k.pixels,3),M=P[0],O=P[1],H=P[2],V=H===void 0?0:H;if(!(a&&V>=u*a)){if(r&&V<u*r){c.push({colorStr:R,pixels:k.pixels});continue}if(c.length>0){var z=Jl(c,{ignoreEdgeCount:n});if(z===null)return null;i.push.apply(i,ke(z)),c.splice(0,c.length);}var Y=zC({colorStr:R,offsetX:M,offsetY:O,blurRadius:V,fontSize:u});i.push(Y);}}}catch(oe){g.e(oe);}finally{g.f();}if(c.length>0){var te=Jl(c,{ignoreEdgeCount:n});if(te===null)return null;i.push.apply(i,ke(te));}return i}function zC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new mt(0,0,0,0);var o=new mt;return o.parseString(t),o.alpha*=GC(n,i),o}function GC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Zl(e,t){var r=ze(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Kl(e),t.forEach(function(i){var o,s=ze(i),l=XC(s),u=s._stackingOrder.filter(function(g){var _=g.vNode;return !!_});u.forEach(function(g,_){var k,R=g.vNode,P=(k=u[_-1])===null||k===void 0?void 0:k.vNode,M=Km(n,R,P);_===0&&!n.get(R)&&a.unshift(M),n.set(R,M);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,d=Km(n,s,c);u.length||a.unshift(d),d.bgColor=l;}),r._stackingContext=a,a}function Mn(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var a=e.descendants.reduce(WC,Ym()),n=Fr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function WC(e,t){var r;e instanceof mt?r=e:r=Mn(e).color;var a=Mn(t).color;return Fr(a,r,t.blendMode)}function Ym(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new mt(0,0,0,0),blendMode:UC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function UC(e){return e||void 0}function Km(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Ym(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function XC(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function On(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=ze(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,ke(n.bgElms)),ut.set("bgColor",n.incompleteData),n.bgColor;var i=YC(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ut.get("bgColor")},i}function YC(e,t,r){var a,n,i=Kl(e);if(!i)return null;var o=ul(e),s=(a=yo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(Yl)}]);for(var l=0;l<i.length;l++){var u=i[l],c=f.getComputedStyle(u);if(Qi(u,c))return t.push(u),null;var d=void 0;try{if(d=va(c),d.alpha===0)continue}catch(R){if(R&&ut.get("colorParse"))return null;throw R}if(c.getPropertyValue("display")!=="inline"&&!Jm(u,o))return t.push(u),ut.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),d.alpha===1)break}var g=Zl(e,i);s=g.map(Mn).concat(s);var _=KC(e,i.includes(m.body));if((n=s).unshift.apply(n,ke(_)),s.length===0)return new mt(255,255,255,1);var k=s.reduce(function(R,P){return Fr(P.color,R.color instanceof mt?R.color:R,P.blendMode)});return Fr(k.color instanceof mt?k.color:k,new mt(255,255,255,1))}function Jm(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=f.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 f.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,n=r.top+e.scrollHeight+u+c),t.every(function(d){return d.top>=r.top&&d.bottom<=n&&d.left>=r.left&&d.right<=a})}function Zm(e){return e||void 0}function KC(e,t){var r=[];if(!t){var a=m.documentElement,n=m.body,i=f.getComputedStyle(a),o=f.getComputedStyle(n),s=va(i),l=va(o),u=l.alpha!==0&&Jm(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:Zm(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:Zm(i.getPropertyValue("mix-blend-mode"))});}return r}function JC(e,t){if(!t||!e)return null;t.alpha<1&&(t=Fr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Oa=JC;function wo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=f.getComputedStyle(e),i=[function(){return QC(n,a)},function(){return ZC(n)},function(){return yo(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(R){if(R&&ut.get("colorParse"))return null;throw R}var d=o.reduce(function(R,P){return Fr(R,P)});if(r??(r=On(e,[])),r===null){var g=ut.get("bgColor");return ut.set("fgColor",g),null}var _=Zl(e),k=Qm(_,e);return Fr(eS(d,k,_),new mt(255,255,255,1))}function ZC(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function QC(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new mt().parseString(s)}function eS(e,t,r){for(;t;){var a;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var n=((a=t.ancestor)===null||a===void 0?void 0:a.descendants)||r;t.opacity!==1&&(n=n.slice(0,n.indexOf(t)));var i=n.map(Mn);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Fr(l.color,s.color instanceof mt?s.color:s)},{color:new mt(0,0,0,0),blendMode:"normal"});e=Fr(e,o),t=t.ancestor;}return e}function Qm(e,t){var r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value;if(((n=i.vNode)===null||n===void 0?void 0:n.actualNode)===t)return i;var o=Qm(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function tS(e,t,r,a){var n=Oa(e,t),i=a&&Math.ceil(r*72)/96<14||!a&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:n>o,contrastRatio:n,expectedContrastRatio:o}}var rS=tS,e1={};dr(e1,{isAriaCombobox:function(){return op},isAriaListbox:function(){return ip},isAriaRange:function(){return sp},isAriaTextbox:function(){return np},isDisabled:function(){return Nn},isNativeSelect:function(){return ap},isNativeTextbox:function(){return rp}});var aS=["fieldset","button","select","input","textarea"];function t1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return aS.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=t1(e.parent):t=false,e._isDisabled=t,t}var Nn=t1;function nS(e,t,r){var a=xn.accessibleTextVirtual(r),n=xn.sanitize(xn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:Ps.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var iS=nS;function r1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return false;var n=r.every(function(i){var o=e[i],s=t[i];return ie(o)!==ie(s)?false:ie(o)==="object"||ie(s)==="object"?r1(o,s):o===s});return n}function oS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],a={},n=function(s){var l,u=t[s],c=u.data,d=c.name,g=c.urlProps;if(a[d])return 1;var _=t.filter(function(R,P){var M=R.data;return M.name===d&&P!==s}),k=_.every(function(R){var P=R.data;return r1(P.urlProps,g)});_.length&&!k&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,ke(_.map(function(R){return R.relatedNodes[0]}))),a[d]=_,r.push(u);},i=0;i<t.length;i++)n(i);return r}var sS=oS;function lS(e){var t=$e(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ge(i,2),s=o[1];return r?s&&!a?parseInt(s,10):isNaN(n)||n<1?s?parseInt(s,10):2:n||-1:-1}function uS(){var e=Ve.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(p._tree[0],t,pt);return e=r.map(function(a){return {ancestry:[Si(a.actualNode)],level:lS(a)}}),this.data({headingOrder:e}),Ve.set("headingOrder",r),true}var cS=uS;function dS(e){var t=pS(e);return e.forEach(function(r){r.result=fS(r,t);}),e}function fS(e,t){var r,a,n,i,o=a1(t,e.node.ancestry),s=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,l=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function pS(e){e=ke(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(mS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function mS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=n1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return gS(s,n)}),o=hS(e,n);return o===-1?e.push.apply(e,ke(i)):e.splice.apply(e,[o,0].concat(ke(i))),e}function hS(e,t){for(;t.length;){var r=a1(e,t);if(r!==-1)return r;t=n1(t,1);}return -1}function a1(e,t){return e.findIndex(function(r){return Rl(r.ancestry,t)})}function gS(e,t){var r=t.concat(e.ancestry);return Re({},e,{ancestry:r})}function n1(e,t){return e.slice(0,e.length-t)}function vS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Nr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Nr.bind(null,a),o=$i(r),s=bS(r,o),l=yS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(qn(s));return}if(u.length)return this.relatedNodes(qn(u)),this.data({messageKey:"obscured"}),true;var d=ur(r)?false:void 0;if(!i(n))return this.data(Re({minSize:a},xo(n))),d;var g=DS(c);if(!g.length)return this.data(Re({minSize:a},xo(n))),true;var _=wS(r,g,a);if(!_){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(_)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(qn(s));return}var k=g.every(ur),R="partiallyObscured".concat(k?"":"NonTabbable");return this.data(Re({messageKey:R,minSize:a},xo(_))),this.relatedNodes(qn(g)),k?d:void 0}return this.data(Re({minSize:a},xo(_||n))),this.relatedNodes(qn(g)),true}function bS(e,t){return t.filter(function(r){return !i1(r,e)&&o1(e,r)})}function yS(e,t){var r=[],a=[],n=Ke(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!o1(e,o)&&Hs(e,o)&&_S(o)!=="none"&&(i1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function wS(e,t,r){var a=e.boundingClientRect,n=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Vs(a,n);}catch{return null}return xS(i,r)}function xS(e,t){return e.reduce(function(r,a){var n=Nr(t,r),i=Nr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}function DS(e){return e.filter(function(t){return br(t)==="widget"&&At(t)})}function i1(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function _S(e){return e.getComputedStylePropertyValue("pointer-events")}function xo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function o1(e,t){return Or(e,t)&&!ur(t)}function qn(e){return e.map(function(t){var r=t.actualNode;return r})}var AS=.05;function ES(e,t,r){var a=t?.minOffset||24;if(Nr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=Ke($i(r,a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(br(l)!=="widget"||!At(l))){var u=null;try{u=gf(r,l,a/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}u!==null&&(u=CS(u)*2,!(u+AS>=a)&&(i=Math.min(i,u),n.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),true;if(this.relatedNodes(n.map(function(c){var d=c.actualNode;return d})),!n.some(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),ur(r)?false:void 0}function CS(e){return Math.round(e*10)/10}function SS(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(d,g){var _=g.trim();if(!_)return d;var k=_.split("="),R=ge(k,2),P=R[0],M=R[1];if(!P||!M)return d;var O=P.toLowerCase().trim(),H=M.toLowerCase().trim();return O==="maximum-scale"&&H==="yes"&&(H=1),O==="maximum-scale"&&parseFloat(H)<0||(d[O]=H),d},{});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 kS=SS;function TS(e,t,r,a){var n=a||{},i=n.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,d=[],g=P(o),_=function(){var ue=R[k],pe=g[ue],be=pe.root,Fe=pe.rules,qe=Fe.filter(M);if(!qe.length)return 1;qe.forEach(function(Ee){var Pe=Ee.cssRules;Array.from(Pe).forEach(function(de){var Te=O(de);if(Te&&de.selectorText.toUpperCase()!=="HTML"){var U=Array.from(be.querySelectorAll(de.selectorText))||[];d=d.concat(U);}c=c||Te;});});},k=0,R=Object.keys(g);k<R.length;k++)_();if(!c)return true;return d.length&&this.relatedNodes(d),false;function P(re){return re.reduce(function(ue,pe){var be=pe.sheet,Fe=pe.root,qe=pe.shadowId,Ee=qe||"topDocument";if(ue[Ee]||(ue[Ee]={root:Fe,rules:[]}),!be||!be.cssRules)return ue;var Pe=Array.from(be.cssRules);return ue[Ee].rules=ue[Ee].rules.concat(Pe),ue},{})}function M(re){var ue=re.type,pe=re.cssText;return ue!==4?false:/orientation:\s*landscape/i.test(pe)||/orientation:\s*portrait/i.test(pe)}function O(re){var ue=re.selectorText,pe=re.style;if(!ue||pe.length<=0)return false;var be=pe.transform||pe.webkitTransform||pe.msTransform||false;if(!be&&!pe.rotate)return false;var Fe=H(be),qe=V("rotate",pe.rotate),Ee=Fe+qe;return !Ee||(Ee=Math.abs(Ee),Math.abs(Ee-180)%180<=u)?false:Math.abs(Ee-90)%90<=u}function H(re){if(!re)return 0;var ue=re.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ue)return 0;var pe=ge(ue,3),be=pe[1],Fe=pe[2];return V(be,Fe)}function V(re,ue){switch(re){case "rotate":case "rotateZ":return z(ue);case "rotate3d":var pe=ue.split(",").map(function(Ee){return Ee.trim()}),be=ge(pe,4),Fe=be[2],qe=be[3];return parseInt(Fe)===0?void 0:z(qe);case "matrix":case "matrix3d":return Y(ue);default:return 0}}function z(re){var ue=re.match(/(deg|grad|rad|turn)/)||[],pe=ge(ue,1),be=pe[0];if(!be)return 0;var Fe=parseFloat(re.replace(be,""));switch(be){case "rad":return te(Fe);case "grad":return oe(Fe);case "turn":return ve(Fe);default:return parseInt(Fe)}}function Y(re){var ue=re.split(",");if(ue.length<=6){var pe=ge(ue,2),be=pe[0],Fe=pe[1],qe=Math.atan2(parseFloat(Fe),parseFloat(be));return te(qe)}var Ee=parseFloat(ue[8]),Pe=Math.asin(Ee),de=Math.cos(Pe),Te=Math.acos(parseFloat(ue[0])/de);return te(Te)}function te(re){return Math.round(re*(180/Math.PI))}function oe(re){return re=re%400,re<0&&(re+=400),Math.round(re/400*360)}function ve(re){return Math.round(360/(1/re))}}var FS=TS;function RS(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var a=t.allowedDuration,n=a===void 0?3:a,i=o(e);if(i<=n)return true;if(!r)return false;return true;function o(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 d=ge(c,2),g=d[1],_=g.split(",");return _.map(function(k){return /:/.test(k)?l(k):parseFloat(k)})}}function l(u){for(var c=u.split(":"),d=0,g=1;c.length>0;)d+=g*parseInt(c.pop(),10),g*=60;return parseFloat(d)}}var IS=RS;function LS(e,t){return t.isViolation?false:void 0}var PS=LS,s1=" > ";function MS(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join(s1);return t[n]=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 OS=MS;function NS(e,t,r){var a=er(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var qS=NS;function BS(e,t,r){var a=r.children;if(!a||!a.length)return false;for(var n=false,i=false,o,s=0;s<a.length;s++){if(o=a[s].props.nodeName.toUpperCase(),o==="DT"&&(n=true),n&&o==="DD")return false;o==="DD"&&(i=true);}return n||i}var HS=BS;function VS(e,t,r){var a=false,n=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!pt(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",g=$e(u),_=g==="listitem";!d&&!_&&o.push(c),d&&!_&&(s.push(c),l.includes(g)||l.push(g)),_&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var jS=VS;function $S(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&$e(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&&pt(u)){var d=We(u);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function zS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=We(a);return ["presentation","none","list"].includes(i)?true:i&&An(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function GS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=l1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&US(l)){if(!l.children)return;var c=l1(l.children,true);i.push.apply(i,ke(c));continue}var d=WS(l,u,t);d&&(n.includes(d)||n.push(d),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(l.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function WS(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(u===3&&c.trim()!=="")return d+"#text";if(u!==1||!pt(e))return false;var g=We(e);return g?n.includes(g)?false:d+"[role=".concat(g,"]"):o.includes(l)?false:d+l}function US(e){return e.props.nodeName==="div"&&We(e)===null}function l1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function XS(e){var t=It(e),r=t.nodeName.toUpperCase(),a=We(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=It(t),r=t.nodeName.toUpperCase(),a=We(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var YS=XS;function KS(e,t,r){var a=ya(r.attr("lang")),n=ya(r.attr("xml:lang"));return a===n}var JS=KS;function ZS(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=ya(i),s=t.value?!t.value.map(ya).includes(o):!po(o);(o!==""&&s||i!==""&&!Oe(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!fl(r)?false:(this.data(a),true)}var QS=ZS;function Ql(e){return (e||"").trim()!==""}function ek(e,t,r){var a=typeof m<"u"?un(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ql(r.attr("xml:lang"))&&!Ql(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Ql(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var tk=ek;function rk(e,t,r){var a=$e(e),n=Lt(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var ak=rk;function nk(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=false,n.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var ik=nk;function ok(e,t,r){var a=Ki(r),n=Ui(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var sk=ok;function lk(e){var t=yt(e.getAttribute("id")),r=e.parentNode,a=Nt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !Jr(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return pt(s)});if(i.length>1)return;var o=Ar(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var uk=lk;function ck(e,t){var r=u1(t),a=u1(e);return !r||!a?false:r.includes(a)}function u1(e){var t=Sn(e,{emoji:true,nonBmp:true,punctuations:true});return Oe(t)}function dk(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=ma(e).toLowerCase(),s=Oe(ea(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(ll(o)<1||ll(s)<1))return ck(s,o)}var fk=dk;function pk(e,t,r){try{var a=Kt(r,"label");if(a){var n=Oe(Lt(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var mk=pk;function hk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Nt(e),n=yt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!pt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var gk=hk;function vk(e,t,r){var a=Ki(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Ar(e,"aria-describedby");n=i.map(function(o){return o?ma(o):""}).join("");}return Oe(n)===Oe(a)}var bk=vk;function yk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Nt(r.actualNode),i=yt(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Jt(s)){var l=Oe(ma(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var wk=yk;function xk(e,t,r){if(["none","presentation"].includes($e(r)))return false;var a=Kt(r,t.parentSelector);if(!a)return false;var n=Cr(a,true).toLowerCase();return n===""?false:n===Lt(r).toLowerCase()}var Dk=xk;function _k(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var Ak=_k;function Ek(e,t,r){var a=kr(r.attr("tabindex"));return a===null||a<=0}var Ck=Ek;function Sk(e,t,r){if(r.children)try{var a=c1(r);if(!a.length)return !0;var n=a.filter(kk);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function c1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){br(r)==="widget"&&At(r)?t.push(r):t.push.apply(t,ke(c1(r)));}),t}function kk(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function Tk(e){var t=Ma("landmark"),r=It(e),a=$e(e);for(this.data({role:a});r;){var n=We(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=Er(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=It(r);}return true}var Fk=Tk;function Rk(e,t,r){if(r.children)try{return !r.children.some(function(a){return d1(a)})}catch{return}}function d1(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 d1(t)})}function Ik(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return !a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Tn()?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 Lk=Ik;function Pk(e,t,r){if(!ur(r))return false;try{return !Lt(r)}catch{return}}var Mk=Pk;function Ok(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(Tn()){this.relatedNodes(a);return}return true}var Nk=Ok;function qk(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return ur(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Kt(r.parent,"[contenteditable]");return o?a(o):false}}var Bk=qk;function Hk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Tn()?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 Vk=Hk;function jk(e,t,r){var a=r.tabbableElements;if(!a)return false;var n=a.filter(function(i){return i!==r});return n.length>0}var $k=jk;function zk(e,t,r){return Jr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Gk=zk;function Wk(e){var t={};return e.filter(function(r){if(!r.data)return false;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),false):(t[a]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var Uk=Wk;function Xk(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var a="page-no-duplicate;"+t.selector;if(Ve.get(a)){this.data("ignored");return}Ve.set(a,true);var n=Tr(p._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Ta(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return $e(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var Yk=Xk;function Kk(e){return e.filter(function(t){return t.data!=="ignored"})}var Jk=Kk;function Zk(e,t,r){return En(r,t.matcher)}var Qk=Zk;function eT(e,t,r){try{return Oe(ea(r))!==""}catch{return}}function tT(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&&Tn())return true;var a=Tr(r,t.selector,function(n){return pt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var rT=tT;function aT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var nT=aT;function iT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var a=r.attr(t.attribute),n=!Oe(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var oT=iT;function sT(e,t,r){var a=r.attr("autocomplete")||"";return vp(a,t)}var lT=sT;function uT(e,t,r){if(r.props.nodeName!=="input")return true;var a=["text","search","number","tel"],n=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};ie(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),l=s[s.length-1];if(ga.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Oe(r.attr("type")).toLowerCase():"text";return c=fo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var cT=uT,dT=["block","list-item","table","flex","grid","inline-block"];function fT(e){if(f1(e))return false;for(var t=It(e);t&&t.nodeType===1&&!f1(t);)t=It(t);if(t){if(this.relatedNodes([t]),zm(e,t))return true;if(pT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function f1(e){var t=f.getComputedStyle(e).getPropertyValue("display");return dT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function pT(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=f.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function p1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var mT=["block","list-item","table","flex","grid","inline-block"];function m1(e){var t=f.getComputedStyle(e).getPropertyValue("display");return mT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function hT(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(m1(e))return false;for(var n=It(e);n&&n.nodeType===1&&!m1(n);)n=It(n);if(n){this.relatedNodes([n]);var i=wo(e),o=wo(n),s=On(e),l=On(n),u=i&&o?p1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?p1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,g=(d=ut.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:g}),ut.clear();return}if(u)return a&&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 gT=hT;function vT(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!Jt(e))return this.data({messageKey:"hidden"}),true;var g=Cr(r,false,true);if(a&&yT(g)){this.data({messageKey:"nonBmp"});return}var _=f.getComputedStyle(e),k=parseFloat(_.getPropertyValue("font-size")),R=_.getPropertyValue("font-weight"),P=parseFloat(R)>=o||R==="bold",M=Math.ceil(k*72)/96,O=P&&M<s||!P&&M<l,H=O?u.normal:u.large,V=H.expected,z=H.minThreshold,Y=H.maxThreshold,te=bT(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(te){this.data({fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:P?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:V+":1"}),this.relatedNodes(te.actualNode);return}var oe=yo(e,{minRatio:.001,maxRatio:c});if(oe===null){this.data({messageKey:"complexTextShadows"});return}var ve=[],re=On(e,ve,c),ue=wo(e,false,re,t),pe=null,be=null,Fe=null;if(oe.length===0)pe=Oa(re,ue);else if(ue&&re){Fe=[].concat(ke(oe),[re]).reduce(Yl);var qe=Oa(re,ue),Ee=Oa(re,Fe),Pe=Oa(Fe,ue);pe=Math.max(qe,Ee,Pe),pe!==qe&&(be=Ee>Pe?"shadowOnBgColor":"fgOnShadowColor");}var de=pe>V;if(typeof z=="number"&&(typeof pe!="number"||pe<z)||typeof Y=="number"&&(typeof pe!="number"||pe>Y))return this.data({contrastRatio:pe}),true;var Te=Math.floor(pe*100)/100,U,we;re===null?ut.get("colorParse")?(U="colorParse",we=ut.get("colorParse")):U=ut.get("bgColor"):de||(U=be),ue===null&&ut.get("colorParse")&&(U="colorParse",we=ut.get("colorParse"));var le=Te===1,xe=g.length===1;if(le?U=ut.set("bgColor","equalRatio"):!de&&xe&&!n&&(U="shortTextContent"),this.data({fgColor:ue?ue.toHexString():void 0,bgColor:re?re.toHexString():void 0,contrastRatio:Te,fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:P?"bold":"normal",messageKey:U,expectedContrastRatio:V+":1",shadowColor:Fe?Fe.toHexString():void 0,colorParse:we}),ue===null||re===null||le||xe&&!n&&!de){U=null,ut.clear(),this.relatedNodes(ve);return}return de||this.relatedNodes(ve),de}function bT(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?false:n;if(!i){var o=e.boundingClientRect,s=o.width*o.height*a;do{var l=h1(e.actualNode,":before"),u=h1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var h1=lt(function(t,r){var a=f.getComputedStyle(t,r),n=function(l,u){return a.getPropertyValue(l)===u};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||va(a).alpha===0&&n("background-image","none"))return 0;var i=g1(a.getPropertyValue("width")),o=g1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function yT(e){var t={nonBmp:true},r=ol(e,t),a=Oe(Sn(e,t))==="";return r&&a}function g1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=ge(r,3),n=a[1],i=n===void 0?"":n,o=a[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var wT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},xT={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 DT(e){var t=e.nodeName.toUpperCase();return wT[t]||false}function _T(e,t){var r=We(e);return r&&(xT[r]||t.roles.includes(r))||false}function AT(e,t){return _T(e,t)||DT(e)}var ET=AT;function CT(e,t,r){var a=$e(r,{dpub:true,fallback:true}),n=Ks(a);return n&&this.data(a),n}var ST=CT;function kT(e,t,r){var a=$e(r,{noImplicit:true});this.data(a);var n,i;try{n=Oe(nl(r)).toLowerCase(),i=Oe(Lt(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var TT=kT;function FT(e,t,r){return At(r)}var RT=FT;function IT(e,t,r){var a=jt(r.attr("role")),n=a.every(function(i){return !An(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var LT=IT;function PT(e,t,r){var a=We(r);if(a===null)return false;var n=br(a);return n==="widget"||n==="composite"}var MT=PT;function OT(e,t,r){var a=Zr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var NT=OT;function qT(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function BT(e,t,r){var a=jt(r.attr("role"));return a.length<=1?false:qT(r,a)?void 0:true}var HT=BT;function VT(e,t,r){var a=$e(r,{dpub:true,fallback:true}),n=et.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function jT(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Oe(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Oe(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function $T(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Oe(Lt(r))!==""}catch{return}}function zT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=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,d=r.attr(u);try{c=Pm(r,u);}catch{a="".concat(u,'="').concat(d,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(d===""&&!GT(u)?(a=u,n="empty"):i.push("".concat(u,'="').concat(d,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function GT(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function WT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!vo(i)&&a.push(i);}),a.length?(this.data(a),false):true}var UT=WT;function XT(e,t,r){var a=r.attrNames.filter(function(n){var i=et.ariaAttrs[n];if(!vo(n))return false;var o=i.unsupported;return ie(o)!=="object"?!!o:!En(e,o.exceptions)});return a.length?(this.data(a),true):false}var YT=XT;function KT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=$e(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var JT=KT;function v1(e,t,r,a){var n=We(e);if(r||(r=zl(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=$e(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function ZT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=yt(e.getAttribute("id")),n=Nt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function QT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=v1(r,a);if(!n)return true;var i=ZT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=v1(ze(i[o]),a,n,true),!n)return true}return this.data(n),false}var e5=QT;function t5(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=We(r,{dpub:true}),i=Gl(n);if(i===null)return true;var o=r5(r,i),s=o.filter(function(u){var c=u.role,d=u.vNode;return d.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,d=u.attr;return i5(c,d)}).filter(function(u,c,d){return d.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),!(a.includes(n)&&!o.some(o5)))return false}function r5(e,t){for(var r,a=[],n=Cn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!pt(r))return 1;var s=$e(r,{noPresentational:true}),l=n5(r),u=!!l||At(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,ke(r.children));else if(s||u){var c=l||"tabindex";a.push({role:s,attr:c,vNode:r});}};r=n.shift();)i();return a}function a5(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function n5(e){return Zr().find(function(t){return e.hasAttr(t)})}function i5(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=We(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function o5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:kn(t,false,true)}function s5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=We(a),i=a.attrNames,o=Lm(n);if(Array.isArray(r[n])&&(o=In(r[n],o)),!n||!i.length||!o.length||l5(a,n)||c5(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Qr(a),l=o.filter(function(u){return !a.attr(u)&&!u5(s,u)});return l.length?(this.data(l),false):true}function l5(e,t){return t==="separator"&&!At(e)}function u5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function c5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function d5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t?.elementsAllowedAriaLabel||[],n=r.props.nodeName,i=$e(r,{chromium:true,fallback:true}),o=f5(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Oe(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:n,messageKey:l,prohibited:s});var u=ea(r,{subtreeDescendant:true});if(Oe(u)==="")return true}function f5(e,t,r,a){var n=et.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||b1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var b1=lt(function(t){if(t){var r=$e(t,{noPresentational:true,chromium:true});return r?br(r):b1(t.parent)}});function p5(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var m5=p5;function h5(e,t,r){return r.attr("aria-hidden")!=="true"}var g5=h5;function v5(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return et.ariaAttrs["aria-errormessage"].allowEmpty;var u=jt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Ar(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!pt(c))return this.data({messageKey:"hidden",values:u}),false;var d=jt(r.attr("aria-describedby"));return We(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(g){return d.includes(g)})}}return t.indexOf(a)===-1&&n?(this.data(jt(a)),s.call(this,a)):true}function y1(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=b5(i),l=s&&$e(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 b5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Kt(e,t)}}function w1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=w5(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=y5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function y5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function w5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var x1={row:y1,checkbox:w1};function x5(e,t,r){var a=$e(r);return x1[a]?x1[a].call(this,e,t,r):true}function D5(e,t,r){return r.attr("aria-busy")==="true"}function _5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?true:a,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=km(r,n);return l.length?(this.data(l),pt(r)?false:void 0):true}var A5=_5;function E5(e,t,r){var a=[],n=$e(r),i=Em(n);Array.isArray(t[n])&&(i=In(t[n].concat(i)));var o=Ke(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;vo(l)&&!i.includes(l)&&!C5(l,r.attr(l),r)&&a.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!n&&!Tl(r)&&!At(r)))return false}function C5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function S5(e,t,r){var a=Qr(r);if(!a.allowedAriaAttrs)return true;var n=We(r);if(n)return true;var i=a.allowedAriaAttrs,o=Zr(),s=[],l=Ke(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(g){l.e(g);}finally{l.f();}if(!s.length)return true;var d=s.length>1?"plural":"singular";return this.data({messageKey:d,nodeName:r.props.nodeName,values:s.map(function(g){return g+'="'+r.attr(g)+'"'}).join(", ")}),false}function k5(e,t,r){var a=jt(r.attr("role")).filter(function(n){return br(n)==="abstract"});return a.length>0?(this.data(a),true):false}var T5=k5;function F5(e){var t=ya(e.getAttribute("lang")),r=ya(e.getAttribute("xml:lang"));return po(t)&&po(r)}var R5=F5;function I5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var L5=I5;function P5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Kt(t,"svg")}catch{return false}}var eu=P5;function M5(e,t){return O5.every(function(r){return r(e,t)})}var O5=[function(e,t){return D1(t)},function(e,t){return N5(t)},function(e,t){return !eu(e,t)},function(e,t){return At(t)},function(e,t){return ur(t)||!q5(t)},function(e){return !pl(e,{noLengthCompare:true,includeInlineBlock:true})}];function D1(e){return br(e)==="widget"}function N5(e){return e.props.nodeName!=="area"}var q5=lt(function e(t){return t!=null&&t.parent?D1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function B5(e,t){var r=$e(t);return ["treegrid","grid","table"].includes(r)}function H5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||V5(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function V5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function j5(e){return gl(e)&&qi(e)}var $5=j5;function z5(e,t){return Br(e,13)!==void 0&&$l(t)===false&&G5(t)}function G5(e){var t=e.boundingClientRect;return er(e,"*").some(function(r){if(!kn(r,true,true))return false;var a=[];if(Ji(r)){var n;(n=a).push.apply(n,ke(W5(r)));}else a=[r.boundingClientRect];return a.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function W5(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function U5(e,t){return Er(t,{chromiumRoles:true})!==null}var X5=U5;function Y5(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return false;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var K5=Y5;function J5(e,t){var r=We(t);if(!r||["none","presentation"].includes(r))return true;var a=Mf[r]||{},n=a.accessibleNameRequired;return !!(n||At(t))}var _1=J5,Z5=function(t,r){return [_1,Q5].every(function(a){return a(t,r)})};function Q5(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 eF(e,t){return t.props.nodeName!=="html"}var tF=eF;function rF(e,t){return !t.attr("role")}var aF=rF;function nF(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var iF=nF;function oF(e,t){var r=Qr(t),a=r.namingMethods;return !(a&&a.length!==0||We(t)==="combobox"&&er(t,'input:not([type="hidden"])').length||$l(t,{popupRoles:["listbox"]}))}var sF=oF;function lF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var uF=lF;function cF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var dF=cF;function fF(e,t){var r=$e(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var pF=fF;function mF(e){var t=Oe(e.innerText),r=We(e);return r&&r!=="link"||!t||!Jt(e)?false:pl(e)}var hF=mF;function gF(e){return !ho(e)&&!At(e)}var vF=gF;function bF(e,t){return yF(t)&&pt(t)}function yF(e){var t=Ma("landmark"),r=$e(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=Lt(e);return !!n}return t.indexOf(r)>=0||r==="region"}function wF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ta(t,r)}var xF=wF;function DF(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 _F=DF;function AF(e,t){var r=$e(e);if(!r)return false;var a=Ma("widget"),n=a.includes(r);if(!n)return false;var i=jl();return !(!i.includes(r)||!Oe(_n(t))&&!Oe(Dn(e))||!Oe(Cr(t)))}var EF=AF;function CF(e,t){return Jt(t)}function SF(e){return Jt(e)}function kF(e,t,r){return r.initiator}var A1=kF;function TF(e){return Dp(e)}var FF=TF;function RF(e,t){var r=!!Lt(t);if(!r)return false;var a=$e(e);return !(a&&a!=="link")}var IF=RF;function LF(e,t){return !eu(e,t)}var PF=LF;function MF(e,t){return $e(t)==="heading"}function OF(e,t){return Er(t,{chromium:true})!==null}var NF=OF;function qF(e){var t=e.getAttribute("title");return !!Oe(t)}var BF=qF;function HF(e,t,r){var a,n;return !r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var VF=HF;function jF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),a=Array.from(Nt(e).querySelectorAll(r));return !go(e)&&a.every(function(n){return !At(n)})}var $F=jF;function zF(e){return go(e)}var GF=zF;function WF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),a=Array.from(Nt(e).querySelectorAll(r));return !go(e)&&a.some(At)}var UF=WF;function XF(e){return ho(e)}var YF=XF;function KF(e){if(ho(e)){var t=qr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var JF=KF;function ZF(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||Nn(t)||zi(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=f.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},!vl(u,e))return false}return true}var c=Ta(t,"label");if(a==="label"||c){var d=c||e,g=c?ze(c):t;if(d.htmlFor){var _=Nt(d),k=_.getElementById(d.htmlFor),R=k&&ze(k);if(R&&Nn(R))return false}var P='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',M=er(g,P)[0];if(M&&Nn(M))return false}for(var O=[],H=t;H;){if(H.props.id){var V=Vl(H).filter(function(ue){return jt(ue.getAttribute("aria-labelledby")||"").includes(H.props.id)}).map(function(ue){return ze(ue)});O.push.apply(O,ke(V));}H=H.parent;}if(O.length>0&&O.every(Nn)||!tR(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var z=m.createRange(),Y=t.children,te=0;te<Y.length;te++){var oe=Y[te];oe.actualNode.nodeType===3&&Oe(oe.actualNode.nodeValue)!==""&&z.selectNodeContents(oe.actualNode);}var ve=Array.from(z.getClientRects()),re=bn(t);return ve.some(function(ue){var pe=vl(ue,e);if(!re.length)return pe;var be=re.some(function(Fe){return Ms(ue,Fe.boundingClientRect)});return pe&&be})}var QF=ZF,eR={emoji:true,nonBmp:false,punctuations:true};function tR(e){var t=Cr(e,false,true);return t===""||Sn(t,eR)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!sl(r)})}function rR(e,t,r){return A1(e,t,r)?!!e.querySelector("a[href]"):true}var aR=rR;function nR(e,t){var r=t.attr("autocomplete");if(!r||Oe(r)==="")return false;var a=t.props.nodeName;if(["textarea","input","select"].includes(a)===false)return false;var n=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||n.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(a==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=We(t),l=kr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=et.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Jt(t)&&!pt(t))}var iR=nR;function oR(e,t){var r=We(t);return !!zl(r)}var sR=oR;function lR(e,t){var r=We(t,{dpub:true});return !!Gl(r)}var uR=lR;function E1(e){return e?e.getAttribute("aria-hidden")==="true"?false:E1(It(e)):true}function cR(e){return E1(It(e))}var dR=cR;function fR(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var pR=fR;function mR(e,t){return We(t,{dpub:true,fallback:true})!==null}var hR=mR;function gR(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n<i;n++)if(r.test(a[n]))return true}return false}var vR=gR,bR={"abstractrole-evaluate":T5,"accesskeys-after":Uk,"accesskeys-evaluate":Gk,"alt-space-value-evaluate":Ak,"aria-allowed-attr-elm-evaluate":S5,"aria-allowed-attr-evaluate":E5,"aria-allowed-attr-matches":vR,"aria-allowed-role-evaluate":A5,"aria-allowed-role-matches":hR,"aria-busy-evaluate":D5,"aria-conditional-attr-evaluate":x5,"aria-conditional-checkbox-attr-evaluate":w1,"aria-conditional-row-attr-evaluate":y1,"aria-errormessage-evaluate":v5,"aria-has-attr-matches":pR,"aria-hidden-body-evaluate":g5,"aria-hidden-focus-matches":dR,"aria-label-evaluate":rC,"aria-labelledby-evaluate":eC,"aria-level-evaluate":m5,"aria-prohibited-attr-evaluate":d5,"aria-required-attr-evaluate":s5,"aria-required-children-evaluate":t5,"aria-required-children-matches":uR,"aria-required-parent-evaluate":e5,"aria-required-parent-matches":sR,"aria-roledescription-evaluate":JT,"aria-unsupported-attr-evaluate":YT,"aria-valid-attr-evaluate":UT,"aria-valid-attr-value-evaluate":zT,"attr-non-space-content-evaluate":oT,"autocomplete-appropriate-evaluate":cT,"autocomplete-matches":iR,"autocomplete-valid-evaluate":lT,"avoid-inline-spacing-evaluate":ZE,"braille-label-equivalent-evaluate":$T,"braille-roledescription-equivalent-evaluate":jT,"bypass-matches":aR,"caption-evaluate":qS,"caption-faked-evaluate":ME,"color-contrast-evaluate":vT,"color-contrast-matches":QF,"css-orientation-lock-evaluate":FS,"data-table-large-matches":JF,"data-table-matches":YF,"deprecatedrole-evaluate":VT,"dlitem-evaluate":YS,"doc-has-title-evaluate":KE,"duplicate-id-active-matches":UF,"duplicate-id-after":oC,"duplicate-id-aria-matches":GF,"duplicate-id-evaluate":nC,"duplicate-id-misc-matches":$F,"duplicate-img-label-evaluate":Dk,"exists-evaluate":XE,"explicit-evaluate":wk,"fallbackrole-evaluate":HT,"focusable-content-evaluate":$k,"focusable-disabled-evaluate":Vk,"focusable-element-evaluate":Bk,"focusable-modal-open-evaluate":Nk,"focusable-no-name-evaluate":Mk,"focusable-not-tabbable-evaluate":Lk,"frame-focusable-content-evaluate":Rk,"frame-focusable-content-matches":VF,"frame-tested-after":OS,"frame-tested-evaluate":PS,"frame-title-has-text-matches":BF,"has-alt-evaluate":WE,"has-descendant-after":nT,"has-descendant-evaluate":rT,"has-global-aria-attribute-evaluate":NT,"has-implicit-chromium-role-matches":NF,"has-lang-evaluate":tk,"has-text-content-evaluate":eT,"has-widget-role-evaluate":MT,"heading-matches":MF,"heading-order-after":dS,"heading-order-evaluate":cS,"help-same-as-label-evaluate":bk,"hidden-content-evaluate":$2,"hidden-explicit-label-evaluate":gk,"html-namespace-matches":PF,"html5-scope-evaluate":LE,"identical-links-same-purpose-after":sS,"identical-links-same-purpose-evaluate":iS,"identical-links-same-purpose-matches":IF,"implicit-evaluate":mk,"inline-style-property-evaluate":$E,"inserted-into-focus-order-matches":FF,"internal-link-present-evaluate":kC,"invalid-children-evaluate":GS,"invalidrole-evaluate":LT,"is-element-focusable-evaluate":RT,"is-initiator-matches":A1,"is-on-screen-evaluate":jE,"is-visible-matches":SF,"is-visible-on-screen-matches":CF,"label-content-name-mismatch-evaluate":fk,"label-content-name-mismatch-matches":EF,"label-matches":_F,"landmark-has-body-context-matches":xF,"landmark-is-top-level-evaluate":Fk,"landmark-is-unique-after":ik,"landmark-is-unique-evaluate":ak,"landmark-unique-matches":bF,"layout-table-matches":vF,"link-in-text-block-evaluate":gT,"link-in-text-block-matches":hF,"link-in-text-block-style-evaluate":fT,"listitem-evaluate":zS,"matches-definition-evaluate":Qk,"meta-refresh-evaluate":CC,"meta-viewport-scale-evaluate":kS,"multiple-label-evaluate":uk,"nested-interactive-matches":pF,"no-autoplay-audio-evaluate":IS,"no-autoplay-audio-matches":dF,"no-empty-role-matches":uF,"no-explicit-name-required-matches":_1,"no-focusable-content-evaluate":Sk,"no-implicit-explicit-label-evaluate":TT,"no-naming-method-matches":sF,"no-negative-tabindex-matches":iF,"no-role-matches":aF,"non-empty-if-present-evaluate":HE,"not-html-matches":tF,"object-is-loaded-matches":Z5,"only-dlitems-evaluate":$S,"only-listitems-evaluate":jS,"p-as-heading-evaluate":_C,"p-as-heading-matches":K5,"page-no-duplicate-after":Jk,"page-no-duplicate-evaluate":Yk,"presentation-role-conflict-matches":X5,"presentational-role-evaluate":qE,"region-after":yC,"region-evaluate":mC,"same-caption-summary-evaluate":TE,"scope-value-evaluate":kE,"scrollable-region-focusable-matches":z5,"skip-link-evaluate":fC,"skip-link-matches":$5,"structured-dlitems-evaluate":HS,"summary-interactive-matches":H5,"svg-namespace-matches":eu,"svg-non-empty-title-evaluate":NE,"tabindex-evaluate":Ck,"table-or-grid-role-matches":B5,"target-offset-evaluate":ES,"target-size-evaluate":vS,"td-has-header-evaluate":CE,"td-headers-attr-evaluate":AE,"th-has-data-cells-evaluate":_E,"title-only-evaluate":sk,"unique-frame-title-after":cC,"unique-frame-title-evaluate":lC,"unsupportedrole-evaluate":ST,"valid-lang-evaluate":QS,"valid-scrollable-semantics-evaluate":ET,"widget-not-inline-matches":M5,"window-is-top-matches":L5,"xml-lang-mismatch-evaluate":JS,"xml-lang-mismatch-matches":R5},Do=bR;function yR(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var tu=yR;function ru(e){if(typeof e=="string"){if(Do[e])return Do[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 C1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ie(e)!=="object")&&(e={value:e}),e}function Na(e){e&&(this.id=e.id,this.configure(e));}Na.prototype.enabled=true,Na.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new tu(this),u=ys(l,r,n,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=lr.toSpec(t)),i(d);return}u.isAsync||(l.result=c,n(l));}else n(null);},Na.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new tu(this),u=ys(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,a);}catch(d){throw t&&t.actualNode&&(d.errorNode=lr.toSpec(t)),d}return l.result=c,l},Na.prototype.configure=function(t){var r=this;(!t.evaluate||Do[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=C1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=ru(t[a])});},Na.prototype.getOptions=function(t){return this._internalCheck?Is(this.options,C1(t||{})):t||this.options};var S1=Na;function wR(e){this.id=e.id,this.result=je.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var _o=wR;function Xt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Qe(je.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=ru(e.matches));}Xt.prototype.matches=function(){return true},Xt.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&tt.mark(a);var s=Ml(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&tt.mark(i),s=s.filter(function(l){return pt(l)}),r.performanceTimer&&(tt.mark(o),tt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(tt.mark(n),tt.measure("rule_"+this.id+"#gather",a,n)),s},Xt.prototype.runChecks=function(t,r,a,n,i,o){var s=this,l=_r();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],d=no(c,s.id,a);l.defer(function(g,_){c.run(r,d,n,g,function(k){_(new co({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new sr(r),error:k}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Xt.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=no(l,i.id,a);o.push(l.runSync(r,u,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},Xt.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=_r(),s=new _o(this),l;try{l=this.gatherAndMatchNodes(t,a);}catch(u){i(u);return}a.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,d){var g=_r();["any","all","none"].forEach(function(_){g.defer(function(k,R){r.runChecks(_,u,a,t,k,R);});}),g.then(function(_){var k=k1(_);k&&(k.node=new sr(u),s.nodes.push(k),r.reviewOnFail&&(["any","all"].forEach(function(R){k[R].forEach(function(P){P.result===false&&(P.result=void 0);});}),k.none.forEach(function(R){R.result===true&&(R.result=void 0);}))),c();}).catch(function(_){return d(_)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(u){a.performanceTimer&&r._logRulePerformance(),i(u);});},Xt.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new _o(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,a,t));});var l=k1(s);l&&(l.node=o.actualNode?new sr(o):null,n.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);})));}),a.performanceTimer&&this._logRulePerformance(),n},Xt.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;},Xt.prototype._logGatherPerformance=function(t){da("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(tt.timeElapsed(),"ms")),tt.mark(this._markChecksStart);},Xt.prototype._logRulePerformance=function(){tt.mark(this._markChecksEnd),tt.mark(this._markEnd),tt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),tt.measure("rule_"+this.id,this._markStart,this._markEnd);};function k1(e){if(e.length){var t=false,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=true);}),t?r:null}}Xt.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&tt.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(l){throw new co({ruleId:a.id,method:"#matches",errorNode:new sr(s),error:l})}}),r.performanceTimer&&(tt.mark(i),tt.measure("rule_"+this.id+"#matches",n,i)),o};function xR(e){return Li(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function DR(e,t){var r=[];return e.forEach(function(a){var n=Li(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function _R(e){return e.filter(function(t){return t.filtered!==true})}function AR(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=_R(a[i]),n+=a[i].length;}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i]);}),a})]),r}Xt.prototype.after=function(t,r){var a=this,n=xR(this);return n.forEach(function(i){var o=DR(t.nodes,i.id),s=no(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new co({ruleId:a.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})}a.reviewOnFail&&l.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===false,g=a.none.includes(c.id)&&c.result===true;(d||g)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=AR(t),t},Xt.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=ru(t.matches)),t.impact&&(Qe(je.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var qa=/\{\{.+?\}\}/g,ER=(function(){function e(t){ft(this,e),this.lang="en",this.defaultConfig=t,this.standards=et,this._init(),this._defaultLocale=null;}return vt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var d=Object.keys(this.data.rules),g=0;g<d.length;g++){var _=d[g],k=this.data.rules[_],R=k.description,P=k.help;r.rules[_]={description:R,help:P};}for(var M=Object.keys(this.data.failureSummaries),O=0;O<M.length;O++){var H=M[O],V=this.data.failureSummaries[H],z=V.failureMessage;r.failureSummaries[H]={failureMessage:z};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=SR(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=kR(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=TR(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=FR(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=F1();this.allowedOrigins=[];var n=Ke(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===je.allOrigins){this.allowedOrigins=["*"];return}else o!==je.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=CR(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,R1(r.rules,this,"addRule"),R1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var a=this.getRule(r.id);a?a.configure(r):this.rules.push(new Xt(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;ie(a)==="object"&&(this.data.checks[r.id]=a,ie(a.messages)==="object"&&Object.keys(a.messages).filter(function(n){return a.messages.hasOwnProperty(n)&&typeof a.messages[n]=="string"}).forEach(function(n){a.messages[n].indexOf("function")===0&&(a.messages[n]=new Function("return "+a.messages[n]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new S1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),sr.setRunOptions(a),p._selectCache=[];var o=RR(this.rules,r,a),s=o.now,l=o.later,u=_r();s.forEach(function(g){u.defer(I1(g,r,a));});var c=_r();l.length&&c.defer(function(g){am(a).then(function(_){return g(_)}).catch(function(_){console.warn("Couldn't load preload assets: ",_),g(void 0);});});var d=_r();d.defer(u),d.defer(c),d.then(function(g){var _=g.pop();if(_&&_.length){var k=_[0];k&&(r=Re({},r,k));}var R=g[0];if(!l.length){p._selectCache=void 0,n(R.filter(function(M){return !!M}));return}var P=_r();l.forEach(function(M){var O=I1(M,r,a);P.defer(O);}),P.then(function(M){p._selectCache=void 0,n(R.concat(M).filter(function(O){return !!O}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=gn(n,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,a)}catch(s){if(a.debug)throw s;return L1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(a){return a.id===r})}},{key:"normalizeOptions",value:function(r){var a=this,n=[],i=[];if(a.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(d){n.includes(d)||n.push(d);});}),["object","string"].includes(ie(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return n.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 !n.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 ie(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 a={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(a);}},{key:"_constructHelpUrls",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=(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"||a&&o.helpUrl===P1(a,i.id,n))&&(o.helpUrl=P1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),T1=ER;function F1(){if(f.origin&&f.origin!=="null")return f.origin;if(f.location&&f.location.origin&&f.location.origin!=="null")return f.location.origin}function CR(e){var t;if(e?(t=Mr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=F1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Re({checks:{},rules:{}},t.data),t}function R1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var SR=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&qa.test(a)&&(a=zr.default.compile(a)),typeof n=="string"&&qa.test(n)&&(n=zr.default.compile(n)),Re({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:ie(t.messages.incomplete)==="object"?Re({},t.messages.incomplete,r.incomplete):r.incomplete}})},kR=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&qa.test(a)&&(a=zr.default.compile(a)),typeof n=="string"&&qa.test(n)&&(n=zr.default.compile(n)),Re({},t,{help:a||t.help,description:n||t.description})},TR=function(t,r){var a=r.failureMessage;return typeof a=="string"&&qa.test(a)&&(a=zr.default.compile(a)),Re({},t,{failureMessage:a||t.failureMessage})},FR=function(t,r){return typeof r=="string"&&qa.test(r)&&(r=zr.default.compile(r)),r||t};function RR(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return lm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function I1(e,t,r){return r.performanceTimer&&tt.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(L1(e,i));});}}function L1(e,t){var r=t.errorNode,a=uo(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new sr(m.documentElement);return Object.assign(new _o(e),{error:a,result:je.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function P1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return je.helpUrlBase+a+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function M1(e){var t=f&&"Node"in f&&"NodeList"in f,r=!!m;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||(Ve.set("globalDocumentSet",true),m=e.ownerDocument),t||(Ve.set("globalWindowSet",true),f=m.defaultView);}}function IR(){Ve.get("globalDocumentSet")&&(Ve.set("globalDocumentSet",false),m=null),Ve.get("globalWindowSet")&&(Ve.set("globalWindowSet",false),f=null);}function LR(){IR(),p._memoizedFns.forEach(function(e){return e.clear()}),Ve.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var aa=LR;function O1(e,t,r,a){try{e=new io(e),p._tree=e.flatTree,p._selectorData=Ci(e.flatTree);}catch(o){return aa(),a(o)}var n=_r(),i=p._audit;t.performanceTimer&&tt.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Ud(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&tt.auditEnd();var s=Pi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&tt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(tt.mark("auditAfterEnd"),tt.measure("audit.after","auditAfterStart","auditAfterEnd"),tt.logMeasures("audit.after")),s.forEach(lo),s=s.map(Ka));try{r(s,aa);}catch(l){aa(),da(l);}}catch(l){aa(),a(l);}}).catch(function(o){aa(),a(o);});}function PR(e){p._audit=new T1(e);}function MR(e,t,r){var a=r,n=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return O1(i,o,function(s,l){s=lr.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return vm(a,n);default:if(p._audit&&p._audit.commands&&p._audit.commands[e.command])return p._audit.commands[e.command](e,r)}}f.top!==f&&(vr.subscribe("axe.start",MR),vr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Bn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}Bn.prototype.run=function(){return this._run.apply(this,arguments)},Bn.prototype.collect=function(){return this._collect.apply(this,arguments)},Bn.prototype.cleanup=function(t){var r=p.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Bn.prototype.add=function(t){this._registry[t.id]=t;};function OR(e){p.plugins[e.id]=new Bn(e);}var NR=OR;function qR(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),aD();}var BR=qR;function HR(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 Rt||(t=new gm(t));var a=$p(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:false}});var n={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=a.runSync(n,r);lo(i),Ka(i);var o=nc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=_l(l);})}),Re({},ta(),o,{toolOptions:r})}function N1(e){var t,r,a,n=ge(e,3),i=n[0],o=n[1],s=n[2],l=new TypeError("axe.run arguments are invalid");if(!Up(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(ie(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Mr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=p._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var au=function(){};function VR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];M1(t[0]);var a=N1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?au:o,l=jR(s),u=l.thenable,c=l.resolve,d=l.reject;try{Qe(p._audit,"No audit configured"),Qe(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(k){return zR(k,s)}p._running=true,i.performanceTimer&&tt.start();function g(k,R){var P=function(H){i.performanceTimer&&(tt.mark("reporterEnd"),tt.measure("reporter","reporterStart","reporterEnd"),tt.logMeasures("reporter"),tt.end()),p._running=false,R();try{c(H);}catch(V){p.log(V);}},M=function(H){p._running=false,R();try{d(H);}catch(V){p.log(V);}};try{i.performanceTimer&&tt.mark("reporterStart"),$R(k,i,P,M);}catch(O){M(O);}}function _(k){i.performanceTimer&&tt.end(),p._running=false,s(k),d(k);}return p._runRules(n,i,g,_),u}function jR(e){var t,r,a;return typeof Promise=="function"&&e===au?t=new Promise(function(n,i){r=i,a=n;}):(a=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:a}}function $R(e,t,r,a){var n=ql(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function zR(e,t){if(typeof t=="function"&&t!==au){t(e.message);return}throw e}function GR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=N1(t),n=a.options,i=a.context;Qe(p._audit,"Axe is not configured. Audit is missing."),Qe(!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 io(i,p._tree);return p._tree=o.flatTree,p._selectorData=Ci(o.flatTree),p._running=true,n.elementRef=false,new Promise(function(s,l){p._audit.run(o,n,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var d=c.node;return lr.toSpec(d)}),u;return o.initiator&&(u=ta()),p._running=false,aa(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,aa(),Promise.reject(s)})}function WR(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Mr(n);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;p._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=p._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",UR(e);var s=Pi(e);return s=p._audit.after(s,n),s.forEach(lo),s=s.map(Ka),YR(s,Re({environmentData:o},n))}function UR(e){var t=[],r=Ke(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=XR(n);t.unshift.apply(t,ke(o));}}}catch(s){r.e(s);}finally{r.f();}}function XR(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return lr.mergeSpecs(a,r)}):t}function YR(e,t){return new Promise(function(r,a){var n=ql(t.reporter);n(e,t,r,a);})}function KR(e){if(p._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ie(e.documentElement)==="object"&&ie(e.defaultView)==="object"&&(e=e.documentElement),M1(e),p._tree=xl(e),p._selectorData=Ci(p._tree),p._tree[0]}var JR=KR,ZR=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,W);a(Re({},ta(i),{toolOptions:o},Rn(t,r)));},QR=ZR,e3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,G);r.resultTypes=["violations"];var s=Rn(t,r),l=s.violations;a(Re({},ta(i),{toolOptions:o,violations:l}));},t3=e3,r3=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=Re({},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});a(n);},q1=r3,a3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,q);q1(t,o,function(s){var l=ta(i);a({raw:s,env:l});});},n3=a3,i3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,j),s=Rn(t,r),l=function(c){c.nodes.forEach(function(d){d.failureSummary=_l(d);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Re({},ta(i),{toolOptions:o},s));},o3=i3,s3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=he(n,K),s=Rn(t,r);a(Re({},ta(i),{toolOptions:o},s));},l3=s3,u3={base:{Audit:T1,CheckResult:tu,Check:S1,Context:io,RuleResult:_o,Rule:Xt,metadataFunctionMap:Do},public:{reporters:Ln},helpers:{failureSummary:_l,incompleteFallbackMessage:Al,processAggregate:Rn},utils:{setDefaultFrameMessenger:Vd,cacheNodeSelectors:Mp,getNodesMatchingExpression:Lp,convertSelector:ki},commons:{dom:{nativelyHidden:Jd,displayHidden:Zd,visibilityHidden:Qd,contentVisibiltyHidden:ef,ariaHidden:tf,opacityHidden:rf,scrollHidden:af,overflowHidden:nf,clipHidden:of,areaHidden:Os,detailsHidden:sf}}},c3=u3;p._thisWillBeDeletedDoNotUse=c3,p.constants=je,p.log=da,p.AbstractVirtualNode=Rt,p.SerialVirtualNode=gm,p.VirtualNode=bl,p._cache=Ve,p.imports=lc,p.cleanup=vm,p.configure=q2,p.frameMessenger=B2,p.getRules=V2,p._load=PR,p.plugins={},p.registerPlugin=NR,p.hasReporter=ym,p.getReporter=ql,p.addReporter=O2,p.reset=BR,p._runRules=O1,p.runVirtualRule=HR,p.run=VR,p.setup=JR,p.teardown=aa,p.runPartial=GR,p.finishRun=WR,p.commons=Vm,p.utils=Go,p.addReporter("na",QR),p.addReporter("no-passes",t3),p.addReporter("rawEnv",n3),p.addReporter("raw",q1),p.addReporter("v1",o3),p.addReporter("v2",l3,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(ee){var ce="Fix any of the following:",De=ee;if(De)for(var it,Dt=-1,Ot=De.length-1;Dt<Ot;)it=De[Dt+=1],ce+=`
|
|
371
|
-
`+
|
|
370
|
+
`)}var Ol=$A;function Nl(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var am=Ue.resultGroups;function ja(e,t){var r=m.utils.aggregateResult(e);return am.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=im(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,zA(i,t),i})),am.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function zA(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 im(a,t)});});});}function im(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=ir.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var GA=/\$\{\s?data\s?\}/g;function go(e,t){if(typeof t=="string")return e.replace(GA,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 om(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]),om(a,t)}}var ql=om;function WA(e,t,r){var n=m._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return ql(n.messages[t],r)}var UA=WA;function XA(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=XA;function sn(){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:m.version},testRunner:{name:m._audit.brand},testEnvironment:YA(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function YA(e){if(!e.navigator||de(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=KA(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function KA(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function sm(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&JA(e),size:ZA(e),page:n}}function JA(e){var t=kr(e.getAttribute("tabindex"));return t===null||t>=0}function ZA(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 QA(e){if(Hl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";ln(!Sr(e,"fromFrames"),"fromFrames"+t),ln(!Sr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(yo(e))e={include:e,exclude:[]};else return {include:[h],exclude:[]};var r=lm(e.include);r.length===0&&r.push(h);var n=lm(e.exclude);return {include:r,exclude:n}}function lm(){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=e2(e[r]);n&&t.push(n);}return t}function e2(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(Vl(e)?(r2(e),e=e.fromFrames):wo(e)&&(e=[e]),t2(e))}function t2(e){if(Array.isArray(e)){var t=[],r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(wo(a)&&(n2(a),a=a.fromShadowDom),typeof a!="string"&&!a2(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function r2(e){ln(Array.isArray(e.fromFrames),"fromFrames property must be an array"),ln(e.fromFrames.every(function(t){return !Sr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),ln(!Sr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function n2(e){ln(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),ln(e.fromShadowDom.every(function(t){return !Sr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),ln(e.fromShadowDom.every(function(t){return !Sr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function a2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function ln(e,t){rt(e,"Invalid context; ".concat(t,`
|
|
371
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function um(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,Te(o));}else r.push(Ye(i));else if(i&&i.length)if(i.length>1)i2(e,t,i);else {var s=Yl(i[0]);r.push.apply(r,Te(s.map(function(l){return Ye(l)})));}}return r.filter(function(l){return l})}function i2(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=sm(i,e),e.frames.push(o)),o[t].push(r);});}function bo(e,t){var r,n,a,i,o=this;e=qr(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=QA(e),this.flatTree=t??Pl(u2(e)),this.exclude=e.exclude,this.include=e.include,this.include=um(this,"include"),this.exclude=um(this,"exclude"),Xl("frame, iframe",this).forEach(function(s){$l(s,o)&&o2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=s2(this),this.frames.forEach(function(s){s.page=o.page;})),l2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Gl);}function o2(e,t){!vt(t)||Sa(e.frames,"node",t)||e.frames.push(sm(t,e));}function s2(e){var t=e.include;return t.length===1&&t[0].actualNode===h.documentElement}function l2(e){if(e.include.length===0&&e.frames.length===0){var t=hr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function u2(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof d.Element)return i.ownerDocument.documentElement;if(i instanceof d.Document)return i.documentElement}return h.documentElement}function c2(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,V);o.initiator=false;var s=Bi(i);return {frameSelector:s,frameContext:o}})}function cm(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function d2(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=dm(a,"overflow-x"),o=dm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function dm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var jr=pt(d2);function fm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=jr(r);return n&&t.push(n),t.concat(fm(r))},[])}function f2(){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(fm(h.body))}var p2=f2;function m2(){return qr(nt)}function h2(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 p=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(p);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var pm=h2,Jt;function g2(e){if(Jt&&Jt.parentNode)return Jt.styleSheet===void 0?Jt.appendChild(h.createTextNode(e)):Jt.styleSheet.cssText+=e,Jt;if(e){var t=h.head||h.getElementsByTagName("head")[0];return Jt=h.createElement("style"),Jt.type="text/css",Jt.styleSheet===void 0?Jt.appendChild(h.createTextNode(e)):Jt.styleSheet.cssText=e,t.appendChild(Jt),Jt}}var v2=g2;function Bl(e){return !!e&&de(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Sr(e,t){return !e||de(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function mm(e){return Hl(e)||yo(e)}function Hl(e){return ["include","exclude"].some(function(t){return Sr(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 Sr(e,"fromFrames")}function wo(e){return Sr(e,"fromShadowDom")}function hm(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=hm(a,true);return r&&(r._isHidden=i),i}var b2=hm;function y2(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:!!nt.htmlElms[n]}var jl=y2;function $l(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 Br(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Br(c,e)});if(s.length===0)return true;var l=gm(o),u=gm(s);return Br(u,l)}function gm(e){var t,r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Br(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 w2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Gl=w2;function tt(e){return e instanceof Rt?{vNode:e,domNode:e.actualNode}:{vNode:Ye(e),domNode:e}}function x2(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,p){var b=[].concat(Te(r),[p]),_=/^https?:\/\/|^\/\//i.test(c);return Ul(c,t,b,n,_)}),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 vm=x2;function D2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=_2(e);return i?vm(e,t,r,n,a):Ul(e.href,t,r,n,true)}function _2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Wl=D2;function A2(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=Ue.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 Wl(o.sheet,t,r,n,o.isCrossOrigin)})}var Ul=A2;function E2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=E2,C2=(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(L){return Array.isArray(L)?L[L.length-1]:L},u=function(L){i._log("Measure "+L.name+" took "+L.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 p=d.performance.getEntriesByType("measure").filter(function(R){return R.startTime>=c.startTime}),b=0;b<p.length;++b){var _=p[b];if(_.name===a){u(_);return}else a||u(_);}}},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);}}})(),ot=C2;function bm(){if(h.elementsFromPoint)return h.elementsFromPoint;if(h.msElementsFromPoint)return h.msElementsFromPoint;var e=(function(){var a=h.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=h.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(h.head.appendChild(n);(o=h.elementFromPoint(a,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(h.documentElement)<u.length-1&&(u.splice(u.indexOf(h.documentElement),1),u.push(h.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return h.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(h.elementsFromPoint=bm());function S2(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var $a=S2;function ym(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 k2(e,t,r){for(var n=We.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=ym(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],p=null,b=null,_=(((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,L=0;L<_;L++){var N,H,j,W=L<(((N=o.anyLevel)===null||N===void 0?void 0:N.length)||0)?o.anyLevel[L]:o.thisLevel[L-(((H=o.anyLevel)===null||H===void 0?void 0:H.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 U=W.slice(1);if([" ",">"].includes(U[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+W[1].combinator);U[0].combinator===">"?(p=p||[]).push(U):(b=b||[]).push(U);}(!W[0].id||c.shadowId===o.parentShadowId)&&(j=o.anyLevel)!==null&&j!==void 0&&j.includes(W)&&(b=b||[]).push(W);}for(c.children&&c.children.length&&(a.push(o),o=ym(c.children,b,p,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function T2(e,t,r){e=Array.isArray(e)?e:[e];var n=Hi(t),a=em(e,n,r);return a||k2(e,n,r)}var Tr=T2;function R2(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=F2(r);if(!n.length)return Promise.resolve();var a=h.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=pm(a);return I2(n,i).then(function(o){return xm(o)})}var wm=R2;function F2(e){var t=[],r=Tr(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 $a(r,[])}function I2(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=L2(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],p=Promise.all(s.map(function(b,_){var R=[l,_];return Wl(b,u,R,c)}));r.push(p);}),Promise.all(r)}function xm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(xm(r)):t.concat(r)},[])}function L2(e,t,r){var n;return e.nodeType===11&&t?n=P2(e,r):n=M2(e),N2(n)}function P2(e,t){return Array.from(e.children).filter(O2).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 M2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Dm(t.media.mediaText):false})}function O2(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&&Dm(e.media)}function Dm(e){return e?!e.toUpperCase().includes("PRINT"):true}function N2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function q2(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=Tr(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 B2(i)}))}var _m=q2;function B2(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:wm,media:_m};return Em(e)?new Promise(function(r,n){var a=Cm(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 K({},l,u)})})).then(function(l){var u=l.reduce(function(c,p){return Le({},c,p)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function H2(e){return de(e)==="object"&&Array.isArray(e.assets)}function Em(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:H2(e.preload)}function Cm(e){var t=Ue.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=$a(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=m._audit.data.checks||{},r=m._audit.data.rules||{},n=Sa(m._audit.rules,"id",e.id)||{};e.tags=qr(n.tags||[]);var a=Sm(t,true,n),i=Sm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Ws(e,qr(r[e.id]||{}));}function V2(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 Sm(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=V2(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)),Ws(n,o);}}function j2(e,t){return Tr(e,t)}var Zt=j2;function km(e,t){var r,n,a=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function $2(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?km(e,n.values):km(e,[])}var Tm=$2;function Rm(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 Fm(r,n,e,t)});}else r=Fm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Rm(i,t));}),r}function Fm(e,t,r,n){return t&&(e=h.createElement(e.nodeName),Array.from(t).forEach(function(a){z2(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function z2(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(m._selectCache)for(var a=0,i=m._selectCache.length;a<i;a++){var o=m._selectCache[a];if(o.selector===e)return o.result}for(var s=G2(t.include),l=W2(t),u=0;u<s.length;u++){n=s[u];var c=Tr(n,e,l);r=U2(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function G2(e){return e.reduce(function(t,r){return (!t.length||!Br(t[t.length-1],r))&&t.push(r),t},[])}function W2(e){return !e.exclude||e.exclude.length===0?null:function(t){return $l(t,e)}}function U2(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=at(Ue.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 X2=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return Qt(this,t),a=ae(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 Se(t,e),Vt(t)})($(Error)),_o=X2;function Y2(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function K2(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return Y2(r,n,a)});}var J2=K2;function Z2(e){var t=Array.isArray(e)?Te(e):[e];return Im(t,h)}function Im(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Im(e,n.shadowRoot):null}function Yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h,r=Array.isArray(e)?Te(e):[e];return e.length===0?[]:Lm(r,t)}function Lm(e,t){var r=B(e),n=r[0],a=fn(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=at(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Te(Lm(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function Q2(){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=Q2,Pm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 eE(e){for(var t=Pm;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 Mm(e){e=Array.isArray(e)?e:Pm;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Mm(r).map(function(i){return a+i})):t.push(a);}),t}var Eo=eE,tE=(function(e){function t(r){var n;return Qt(this,t),n=ae(this,t),n._props=nE(r),n._attrs=aE(r),n}return Se(t,e),Vt(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)}}])})(Rt),Kl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Om={},rE=Object.keys(Kl);rE.forEach(function(e){Om[Kl[e]]=e;});function nE(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;rt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),rt(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=Le({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function aE(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(rt(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 Nm=tE;function iE(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),n=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{m.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=m.utils.getFlattenedTree(h.body);m.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var qm=iE,za={},Bm;function Hm(e){return za.hasOwnProperty(e)}function Jl(e){return typeof e=="string"&&za[e]?za[e]:typeof e=="function"?e:Bm}function oE(e,t,r){za[e]=t,r&&(Bm=t);}function sE(e){var t=m._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=we(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=we(s,3),u=l[0],c=l[1],p=l[2],b=m.version.split("-"),_=we(b,2),R=_[0],L=_[1],N=R.split(".").map(Number),H=we(N,3),j=H[0],W=H[1],U=H[2];if(u!==j||W<c||W===c&&U<p||u===j&&c===W&&p===U&&o&&o!==L)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Hm(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(re){if(!re.id)throw new TypeError("Configured check ".concat(JSON.stringify(re)," is invalid. Checks must be an object with at least an id property"));t.addCheck(re);});}var J=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(re){if(!re.id)throw new TypeError("Configured rule ".concat(JSON.stringify(re)," is invalid. Rules must be an object with at least an id property"));J.push(re.id),t.addRule(re);});}if(e.disableOtherRules&&t.rules.forEach(function(re){J.includes(re.id)===false&&(re.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&&CD(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(Ue.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var lE=sE;function uE(e){hr.updateMessenger(e);}function cE(e){e=e||[];var t=e.length?m._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var dE=cE;function fE(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=Ft(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var pE=fE,Vm={};ur(Vm,{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 yE},isRowHeader:function(){return Vn},toArray:function(){return Vr},toGrid:function(){return Vr},traverse:function(){return Ql}});function mE(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=mE;function jm(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,p=t.x+o,b=e==="row"?t.y:0,_=e==="row"?0:t.x,R,L=[],N=c;N>=b&&!R;N--)for(var H=p;H>=_;H--){var j=r[N]?r[N][H]:void 0;if(j){var W=m.utils.getNodeFromTree(j);if(W[n]){R=W[n];break}L.push(j);}}return R=(R||[]).concat(L.filter(a)),L.forEach(function(U){var J=m.utils.getNodeFromTree(U);J[n]=R;}),R}function hE(e,t){if(e.getAttribute("headers")){var r=Ar(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Vr(qn(e,"table")));var n=ao(e,t),a=jm("row",n,t),i=jm("col",n,t);return [].concat(a,i).reverse()}var Co=hE;function gE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Ze(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var $m=gE;function vE(e){var t=Ze(e);if((t==="presentation"||t==="none")&&!At(e))return false;if(e.getAttribute("contenteditable")==="true"||qn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||gr(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,p=o.cells.length;c<p;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(Ze(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 _,R,L=0;L<i;L++){if(o=e.rows[L],_&&_!==d.getComputedStyle(o).getPropertyValue("background-color")||(_=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=vE;function bE(e){if(Hn(e)||Vn(e))return true;if(e.getAttribute("id")){var t=wt(e.getAttribute("id"));return !!h.querySelector('[headers~="'.concat(t,'"]'))}return false}var yE=bE;function zm(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=zm(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function wE(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 zm(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var Ql=wE,Gm={};ur(Gm,{allowedAttr:function(){return Wm},arialabelText:function(){return Pa},arialabelledbyText:function(){return La},getAccessibleRefs:function(){return eu},getElementUnallowedRoles:function(){return Ym},getExplicitRole:function(){return Ze},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return Na},getRole:function(){return Xe},getRoleType:function(){return gr},getRolesByType:function(){return IE},getRolesWithNameFromContents:function(){return ME},implicitNodes:function(){return NE},implicitRole:function(){return Er},isAccessibleRef:function(){return ko},isAriaRoleAllowedOnElement:function(){return Xm},isComboboxPopup:function(){return ru},isUnsupportedRole:function(){return ul},isValidRole:function(){return Ma},label:function(){return Qm},labelVirtual:function(){return so},lookupTable:function(){return Jm},namedFromContents:function(){return wp},requiredAttr:function(){return e1},requiredContext:function(){return nu},requiredOwned:function(){return au},validateAttr:function(){return To},validateAttrValue:function(){return t1}});function xE(e){var t=nt.ariaRoles[e],r=Te(nn());return t&&(t.allowedAttrs&&r.push.apply(r,Te(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Te(t.requiredAttrs))),r}var Wm=xE,DE=/^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=at(qt(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(p){s.e(p);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Um(e.childNodes[c],t,r);}function _E(e){var t;e=e.actualNode||e;var r=Pt(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(nt.ariaAttrs).filter(function(o){var s=nt.ariaAttrs[o].type;return DE.test(s)});Um(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var eu=_E;function AE(e,t){var r=e instanceof Rt?e:Ye(e),n=Er(r),a=an(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Xm=AE,EE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],CE={header:"banner",footer:"contentinfo"};function SE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=qt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Ma(n)})}function kE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=tt(e),n=r.vNode;if(!jl(n))return [];var a=n.props.nodeName,i=Er(n)||CE[a],o=SE(n);return o.filter(function(s){return !TE(s,n,t,i)})}function TE(e,t,r,n){return r&&e===n?true:EE.includes(e)&&gr(e)!==n?false:Xm(t,e)}var Ym=kE;function RE(e){return Object.keys(nt.ariaRoles).filter(function(t){return nt.ariaRoles[t].type===e})}var $n=RE;function FE(e){return $n(e)}var IE=FE;function LE(){return We.get("ariaRolesNameFromContent",function(){return Object.keys(nt.ariaRoles).filter(function(e){return nt.ariaRoles[e].nameFromContent})})}var tu=LE;function PE(){return tu()}var ME=PE,Km=function(t){return t===null},Mt=function(t){return t!==null},$r={};$r.attributes={"aria-activedescendant":{type:"idref",allowEmpty:true,unsupported:false},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:false},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:false},"aria-busy":{type:"boolean",values:["true","false"],unsupported:false},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-colcount":{type:"int",unsupported:false},"aria-colindex":{type:"int",unsupported:false},"aria-colspan":{type:"int",unsupported:false},"aria-controls":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],unsupported:false},"aria-describedby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-describedat":{unsupported:true,unstandardized:true},"aria-details":{type:"idref",allowEmpty:true,unsupported:false},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:false},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:false},"aria-errormessage":{type:"idref",allowEmpty:true,unsupported:false},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-flowto":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:false},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:false},"aria-invalid":{type:"nmtoken",allowEmpty:true,values:["true","false","spelling","grammar"],unsupported:false},"aria-keyshortcuts":{type:"string",allowEmpty:true,unsupported:false},"aria-label":{type:"string",allowEmpty:true,unsupported:false},"aria-labelledby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-level":{type:"int",unsupported:false},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:false},"aria-modal":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:false},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:false},"aria-owns":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-placeholder":{type:"string",allowEmpty:true,unsupported:false},"aria-posinset":{type:"int",unsupported:false},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:false},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:false},"aria-required":{type:"boolean",values:["true","false"],unsupported:false},"aria-roledescription":{type:"string",allowEmpty:true,unsupported:false},"aria-rowcount":{type:"int",unsupported:false},"aria-rowindex":{type:"int",unsupported:false},"aria-rowspan":{type:"int",unsupported:false},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-setsize":{type:"int",unsupported:false},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:false},"aria-valuemax":{type:"decimal",unsupported:false},"aria-valuemin":{type:"decimal",unsupported:false},"aria-valuenow":{type:"decimal",unsupported:false},"aria-valuetext":{type:"string",unsupported:false}},$r.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],$r.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Mt}}]},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:Mt}}]},"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:Mt}}]},"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:Mt}}]},"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:Mt}}]},"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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},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:Mt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},$r.implicitHtmlRole=pl,$r.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Mt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Mt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof m.AbstractVirtualNode||(t=m.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],$r.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Km}},{nodeName:"img",attributes:{alt:Km}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],$r.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=m.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},$r.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Jm=$r;function OE(e){var t=null,r=Jm.role[e];return r&&r.implicit&&(t=qr(r.implicit)),t}var NE=OE;function qE(e){return !!eu(e).length}var ko=qE;function ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Xe(e);if(r??(r=tp["aria-haspopup"].values),!r.includes(n))return false;var a=BE(e);if(Zm(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),
|
|
372
|
+
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Zm)}var Zm=function(t){return t&&Xe(t)==="combobox"};function BE(e){for(;e=e.parent;)if(Xe(e,{noPresentational:true})!==null)return e;return null}function HE(e){return e=Ye(e),so(e)}var Qm=HE;function VE(e){var t=nt.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Te(t.requiredAttrs)}var e1=VE;function jE(e){var t=nt.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Te(t.requiredContext)}var nu=jE;function $E(e){var t=nt.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Te(t.requiredOwned)}var au=$E;function zE(e,t){e=e instanceof Rt?e:Ye(e);var r,n,a=e.attr(t),i=nt.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=qt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Pt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Ar(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 t1=zE;function GE(e){var t=nt.ariaAttrs[e];return !!t}var To=GE;function WE(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(Ze(s))!==-1}),i=Vr(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 UE=WE,Ga=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],r1=Ga[0],n1=Ga[1],a1=Ga[2],iu=Ga[3];function XE(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=K(K(K(K({},a1,new Set),r1,new Set),n1,new Set),iu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!vt(b))){var _=b.getAttribute("headers").trim();if(!_){l[iu].add(b);return}var R=b.getAttribute("id"),L=qt(_);L.forEach(function(N){R&&N===R?l[a1].add(b):r[N]?["columnheader","rowheader"].includes(r[N])||l[n1].add(b):l[r1].add(b);});}});var u=at(Ga),c;try{for(u.s();!(c=u.n()).done;){var p=c.value;if(l[p].size>0)return this.relatedNodes(Te(l[p])),p===iu?void 0:(this.data({messageKey:p}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function YE(e){var t=[],r=Zl(e),n=Vr(e);return r.forEach(function(a){if(co(a)&&$m(a)&&!Qm(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 KE=YE;function JE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var ZE=JE,QE=eC;function eC(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(tC),i=a?He(on(a)):false;return !i||!n?false:He(n).toLowerCase()===He(i).toLowerCase()}}function tC(e){return e.props.nodeName==="caption"}function rC(e){return Wp(h)?e.nodeName.toUpperCase()==="TH":true}var nC=rC;function aC(e){var t=Vr(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 iC=aC;function oC(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=on(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var sC=oC,i1={};ur(i1,{getAriaRolesByType:function(){return $n},getAriaRolesSupportingNameFromContent:function(){return tu},getElementSpec:function(){return an},getElementsByContentType:function(){return cl},getGlobalAriaAttrs:function(){return nn},implicitHtmlRoles:function(){return pl}});function lC(e,t,r){var n=Ze(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=nn().some(function(l){return r.hasAttr(l)}),o=At(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function uC(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 cC=uC;function dC(e){return Yt(e)}var fC=dC;function pC(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&&!Xp(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(Le({value:p},c)),true;var b=mC(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Le({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function mC(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 hC(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var gC=hC;function vC(){}var bC=vC;function yC(){var e=h.title;return !!He(e)}var wC=yC;function xC(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 DC=xC;function _C(e,t,r){try{return !!He(La(r))}catch{return}}var AC=_C;function EC(e,t,r){return !!He(Pa(r))}var CC=EC;function SC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Pt(e),n=Array.from(r.querySelectorAll('[id="'.concat(wt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var kC=SC;function TC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var RC=TC;function FC(e,t,r){var n=He(r.attr("title")).toLowerCase();return this.data(n),true}var IC=FC;function LC(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 PC=LC;function MC(e){var t=il(e,"href");return t?vt(t)||void 0:false}var OC=MC,NC=["alert","log","status"];function qC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=We.get("regionlessNodes",function(){return BC(t)});return !n.includes(r)}function BC(e){var t=o1(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==h.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function o1(e,t){var r=e.actualNode;if(Xe(e)==="button"||VC(e,t)||["iframe","frame"].includes(e.props.nodeName)||Tl(e.actualNode)&&il(e.actualNode,"href")||!vt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==h.body&&co(r,true)&&!HC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return o1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function HC(e){return ["none","presentation"].includes(Xe(e))&&!uo(e)}function VC(e,t){var r=e.actualNode,n=Xe(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=$n("landmark");return !!(["assertive","polite"].includes(a)||NC.includes(n)||i.includes(n)||t.regionMatcher&&Oa(e,t.regionMatcher))}function jC(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=at(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 $C=jC;function zC(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 GC(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(GC(e));return {fontWeight:zC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function s1(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 WC(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(N){return N.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(N){return N.nodeName.toUpperCase()==="P"}),l=ou(e),u=o?ou(o):null,c=s?ou(s):null,p=t.passLength,b=t.failLength,_=e.textContent.trim().length,R=o?.textContent.trim().length;if(_>R*p||!u||!s1(l,u,i))return true;var L=Nn(r,"blockquote");if(!(L&&L.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!s1(l,c,i))&&!(_>R*b))return false}var UC=WC,XC=/[;,\s]/,YC=/^[0-9.]+$/;function KC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(XC),l=we(s,1),u=l[0];if(!u.match(YC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function JC(e,t,r){var n=Zt(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var ZC=JC,l1={};ur(l1,{aria:function(){return Gm},color:function(){return u1},dom:function(){return Us},forms:function(){return x1},matches:function(){return Oa},math:function(){return Mf},standards:function(){return i1},table:function(){return Vm},text:function(){return Ia},utils:function(){return as}});var u1={};ur(u1,{Color:function(){return bt},centerPointOfRect:function(){return eS},elementHasImage:function(){return fo},elementIsDistinct:function(){return d1},filteredRectStack:function(){return aS},flattenColors:function(){return Rr},flattenShadowColors:function(){return lu},getBackgroundColor:function(){return Ua},getBackgroundStack:function(){return uu},getContrast:function(){return zn},getForegroundColor:function(){return Io},getOwnBackgroundColor:function(){return An},getRectStack:function(){return f1},getStackingContext:function(){return du},getStrokeColorsFromShadows:function(){return cu},getTextShadowColors:function(){return Fo},hasValidContrastRatio:function(){return CS},incompleteData:function(){return mt},parseTextShadows:function(){return h1},stackingContextToColor:function(){return Wa}});function QC(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 eS=QC;function c1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function tS(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 bt;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(c1(r)[0]!==c1(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 d1=tS;function rS(e){var t=Zf(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 f1=rS;function nS(e){var t=f1(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]:(mt.set("bgColor","elmPartiallyObscuring"),null)}return mt.set("bgColor","outsideViewport"),null}var aS=nS,iS=["hue","saturation","color","luminosity"],p1={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 Rr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=sS(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=oS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new bt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new bt(l,u,c,s)}function su(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function oS(e,t,r){return Math.min(Math.max(t,e),r)}function sS(e,t,r){if(iS.includes(r))return p1[r](e,t);var n=new bt;return ["r","g","b"].forEach(function(a){n[a]=p1[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 bt(n,a,i,o)}function uu(e){for(var t=_l(e).map(function(a){return a=Yp(a,e),a=lS(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return mt.set("bgColor","bgOverlap"),null;if(r!==0&&!uS(n,t[0]))return mt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function lS(e){var t=e.indexOf(h.body),r=e,n=An(d.getComputedStyle(h.documentElement));if(t>1&&n.alpha===0&&!fo(h.documentElement)){t>1&&(r.splice(t,1),r.push(h.body));var a=r.indexOf(h.documentElement);a>0&&(r.splice(a,1),r.push(h.documentElement));}return r}function uS(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 cS=.54,Ro=.5,dS=1.5,m1=["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=fS(e),i=Object.entries(a).map(function(o){var s=we(o,2),l=s[0],u=s[1],c=m1.filter(function(p){return u[p].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(pS).filter(function(o){return o!==null})}function fS(e){var t={},r=at(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=we(s,2),c=u[0],p=u[1];c>Ro?l.right.push(c):-c>Ro&&l.left.push(-c),p>Ro?l.bottom.push(p):-p>Ro&&l.top.push(-p);}}catch(b){r.e(b);}finally{r.f();}return t}function pS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new bt;a.parseString(t);var i=0,o=true;return m1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>dS}));}),o||(a.alpha=1-Math.pow(cS,i)),a}function h1(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)rt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){rt(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]===",")rt(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);rt(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],p=h1(s),b=at(p),_;try{for(b.s();!(_=b.n()).done;){var R=_.value,L=R.colorStr||o.getPropertyValue("color"),N=we(R.pixels,3),H=N[0],j=N[1],W=N[2],U=W===void 0?0:W;if(!(n&&U>=u*n)){if(r&&U<u*r){c.push({colorStr:L,pixels:R.pixels});continue}if(c.length>0){var J=cu(c,{ignoreEdgeCount:a});if(J===null)return null;i.push.apply(i,Te(J)),c.splice(0,c.length);}var re=mS({colorStr:L,offsetX:H,offsetY:j,blurRadius:U,fontSize:u});i.push(re);}}}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,Te(se));}return i}function mS(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new bt(0,0,0,0);var o=new bt;return o.parseString(t),o.alpha*=hS(a,i),o}function hS(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=bS(s),u=s._stackingOrder.filter(function(b){var _=b.vNode;return !!_});u.forEach(function(b,_){var R,L=b.vNode,N=(R=u[_-1])===null||R===void 0?void 0:R.vNode,H=v1(a,L,N);_===0&&!a.get(L)&&n.unshift(H),a.set(L,H);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,p=v1(a,s,c);u.length||n.unshift(p),p.bgColor=l;}),r._stackingContext=n,n}function Wa(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(gS,g1()),a=Rr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function gS(e,t){var r;e instanceof bt?r=e:r=Wa(e).color;var n=Wa(t).color;return Rr(n,r,t.blendMode)}function g1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new bt(0,0,0,0),blendMode:vS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function vS(e){return e||void 0}function v1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:g1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function bS(e){var t=new bt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Ua(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,Te(a.bgElms)),mt.set("bgColor",a.incompleteData),a.bgColor;var i=yS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:mt.get("bgColor")},i}function yS(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 p=void 0;try{if(p=An(c),p.alpha===0)continue}catch(L){if(L&&mt.get("colorParse"))return null;throw L}if(c.getPropertyValue("display")!=="inline"&&!b1(u,o))return t.push(u),mt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),p.alpha===1)break}var b=du(e,i);s=b.map(Wa).concat(s);var _=wS(e,i.includes(h.body));if((a=s).unshift.apply(a,Te(_)),s.length===0)return new bt(255,255,255,1);var R=s.reduce(function(L,N){return Rr(N.color,L.color instanceof bt?L.color:L,N.blendMode)});return Rr(R.color instanceof bt?R.color:R,new bt(255,255,255,1))}function b1(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(p){return p.top>=r.top&&p.bottom<=a&&p.left>=r.left&&p.right<=n})}function y1(e){return e||void 0}function wS(e,t){var r=[];if(!t){var n=h.documentElement,a=h.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=An(i),l=An(o),u=l.alpha!==0&&b1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:y1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:y1(i.getPropertyValue("mix-blend-mode"))});}return r}function xS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Rr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var zn=xS;function Io(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return _S(a,n)},function(){return DS(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(L){if(L&&mt.get("colorParse"))return null;throw L}var p=o.reduce(function(L,N){return Rr(L,N)});if(r??(r=Ua(e,[])),r===null){var b=mt.get("bgColor");return mt.set("fgColor",b),null}var _=du(e),R=w1(_,e);return Rr(AS(p,R,_),new bt(255,255,255,1))}function DS(e){return new bt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function _S(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 bt().parseString(s)}function AS(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(Wa);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Rr(l.color,s.color instanceof bt?s.color:s)},{color:new bt(0,0,0,0),blendMode:"normal"});e=Rr(e,o),t=t.ancestor;}return e}function w1(e,t){var r=at(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=w1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function ES(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 CS=ES,x1={};ur(x1,{isAriaCombobox:function(){return Sp},isAriaListbox:function(){return Cp},isAriaRange:function(){return kp},isAriaTextbox:function(){return Ep},isDisabled:function(){return Xa},isNativeSelect:function(){return Ap},isNativeTextbox:function(){return _p}});var SS=["fieldset","button","select","input","textarea"];function D1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return SS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=D1(e.parent):t=false,e._isDisabled=t,t}var Xa=D1;function kS(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:Us.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var TS=kS;function _1(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"?_1(o,s):o===s});return a}function RS(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,p=c.name,b=c.urlProps;if(n[p])return 1;var _=t.filter(function(L,N){var H=L.data;return H.name===p&&N!==s}),R=_.every(function(L){var N=L.data;return _1(N.urlProps,b)});_.length&&!R&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Te(_.map(function(L){return L.relatedNodes[0]}))),n[p]=_,r.push(u);},i=0;i<t.length;i++)a(i);return r}var FS=RS;function IS(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=we(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 LS(){var e=We.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(m._tree[0],t,vt);return e=r.map(function(n){return {ancestry:[Bi(n.actualNode)],level:IS(n)}}),this.data({headingOrder:e}),We.set("headingOrder",r),true}var PS=LS;function MS(e){var t=NS(e);return e.forEach(function(r){r.result=OS(r,t);}),e}function OS(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 NS(e){e=Te(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(qS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function qS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=E1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return HS(s,a)}),o=BS(e,a);return o===-1?e.push.apply(e,Te(i)):e.splice.apply(e,[o,0].concat(Te(i))),e}function BS(e,t){for(;t.length;){var r=A1(e,t);if(r!==-1)return r;t=E1(t,1);}return -1}function A1(e,t){return e.findIndex(function(r){return zl(r.ancestry,t)})}function HS(e,t){var r=t.concat(e.ancestry);return Le({},e,{ancestry:r})}function E1(e,t){return e.slice(0,e.length-t)}function VS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Hr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Hr.bind(null,n),o=to(r),s=jS(r,o),l=$S(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 p=or(r)?false:void 0;if(!i(a))return this.data(Le({minSize:n},Lo(a))),p;var b=WS(c);if(!b.length)return this.data(Le({minSize:n},Lo(a))),true;var _=zS(r,b,n);if(!_){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(_)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ya(s));return}var R=b.every(or),L="partiallyObscured".concat(R?"":"NonTabbable");return this.data(Le({messageKey:L,minSize:n},Lo(_))),this.relatedNodes(Ya(b)),R?p:void 0}return this.data(Le({minSize:n},Lo(_||a))),this.relatedNodes(Ya(b)),true}function jS(e,t){return t.filter(function(r){return !C1(r,e)&&S1(e,r)})}function $S(e,t){var r=[],n=[],a=at(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!S1(e,o)&&Qs(e,o)&&US(o)!=="none"&&(C1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function zS(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 GS(i,r)}function GS(e,t){return e.reduce(function(r,n){var a=Hr(t,r),i=Hr(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 WS(e){return e.filter(function(t){return gr(t)==="widget"&&At(t)})}function C1(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 US(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 S1(e,t){return Br(e,t)&&!or(t)}function Ya(e){return e.map(function(t){var r=t.actualNode;return r})}var XS=.05;function YS(e,t,r){var n=t?.minOffset||24;if(Hr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=at(to(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(gr(l)!=="widget"||!At(l))){var u=null;try{u=Nf(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=KS(u)*2,!(u+XS>=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 p=c.actualNode;return p})),!a.some(or)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),or(r)?false:void 0}function KS(e){return Math.round(e*10)/10}function JS(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(p,b){var _=b.trim();if(!_)return p;var R=_.split("="),L=we(R,2),N=L[0],H=L[1];if(!N||!H)return p;var j=N.toLowerCase().trim(),W=H.toLowerCase().trim();return j==="maximum-scale"&&W==="yes"&&(W=1),j==="maximum-scale"&&parseFloat(W)<0||(p[j]=W),p},{});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 ZS=JS;function QS(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,p=[],b=N(o),_=function(){var he=L[R],ye=b[he],_e=ye.root,Oe=ye.rules,$e=Oe.filter(H);if(!$e.length)return 1;$e.forEach(function(Re){var Be=Re.cssRules;Array.from(Be).forEach(function(ve){var Me=j(ve);if(Me&&ve.selectorText.toUpperCase()!=="HTML"){var Q=Array.from(_e.querySelectorAll(ve.selectorText))||[];p=p.concat(Q);}c=c||Me;});});},R=0,L=Object.keys(b);R<L.length;R++)_();if(!c)return true;return p.length&&this.relatedNodes(p),false;function N(le){return le.reduce(function(he,ye){var _e=ye.sheet,Oe=ye.root,$e=ye.shadowId,Re=$e||"topDocument";if(he[Re]||(he[Re]={root:Oe,rules:[]}),!_e||!_e.cssRules)return he;var Be=Array.from(_e.cssRules);return he[Re].rules=he[Re].rules.concat(Be),he},{})}function H(le){var he=le.type,ye=le.cssText;return he!==4?false:/orientation:\s*landscape/i.test(ye)||/orientation:\s*portrait/i.test(ye)}function j(le){var he=le.selectorText,ye=le.style;if(!he||ye.length<=0)return false;var _e=ye.transform||ye.webkitTransform||ye.msTransform||false;if(!_e&&!ye.rotate)return false;var Oe=W(_e),$e=U("rotate",ye.rotate),Re=Oe+$e;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 he=le.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!he)return 0;var ye=we(he,3),_e=ye[1],Oe=ye[2];return U(_e,Oe)}function U(le,he){switch(le){case "rotate":case "rotateZ":return J(he);case "rotate3d":var ye=he.split(",").map(function(Re){return Re.trim()}),_e=we(ye,4),Oe=_e[2],$e=_e[3];return parseInt(Oe)===0?void 0:J($e);case "matrix":case "matrix3d":return re(he);default:return 0}}function J(le){var he=le.match(/(deg|grad|rad|turn)/)||[],ye=we(he,1),_e=ye[0];if(!_e)return 0;var Oe=parseFloat(le.replace(_e,""));switch(_e){case "rad":return se(Oe);case "grad":return fe(Oe);case "turn":return De(Oe);default:return parseInt(Oe)}}function re(le){var he=le.split(",");if(he.length<=6){var ye=we(he,2),_e=ye[0],Oe=ye[1],$e=Math.atan2(parseFloat(Oe),parseFloat(_e));return se($e)}var Re=parseFloat(he[8]),Be=Math.asin(Re),ve=Math.cos(Be),Me=Math.acos(parseFloat(he[0])/ve);return se(Me)}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 De(le){return Math.round(360/(1/le))}}var ek=QS;function tk(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 p=we(c,2),b=p[1],_=b.split(",");return _.map(function(R){return /:/.test(R)?l(R):parseFloat(R)})}}function l(u){for(var c=u.split(":"),p=0,b=1;c.length>0;)p+=b*parseInt(c.pop(),10),b*=60;return parseFloat(p)}}var rk=tk;function nk(e,t){return t.isViolation?false:void 0}var ak=nk,k1=" > ";function ik(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(k1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(k1);return t[i]&&(t[i].result=true),false})}var ok=ik;function sk(e,t,r){var n=Zt(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var lk=sk;function uk(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 ck=uk;function dk(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||!vt(c))){i=false;var p=c.nodeName.toUpperCase()==="LI",b=Xe(u),_=b==="listitem";!p&&!_&&o.push(c),p&&!_&&(s.push(c),l.includes(b)||l.push(b)),_&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var fk=dk;function pk(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&&vt(u)){var p=Ze(u);(c!=="DT"&&c!=="DD"||p)&&(n.includes(p)||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 mk(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Ze(n);return ["presentation","none","list"].includes(i)?true:i&&Ma(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function hk(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=T1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&vk(l)){if(!l.children)return;var c=T1(l.children,true);i.push.apply(i,Te(c));continue}var p=gk(l,u,t);p&&(a.includes(p)||a.push(p),(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 gk(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,p=t?"div > ":"";if(u===3&&c.trim()!=="")return p+"#text";if(u!==1||!vt(e))return false;var b=Ze(e);return b?a.includes(b)?false:p+"[role=".concat(b,"]"):o.includes(l)?false:p+l}function vk(e){return e.props.nodeName==="div"&&Ze(e)===null}function T1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function bk(e){var t=Ft(e),r=t.nodeName.toUpperCase(),n=Ze(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Ft(t),r=t.nodeName.toUpperCase(),n=Ze(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var yk=bk;function wk(e,t,r){var n=Cn(r.attr("lang")),a=Cn(r.attr("xml:lang"));return n===a}var xk=wk;function Dk(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 _k=Dk;function fu(e){return (e||"").trim()!==""}function Ak(e,t,r){var n=typeof h<"u"?wa(h):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 Ek=Ak;function Ck(e,t,r){var n=Xe(e),a=It(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var Sk=Ck;function kk(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 Tk=kk;function Rk(e,t,r){var n=lo(r),a=io(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var Fk=Rk;function Ik(e){var t=wt(e.getAttribute("id")),r=e.parentNode,n=Pt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !rn(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 vt(s)});if(i.length>1)return;var o=Ar(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var Lk=Ik;function Pk(e,t){var r=R1(t),n=R1(e);return !r||!n?false:r.includes(n)}function R1(e){var t=qa(e,{emoji:true,nonBmp:true,punctuations:true});return He(t)}function Mk(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(on(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(xl(o)<1||xl(s)<1))return Pk(s,o)}var Ok=Mk;function Nk(e,t,r){try{var n=Xt(r,"label");if(n){var a=He(It(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var qk=Nk;function Bk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Pt(e),a=wt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!vt(i)){var o;try{o=It(r).trim();}catch{return}var s=o==="";return s}}return false}var Hk=Bk;function Vk(e,t,r){var n=lo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Ar(e,"aria-describedby");a=i.map(function(o){return o?xn(o):""}).join("");}return He(a)===He(n)}var jk=Vk;function $k(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Pt(r.actualNode),i=wt(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(Yt(s)){var l=He(xn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var zk=$k;function Gk(e,t,r){if(["none","presentation"].includes(Xe(r)))return false;var n=Xt(r,t.parentSelector);if(!n)return false;var a=Cr(n,true).toLowerCase();return a===""?false:a===It(r).toLowerCase()}var Wk=Gk;function Uk(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var Xk=Uk;function Yk(e,t,r){var n=kr(r.attr("tabindex"));return n===null||n<=0}var Kk=Yk;function Jk(e,t,r){if(r.children)try{var n=F1(r);if(!n.length)return !0;var a=n.filter(Zk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function F1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){gr(r)==="widget"&&At(r)?t.push(r):t.push.apply(t,Te(F1(r)));}),t}function Zk(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function Qk(e){var t=$n("landmark"),r=Ft(e),n=Xe(e);for(this.data({role:n});r;){var a=Ze(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Er(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Ft(r);}return true}var eT=Qk;function tT(e,t,r){if(r.children)try{return !r.children.some(function(n){return I1(n)})}catch{return}}function I1(e){if(or(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 I1(t)})}function rT(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 nT=rT;function aT(e,t,r){if(!or(r))return false;try{return !It(r)}catch{return}}var iT=aT;function oT(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 sT=oT;function lT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return or(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Xt(r.parent,"[contenteditable]");return o?n(o):false}}var uT=lT;function cT(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 dT=cT;function fT(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 pT=fT;function mT(e,t,r){return rn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var hT=mT;function gT(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 vT=gT;function bT(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=Tr(m._tree[0],t.selector,function(i){return vt(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 yT=bT;function wT(e){return e.filter(function(t){return t.data!=="ignored"})}var xT=wT;function DT(e,t,r){return Oa(r,t.matcher)}var _T=DT;function AT(e,t,r){try{return He(on(r))!==""}catch{return}}function ET(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=Tr(r,t.selector,function(a){return vt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var CT=ET;function ST(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var kT=ST;function TT(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 RT=TT;function FT(e,t,r){var n=r.attr("autocomplete")||"";return qp(n,t)}var IT=FT;function LT(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(p){i[p]||(i[p]=[]),i[p]=i[p].concat(t[p]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(p){return p.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 PT=LT,MT=["block","list-item","table","flex","grid","inline-block"];function OT(e){if(L1(e))return false;for(var t=Ft(e);t&&t.nodeType===1&&!L1(t);)t=Ft(t);if(t){if(this.relatedNodes([t]),d1(e,t))return true;if(NT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function L1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return MT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function NT(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 P1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var qT=["block","list-item","table","flex","grid","inline-block"];function M1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return qT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function BT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(M1(e))return false;for(var a=Ft(e);a&&a.nodeType===1&&!M1(a);)a=Ft(a);if(a){this.relatedNodes([a]);var i=Io(e),o=Io(a),s=Ua(e),l=Ua(a),u=i&&o?P1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?P1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var p,b=(p=mt.get("bgColor"))!==null&&p!==void 0?p:"bgContrast";this.data({messageKey:b}),mt.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 HT=BT;function VT(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,p=t.pseudoSizeThreshold;if(!Yt(e))return this.data({messageKey:"hidden"}),true;var b=Cr(r,false,true);if(n&&$T(b)){this.data({messageKey:"nonBmp"});return}var _=d.getComputedStyle(e),R=parseFloat(_.getPropertyValue("font-size")),L=_.getPropertyValue("font-weight"),N=parseFloat(L)>=o||L==="bold",H=Math.ceil(R*72)/96,j=N&&H<s||!N&&H<l,W=j?u.normal:u.large,U=W.expected,J=W.minThreshold,re=W.maxThreshold,se=jT(r,{ignorePseudo:i,pseudoSizeThreshold:p});if(se){this.data({fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:N?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:U+":1"}),this.relatedNodes(se.actualNode);return}var fe=Fo(e,{minRatio:.001,maxRatio:c});if(fe===null){this.data({messageKey:"complexTextShadows"});return}var De=[],le=Ua(e,De,c),he=Io(e,false,le,t),ye=null,_e=null,Oe=null;if(fe.length===0)ye=zn(le,he);else if(he&&le){Oe=[].concat(Te(fe),[le]).reduce(lu);var $e=zn(le,he),Re=zn(le,Oe),Be=zn(Oe,he);ye=Math.max($e,Re,Be),ye!==$e&&(_e=Re>Be?"shadowOnBgColor":"fgOnShadowColor");}var ve=ye>U;if(typeof J=="number"&&(typeof ye!="number"||ye<J)||typeof re=="number"&&(typeof ye!="number"||ye>re))return this.data({contrastRatio:ye}),true;var Me=Math.floor(ye*100)/100,Q,Ee;le===null?mt.get("colorParse")?(Q="colorParse",Ee=mt.get("colorParse")):Q=mt.get("bgColor"):ve||(Q=_e),he===null&&mt.get("colorParse")&&(Q="colorParse",Ee=mt.get("colorParse"));var me=Me===1,Ce=b.length===1;if(me?Q=mt.set("bgColor","equalRatio"):!ve&&Ce&&!a&&(Q="shortTextContent"),this.data({fgColor:he?he.toHexString():void 0,bgColor:le?le.toHexString():void 0,contrastRatio:Me,fontSize:"".concat((R*72/96).toFixed(1),"pt (").concat(R,"px)"),fontWeight:N?"bold":"normal",messageKey:Q,expectedContrastRatio:U+":1",shadowColor:Oe?Oe.toHexString():void 0,colorParse:Ee}),he===null||le===null||me||Ce&&!a&&!ve){Q=null,mt.clear(),this.relatedNodes(De);return}return ve||this.relatedNodes(De),ve}function jT(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=pt(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=N1(n.getPropertyValue("width")),o=N1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function $T(e){var t={nonBmp:true},r=yl(e,t),n=He(qa(e,t))==="";return r&&n}function N1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=we(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 zT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},GT={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 WT(e){var t=e.nodeName.toUpperCase();return zT[t]||false}function UT(e,t){var r=Ze(e);return r&&(GT[r]||t.roles.includes(r))||false}function XT(e,t){return UT(e,t)||WT(e)}var YT=XT;function KT(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=ul(n);return a&&this.data(n),a}var JT=KT;function ZT(e,t,r){var n=Xe(r,{noImplicit:true});this.data(n);var a,i;try{a=He(vl(r)).toLowerCase(),i=He(It(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var QT=ZT;function e5(e,t,r){return At(r)}var t5=e5;function r5(e,t,r){var n=qt(r.attr("role")),a=n.every(function(i){return !Ma(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var n5=r5;function a5(e,t,r){var n=Ze(r);if(n===null)return false;var a=gr(n);return a==="widget"||a==="composite"}var i5=a5;function o5(e,t,r){var n=nn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var s5=o5;function l5(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function u5(e,t,r){var n=qt(r.attr("role"));return n.length<=1?false:l5(r,n)?void 0:true}var c5=u5;function d5(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=nt.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function f5(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 p5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return He(It(r))!==""}catch{return}}function m5(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=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,p=r.attr(u);try{c=t1(r,u);}catch{n="".concat(u,'="').concat(p,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(p===""&&!h5(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(p,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function h5(e){var t;return ((t=nt.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function g5(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 v5=g5;function b5(e,t,r){var n=r.attrNames.filter(function(a){var i=nt.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 y5=b5;function w5(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 x5=w5;function q1(e,t,r,n){var a=Ze(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 D5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=wt(e.getAttribute("id")),a=Pt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function _5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=q1(r,n);if(!a)return true;var i=D5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=q1(Ye(i[o]),n,a,true),!a)return true}return this.data(a),false}var A5=_5;function E5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Ze(r,{dpub:true}),i=au(a);if(i===null)return true;var o=C5(r,i),s=o.filter(function(u){var c=u.role,p=u.vNode;return p.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,p=u.attr;return T5(c,p)}).filter(function(u,c,p){return p.indexOf(u)===c}).join(", ")}),false}if(S5(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(R5)))return false}function C5(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||!vt(r))return 1;var s=Xe(r,{noPresentational:true}),l=k5(r),u=!!l||At(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(p){return p===s}))a.push.apply(a,Te(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 S5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function k5(e){return nn().find(function(t){return e.hasAttr(t)})}function T5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Ze(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function R5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Ba(t,false,true)}function F5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Ze(n),i=n.attrNames,o=e1(a);if(Array.isArray(r[a])&&(o=$a(r[a],o)),!a||!i.length||!o.length||I5(n,a)||P5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=an(n),l=o.filter(function(u){return !n.attr(u)&&!L5(s,u)});return l.length?(this.data(l),false):true}function I5(e,t){return t==="separator"&&!At(e)}function L5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function P5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function M5(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=O5(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=on(r,{subtreeDescendant:true});if(He(u)==="")return true}function O5(e,t,r,n){var a=nt.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||B1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var B1=pt(function(t){if(t){var r=Xe(t,{noPresentational:true,chromium:true});return r?gr(r):B1(t.parent)}});function N5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var q5=N5;function B5(e,t,r){return r.attr("aria-hidden")!=="true"}var H5=B5;function V5(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 nt.ariaAttrs["aria-errormessage"].allowEmpty;var u=qt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Ar(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!vt(c))return this.data({messageKey:"hidden",values:u}),false;var p=qt(r.attr("aria-describedby"));return Ze(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(b){return p.includes(b)})}}return t.indexOf(n)===-1&&a?(this.data(qt(n)),s.call(this,n)):true}function H1(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=j5(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 j5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Xt(e,t)}}function V1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=z5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=$5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function $5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function z5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var j1={row:H1,checkbox:V1};function G5(e,t,r){var n=Xe(r);return j1[n]?j1[n].call(this,e,t,r):true}function W5(e,t,r){return r.attr("aria-busy")==="true"}function U5(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=Ym(r,a);return l.length?(this.data(l),vt(r)?false:void 0):true}var X5=U5;function Y5(e,t,r){var n=[],a=Xe(r),i=Wm(a);Array.isArray(t[a])&&(i=$a(t[a].concat(i)));var o=at(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;To(l)&&!i.includes(l)&&!K5(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&&!jl(r)&&!At(r)))return false}function K5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function J5(e,t,r){var n=an(r);if(!n.allowedAriaAttrs)return true;var a=Ze(r);if(a)return true;var i=n.allowedAriaAttrs,o=nn(),s=[],l=at(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 p=s.length>1?"plural":"singular";return this.data({messageKey:p,nodeName:r.props.nodeName,values:s.map(function(b){return b+'="'+r.attr(b)+'"'}).join(", ")}),false}function Z5(e,t,r){var n=qt(r.attr("role")).filter(function(a){return gr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var Q5=Z5;function eR(e){var t=Cn(e.getAttribute("lang")),r=Cn(e.getAttribute("xml:lang"));return Eo(t)&&Eo(r)}var tR=eR;function rR(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var nR=rR;function aR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Xt(t,"svg")}catch{return false}}var pu=aR;function iR(e,t){return oR.every(function(r){return r(e,t)})}var oR=[function(e,t){return $1(t)},function(e,t){return sR(t)},function(e,t){return !pu(e,t)},function(e,t){return At(t)},function(e,t){return or(t)||!lR(t)},function(e){return !Cl(e,{noLengthCompare:true,includeInlineBlock:true})}];function $1(e){return gr(e)==="widget"}function sR(e){return e.props.nodeName!=="area"}var lR=pt(function e(t){return t!=null&&t.parent?$1(t.parent)&&or(t.parent)?true:e(t.parent):false});function uR(e,t){var r=Xe(t);return ["treegrid","grid","table"].includes(r)}function cR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||dR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function dR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function fR(e){return Tl(e)&&Ki(e)}var pR=fR;function mR(e,t){return jr(e,13)!==void 0&&ru(t)===false&&hR(t)}function hR(e){var t=e.boundingClientRect;return Zt(e,"*").some(function(r){if(!Ba(r,true,true))return false;var n=[];if(uo(r)){var a;(a=n).push.apply(a,Te(gR(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 gR(e){var t=h.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function vR(e,t){return Er(t,{chromiumRoles:true})!==null}var bR=vR;function yR(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 wR=yR;function xR(e,t){var r=Ze(t);if(!r||["none","presentation"].includes(r))return true;var n=rp[r]||{},a=n.accessibleNameRequired;return !!(a||At(t))}var z1=xR,DR=function(t,r){return [z1,_R].every(function(n){return n(t,r)})};function _R(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 AR(e,t){return t.props.nodeName!=="html"}var ER=AR;function CR(e,t){return !t.attr("role")}var SR=CR;function kR(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var TR=kR;function RR(e,t){var r=an(t),n=r.namingMethods;return !(n&&n.length!==0||Ze(t)==="combobox"&&Zt(t,'input:not([type="hidden"])').length||ru(t,{popupRoles:["listbox"]}))}var FR=RR;function IR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var LR=IR;function PR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var MR=PR;function OR(e,t){var r=Xe(t);return r?!!nt.ariaRoles[r].childrenPresentational:false}var NR=OR;function qR(e){var t=He(e.innerText),r=Ze(e);return r&&r!=="link"||!t||!Yt(e)?false:Cl(e)}var BR=qR;function HR(e){return !So(e)&&!At(e)}var VR=HR;function jR(e,t){return $R(t)&&vt(t)}function $R(e){var t=$n("landmark"),r=Xe(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=It(e);return !!a}return t.indexOf(r)>=0||r==="region"}function zR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Nn(t,r)}var GR=zR;function WR(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 UR=WR;function XR(e,t){var r=Xe(e);if(!r)return false;var n=$n("widget"),a=n.includes(r);if(!a)return false;var i=tu();return !(!i.includes(r)||!He(Pa(t))&&!He(La(e))||!He(Cr(t)))}var YR=XR;function KR(e,t){return Yt(t)}function JR(e){return Yt(e)}function ZR(e,t,r){return r.initiator}var G1=ZR;function QR(e){return $p(e)}var eF=QR;function tF(e,t){var r=!!It(t);if(!r)return false;var n=Xe(e);return !(n&&n!=="link")}var rF=tF;function nF(e,t){return !pu(e,t)}var aF=nF;function iF(e,t){return Xe(t)==="heading"}function oF(e,t){return Er(t,{chromium:true})!==null}var sF=oF;function lF(e){var t=e.getAttribute("title");return !!He(t)}var uF=lF;function cF(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 dF=cF;function fF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(wt(t),'"]'),n=Array.from(Pt(e).querySelectorAll(r));return !ko(e)&&n.every(function(a){return !At(a)})}var pF=fF;function mF(e){return ko(e)}var hF=mF;function gF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(wt(t),'"]'),n=Array.from(Pt(e).querySelectorAll(r));return !ko(e)&&n.some(At)}var vF=gF;function bF(e){return So(e)}var yF=bF;function wF(e){if(So(e)){var t=Vr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var xF=wF;function DF(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 p=c||e,b=c?Ye(c):t;if(p.htmlFor){var _=Pt(p),R=_.getElementById(p.htmlFor),L=R&&Ye(R);if(L&&Xa(L))return false}var N='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',H=Zt(b,N)[0];if(H&&Xa(H))return false}for(var j=[],W=t;W;){if(W.props.id){var U=eu(W).filter(function(he){return qt(he.getAttribute("aria-labelledby")||"").includes(W.props.id)}).map(function(he){return Ye(he)});j.push.apply(j,Te(U));}W=W.parent;}if(j.length>0&&j.every(Xa)||!EF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var J=h.createRange(),re=t.children,se=0;se<re.length;se++){var fe=re[se];fe.actualNode.nodeType===3&&He(fe.actualNode.nodeValue)!==""&&J.selectNodeContents(fe.actualNode);}var De=Array.from(J.getClientRects()),le=Ta(t);return De.some(function(he){var ye=Rl(he,e);if(!le.length)return ye;var _e=le.some(function(Oe){return Xs(he,Oe.boundingClientRect)});return ye&&_e})}var _F=DF,AF={emoji:true,nonBmp:false,punctuations:true};function EF(e){var t=Cr(e,false,true);return t===""||qa(t,AF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!wl(r)})}function CF(e,t,r){return G1(e,t,r)?!!e.querySelector("a[href]"):true}var SF=CF;function kF(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=Ze(t),l=kr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=nt.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Yt(t)&&!vt(t))}var TF=kF;function RF(e,t){var r=Ze(t);return !!nu(r)}var FF=RF;function IF(e,t){var r=Ze(t,{dpub:true});return !!au(r)}var LF=IF;function W1(e){return e?e.getAttribute("aria-hidden")==="true"?false:W1(Ft(e)):true}function PF(e){return W1(Ft(e))}var MF=PF;function OF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var NF=OF;function qF(e,t){return Ze(t,{dpub:true,fallback:true})!==null}var BF=qF;function HF(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 VF=HF,jF={"abstractrole-evaluate":Q5,"accesskeys-after":vT,"accesskeys-evaluate":hT,"alt-space-value-evaluate":Xk,"aria-allowed-attr-elm-evaluate":J5,"aria-allowed-attr-evaluate":Y5,"aria-allowed-attr-matches":VF,"aria-allowed-role-evaluate":X5,"aria-allowed-role-matches":BF,"aria-busy-evaluate":W5,"aria-conditional-attr-evaluate":G5,"aria-conditional-checkbox-attr-evaluate":V1,"aria-conditional-row-attr-evaluate":H1,"aria-errormessage-evaluate":V5,"aria-has-attr-matches":NF,"aria-hidden-body-evaluate":H5,"aria-hidden-focus-matches":MF,"aria-label-evaluate":CC,"aria-labelledby-evaluate":AC,"aria-level-evaluate":q5,"aria-prohibited-attr-evaluate":M5,"aria-required-attr-evaluate":F5,"aria-required-children-evaluate":E5,"aria-required-children-matches":LF,"aria-required-parent-evaluate":A5,"aria-required-parent-matches":FF,"aria-roledescription-evaluate":x5,"aria-unsupported-attr-evaluate":y5,"aria-valid-attr-evaluate":v5,"aria-valid-attr-value-evaluate":m5,"attr-non-space-content-evaluate":RT,"autocomplete-appropriate-evaluate":PT,"autocomplete-matches":TF,"autocomplete-valid-evaluate":IT,"avoid-inline-spacing-evaluate":DC,"braille-label-equivalent-evaluate":p5,"braille-roledescription-equivalent-evaluate":f5,"bypass-matches":SF,"caption-evaluate":lk,"caption-faked-evaluate":iC,"color-contrast-evaluate":VT,"color-contrast-matches":_F,"css-orientation-lock-evaluate":ek,"data-table-large-matches":xF,"data-table-matches":yF,"deprecatedrole-evaluate":d5,"dlitem-evaluate":yk,"doc-has-title-evaluate":wC,"duplicate-id-active-matches":vF,"duplicate-id-after":RC,"duplicate-id-aria-matches":hF,"duplicate-id-evaluate":kC,"duplicate-id-misc-matches":pF,"duplicate-img-label-evaluate":Wk,"exists-evaluate":bC,"explicit-evaluate":zk,"fallbackrole-evaluate":c5,"focusable-content-evaluate":pT,"focusable-disabled-evaluate":dT,"focusable-element-evaluate":uT,"focusable-modal-open-evaluate":sT,"focusable-no-name-evaluate":iT,"focusable-not-tabbable-evaluate":nT,"frame-focusable-content-evaluate":tT,"frame-focusable-content-matches":dF,"frame-tested-after":ok,"frame-tested-evaluate":ak,"frame-title-has-text-matches":uF,"has-alt-evaluate":gC,"has-descendant-after":kT,"has-descendant-evaluate":CT,"has-global-aria-attribute-evaluate":s5,"has-implicit-chromium-role-matches":sF,"has-lang-evaluate":Ek,"has-text-content-evaluate":AT,"has-widget-role-evaluate":i5,"heading-matches":iF,"heading-order-after":MS,"heading-order-evaluate":PS,"help-same-as-label-evaluate":jk,"hidden-content-evaluate":pE,"hidden-explicit-label-evaluate":Hk,"html-namespace-matches":aF,"html5-scope-evaluate":nC,"identical-links-same-purpose-after":FS,"identical-links-same-purpose-evaluate":TS,"identical-links-same-purpose-matches":rF,"implicit-evaluate":qk,"inline-style-property-evaluate":pC,"inserted-into-focus-order-matches":eF,"internal-link-present-evaluate":ZC,"invalid-children-evaluate":hk,"invalidrole-evaluate":n5,"is-element-focusable-evaluate":t5,"is-initiator-matches":G1,"is-on-screen-evaluate":fC,"is-visible-matches":JR,"is-visible-on-screen-matches":KR,"label-content-name-mismatch-evaluate":Ok,"label-content-name-mismatch-matches":YR,"label-matches":UR,"landmark-has-body-context-matches":GR,"landmark-is-top-level-evaluate":eT,"landmark-is-unique-after":Tk,"landmark-is-unique-evaluate":Sk,"landmark-unique-matches":jR,"layout-table-matches":VR,"link-in-text-block-evaluate":HT,"link-in-text-block-matches":BR,"link-in-text-block-style-evaluate":OT,"listitem-evaluate":mk,"matches-definition-evaluate":_T,"meta-refresh-evaluate":KC,"meta-viewport-scale-evaluate":ZS,"multiple-label-evaluate":Lk,"nested-interactive-matches":NR,"no-autoplay-audio-evaluate":rk,"no-autoplay-audio-matches":MR,"no-empty-role-matches":LR,"no-explicit-name-required-matches":z1,"no-focusable-content-evaluate":Jk,"no-implicit-explicit-label-evaluate":QT,"no-naming-method-matches":FR,"no-negative-tabindex-matches":TR,"no-role-matches":SR,"non-empty-if-present-evaluate":cC,"not-html-matches":ER,"object-is-loaded-matches":DR,"only-dlitems-evaluate":pk,"only-listitems-evaluate":fk,"p-as-heading-evaluate":UC,"p-as-heading-matches":wR,"page-no-duplicate-after":xT,"page-no-duplicate-evaluate":yT,"presentation-role-conflict-matches":bR,"presentational-role-evaluate":lC,"region-after":$C,"region-evaluate":qC,"same-caption-summary-evaluate":QE,"scope-value-evaluate":ZE,"scrollable-region-focusable-matches":mR,"skip-link-evaluate":OC,"skip-link-matches":pR,"structured-dlitems-evaluate":ck,"summary-interactive-matches":cR,"svg-namespace-matches":pu,"svg-non-empty-title-evaluate":sC,"tabindex-evaluate":Kk,"table-or-grid-role-matches":uR,"target-offset-evaluate":YS,"target-size-evaluate":VS,"td-has-header-evaluate":KE,"td-headers-attr-evaluate":XE,"th-has-data-cells-evaluate":UE,"title-only-evaluate":Fk,"unique-frame-title-after":PC,"unique-frame-title-evaluate":IC,"unsupportedrole-evaluate":JT,"valid-lang-evaluate":_k,"valid-scrollable-semantics-evaluate":YT,"widget-not-inline-matches":iR,"window-is-top-matches":nR,"xml-lang-mismatch-evaluate":xk,"xml-lang-mismatch-matches":tR},Po=jF;function $F(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var mu=$F;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(p){t&&t.actualNode&&(p.errorNode=ir.toSpec(t)),i(p);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(p){throw t&&t.actualNode&&(p.errorNode=ir.toSpec(t)),p}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 X1=Gn;function zF(e){this.id=e.id,this.result=Ue.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Mo=zF;function zt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(rt(Ue.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));}zt.prototype.matches=function(){return true},zt.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&&ot.mark(n);var s=Xl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&ot.mark(i),s=s.filter(function(l){return vt(l)}),r.performanceTimer&&(ot.mark(o),ot.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(ot.mark(a),ot.measure("rule_"+this.id+"#gather",n,a)),s},zt.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=_r();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],p=vo(c,s.id,n);l.defer(function(b,_){c.run(r,p,a,b,function(R){_(new _o({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new ar(r),error:R}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},zt.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}},zt.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=_r(),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,p){var b=_r();["any","all","none"].forEach(function(_){b.defer(function(R,L){r.runChecks(_,u,n,t,R,L);});}),b.then(function(_){var R=Y1(_);R&&(R.node=new ar(u),s.nodes.push(R),r.reviewOnFail&&(["any","all"].forEach(function(L){R[L].forEach(function(N){N.result===false&&(N.result=void 0);});}),R.none.forEach(function(L){L.result===true&&(L.result=void 0);}))),c();}).catch(function(_){return p(_)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},zt.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=Y1(s);l&&(l.node=o.actualNode?new ar(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},zt.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;},zt.prototype._logGatherPerformance=function(t){bn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(ot.timeElapsed(),"ms")),ot.mark(this._markChecksStart);},zt.prototype._logRulePerformance=function(){ot.mark(this._markChecksEnd),ot.mark(this._markEnd),ot.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),ot.measure("rule_"+this.id,this._markStart,this._markEnd);};function Y1(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}}zt.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&&ot.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 ar(s),error:l})}}),r.performanceTimer&&(ot.mark(i),ot.measure("rule_"+this.id+"#matches",a,i)),o};function GF(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 WF(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 UF(e){return e.filter(function(t){return t.filtered!==true})}function XF(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=UF(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}zt.prototype.after=function(t,r){var n=this,a=GF(this);return a.forEach(function(i){var o=WF(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 p=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,b=n.none.includes(c.id)&&c.result===true;(p||b)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=XF(t),t},zt.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&&(rt(Ue.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Wn=/\{\{.+?\}\}/g,YF=(function(){function e(t){Qt(this,e),this.lang="en",this.defaultConfig=t,this.standards=nt,this._init(),this._defaultLocale=null;}return Vt(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 p=Object.keys(this.data.rules),b=0;b<p.length;b++){var _=p[b],R=this.data.rules[_],L=R.description,N=R.help;r.rules[_]={description:L,help:N};}for(var H=Object.keys(this.data.failureSummaries),j=0;j<H.length;j++){var W=H[j],U=this.data.failureSummaries[W],J=U.failureMessage;r.failureSummaries[W]={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]=JF(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]=ZF(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]=QF(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=e3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=J1();this.allowedOrigins=[];var a=at(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Ue.allOrigins){this.allowedOrigins=["*"];return}else o!==Ue.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=KF(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,Z1(r.rules,this,"addRule"),Z1(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 zt(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 X1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),ar.setRunOptions(n),m._selectCache=[];var o=t3(this.rules,r,n),s=o.now,l=o.later,u=_r();s.forEach(function(b){u.defer(Q1(b,r,n));});var c=_r();l.length&&c.defer(function(b){Am(n).then(function(_){return b(_)}).catch(function(_){console.warn("Couldn't load preload assets: ",_),b(void 0);});});var p=_r();p.defer(u),p.defer(c),p.then(function(b){var _=b.pop();if(_&&_.length){var R=_[0];R&&(r=Le({},r,R));}var L=b[0];if(!l.length){m._selectCache=void 0,a(L.filter(function(H){return !!H}));return}var N=_r();l.forEach(function(H){var j=Q1(H,r,n);N.defer(j);}),N.then(function(H){m._selectCache=void 0,a(L.concat(H).filter(function(j){return !!j}));}).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 eh(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(p){a.includes(p)||a.push(p);});}),["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&&m.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=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===th(n,i.id,a))&&(o.helpUrl=th(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),K1=YF;function J1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function KF(e){var t;if(e?(t=qr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=J1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Le({checks:{},rules:{}},t.data),t}function Z1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var JF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Wn.test(n)&&(n=Yr.default.compile(n)),typeof a=="string"&&Wn.test(a)&&(a=Yr.default.compile(a)),Le({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:de(t.messages.incomplete)==="object"?Le({},t.messages.incomplete,r.incomplete):r.incomplete}})},ZF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Wn.test(n)&&(n=Yr.default.compile(n)),typeof a=="string"&&Wn.test(a)&&(a=Yr.default.compile(a)),Le({},t,{help:n||t.help,description:a||t.description})},QF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Wn.test(n)&&(n=Yr.default.compile(n)),Le({},t,{failureMessage:n||t.failureMessage})},e3=function(t,r){return typeof r=="string"&&Wn.test(r)&&(r=Yr.default.compile(r)),r||t};function t3(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Tm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Q1(e,t,r){return r.performanceTimer&&ot.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(eh(e,i));});}}function eh(e,t){var r=t.errorNode,n=Do(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new ar(h.documentElement);return Object.assign(new Mo(e),{error:n,result:Ue.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function th(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Ue.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function rh(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!h;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(We.set("globalDocumentSet",true),h=e.ownerDocument),t||(We.set("globalWindowSet",true),d=h.defaultView);}}function r3(){We.get("globalDocumentSet")&&(We.set("globalDocumentSet",false),h=null),We.get("globalWindowSet")&&(We.set("globalWindowSet",false),d=null);}function n3(){r3(),m._memoizedFns.forEach(function(e){return e.clear()}),We.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var un=n3;function nh(e,t,r,n){try{e=new bo(e),m._tree=e.flatTree,m._selectorData=qi(e.flatTree);}catch(o){return un(),n(o)}var a=_r(),i=m._audit;t.performanceTimer&&ot.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){hf(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&ot.auditEnd();var s=Wi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&ot.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(ot.mark("auditAfterEnd"),ot.measure("audit.after","auditAfterStart","auditAfterEnd"),ot.logMeasures("audit.after")),s.forEach(xo),s=s.map(la));try{r(s,un);}catch(l){un(),bn(l);}}catch(l){un(),n(l);}}).catch(function(o){un(),n(o);});}function a3(e){m._audit=new K1(e);}function i3(e,t,r){var n=r,a=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[h]);var o=e&&e.options||{};switch(e.command){case "rules":return nh(i,o,function(s,l){s=ir.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return qm(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}d.top!==d&&(hr.subscribe("axe.start",i3),hr.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){m._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=m.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 o3(e){m.plugins[e.id]=new Ka(e);}var s3=o3;function l3(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),SD();}var u3=l3;function c3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Rt||(t=new Nm(t));var n=cm(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=Ec([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Ol(l);})}),Le({},sn(),o,{toolOptions:r})}function ah(e){var t,r,n,a=we(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!mm(i)){if(s!==void 0)throw l;s=o,o=i,i=h;}if(de(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=qr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var gu=function(){};function d3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];rh(t[0]);var n=ah(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?gu:o,l=f3(s),u=l.thenable,c=l.resolve,p=l.reject;try{rt(m._audit,"No audit configured"),rt(!m._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 m3(R,s)}m._running=true,i.performanceTimer&&ot.start();function b(R,L){var N=function(W){i.performanceTimer&&(ot.mark("reporterEnd"),ot.measure("reporter","reporterStart","reporterEnd"),ot.logMeasures("reporter"),ot.end()),m._running=false,L();try{c(W);}catch(U){m.log(U);}},H=function(W){m._running=false,L();try{p(W);}catch(U){m.log(U);}};try{i.performanceTimer&&ot.mark("reporterStart"),p3(R,i,N,H);}catch(j){H(j);}}function _(R){i.performanceTimer&&ot.end(),m._running=false,s(R),p(R);}return m._runRules(a,i,b,_),u}function f3(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 p3(e,t,r,n){var a=Jl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function m3(e,t){if(typeof t=="function"&&t!==gu){t(e.message);return}throw e}function h3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=ah(t),a=n.options,i=n.context;rt(m._audit,"Axe is not configured. Audit is missing."),rt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new bo(i,m._tree);return m._tree=o.flatTree,m._selectorData=qi(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,l){m._audit.run(o,a,s,l);}).then(function(s){s=ir.mapRawResults(s);var l=o.frames.map(function(c){var p=c.node;return ir.toSpec(p)}),u;return o.initiator&&(u=sn()),m._running=false,un(),{results:s,frames:l,environmentData:u}}).catch(function(s){return m._running=false,un(),Promise.reject(s)})}function g3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=qr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",v3(e);var s=Wi(e);return s=m._audit.after(s,a),s.forEach(xo),s=s.map(la),y3(s,Le({environmentData:o},a))}function v3(e){var t=[],r=at(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=b3(a);t.unshift.apply(t,Te(o));}}}catch(s){r.e(s);}finally{r.f();}}function b3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return ir.mergeSpecs(n,r)}):t}function y3(e,t){return new Promise(function(r,n){var a=Jl(t.reporter);a(e,t,r,n);})}function w3(e){if(m._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),rh(e),m._tree=Pl(e),m._selectorData=qi(m._tree),m._tree[0]}var x3=w3,D3=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,z);n(Le({},sn(i),{toolOptions:o},ja(t,r)));},_3=D3,A3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,Y);r.resultTypes=["violations"];var s=ja(t,r),l=s.violations;n(Le({},sn(i),{toolOptions:o,violations:l}));},E3=A3,C3=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=Le({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=ir.mapRawNodeResults(o[c]);}return o});n(a);},ih=C3,S3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,q);ih(t,o,function(s){var l=sn(i);n({raw:s,env:l});});},k3=S3,T3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,P),s=ja(t,r),l=function(c){c.nodes.forEach(function(p){p.failureSummary=Ol(p);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Le({},sn(i),{toolOptions:o},s));},R3=T3,F3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Z(a,O),s=ja(t,r);n(Le({},sn(i),{toolOptions:o},s));},I3=F3,L3={base:{Audit:K1,CheckResult:mu,Check:X1,Context:bo,RuleResult:Mo,Rule:zt,metadataFunctionMap:Po},public:{reporters:za},helpers:{failureSummary:Ol,incompleteFallbackMessage:Nl,processAggregate:ja},utils:{setDefaultFrameMessenger:uf,cacheNodeSelectors:rm,getNodesMatchingExpression:em,convertSelector:Hi},commons:{dom:{nativelyHidden:yf,displayHidden:wf,visibilityHidden:xf,contentVisibiltyHidden:Df,ariaHidden:_f,opacityHidden:Af,scrollHidden:Ef,overflowHidden:Cf,clipHidden:Sf,areaHidden:Ys,detailsHidden:kf}}},P3=L3;m._thisWillBeDeletedDoNotUse=P3,m.constants=Ue,m.log=bn,m.AbstractVirtualNode=Rt,m.SerialVirtualNode=Nm,m.VirtualNode=Fl,m._cache=We,m.imports=Tc,m.cleanup=qm,m.configure=lE,m.frameMessenger=uE,m.getRules=dE,m._load=a3,m.plugins={},m.registerPlugin=s3,m.hasReporter=Hm,m.getReporter=Jl,m.addReporter=oE,m.reset=u3,m._runRules=nh,m.runVirtualRule=c3,m.run=d3,m.setup=x3,m.teardown=un,m.runPartial=h3,m.finishRun=g3,m.commons=l1,m.utils=as,m.addReporter("na",_3),m.addReporter("no-passes",E3),m.addReporter("rawEnv",k3),m.addReporter("raw",ih),m.addReporter("v1",R3),m.addReporter("v2",I3,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(oe){var ce="Fix any of the following:",ge=oe;if(ge)for(var Ge,et=-1,it=ge.length-1;et<it;)Ge=ge[et+=1],ce+=`
|
|
373
|
+
`+Ge.split(`
|
|
372
374
|
`).join(`
|
|
373
|
-
`);return ce}},none:{failureMessage:function(
|
|
374
|
-
`+
|
|
375
|
+
`);return ce}},none:{failureMessage:function(oe){var ce="Fix all of the following:",ge=oe;if(ge)for(var Ge,et=-1,it=ge.length-1;et<it;)Ge=ge[et+=1],ce+=`
|
|
376
|
+
`+Ge.split(`
|
|
375
377
|
`).join(`
|
|
376
|
-
`);return ce}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:eg);});function cg(h,f){return f==="AAA"&&!h.includes("wcag2aaa")?[...h,"wcag2aaa"]:h}function $n(h){return JI[h]??"AA"}function ZI(h){let f=String(h.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(f.length===0)return h.level??"AA";let b="AAA";for(let m of f)jn[$n(m)]<jn[b]&&(b=$n(m));return b}function dg(h,f="AA"){let b=jn[f]??jn.AA;return h.filter(m=>jn[ZI(m)]<=b)}function fg(h){let f=QI.has(h.issueType)?"minor":h.needsAI?"serious":"moderate",b=h.attribute==="style",m=h.attribute.startsWith("data-"),p=b&&h.fixValue?eL(h.fixValue):h.fixValue;return {id:`wa-${h.issueType}-${Gn(h.selector)}`,source:"webability",type:h.issueType,wcag:h.wcag,level:$n(h.wcag),impact:f,message:tL(h,p,m),selector:h.selector,html:h.outerHtml,...h.needsReview?{confidence:"needs_review"}:{},...h.reviewReason?{reviewReason:h.reviewReason}:{},fix:{attribute:h.attribute,currentValue:h.currentValue,suggestedValue:p,needsManualReview:h.needsAI||b||m||!!h.needsReview||!!h.manualFix}}}function eL(h){let f=h.trim();if(!f)return "";let b=f.endsWith(";"),p=f.split(";").map(D=>{let y=D.toLowerCase().lastIndexOf("!important");return y===-1?D.trim():D.slice(0,y).trim()}).filter(D=>D.length>0);return p.length===0?"":p.join(";")+(b?";":"")}function tL(h,f,b){if(h.message)return h.message;let m=h.issueType.replace(/_/g," "),p=f??h.fixValue;return b?p?`${m}: ${p}`:h.currentValue?`${m}: ${h.currentValue}`:`${m}: flagged for manual review`:p?`${m}: set ${h.attribute}="${p}"`:h.currentValue?`${m}: ${h.attribute} is "${h.currentValue}"`:`${m}: missing ${h.attribute}`}function zn(h){return Array.isArray(h)?h.flat(1/0).filter(b=>typeof b=="string").join(" >>> "):typeof h=="string"?h:""}function Gn(h){let f=0;for(let b=0;b<h.length;b++)f=(f<<5)-f+h.charCodeAt(b)|0;return Math.abs(f).toString(36)}function fu(h){return h==="critical"||h==="serious"||h==="moderate"||h==="minor"?h:"moderate"}function pu(h,f=[]){return {total:h.length,critical:h.filter(b=>b.impact==="critical").length,serious:h.filter(b=>b.impact==="serious").length,moderate:h.filter(b=>b.impact==="moderate").length,minor:h.filter(b=>b.impact==="minor").length,incomplete:0}}function mu(h){let f=h.find(m=>/^wcag\d{3,4}$/.test(m));if(!f)return "";let b=f.replace("wcag","");return b.length===3?`${b[0]}.${b[1]}.${b[2]}`:b.length===4?`${b[0]}.${b[1]}.${b.slice(2)}`:""}function hu(h){return h.includes("wcag2aaa")?"AAA":h.includes("wcag2aa")||h.includes("wcag21aa")||h.includes("wcag22aa")?"AA":"A"}var du,JI,jn,QI,gu=Rr(()=>{du=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];JI={"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.1":"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"};jn={A:1,AA:2,AAA:3};QI=new Set(["new_window_link","external_link_warning","download_link_warning"]);});var pg={};Vr(pg,{dismissModals:()=>aL});async function aL(h){await h.evaluate(f=>{for(let b of f){let m=document.querySelectorAll(b);for(let p of m)if(p.offsetParent!==null){p.click();return}}},rL),await new Promise(f=>setTimeout(f,500));}var rL,mg=Rr(()=>{rL=['[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 So={};Vr(So,{pruneHiddenIframeIssues:()=>sL,pruneInvisibleContrast:()=>oL,waitForRenderSettle:()=>nL});async function nL(h,f=4e3){let b=Date.now()+f;try{await h.waitForLoadState?.("load",{timeout:Math.min(f/2,2e3)});}catch{}let m="";for(;Date.now()<b;){let p;try{p=await h.evaluate(()=>{let D=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let S of D){if(S.playState!=="running")continue;let w;try{w=S.effect?.getComputedTiming?.().iterations;}catch{w=void 0;}w!==1/0&&v++;}let y="",x=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],I=Math.min(x.length,50);for(let S=0;S<I;S++)y+=getComputedStyle(x[S]).opacity+",";return v+"|"+y});}catch{return}if(p.indexOf("0|")===0&&p===m)return;m=p,await new Promise(D=>setTimeout(D,150));}}function hg(h){return iL.has(h.wcag)||/contrast/i.test(h.type||"")}async function oL(h,f){let b=Array.from(new Set(f.filter(v=>hg(v)&&v.selector).map(v=>v.selector))).slice(0,100);if(b.length===0)return f;let m;try{m=await h.evaluate(v=>{let y=[],x={},I=Math.max(document.documentElement.scrollWidth,window.innerWidth),S=Math.max(document.documentElement.scrollHeight,window.innerHeight),w=T=>{let E=T.match(/rgba?\(([^)]+)\)/);if(!E)return !1;let A=E[1].split(/[ ,/]+/).filter(Boolean);return A.length<4||parseFloat(A[3])>=.95};for(let T of v){let E=null;try{E=document.querySelector(T);}catch{continue}if(!E)continue;let A=getComputedStyle(E),C=E.getBoundingClientRect(),F=A.clipPath&&A.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(A.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(A.clip||""),L=C.width<=1||C.height<=1,N=window.scrollX,$=window.scrollY,W=C.right+N<=0||C.bottom+$<=0||C.left+N>=I||C.top+$>=S,G=!1;if(W)for(let ne=E.parentElement;ne&&ne!==document.body&&ne!==document.documentElement;ne=ne.parentElement){let _e=getComputedStyle(ne);if(_e.overflowX!=="visible"||_e.overflowY!=="visible"||_e.transform&&_e.transform!=="none"){G=!0;break}}if(W&&G){x[T]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(F||L||W){y.push(T);continue}let q=E,j=!1;for(;q&&q!==document.documentElement;){if(parseFloat(getComputedStyle(q).opacity)===0){j=!0;break}q=q.parentElement;}if(j){x[T]="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 K=C.left+C.width/2,Z=C.top+C.height/2,Q=E,ae=!1;for(let ne=0;Q&&Q!==document.body&&ne<8;ne++){let _e=getComputedStyle(Q);if(w(_e.backgroundColor)||_e.backgroundImage&&_e.backgroundImage!=="none")break;let he=Q.querySelectorAll("video, canvas, img, picture");for(let Ie=0;Ie<he.length;Ie++){let me=he[Ie];if(me.contains(E)||E.contains(me))continue;let ye=me.getBoundingClientRect();if(ye.width>0&&ye.height>0&&K>=ye.left&&K<=ye.right&&Z>=ye.top&&Z<=ye.bottom){ae=!0;break}}if(ae)break;Q=Q.parentElement;}ae&&(x[T]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:y,review:x}},b);}catch{return f}let p=new Set(m.hidden),D=[];for(let v of f){if(!hg(v)){D.push(v);continue}if(p.has(v.selector))continue;let y=m.review[v.selector];D.push(y&&v.confidence!=="needs_review"?{...v,confidence:"needs_review",reviewReason:y,...v.fix?{fix:{...v.fix,needsManualReview:true}}:{}}:v);}return D}async function sL(h,f){let b=Array.from(new Set(f.filter(D=>D.selector).map(D=>D.selector))).slice(0,200);if(b.length===0)return f;let m;try{m=await h.evaluate(D=>{let v=[];for(let y of D){let x=null;try{x=document.querySelector(y);}catch{continue}if(!x||x.tagName!=="IFRAME")continue;let I=getComputedStyle(x),S=x.getClientRects().length===0||I.visibility==="hidden"||I.visibility==="collapse",w=(x.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(S||w)&&v.push(y);}return v},b);}catch{return f}if(m.length===0)return f;let p=new Set(m);return f.filter(D=>!p.has(D.selector))}var iL,ko=Rr(()=>{iL=new Set(["1.4.3","1.4.6","1.4.11"]);});var yg={};Vr(yg,{htmlcsTypeFromCode:()=>vg,runHtmlcs:()=>uL});async function uL(h,f="WCAG2AA"){try{await h.addScriptTag({content:`
|
|
377
|
-
|
|
378
|
-
window.__htmlcsResults = [];
|
|
379
|
-
|
|
380
|
-
`+p});}catch{}let b=h;return b.addScriptTag&&await b.addScriptTag({url:lL}).catch(()=>{}),await new Promise(p=>setTimeout(p,1e3)),(await h.evaluate(p=>new Promise(D=>{let v=window;if(!v.HTMLCS){D([]);return}v.HTMLCS.process(p,document,()=>{let y=v.HTMLCS.getMessages(),x=S=>{let w=S.element;if(!w||!w.getAttribute)return !1;let T=String(S.code||"");if(/NoSuchID/.test(T)){let E=w.getAttribute("href")||"";return /^#[\/!]/.test(E)}if(/\.H30\.2$/.test(T)){let E=w.closest&&w.closest("a")||w;return (E.getAttribute("aria-label")||"").trim()?!0:(E.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).some(C=>((document.getElementById(C)||{}).textContent||"").trim().length>0)}return !1},I=y.filter(S=>S.type===1).filter(S=>!x(S)).slice(0,50).map(S=>{let w="";try{if(S.element&&S.element.tagName){let T=S.element,E=window.uniqueSel;typeof E=="function"?w=E(T):w=T.className&&typeof T.className=="string"&&T.className.trim()?`${T.tagName.toLowerCase()}.${T.className.trim().split(/\s+/)[0]}`:T.tagName.toLowerCase();}}catch{}return {type:S.type,code:S.code||"",msg:S.msg||"",element:S.element?.outerHTML?.slice(0,150)||"",selector:w}});D(I);});}),f)).map((p,D)=>{let v=bg(p.code);return {id:`htmlcs-${D}-${cL(p.selector)}`,source:"webability",type:vg(p.code),wcag:v,level:$n(v),impact:"moderate",message:p.msg.slice(0,200),selector:p.selector,html:p.element}})}catch{return []}}function vg(h){let f=bg(h);if(f&&gg[f])return gg[f];let b=h.split("."),m=b.findIndex(v=>/^\d+_\d+_\d+$/.test(v));return (m>=0?b.slice(m+1):b).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function bg(h){let f=h.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(f)return `${f[3]}.${f[4]}.${f[5]}`;let b=h.match(/(\d+)_(\d+)_(\d+)/);return b?`${b[1]}.${b[2]}.${b[3]}`:""}function cL(h){let f=0;for(let b=0;b<h.length;b++)f=(f<<5)-f+h.charCodeAt(b)|0;return Math.abs(f).toString(36)}var lL,gg,wg=Rr(()=>{gu();lL="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";gg={"1.4.3":"contrast_insufficient"};});var To={};Vr(To,{dedupeByElementIdentity:()=>pL,deduplicateIssues:()=>dL});function dL(h){let f=new Map,b=[...h].sort((m,p)=>{let D={webability:0,"axe-core":1,"deep-analysis":2},v=D[m.source]??3,y=D[p.source]??3;return v-y});for(let m of b){let p=fL(m);f.has(p)?!f.get(p).fix?.suggestedValue&&m.fix?.suggestedValue&&f.set(p,m):f.set(p,m);}return Array.from(f.values())}function fL(h){let f=h.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),b=h.wcag||"";return f&&b?`${f}::${b}`:`${h.type}::${f||h.id}`}async function pL(h,f){if(f.length<2)return f;let b=Array.from(new Set(f.map(I=>I.selector).filter(Boolean))),m;try{m=await h.evaluate(I=>{let S=Array.from(document.querySelectorAll("*")),w=new Map;S.forEach((E,A)=>w.set(E,A));let T={};for(let E of I){let A=null;try{A=document.querySelector(E);}catch{}if(!A){let C=E.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(C!==E)try{A=document.querySelector(C);}catch{}}A&&(T[E]=w.get(A));}return T},b);}catch{return f}let p={webability:0,"axe-core":1,"deep-analysis":2},D=[...f].sort((I,S)=>(p[I.source]??3)-(p[S.source]??3)),v=new Map,y=[];for(let I of D){let S=m[I.selector];if(S===void 0){y.push(I);continue}let w=`${S}::${I.wcag||I.type}`,T=v.get(w);T?!T.fix?.suggestedValue&&I.fix?.suggestedValue&&v.set(w,I):v.set(w,I);}let x=new Set([...v.values(),...y]);return f.filter(I=>x.has(I))}var Fo=Rr(()=>{});var vu={};Vr(vu,{scopeIssuesToRoot:()=>mL});async function mL(h,f,b){let m=Array.from(new Set(f.map(D=>D.selector).filter(Boolean))),p;try{p=await h.evaluate(({rootSel:D,sels:v})=>{let y=S=>{try{let T=document.querySelector(S);if(T)return T}catch{}let w=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(w!==S)try{return document.querySelector(w)}catch{return null}return null},x=null;try{x=document.querySelector(D);}catch{return {invalid:!0,matched:!1,within:{}}}if(!x)return {invalid:!1,matched:!1,within:{}};let I={};for(let S of v){let w=y(S);I[S]=w?w===x||x.contains(w):!0;}return {invalid:!1,matched:!0,within:I}},{rootSel:b,sels:m});}catch{return {issues:f,warning:`scope:evaluate-failed (${b}) \u2014 results unfiltered`}}return p.invalid?{issues:f,warning:`scope:invalid-selector (${b}) \u2014 results unfiltered`}:p.matched?{issues:f.filter(D=>D.selector?p.within[D.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${b} matched nothing \u2014 empty result)`}}var bu=Rr(()=>{});var Eo={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var y3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],m=new Set;function p(y){let x=(y.textContent||"").trim().replace(/\s+/g,""),I=y.querySelector("img, svg, picture")!==null,S=y.querySelector("i[class], span[class]")!==null;if(x.length>0&&!I&&!S)return false;if(I){let w=y.querySelectorAll("img"),T="";w.forEach(C=>{T+=(C.getAttribute("alt")||"").trim();});let E=x.replace(/\s+/g,""),A=T.replace(/\s+/g,"");return E===""||E===A}return false}function D(y){let x=y.nextElementSibling;for(;x;){if(isVisible(x))return x;x=x.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(y=>{if(b.length>=50||y.closest(h)||!isVisible(y)||m.has(y))return;let x=y.getAttribute("href");if(!x||x==="#")return;let I=D(y);if(!I||I.tagName!=="A"||I.getAttribute("href")!==x||m.has(I)||y.getAttribute("aria-hidden")==="true"||I.getAttribute("aria-hidden")==="true")return;let w=p(y),T=p(I);if(!w&&!T)return;let E=w?y:I,A=w?I:y;m.add(E),m.add(A);let C=uniqueSel(E),F=E.outerHTML.slice(0,300),L=(A.textContent||"").trim().slice(0,80);b.push({selector:C,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:x,imageLink:true,adjacentLinkText:L,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:F}),b.push({selector:C,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:x}),needsAI:false,fixValue:"-1",outerHtml:F});}),b},B1={name:"adjacentLinks",cap:50,async detect(h){return h.evaluate(y3)}};var w3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",f='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',b=["[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(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,D=[],v=new Set;function y(S){let w=S,T=0;for(;w&&w.nodeType===1&&w!==document.body&&T<20;){try{let E=getComputedStyle(w);if(E.display==="none"||E.visibility==="hidden"||E.visibility==="collapse")return !0}catch{}w=w.parentElement,T++;}return false}function x(S){let w=S.tagName,T=S.getAttribute("tabindex");if(T!==null){let E=parseInt(T,10);if(!isNaN(E)&&E>=0)return true;if(!isNaN(E)&&E<0)return false}return m.has(w)?!(w==="A"&&!S.hasAttribute("href")||S.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(S=>{if(D.length>=p||S.closest(h)||S.closest(f)||S.closest(b)||S.matches(b))return;let w=[];if(x(S)&&w.push(S),S.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(E=>{x(E)&&w.push(E);}),w.length!==0)for(let E of w){if(D.length>=p)return;let A=uniqueSel(E),C=A+"\0tabindex";if(v.has(C))continue;v.add(C);let F=y(E);D.push({selector:A,attribute:"tabindex",currentValue:E.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),parentHidden:S.tagName.toLowerCase(),collapsed:F,suggestion:F?"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.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...F?{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.'}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}}),D},H1={name:"ariaHiddenFocusable",cap:50,async detect(h){return h.evaluate(w3)}};var x3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=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 D(v){if(!(v.textContent||"").trim())return true;let x=getComputedStyle(v);return !!(x.display==="none"||x.visibility==="hidden"||x.opacity==="0"||x.maxHeight==="0px"||x.height==="0px"||v.hasAttribute("data-bind")||v.hasAttribute("v-if")||v.hasAttribute("v-show")||v.hasAttribute("ng-if")||v.hasAttribute("ng-show")||v.hasAttribute(":class")||v.hasAttribute("x-show")||v.hasAttribute("x-if")||v.hasAttribute("aria-atomic"))}for(let v of p){if(b.length>=50)break;let y=document.querySelectorAll("*");for(let x of y){if(b.length>=50)break;if(m.has(x)||x.closest(h))continue;let I=x.className&&typeof x.className=="string"?x.className:"",S=x.getAttribute("id")||"";if(!v.regex.test(I)&&!v.regex.test(S)||x.getAttribute("aria-live"))continue;let w=x.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(w)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(I+" "+S)&&!D(x))continue;m.add(x);let E=uniqueSel(x),A=v.regex.test(I)?"class":"id",C=A==="class"?I.slice(0,60):S;b.push({selector:E,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:A+": "+C+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return b},V1={name:"ariaLive",cap:50,async detect(h){return h.evaluate(x3)}};var D3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],m=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(y=>{if(!(b.length>=50)&&!y.closest(h)&&isVisible(y)&&!isHiddenFromAT(y)&&!y.getAttribute("aria-live")&&!y.closest("[aria-live]")&&!y.closest("template"))for(let x of p){let I=y.getAttribute(x);if(!I||!I.trim())continue;let S=I.trim().split(/\s+/).filter($=>$.length>0);if(S.length===0||!S.every($=>!document.getElementById($)))continue;let T=y.getAttribute("aria-label");if(T&&T.trim())continue;let E=getAccessibleName(y);if(E&&E.trim())continue;let A=uniqueSel(y),C=A+"\0"+x;if(m.has(C))continue;m.add(C);let{nearbyHeading:F,parentTag:L,parentRole:N}=getNearbyContext(y);b.push({selector:A,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),brokenAttr:x,brokenIds:S,nearbyHeading:F,parentTag:L,parentRole:N,suggestion:`All IDs in ${x}="${I}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}}),b},j1={name:"brokenAriaReferences",cap:50,async detect(h){return h.evaluate(D3)}};var _3=()=>{let f=[],b=["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"],m=document.querySelectorAll("button");for(let p of m){if(f.length>=50)break;let D=p;if(isWidget(D)||D.hasAttribute("type")||!D.closest("form"))continue;let v=(D.textContent||"").trim().slice(0,60),y=(D.getAttribute("aria-label")||"").trim().slice(0,60),x=v||y||"(no label)",I=x.toLowerCase();b.some(w=>I.includes(w))||f.push({selector:uniqueSel(D),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+x,needsAI:false,fixValue:"button",outerHtml:(D.outerHTML||"").slice(0,300)});}return f},$1={name:"buttonType",cap:50,async detect(h){return h.evaluate(_3)}};var A3=()=>{let f=[],b=document.querySelectorAll("video, audio");for(let m of Array.from(b)){if(f.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let p=m.tagName==="VIDEO";if(p){let C=m.hasAttribute("muted")||m.muted,F=m.hasAttribute("controls"),L=m.hasAttribute("loop")||m.loop,N=/mute|unmute|sound|volume|audio|play|pause/i,$=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let W=m.parentElement?.parentElement||null,G=0;W&&!$&&G<3;W=W.parentElement,G++)$=Array.from(W.querySelectorAll('button, [role="button"]')).some(q=>N.test((q.getAttribute("aria-label")||"")+" "+(q.getAttribute("title")||"")+" "+(q.textContent||"")));if(C&&L&&!F&&!$)continue}let D=m.querySelectorAll("track"),v=false;for(let C of Array.from(D)){let F=(C.getAttribute("kind")||"").toLowerCase();if(F==="captions"||F==="subtitles"){v=true;break}}if(v)continue;let y=m.currentSrc||m.getAttribute("src")||"";if(y||(y=m.querySelector("source")?.getAttribute("src")||""),!y)continue;let x=y.toLowerCase();if(x.startsWith("blob:")||x.startsWith("data:")||x.startsWith("about:")||x.startsWith("javascript:")||x.endsWith(".m3u8")||x.includes(".m3u8?")||x.endsWith(".mpd")||x.includes(".mpd?"))continue;let I=y;try{I=new URL(y,location.href).toString();}catch{continue}let S=typeof uniqueSel=="function"?uniqueSel(m):"",w=m.getAttribute("title")||m.getAttribute("aria-label")||"",T=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("media: "+m.tagName.toLowerCase()),E.push("src: "+I.slice(0,200)),w&&E.push("title: "+w.slice(0,80)),T.nearbyHeading&&E.push("heading: "+T.nearbyHeading),E.push("parent: "+T.parentTag);let A=p;f.push({selector:S,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:E.join(" | "),needsAI:true,...A?{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:I,outerHtml:(m.outerHTML||"").slice(0,300)});}return f},z1={name:"captions",cap:20,async detect(h){return h.evaluate(A3)}};var E3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]");for(let D of Array.from(p)){if(b.length>=40)break;if(D.closest(h)||D.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(D))continue;let v=D.closest(m);if(!v)continue;let y=(v.textContent||"").trim(),x=(D.textContent||"").trim();if(!x||y.length<x.length+20||D.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let I=getComputedStyle(D),S=getComputedStyle(v);if((I.textDecorationLine||I.textDecoration||"").includes("underline")||(()=>{let $=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),W,G=false;for(;W=$.nextNode();){if(!/[\p{L}\p{N}]/u.test(W.textContent||""))continue;G=true;let q=false;for(let j=W.parentElement;j&&j!==D;j=j.parentElement){let K=getComputedStyle(j),Z=(K.textDecorationColor||"").replace(/\s/g,"");if((K.textDecorationLine||"").includes("underline")&&Z!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(Z)){q=true;break}let Q=(K.borderBottomColor||"").replace(/\s/g,""),ae=Q==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(Q);if((K.borderBottomStyle||"none")!=="none"&&parseFloat(K.borderBottomWidth||"0")>0&&!ae){q=true;break}}if(!q)return false}return G})())continue;let E=parseInt(I.fontWeight||"400",10),A=parseInt(S.fontWeight||"400",10);if(Number.isFinite(E)&&Number.isFinite(A)&&E-A>=300||(I.borderBottomStyle||"none")!=="none"&&(I.borderBottomWidth||"0px")!=="0px"||I.color===S.color)continue;let F=typeof uniqueSel=="function"?uniqueSel(D):"",L=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},N=[];N.push("link: "+x.slice(0,40)),N.push("color: "+I.color),N.push("parent-color: "+S.color),L.nearbyHeading&&N.push("heading: "+L.nearbyHeading),N.push("parent: "+L.parentTag),b.push({selector:F,attribute:"style",currentValue:I.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:N.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(D.outerHTML||"").slice(0,300)});}return b},G1={name:"colorOnly",cap:40,async detect(h){return h.evaluate(E3)}};var C3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],m=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(m).forEach(D=>{if(b.length>=30||D.closest(h)||typeof isVisible=="function"&&!isVisible(D)||D.getAttribute("aria-hidden")==="true"||D.disabled||D.getAttribute("type")==="hidden"||(D.getAttribute("aria-label")||"").trim())return;let v=D.getAttribute("aria-labelledby");if(v){let C=false;for(let F of v.split(/\s+/)){let L=document.getElementById(F);if(L&&(L.textContent||"").trim()){C=true;break}}if(C)return}let y=D.getAttribute("id");if(y){let C=document.querySelector('label[for="'+CSS.escape(y)+'"]');if(C&&(C.textContent||"").trim())return}let x=D.closest("label");if(x&&(x.textContent||"").trim()||(D.getAttribute("title")||"").trim())return;let I=typeof uniqueSel=="function"?uniqueSel(D):"",S=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},w=(D.getAttribute("placeholder")||"").trim(),T=D.getAttribute("name")||"",E=D.getAttribute("role")||D.tagName.toLowerCase(),A=[];A.push("role: "+E),w&&A.push("placeholder: "+w.slice(0,40)),T&&A.push("name: "+T),S.nearbyHeading&&A.push("heading: "+S.nearbyHeading),A.push("parent: "+S.parentTag),b.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:A.join(" | "),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}),b},W1={name:"comboboxName",cap:30,async detect(h){return h.evaluate(C3)}};var S3=()=>{let f=[],b=A=>typeof parseCssColor=="function"?parseCssColor(A):null,m=(A,C,F)=>typeof relLuminance=="function"?relLuminance(A,C,F):0,p=(A,C)=>typeof contrastRatio=="function"?contrastRatio(A,C):1;function D(A){let C=String(A.backgroundImage||"none");if(C==="none")return false;if(/gradient\(/i.test(C))return true;if(!/url\(/i.test(C))return false;let F=String(A.backgroundRepeat||"").toLowerCase(),L=String(A.backgroundSize||"").toLowerCase(),N=F.split(",").map(W=>W.trim()).some(W=>W!==""&&W!=="no-repeat"),$=/cover|contain|100%/.test(L);return N||$}function v(A){let C=document.documentElement,F=A,L=0;for(;F&&F!==C&&L<12;){let q=getComputedStyle(F);if(D(q))return null;let j=b(q.backgroundColor||"");if(j&&j[3]>.5)return [j[0],j[1],j[2]];F=F.parentElement,L++;}let N=document.body;if(F&&F!==C&&N&&N.contains(F)){let q=getComputedStyle(N);if(D(q))return null;let j=b(q.backgroundColor||"");if(j&&j[3]>.5)return [j[0],j[1],j[2]]}let $=getComputedStyle(C);if(D($))return null;let W=b($.backgroundColor||""),G=W?Math.min(W[3],1):0;return !W||G<=0?[255,255,255]:[Math.round(W[0]*G+255*(1-G)),Math.round(W[1]*G+255*(1-G)),Math.round(W[2]*G+255*(1-G))]}function y(A,C,F){return "#"+[A,C,F].map(L=>{let N=Math.max(0,Math.min(255,Math.round(L))).toString(16);return N.length===1?"0"+N:N}).join("")}function x(A,C,F){let L=m(C[0],C[1],C[2])>.5;return I(A,C,F,L)||I(A,C,F,!L)}function I(A,C,F,L){let N=0,$=1,W=null;for(let G=0;G<20;G++){let q=(N+$)/2,j=L?[A[0]*(1-q),A[1]*(1-q),A[2]*(1-q)]:[A[0]+(255-A[0])*q,A[1]+(255-A[1])*q,A[2]+(255-A[2])*q],K=[Math.round(j[0]),Math.round(j[1]),Math.round(j[2])];p(K,C)>=F?(W=K,$=q):N=q;}return W}let S=document.createTreeWalker(document.body,4),w=new Set,T=[],E=S.nextNode();for(;E;){if((E.textContent||"").trim().length>=2){let C=E.parentElement;C&&!w.has(C)&&(w.add(C),T.push(C));}E=S.nextNode();}for(let A of T){if(f.length>=30)break;if(isWidget(A)||isHiddenFromAT(A)||!isVisible(A))continue;let C=getComputedStyle(A),F=b(C.color||"");if(!F)continue;if(F[3]<.5){let he=C.webkitBackgroundClip||C.backgroundClip||"",Ie=C.backgroundImage||"";if(String(he).includes("text")&&/gradient\(/i.test(Ie)){let me=Array.from(A.childNodes).filter(ye=>ye.nodeType===3).map(ye=>(ye.textContent||"").trim()).join("");me&&f.push({selector:uniqueSel(A),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(me.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:A.outerHTML.slice(0,200)});}continue}let L=v(A),N=parseFloat(C.fontSize||"16"),$=parseInt(C.fontWeight||"400",10),G=N>=24||N>=18.66&&$>=700?3:4.5,q=Array.from(A.childNodes).filter(he=>he.nodeType===3).map(he=>(he.textContent||"").trim()).join("");if(!q)continue;let j=y(F[0],F[1],F[2]),K=uniqueSel(A);if(L===null){f.push({selector:K,attribute:"style",currentValue:j,message:"contrast: text "+j+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+G+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg=<gradient-or-image> needs="+G+" text="+JSON.stringify(q.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:A.outerHTML.slice(0,200)});continue}let Z=p([F[0],F[1],F[2]],L);if(Z>=G)continue;let Q=x([F[0],F[1],F[2]],L,G);if(!Q)continue;let ae=y(Q[0],Q[1],Q[2]),ne=y(L[0],L[1],L[2]),_e="color:"+ae+" !important;";f.push({selector:K,attribute:"style",currentValue:j,message:"contrast: "+j+" on "+ne+" is "+Z.toFixed(2)+":1, needs "+G+":1 \u2014 e.g. color "+ae,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg="+ne+" ratio="+Z.toFixed(2)+" needs="+G+" text="+JSON.stringify(q.slice(0,40)),needsAI:false,fixValue:_e,outerHtml:A.outerHTML.slice(0,200)});}return f},U1={name:"contrast",cap:30,async detect(h){return h.evaluate(S3)}};var k3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],m=document.querySelectorAll("marquee, blink");for(let x of Array.from(m)){if(b.length>=30)break;if(x.closest(h))continue;let I=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();b.push({selector:I,attribute:"aria-hidden",currentValue:x.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${x.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(x.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let x of Array.from(p)){if(b.length>=30)break;if(x.closest(h))continue;let I=x.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(I)||typeof isVisible=="function"&&!isVisible(x))continue;let S=x.getBoundingClientRect();if(S.width<=40&&S.height<=40)continue;let w=typeof uniqueSel=="function"?uniqueSel(x):"img";b.push({selector:w,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${I.split("/").pop()?.slice(0,60)||I.slice(-60)}`,needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}let D=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let x of Array.from(D)){if(b.length>=30)break;let I=(x.getAttribute("content")||"").trim(),S=parseInt((I.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(S)||S<=0||b.push({selector:`meta[http-equiv="refresh"][content*="${I.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:I,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:(x.outerHTML||"").slice(0,200)});}try{let x=!1,I=!1;for(let S of Array.from(document.styleSheets)){let w=null;try{w=S.cssRules;}catch{continue}if(w)for(let T of Array.from(w)){let E=T.cssText||"";if(/animation[^;]*\binfinite\b/i.test(E)&&/(keyframes|animation-name)/i.test(E+" "+(T.name||""))&&(x=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(E)&&(I=!0),T.cssRules)for(let A of Array.from(T.cssRules)){let C=A.cssText||"";/animation[^;]*\binfinite\b/i.test(C)&&(x=!0);}}}x&&!I&&b.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 v=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,y=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let x of Array.from(y)){if(b.length>=30)break;if(x.closest(h)||x.tagName==="BODY"||x.tagName==="HTML")continue;let I=x.className&&typeof x.className=="string"?x.className:"";if(!v.test(I)||typeof isVisible=="function"&&!isVisible(x))continue;let w=getComputedStyle(x).animationDuration,T=9999;if(w){let A=parseFloat(w);Number.isFinite(A)&&(T=/ms/i.test(w)?A:A*1e3);}if(T>333)continue;let E=typeof uniqueSel=="function"?uniqueSel(x):"";b.push({selector:E,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${T}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:(x.outerHTML||"").slice(0,300)});}return b},X1={name:"cssAnimations",cap:30,async detect(h){return h.evaluate(k3)}};var T3=()=>{let f=[];function b(v){let y=(v.getAttribute("role")||"").toLowerCase();return y==="presentation"||y==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(v){if(!v)return 0;let y=v.querySelectorAll("th, td"),x=0;for(let I=0;I<y.length;I++){let S=parseInt(y[I].getAttribute("colspan")||"1",10);x+=isNaN(S)||S<1?1:S;}return x}function p(v){let y=v.querySelectorAll("tr"),x=[];for(let I=0;I<y.length;I++){let S=y[I];S.closest("table")===v&&x.push(S);}return x}let D=document.querySelectorAll("table");for(let v=0;v<D.length&&!(f.length>=30);v++){let y=D[v];if(isWidget(y)||!isVisible(y)||b(y))continue;let x=p(y);if(x.length<=1)continue;let I=x[0],S=m(I);if(S<=1)continue;let w=uniqueSel(y),T=getNearbyContext(y),E=y.querySelectorAll("img, svg, picture").length>=2;if(E&&!(y.textContent||"").trim()){if(y.querySelector("input, select, textarea, button")&&(E=false),E&&y.querySelector("th, thead, caption, [scope], [headers]")&&(E=false),E){let Q=Array.from(y.querySelectorAll("img")).map(ae=>(ae.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(Q).size<Q.length&&(E=false);}}else if(E){let Q=y.querySelectorAll("td, th"),ae=0;for(let ne=0;ne<Q.length&&E;ne++){let _e=Q[ne];if(_e.closest("table")!==y)continue;let he=(_e.textContent||"").trim(),Ie=!!_e.querySelector("img, svg, picture");if(!he&&!Ie)continue;ae++;let me=_e.querySelectorAll("a[href]");E=_e.tagName==="TD"&&me.length===1&&Ie&&(me[0].textContent||"").trim()===he;}ae<2&&(E=false);}if(E){f.push({selector:w,attribute:"role",currentValue:y.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:x.length,cols:S,nearbyHeading:T.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:(y.outerHTML||"").slice(0,300)});continue}let A=null,C=y.querySelectorAll("caption");for(let Q=0;Q<C.length;Q++)if(C[Q].closest("table")===y){A=C[Q];break}let F=A?(A.textContent||"").trim():"",L=(y.getAttribute("aria-label")||"").trim(),N=(y.getAttribute("title")||"").trim(),$=y.getAttribute("aria-labelledby"),W="";if($){let Q=$.split(/\s+/);for(let ae=0;ae<Q.length;ae++){let ne=document.getElementById(Q[ae]);ne&&(W+=" "+(ne.textContent||""));}W=W.trim();}(!A||!F)&&!(L||W||N)&&f.length<30&&f.push({selector:w,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:A?"empty <caption>":"no <caption> element",rows:x.length,cols:S,nearbyHeading:T.nearbyHeading,parentTag:T.parentTag}),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});let q=null,j=y.querySelectorAll("thead");for(let Q=0;Q<j.length;Q++)if(j[Q].closest("table")===y){q=j[Q];break}if(q&&q.querySelector("tr")!==null||f.length<30&&f.push({selector:w,attribute:"thead",currentValue:q?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:q?"<thead> has no <tr>":"no <thead> element",rows:x.length,cols:S,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(y.outerHTML||"").slice(0,300)}),S>2){let Q=I.querySelectorAll("th, td"),ae=Q.length>0;for(let ne=0;ne<Q.length;ne++)if((Q[ne].tagName||"").toLowerCase()!=="td"){ae=false;break}if(ae)for(let ne=0;ne<Q.length&&!(f.length>=30);ne++){let _e=Q[ne],he=uniqueSel(_e),Ie=(_e.textContent||"").trim().slice(0,60);f.push({selector:he,attribute:"role",currentValue:_e.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:Ie,colIndex:ne,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(_e.outerHTML||"").slice(0,300)});}}let Z=y.querySelectorAll("th");for(let Q=0;Q<Z.length&&!(f.length>=30);Q++){let ae=Z[Q];if(ae.closest("table")!==y)continue;let ne=(ae.getAttribute("scope")||"").trim().toLowerCase();if(ne==="col"||ne==="row"||ne==="colgroup"||ne==="rowgroup")continue;let _e=ae.closest("tr"),he=ae.closest("thead")!==null,Ie=false;_e&&x.length>0&&x[0]===_e&&(Ie=true);let me=false;if(_e){let He=_e.querySelectorAll("th, td");He.length>0&&He[0]===ae&&(me=true);}let ye="col";he||Ie?ye="col":me&&(ye="row");let Ue=uniqueSel(ae),Xe=(ae.textContent||"").trim().slice(0,60);f.push({selector:Ue,attribute:"scope",currentValue:ne,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ye,inThead:he,firstRow:Ie,firstCol:me,headerText:Xe}),needsAI:false,fixValue:ye,outerHtml:(ae.outerHTML||"").slice(0,300)});}}return f},Y1={name:"dataTables",cap:30,async detect(h){return h.evaluate(T3)}};var F3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",b=[],m='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',p=E=>{try{return !!(E.querySelector&&E.querySelector(m))}catch{return false}},D=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],y=["spinner","loading","spin","loader","pulse"],x=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let E of x){if(b.length>=50)break;if(E.closest(h)||isHiddenFromAT(E)||!isVisible(E))continue;let A=E.className&&typeof E.className=="string"?E.className.toLowerCase():"";if(!A.split(/\s+/).filter(Boolean).some(W=>D.has(W)||v.some(G=>W.startsWith(G)))||E.closest(m)||p(E)||Array.from(E.children).some(W=>/[\p{L}\p{N}]/u.test(W.textContent||"")))continue;let N=y.some(W=>A.includes(W)),$=uniqueSel(E);b.push({selector:$,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:N?"spinner/loader icon":"icon classes: "+A.slice(0,80),needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let I=document.querySelectorAll("svg");for(let E of I){if(b.length>=50)break;if(E.closest(h)||isHiddenFromAT(E)||!isVisible(E)||E.closest(m)||p(E))continue;let A=E.getAttribute("aria-label")||"",C=E.getAttribute("aria-labelledby")||"",F=E.querySelector("title"),L=F?(F.textContent||"").trim():"",N=E.getAttribute("role");if(A.trim()||C.trim()||L||N==="img")continue;let $=E.getBoundingClientRect(),W=$.width<=16&&$.height<=16,G=E.parentElement?(E.parentElement.textContent||"").trim().replace(/\s+/g," "):"",q=$.width<=4||$.height<=4,j=E.getAttribute("preserveAspectRatio")==="none";if(!W&&G.length<=3&&!q&&!j)continue;let K=uniqueSel(E);b.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let S=E=>E.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(E),w=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let E of w){if(b.length>=50)break;if(E.closest(h)||isHiddenFromAT(E))continue;let A=E.tagName.toLowerCase();if(!(A==="a"||A==="button"||A==="input"||A==="select"||A==="textarea"||E.getAttribute("role")==="button"||E.getAttribute("role")==="link"||E.getAttribute("role")==="tab")||E.hasAttribute("disabled"))continue;let F=E.className&&typeof E.className=="string"?E.className:"",L=F.split(/\s+/).some(S),N=E.getAttribute("aria-disabled")==="true",$=getComputedStyle(E).pointerEvents==="none";if(!N&&!(L&&$))continue;let W=E.getAttribute("tabindex")!=="-1"||p(E),G=uniqueSel(E);b.push({selector:G,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+F.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...W?{needsReview:true,reviewReason:"element is still keyboard-focusable; aria-hidden would create a hidden focusable element \u2014 remove it from the tab order first or confirm intent"}:{},outerHtml:E.outerHTML.slice(0,300)});}let T=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let E of T){if(b.length>=50)break;if(E.closest(h)||isHiddenFromAT(E))continue;let A=E.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(A.length===0)continue;let C=uniqueSel(E);b.push({selector:C,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+A.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+A.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:E.outerHTML.slice(0,300)});}return b},K1={name:"decorativeIcons",cap:50,async detect(h){return h.evaluate(F3)}};var R3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=new Map,p=document.querySelectorAll("[id]");for(let D of p){if(D.closest(h))continue;let v=(D.getAttribute("id")||"").trim();if(!v)continue;let y=m.get(v);y?y.push(D):m.set(v,[D]);}for(let[D,v]of m)if(!(v.length<=1)){if(b.length<50){let y=v[0];b.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"id",currentValue:D,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+D+'" is shared by '+v.length+" elements; this is the canonical first occurrence (kept \u2014 references resolve here). Later occurrences carry rename fixes.",needsAI:false,needsReview:true,reviewReason:"first occurrence of a duplicated id \u2014 shown for completeness; renaming it would break references, so the fix targets the later occurrences",outerHtml:(y.outerHTML||"").slice(0,300)});}for(let y=1;y<v.length&&!(b.length>=50);y++){let x=v[y],I=y+1,S=D+"-"+I,w=x.tagName.toLowerCase(),T=x.parentElement,E=w;if(T){let A=Array.from(T.children).filter(F=>F.tagName===x.tagName);if(A.length>1){let F=A.indexOf(x)+1;E=w+":nth-of-type("+F+")";}let C=T.tagName.toLowerCase();if(T.id&&T.id!==D)E="#"+CSS.escape(T.id)+" > "+E;else {let F=T.parentElement;if(F){let L=Array.from(F.children).filter(N=>N.tagName===T.tagName);if(L.length>1){let N=L.indexOf(T)+1;E=C+":nth-of-type("+N+") > "+E;}else E=C+" > "+E;}}}b.push({selector:E,attribute:"id",currentValue:D,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+I+' of id="'+D+'" | tag: <'+w+">",needsAI:false,fixValue:S});}}return b},J1={name:"duplicateIds",cap:50,async detect(h){return h.evaluate(R3)}};var I3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=/^[^\p{L}\p{N}\s]*$/u,b=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],D=document.querySelectorAll("a");for(let v of D){if(p.length>=50)break;if(v.closest(h)||v.getAttribute("aria-hidden")==="true"||v.getAttribute("role")==="presentation"||v.closest('[aria-hidden="true"]')||!isVisible(v))continue;let y=getAccessibleName(v);if(y&&y.length>0&&!b.test(y)&&!f.test(y))continue;let x=v.querySelectorAll("img[alt]"),I="";for(let W of x){let G=(W.getAttribute("alt")||"").trim();G&&(I+=G+" ");}if(I.trim())continue;let S=v.getAttribute("aria-labelledby");if(S&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(S))continue;let w=uniqueSel(v),T=v.getAttribute("href")||"",E=(v.textContent||"").trim(),A=getNearbyContext(v),C="";E&&b.test(E)?C="[whitespace only]":E&&f.test(E)&&(C=E);let F="",L=true;if(T&&T!=="#"&&!T.startsWith("javascript:")){if(T.startsWith("mailto:")){let W=T.slice(7).split("?")[0];W&&W.includes("@")&&(F="Email "+W,L=false);}else if(T.startsWith("tel:")){let W=T.slice(4);try{W=decodeURIComponent(W);}catch{}W=W.replace(/^\+/,"").trim(),W&&(F="Call "+W,L=false);}}let N=[];v.closest("nav")&&N.push("inside nav"),A.nearbyHeading&&N.push("heading: "+A.nearbyHeading),T&&N.push("href: "+T.slice(0,120)),N.push("parent: "+A.parentTag);let $={selector:w,attribute:"aria-label",currentValue:C,issueType:"empty_link",wcag:"2.4.4",context:N.join(" | "),needsAI:L,outerHtml:v.outerHTML.slice(0,300)};!L&&F&&($.fixValue=F),p.push($);}return p},Z1={name:"emptyLinks",cap:50,async detect(h){return h.evaluate(I3)}};var L3=()=>{let f=[],b=new Set;function m(S){return (S||"").trim()}function p(S){let w=m(S.getAttribute("aria-label")||"");if(w)return w;let T=S.getAttribute("aria-labelledby");if(T){let A=T.split(/\s+/),C="";for(let F=0;F<A.length;F++){let L=document.getElementById(A[F]);L&&(C+=" "+(L.textContent||""));}if(m(C))return m(C)}let E=m(S.getAttribute("title")||"");return E||""}let D=document.querySelectorAll("fieldset");for(let S=0;S<D.length&&!(f.length>=30);S++){let w=D[S];if(isWidget(w)||!isVisible(w)||isHiddenFromAT(w))continue;if(p(w)){b.add(w);continue}let T=null,E=w.querySelectorAll("legend");for(let $=0;$<E.length;$++)if(E[$].closest("fieldset")===w){T=E[$];break}let A=T!==null,C=T?m(T.textContent||""):"";if(A&&C){b.add(w);continue}let F=getNearbyContext(w),L=w.querySelectorAll("input, select, textarea"),N=uniqueSel(w);f.push({selector:N,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:A?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:L.length,nearbyHeading:F.nearbyHeading,parentTag:F.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)}),b.add(w);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let S=0;S<v.length&&!(f.length>=30);S++){let w=v[S];if(isWidget(w)||!isVisible(w)||isHiddenFromAT(w)||b.has(w))continue;if(p(w)){b.add(w);continue}let T=w.getAttribute("role")||"",E=getNearbyContext(w),A=w.querySelectorAll("input, select, textarea");if(T==="group"&&w.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 C=uniqueSel(w);f.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+T+'" container without accessible name',role:T,controlCount:A.length,nearbyHeading:E.nearbyHeading,parentTag:E.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)}),b.add(w);}let y={},x=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let S=0;S<x.length;S++){let w=x[S];if(isWidget(w)||!isVisible(w)||isHiddenFromAT(w))continue;let T=w.getAttribute("name")||"";if(!T)continue;let E=w.closest("form"),A=E?E.getAttribute("id")||E.getAttribute("action")||E.tagName:"no-form",C=(w.getAttribute("type")||"").toLowerCase(),F=A+"::"+C+"::"+T;y[F]||(y[F]=[]),y[F].push(w);}let I=Object.keys(y);for(let S=0;S<I.length&&!(f.length>=30);S++){let w=y[I[S]];if(w.length<3)continue;let T=w[0],E=T.closest('fieldset, [role="group"], [role="radiogroup"]'),A=false;if(E){A=true;for(let W=1;W<w.length;W++)if(!E.contains(w[W])){A=false;break}}if(A&&E)continue;let C=T.parentElement;for(;C&&C!==document.body;){let W=true;for(let G=1;G<w.length;G++)if(!C.contains(w[G])){W=false;break}if(W)break;C=C.parentElement;}if(!C||C===document.body||b.has(C))continue;let F=(T.getAttribute("type")||"").toLowerCase(),L=T.getAttribute("name")||"",N=getNearbyContext(T),$=uniqueSel(C);f.push({selector:$,attribute:"role",currentValue:C.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+F+" group ("+w.length+' inputs share name="'+L+'")',inputType:F,inputCount:w.length,name:L,nearbyHeading:N.nearbyHeading,parentTag:N.parentTag}),needsAI:false,fixValue:F==="radio"?"radiogroup":"group",outerHtml:(C.outerHTML||"").slice(0,300)}),b.add(C);}return f},Q1={name:"fieldsetLegend",cap:30,async detect(h){return h.evaluate(L3)}};var P3=()=>{let h=[],f=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),b=0;for(let m of Array.from(f)){let p=getComputedStyle(m);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let D=m.getBoundingClientRect();if(D.top>50||D.bottom<=0)continue;let v=Math.round(D.height);v<40||v>240||v>b&&(b=v);}if(b>0){let m=window.scrollX,p=window.scrollY,D=0,v=0;try{let x=[],I=new Set;document.querySelectorAll('a[href^="#"]').forEach(S=>{let w=S.getAttribute("href").slice(1);if(!w)return;let T=document.getElementById(w);T&&!I.has(T)&&(I.add(T),x.push(T));});for(let S of x){if(v>=8)break;let w=getComputedStyle(S);if(w.display==="none"||w.visibility==="hidden")continue;v++,S.scrollIntoView({block:"start"});let T=S.getBoundingClientRect(),E=Math.max(T.height,1);Math.max(0,Math.min(T.bottom,b)-Math.max(T.top,0))/Math.min(E,b)>=.5&&D++;}}catch{}try{window.scrollTo(m,p);}catch{}let y=`scroll-margin-top: ${b+8}px; scroll-padding-top: ${b+8}px;`;v>0&&D>0?h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 ${D}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:y}):v===0&&h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}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:y});}return h},eh={name:"focusObscured",async detect(h){return h.evaluate(P3)}};var th={name:"focusVisible",cap:40,async detect(h){let f=typeof h.keyboard?.press=="function";if(f)try{await h.keyboard.press("Tab");}catch{}return h.evaluate(b=>{let p=[],D=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),v=document.querySelectorAll(D),y=document.activeElement;for(let x of v){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(x)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(x)||typeof isVisible=="function"&&!isVisible(x)||!x.offsetParent&&x.tagName!=="BODY")continue;let I=getComputedStyle(x),S=I.outline,w=I.outlineWidth,T=I.outlineStyle,E=I.boxShadow,A=I.border,C=I.backgroundColor;try{x.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==x)continue;let F=getComputedStyle(x),L=F.outline,N=(F.outlineStyle||"").toLowerCase(),$=parseFloat(F.outlineWidth||"0"),W=F.boxShadow,G=F.border,q=F.backgroundColor,j=L!==S,K=N!=="none"&&N!=="hidden"&&$>0;if(j&&K||W!==E&&W!=="none"&&W!==""||G!==A||q!==C||parseFloat(w)>0&&T!=="none")continue;let _e=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();p.push({selector:_e+":focus-visible",attribute:"style",currentValue:T+" "+w,issueType:"focus_not_visible",wcag:"2.4.7",context:`${x.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:x.outerHTML.slice(0,200),...b?{}:{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{y?y.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return p},f)}};var M3=()=>{let f=[],b=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function p(S){if(!S)return false;let w=" "+((S.id||"")+" "+(S.className||"")+" "+(S.getAttribute("name")||"")+" "+(S.getAttribute("action")||"")).toLowerCase()+" ";for(let T=0;T<b.length;T++)if(w.indexOf(b[T])!==-1)return true;return false}function D(S){let w=((S.getAttribute("name")||"")+" "+(S.getAttribute("id")||"")+" "+(S.getAttribute("placeholder")||"")+" "+(S.getAttribute("aria-label")||"")).toLowerCase();for(let T=0;T<m.length;T++)if(w.indexOf(m[T])!==-1)return true;return false}let v=document.querySelectorAll("input[pattern]");for(let S of v){if(f.length>=30)break;let w=S;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w)||(w.getAttribute("title")||"").trim()||(w.getAttribute("aria-describedby")||"").trim())continue;let A=uniqueSel(w),C=(w.getAttribute("pattern")||"").slice(0,80),F=w.getAttribute("name")||"",L=w.getAttribute("placeholder")||"";f.push({selector:A,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+C+" | name: "+F+" | placeholder: "+L,needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let S of y){if(f.length>=30)break;let w=S;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w))continue;let T=(w.getAttribute("autocomplete")||"").trim().toLowerCase();if(D(w)){if(T==="new-password")continue;let L=uniqueSel(w);f.push({selector:L,attribute:"autocomplete",currentValue:T,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(w.getAttribute("name")||"")+" | id: "+(w.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(w.outerHTML||"").slice(0,300)});continue}if(T)continue;let A=w.form||w.closest("form"),C=p(A),F=uniqueSel(w);f.push({selector:F,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(C?"new/signup/change password form":"login form")+" | name: "+(w.getAttribute("name")||"")+" | id: "+(w.getAttribute("id")||""),needsAI:false,fixValue:C?"new-password":"current-password",outerHtml:(w.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll("form"),I=/\*|\brequired\b|\bmandatory\b/i;for(let S of x){if(f.length>=30)break;let w=S;if(isWidget(w)||!isVisible(w))continue;let T=w.querySelectorAll("input[required], select[required], textarea[required]");if(!T.length)continue;let E=0;for(let N of T)isVisible(N)&&E++;if(E===0)continue;let A=w.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),C=0;for(let N of A)isVisible(N)&&C++;if(E>=C||(w.getAttribute("data-asw-required-hint")||"").trim())continue;let F=(w.textContent||"").trim();if(I.test(F))continue;let L=uniqueSel(w);f.push({selector:L,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${E} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return f},rh={name:"formAttributes",cap:30,async detect(h){return h.evaluate(M3)}};var O3=()=>{let f=[],b=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(v=>{if(isWidget(v)||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.getClientRects().length===0)return false;let y=getComputedStyle(v).visibility;return !(y==="hidden"||y==="collapse")});if(b.length===0)return f;let m='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',p=new Map,D=0;for(let v of b){if(f.length>=50)break;let y;if(v.getAttribute("role")==="heading"){let A=v.getAttribute("aria-level");y=A?parseInt(A,10):2;}else y=parseInt(v.tagName.charAt(1),10);if(isNaN(y)||y<1||y>6)continue;let I=v.closest(m)||document.body,S=p.get(I)??0,w=uniqueSel(v),T=(v.textContent||"").trim().slice(0,80),E=v.outerHTML.slice(0,300);if(y===1&&(D++,D>1&&(f.push({selector:w,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:T,h1Number:D,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:E}),y=2)),S>0&&y>S+1){let A=S+1;f.push({selector:w,attribute:"data-heading-skip",currentValue:String(y),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:T,currentLevel:y,previousLevel:S,expectedLevel:A,suggestion:"Should be h"+A+" (was h"+y+", previous was h"+S+") \u2014 retag the element"}),needsAI:false,needsReview:true,reviewReason:"level skips need a human retag \u2014 aria-level is ignored on native headings and never clears on rescan",outerHtml:E});}p.set(I,y);}return f},ah={name:"headingHierarchy",cap:50,async detect(h){return h.evaluate(O3)}};var N3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",b=[],m=new Set;function p(D){let v=D,y=0;for(;v&&v!==document.body&&y<6;){if(v.getAttribute("aria-hidden")==="true")return true;v=v.parentElement,y++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(D=>{if(b.length>=50||D.closest(h)||!D.matches("a[href], button, [role=button]")||p(D))return;let v=getComputedStyle(D);if(v.display==="none"||v.visibility==="hidden")return;let y=uniqueSel(D);m.has(y)||(m.add(y),b.push({selector:y,attribute:"tabindex",currentValue:D.getAttribute("tabindex")||"",issueType:"decorative_icon",wcag:"4.1.2",context:"disabled element still keyboard-focusable",needsAI:false,fixValue:"-1",needsReview:true,reviewReason:'element is aria-disabled/.disabled but still tabbable; removing it from the tab order changes keyboard behavior \u2014 confirm the control should be unreachable before applying tabindex="-1"'}));}),document.querySelectorAll("iframe").forEach(D=>{if(b.length>=50||D.closest(h)||p(D))return;let v=getComputedStyle(D),y=parseInt(v.width)||0,x=parseInt(v.height)||0;if((y===0||x===0)&&D.getAttribute("aria-hidden")!=="true"){let I=uniqueSel(D);if(m.has(I))return;m.add(I),b.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),b},nh={name:"hiddenInteractive",cap:50,async detect(h){return h.evaluate(N3)}};var q3=()=>{let h=document.documentElement;return h?(h.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_semantic_role",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},ih={name:"htmlLang",async detect(h){return h.evaluate(q3)}};var B3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],p=/^(iframe|embed|widget|frame|content|untitled)$/i,D=document.querySelectorAll("iframe");for(let v of D){if(b.length>=50)break;if(v.closest(h))continue;let y=(v.getAttribute("aria-hidden")||"").trim(),x=(v.getAttribute("role")||"").trim().toLowerCase();if(y==="true"||x==="presentation")continue;let I=getComputedStyle(v);if(v.getClientRects().length===0||I.visibility==="hidden"||I.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let S=(v.getAttribute("title")||"").trim(),w=S.length===0,T=!w&&(S.length<3||p.test(S));if(!w&&!T)continue;let E=(v.getAttribute("src")||"").toLowerCase(),A=uniqueSel(v),C=getNearbyContext(v),F="src: "+E.slice(0,120)+(C.nearbyHeading?" | heading: "+C.nearbyHeading:""),L=false;for(let N of m)if(E.includes(N.pattern)){b.push({selector:A,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:false,fixValue:N.title,outerHtml:v.outerHTML.slice(0,300)}),L=true;break}!L&&w&&b.push({selector:A,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return b},oh={name:"iframeTitle",cap:50,async detect(h){return h.evaluate(B3)}};var H3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],p={email:"email",tel:"tel",password:"current-password"},D=[{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"}],v=document.querySelectorAll("input, select, textarea");for(let y of v){if(m.length>=50)break;if(y.closest(h))continue;let x=y,I=(x.getAttribute("type")||"text").toLowerCase();if(f.includes(I)||x.getAttribute("autocomplete")||!isVisible(x))continue;let S="";if(p[I]&&(S=p[I]),!S){let T=(x.getAttribute("name")||"").toLowerCase(),E=(x.getAttribute("id")||"").toLowerCase(),A=(x.getAttribute("placeholder")||"").toLowerCase(),C=T+" "+E+" "+A;for(let F of D)if(C.includes(F.pattern)){S=F.autocomplete;break}}if(!S)continue;let w=uniqueSel(x);m.push({selector:w,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+I+" | name: "+(x.getAttribute("name")||"")+" | id: "+(x.getAttribute("id")||""),needsAI:false,fixValue:S});}return m},sh={name:"inputPurpose",cap:50,async detect(h){return h.evaluate(H3)}};var V3=()=>{let f=[],b={alert:true,alertdialog:true,application:true,article:true,banner:true,blockquote:true,button:true,caption:true,cell:true,checkbox:true,code:true,columnheader:true,combobox:true,command:true,comment:true,complementary:true,composite:true,contentinfo:true,definition:true,deletion:true,dialog:true,directory:true,document:true,emphasis:true,feed:true,figure:true,form:true,generic:true,grid:true,gridcell:true,group:true,heading:true,img:true,input:true,insertion:true,landmark:true,link:true,list:true,listbox:true,listitem:true,log:true,main:true,marquee:true,math:true,menu:true,menubar:true,menuitem:true,menuitemcheckbox:true,menuitemradio:true,meter:true,navigation:true,none:true,note:true,option:true,paragraph:true,presentation:true,progressbar:true,radio:true,radiogroup:true,range:true,region:true,roletype:true,row:true,rowgroup:true,rowheader:true,scrollbar:true,search:true,searchbox:true,section:true,sectionhead:true,select:true,separator:true,slider:true,spinbutton:true,status:true,strong:true,structure:true,subscript:true,suggestion:true,superscript:true,switch:true,tab:true,table:true,tablist:true,tabpanel:true,term:true,textbox:true,time:true,timer:true,toolbar:true,tooltip:true,tree:true,treegrid:true,treeitem:true,widget:true,window:true},m=document.querySelectorAll("[role]");for(let p of m){if(f.length>=20)break;let D=p;if(isWidget(D))continue;let v=(D.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let y=v.split(/\s+/).filter(Boolean);if(y.length===0)continue;let x=true,I="";for(let S=0;S<y.length;S++)if(!b[y[S]]){x=false,I=y[S];break}x||f.push({selector:uniqueSel(D),attribute:"remove_attribute",currentValue:v,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+I+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(D.outerHTML||"").slice(0,300)});}return f},lh={name:"invalidAriaRole",cap:20,async detect(h){return h.evaluate(V3)}};var j3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=['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(v){let y=v.getBoundingClientRect();if(y.width===0&&y.height===0)return false;let x=-window.scrollX,I=-window.scrollY,S=document.documentElement,w=getComputedStyle(v).position;if(w==="fixed")return false;let T=w==="absolute";for(let E=v.parentElement;E&&E!==document.body&&E!==S;E=E.parentElement){let A=getComputedStyle(E);if(T){if(A.position==="static")continue;T=false;}if(/auto|scroll/.test(A.overflowX+" "+A.overflowY))return false;let C=A.overflowX==="hidden"||A.overflowX==="clip",F=A.overflowY==="hidden"||A.overflowY==="clip";if(!C&&!F)continue;let L=E.getBoundingClientRect();if(C&&(y.right<=L.left||y.left>=L.right)||F&&(y.bottom<=L.top||y.top>=L.bottom))return true;if(w=A.position,w==="fixed")return false;w==="absolute"&&(T=true);}return y.right<=x||y.bottom<=I||y.left>=x+S.scrollWidth||y.top>=I+S.scrollHeight}let D=document.querySelectorAll(m);for(let v of D){if(b.length>=30)break;if(v.closest(h)||!v.hasAttribute("tabindex"))continue;let y=v.getAttribute("tabindex")||"",x=parseInt(y,10);if(!Number.isFinite(x)||x===0||v.getAttribute("aria-disabled")==="true"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.closest("[hidden]"))continue;let I=v.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(I&&!(I.hasAttribute("open")||I.getAttribute("aria-modal")==="true"||I.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(v)||x<0&&p(v))continue;let S=(v.getAttribute("role")||"").toLowerCase();if(x<0&&v.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let T=typeof uniqueSel=="function"?uniqueSel(v):"",E=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},A,C;x<0?(A="keyboard_trap",C="2.1.1"):(A="focus_order_disruption",C="2.4.3");let F=[];F.push("tabindex: "+x),F.push("tag: "+v.tagName.toLowerCase()),S&&F.push("role: "+S),E.nearbyHeading&&F.push("heading: "+E.nearbyHeading),F.push("parent: "+E.parentTag),b.push({selector:T,attribute:"tabindex",currentValue:String(x),issueType:A,wcag:C,context:F.join(" | "),needsAI:false,fixValue:"0",outerHtml:(v.outerHTML||"").slice(0,300)});}return b},uh={name:"keyboardTrap",cap:30,async detect(h){return h.evaluate(j3)}};var $3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],p=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let D of Array.from(p)){if(b.length>=40)break;if(D.closest(h)||typeof isVisible=="function"&&!isVisible(D))continue;let v="",y=[],x=[];try{let Q=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,ae=/icon|awesome|glyph|material symbols|dashicons/i,ne=!1;try{ne=ae.test(getComputedStyle(D).fontFamily||"");}catch{}let _e=document.createTreeWalker(D,NodeFilter.SHOW_TEXT),he;for(;he=_e.nextNode();){let Ue=he.parentElement;if(!Ue)continue;let Xe=(he.textContent||"").trim();if(!Xe||Ue===D&&ne)continue;let He=!1,Me=!1;for(let Je=Ue;Je&&Je!==D;Je=Je.parentElement){if(Je.tagName==="KBD"&&(Me=!0),Je.getAttribute("aria-hidden")==="true"){He=!0;break}if(Q.test(Je.className||"")||Q.test(Je.id||"")){He=!0;break}try{let Re=getComputedStyle(Je);if(Re.display==="none"||Re.visibility==="hidden"){He=!0;break}if(parseFloat(Re.opacity||"1")===0){He=!0;break}if(ae.test(Re.fontFamily||"")){He=!0;break}}catch{}}!He&&/[\p{L}\p{N}]/u.test(Xe)&&x.push({text:Xe,kbd:Me});}let Ie=0,me=x.length;for(;Ie<me&&x[Ie].kbd;)Ie++;for(;me>Ie&&x[me-1].kbd;)me--;let ye=Ie<me?x.slice(Ie,me):x;for(let Ue of ye)y.push(Ue.text);v=y.join(" ").trim().toLowerCase();}catch{v=((D.innerText!=null?D.innerText:D.textContent)||"").trim().toLowerCase();}if(!v||!/[\p{L}\p{N}]/u.test(v)||/^\p{L}$/u.test(v))continue;let S=/[\p{L}\p{N}\p{M}]/u,w=(D.getAttribute("aria-label")||"").trim().toLowerCase();if(!w){let Q=D.getAttribute("aria-labelledby");Q&&(w=(typeof __resolveIdRefs=="function"?__resolveIdRefs(Q):"").toLowerCase());}if(!w)continue;let T=v.replace(/\s+/g," ").normalize("NFC"),E=w.replace(/\s+/g," ").normalize("NFC"),A=/[\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,C=(Q,ae)=>!Q||!S.test(Q)||A.test(Q)||A.test(ae),F=(Q,ae)=>{if(ae<=0)return "";let ne=Q.charCodeAt(ae-1);return ne>=56320&&ne<=57343&&ae>=2?Q.slice(ae-2,ae):Q.charAt(ae-1)},L=(Q,ae)=>{let ne=Q.codePointAt(ae);return ne===void 0?"":String.fromCodePoint(ne)},N=T.substring(0,40),$=T.length>=40,W=L(N,0),G=F(N,N.length),q=false;for(let Q=0;!q;){let ae=E.indexOf(N,Q);if(ae<0)break;C(F(E,ae),W)&&($||C(L(E,ae+N.length),G))&&(q=true),Q=ae+1;}if(q)continue;if(y.length>1){let Q=true,ae=0;for(let ne of y){let _e=ne.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!_e)continue;let he=_e.slice(0,40),Ie=-1;for(let me=ae;;){let ye=E.indexOf(he,me);if(ye<0)break;let Ue=C(F(E,ye),L(he,0)),Xe=he.length>=40||C(L(E,ye+he.length),F(he,he.length));if(Ue&&Xe){Ie=ye;break}me=ye+1;}if(Ie<0){Q=false;break}ae=Ie+he.length;}if(Q)continue}let j=typeof uniqueSel=="function"?uniqueSel(D):"",K=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},Z=[];Z.push("visible: "+v.slice(0,40)),Z.push("aria-label: "+w.slice(0,60)),K.nearbyHeading&&Z.push("heading: "+K.nearbyHeading),Z.push("parent: "+K.parentTag),b.push({selector:j,attribute:"aria-label",currentValue:w,issueType:"label_in_name",wcag:"2.5.3",context:Z.join(" | "),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}return b},ch={name:"labelInName",cap:40,async detect(h){return h.evaluate($3)}};var z3=()=>{function h(S){let w=S.closest("section,article,div,nav,main,aside,header,footer"),T=w?w.querySelector("h1,h2,h3,h4,h5,h6"):null;return T?(T.textContent||"").trim().slice(0,80):""}let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",b=50,m=[];document.querySelector('main, [role="main"]')||m.push({selector:"body",attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({reason:'page has no <main> or [role="main"] landmark'}),needsAI:true,outerHtml:""});let D=document.querySelectorAll("div, section, ul, ol");for(let S of D){if(m.length>=b)break;if(S.closest(f)||!isVisible(S)||isHiddenFromAT(S)||S.tagName.toLowerCase()==="nav")continue;let w=S.getAttribute("role");if(w&&w!=="navigation")continue;let T=(S.className&&typeof S.className=="string"?S.className:"").toLowerCase(),E=(S.id||"").toLowerCase();if(!(T.includes("nav")||T.includes("menu")||T.includes("navigation")||E.includes("nav")||E.includes("menu")||E.includes("navigation"))||S.closest('nav, [role="navigation"]'))continue;let C=Array.from(S.querySelectorAll('nav, [role="navigation"]')).filter(G=>isVisible(G)&&!isHiddenFromAT(G)),F=Array.from(S.querySelectorAll("a[href]")).filter(G=>!C.some(q=>q.contains(G)));if(F.length<3)continue;let L=S.closest('header, [role="banner"], footer, [role="contentinfo"]'),$=!!L&&Array.from(L.querySelectorAll('nav, [role="navigation"]')).some(G=>!S.contains(G)&&isVisible(G)&&!isHiddenFromAT(G))||C.length>0,W=uniqueSel(S);m.push({selector:W,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:F.length,classes:T.slice(0,80)}),needsAI:false,fixValue:"navigation",...$?{needsReview:true,reviewReason:C.length>0?"this container already holds a navigation landmark \u2014 confirm the links outside it are a separate navigation block before adding a second one":"this header/footer region already has a navigation landmark \u2014 confirm these links are a separate navigation block before adding a second one"}:{},outerHtml:S.outerHTML.slice(0,300)});}let v=document.querySelectorAll('aside, [role="complementary"]'),y=Array.from(v).filter(S=>!S.closest(f)&&isVisible(S)&&!isHiddenFromAT(S));if(y.length>1)for(let S of y){if(m.length>=b)break;let w=S.getAttribute("aria-label")||"",T=S.getAttribute("aria-labelledby")||"",E=S.getAttribute("title")||"";if(w.trim()||T.trim()||E.trim())continue;let A=h(S),C=uniqueSel(S);m.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:v.length,nearbyHeading:A}),needsAI:true,outerHtml:S.outerHTML.slice(0,300)});}let x=document.querySelectorAll('nav, [role="navigation"]'),I=Array.from(x).filter(S=>!S.closest(f)&&isVisible(S)&&!isHiddenFromAT(S));if(I.length>1)for(let S of I){if(m.length>=b)break;let w=S.getAttribute("aria-label")||"",T=S.getAttribute("aria-labelledby")||"",E=S.getAttribute("title")||"";if(w.trim()||T.trim()||E.trim())continue;let A=h(S),C=uniqueSel(S);m.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:x.length,nearbyHeading:A}),needsAI:true,outerHtml:S.outerHTML.slice(0,300)});}return m},dh={name:"landmarkRoles",cap:50,async detect(h){return h.evaluate(z3)}};var G3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",b=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],m=[];function p(S){if(!S)return "";let w=S.split("#")[0];return w.length>1&&w.charAt(w.length-1)==="/"&&(w=w.substring(0,w.length-1)),w}function D(S){let w=(S.getAttribute("aria-label")||"").trim();return w||(S.textContent||"").trim().replace(/\s+/g," ")}function v(S){return !!S.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let y={},x=document.querySelectorAll("a[href]");for(let S=0;S<x.length;S++){let w=x[S];if(w.closest(h)||w.getAttribute("aria-hidden")==="true"||!isVisible(w))continue;let T=w.getAttribute("href")||"";if(!T)continue;let E=T.toLowerCase();if(E.charAt(0)==="#"||E.indexOf("javascript:")===0||E.indexOf("mailto:")===0||E.indexOf("tel:")===0)continue;let A=w.href||T,C=p(A);if(!C||v(w))continue;let F=(w.textContent||"").trim(),L=!!w.querySelector("img, svg, picture");if(!F&&L)continue;let N=D(w);if(!N)continue;let $=N.toLowerCase();$===E||$===A.toLowerCase()||(y[C]||(y[C]=[]),y[C].push(w));}let I=Object.keys(y);for(let S=0;S<I.length&&!(m.length>=30);S++){let w=y[I[S]];if(!w||w.length<2)continue;let T={},E="";for(let L=0;L<w.length;L++){let N=D(w[L]),$=N.toLowerCase();T[$]=true,N.length>E.length&&(E=N);}if(Object.keys(T).length<2)continue;let C=E.toLowerCase().trim();if(C.length<5)continue;let F=false;for(let L=0;L<b.length;L++)if(C===b[L]){F=true;break}if(!F)for(let L=0;L<w.length&&!(m.length>=30);L++){let N=w[L],$=D(N);if($.toLowerCase()===C)continue;let W=uniqueSel(N);m.push({selector:W,attribute:"aria-label",currentValue:$,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+w.length+' link(s) on this page with different text (e.g. "'+E.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:N.outerHTML.slice(0,300)});}}return m},fh={name:"linkConsistency",cap:30,async detect(h){return h.evaluate(G3)}};var W3=()=>{let f=[],b=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".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 D(A,C){if(!A||!C)return false;if(A===C||A.endsWith("."+C)||C.endsWith("."+A))return true;let F=L=>{let N=L.split(".");if(N.length<=2)return L;let $=N[N.length-1],W=N[N.length-2],G=["co","com","net","org","ac","gov","edu"],q=$.length===2&&G.indexOf(W)>=0?3:2;return N.slice(-q).join(".")};return F(A)===F(C)}function v(A){return A.indexOf("www.")===0?A.slice(4):A}function y(A){if(!A)return "";let C=A.toLowerCase();if(C.charAt(0)==="#"||C.charAt(0)==="/"||C.charAt(0)==="?"||C.indexOf("javascript:")===0||C.indexOf("mailto:")===0||C.indexOf("tel:")===0)return "";try{return (new window.URL(A,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function x(A){if(!A)return "";let C=A,F=C.indexOf("?");F>=0&&(C=C.slice(0,F));let L=C.indexOf("#");L>=0&&(C=C.slice(0,L)),C=C.toLowerCase();for(let N=0;N<b.length;N++){let $=b[N];if(C.length>=$.length&&C.slice(C.length-$.length)===$)return $}return ""}function I(A){let C=[],F=(A.getAttribute("aria-label")||"").trim();F&&C.push(F);let L=(A.getAttribute("title")||"").trim();L&&C.push(L);let N=A.getAttribute("aria-labelledby");if(N)try{let $=typeof __resolveIdRefs=="function"?__resolveIdRefs(N):"";$&&C.push($);}catch{}return C.push((A.textContent||"").trim()),C.join(" ").toLowerCase()}function S(A,C,F){let L="";try{typeof getAccessibleName=="function"&&(L=(getAccessibleName(A)||"").trim());}catch{}let N=(C||F||L||A.textContent||"").replace(/\s+/g," ").trim();return N||(A.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function w(A,C){let L=200-C.length;L<8&&(L=8);let N=A;if(N.length>L){let $=N.slice(0,L),W=$.lastIndexOf(" ");W>L*.6&&($=$.slice(0,W)),N=$.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (N+C).slice(0,200)}let T=document.querySelectorAll("a"),E=T.length;for(let A=0;A<E&&!(f.length>=50);A++){let C=T[A];if(!C||isWidget(C)||C.getAttribute("aria-hidden")==="true")continue;try{if(C.closest&&C.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(C))continue;let F=C.getAttribute("href");if(F==null)continue;let L=String(F).trim();if(!L)continue;let N=L.toLowerCase(),$=I(C),W=(C.getAttribute("rel")||"").toLowerCase(),G=uniqueSel(C),q=(C.textContent||"").trim().slice(0,80),j=(C.getAttribute("target")||"").toLowerCase(),K=(C.outerHTML||"").slice(0,300),Z=L==="#",Q=N.indexOf("javascript:")===0;if((Z||Q)&&(C.getAttribute("role")||"").toLowerCase()!=="button"){let me=C.hasAttribute&&C.hasAttribute("onclick"),ye=C.hasAttribute&&(C.hasAttribute("data-action")||C.hasAttribute("data-click")||C.hasAttribute("data-toggle")||C.hasAttribute("data-target")),Ue=typeof C.onclick=="function",Xe=me||ye||Ue,He=[];He.push("href: "+L),q&&He.push("text: "+q),He.push(Xe?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Me='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"]',Je=ke=>{if(getComputedStyle(ke).visibility==="hidden")return false;for(let yr=ke;yr&&yr.nodeType===1;yr=yr.parentElement)if(getComputedStyle(yr).display==="none")return false;return true},Re=Array.prototype.some.call(C.querySelectorAll(Me),ke=>Je(ke)&&!isHiddenFromAT(ke));Xe&&!Re&&f.push({selector:G,attribute:"role",currentValue:L,issueType:"placeholder_link",wcag:"2.4.4",context:He.join(" | "),needsAI:false,fixValue:"button",outerHtml:K});continue}if(L.charAt(0)==="#"&&L.length>1){let Ie=L.slice(1),me=Ie;try{me=decodeURIComponent(Ie);}catch{me=Ie;}let ye=null;try{ye=document.getElementById(me);}catch{ye=null;}if(!ye)try{ye=document.querySelector('[name="'+me.replace(/"/g,'\\"')+'"]');}catch{ye=null;}continue}let ae=x(N);if(ae){let Ie=C.hasAttribute&&C.hasAttribute("download"),me=(m[ae]||ae).toLowerCase(),ye=$.indexOf(ae)>=0||$.indexOf(me)>=0||$.indexOf("download")>=0;if(!Ie&&!ye){let Ue=S(C,(C.getAttribute("aria-label")||"").trim(),""),Xe=w(Ue," ("+(m[ae]||ae)+" download)");f.push({selector:G,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ae+" | href: "+L.slice(0,120),needsAI:false,fixValue:Xe,outerHtml:K});continue}}let ne=y(L),_e=N.indexOf("http://")===0||N.indexOf("https://")===0||N.indexOf("//")===0,he=!!ne&&!!p&&!D(v(ne),v(p));if(j==="_blank"){let Ie=W.indexOf("noopener")>=0||W.indexOf("noreferrer")>=0,me=$.indexOf("new window")>=0||$.indexOf("new tab")>=0||$.indexOf("opens in")>=0;if(!me){let ye=(C.getAttribute("aria-label")||"").trim(),Ue="",Xe=C.getAttribute("aria-labelledby")||"";if(!ye&&Xe)try{typeof __resolveIdRefs=="function"&&(Ue=(__resolveIdRefs(Xe)||"").trim());}catch{}let He=S(C,ye,Ue),Me=w(He," (opens in new window)"),Je=[];Ie||Je.push("missing rel=noopener"),me||Je.push('missing "new window" hint'),Je.push("href: "+L.slice(0,120)),f.push({selector:G,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Je.join(" | "),needsAI:false,fixValue:Me,outerHtml:K});continue}}if(he&&_e){let Ie=W.indexOf("external")>=0,me=$.indexOf("external")>=0||$.indexOf("opens in")>=0||$.indexOf("new window")>=0||$.indexOf("new tab")>=0;if(!Ie&&!me){let ye=(C.getAttribute("aria-label")||"").trim(),Ue="",Xe=C.getAttribute("aria-labelledby")||"";if(!ye&&Xe)try{typeof __resolveIdRefs=="function"&&(Ue=(__resolveIdRefs(Xe)||"").trim());}catch{}let He=S(C,ye,Ue),Me=w(He," (external link)");f.push({selector:G,attribute:"aria-label",currentValue:(C.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+ne+" (page: "+p+") | href: "+L.slice(0,120),needsAI:false,fixValue:Me,outerHtml:K});}}}return f},ph={name:"linkWarnings",cap:50,async detect(h){return h.evaluate(W3)}};var U3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],m=new Set,p=document.querySelectorAll('main, [role="main"]'),D=[];return p.forEach(v=>{let y=getComputedStyle(v);y.display!=="none"&&y.visibility!=="hidden"&&D.push(v);}),p.forEach(v=>{if(b.length>=10||v.closest(h)||v.getAttribute("aria-hidden")!=="true")return;let y=getComputedStyle(v);if(y.display==="none"||y.visibility==="hidden"||v.closest('[role="dialog"]')||v.closest('[role="alertdialog"]')||v.closest("dialog")||D.some(w=>w!==v&&w.getAttribute("aria-hidden")!=="true"))return;let I=v.parentElement;for(;I&&I!==document.body&&I!==document.documentElement;){if(I.getAttribute("aria-hidden")==="true")return;I=I.parentElement;}let S=uniqueSel(v);m.has(S)||(m.add(S),b.push({selector:S,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:v.tagName.toLowerCase(),role:v.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:(v.outerHTML||"").slice(0,300)}));}),b},mh={name:"mainContentHidden",cap:10,async detect(h){return h.evaluate(U3)}};var X3=()=>{let f=[];function b(v){return !!(!v||isWidget(v)||(v.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(v){return (v.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let v of p){if(f.length>=10)break;let y=v;if(b(y))continue;let x=y.hasAttribute("controls"),I=y.hasAttribute("autoplay"),S=y.hasAttribute("muted"),w=typeof isVisible=="function"?isVisible(y):true;if(!x&&w&&(f.push({selector:uniqueSel(y),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:m(y)}),f.length>=10))break;I&&!S&&f.push({selector:uniqueSel(y),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:m(y)});}let D=document.querySelectorAll("audio");for(let v of D){if(f.length>=10)break;let y=v;if(b(y))continue;let x=y.hasAttribute("controls"),I=y.hasAttribute("autoplay");if(!x&&(f.push({selector:uniqueSel(y),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:m(y)}),f.length>=10))break;I&&f.push({selector:uniqueSel(y),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:m(y)});}return f},hh={name:"mediaControls",cap:10,async detect(h){return h.evaluate(X3)}};var Y3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,p=/^(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=document.querySelectorAll("img");for(let v of D){if(b.length>=50)break;if(v.closest(h))continue;let y=v.getAttribute("src")||"",x=v.getAttribute("alt");if(y.startsWith("data:"))continue;let I=v.naturalWidth||v.width,S=v.naturalHeight||v.height;if(I<=3&&S<=3&&I>0&&S>0||I<=2&&S<=2)continue;let w=v.getBoundingClientRect();if(w.width<=2&&w.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let T=(v.getAttribute("aria-label")||"").trim(),E=(v.getAttribute("aria-labelledby")||"").trim();if(T||E)continue;let A=v.getBoundingClientRect(),C=A.width>0&&A.width<=30&&A.height<=30,F=!!v.closest('a, button, [role="button"], [role="link"]');if(C&&!F&&x===null){let G=uniqueSel(v);b.push({selector:G,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(A.width)+"x"+Math.round(A.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(x===null){let G=uniqueSel(v),q=getNearbyContext(v),j=[],K=v.closest("figure");if(K){let ae=K.querySelector("figcaption");ae&&j.push("figcaption: "+(ae.textContent||"").trim().slice(0,80));}q.nearbyHeading&&j.push("heading: "+q.nearbyHeading);let Z=v.closest("a");if(Z){let ae=Z.getAttribute("href")||"",ne=(Z.textContent||"").trim().replace(/\s+/g," ");ne&&j.push("link text: "+ne.slice(0,60)),ae&&j.push("link href: "+ae.slice(0,80));}y&&j.push("src: "+y.slice(0,120)),j.push("parent: "+q.parentTag);let Q=y;try{Q=new URL(y,document.baseURI).href;}catch{}b.push({selector:G,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:Q,outerHtml:v.outerHTML.slice(0,300)});continue}let L=(x||"").trim();if(L==="")continue;let N=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(L),$=m.test(L),W=p.test(L);if(N||$||W){let G=uniqueSel(v),q=getNearbyContext(v),j=[];q.nearbyHeading&&j.push("heading: "+q.nearbyHeading),y&&j.push("src: "+y.slice(0,120)),j.push("parent: "+q.parentTag);let K=y;try{K=new URL(y,document.baseURI).href;}catch{}b.push({selector:G,attribute:"alt",currentValue:L,issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:K,outerHtml:v.outerHTML.slice(0,300)});}}return b},gh={name:"missingAlt",cap:50,async detect(h){return h.evaluate(Y3)}};var K3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image"],b=["wpnonce","_token","csrf","nonce","captcha"],p=[],D=document.querySelectorAll("input, select, textarea");for(let v of D){if(p.length>=50)break;if(v.closest(h))continue;let y=v,x=y.getAttribute("type")||y.tagName.toLowerCase();if(f.includes(x.toLowerCase())||!isVisible(y)||y.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(y).display==="none")continue;let w=y.getAttribute("id")||"",T=y.getAttribute("name")||"",E=(w+" "+T).toLowerCase();if(b.some(G=>E.includes(G)))continue;let A=false;if(w){let G=document.querySelector('label[for="'+CSS.escape(w)+'"]');G&&(G.textContent||"").trim()&&(A=true);}if(!A){let G=y.closest("label");G&&(G.textContent||"").trim()&&(A=true);}if(!A&&(y.getAttribute("aria-label")||"").trim()&&(A=true),!A){let G=y.getAttribute("aria-labelledby");G&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(G)&&(A=true);}if(!A&&(y.getAttribute("title")||"").trim()&&(A=true),A)continue;let C=uniqueSel(y),F=getNearbyContext(y),L=(y.getAttribute("placeholder")||"").trim(),N=y.closest("form"),$=N&&(N.getAttribute("id")||N.getAttribute("action"))||"",W=[];L&&W.push("placeholder: "+L),T&&W.push("name: "+T),x&&W.push("type: "+x),$&&W.push("form: "+$.slice(0,60)),F.nearbyHeading&&W.push("heading: "+F.nearbyHeading),W.push("parent: "+F.parentTag),p.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:W.join(" | "),needsAI:true,outerHtml:y.outerHTML.slice(0,300)});}return p},vh={name:"missingLabels",cap:50,async detect(h){return h.evaluate(K3)}};var J3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",f='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"]',b=["onclick","data-action","ng-click","@click","v-on:click"],m=A=>{if(getComputedStyle(A).visibility==="hidden")return false;for(let C=A;C&&C.nodeType===1;C=C.parentElement)if(getComputedStyle(C).display==="none")return false;return true},p=A=>Array.prototype.some.call(A.querySelectorAll("a:not([href])"),C=>m(C)&&!isHiddenFromAT(C)&&b.some(F=>C.hasAttribute(F))),D=A=>Array.prototype.some.call(A.querySelectorAll(f),C=>m(C)&&!isHiddenFromAT(C)),y=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(A=>{if(y.length>=50||A.closest(h)||!isVisible(A)||isHiddenFromAT(A)||D(A)||p(A))return;let C=A.getAttribute("role");if(C==="button"||C==="link"||C==="tab"||C==="menuitem"||C==="checkbox"||C==="radio")return;let F=uniqueSel(A),L=A.outerHTML.slice(0,300);y.push({selector:F,attribute:"role",currentValue:C||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),hasOnclick:true,currentTabindex:A.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:L}),A.getAttribute("tabindex")===null&&y.push({selector:F,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:L});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(A=>{if(y.length>=50||A.closest(h)||!isVisible(A)||isHiddenFromAT(A)||A.getAttribute("role"))return;let F=A.hasAttribute("onclick"),L=A.getAttribute("data-action")||A.getAttribute("ng-click")||A.getAttribute("@click")||A.getAttribute("v-on:click");if(!F&&!L||D(A))return;let N=uniqueSel(A),$=A.outerHTML.slice(0,300);y.push({selector:N,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:A.getAttribute("href")||"",hasOnclick:F}),needsAI:false,fixValue:"button",outerHtml:$});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(A=>{if(y.length>=50||A.closest(h)||!isVisible(A)||isHiddenFromAT(A)||A.getAttribute("role"))return;let F=A.getAttribute("href")||"",L=false;if(F.startsWith("#")&&F.length>1){if(F.charAt(1)==="/")return;let G=F.slice(1);if(document.getElementById(G))return;try{if(document.querySelector('[name="'+CSS.escape(G)+'"]'))return}catch{}L=true;}let N=F.startsWith("javascript:")||A.hasAttribute("onclick")||A.getAttribute("data-action")||A.getAttribute("ng-click")||A.getAttribute("@click")||A.getAttribute("v-on:click")||A.hasAttribute("aria-haspopup")||A.hasAttribute("aria-expanded")||A.hasAttribute("aria-controls"),$=L&&!N;if(D(A))return;let W=uniqueSel(A);y.push({selector:W,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:F,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:A.outerHTML.slice(0,300),...$?{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(A=>{if(y.length>=50||A.closest(h)||!isVisible(A)||isHiddenFromAT(A))return;let C=(A.className&&typeof A.className=="string"?A.className:"").toLowerCase(),F=(A.id||"").toLowerCase();if(!C.includes("breadcrumb")&&!C.includes("crumb")&&!F.includes("breadcrumb")&&!F.includes("crumb"))return;let L=A.querySelectorAll("a");if(L.length<2)return;let N=(A.getAttribute("aria-label")||"").toLowerCase(),$=A.getAttribute("role");if(N.includes("breadcrumb")||N.includes("crumb")||$==="navigation"&&N)return;let W=uniqueSel(A);y.push({selector:W,attribute:"aria-label",currentValue:N,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:L.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:A.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(A=>{if(y.length>=50||A.closest(h)||!isVisible(A)||isHiddenFromAT(A))return;let C=(A.className&&typeof A.className=="string"?A.className:"").toLowerCase(),F=(A.id||"").toLowerCase();if(!C.includes("search")&&!F.includes("search")||!A.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let N=A.getAttribute("role");if(N==="search"||A.closest('[role="search"]')||A.querySelector('[role="search"]')||Array.prototype.some.call(A.querySelectorAll("form, section, div"),G=>{let q=(G.className&&typeof G.className=="string"?G.className:"").toLowerCase(),j=(G.id||"").toLowerCase();return !q.includes("search")&&!j.includes("search")||G.getAttribute("role")==="search"?false:!!G.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let W=uniqueSel(A);y.push({selector:W,attribute:"role",currentValue:N||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:A.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(A=>{if(A.closest(h))return;let C=A.getAttribute("role")||"menu",F=Array.from(A.querySelectorAll("a")).filter(N=>{if(!isVisible(N)||isHiddenFromAT(N))return false;let $=N.getAttribute("role");return $!=="menuitem"&&$!=="menuitemcheckbox"&&$!=="menuitemradio"});if(F.length===0)return;let L=uniqueSel(A);y.push({selector:L,attribute:"role",currentValue:C,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),reason:`${F.length} link(s) inside role="${C}" without menuitem roles`,sample:F.slice(0,3).map(N=>(N.textContent||"").trim().slice(0,40))}),message:`container role="${C}" holds ${F.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:A.outerHTML.slice(0,300)});}),y},bh={name:"missingRoles",cap:50,async detect(h){return h.evaluate(J3)}};var Z3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],m={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},p=D=>{let v=I=>{let S=I.tagName.toLowerCase(),w=I.parentElement;if(!w)return S;let T=Array.from(w.children).filter(E=>E.tagName===I.tagName);return T.length>1?`${S}:nth-of-type(${T.indexOf(I)+1})`:S},y=[],x=D;for(;x&&x!==document.body&&x!==document.documentElement;)y.unshift(v(x)),x=x.parentElement;return y.length?y.join(" > "):D.tagName.toLowerCase()};for(let[D,v]of Object.entries(m)){let y=Array.from(document.querySelectorAll(v));y=y.filter(x=>!x.closest(h)),y=y.filter(x=>typeof isVisible=="function"?isVisible(x):true),y=y.filter(x=>x.getAttribute("aria-hidden")!=="true"),!(y.length<2)&&y.forEach(x=>{if(b.length>=30||(x.getAttribute("aria-label")||"").trim()||(x.getAttribute("title")||"").trim())return;let I=x.getAttribute("aria-labelledby");if(I&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(I))return;let S=typeof uniqueSel=="function"?uniqueSel(x):p(x),w=typeof getNearbyContext=="function"?getNearbyContext(x):{nearbyHeading:""},T=x.querySelector("h1, h2, h3, h4, h5, h6"),E=T?(T.textContent||"").trim().slice(0,60):"";b.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${D} | total: ${y.length} | inner-heading: ${E} | nearby: ${w.nearbyHeading||""}`,needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});});}return b},yh={name:"multipleLandmarks",cap:30,async detect(h){return h.evaluate(Z3)}};var Q3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],m={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,D]of Object.entries(m))document.querySelectorAll(D).forEach(y=>{if(b.length>=30||y.closest(h)||typeof isVisible=="function"&&!isVisible(y))return;let x=y.parentElement,I=null;for(;x&&x!==document.body;){if(x.matches(D)){I=x;break}x=x.parentElement;}if((p==="banner"||p==="contentinfo")&&y.closest("article, section, aside, main, nav")||!I||y.getAttribute("aria-label")?.trim()||y.getAttribute("aria-labelledby")?.trim())return;let S=typeof uniqueSel=="function"?uniqueSel(y):"",w=typeof getNearbyContext=="function"?getNearbyContext(y):{nearbyHeading:""};b.push({selector:S,attribute:"role",currentValue:y.getAttribute("role")||y.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${y.tagName.toLowerCase()} | heading: ${w.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(y.outerHTML||"").slice(0,300)});});return b},wh={name:"nestedLandmarks",cap:30,async detect(h){return h.evaluate(Q3)}};var eI=()=>{let f=[],b=w=>typeof parseCssColor=="function"?parseCssColor(w):null,m=(w,T,E)=>typeof relLuminance=="function"?relLuminance(w,T,E):0,D=(w,T)=>typeof contrastRatio=="function"?contrastRatio(w,T):1;function v(w){let T=document.documentElement,E=w.parentElement,A=0;for(;E&&E!==T&&A<6;){let N=getComputedStyle(E).backgroundColor||"",$=b(N);if($&&$[3]>.5)return [$[0],$[1],$[2]];E=E.parentElement,A++;}let C=document.body;if(E&&E!==T&&C&&C.contains(E)){let N=b(getComputedStyle(C).backgroundColor||"");if(N&&N[3]>.5)return [N[0],N[1],N[2]]}let F=b(getComputedStyle(T).backgroundColor||""),L=F?Math.min(F[3],1):0;return !F||L<=0?[255,255,255]:[Math.round(F[0]*L+255*(1-L)),Math.round(F[1]*L+255*(1-L)),Math.round(F[2]*L+255*(1-L))]}function y(w,T,E){return "#"+[w,T,E].map(A=>{let C=Math.max(0,Math.min(255,Math.round(A))).toString(16);return C.length===1?"0"+C:C}).join("")}function x(w,T,E){let A=m(T[0],T[1],T[2])>.5;return I(w,T,E,A)||I(w,T,E,!A)}function I(w,T,E,A){let C=0,F=1,L=null;for(let N=0;N<20;N++){let $=(C+F)/2,W=A?[w[0]*(1-$),w[1]*(1-$),w[2]*(1-$)]:[w[0]+(255-w[0])*$,w[1]+(255-w[1])*$,w[2]+(255-w[2])*$],G=[Math.round(W[0]),Math.round(W[1]),Math.round(W[2])];D(G,T)>=E?(L=G,F=$):C=$;}return L}let S=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let w of S){if(f.length>=30)break;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w))continue;let T=getComputedStyle(w),E=v(w),A=b(T.backgroundColor||""),C=b(T.borderTopColor||""),F=parseFloat(T.borderTopWidth||"0"),L=(T.borderTopStyle||"").toLowerCase(),N=F>0&&L!=="none"&&L!=="hidden",$=w.tagName.toLowerCase(),W=$==="input"||$==="select"||$==="textarea",G=N&&C&&C[3]>.5?D([C[0],C[1],C[2]],E):null,q=A&&A[3]>.5?D([A[0],A[1],A[2]],E):null,j=G===null&&q===null?null:Math.max(G??0,q??0),K=null,Z=false,Q="";if(W)j!==null?(K=j,j<3&&(Z=true)):(Z=true,K=1);else {let Me=false,Je=document.createTreeWalker(w,4),Re=Je.nextNode();for(;Re;){if((Re.textContent||"").trim()&&Re.parentElement&&isVisible(Re.parentElement)){Me=true;break}Re=Je.nextNode();}if(Me)continue;let yr=Array.from(w.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),$a=new Map,Ro=gt=>{let kt=gt.getBoundingClientRect();if(kt.width*kt.height===0)return "absent";let zt=parseFloat(getComputedStyle(w).opacity||"1");for(let ft=gt;ft&&ft!==w;ft=ft.parentElement){let tr=getComputedStyle(ft);if(tr.display==="none")return "absent";if(tr.visibility==="hidden"||parseFloat(tr.opacity||"1")===0)return "hidden-at-rest";zt*=parseFloat(tr.opacity||"1");}return $a.set(gt,zt),"painted"},cr=yr.map(Ro),za=yr.filter((gt,kt)=>cr[kt]==="painted"),na=za.length>0,$t=!na&&cr.includes("hidden-at-rest"),Mt=gt=>{let kt=(gt.tagName||"").toLowerCase();if(kt==="img"||kt==="picture"||kt==="canvas"||kt==="svg"&>.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let zt=[];if(kt==="svg"){let tr=gt.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let vt of [tr,gt]){if(!vt)continue;let bt=getComputedStyle(vt),ia=1;for(let Gt=vt;Gt&&Gt!==gt;Gt=Gt.parentElement||Gt.parentNode)ia*=parseFloat(getComputedStyle(Gt).opacity||"1");let Ke=Gt=>Number.isFinite(parseFloat(Gt))?parseFloat(Gt):1;if(bt.fill&&bt.fill!=="none"&&!bt.fill.startsWith("url")&&zt.push({color:bt.fill,alpha:ia*Ke(bt.fillOpacity)}),bt.stroke&&bt.stroke!=="none"&&!bt.stroke.startsWith("url")&&parseFloat(bt.strokeWidth||"0")>0&&zt.push({color:bt.stroke,alpha:ia*Ke(bt.strokeOpacity)}),zt.length)break}}else ((gt.textContent||"").trim()||getComputedStyle(gt,"::before").content!=="none")&&zt.push({color:getComputedStyle(gt).color,alpha:1});let ft=null;for(let tr of zt){let vt=b(tr.color);if(!vt)continue;let bt=vt[3]*tr.alpha*($a.get(gt)??1),ia=[vt[0]*bt+E[0]*(1-bt),vt[1]*bt+E[1]*(1-bt),vt[2]*bt+E[2]*(1-bt)],Ke=D(ia,E);(ft===null||Ke>ft)&&(ft=Ke);}return ft};if(na&&za.map(Mt).some(kt=>kt!==null&&kt>=3))continue;let Ir=false,ge=T.position;if((ge==="absolute"||ge==="fixed")&&w.parentElement){let gt=w.getBoundingClientRect(),kt=w.parentElement.getBoundingClientRect(),zt=kt.width*kt.height;zt>0&>.width*gt.height/zt>=.85&&(Ir=true);}if(na||Ir||$t){if(Z=true,K=N&&C&&C[3]>.5?D([C[0],C[1],C[2]],E):1,K>=3)continue;Q=na?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":$t?"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 j!==null?(K=j,j<3&&(Z=true)):(Z=true,K=1);}if(!Z)continue;let ae=C&&C[3]>.5?[C[0],C[1],C[2]]:A&&A[3]>.5?[A[0],A[1],A[2]]:[128,128,128],ne=x(ae,E,3);if(!ne)continue;let _e=y(ne[0],ne[1],ne[2]),he=y(E[0],E[1],E[2]),Ie="border: 1px solid "+_e+" !important;",me=uniqueSel(w),ye=w.tagName.toLowerCase(),Ue=j===null&&!N?"invisible (no border, no fill: 1.00:1)":K?K.toFixed(2)+":1":"not measurable",Xe=ye==="input"||ye==="select"||ye==="textarea"?ye+" field":ye,He=Q?"non-text contrast: "+Xe+" boundary is "+Ue+" against "+he+" (needs 3:1) \u2014 "+Q:"non-text contrast: "+Xe+" boundary (border and fill) is "+Ue+" against "+he+", needs 3:1 \u2014 e.g. border-color "+_e;f.push({selector:me,message:He,attribute:"style",currentValue:K?K.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:ye+" bg="+he+" ratio="+(K?K.toFixed(2):"?")+" needs=3",needsAI:false,...Q?{needsReview:true,reviewReason:Q}:{fixValue:Ie},outerHtml:w.outerHTML.slice(0,200)});}return f},xh={name:"nonTextContrast",cap:30,async detect(h){return h.evaluate(eI)}};var tI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let D of Array.from(p)){if(b.length>=20)break;if(D.closest(h))continue;let v=D.getAttribute("onfocus")||"";if(!v||!m.test(v))continue;let y=typeof uniqueSel=="function"?uniqueSel(D):"",x=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},I=[];I.push("tag: "+D.tagName.toLowerCase()),I.push("onfocus: "+v.slice(0,100)),x.nearbyHeading&&I.push("heading: "+x.nearbyHeading),I.push("parent: "+x.parentTag),b.push({selector:y,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:I.join(" | "),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}return b},Dh={name:"onFocus",cap:20,async detect(h){return h.evaluate(tI)}};var rI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",m=[],p=new Set,D=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(y=>{if(m.length>=30||y.closest(h))return;let x=y.tagName;if(x==="BODY"||x==="HTML"||!isVisible(y)||isHiddenFromAT(y)||y.hasAttribute("tabindex"))return;let I=y.getAttribute("role");if(I&&D.has(I))return;let S=getComputedStyle(y),w=S.overflowY,T=S.overflowX,E=w==="auto"||w==="scroll",A=T==="auto"||T==="scroll";if(!E&&!A)return;let C=E&&y.scrollHeight-y.clientHeight>50,F=A&&y.scrollWidth-y.clientWidth>50;if(!C&&!F||y.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let N=uniqueSel(y);if(p.has(N))return;p.add(N);let{nearbyHeading:$}=getNearbyContext(y),W="";if($)W=$;else {let j=(typeof y.className=="string"?y.className:"").toLowerCase(),K=(y.id||"").toLowerCase();j.includes("code")||j.includes("snippet")||x==="PRE"||x==="CODE"?W="Code block":j.includes("terms")||j.includes("tos")||j.includes("legal")?W="Terms and conditions":j.includes("chat")||j.includes("message")?W="Chat messages":j.includes("table")||j.includes("data")?W="Data table":K?W=K.replace(/[-_]/g," "):W="Scrollable content";}let G=(y.outerHTML||"").slice(0,300);m.push({selector:N,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:x.toLowerCase(),overflowY:E?w:void 0,overflowX:A?T:void 0,scrollHeight:y.scrollHeight,clientHeight:y.clientHeight,scrollWidth:y.scrollWidth,clientWidth:y.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:G}),I||m.push({selector:N,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:x.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:G}),y.getAttribute("aria-label")||y.getAttribute("aria-labelledby")||m.push({selector:N,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:x.toLowerCase(),labelHint:W,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:G});}),m},_h={name:"scrollableFocus",cap:30,async detect(h){return h.evaluate(rI)}};var aI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",b=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],m=[],p=document.querySelectorAll("b, i");for(let D=0;D<p.length&&!(m.length>=30);D++){let v=p[D];if(v.closest(h)||v.getAttribute("aria-hidden")==="true"||v.parentElement&&v.parentElement.closest("strong, em"))continue;let y=v.className&&typeof v.className=="string"?v.className.toLowerCase():"";if(y){let T=false;for(let E=0;E<b.length;E++)if(y.indexOf(b[E])!==-1){T=true;break}if(T)continue}let x=(v.textContent||"").trim();if(!x)continue;let I=v.tagName.toLowerCase(),S=I==="b"?"strong":"em",w=uniqueSel(v);m.push({selector:w,attribute:"tagName",currentValue:I,fixValue:S,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+I+'> used for "'+x.slice(0,60)+'". Replace with <'+S+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:v.outerHTML.slice(0,300)});}return m},Ah={name:"semanticEmphasis",cap:30,async detect(h){return h.evaluate(aI)}};var nI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=[],b=['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"]'],m=false;for(let w of b){let T=document.querySelector(w);if(T&&!T.closest(h)){m=true;break}}if(!m){let w=document.querySelectorAll('a[href^="#"]');for(let T of w){if(T.closest(h))continue;let E=(T.textContent||"").toLowerCase();if(E.includes("skip")&&(E.includes("main")||E.includes("content")||E.includes("nav"))){m=true;break}}}if(m||Array.from(document.querySelectorAll('main, [role="main"]')).filter(w=>{let T=getComputedStyle(w);if(T.display==="none"||T.visibility==="hidden"||w.closest('[hidden], [aria-hidden="true"]'))return false;let E=w.getBoundingClientRect();return E.width>0&&E.height>0}).length===1)return f;let D="",v=document.querySelector('main[id], [role="main"][id]');if(v&&v.getAttribute("id"))D=v.getAttribute("id");else {let w=document.querySelector("h1[id]");if(w&&w.getAttribute("id"))D=w.getAttribute("id");else {let T=["main-content","maincontent","main","content","skip-content"];for(let E of T)if(document.getElementById(E)){D=E;break}}}let y=D==="",x=D||"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="#'+x+'" class="wa-skip-link">Skip to main content</a>';return f.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:y?'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 #"+x,needsAI:false,fixValue:S,...y?{manualFix:true}:{}}),f},Eh={name:"skipLink",async detect(h){return h.evaluate(nI)}};var iI=()=>{let b=[],m=document.querySelectorAll("*"),p=0;for(let D of Array.from(m)){if(p++>5e3||b.length>=20)break;if(D.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(D))continue;let y=getComputedStyle(D).backgroundImage||"";if(!y||y==="none"||!y.includes("url("))continue;let x=y.match(/url\((['"]?)(.*?)\1\)/);if(!x)continue;let I=x[2];if(!I||I.startsWith("data:")&&I.length<256)continue;let S=D.getBoundingClientRect();if(S.width<32||S.height<32)continue;let w=D.tagName.toLowerCase(),T=D.getAttribute("role")||"",E=w==="a"||w==="button"||T==="button"||T==="link"||D.closest("a,button,[role=button],[role=link]")!==null,A=(D.textContent||"").trim().length>0,C=!!D.getAttribute("aria-label"),F=!!D.getAttribute("aria-labelledby"),L=!!D.getAttribute("title"),N=!!D.querySelector('img[alt]:not([alt=""])');if(D.closest('[aria-hidden="true"]')){let j=D.closest("a[href]");if(!!j&&Array.from(document.querySelectorAll("a[href]")).some(Z=>Z!==j&&Z.href===j.href&&!Z.closest('[aria-hidden="true"]')))continue}if(C||F||L||N||A||!E)continue;let $=D.closest("a,button,[role=button],[role=link]");if($&&$!==D){let j=($.textContent||"").trim(),K=$.getAttribute("aria-label")||$.getAttribute("title")||"",Z=$.getAttribute("aria-labelledby"),Q=!!$.querySelector('img[alt]:not([alt=""])');if(j||K.trim()||Z||Q)continue}let W=I;try{W=new URL(I,location.href).toString();}catch{continue}let G=typeof uniqueSel=="function"?uniqueSel(D):"",q=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:w,nearbyHeading:""};b.push({selector:G,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${W.slice(0,140)} | tag: ${w} | role: ${T||"(none)"} | parent: ${q.parentTag}${q.nearbyHeading?" | heading: "+q.nearbyHeading:""}`,needsAI:true,imageSrc:W,outerHtml:(D.outerHTML||"").slice(0,300)});}return b},Ch={name:"backgroundImages",cap:20,async detect(h){return h.evaluate(iI)}},oI=()=>{let h=[],f=Array.from(document.querySelectorAll("h1")),b=f.filter(m=>{if(m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||m.getClientRects().length===0)return false;let p=getComputedStyle(m).visibility;return p==="hidden"||p==="collapse"?false:(m.textContent||"").trim().length>0});if(b.length===0)h.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${f.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(b.length>1)for(let m=1;m<b.length&&m<5;m++){let p=b[m],D=typeof uniqueSel=="function"?uniqueSel(p):"";h.push({selector:D,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${b.length} <h1> elements on page. Text: ${JSON.stringify((p.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(p.outerHTML||"").slice(0,200)});}return h},Sh={name:"h1Presence",async detect(h){return h.evaluate(oI)}},sI=()=>{let f=[],b=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let m of Array.from(b)){if(f.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m)||(m.textContent||"").trim().length>0)continue;let D=m.getAttribute("aria-label");if(D&&D.trim()||m.getAttribute("aria-labelledby")||m.getAttribute("aria-hidden")==="true")continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:v,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${m.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(m.outerHTML||"").slice(0,200)});}return f},kh={cap:15,name:"emptyHeadings",async detect(h){return h.evaluate(sI)}},lI=()=>{let f=[],b=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let m of Array.from(b)){if(f.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m))continue;let p=(m.getAttribute("role")||"").toLowerCase();if(p==="button")continue;let D=(m.textContent||"").trim();if(!D)continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:v,attribute:"role",currentValue:p||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(D.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Th={cap:15,name:"javascriptLinks",async detect(h){return h.evaluate(lI)}};var uI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[];return document.querySelectorAll("svg").forEach(p=>{if(b.length>=50||p.closest(h)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let v=p.getAttribute("role");if(v==="presentation"||v==="none"||p.closest('[aria-hidden="true"]'))return;let y=p.getAttribute("aria-label")||"",x=p.getAttribute("aria-labelledby")||"",I=p.querySelector("title"),S=I?(I.textContent||"").trim():"";if(y.trim()||x.trim()||S)return;let w=p.getBoundingClientRect(),T=w.width<=16&&w.height<=16;if(w.width<=4||w.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let E=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(E){if(E.getAttribute("aria-label")?.trim()||E.getAttribute("aria-labelledby")?.trim())return;let K=getAccessibleName(E),Z=E.cloneNode(true);Z.querySelectorAll("svg").forEach(ae=>ae.remove());let Q=(Z.textContent||"").trim().replace(/\s+/g," ");if(K&&Q.length>0)return}else {if(T)return;let K=p.parentElement;if(K&&(K.textContent||"").trim().replace(/\s+/g," ").length>3)return}let A=uniqueSel(p),C=getNearbyContext(E||p),F=E&&E.getAttribute("href")||"",L=(E||p).outerHTML.slice(0,300),N=p.getAttribute("class")||"",$=p.getAttribute("data-icon")||"",W=E||p,G=W&&W!==p&&W.getAttribute("class")||"",q=typeof lookupIconLabel=="function"?lookupIconLabel(String(N),$,"")||lookupIconLabel(String(G),"",""):null,j=E?uniqueSel(E):A;b.push({selector:j,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(E||p).tagName?(E||p).tagName.toLowerCase():"svg",href:F,nearbyHeading:C.nearbyHeading,parentRole:C.parentRole,svgClasses:N,iconLib:q||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!q,fixValue:q||void 0,outerHtml:L});}),b},Fh={name:"svgNames",cap:50,async detect(h){return h.evaluate(uI)}};var cI=()=>{let b=[],m=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),p=m;function D(x,I){let S=Array.from(x.getClientRects()).filter(A=>A.height>0);if(!S.length)return false;let w=document.createTreeWalker(I,NodeFilter.SHOW_TEXT),T,E=0;for(;(T=w.nextNode())&&E<400;){E++;let A=T.parentElement;if(!A||x.contains(T)||!/[\p{L}\p{N}]{2,}/u.test(T.textContent||"")||A.closest(p))continue;let C=document.createRange();C.selectNodeContents(T);for(let F of Array.from(C.getClientRects()))if(!(F.width===0||F.height===0)){for(let L of S)if(Math.min(L.bottom,F.bottom)-Math.max(L.top,F.top)>Math.min(L.height,F.height)/2)return true}}return false}let v=document.querySelectorAll(m),y=[];for(let x of v){if(typeof isWidget=="function"&&isWidget(x)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(x)||typeof isVisible=="function"&&!isVisible(x)||!x.offsetParent&&x.tagName!=="BODY")continue;let I=x.getBoundingClientRect();I.width===0&&I.height===0||y.push({el:x,rect:I});}for(let{el:x,rect:I}of y){if(b.length>=50)break;let S=I.width,w=I.height;if(S>=24&&w>=24)continue;let T=x.parentElement;if(T&&getComputedStyle(x).display==="inline"){if(Array.from(T.childNodes).some(K=>K.nodeType===3&&(K.textContent||"").trim().length>3))continue;let j=T;for(;j&&j!==document.body&&getComputedStyle(j).display.startsWith("inline");)j=j.parentElement;if(j&&D(x,j))continue}let E=false,A=I.left+I.width/2,C=I.top+I.height/2;for(let q of y){if(q.el===x||q.el.contains(x)||x.contains(q.el))continue;if(q.rect.width<24||q.rect.height<24){let K=q.rect.left+q.rect.width/2,Z=q.rect.top+q.rect.height/2;if(Math.hypot(A-K,C-Z)<24){E=true;break}}else {let K=Math.max(q.rect.left-A,0,A-q.rect.right),Z=Math.max(q.rect.top-C,0,C-q.rect.bottom);if(Math.hypot(K,Z)<12){E=true;break}}}if(!E&&S>=1&&w>=1)continue;let L=Math.max(0,24-w),$=Math.ceil(L/2),W=[];W.push("min-width:24px"),W.push("min-height:24px"),W.push("display:inline-block"),W.push("box-sizing:border-box"),$>0&&W.push("padding-top:"+$+"px"),$>0&&W.push("padding-bottom:"+$+"px");let G=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();b.push({selector:G,attribute:"style",currentValue:Math.round(S)+"x"+Math.round(w)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${x.tagName.toLowerCase()} is ${Math.round(S)}x${Math.round(w)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:W.join(";")+";",outerHtml:x.outerHTML.slice(0,200)});}return b},Rh={name:"targetSize",cap:50,async detect(h){return h.evaluate(cI)}};var dI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,p=document.querySelectorAll('[style*="important" i]');for(let D of Array.from(p)){if(b.length>=30)break;if(D.closest(h))continue;let v=D.getAttribute("style")||"";if(!m.test(v))continue;let y=[];/line-height\s*:[^;!]*!important/i.test(v)&&y.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(v)&&y.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(v)&&y.push("word-spacing");let x=typeof uniqueSel=="function"?uniqueSel(D):"",I=typeof getNearbyContext=="function"?getNearbyContext(D):{parentTag:D.tagName.toLowerCase(),nearbyHeading:""},S=[];S.push("blocked: "+y.join(",")),S.push("tag: "+D.tagName.toLowerCase()),I.nearbyHeading&&S.push("heading: "+I.nearbyHeading),S.push("parent: "+I.parentTag),b.push({selector:x,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:S.join(" | "),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}return b},Ih={name:"textSpacing",cap:30,async detect(h){return h.evaluate(dI)}};var fI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of m){if(b.length>=50)break;if(p.closest(h)||!isVisible(p))continue;let D=p,v=(D.getAttribute("aria-label")||"").trim(),y=D.getAttribute("aria-labelledby"),x=(D.getAttribute("title")||"").trim(),I=(D.getAttribute("value")||"").trim(),S=(D.textContent||"").trim().replace(/\s+/g," "),w="";y&&(w=typeof __resolveIdRefs=="function"?__resolveIdRefs(y):"");let T=D.querySelector('img[alt]:not([alt=""])'),E=D.querySelector("svg title"),A=D.querySelector("svg[aria-label]");if(!!(v||w||x||I||S||T||E||A))continue;let F=uniqueSel(D),L=getNearbyContext(D),N=D.closest("form"),$=N&&(N.getAttribute("id")||N.getAttribute("name"))||"",W=D.className||"",G=D.querySelector('i, svg, span[class*="icon"]'),q=G&&G.className||"",j=G&&G.getAttribute("data-icon")||"",K=G?(G.textContent||"").trim():"",Z=typeof lookupIconLabel=="function"?lookupIconLabel(String(q),j,K):null,Q=!Z&&typeof lookupIconLabel=="function"?lookupIconLabel(String(W),"",""):null,ae=Z||Q,ne=[];$&&ne.push("form: "+$),L.nearbyHeading&&ne.push("heading: "+L.nearbyHeading),q&&ne.push("icon: "+String(q).slice(0,80)),W&&ne.push("class: "+String(W).slice(0,80)),ne.push("parent: "+L.parentTag),ae&&ne.push("icon-lib: "+ae),b.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ne.join(" | "),needsAI:!ae,fixValue:ae||void 0,outerHtml:D.outerHTML.slice(0,300)});}return b},Lh={name:"unlabeledButtons",cap:50,async detect(h){return h.evaluate(fI)}};var pI=()=>{let h=new Set(ALWAYS_VAGUE_WORDS),f=new Set(CONTEXT_VAGUE_WORDS),b={};function m(q,j){if(isWidget(q)||!isVisible(q))return;let K=getAccessibleName(q);if(!K)return;let Z=(j?"b:":"a:")+K.toLowerCase().trim();b[Z]=(b[Z]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(q=>m(q,true)),document.querySelectorAll("a[href]").forEach(q=>m(q,false));let p=isIconClassToken,D=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function v(q,j){return D.test(q)?1:j}let y=50,x=[];function I(q){if((q.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let K=q.querySelectorAll("i, span, em");for(let Z of K)if((typeof Z.className=="string"?Z.className:"").split(/\s+/).some(p))return true;return false}function S(q){let j=q.className||"";return typeof j!="string"?false:j.split(/\s+/).some(p)}function w(q,j){if(x.length>=y||isWidget(q)||!isVisible(q))return;let K=getAccessibleName(q);if(!K)return;let Z=K.toLowerCase().trim(),Q=false,ae=K.length>=2&&/^[A-Z][A-Z0-9]+$/.test(K.trim()),ne=!j&&/^[[(]?\d{1,4}[\])]?$/.test(K.trim());if(K.length<v(K,3)&&!ae&&!ne)Q=true;else if(h.has(Z))Q=true;else if(f.has(Z)&&(b[(j?"b:":"a:")+Z]||0)>=2){let ye=(q.getAttribute("aria-label")||"").trim().toLowerCase(),Ue=!!q.getAttribute("aria-labelledby")||!!ye&&ye!==Z,Xe=q.querySelector&&q.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),He=Xe?(Xe.textContent||"").trim().toLowerCase():"";!Ue&&!(Xe&&He!==Z)&&(Q=true);}else (I(q)||S(q)&&K.length===0)&&(q.getAttribute("aria-label")||q.getAttribute("aria-labelledby")||q.querySelector&&q.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(Q=true));if(!Q)return;let _e=getNearbyContext(q),he=uniqueSel(q),Ie=q.getAttribute("href")||"",me=q.outerHTML.slice(0,300);x.push({selector:he,attribute:"aria-label",currentValue:(q.getAttribute("aria-label")||"").trim(),message:(j?"weak button name: ":"weak link name: ")+(q.getAttribute("aria-label")||q.getAttribute("aria-labelledby")?`"${K}" is too generic for a control \u2014 add distinguishing context`:`text "${K}" is too generic for a control \u2014 add distinguishing context`),issueType:j?"weak_button_name":"weak_link_name",wcag:j?"4.1.2":"2.4.4",context:JSON.stringify({currentText:K,href:Ie,nearbyHeading:_e.nearbyHeading,parentTag:_e.parentTag,parentRole:_e.parentRole,cardText:_e.cardText||"",imgAlt:_e.imgAlt||""}),needsAI:true,outerHtml:me});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(q=>w(q,true)),document.querySelectorAll("a[href]").forEach(q=>w(q,false));let T=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,E=/^(iframe|embed|widget|frame|content|untitled)$/i,A=/^(skip|go|→|\->|main|content)$/i,C=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 F(q){return !!(!q||q.getAttribute("aria-hidden")==="true"||q.closest('[aria-hidden="true"]'))}function L(q,j,K,Z,Q,ae){if(x.length>=y)return;let ne=uniqueSel(q),_e=(q.outerHTML||"").slice(0,300);x.push({selector:ne,attribute:j,currentValue:K,issueType:Z,wcag:Q,context:JSON.stringify(ae),needsAI:true,outerHtml:_e});}let N=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let q=0;q<N.length&&!(x.length>=y);q++){let j=N[q];if(!j||isWidget(j)||F(j)||!isVisible(j))continue;let K=getAccessibleName(j);if(!K)continue;let Z=K.toLowerCase().trim(),Q=Z.split(/\s+/).filter(Boolean),ae=false;if((K.length<v(K,3)||Q.length===1&&(h.has(Z)||C.has(Z))||/^page\s*\d+$/i.test(Z)||/^section\s*\d+$/i.test(Z)||/^chapter\s*\d+$/i.test(Z)||/^[^\p{L}\p{N}]+$/u.test(K))&&(ae=true),!ae)continue;let ne=getNearbyContext(j);L(j,"textContent",K,"weak_heading","2.4.6",{currentText:K,tag:j.tagName.toLowerCase(),nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag,parentRole:ne.parentRole});}let $=document.querySelectorAll("iframe");for(let q=0;q<$.length&&!(x.length>=y);q++){let j=$[q];if(!j||isWidget(j)||F(j))continue;let K=getComputedStyle(j);if(j.getClientRects().length===0||K.visibility==="hidden"||K.visibility==="collapse"||(j.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let Z=(j.getAttribute("title")||"").trim();if(!Z)continue;let Q=Z.toLowerCase(),ae=false;if((Z.length<v(Z,3)||E.test(Q)||h.has(Q))&&(ae=true),!ae)continue;let ne=(j.getAttribute("src")||"").slice(0,120),_e=getNearbyContext(j);L(j,"title",Z,"weak_iframe_title","4.1.2",{currentTitle:Z,src:ne,nearbyHeading:_e.nearbyHeading,parentTag:_e.parentTag});}if(x.length<y){let q=document.querySelector("head > title, title"),j=(document.title||"").trim();if(q&&j){let K=j.toLowerCase(),Z=false;(j.length<v(j,5)||T.test(K)||/^untitled/i.test(j))&&(Z=true),Z&&x.push({selector:"title",attribute:"textContent",currentValue:j,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:j,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(q.outerHTML||"").slice(0,300)});}}let W=document.querySelectorAll("svg");for(let q=0;q<W.length&&!(x.length>=y);q++){let j=W[q];if(!j||isWidget(j)||F(j)||j.getAttribute("role")==="presentation"||j.getAttribute("role")==="none"||!isVisible(j))continue;let K=j.querySelector("title"),Z=K?(K.textContent||"").trim():"",Q=(j.getAttribute("aria-label")||"").trim(),ae=Q||Z;if(!ae)continue;let ne=ae.toLowerCase(),_e=false;if((ae.length<v(ae,3)||h.has(ne)||/^(icon|svg|image|graphic|logo)$/i.test(ae))&&(_e=true),!_e)continue;let he=j.closest('a, button, [role="button"], [role="link"]'),Ie=getNearbyContext(j);L(j,Q?"aria-label":"title",ae,"weak_svg_name","1.1.1",{currentName:ae,svgClasses:j.getAttribute("class")||"",parentTag:he?he.tagName.toLowerCase():Ie.parentTag,parentHref:he&&he.getAttribute("href")||"",nearbyHeading:Ie.nearbyHeading});}let G=document.querySelectorAll('a[href="#main"], a[href="#main-content"], a[href="#content"], a[href="#skip"], a[href="#maincontent"], a.skip-link, a.skip-nav, a.skip-to-content, a.skiplink, a.skip-navigation, [class*="skip-link"], [class*="skip-nav"]');for(let q=0;q<G.length&&!(x.length>=y);q++){let j=G[q];if(!j||isWidget(j)||F(j))continue;let K=getAccessibleName(j);if(!K)continue;let Z=K.toLowerCase().trim(),Q=false;if((K.length<v(K,4)||A.test(Z)||Z==="skip"||Z==="skip link"||Z==="jump")&&(Q=true),!Q)continue;let ae=j.getAttribute("href")||"";x.push({selector:uniqueSel(j),attribute:"textContent",currentValue:K,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:K,href:ae}),needsAI:false,fixValue:"Skip to main content",outerHtml:(j.outerHTML||"").slice(0,300)});}return x},Ph={name:"weakNames",cap:50,async detect(h){return h.evaluate(pI)}};var mI=()=>{let f=[],b=document.querySelector('meta[name="viewport"]');if(b){let p=(b.getAttribute("content")||"").trim(),D=p.toLowerCase(),v=false,y=[];(D.indexOf("user-scalable=no")>=0||D.indexOf("user-scalable=0")>=0)&&(v=true,y.push("user-scalable=no blocks pinch-zoom"));let x=D.match(/maximum-scale\s*=\s*([\d.]+)/);x&&parseFloat(x[1])<2&&(v=true,y.push("maximum-scale="+x[1]+" (<2)")),v&&f.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+y.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<m.length&&!(f.length>=5);p++){let D=m[p];if(D.el)try{let y=(getComputedStyle(D.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(y==="none"||y==="pinch-zoom")&&f.push({selector:D.selector,attribute:"style",currentValue:"touch-action: "+y,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+y+" on <"+D.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return f},Mh={name:"zoomUnlock",cap:5,async detect(h){return h.evaluate(mI)}};var hI=()=>{let h=[],f=document.querySelectorAll('main *, [role="main"] *, body > div *'),b=new Set,m=Math.min(f.length,200);for(let p=0;p<m;p++){let D=f[p];if(b.has(D)||!D.offsetParent)continue;b.add(D);let v=getComputedStyle(D),y=parseInt(v.order||"0",10),x=v.position;if(y>=3){let I=D.getBoundingClientRect();if(I.width>0&&I.height>0){let S=(D.textContent?.trim().length||0)>10,w=!!D.querySelector("a, button, input, select, textarea");(S||w)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${y}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${y} \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(x==="absolute"){if(!!!D.querySelector("a, button, input, select, textarea"))continue;let S=D.parentElement;if(!S||S.children.length<=2)continue;let w=D.getBoundingClientRect(),T=S.getBoundingClientRect();(w.top<T.top-100||w.left<T.left-300)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${x}, displaced ${Math.round(Math.abs(w.top-T.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 h},Oh={name:"meaningfulSequence",async detect(h){return h.evaluate(hI)}};var Nh={name:"sensoryCharacteristics",async detect(h){let f=await h.evaluate(()=>{let m=[],p=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),D=Math.min(p.length,300);for(let v=0;v<D;v++){let y=p[v];if(!y.offsetParent||y.children.length>3)continue;let x=y.textContent?.trim()||"";x.length<15||x.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(x)&&m.push({text:x,selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase()});}return m.slice(0,20)});if(f.length===0)return [];let b=[];for(let{text:m,selector:p}of f){m.toLowerCase();let v=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(m)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(m),y=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(m)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m),x=/\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(m)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(m),I=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m);if(v||y||x||I){let S=v?"shape":y?"position":x?"color":"size";b.push({selector:p,attribute:"data-sensory-review",currentValue:m.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${S} alone: "${m.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return b}};var gI=()=>{let h=[];for(let f of document.styleSheets)try{for(let b of f.cssRules)if(b instanceof CSSMediaRule){let m=b.conditionText||b.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(m))for(let p of b.cssRules){let D=p.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(D)&&h.push({selector:"html",attribute:"data-orientation-lock",currentValue:m,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${m}" hides or rotates content. Content must not be restricted to a single orientation.`,needsAI:!1,fixValue:"Remove orientation-dependent display:none/visibility:hidden rules"});}}}catch{}return h},qh={name:"orientation",async detect(h){return h.evaluate(gI)}};var vI=()=>{let h=[],f=document.querySelectorAll("img");for(let b of f){if(!b.offsetParent||b.width<50||b.height<20||b.complete&&b.naturalWidth===0)continue;let m=b.src||b.getAttribute("data-src")||"",p=m.indexOf(","),D=(m.toLowerCase().startsWith("data:")&&p!==-1?m.slice(0,p):m).toLowerCase(),v=b.getAttribute("alt")||"",y=b.getAttribute("role")||"";if(b.getAttribute("aria-hidden")==="true"||!!b.closest('[aria-hidden="true"]')||y==="presentation"||y==="none"||b.hasAttribute("alt")&&v.trim()==="")continue;let I=b.width>200&&b.height<80&&b.height>15,S=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(D);if(!(S||I)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(D)&&!S)continue;let T=b.closest("a[href]"),E=(()=>{if(!T)return false;let G=T.getAttribute("href")||"";if(G==="/"||G==="")return true;try{let q=new URL(T.href,location.href);return q.origin!==location.origin?!1:!!(q.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(q.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(q.pathname))}catch{return false}})();if(E&&(T.textContent||"").trim().length===0)continue;let C="";if(T&&!E&&(T.textContent||"").trim().length===0)try{let G=new URL(T.href,location.href),q=v.trim().split(/\s+/).filter(Boolean);if(G.origin!==location.origin&&/^https?:$/.test(G.protocol)&&q.length>0&&q.length<=4&&v.trim().length<=40){let j=ne=>ne.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),K=j(v),Z=G.hostname.toLowerCase().split(".").filter(ne=>ne&&ne!=="www"),Q=(Z.length>1?Z.slice(0,-1):Z).map(j).filter(Boolean);C=K.length>=3&&(K===j(Z.join(""))||K===Q.join("")||Q.some(ne=>K===ne||ne.length>=5&&K.startsWith(ne)))?"exempt":"review";}}catch{}let F=!!b.closest('header, [role="banner"], footer, [role="contentinfo"]'),L=b.height>0&&b.height<=120,N=F&&L,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,W=N||$.test(D)||$.test(b.className)||$.test(b.id||"");D.includes("icon")||D.includes("avatar")||D.includes("emoji")||h.push({selector:typeof uniqueSel=="function"?uniqueSel(b):"img",attribute:"data-image-of-text",currentValue:D.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${b.width}x${b.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:b.src,...W||C?{needsReview:true,reviewReason:N?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":C==="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":C==="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 h},Bh={name:"imagesOfText",async detect(h){return h.evaluate(vI)}};var Hh={name:"reflow",async detect(h){let f=h;if(!f.setViewport)return [];let b=f.viewport?.()??{width:1280,height:720},m=b.width??1280,p=b.height??720;try{return await f.setViewport({width:320,height:p}),await new Promise(v=>setTimeout(v,500)),await h.evaluate(v=>{let y=[],x=document.querySelectorAll("body *"),I=Math.min(x.length,500);for(let S=0;S<I;S++){let w=x[S];if(!w.offsetParent)continue;let T=w.tagName.toLowerCase();if(T==="script"||T==="style"||T==="noscript")continue;let E=w.getBoundingClientRect();E.right>v+5&&E.width>v*1.1&&y.push({selector:typeof uniqueSel=="function"?uniqueSel(w):T,attribute:"style",currentValue:`${Math.round(E.width)}px wide at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(E.width)}px wide and overflows the ${v}px viewport by ${Math.round(E.right-v)}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>v+10&&y.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${v}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"}),y},320)}finally{await f.setViewport({width:m,height:p}).catch(()=>{});}}};var bI=()=>{let h=[],f=document.querySelectorAll("video");for(let m of f){if(m.autoplay&&!m.muted&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(m):"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"}),!(m.offsetParent!==null&&getComputedStyle(m).display!=="none"))continue;let D=m.getBoundingClientRect();if(D.width===0&&D.height===0||m.error)continue;let v=/mute|unmute|sound|volume|audio|play|pause/i,y=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let E=m.parentElement?.parentElement||null,A=0;E&&!y&&A<3;E=E.parentElement,A++)y=Array.from(E.querySelectorAll('button, [role="button"]')).some(C=>v.test((C.getAttribute("aria-label")||"")+" "+(C.getAttribute("title")||"")+" "+(C.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!y)continue;let x=m.querySelectorAll("track"),I=Array.from(x).find(E=>E.kind==="captions"||E.kind==="subtitles"),S=Array.from(x).find(E=>E.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let T=typeof uniqueSel=="function"?uniqueSel(m):"video";I||h.push({selector:T,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||h.push({selector:T,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 b=document.querySelectorAll("audio");for(let m of b){let p=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||h.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}),m.autoplay&&!m.muted&&h.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 h},Vh={name:"mediaAlternatives",cap:50,async detect(h){return (await h.evaluate(bI)).slice(0,50)}};var yI=()=>{let h=[],f=document.querySelector('meta[http-equiv="refresh"]');if(f){let F=f.getAttribute("content")||"",L=parseInt(F,10);!isNaN(L)&&L>0&&L<72e3&&h.push({selector:`meta[http-equiv="refresh"][content*="${F.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:F,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${L}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let b=document.querySelectorAll("[accesskey]");for(let F of b){let L=F.getAttribute("accesskey")||"";if(L.length===1){let N=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();h.push({selector:N,attribute:"accesskey",currentValue:L,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${L}". 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 m=document.querySelectorAll("select");for(let F of m){let L=F.hasAttribute("onchange"),N=F.getAttribute("onchange")||"";if(L&&/submit|location|href|navigate|window\./i.test(N)){let $=typeof uniqueSel=="function"?uniqueSel(F):"select";h.push({selector:$,attribute:"onchange",currentValue:N.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 F of p)if(!(F.hasAttribute("onclick")||F.hasAttribute("onkeydown")||F.hasAttribute("onkeyup"))){let N=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();h.push({selector:N,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 D=document.querySelectorAll("[onmousedown]");for(let F of D){let L=F.hasAttribute("onmouseup"),N=F.tagName.toLowerCase();if(!L&&N!=="a"&&N!=="button"&&N!=="input"){let $=typeof uniqueSel=="function"?uniqueSel(F):N;h.push({selector:$,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 v=document.querySelectorAll("script:not([src])");for(let F of v){let L=F.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(L)){h.push({selector:"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 y=document.querySelectorAll("form"),x='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',I=/\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,S=/card|payment/i,w=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,T=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,E=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,A=/\b(?:save|update|change)\b/i,C=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let F of y){let L=Array.from(F.querySelectorAll(x)),N=Me=>[Me.getAttribute("name"),Me.id,Me.getAttribute("autocomplete"),Me.getAttribute("placeholder"),Me.getAttribute("aria-label")].join(" "),$=Array.from(F.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Me=>Me.tagName!=="BUTTON"||!Me.getAttribute("type")||(Me.getAttribute("type")||"").toLowerCase()==="submit").map(Me=>(Me.getAttribute("value")||"")+" "+(Me.textContent||"")+" "+(Me.getAttribute("aria-label")||"")).join(" . "),W=L.some(Me=>I.test(N(Me)))||Array.from(F.querySelectorAll("iframe")).some(Me=>S.test((Me.getAttribute("title")||"")+" "+(Me.getAttribute("name")||""))),G=L.some(Me=>/signature/i.test(N(Me))),q=W||w.test($),j=T.test($),K=G||E.test($),Z=L.length>0&&L.some(Me=>(Me.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(N(Me)))&&L.every(Me=>{let Je=Me.tagName.toLowerCase()==="input"?(Me.getAttribute("type")||"text").toLowerCase():Me.tagName.toLowerCase();return Je==="email"||Je==="checkbox"||Je==="tel"?true:Je==="text"||Je==="search"?C.test(N(Me)+" "+(Me.closest("label")?.textContent||"")):false}),Q=(F.textContent||"").toLowerCase(),ae=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Q),ne=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Q),_e=/delete.*account|remove.*data|cancel.*account/i.test(Q),he=q||j||K,Ie=Z&&(A.test($)||_e),me=!he&&(!Z&&(ae||ne||_e)||Ie);if(!he&&!me)continue;let ye=!!F.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Ue=!!F.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(ye||Ue)continue;let Xe=typeof uniqueSel=="function"?uniqueSel(F):"form",He=he?q?"financial":j?"data-deletion":"legal":Ie?_e?"data-deletion":"data-modification":ae?"financial":ne?"legal":"data-deletion";h.push({selector:Xe,attribute:"data-error-prevention",currentValue:He,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${He.charAt(0).toUpperCase()+He.slice(1)} form lacks a confirmation/review step. For ${He} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...me?{needsReview:true,reviewReason:Ie&&_e?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Ie?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${He} topics but its controls show no ${He} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return h},jh={name:"timingAndInput",async detect(h){return h.evaluate(yI)}};var wI=()=>{let h=[],f=C=>C.replace(/\/$/,"").replace(/\.html?$/,""),b=f(location.pathname),m=new Set;for(let C of Array.from(document.querySelectorAll("a[href]"))){let F;try{F=new URL(C.getAttribute("href")||"",location.href);}catch{continue}F.origin!==location.origin||f(F.pathname)===b||/\.(pdf|zip|docx?|xlsx?|pptx?|png|jpe?g|gif|svg|mp4|mp3)$/i.test(F.pathname)||m.add(f(F.pathname));}let p=5,D=!!document.querySelector('nav, [role="navigation"]')||m.size>=p,y=Array.from(document.querySelectorAll('button, a[href], [role="button"], [role="link"], [role="searchbox"], [role="combobox"]')).some(C=>{let F=C.cloneNode(true);return F.querySelectorAll("kbd").forEach(N=>N.remove()),[C.getAttribute("aria-label")||"",C.getAttribute("title")||"",F.textContent||""].some(N=>/^\s*(quick\s+|site\s+)?search(\s*(\u2026|\.\.\.)|\s+(docs|documentation|the site|this site))?\s*$/i.test(N))})||!!document.querySelector('input[type="search"], [role="search"], search, form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),x=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),I=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),S=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),w=[D,y,x,I,S].filter(Boolean).length;if(w<2&&document.querySelectorAll("a[href]").length>20){let C=[];y||C.push("search"),x||C.push("sitemap link"),I||C.push("breadcrumbs");let F=m.size<p;h.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${w} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${w} way(s) to navigate and links to ${m.size} other page(s) on this site. WCAG requires multiple ways to locate pages in a set (e.g., navigation + search, or navigation + sitemap). Consider adding: ${C.join(", ")}.`,needsAI:false,fixValue:`Add ${C[0]||"additional navigation method"}`,...F?{needsReview:true,reviewReason:`links to only ${m.size} other page(s) on this site \u2014 may be a single-page site, which 2.4.5 (a set of pages) does not cover`}:{}});}let T=document.querySelectorAll('nav, [role="navigation"]');for(let C of T){if(!C.offsetParent||C.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||C.parentElement?.closest('nav, [role="navigation"]'))continue;let F=C.getBoundingClientRect();if(F.top<=window.innerHeight)continue;let L=typeof uniqueSel=="function"?uniqueSel(C):"nav";h.push({selector:L,attribute:"data-nav-position",currentValue:`top: ${Math.round(F.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 E=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let C of E){if(!C.offsetParent)continue;let F=C.getBoundingClientRect();if(F.width<1||F.height<1||!(C.textContent||"").trim()&&!C.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(C).backgroundImage==="none")continue;let L=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();h.push({selector:L,attribute:"data-flashing",currentValue:C.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 A=document.querySelectorAll('img[src*=".gif"]');for(let C of A){if(!C.offsetParent||C.width<25||C.height<25)continue;let F=C.getBoundingClientRect();if(F.width>100&&F.height>100){let L=typeof uniqueSel=="function"?uniqueSel(C):"img";h.push({selector:L,attribute:"data-animated-gif",currentValue:(C.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 h},$h={name:"navigationAndWayfinding",async detect(h){return h.evaluate(wI)}};var zh={name:"flashDetection",async detect(h){let f=[];if(!h.screenshot)return f;let m=await h.evaluate(()=>{let S=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(S){let w=document.querySelectorAll("*");for(let T of w)T.style.removeProperty("animation-play-state"),T.style.removeProperty("transition");}return S}),p=8,D=120,v=9,y=3,x=[];for(let I=0;I<p;I++){let S=await h.evaluate(w=>{let T=window.innerWidth,E=window.innerHeight,A=3,C=3,F=[];for(let L=0;L<C;L++)for(let N=0;N<A;N++){let $=Math.floor((N+.5)*(T/A)),W=Math.floor((L+.5)*(E/C)),G=document.elementFromPoint($,W);if(!G){F.push(0);continue}let j=getComputedStyle(G).backgroundColor||"rgba(0,0,0,0)",K=typeof parseCssColor=="function"?parseCssColor(j):null;if(!K){F.push(0);continue}let Z=.2126*K[0]+.7152*K[1]+.0722*K[2];F.push(Z);}return F},v);x.push(S),I<p-1&&await new Promise(w=>setTimeout(w,D));}m&&await h.evaluate(()=>{let I=document.querySelectorAll("*");for(let S of I)S.style.setProperty("animation-play-state","paused","important"),S.style.setProperty("transition","none","important");});for(let I=0;I<v;I++){let S=0,w=x[0][I],T=null;for(let C=1;C<p;C++){let F=x[C][I];if(Math.abs(F-w)>25){let N=F>w?"up":"down";T&&N!==T&&S++,T=N;}w=F;}let E=p*D/1e3,A=S/E;if(A>=y){let C=I%3,F=Math.floor(I/3);f.push({selector:"body",attribute:"data-flash-detected",currentValue:`${A.toFixed(1)} flashes/sec in region (${C},${F})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${A.toFixed(1)} times/second in screen region (row ${F}, col ${C}). 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 f}};var Gh={name:"reducedMotion",async detect(h){let f=[],b=await h.evaluate(()=>{let m=false,p=false;for(let v of document.styleSheets)try{for(let y of v.cssRules){let x=y.cssText||"";/animation|transition|@keyframes/i.test(x)&&!/prefers-reduced-motion/.test(x)&&(m=!0),y instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(y.conditionText||y.media?.mediaText||"")&&(p=!0);}}catch{}let D=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return D.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:p,animatedCount:D.length}});return b.hasAnimations&&!b.hasReducedMotionQuery&&f.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${b.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; } }"}),f}};var OI=[Ph,bh,ah,Fh,H1,B1,dh,oh,nh,ih,Rh,U1,xh,Z1,Lh,vh,Q1,K1,Eh,V1,gh,sh,J1,Y1,ph,rh,hh,lh,uh,Mh,$1,fh,Ah,z1,G1,ch,Dh,Ih,wh,W1,yh,X1,Ch,Sh,kh,Th,j1,mh,_h,Oh,Nh,qh,Bh,Hh,Vh,jh,$h,zh,Gh];async function Zh(h,f,b,m){let p=f??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:E,ACCESSIBLE_NAME_JS:A,WIDGET_SKIP_JS:C,IS_HIDDEN_FROM_AT_JS:F,IS_TRACKING_PIXEL_JS:L,NEARBY_CONTEXT_JS:N}=await Promise.resolve().then(()=>(lu(),su)),{ICON_LABELS_JS:$}=await Promise.resolve().then(()=>(Uh(),Wh)),{COLOR_MATH_JS:W}=await Promise.resolve().then(()=>(Yh(),Xh)),q=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
-
|
|
382
|
-
`);try{await h.addScriptTag({content:q});}catch{await h.evaluate(`(0,eval)(${JSON.stringify(q)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(b??[]).push("color:kernel-injection-failed");}let D=[];try{let{detectPlatform:T,applyPlatformTemplates:E}=await Promise.resolve().then(()=>(Jh(),Kh)),A=await T(h);D=await E(h,A);}catch{}let v=await Promise.allSettled(OI.map(async T=>{try{let E=await T.detect(h);return T.cap&&E.length>=T.cap&&p.push({detector:T.name,cap:T.cap}),E}catch{return []}})),y=[];for(let T of [th,eh])try{let E=await T.detect(h);T.cap&&E.length>=T.cap&&p.push({detector:T.name,cap:T.cap}),y=y.concat(E);}catch{}let x=[...v.flatMap(T=>T.status==="fulfilled"?T.value:[]),...y],I=[...D,...x],S=NI(I),w=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return S.filter(T=>{let E=T.selector.toLowerCase();return E.trim()?!w.some(A=>E.includes(A)):false})}function NI(h){let f=new Set;return h.filter(b=>{let m=`${b.selector}::${b.issueType}`;return f.has(m)?false:(f.add(m),true)})}var Qh="1.7.0";async function rg(h,f){try{let{AxeBuilder:b}=await import('@axe-core/playwright');return await new b({page:h}).withTags(f).analyze()}catch{return qI(h,f)}}async function qI(h,f){let b=await Promise.resolve().then(()=>b3(tg())),m=b.source??b.default?.source;if(!m)throw new Error("axe-core source unavailable");return await h.addScriptTag({content:m}),await h.evaluate(D=>new Promise((v,y)=>{let x=window;if(!x.axe)return y(new Error("axe-core not loaded"));x.axe.run(document,{runOnly:{type:"tag",values:D},resultTypes:["violations","incomplete"]}).then(v).catch(y);}),f)}function cu(h){let f=[],b=[];for(let m of h)m.confidence==="needs_review"||HI(m)?b.push(m):f.push(BI(m));return {verdicts:f,undecided:b}}function BI(h){if(h.confidence===void 0&&h.reviewReason===void 0)return h;let{confidence:f,reviewReason:b,...m}=h;return m}function HI(h){let f=(h.type||"").toLowerCase(),b=h.wcag||"",m=h.html||"",p=(h.message||"").toLowerCase();if((f==="contrast_insufficient"||f==="color-contrast"||b==="1.4.3"||b==="1.4.11")&&VI(m))return "background uses gradient or image";if(f==="image_of_text"||b==="1.4.5"){let D=ag(m,"src").toLowerCase();D.startsWith("data:")&&(D=D.split(",")[0]);let v=ag(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(D))return "brand imagery";if(v.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(v))return "branded imagery"}return (f==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function VI(h){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(h)}function ag(h,f){let b=new RegExp(`\\b${f}\\s*=\\s*"([^"]*)"`,"i"),m=h.match(b);return m?m[1]:""}var jI=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),$I="*,*::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 zI(h){let{selectors:f,maxBoxes:b,maxW:m,maxH:p,maxArea:D}=h,v=document.documentElement.scrollWidth,y=document.documentElement.scrollHeight,x=document.createElement("canvas");x.width=x.height=1;let I=x.getContext("2d",{willReadFrequently:true}),S=F=>{try{I.clearRect(0,0,1,1),I.fillStyle="#000",I.fillStyle=F,I.fillRect(0,0,1,1);let L=I.getImageData(0,0,1,1).data;return [L[0],L[1],L[2],L[3]]}catch{return null}},w={},T=document.querySelectorAll("video,canvas,iframe,embed,object");if(T.length>200){for(let F of f)w[F]=null;return w}let E=Array.from(T).map(F=>F.getBoundingClientRect()),A=window.scrollX,C=window.scrollY;for(let F of f){w[F]=null;let L=null;try{L=document.querySelector(F);}catch{continue}if(!L)continue;let N=getComputedStyle(L);if(N.visibility!=="visible"||N.display==="none"||N.webkitBackgroundClip==="text"||N.backgroundClip==="text")continue;let $=false,W=0;for(let me=L;me;me=me.parentElement){if(++W>64){$=true;break}let ye=getComputedStyle(me);parseFloat(ye.opacity)<1&&($=true),(ye.transform!=="none"||ye.mixBlendMode!=="normal"||ye.filter!=="none")&&($=true);}if($)continue;let G=S(N.color);if(!G||G[3]<255)continue;let q=parseFloat(N.fontSize),j=parseInt(N.fontWeight,10)>=700,K=q>=24||j&&q>=18.66,Z=[],Q=L.getBoundingClientRect();if(Q.height>p*b||Q.width>m*2)continue;let ae=document.createTreeWalker(L,NodeFilter.SHOW_TEXT),ne,_e=0,he=false;for(;!he&&(ne=ae.nextNode());){if(++_e>50){he=true;break}if(ne.parentElement!==L)continue;let me=ne.textContent||"";if(me.length>2e3){he=true;break}if(!me.trim())continue;let ye=document.createRange();ye.selectNodeContents(ne);let Ue=ye.getClientRects();if(Ue.length>b){he=true;break}for(let Xe=0;Xe<Ue.length;Xe++){let He=Ue[Xe];if(!(He.width<2||He.height<2)&&(Z.push({x:Math.round(He.left+A),y:Math.round(He.top+C),w:Math.max(1,Math.round(He.width)),h:Math.max(1,Math.round(He.height))}),Z.length>b)){he=true;break}}}he||Z.length===0||Z.length>b||Z.some(me=>me.w>m||me.h>p||me.w*me.h>D||me.x<0||me.y<0||me.x+me.w>v||me.y+me.h>y)||Z.some(me=>E.some(ye=>me.x<ye.right+A&&me.x+me.w>ye.left+A&&me.y<ye.bottom+C&&me.y+me.h>ye.top+C))||(w[F]={fg:`rgb(${G[0]},${G[1]},${G[2]})`,threshold:K?3:4.5,boxes:Z});}return w}async function GI(h){let{b64:f,fg:b}=h,m=atob(f),p=new Uint8Array(m.length);for(let F=0;F<m.length;F++)p[F]=m.charCodeAt(F);let D=await createImageBitmap(new Blob([p],{type:"image/png"})),v=document.createElement("canvas");v.width=D.width,v.height=D.height;let y=v.getContext("2d",{willReadFrequently:true});y.drawImage(D,0,0);let x=y.getImageData(0,0,v.width,v.height).data,I=F=>{let L=F/255;return L<=.03928?L/12.92:Math.pow((L+.055)/1.055,2.4)},S=(F,L,N)=>.2126*I(F)+.7152*I(L)+.0722*I(N),w=b.match(/\d+/g).map(Number),T=S(w[0],w[1],w[2]),E=Math.max(1,Math.floor(Math.sqrt(v.width*v.height/1500))),A=0,C=0;for(let F=0;F<v.height;F+=E)for(let L=0;L<v.width;L+=E){let N=(F*v.width+L)*4;if(x[N+3]<255)continue;let $=S(x[N],x[N+1],x[N+2]),W=Math.max(T,$),G=Math.min(T,$),q=(W+.05)/(G+.05);q>A&&(A=q),C++;}return C===0?-1:A}var Co=class extends Error{};function Vn(h,f){let b=f-Date.now();if(b<=0)return Promise.reject(new Co("pixel pass deadline"));let m,p=new Promise((D,v)=>{m=setTimeout(()=>v(new Co("pixel pass deadline")),b);});return Promise.race([h,p]).finally(()=>clearTimeout(m))}async function WI(h,f){let b=h.screenshot;if(typeof b!="function"||f.length===0)return [];let m=Array.from(new Set(f)).slice(0,60),p=[],D=false,v=Date.now()+8e3;try{await Vn(h.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),v);let y=await Vn(h.evaluate(zI,{selectors:m,maxBoxes:3,maxW:1200,maxH:300,maxArea:2e5}),v);await Vn(h.evaluate(I=>{let S=document.createElement("style");S.setAttribute("data-wa-contrast-probe",""),S.textContent=I,document.documentElement.appendChild(S);},$I),v),D=!0;let x=0;for(let I of m){let S=y[I];if(!S)continue;if(Date.now()>v||x+S.boxes.length>120)break;let w=0,T=!0;for(let E of S.boxes){x++;let A=await Vn(b.call(h,{clip:{x:E.x,y:E.y,width:E.w,height:E.h},fullPage:!0,type:"png",animations:"disabled"}),v),C=typeof Buffer<"u"?Buffer.from(A).toString("base64"):"",F=await Vn(h.evaluate(GI,{b64:C,fg:S.fg}),v);if(F<0){T=!1;break}F>w&&(w=F);}T&&p.push({selector:I,fail:w<S.threshold*.97,bestRatio:w,threshold:S.threshold,fg:S.fg});}}catch(y){process.env.WA_DEBUG_PIXELS&&console.error("pixel judge failed",y);}finally{if(D)try{await Promise.race([h.evaluate(()=>document.querySelectorAll("style[data-wa-contrast-probe]").forEach(y=>y.remove())),new Promise(y=>setTimeout(y,1e3))]);}catch{}}return p}function UI(h,f){let{confidence:b,reviewReason:m,...p}=h;return {...p,id:h.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`contrast: ${f.fg} text on its rendered background is at best ${f.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${f.threshold}:1`}}async function ng(h,f,b){let m=f.filter(x=>x.wcag!=="1.4.3"||!x.selector?false:x.source==="axe-core"?jI.has(b.get(x.id)??""):x.type==="contrast_insufficient"&&/gradient or image/.test(x.reviewReason??""));if(m.length===0)return [];let p=await WI(h,m.map(x=>x.selector));process.env.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${p.length} measured, ${p.filter(x=>x.fail).length} fail`);let D=new Map(p.filter(x=>x.fail).map(x=>[x.selector,x])),v=[],y=new Set;for(let x of m){let I=D.get(x.selector);!I||y.has(x.selector)||(y.add(x.selector),v.push(UI(x,I)));}return v}async function XI(h){let f=A=>({verdict:"drop",why:A}),b=null;try{b=document.querySelector(h.selector);}catch{return f("bad selector")}if(!b||b.tagName!=="VIDEO")return f("not a video");let m=getComputedStyle(b),p=b.getBoundingClientRect();if(m.display==="none"||m.visibility==="hidden"||b.closest("[hidden]")||p.width<100||p.height<50)return f("not visible/large enough");if(b.error)return f("failed load");let D=b.currentSrc||b.getAttribute("src")||b.querySelector("source")?.getAttribute("src")||"";if(!D||/^(blob|data|about|javascript):/i.test(D)||/\.(m3u8|mpd)(\?|$)/i.test(D))return f("no direct src / MSE");let v=b.hasAttribute("muted")||b.muted,y=b.hasAttribute("controls"),x=b.hasAttribute("autoplay")||b.autoplay,I=b.hasAttribute("loop")||b.loop,S=y||x&&!v;if(!S){let A=/play|pause|mute|unmute|sound|volume/i;for(let C=b.parentElement,F=0;C&&F<3&&!S;C=C.parentElement,F++)S=Array.from(C.querySelectorAll('button, [role="button"]')).some(L=>A.test((L.getAttribute("aria-label")||"")+" "+(L.getAttribute("title")||"")+" "+(L.textContent||"")));}if(!S)return f("not user-playable");if(v&&I&&!y)return f("decorative loop");if(b.hasAttribute("muted")&&!y&&!x)return f("muted");if(Number.isFinite(b.duration)&&b.duration>0&&b.duration<5)return f("under 5s");await new Promise(A=>setTimeout(A,2e3));for(let A of Array.from(b.querySelectorAll("track"))){let C=(A.getAttribute("kind")||"subtitles").toLowerCase();if((C==="captions"||C==="subtitles")&&A.getAttribute("src"))return f("has caption track")}let w=b.textTracks;for(let A=0;w&&A<w.length;A++)if(w[A].kind==="captions"||w[A].kind==="subtitles")return f("has text track");let T=b,E=null;if(typeof T.mozHasAudio=="boolean"?E=T.mozHasAudio:T.audioTracks&&typeof T.audioTracks.length=="number"&&(E=T.audioTracks.length>0?true:null),E===null&&typeof T.webkitAudioDecodedByteCount=="number"&&T.webkitAudioDecodedByteCount>0&&(E=true),E===null)try{let A=new AbortController,C=setTimeout(()=>A.abort(),h.fetchMs),F=await fetch(D,{headers:{Range:"bytes=0-"+(h.rangeBytes-1)},signal:A.signal}),L=new Uint8Array(h.rangeBytes),N=0,$=F.body?F.body.getReader():null;if($)try{for(;N<h.rangeBytes;){let{done:q,value:j}=await $.read();if(q||!j)break;let K=Math.min(j.length,h.rangeBytes-N);L.set(j.subarray(0,K),N),N+=K;}}finally{try{await $.cancel();}catch{}}clearTimeout(C);let W=(q,j=0)=>{e:for(let K=j;K<=N-q.length;K++){for(let Z=0;Z<q.length;Z++)if(L[K+Z]!==q[Z])continue e;return K}return -1},G=q=>Array.from(q).map(j=>j.charCodeAt(0));W(G("ftyp"))>=0&&W(G("moov"))>=0?E=W(G("hdlr"))>=0&&W(G("soun"))>=0:L[0]===26&&L[1]===69&&L[2]===223&&L[3]===163&&W([22,84,174,107])>=0&&(E=W([131,129,2])>=0);}catch{E=null;}return E!==true?f(E===false?"silent":"audio unknowable"):{verdict:"violation"}}async function ig(h,f){let b=f.filter(D=>D.type==="missing_captions"&&/^<video\b/i.test(D.html??"")&&D.selector).slice(0,10);if(b.length===0)return [];let m=[],p=Date.now()+1e4;try{await h.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let D of b){if(Date.now()>p)break;let v=p-Date.now(),y,x=await Promise.race([h.evaluate(XI,{selector:D.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(I=>{y=setTimeout(()=>I(null),v);})]).finally(()=>y&&clearTimeout(y));if(!x)break;if(x.verdict==="violation"){let{confidence:I,reviewReason:S,...w}=D;m.push({...w,id:D.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 m}function lg(){let h=p=>{let D=p.getBoundingClientRect();if(D.width===0||D.height===0)return false;let v=window.getComputedStyle(p);return v.visibility!=="hidden"&&v.display!=="none"&&v.opacity!=="0"},f=Array.from(document.querySelectorAll('input[type="password"]')),b=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(h).map(p=>(p.value||p.textContent||"").trim().toLowerCase()).filter(p=>p.length>0&&p.length<40),m=Array.from(document.querySelectorAll("button, a")).filter(h).filter(p=>/sign in with|continue with|log in with/i.test(p.textContent||"")).length;return {passwordFields:f.length,visiblePasswordFields:f.filter(h).length,submitLabels:b,oauthButtons:m,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var YI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,KI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function og(h){try{let f=new URL(h).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(f)}catch{return false}}function ug(h,f,b){if(og(f))return null;let m=sg(f)!==sg(b),p=h.submitLabels.some(w=>YI.test(w)),D=KI.test(h.headingText),v=og(b),y=[];v&&y.push("url"),p&&y.push("submit"),D&&y.push("heading"),m&&y.push("redirected");let x=h.visiblePasswordFields>0,I=h.oauthButtons>0&&h.bodyTextLength<600&&h.formCount<=1;if(!x&&!I||y.length<2)return null;let S=`${x?"password-field":"oauth-only"}+${y.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${b}. 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:b}}function sg(h){try{let f=new URL(h);return `${f.origin}${f.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return h.toLowerCase()}}gu();async function hL(h){try{return await h.evaluate(()=>{let f=(document.title||"").toLowerCase(),b=[["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[D,v]of b)if(f.includes(D))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!1};let m=[["#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[D,v]of m)if(document.querySelector(D))return {vendor:v,signal:`marker:${D}`,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[D,v]of p)if(f.includes(D))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function gL(h){try{return await h.evaluate(()=>{let f=document.querySelectorAll("body *").length;if(f>250)return null;let b=['[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 b)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:f}}catch{}let m=(document.title||"").toLowerCase();return m.includes("captcha")||m.includes("security check")||m.includes("bot verification")?{signal:`title:"${document.title}"`,elements:f}:null})}catch{return null}}async function vL(h,f){let b=await hL(h),m=typeof f=="number"&&f>=400,p=b&&(!b.needsCorroboration||m)?b:null;if(!p&&!m)return null;let D=[];return p&&D.push(`served a ${p.vendor} bot-challenge / interstitial page`),m&&D.push(`main document returned HTTP ${f}`),{reason:`Scan did not reach the real page \u2014 the target ${D.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...p?{vendor:p.vendor}:{},...typeof f=="number"?{status:f}:{},...p?{signal:p.signal}:m?{signal:`status:${f}`}:{}}}async function Wn(h,f){let b=typeof h=="string",m={wcagTags:du,includeAxe:true,deep:false,dismissModals:b,...f},p,D,v,y;if(b){v=h.startsWith("http")?h:`https://${h}`;let x=typeof m.viewport=="string"?Eo[m.viewport]??Eo.desktop:m.viewport??Eo.desktop;D=await(await import('playwright')).chromium.launch({headless:m.browser?.headless??true}),p=await(await D.newContext({viewport:x})).newPage();let w=await p.goto(v,{waitUntil:"domcontentloaded",timeout:m.browser?.timeout??3e4});y=typeof w?.status=="function"?w.status():void 0;}else p=h,v=p.url(),y=m.mainStatus;if(m.dismissModals)try{let{dismissModals:x}=await Promise.resolve().then(()=>(mg(),pg));await x(p);}catch{}if(m.settle!==false)try{let{waitForRenderSettle:x}=await Promise.resolve().then(()=>(ko(),So));await x(p,typeof m.settle=="number"?m.settle:void 0);}catch{}try{try{let G=await p.evaluate(lg),q=ug(G,v,typeof p.url=="function"?p.url():v);if(q)return {url:v,timestamp:new Date().toISOString(),blocked:{reason:q.reason,signal:`auth-wall:${q.signal}`,...typeof y=="number"?{status:y}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let x=await vL(p,y);if(x)return {url:v,timestamp:new Date().toISOString(),blocked:x,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let I=[],S=new Map,w=[],T=[],E=await gL(p);E&&T.push(`challenge:suspected-interstitial (${E.signal}; ${E.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let A=await Zh(p,w,T);if(I.push(...A.map(fg)),m.includeAxe)try{let G=await rg(p,cg(m.wcagTags??du,m.level));for(let q of G.violations)for(let j of q.nodes)I.push({id:`axe-${q.id}-${Gn(zn(j.target))}`,source:"axe-core",type:q.id,wcag:mu(q.tags),level:hu(q.tags),impact:fu(q.impact),message:q.help,selector:zn(j.target),html:j.html?.slice(0,300)});for(let q of G.incomplete??[])for(let j of q.nodes){let K=`axe-incomplete-${q.id}-${Gn(zn(j.target))}`,Z=j.any?.[0]?.data?.messageKey;Z&&S.set(K,Z),I.push({id:K,source:"axe-core",type:q.id,wcag:mu(q.tags),level:hu(q.tags),impact:fu(q.impact),message:q.help,selector:zn(j.target),html:j.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch{}try{let{runHtmlcs:G}=await Promise.resolve().then(()=>(wg(),yg)),q=await G(p);I.push(...q);}catch{}let{deduplicateIssues:C}=await Promise.resolve().then(()=>(Fo(),To)),F=cu(I),L=C(F.verdicts);try{let{pruneInvisibleContrast:G}=await Promise.resolve().then(()=>(ko(),So));L=await G(p,L);}catch{}try{let{pruneHiddenIframeIssues:G}=await Promise.resolve().then(()=>(ko(),So));L=await G(p,L);}catch{}try{let{dedupeByElementIdentity:G}=await Promise.resolve().then(()=>(Fo(),To));L=await G(p,L);}catch{}if(m.deep&&m.deepApiKey)try{let G=await bL(v,L,m);L.push(...G);}catch{}if(m.rootSelector)try{let{scopeIssuesToRoot:G}=await Promise.resolve().then(()=>(bu(),vu)),q=await G(p,L,m.rootSelector);L=q.issues,q.warning&&T.push(q.warning);}catch{}L=dg(L,m.level??"AA");let N=cu(L),$=N.verdicts;try{let G=[...F.undecided,...N.undecided];if(m.rootSelector){let{scopeIssuesToRoot:Z}=await Promise.resolve().then(()=>(bu(),vu));G=(await Z(p,G,m.rootSelector)).issues;}let q=await ng(p,G,S),j=await ig(p,G),K=[...q,...j];if(K.length){let{deduplicateIssues:Z}=await Promise.resolve().then(()=>(Fo(),To));$=Z([...$,...K]);}}catch{}let W={url:v,timestamp:new Date().toISOString(),engine:Qh,issues:$,incomplete:[],...w.length?{truncated:w}:{},...T.length?{engineWarnings:T}:{},summary:pu($)};if(m.review!==!1&&m.deepApiKey)try{W=await yL(W,m);}catch{}return W}finally{D&&await D.close();}}async function bL(h,f,b){let m=b.deepApiUrl||"https://api.webability.io",p=await fetch(`${m}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${b.deepApiKey}`},body:JSON.stringify({url:h,standardIssues:f.slice(0,30).map(({source:v,...y})=>y)})});return p.ok?((await p.json()).issues??[]).map((v,y)=>({id:`deep-${y}-${Gn(v.selector||v.element||"")}`,source:"deep-analysis",type:`wcag-${v.wcag}`,wcag:v.wcag,level:"AA",impact:v.severity==="High"?"critical":v.severity==="Medium"?"serious":"moderate",message:v.message,selector:v.selector||v.element||""})):[]}function xg(h){let f=h.fix?.attribute??"";return !!h.fix?.needsManualReview&&f!=="style"&&!f.startsWith("data-")}async function yL(h,f){let b=f.deepApiUrl||"https://api.webability.io",m=h.issues.filter(xg);if(m.length===0)return h;try{let p=await fetch(`${b}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.deepApiKey}`},body:JSON.stringify({url:h.url,issues:m.slice(0,30).map(({source:x,...I})=>I)})});if(!p.ok)return h;let D=await p.json();if(!D.confirmed_ids)return h;let v=new Set(D.confirmed_ids),y=h.issues.filter(x=>!xg(x)||v.has(x.id));return {...h,issues:y,summary:pu(y)}}catch{return h}}function _g(h){return {...h,issues:h.issues.map(({source:f,...b})=>b)}}async function wL(h,f){return _g(await Wn(h,{...f,dismissModals:false}))}var Dg=class{page;options;snapshots=[];observer=false;constructor(f,b){this.page=f,this.options=b??{};}async analyze(f){return wL(this.page,{...this.options,...f})}async start(f){this.snapshots=[],this.observer=true;let b={...this.options,...f},m=await Wn(this.page,{...b,dismissModals:false});this.snapshots.push(m),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let p=await Wn(this.page,{...b,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 f=await Wn(this.page,{...this.options,dismissModals:false});this.snapshots.push(f);let b=new Map;for(let D of this.snapshots)for(let v of D.issues)b.set(v.id,v);let m=Array.from(b.values()),p={url:f.url,timestamp:f.timestamp,issues:m,incomplete:[],summary:{total:m.length,critical:m.filter(D=>D.impact==="critical").length,serious:m.filter(D=>D.impact==="serious").length,moderate:m.filter(D=>D.impact==="moderate").length,minor:m.filter(D=>D.impact==="minor").length,incomplete:0}};return this.snapshots=[],_g(p)}};/*! Bundled license information:
|
|
378
|
+
`);return ce}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:wg);});var Hg={};br(Hg,{dismissModals:()=>fP});async function fP(f){await f.evaluate(d=>{for(let g of d){let h=document.querySelectorAll(g);for(let m of h)if(m.offsetParent!==null){m.click();return}}},dP),await new Promise(d=>setTimeout(d,500));}var dP,Vg=vr(()=>{dP=['[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={};br(Vo,{pruneHiddenIframeIssues:()=>gP,pruneInvisibleContrast:()=>hP,waitForRenderSettle:()=>pP});async function pP(f,d=4e3){let g=Date.now()+d;try{await f.waitForLoadState?.("load",{timeout:Math.min(d/2,2e3)});}catch{}let h="";for(;Date.now()<g;){let m;try{m=await f.evaluate(()=>{let y=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let A of y){if(A.playState!=="running")continue;let S;try{S=A.effect?.getComputedTiming?.().iterations;}catch{S=void 0;}S!==1/0&&v++;}let w="",C=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],E=Math.min(C.length,50);for(let A=0;A<E;A++)w+=getComputedStyle(C[A]).opacity+",";return v+"|"+w});}catch{return}if(m.indexOf("0|")===0&&m===h)return;h=m,await new Promise(y=>setTimeout(y,150));}}function jg(f){return mP.has(f.wcag)||/contrast/i.test(f.type||"")}async function hP(f,d){let g=Array.from(new Set(d.filter(v=>jg(v)&&v.selector).map(v=>v.selector))).slice(0,100);if(g.length===0)return d;let h;try{h=await f.evaluate(v=>{let w=[],C={},E=Math.max(document.documentElement.scrollWidth,window.innerWidth),A=Math.max(document.documentElement.scrollHeight,window.innerHeight),S=F=>{let D=F.match(/rgba?\(([^)]+)\)/);if(!D)return !1;let x=D[1].split(/[ ,/]+/).filter(Boolean);return x.length<4||parseFloat(x[3])>=.95};for(let F of v){let D=null;try{D=document.querySelector(F);}catch{continue}if(!D)continue;let x=getComputedStyle(D),k=D.getBoundingClientRect(),T=x.clipPath&&x.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(x.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(x.clip||""),I=k.width<=1||k.height<=1,M=window.scrollX,V=window.scrollY,z=k.right+M<=0||k.bottom+V<=0||k.left+M>=E||k.top+V>=A,Y=!1;if(z)for(let K=D.parentElement;K&&K!==document.body&&K!==document.documentElement;K=K.parentElement){let te=getComputedStyle(K);if(te.overflowX!=="visible"||te.overflowY!=="visible"||te.transform&&te.transform!=="none"){Y=!0;break}}if(z&&Y){C[F]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(T||I||z){w.push(F);continue}let q=D,P=!1;for(;q&&q!==document.documentElement;){if(parseFloat(getComputedStyle(q).opacity)===0){P=!0;break}q=q.parentElement;}if(P){C[F]="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 O=k.left+k.width/2,B=k.top+k.height/2,$=D,X=!1;for(let K=0;$&&$!==document.body&&K<8;K++){let te=getComputedStyle($);if(S(te.backgroundColor)||te.backgroundImage&&te.backgroundImage!=="none")break;let Z=$.querySelectorAll("video, canvas, img, picture");for(let ne=0;ne<Z.length;ne++){let ae=Z[ne];if(ae.contains(D)||D.contains(ae))continue;let ue=ae.getBoundingClientRect();if(ue.width>0&&ue.height>0&&O>=ue.left&&O<=ue.right&&B>=ue.top&&B<=ue.bottom){X=!0;break}}if(X)break;$=$.parentElement;}X&&(C[F]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:w,review:C}},g);}catch{return d}let m=new Set(h.hidden),y=[];for(let v of d){if(!jg(v)){y.push(v);continue}if(m.has(v.selector))continue;let w=h.review[v.selector];y.push(w&&v.confidence!=="needs_review"?{...v,confidence:"needs_review",reviewReason:w,...v.fix?{fix:{...v.fix,needsManualReview:true}}:{}}:v);}return y}async function gP(f,d){let g=Array.from(new Set(d.filter(y=>y.selector).map(y=>y.selector))).slice(0,200);if(g.length===0)return d;let h;try{h=await f.evaluate(y=>{let v=[];for(let w of y){let C=null;try{C=document.querySelector(w);}catch{continue}if(!C||C.tagName!=="IFRAME")continue;let E=getComputedStyle(C),A=C.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse",S=(C.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(A||S)&&v.push(w);}return v},g);}catch{return d}if(h.length===0)return d;let m=new Set(h);return d.filter(y=>!m.has(y.selector))}var mP,jo=vr(()=>{mP=new Set(["1.4.3","1.4.6","1.4.11"]);});var $o={};br($o,{focusOnlyObscuredIndexes:()=>xP,resetInteractionState:()=>vP,restoreInteractionState:()=>yP,snapshotInteractionState:()=>bP});async function vP(f){try{await f.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function bP(f){try{await f.evaluate(()=>{let d=window;d.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function yP(f){try{await f.evaluate(()=>{let d=window,g=d.__waCallerState;if(delete d.__waCallerState,!g)return;let h=g.el;if(h&&h!==document.body&&h!==document.documentElement&&h.isConnected)try{h.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:g.x,top:g.y,behavior:"instant"});}catch{}});}catch{}}function wP(f){if(typeof f=="string")return f;if(!Array.isArray(f))return null;let d=f.flat(1/0).filter(g=>typeof g=="string");return d.length===1?d[0]:null}async function xP(f,d){let g=d.map(v=>{let C=[...v.any??[],...v.none??[]].flatMap(A=>A.relatedNodes??[]);if(!C.length)return null;let E=C.map(A=>wP(A.target));return E.every(A=>!!A)?E:null}),h=Array.from(new Set(g.flatMap(v=>v??[])));if(!h.length)return new Set;let m={};try{m=await f.evaluate(({sels:v,own:w})=>{let C=A=>{let S=A.getBoundingClientRect(),F=getComputedStyle(A);return !!((S.width<=1||S.height<=1)&&(F.overflow==="hidden"||F.position==="absolute"||F.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(F.clip||"")||/inset\(\s*50%/.test(F.clipPath||""))},E={};for(let A of v){let S=null;try{S=document.querySelector(A);}catch{S=null;}if(!S){E[A]=!1;continue}let F=S.closest(w);if(F&&F!==document.body&&F!==document.documentElement){E[A]=!0;continue}if(S===document.activeElement){try{S.blur();}catch{}E[A]=C(S);continue}E[A]=C(S);}return E},{sels:h,own:qo});}catch{return new Set}let y=new Set;return g.forEach((v,w)=>{v&&v.length&&v.every(C=>m[C]===true)&&y.add(w);}),y}var zo=vr(()=>{Fr();});var ta={};br(ta,{dedupeByElementIdentity:()=>CP,deduplicateIssues:()=>DP});function DP(f){let d=new Map,g=[...f].sort((h,m)=>{let y={webability:0,"axe-core":1,"deep-analysis":2},v=y[h.source]??3,w=y[m.source]??3;return v-w});for(let h of g){let m=_P(h);d.has(m)?!d.get(m).fix?.suggestedValue&&h.fix?.suggestedValue&&d.set(m,h):d.set(m,h);}return Array.from(d.values())}function _P(f){let d=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),g=f.wcag||"";return d&&g?`${d}::${g}`:`${f.type}::${d||f.id}`}async function CP(f,d){if(d.length<2)return d;let g=Array.from(new Set(d.map(A=>A.selector).filter(Boolean))),h;try{h=await f.evaluate(A=>{let S=Array.from(document.querySelectorAll("*")),F=new Map;S.forEach((x,k)=>F.set(x,k));let D={};for(let x of A){let k=null;try{k=document.querySelector(x);}catch{}if(!k){let T=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(T!==x)try{k=document.querySelector(T);}catch{}}if(k){let T=k.closest("table");D[x]={el:F.get(k),table:T?F.get(T):-1,doc:k===document.documentElement||k===document.body};}}return D},g);}catch{return d}let m={webability:0,"axe-core":1,"deep-analysis":2},y=A=>{let S=h[A.selector];if(!S)return null;let F=A.wcag||A.type;return S.doc?{key:EP.has(A.wcag||"")?`doc::${F}`:`doc::${F}::${A.type}`,owner:true}:S.table>=0&&AP.test(A.type)?{key:`${S.table}::${F}::table-headers`,owner:S.el===S.table}:{key:`${S.el}::${F}`,owner:true}},v=[...d].sort((A,S)=>{let F=y(A),D=y(S),x=F?.owner?0:1,k=D?.owner?0:1;return x-k||(m[A.source]??3)-(m[S.source]??3)}),w=new Map,C=[];for(let A of v){let S=y(A);if(!S){C.push(A);continue}let F=w.get(S.key);F?!F.fix?.suggestedValue&&A.fix?.suggestedValue&&(y(F)?.owner??true)===S.owner&&w.set(S.key,A):w.set(S.key,A);}let E=new Set([...w.values(),...C]);return d.filter(A=>E.has(A))}var AP,EP,ra=vr(()=>{AP=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,EP=new Set(["2.4.1","3.1.1","2.4.2"]);});var Gg={};br(Gg,{parseGif:()=>$g,playsOverFiveSeconds:()=>zg,verifyAnimatedGifs:()=>SP});function $g(f){if(String.fromCharCode(f[0]??0,f[1]??0,f[2]??0)!=="GIF")return null;let g=13,h=f[10]??0;h&128&&(g+=3*(1<<(h&7)+1));let m=0,y=0,v=0,w=null,C=()=>{for(;g<f.length;){let E=f[g++];if(E===0)return;g+=E;}};for(;g<f.length;){let E=f[g++];if(E===59)break;if(E===33){let A=f[g++];if(A===249)v=(f[g+2]??0)|(f[g+3]??0)<<8,g+=1+(f[g]??4),C();else if(A===255){let S=f[g]??0,F=String.fromCharCode(...Array.from(f.subarray(g+1,g+1+S)));g+=1+S,(F==="NETSCAPE2.0"||F==="ANIMEXTS1.0")&&f[g]===3&&f[g+1]===1&&(w=(f[g+2]??0)|(f[g+3]??0)<<8),C();}else C();}else if(E===44){let A=f[g+8]??0;g+=9,A&128&&(g+=3*(1<<(A&7)+1)),g+=1,C(),m++,y+=v<2?10:v,v=0;}else break}return {frames:m,seconds:y/100,loops:w}}function zg(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 SP(f,d){let g=d.filter(y=>y.type==="animated_gif_no_pause");if(!g.length)return d;let h=Array.from(new Set(g.map(y=>y.selector))),m={};try{m=await f.evaluate(async({sels:y,parserSrc:v})=>{let w=new Function("var __name = function (f) { return f }; return ("+v+")")(),C={};return await Promise.all(y.map(async E=>{C[E]=null;try{let A=document.querySelector(E),S=A&&(A.currentSrc||A.src);if(!S)return;let F=new AbortController,D=setTimeout(()=>F.abort(),5e3);try{let x=await fetch(S,{signal:F.signal,credentials:"same-origin"});if(!x.ok||Number(x.headers.get("content-length")||"0")>2e7)return;C[E]=w(new Uint8Array(await x.arrayBuffer()));}finally{clearTimeout(D);}}catch{}})),C},{sels:h,parserSrc:$g.toString()});}catch{m={};}return d.flatMap(y=>{if(y.type!=="animated_gif_no_pause")return [y];let v=m[y.selector];if(!v)return [{...y,message:`${y.message} \u2014 the GIF file could not be read from the page (cross-origin or blocked), so its frame count and duration were not measured`}];if(!zg(v))return [];let w=v.loops===0?"loops forever":`plays for ${(v.seconds*(v.loops===null?1:v.loops+1)).toFixed(1)}s`;return [{...y,message:`animated GIF (${v.frames} frames, ${w}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var Wg=vr(()=>{});var qu={};br(qu,{scopeIssuesToRoot:()=>kP});async function kP(f,d,g){let h=Array.from(new Set(d.map(y=>y.selector).filter(Boolean))),m;try{m=await f.evaluate(({rootSel:y,sels:v})=>{let w=A=>{try{let F=document.querySelector(A);if(F)return F}catch{}let S=A.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(S!==A)try{return document.querySelector(S)}catch{return null}return null},C=null;try{C=document.querySelector(y);}catch{return {invalid:!0,matched:!1,within:{}}}if(!C)return {invalid:!1,matched:!1,within:{}};let E={};for(let A of v){let S=w(A);E[A]=S?S===C||C.contains(S):!0;}return {invalid:!1,matched:!0,within:E}},{rootSel:g,sels:h});}catch{return {issues:d,warning:`scope:evaluate-failed (${g}) \u2014 results unfiltered`}}return m.invalid?{issues:d,warning:`scope:invalid-selector (${g}) \u2014 results unfiltered`}:m.matched?{issues:d.filter(y=>y.selector?m.within[y.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var Bu=vr(()=>{});var No={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var $3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=new Set;function m(w){let C=(w.textContent||"").trim().replace(/\s+/g,""),E=w.querySelector("img, svg, picture")!==null,A=w.querySelector("i[class], span[class]")!==null;if(C.length>0&&!E&&!A)return false;if(E){let S=w.querySelectorAll("img"),F="";S.forEach(k=>{F+=(k.getAttribute("alt")||"").trim();});let D=C.replace(/\s+/g,""),x=F.replace(/\s+/g,"");return D===""||D===x}return false}function y(w){let C=w.nextElementSibling;for(;C;){if(isVisible(C))return C;C=C.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(g.length>=50||w.closest(f)||!isVisible(w)||h.has(w))return;let C=w.getAttribute("href");if(!C||C==="#")return;let E=y(w);if(!E||E.tagName!=="A"||E.getAttribute("href")!==C||h.has(E)||w.getAttribute("aria-hidden")==="true"||E.getAttribute("aria-hidden")==="true")return;let S=m(w),F=m(E);if(!S&&!F)return;let D=S?w:E,x=S?E:w;h.add(D),h.add(x);let k=uniqueSel(D),T=D.outerHTML.slice(0,300),I=(x.textContent||"").trim().slice(0,80);g.push({selector:k,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:C,imageLink:true,adjacentLinkText:I,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:T}),g.push({selector:k,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:C}),needsAI:false,fixValue:"-1",outerHtml:T});}),g},oh={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate($3)}};var z3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",d='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',g=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),h=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,y=[],v=new Set;function w(A){let S=A,F=0;for(;S&&S.nodeType===1&&S!==document.body&&F<20;){try{let D=getComputedStyle(S);if(D.display==="none"||D.visibility==="hidden"||D.visibility==="collapse")return !0}catch{}S=S.parentElement,F++;}return false}function C(A){let S=A.tagName,F=A.getAttribute("tabindex");if(F!==null){let D=parseInt(F,10);if(!isNaN(D)&&D>=0)return true;if(!isNaN(D)&&D<0)return false}return h.has(S)?!(S==="A"&&!A.hasAttribute("href")||A.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(A=>{if(y.length>=m||A.closest(f)||A.closest(d)||A.closest(g)||A.matches(g))return;let S=[];if(C(A)&&S.push(A),A.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(D=>{C(D)&&S.push(D);}),S.length!==0)for(let D of S){if(y.length>=m)return;let x=uniqueSel(D),k=x+"\0tabindex";if(v.has(k))continue;v.add(k);let T=w(D);y.push({selector:x,attribute:"tabindex",currentValue:D.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),parentHidden:A.tagName.toLowerCase(),collapsed:T,suggestion:T?"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.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...T?{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.'}:{},outerHtml:(D.outerHTML||"").slice(0,300)});}}),y},sh={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(z3)}};var G3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=new Set,m=[{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 y(v){if(!(v.textContent||"").trim())return true;let C=getComputedStyle(v);return !!(C.display==="none"||C.visibility==="hidden"||C.opacity==="0"||C.maxHeight==="0px"||C.height==="0px"||v.hasAttribute("data-bind")||v.hasAttribute("v-if")||v.hasAttribute("v-show")||v.hasAttribute("ng-if")||v.hasAttribute("ng-show")||v.hasAttribute(":class")||v.hasAttribute("x-show")||v.hasAttribute("x-if")||v.hasAttribute("aria-atomic"))}for(let v of m){if(g.length>=50)break;let w=document.querySelectorAll("*");for(let C of w){if(g.length>=50)break;if(h.has(C)||C.closest(f))continue;let E=C.className&&typeof C.className=="string"?C.className:"",A=C.getAttribute("id")||"";if(!v.regex.test(E)&&!v.regex.test(A)||C.getAttribute("aria-live"))continue;let S=C.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(S)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(E+" "+A)&&!y(C))continue;h.add(C);let D=uniqueSel(C),x=v.regex.test(E)?"class":"id",k=x==="class"?E.slice(0,60):A;g.push({selector:D,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:x+": "+k+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return g},lh={name:"ariaLive",cap:50,async detect(f){return f.evaluate(G3)}};var W3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],h=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(g.length>=50)&&!w.closest(f)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let C of m){let E=w.getAttribute(C);if(!E||!E.trim())continue;let A=E.trim().split(/\s+/).filter(V=>V.length>0);if(A.length===0||!A.every(V=>!document.getElementById(V)))continue;let F=w.getAttribute("aria-label");if(F&&F.trim())continue;let D=getAccessibleName(w);if(D&&D.trim())continue;let x=uniqueSel(w),k=x+"\0"+C;if(h.has(k))continue;h.add(k);let{nearbyHeading:T,parentTag:I,parentRole:M}=getNearbyContext(w);g.push({selector:x,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:C,brokenIds:A,nearbyHeading:T,parentTag:I,parentRole:M,suggestion:`All IDs in ${C}="${E}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),g},uh={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(W3)}};var U3=()=>{let d=[],g=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],h=document.querySelectorAll("button");for(let m of h){if(d.length>=50)break;let y=m;if(isWidget(y)||y.hasAttribute("type")||!y.closest("form"))continue;let v=(y.textContent||"").trim().slice(0,60),w=(y.getAttribute("aria-label")||"").trim().slice(0,60),C=v||w||"(no label)",E=C.toLowerCase();g.some(S=>E.includes(S))||d.push({selector:uniqueSel(y),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+C,needsAI:false,fixValue:"button",outerHtml:(y.outerHTML||"").slice(0,300)});}return d},ch={name:"buttonType",cap:50,async detect(f){return f.evaluate(U3)}};var X3=()=>{let d=[],g=document.querySelectorAll("video, audio");for(let h of Array.from(g)){if(d.length>=20)break;if(isWidget(h)||typeof isVisible=="function"&&!isVisible(h)||h.error)continue;let m=h.tagName==="VIDEO";if(m){let k=h.hasAttribute("muted")||h.muted,T=h.hasAttribute("controls"),I=h.hasAttribute("loop")||h.loop,M=/mute|unmute|sound|volume|audio|play|pause/i,V=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.id&&!!document.querySelector('[aria-controls~="'+h.id.replace(/"/g,"")+'"]');for(let z=h.parentElement?.parentElement||null,Y=0;z&&!V&&Y<3;z=z.parentElement,Y++)V=Array.from(z.querySelectorAll('button, [role="button"]')).some(q=>M.test((q.getAttribute("aria-label")||"")+" "+(q.getAttribute("title")||"")+" "+(q.textContent||"")));if(k&&I&&!T&&!V)continue}let y=h.querySelectorAll("track"),v=false;for(let k of Array.from(y)){let T=(k.getAttribute("kind")||"").toLowerCase();if(T==="captions"||T==="subtitles"){v=true;break}}if(v)continue;let w=h.currentSrc||h.getAttribute("src")||"";if(w||(w=h.querySelector("source")?.getAttribute("src")||""),!w)continue;let C=w.toLowerCase();if(C.startsWith("blob:")||C.startsWith("data:")||C.startsWith("about:")||C.startsWith("javascript:")||C.endsWith(".m3u8")||C.includes(".m3u8?")||C.endsWith(".mpd")||C.includes(".mpd?"))continue;let E=w;try{E=new URL(w,location.href).toString();}catch{continue}let A=typeof uniqueSel=="function"?uniqueSel(h):"",S=h.getAttribute("title")||h.getAttribute("aria-label")||"",F=typeof getNearbyContext=="function"?getNearbyContext(h):{parentTag:h.tagName.toLowerCase(),nearbyHeading:""},D=[];D.push("media: "+h.tagName.toLowerCase()),D.push("src: "+E.slice(0,200)),S&&D.push("title: "+S.slice(0,80)),F.nearbyHeading&&D.push("heading: "+F.nearbyHeading),D.push("parent: "+F.parentTag);let x=m;d.push({selector:A,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:D.join(" | "),needsAI:true,...x?{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:E,outerHtml:(h.outerHTML||"").slice(0,300)});}return d},dh={name:"captions",cap:20,async detect(f){return f.evaluate(X3)}};var Y3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]"),y=new Map;for(let v of Array.from(m)){if(g.length>=40)break;if(v.closest(f)||v.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(v))continue;let w=v.closest(h);if(!w)continue;let C=(v.textContent||"").trim();if(!C)continue;let E=y.get(w);if(E===void 0){E=0;let z=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),Y;for(;Y=z.nextNode();){let q=Y.parentElement;!q||q.closest("a")||q.closest(h)===w&&(typeof isVisible=="function"&&!isVisible(q)||(E+=(Y.textContent||"").trim().length));}y.set(w,E);}if(E<20||v.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let A=getComputedStyle(v),S=getComputedStyle(w);if((A.textDecorationLine||A.textDecoration||"").includes("underline")||(()=>{let z=document.createTreeWalker(v,NodeFilter.SHOW_TEXT),Y,q=false;for(;Y=z.nextNode();){if(!/[\p{L}\p{N}]/u.test(Y.textContent||""))continue;q=true;let P=false;for(let O=Y.parentElement;O&&O!==v;O=O.parentElement){let B=getComputedStyle(O),$=(B.textDecorationColor||"").replace(/\s/g,"");if((B.textDecorationLine||"").includes("underline")&&$!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test($)){P=true;break}let X=(B.borderBottomColor||"").replace(/\s/g,""),K=X==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(X);if((B.borderBottomStyle||"none")!=="none"&&parseFloat(B.borderBottomWidth||"0")>0&&!K){P=true;break}}if(!P)return false}return q})())continue;let x=parseInt(A.fontWeight||"400",10),k=parseInt(S.fontWeight||"400",10);if(Number.isFinite(x)&&Number.isFinite(k)&&x-k>=300||(A.borderBottomStyle||"none")!=="none"&&(A.borderBottomWidth||"0px")!=="0px"||A.color===S.color)continue;let I=typeof uniqueSel=="function"?uniqueSel(v):"",M=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},V=[];V.push("link: "+C.slice(0,40)),V.push("color: "+A.color),V.push("parent-color: "+S.color),M.nearbyHeading&&V.push("heading: "+M.nearbyHeading),V.push("parent: "+M.parentTag),g.push({selector:I,attribute:"style",currentValue:A.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:V.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(v.outerHTML||"").slice(0,300)});}return g},fh={name:"colorOnly",cap:40,async detect(f){return f.evaluate(Y3)}};var K3=()=>{let d=[],g=x=>typeof parseCssColor=="function"?parseCssColor(x):null,h=(x,k,T)=>typeof relLuminance=="function"?relLuminance(x,k,T):0,m=(x,k)=>typeof contrastRatio=="function"?contrastRatio(x,k):1;function y(x){let k=String(x.backgroundImage||"none");if(k==="none")return false;if(/gradient\(/i.test(k))return true;if(!/url\(/i.test(k))return false;let T=String(x.backgroundRepeat||"").toLowerCase(),I=String(x.backgroundSize||"").toLowerCase(),M=T.split(",").map(z=>z.trim()).some(z=>z!==""&&z!=="no-repeat"),V=/cover|contain|100%/.test(I);return M||V}function v(x){let k=document.documentElement,T=x,I=0;for(;T&&T!==k&&I<12;){let q=getComputedStyle(T);if(y(q))return null;let P=g(q.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]];T=T.parentElement,I++;}let M=document.body;if(T&&T!==k&&M&&M.contains(T)){let q=getComputedStyle(M);if(y(q))return null;let P=g(q.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]]}let V=getComputedStyle(k);if(y(V))return null;let z=g(V.backgroundColor||""),Y=z?Math.min(z[3],1):0;return !z||Y<=0?[255,255,255]:[Math.round(z[0]*Y+255*(1-Y)),Math.round(z[1]*Y+255*(1-Y)),Math.round(z[2]*Y+255*(1-Y))]}function w(x,k,T){return "#"+[x,k,T].map(I=>{let M=Math.max(0,Math.min(255,Math.round(I))).toString(16);return M.length===1?"0"+M:M}).join("")}function C(x,k,T){let I=h(k[0],k[1],k[2])>.5;return E(x,k,T,I)||E(x,k,T,!I)}function E(x,k,T,I){let M=0,V=1,z=null;for(let Y=0;Y<20;Y++){let q=(M+V)/2,P=I?[x[0]*(1-q),x[1]*(1-q),x[2]*(1-q)]:[x[0]+(255-x[0])*q,x[1]+(255-x[1])*q,x[2]+(255-x[2])*q],O=[Math.round(P[0]),Math.round(P[1]),Math.round(P[2])];m(O,k)>=T?(z=O,V=q):M=q;}return z}let A=document.createTreeWalker(document.body,4),S=new Set,F=[],D=A.nextNode();for(;D;){if((D.textContent||"").trim().length>=2){let k=D.parentElement;k&&!S.has(k)&&(S.add(k),F.push(k));}D=A.nextNode();}for(let x of F){if(d.length>=30)break;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let k=getComputedStyle(x),T=g(k.color||"");if(!T)continue;if(T[3]<.5){let Z=k.webkitBackgroundClip||k.backgroundClip||"",ne=k.backgroundImage||"";if(String(Z).includes("text")&&/gradient\(/i.test(ne)){let ae=Array.from(x.childNodes).filter(ue=>ue.nodeType===3).map(ue=>(ue.textContent||"").trim()).join("");ae&&d.push({selector:uniqueSel(x),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(ae.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:x.outerHTML.slice(0,200)});}continue}let I=v(x),M=parseFloat(k.fontSize||"16"),V=parseInt(k.fontWeight||"400",10),Y=M>=24||M>=18.66&&V>=700?3:4.5,q=Array.from(x.childNodes).filter(Z=>Z.nodeType===3).map(Z=>(Z.textContent||"").trim()).join("");if(!q)continue;let P=w(T[0],T[1],T[2]),O=uniqueSel(x);if(I===null){d.push({selector:O,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 "+Y+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+P+" bg=<gradient-or-image> needs="+Y+" text="+JSON.stringify(q.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:x.outerHTML.slice(0,200)});continue}let B=m([T[0],T[1],T[2]],I);if(B>=Y)continue;let $=C([T[0],T[1],T[2]],I,Y);if(!$)continue;let X=w($[0],$[1],$[2]),K=w(I[0],I[1],I[2]),te="color:"+X+" !important;";d.push({selector:O,attribute:"style",currentValue:P,message:"contrast: "+P+" on "+K+" is "+B.toFixed(2)+":1, needs "+Y+":1 \u2014 e.g. color "+X,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+P+" bg="+K+" ratio="+B.toFixed(2)+" needs="+Y+" text="+JSON.stringify(q.slice(0,40)),needsAI:false,fixValue:te,outerHtml:x.outerHTML.slice(0,200)});}return d},ph={name:"contrast",cap:30,async detect(f){return f.evaluate(K3)}};var J3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=document.querySelectorAll("marquee, blink");for(let C of Array.from(h)){if(g.length>=30)break;if(C.closest(f))continue;let E=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();g.push({selector:E,attribute:"aria-hidden",currentValue:C.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${C.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(C.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let C of Array.from(m)){if(g.length>=30)break;if(C.closest(f))continue;let E=C.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(E)||typeof isVisible=="function"&&!isVisible(C))continue;let A=C.getBoundingClientRect();if(A.width<=40&&A.height<=40)continue;let S=typeof uniqueSel=="function"?uniqueSel(C):"img";g.push({selector:S,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${E.split("/").pop()?.slice(0,60)||E.slice(-60)}`,needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let C of Array.from(y)){if(g.length>=30)break;let E=(C.getAttribute("content")||"").trim(),A=parseInt((E.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(A)||A<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${E.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:E,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${A}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(C.outerHTML||"").slice(0,200)});}try{let C=!1,E=!1;for(let A of Array.from(document.styleSheets)){let S=null;try{S=A.cssRules;}catch{continue}if(S)for(let F of Array.from(S)){let D=F.cssText||"";if(/animation[^;]*\binfinite\b/i.test(D)&&/(keyframes|animation-name)/i.test(D+" "+(F.name||""))&&(C=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(D)&&(E=!0),F.cssRules)for(let x of Array.from(F.cssRules)){let k=x.cssText||"";/animation[^;]*\binfinite\b/i.test(k)&&(C=!0);}}}C&&!E&&g.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let v=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let C of Array.from(w)){if(g.length>=30)break;if(C.closest(f)||C.tagName==="BODY"||C.tagName==="HTML")continue;let E=C.className&&typeof C.className=="string"?C.className:"";if(!v.test(E)||typeof isVisible=="function"&&!isVisible(C))continue;let S=getComputedStyle(C).animationDuration,F=9999;if(S){let x=parseFloat(S);Number.isFinite(x)&&(F=/ms/i.test(S)?x:x*1e3);}if(F>333)continue;let D=typeof uniqueSel=="function"?uniqueSel(C):"";g.push({selector:D,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${F}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:(C.outerHTML||"").slice(0,300)});}return g},mh={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(J3)}};var Z3=()=>{let d=[];function g(v){let w=(v.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function h(v){if(!v)return 0;let w=v.querySelectorAll("th, td"),C=0;for(let E=0;E<w.length;E++){let A=parseInt(w[E].getAttribute("colspan")||"1",10);C+=isNaN(A)||A<1?1:A;}return C}function m(v){let w=v.querySelectorAll("tr"),C=[];for(let E=0;E<w.length;E++){let A=w[E];A.closest("table")===v&&C.push(A);}return C}let y=document.querySelectorAll("table");for(let v=0;v<y.length&&!(d.length>=30);v++){let w=y[v];if(isWidget(w)||!isVisible(w)||g(w))continue;let C=m(w);if(C.length<=1)continue;let E=C[0],A=h(E);if(A<=1)continue;let S=uniqueSel(w),F=getNearbyContext(w),D=w.querySelectorAll("img, svg, picture").length>=2;if(D&&!(w.textContent||"").trim()){if(w.querySelector("input, select, textarea, button")&&(D=false),D&&w.querySelector("th, thead, caption, [scope], [headers]")&&(D=false),D){let $=Array.from(w.querySelectorAll("img")).map(X=>(X.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set($).size<$.length&&(D=false);}}else if(D){let $=w.querySelectorAll("td, th"),X=0;for(let K=0;K<$.length&&D;K++){let te=$[K];if(te.closest("table")!==w)continue;let Z=(te.textContent||"").trim(),ne=!!te.querySelector("img, svg, picture");if(!Z&&!ne)continue;X++;let ae=te.querySelectorAll("a[href]");D=te.tagName==="TD"&&ae.length===1&&ne&&(ae[0].textContent||"").trim()===Z;}X<2&&(D=false);}if(D){d.push({selector:S,attribute:"role",currentValue:w.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:C.length,cols:A,nearbyHeading:F.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(w.outerHTML||"").slice(0,300)});continue}let x=null,k=w.querySelectorAll("caption");for(let $=0;$<k.length;$++)if(k[$].closest("table")===w){x=k[$];break}let T=x?(x.textContent||"").trim():"",I=(w.getAttribute("aria-label")||"").trim(),M=(w.getAttribute("title")||"").trim(),V=w.getAttribute("aria-labelledby"),z="";if(V){let $=V.split(/\s+/);for(let X=0;X<$.length;X++){let K=document.getElementById($[X]);K&&(z+=" "+(K.textContent||""));}z=z.trim();}(!x||!T)&&!(I||z||M)&&d.length<30&&d.push({selector:S,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:x?"empty <caption>":"no <caption> element",rows:C.length,cols:A,nearbyHeading:F.nearbyHeading,parentTag:F.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});let q=null,P=w.querySelectorAll("thead");for(let $=0;$<P.length;$++)if(P[$].closest("table")===w){q=P[$];break}if(q&&q.querySelector("tr")!==null||d.length<30&&d.push({selector:S,attribute:"thead",currentValue:q?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:q?"<thead> has no <tr>":"no <thead> element",rows:C.length,cols:A,nearbyHeading:F.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),A>2){let $=E.querySelectorAll("th, td"),X=$.length>0;for(let K=0;K<$.length;K++)if(($[K].tagName||"").toLowerCase()!=="td"){X=false;break}if(X)for(let K=0;K<$.length&&!(d.length>=30);K++){let te=$[K],Z=uniqueSel(te),ne=(te.textContent||"").trim().slice(0,60);d.push({selector:Z,attribute:"role",currentValue:te.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:ne,colIndex:K,nearbyHeading:F.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(te.outerHTML||"").slice(0,300)});}}let B=w.querySelectorAll("th");for(let $=0;$<B.length&&!(d.length>=30);$++){let X=B[$];if(X.closest("table")!==w)continue;let K=(X.getAttribute("scope")||"").trim().toLowerCase();if(K==="col"||K==="row"||K==="colgroup"||K==="rowgroup")continue;let te=X.closest("tr"),Z=X.closest("thead")!==null,ne=false;te&&C.length>0&&C[0]===te&&(ne=true);let ae=false;if(te){let Ae=te.querySelectorAll("th, td");Ae.length>0&&Ae[0]===X&&(ae=true);}let ue="col";Z||ne?ue="col":ae&&(ue="row");let xe=uniqueSel(X),Ie=(X.textContent||"").trim().slice(0,60);d.push({selector:xe,attribute:"scope",currentValue:K,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ue,inThead:Z,firstRow:ne,firstCol:ae,headerText:Ie}),needsAI:false,fixValue:ue,outerHtml:(X.outerHTML||"").slice(0,300)});}}return d},hh={name:"dataTables",cap:30,async detect(f){return f.evaluate(Z3)}};var Q3=async()=>{let d=["tab","button","menuitem","switch","checkbox","option","treeitem"],g=["aria-controls","aria-expanded","aria-haspopup","data-toggle","data-bs-toggle","data-target","data-bs-target"],h=x=>x.split("#")[0],m=h(document.URL);function y(x){let k=(x.getAttribute("href")||"").trim();if(!k||k==="#"||/^javascript:/i.test(k))return null;let T;try{T=new URL(k,document.baseURI);}catch{return null}return T.protocol!=="http:"&&T.protocol!=="https:"&&T.protocol!=="file:"||h(T.href)!==m||k.indexOf("#")===-1?null:T.hash.slice(1)}function v(x){return !(!x||x.toLowerCase()==="top"||x==="0"||x.charAt(0)==="/"||x.charAt(0)==="!"||x.indexOf("=")!==-1)}function w(x){let k=[x];try{let I=decodeURIComponent(x);I!==x&&k.push(I);}catch{}for(let I of k)if(document.getElementById(I))return true;let T=document.querySelectorAll("a[name]");for(let I of T){let M=I.getAttribute("name")||"";if(k.indexOf(M)!==-1)return true}return false}function C(){let x=[];for(let k of document.querySelectorAll('a[href], button, input:not([type="hidden" i]), select, textarea, summary, [tabindex]')){let T=k;if(T.disabled||T.hasAttribute("inert")||T.closest("[inert]"))continue;let I=T.getAttribute("tabindex");I!==null&&Number(I)<0||T.getClientRects().length===0||getComputedStyle(T).visibility==="hidden"||x.push(T);}return x}let E=3,A=3;function S(x,k){let T=k.indexOf(x);if(T<0||T>=E||k.length-T-1<A)return false;let I=document.querySelector('main, [role="main"]')||document.querySelector("h1");return !(I&&!(x.compareDocumentPosition(I)&Node.DOCUMENT_POSITION_FOLLOWING))}function F(){let x=[],k=C(),T=k.slice(0,E);for(let I of document.querySelectorAll("a[href]")){let M=I;if(T.indexOf(M)<0||isWidget(M))continue;let V=y(M);if(V===null||!v(V)||w(V))continue;let z=(M.getAttribute("role")||"").toLowerCase();if(d.indexOf(z)===-1&&!g.some(Y=>M.hasAttribute(Y))&&!(M.getClientRects().length===0||getComputedStyle(M).visibility==="hidden"||isHiddenFromAT(M))&&S(M,k)&&(x.push(M),x.length>=30))break}return x}if(F().length===0)return [];await new Promise(x=>setTimeout(x,500));let D=[];for(let x of F()){let k=(x.getAttribute("href")||"").trim(),T="#"+(y(x)||""),I=(x.textContent||"").trim().replace(/\s+/g," ").slice(0,60);D.push({selector:uniqueSel(x),attribute:"href",currentValue:k,issueType:"broken_anchor",wcag:"2.4.1",context:'in-page link "'+I+'" points to '+T+", which matches no id or a[name] in this page",needsAI:true,needsReview:true,reviewReason:"WCAG 2.4.1 Bypass Blocks: this link is one of the first focusable elements, ahead of the main content, and jumps to "+T+" but no element on the page has that id or name. Violation only when the link is the page's bypass mechanism (a skip link that should jump past repeated blocks), so activating it goes nowhere. Pass when it is anything else: a script-driven control or an ordinary link. A dead fragment on an ordinary link is not a 2.4.1 failure.",outerHtml:(x.outerHTML||"").slice(0,300)});}return D},gh={name:"deadAnchors",cap:30,async detect(f){return f.evaluate(Q3)}};var eI=()=>{let d=[];for(let g of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let h=g;if((h.getAttribute("alt")||"").trim()!=="")continue;let m=(h.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!m||isWidget(h))continue;let y=(h.getAttribute("role")||"").toLowerCase();y==="presentation"||y==="none"||h.getAttribute("aria-hidden")==="true"||h.closest('[aria-hidden="true"]')||(h.getAttribute("aria-label")||"").trim()||(h.getAttribute("aria-labelledby")||"").trim()||isVisible(h)&&d.push({selector:uniqueSel(h),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+m.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 "'+m.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(h.outerHTML||"").slice(0,300)});}return d},vh={name:"decorativeImageTitle",cap:30,async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",g=[],h='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',m=D=>{try{return !!(D.querySelector&&D.querySelector(h))}catch{return false}},y=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],w=["spinner","loading","spin","loader","pulse"],C=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let D of C){if(g.length>=50)break;if(D.closest(f)||isHiddenFromAT(D)||!isVisible(D))continue;let x=D.className&&typeof D.className=="string"?D.className.toLowerCase():"";if(!x.split(/\s+/).filter(Boolean).some(z=>y.has(z)||v.some(Y=>z.startsWith(Y)))||D.closest(h)||m(D)||Array.from(D.children).some(z=>/[\p{L}\p{N}]/u.test(z.textContent||"")))continue;let M=w.some(z=>x.includes(z)),V=uniqueSel(D);g.push({selector:V,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:M?"spinner/loader icon":"icon classes: "+x.slice(0,80),needsAI:false,fixValue:"true",outerHtml:D.outerHTML.slice(0,300)});}let E=document.querySelectorAll("svg");for(let D of E){if(g.length>=50)break;if(D.closest(f)||isHiddenFromAT(D)||!isVisible(D)||D.closest(h)||m(D))continue;let x=D.getAttribute("aria-label")||"",k=D.getAttribute("aria-labelledby")||"",T=D.querySelector("title"),I=T?(T.textContent||"").trim():"",M=D.getAttribute("role");if(x.trim()||k.trim()||I||M==="img")continue;let V=D.getBoundingClientRect(),z=V.width<=16&&V.height<=16,Y=D.parentElement?(D.parentElement.textContent||"").trim().replace(/\s+/g," "):"",q=V.width<=4||V.height<=4,P=D.getAttribute("preserveAspectRatio")==="none";if(!z&&Y.length<=3&&!q&&!P)continue;let O=uniqueSel(D);g.push({selector:O,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:D.outerHTML.slice(0,300)});}let A=D=>D.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(D),S=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let D of S){if(g.length>=50)break;if(D.closest(f)||isHiddenFromAT(D))continue;let x=D.tagName.toLowerCase();if(!(x==="a"||x==="button"||x==="input"||x==="select"||x==="textarea"||D.getAttribute("role")==="button"||D.getAttribute("role")==="link"||D.getAttribute("role")==="tab")||D.hasAttribute("disabled"))continue;let T=D.className&&typeof D.className=="string"?D.className:"",I=T.split(/\s+/).some(A),M=D.getAttribute("aria-disabled")==="true",V=getComputedStyle(D).pointerEvents==="none";if(!M&&!(I&&V))continue;let z=D.getAttribute("tabindex")!=="-1"||m(D),Y=uniqueSel(D);g.push({selector:Y,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+T.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...z?{needsReview:true,reviewReason:"element is still keyboard-focusable; aria-hidden would create a hidden focusable element \u2014 remove it from the tab order first or confirm intent"}:{},outerHtml:D.outerHTML.slice(0,300)});}let F=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let D of F){if(g.length>=50)break;if(D.closest(f)||isHiddenFromAT(D))continue;let x=D.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(x.length===0)continue;let k=uniqueSel(D);g.push({selector:k,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+x.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+x.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:D.outerHTML.slice(0,300)});}return g},bh={name:"decorativeIcons",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=new Map,m=document.querySelectorAll("[id]");for(let y of m){if(y.closest(f))continue;let v=(y.getAttribute("id")||"").trim();if(!v)continue;let w=h.get(v);w?w.push(y):h.set(v,[y]);}for(let[y,v]of h)if(!(v.length<=1)){if(g.length<50){let w=v[0];g.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"id",currentValue:y,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+y+'" is shared by '+v.length+" elements; this is the canonical first occurrence (kept \u2014 references resolve here). Later occurrences carry rename fixes.",needsAI:false,needsReview:true,reviewReason:"first occurrence of a duplicated id \u2014 shown for completeness; renaming it would break references, so the fix targets the later occurrences",outerHtml:(w.outerHTML||"").slice(0,300)});}for(let w=1;w<v.length&&!(g.length>=50);w++){let C=v[w],E=w+1,A=y+"-"+E,S=C.tagName.toLowerCase(),F=C.parentElement,D=S;if(F){let x=Array.from(F.children).filter(T=>T.tagName===C.tagName);if(x.length>1){let T=x.indexOf(C)+1;D=S+":nth-of-type("+T+")";}let k=F.tagName.toLowerCase();if(F.id&&F.id!==y)D="#"+CSS.escape(F.id)+" > "+D;else {let T=F.parentElement;if(T){let I=Array.from(T.children).filter(M=>M.tagName===F.tagName);if(I.length>1){let M=I.indexOf(F)+1;D=k+":nth-of-type("+M+") > "+D;}else D=k+" > "+D;}}}g.push({selector:D,attribute:"id",currentValue:y,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+E+' of id="'+y+'" | tag: <'+S+">",needsAI:false,fixValue:A});}}return g},yh={name:"duplicateIds",cap:50,async detect(f){return f.evaluate(rI)}};var nI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,g=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,m=[],y=document.querySelectorAll("a");for(let v of y){if(m.length>=50)break;if(v.closest(f)||v.getAttribute("aria-hidden")==="true"||v.getAttribute("role")==="presentation"||v.closest('[aria-hidden="true"]')||!isVisible(v))continue;let w=getAccessibleName(v);if(w&&w.length>0&&!g.test(w)&&!d.test(w))continue;let C=v.querySelectorAll("img[alt]"),E="";for(let z of C){let Y=(z.getAttribute("alt")||"").trim();Y&&(E+=Y+" ");}if(E.trim())continue;let A=v.getAttribute("aria-labelledby");if(A&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(A))continue;let S=uniqueSel(v),F=v.getAttribute("href")||"",D=(v.textContent||"").trim(),x=getNearbyContext(v),k="";D&&g.test(D)?k="[whitespace only]":D&&d.test(D)&&(k=D);let T="",I=true;if(F&&F!=="#"&&!F.startsWith("javascript:")){if(F.startsWith("mailto:")){let z=F.slice(7).split("?")[0];z&&z.includes("@")&&(T="Email "+z,I=false);}else if(F.startsWith("tel:")){let z=F.slice(4);try{z=decodeURIComponent(z);}catch{}z=z.replace(/^\+/,"").trim(),z&&(T="Call "+z,I=false);}}let M=[];v.closest("nav")&&M.push("inside nav"),x.nearbyHeading&&M.push("heading: "+x.nearbyHeading),F&&M.push("href: "+F.slice(0,120)),M.push("parent: "+x.parentTag);let V={selector:S,attribute:"aria-label",currentValue:k,issueType:"empty_link",wcag:"2.4.4",context:M.join(" | "),needsAI:I,outerHtml:v.outerHTML.slice(0,300)};!I&&T&&(V.fixValue=T),m.push(V);}return m},wh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(nI)}};var aI=()=>{let d=[],g=new Set;function h(A){return (A||"").trim()}function m(A){let S=h(A.getAttribute("aria-label")||"");if(S)return S;let F=A.getAttribute("aria-labelledby");if(F){let x=F.split(/\s+/),k="";for(let T=0;T<x.length;T++){let I=document.getElementById(x[T]);I&&(k+=" "+(I.textContent||""));}if(h(k))return h(k)}let D=h(A.getAttribute("title")||"");return D||""}let y=document.querySelectorAll("fieldset");for(let A=0;A<y.length&&!(d.length>=30);A++){let S=y[A];if(isWidget(S)||!isVisible(S)||isHiddenFromAT(S))continue;if(m(S)){g.add(S);continue}let F=null,D=S.querySelectorAll("legend");for(let V=0;V<D.length;V++)if(D[V].closest("fieldset")===S){F=D[V];break}let x=F!==null,k=F?h(F.textContent||""):"";if(x&&k){g.add(S);continue}let T=getNearbyContext(S),I=S.querySelectorAll("input, select, textarea"),M=uniqueSel(S);d.push({selector:M,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:x?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:I.length,nearbyHeading:T.nearbyHeading,parentTag:T.parentTag}),needsAI:true,outerHtml:(S.outerHTML||"").slice(0,300)}),g.add(S);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let A=0;A<v.length&&!(d.length>=30);A++){let S=v[A];if(isWidget(S)||!isVisible(S)||isHiddenFromAT(S)||g.has(S))continue;if(m(S)){g.add(S);continue}let F=S.getAttribute("role")||"",D=getNearbyContext(S),x=S.querySelectorAll("input, select, textarea");if(F==="group"&&S.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 k=uniqueSel(S);d.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+F+'" container without accessible name',role:F,controlCount:x.length,nearbyHeading:D.nearbyHeading,parentTag:D.parentTag}),needsAI:true,outerHtml:(S.outerHTML||"").slice(0,300)}),g.add(S);}let w={},C=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let A=0;A<C.length;A++){let S=C[A];if(isWidget(S)||!isVisible(S)||isHiddenFromAT(S))continue;let F=S.getAttribute("name")||"";if(!F)continue;let D=S.closest("form"),x=D?D.getAttribute("id")||D.getAttribute("action")||D.tagName:"no-form",k=(S.getAttribute("type")||"").toLowerCase(),T=x+"::"+k+"::"+F;w[T]||(w[T]=[]),w[T].push(S);}let E=Object.keys(w);for(let A=0;A<E.length&&!(d.length>=30);A++){let S=w[E[A]];if(S.length<3)continue;let F=S[0],D=F.closest('fieldset, [role="group"], [role="radiogroup"]'),x=false;if(D){x=true;for(let z=1;z<S.length;z++)if(!D.contains(S[z])){x=false;break}}if(x&&D)continue;let k=F.parentElement;for(;k&&k!==document.body;){let z=true;for(let Y=1;Y<S.length;Y++)if(!k.contains(S[Y])){z=false;break}if(z)break;k=k.parentElement;}if(!k||k===document.body||g.has(k))continue;let T=(F.getAttribute("type")||"").toLowerCase(),I=F.getAttribute("name")||"",M=getNearbyContext(F),V=uniqueSel(k);d.push({selector:V,attribute:"role",currentValue:k.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+T+" group ("+S.length+' inputs share name="'+I+'")',inputType:T,inputCount:S.length,name:I,nearbyHeading:M.nearbyHeading,parentTag:M.parentTag}),needsAI:false,fixValue:T==="radio"?"radiogroup":"group",outerHtml:(k.outerHTML||"").slice(0,300)}),g.add(k);}return d},xh={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(aI)}};var iI=()=>{let f=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),g=0;for(let h of Array.from(d)){let m=getComputedStyle(h);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let y=h.getBoundingClientRect();if(y.top>50||y.bottom<=0)continue;let v=Math.round(y.height);v<40||v>240||v>g&&(g=v);}if(g>0){let h=window.scrollX,m=window.scrollY,y=0,v=0;try{let C=[],E=new Set;document.querySelectorAll('a[href^="#"]').forEach(A=>{let S=A.getAttribute("href").slice(1);if(!S)return;let F=document.getElementById(S);F&&!E.has(F)&&(E.add(F),C.push(F));});for(let A of C){if(v>=8)break;let S=getComputedStyle(A);if(S.display==="none"||S.visibility==="hidden")continue;v++,A.scrollIntoView({block:"start"});let F=A.getBoundingClientRect(),D=Math.max(F.height,1);Math.max(0,Math.min(F.bottom,g)-Math.max(F.top,0))/Math.min(D,g)>=.5&&y++;}}catch{}try{window.scrollTo(h,m);}catch{}let w=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;v>0&&y>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${y}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):v===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:w});}return f},Dh={name:"focusObscured",async detect(f){return f.evaluate(iI)}};var _h={name:"focusVisible",cap:40,async detect(f){let d=typeof f.keyboard?.press=="function";try{await f.evaluate(()=>{let g=document.activeElement;window[Symbol.for("wa.prevFocus")]=g&&g!==document.body&&g!==document.documentElement?g:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let h=getSelection();window[Symbol.for("wa.prevSelection")]=h?Array.from({length:h.rangeCount},(m,y)=>h.getRangeAt(y).cloneRange()):[];});}catch{}if(d)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(g=>{let m=[],y=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(",");try{document.activeElement?.blur?.();}catch{}let v=document.querySelectorAll(y),w=Symbol.for("wa.prevFocus"),C=window[w]??null;try{delete window[w];}catch{}for(let E of v){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(E)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(E)||typeof isVisible=="function"&&!isVisible(E)||!E.offsetParent&&E.tagName!=="BODY")continue;let A=getComputedStyle(E),S=A.outline,F=A.outlineWidth,D=A.outlineStyle,x=A.boxShadow,k=A.border,T=A.backgroundColor;try{E.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==E)continue;let I=getComputedStyle(E),M=I.outline,V=(I.outlineStyle||"").toLowerCase(),z=parseFloat(I.outlineWidth||"0"),Y=I.boxShadow,q=I.border,P=I.backgroundColor,O=M!==S,B=V!=="none"&&V!=="hidden"&&z>0;if(O&&B||Y!==x&&Y!=="none"&&Y!==""||q!==k||P!==T||parseFloat(F)>0&&D!=="none")continue;let Z=typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase();m.push({selector:Z+":focus-visible",attribute:"style",currentValue:D+" "+F,issueType:"focus_not_visible",wcag:"2.4.7",context:`${E.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:E.outerHTML.slice(0,200),...g?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{document.activeElement?.blur?.();}catch{}try{C&&C.isConnected&&C.focus({preventScroll:!0});}catch{}try{let E=Symbol.for("wa.prevScroll"),A=window[E];delete window[E],A&&window.scrollTo({left:A[0],top:A[1],behavior:"instant"});}catch{}try{let E=Symbol.for("wa.prevSelection"),A=window[E];delete window[E];let S=getSelection();if(S&&A){S.removeAllRanges();for(let F of A)S.addRange(F);}}catch{}return m},d)}};var oI=()=>{let d=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],h=["confirm","verify","retype","re-type","repeat","again"];function m(F){if(!F)return false;let D=" "+((F.id||"")+" "+(F.className||"")+" "+(F.getAttribute("name")||"")+" "+(F.getAttribute("action")||"")).toLowerCase()+" ";for(let x=0;x<g.length;x++)if(D.indexOf(g[x])!==-1)return true;return false}function y(F){let D=((F.getAttribute("name")||"")+" "+(F.getAttribute("id")||"")+" "+(F.getAttribute("placeholder")||"")+" "+(F.getAttribute("aria-label")||"")).toLowerCase();for(let x=0;x<h.length;x++)if(D.indexOf(h[x])!==-1)return true;return false}let v=document.querySelectorAll("input[pattern]");for(let F of v){if(d.length>=30)break;let D=F;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D)||(D.getAttribute("title")||"").trim()||(D.getAttribute("aria-describedby")||"").trim())continue;let T=uniqueSel(D),I=(D.getAttribute("pattern")||"").slice(0,80),M=D.getAttribute("name")||"",V=D.getAttribute("placeholder")||"";d.push({selector:T,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+I+" | name: "+M+" | placeholder: "+V,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let F of w){if(d.length>=30)break;let D=F;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D))continue;let x=(D.getAttribute("autocomplete")||"").trim().toLowerCase();if(y(D)){if(x==="new-password")continue;let V=uniqueSel(D);d.push({selector:V,attribute:"autocomplete",currentValue:x,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(D.outerHTML||"").slice(0,300)});continue}if(x)continue;let T=D.form||D.closest("form"),I=m(T),M=uniqueSel(D);d.push({selector:M,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(I?"new/signup/change password form":"login form")+" | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:I?"new-password":"current-password",outerHtml:(D.outerHTML||"").slice(0,300)});}let C=document.querySelectorAll("form"),E=/\*|\brequired\b|\bmandatory\b/i;for(let F of C){if(d.length>=30)break;let D=F;if(isWidget(D)||!isVisible(D))continue;let x=D.querySelectorAll("input[required], select[required], textarea[required]");if(!x.length)continue;let k=0;for(let z of x)isVisible(z)&&k++;if(k===0)continue;let T=D.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),I=0;for(let z of T)isVisible(z)&&I++;if(k>=I||(D.getAttribute("data-asw-required-hint")||"").trim())continue;let M=(D.textContent||"").trim();if(E.test(M))continue;let V=uniqueSel(D);d.push({selector:V,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${k} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let A='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 F of C){if(d.length>=30)break;let D=F;if(isWidget(D)||!isVisible(D)||isHiddenFromAT(D))continue;let x=[];for(let z of D.querySelectorAll(S))isVisible(z)&&x.push(z);if(x.length===0||D.querySelector(A))continue;let k=D.getAttribute("id");if(k){let z=false;for(let Y of document.querySelectorAll(A))if(Y.getAttribute("form")===k){z=true;break}if(z)continue}if(((D.getAttribute("role")||"").toLowerCase()==="search"||!!D.closest('[role="search"]'))&&x.length===1)continue;let I=x.slice(0,4).map(z=>z.tagName.toLowerCase()+(z.tagName==="INPUT"?"["+(z.getAttribute("type")||"text")+"]":"")).join(", "),M=[];for(let z of D.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(M.length>=3)break;let Y=z;if(!isVisible(Y))continue;let q=((Y.tagName==="INPUT"?Y.getAttribute("value"):Y.textContent)||Y.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);M.push('"'+q+'"');}if(M.length&&!(D.getAttribute("action")||"").trim())continue;let V=M.length?" Buttons present that are not a submit control (type=button or role=button): "+M.join(", ")+".":"";d.push({selector:uniqueSel(D),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${x.length} visible field(s) (${I}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+x.length+" visible field(s) ("+I+") 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."+V,outerHtml:(D.outerHTML||"").slice(0,300)});}return d},Ah={name:"formAttributes",cap:30,async detect(f){return f.evaluate(oI)}};var sI=()=>{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"}]:[]},Eh={name:"htmlLang",async detect(f){return f.evaluate(sI)}};var lI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],m=/^(iframe|embed|widget|frame|content|untitled)$/i,y=document.querySelectorAll("iframe");for(let v of y){if(g.length>=50)break;if(v.closest(f))continue;let w=(v.getAttribute("aria-hidden")||"").trim(),C=(v.getAttribute("role")||"").trim().toLowerCase();if(w==="true"||C==="presentation")continue;let E=getComputedStyle(v);if(v.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let A=(v.getAttribute("title")||"").trim(),S=A.length===0,F=!S&&(A.length<3||m.test(A));if(!S&&!F)continue;let D=(v.getAttribute("src")||"").toLowerCase(),x=uniqueSel(v),k=getNearbyContext(v),T="src: "+D.slice(0,120)+(k.nearbyHeading?" | heading: "+k.nearbyHeading:""),I=false;for(let M of h)if(D.includes(M.pattern)){g.push({selector:x,attribute:"title",currentValue:A,issueType:"missing_label",wcag:"4.1.2",context:T,needsAI:false,fixValue:M.title,outerHtml:v.outerHTML.slice(0,300)}),I=true;break}!I&&S&&g.push({selector:x,attribute:"title",currentValue:A,issueType:"missing_label",wcag:"4.1.2",context:T,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return g},Ch={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(lI)}};var uI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],h=[],m={email:"email",tel:"tel",password:"current-password"},y=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],v=document.querySelectorAll("input, select, textarea");for(let w of v){if(h.length>=50)break;if(w.closest(f))continue;let C=w,E=(C.getAttribute("type")||"text").toLowerCase();if(d.includes(E)||C.getAttribute("autocomplete")||!isVisible(C))continue;let A="";if(m[E]&&(A=m[E]),!A){let F=(C.getAttribute("name")||"").toLowerCase(),D=(C.getAttribute("id")||"").toLowerCase(),x=(C.getAttribute("placeholder")||"").toLowerCase(),k=F+" "+D+" "+x;for(let T of y)if(k.includes(T.pattern)){A=T.autocomplete;break}}if(!A)continue;if(A==="country"){let F=false;if(C.tagName==="SELECT"){let D=Array.from(C.options).map(x=>(x.value||"").trim()).filter(Boolean);F=D.length>0&&D.every(x=>/^[A-Za-z]{2}$/.test(x));}F||(A="country-name");}let S=uniqueSel(C);h.push({selector:S,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+E+" | name: "+(C.getAttribute("name")||"")+" | id: "+(C.getAttribute("id")||""),needsAI:false,fixValue:A});}return h},Sh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(uI)}};var cI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function m(v){let w=v.getBoundingClientRect();if(w.width===0&&w.height===0)return false;let C=-window.scrollX,E=-window.scrollY,A=document.documentElement,S=getComputedStyle(v).position;if(S==="fixed")return false;let F=S==="absolute";for(let D=v.parentElement;D&&D!==document.body&&D!==A;D=D.parentElement){let x=getComputedStyle(D);if(F){if(x.position==="static")continue;F=false;}if(/auto|scroll/.test(x.overflowX+" "+x.overflowY))return false;let k=x.overflowX==="hidden"||x.overflowX==="clip",T=x.overflowY==="hidden"||x.overflowY==="clip";if(!k&&!T)continue;let I=D.getBoundingClientRect();if(k&&(w.right<=I.left||w.left>=I.right)||T&&(w.bottom<=I.top||w.top>=I.bottom))return true;if(S=x.position,S==="fixed")return false;S==="absolute"&&(F=true);}return w.right<=C||w.bottom<=E||w.left>=C+A.scrollWidth||w.top>=E+A.scrollHeight}let y=document.querySelectorAll(h);for(let v of y){if(g.length>=30)break;if(v.closest(f)||!v.hasAttribute("tabindex"))continue;let w=v.getAttribute("tabindex")||"",C=parseInt(w,10);if(!Number.isFinite(C)||C===0||v.getAttribute("aria-disabled")==="true"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.closest("[hidden]"))continue;let E=v.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(E&&!(E.hasAttribute("open")||E.getAttribute("aria-modal")==="true"||E.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(v)||C<0&&m(v))continue;let A=(v.getAttribute("role")||"").toLowerCase();if(C<0&&v.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let F=typeof uniqueSel=="function"?uniqueSel(v):"",D=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},x,k;C<0?(x="keyboard_trap",k="2.1.1"):(x="focus_order_disruption",k="2.4.3");let T=[];T.push("tabindex: "+C),T.push("tag: "+v.tagName.toLowerCase()),A&&T.push("role: "+A),D.nearbyHeading&&T.push("heading: "+D.nearbyHeading),T.push("parent: "+D.parentTag),g.push({selector:F,attribute:"tabindex",currentValue:String(C),issueType:x,wcag:k,context:T.join(" | "),needsAI:false,fixValue:"0",outerHtml:(v.outerHTML||"").slice(0,300)});}return g},kh={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(cI)}};var dI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],m=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let y of Array.from(m)){if(g.length>=40)break;if(y.closest(f)||typeof isVisible=="function"&&!isVisible(y))continue;let v="",w=[],C=[];try{let $=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,X=/icon|awesome|glyph|material symbols|dashicons/i,K=!1;try{K=X.test(getComputedStyle(y).fontFamily||"");}catch{}let te=document.createTreeWalker(y,NodeFilter.SHOW_TEXT),Z;for(;Z=te.nextNode();){let xe=Z.parentElement;if(!xe)continue;let Ie=(Z.textContent||"").trim();if(!Ie||xe===y&&K)continue;let Ae=!1,Se=!1;for(let je=xe;je&&je!==y;je=je.parentElement){if(je.tagName==="KBD"&&(Se=!0),je.getAttribute("aria-hidden")==="true"){Ae=!0;break}if($.test(je.className||"")||$.test(je.id||"")){Ae=!0;break}try{let Le=getComputedStyle(je);if(Le.display==="none"||Le.visibility==="hidden"){Ae=!0;break}if(parseFloat(Le.opacity||"1")===0){Ae=!0;break}if(X.test(Le.fontFamily||"")){Ae=!0;break}}catch{}}!Ae&&/[\p{L}\p{N}]/u.test(Ie)&&C.push({text:Ie,kbd:Se});}let ne=0,ae=C.length;for(;ne<ae&&C[ne].kbd;)ne++;for(;ae>ne&&C[ae-1].kbd;)ae--;let ue=ne<ae?C.slice(ne,ae):C;for(let xe of ue)w.push(xe.text);v=w.join(" ").trim().toLowerCase();}catch{v=((y.innerText!=null?y.innerText:y.textContent)||"").trim().toLowerCase();}if(!v||!/[\p{L}\p{N}]/u.test(v)||/^\p{L}$/u.test(v))continue;let A=/[\p{L}\p{N}\p{M}]/u,S=(y.getAttribute("aria-label")||"").trim().toLowerCase();if(!S){let $=y.getAttribute("aria-labelledby");$&&(S=(typeof __resolveIdRefs=="function"?__resolveIdRefs($):"").toLowerCase());}if(!S)continue;let F=v.replace(/\s+/g," ").normalize("NFC"),D=S.replace(/\s+/g," ").normalize("NFC"),x=/[\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,k=($,X)=>!$||!A.test($)||x.test($)||x.test(X),T=($,X)=>{if(X<=0)return "";let K=$.charCodeAt(X-1);return K>=56320&&K<=57343&&X>=2?$.slice(X-2,X):$.charAt(X-1)},I=($,X)=>{let K=$.codePointAt(X);return K===void 0?"":String.fromCodePoint(K)},M=F.substring(0,40),V=F.length>=40,z=I(M,0),Y=T(M,M.length),q=false;for(let $=0;!q;){let X=D.indexOf(M,$);if(X<0)break;k(T(D,X),z)&&(V||k(I(D,X+M.length),Y))&&(q=true),$=X+1;}if(q)continue;if(w.length>1){let $=true,X=0;for(let K of w){let te=K.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!te)continue;let Z=te.slice(0,40),ne=-1;for(let ae=X;;){let ue=D.indexOf(Z,ae);if(ue<0)break;let xe=k(T(D,ue),I(Z,0)),Ie=Z.length>=40||k(I(D,ue+Z.length),T(Z,Z.length));if(xe&&Ie){ne=ue;break}ae=ue+1;}if(ne<0){$=false;break}X=ne+Z.length;}if($)continue}let P=typeof uniqueSel=="function"?uniqueSel(y):"",O=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},B=[];B.push("visible: "+v.slice(0,40)),B.push("aria-label: "+S.slice(0,60)),O.nearbyHeading&&B.push("heading: "+O.nearbyHeading),B.push("parent: "+O.parentTag),g.push({selector:P,attribute:"aria-label",currentValue:S,issueType:"label_in_name",wcag:"2.5.3",context:B.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},Th={name:"labelInName",cap:40,async detect(f){return f.evaluate(dI)}};var fI=()=>{function f(E){let A=E.closest("section,article,div,nav,main,aside,header,footer"),S=A?A.querySelector("h1,h2,h3,h4,h5,h6"):null;return S?(S.textContent||"").trim().slice(0,80):""}let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",g=50,h=[],m=document.querySelectorAll("div, section, ul, ol");for(let E of m){if(h.length>=g)break;if(E.closest(d)||!isVisible(E)||isHiddenFromAT(E)||E.tagName.toLowerCase()==="nav")continue;let A=E.getAttribute("role");if(A&&A!=="navigation")continue;let S=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),F=(E.id||"").toLowerCase();if(!(S.includes("nav")||S.includes("menu")||S.includes("navigation")||F.includes("nav")||F.includes("menu")||F.includes("navigation"))||E.closest('nav, [role="navigation"]'))continue;let x=Array.from(E.querySelectorAll('nav, [role="navigation"]')).filter(z=>isVisible(z)&&!isHiddenFromAT(z)),k=Array.from(E.querySelectorAll("a[href]")).filter(z=>!x.some(Y=>Y.contains(z)));if(k.length<3)continue;let T=E.closest('header, [role="banner"], footer, [role="contentinfo"]'),M=!!T&&Array.from(T.querySelectorAll('nav, [role="navigation"]')).some(z=>!E.contains(z)&&isVisible(z)&&!isHiddenFromAT(z))||x.length>0,V=uniqueSel(E);h.push({selector:V,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:k.length,classes:S.slice(0,80)}),needsAI:false,fixValue:"navigation",...M?{needsReview:true,reviewReason:x.length>0?"this container already holds a navigation landmark \u2014 confirm the links outside it are a separate navigation block before adding a second one":"this header/footer region already has a navigation landmark \u2014 confirm these links are a separate navigation block before adding a second one"}:{},outerHtml:E.outerHTML.slice(0,300)});}let y=document.querySelectorAll('aside, [role="complementary"]'),v=Array.from(y).filter(E=>!E.closest(d)&&isVisible(E)&&!isHiddenFromAT(E));if(v.length>1)for(let E of v){if(h.length>=g)break;let A=E.getAttribute("aria-label")||"",S=E.getAttribute("aria-labelledby")||"",F=E.getAttribute("title")||"";if(A.trim()||S.trim()||F.trim())continue;let D=f(E),x=uniqueSel(E);h.push({selector:x,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:y.length,nearbyHeading:D}),needsAI:true,outerHtml:E.outerHTML.slice(0,300)});}let w=document.querySelectorAll('nav, [role="navigation"]'),C=Array.from(w).filter(E=>!E.closest(d)&&isVisible(E)&&!isHiddenFromAT(E));if(C.length>1)for(let E of C){if(h.length>=g)break;let A=E.getAttribute("aria-label")||"",S=E.getAttribute("aria-labelledby")||"",F=E.getAttribute("title")||"";if(A.trim()||S.trim()||F.trim())continue;let D=f(E),x=uniqueSel(E);h.push({selector:x,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:w.length,nearbyHeading:D}),needsAI:true,outerHtml:E.outerHTML.slice(0,300)});}return h},Rh={name:"landmarkRoles",cap:50,async detect(f){return f.evaluate(fI)}};var pI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],h=[];function m(A){if(!A)return "";let S=A.split("#")[0];return S.length>1&&S.charAt(S.length-1)==="/"&&(S=S.substring(0,S.length-1)),S}function y(A){let S=(A.getAttribute("aria-label")||"").trim();return S||(A.textContent||"").trim().replace(/\s+/g," ")}function v(A){return !!A.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},C=document.querySelectorAll("a[href]");for(let A=0;A<C.length;A++){let S=C[A];if(S.closest(f)||S.getAttribute("aria-hidden")==="true"||!isVisible(S))continue;let F=S.getAttribute("href")||"";if(!F)continue;let D=F.toLowerCase();if(D.charAt(0)==="#"||D.indexOf("javascript:")===0||D.indexOf("mailto:")===0||D.indexOf("tel:")===0)continue;let x=S.href||F,k=m(x);if(!k||v(S))continue;let T=(S.textContent||"").trim(),I=!!S.querySelector("img, svg, picture");if(!T&&I)continue;let M=y(S);if(!M)continue;let V=M.toLowerCase();V===D||V===x.toLowerCase()||(w[k]||(w[k]=[]),w[k].push(S));}let E=Object.keys(w);for(let A=0;A<E.length&&!(h.length>=30);A++){let S=w[E[A]];if(!S||S.length<2)continue;let F={},D="";for(let I=0;I<S.length;I++){let M=y(S[I]),V=M.toLowerCase();F[V]=true,M.length>D.length&&(D=M);}if(Object.keys(F).length<2)continue;let k=D.toLowerCase().trim();if(k.length<5)continue;let T=false;for(let I=0;I<g.length;I++)if(k===g[I]){T=true;break}if(!T)for(let I=0;I<S.length&&!(h.length>=30);I++){let M=S[I],V=y(M);if(V.toLowerCase()===k)continue;let z=uniqueSel(M);h.push({selector:z,attribute:"aria-label",currentValue:V,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+S.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:M.outerHTML.slice(0,300)});}}return h},Fh={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(pI)}};var mI=()=>{let d=[],g=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],h={".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"},m="";try{m=window.location&&window.location.hostname||"";}catch{m="";}m=(m||"").toLowerCase();function y(x,k){if(!x||!k)return false;if(x===k||x.endsWith("."+k)||k.endsWith("."+x))return true;let T=I=>{let M=I.split(".");if(M.length<=2)return I;let V=M[M.length-1],z=M[M.length-2],Y=["co","com","net","org","ac","gov","edu"],q=V.length===2&&Y.indexOf(z)>=0?3:2;return M.slice(-q).join(".")};return T(x)===T(k)}function v(x){return x.indexOf("www.")===0?x.slice(4):x}function w(x){if(!x)return "";let k=x.toLowerCase();if(k.charAt(0)==="#"||k.charAt(0)==="/"||k.charAt(0)==="?"||k.indexOf("javascript:")===0||k.indexOf("mailto:")===0||k.indexOf("tel:")===0)return "";try{return (new window.URL(x,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function C(x){if(!x)return "";let k=x,T=k.indexOf("?");T>=0&&(k=k.slice(0,T));let I=k.indexOf("#");I>=0&&(k=k.slice(0,I)),k=k.toLowerCase();for(let M=0;M<g.length;M++){let V=g[M];if(k.length>=V.length&&k.slice(k.length-V.length)===V)return V}return ""}function E(x){let k=[],T=(x.getAttribute("aria-label")||"").trim();T&&k.push(T);let I=(x.getAttribute("title")||"").trim();I&&k.push(I);let M=x.getAttribute("aria-labelledby");if(M)try{let V=typeof __resolveIdRefs=="function"?__resolveIdRefs(M):"";V&&k.push(V);}catch{}return k.push((x.textContent||"").trim()),k.join(" ").toLowerCase()}function A(x,k,T){let I="";try{typeof getAccessibleName=="function"&&(I=(getAccessibleName(x)||"").trim());}catch{}let M=(k||T||I||x.textContent||"").replace(/\s+/g," ").trim();return M||(x.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function S(x,k){let I=200-k.length;I<8&&(I=8);let M=x;if(M.length>I){let V=M.slice(0,I),z=V.lastIndexOf(" ");z>I*.6&&(V=V.slice(0,z)),M=V.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (M+k).slice(0,200)}let F=document.querySelectorAll("a"),D=F.length;for(let x=0;x<D&&!(d.length>=50);x++){let k=F[x];if(!k||isWidget(k)||k.getAttribute("aria-hidden")==="true")continue;try{if(k.closest&&k.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(k))continue;let T=k.getAttribute("href");if(T==null)continue;let I=String(T).trim();if(!I)continue;let M=I.toLowerCase(),V=E(k),z=(k.getAttribute("rel")||"").toLowerCase(),Y=uniqueSel(k),q=(k.textContent||"").trim().slice(0,80),P=(k.getAttribute("target")||"").toLowerCase(),O=(k.outerHTML||"").slice(0,300),B=I==="#",$=M.indexOf("javascript:")===0;if((B||$)&&(k.getAttribute("role")||"").toLowerCase()!=="button"){let ae=k.hasAttribute&&k.hasAttribute("onclick"),ue=k.hasAttribute&&(k.hasAttribute("data-action")||k.hasAttribute("data-click")||k.hasAttribute("data-toggle")||k.hasAttribute("data-target")),xe=typeof k.onclick=="function",Ie=ae||ue||xe,Ae=[];Ae.push("href: "+I),q&&Ae.push("text: "+q),Ae.push(Ie?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Se='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"]',je=Te=>{if(getComputedStyle(Te).visibility==="hidden")return false;for(let Bt=Te;Bt&&Bt.nodeType===1;Bt=Bt.parentElement)if(getComputedStyle(Bt).display==="none")return false;return true},Le=Array.prototype.some.call(k.querySelectorAll(Se),Te=>je(Te)&&!isHiddenFromAT(Te));Ie&&!Le&&d.push({selector:Y,attribute:"role",currentValue:I,issueType:"placeholder_link",wcag:"2.4.4",context:Ae.join(" | "),needsAI:false,fixValue:"button",outerHtml:O});continue}if(I.charAt(0)==="#"&&I.length>1){let ne=I.slice(1),ae=ne;try{ae=decodeURIComponent(ne);}catch{ae=ne;}let ue=null;try{ue=document.getElementById(ae);}catch{ue=null;}if(!ue)try{ue=document.querySelector('[name="'+ae.replace(/"/g,'\\"')+'"]');}catch{ue=null;}continue}let X=C(M);if(X){let ne=k.hasAttribute&&k.hasAttribute("download"),ae=(h[X]||X).toLowerCase(),ue=V.indexOf(X)>=0||V.indexOf(ae)>=0||V.indexOf("download")>=0;if(!ne&&!ue){let xe=A(k,(k.getAttribute("aria-label")||"").trim(),""),Ie=S(xe," ("+(h[X]||X)+" download)");d.push({selector:Y,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+X+" | href: "+I.slice(0,120),needsAI:false,fixValue:Ie,outerHtml:O});continue}}let K=w(I),te=M.indexOf("http://")===0||M.indexOf("https://")===0||M.indexOf("//")===0,Z=!!K&&!!m&&!y(v(K),v(m));if(P==="_blank"){let ne=z.indexOf("noopener")>=0||z.indexOf("noreferrer")>=0,ae=V.indexOf("new window")>=0||V.indexOf("new tab")>=0||V.indexOf("opens in")>=0;if(!ae){let ue=(k.getAttribute("aria-label")||"").trim(),xe="",Ie=k.getAttribute("aria-labelledby")||"";if(!ue&&Ie)try{typeof __resolveIdRefs=="function"&&(xe=(__resolveIdRefs(Ie)||"").trim());}catch{}let Ae=A(k,ue,xe),Se=S(Ae," (opens in new window)"),je=[];ne||je.push("missing rel=noopener"),ae||je.push('missing "new window" hint'),je.push("href: "+I.slice(0,120)),d.push({selector:Y,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:je.join(" | "),needsAI:false,fixValue:Se,outerHtml:O});continue}}if(Z&&te){let ne=z.indexOf("external")>=0,ae=V.indexOf("external")>=0||V.indexOf("opens in")>=0||V.indexOf("new window")>=0||V.indexOf("new tab")>=0;if(!ne&&!ae){let ue=(k.getAttribute("aria-label")||"").trim(),xe="",Ie=k.getAttribute("aria-labelledby")||"";if(!ue&&Ie)try{typeof __resolveIdRefs=="function"&&(xe=(__resolveIdRefs(Ie)||"").trim());}catch{}let Ae=A(k,ue,xe),Se=S(Ae," (external link)");d.push({selector:Y,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+K+" (page: "+m+") | href: "+I.slice(0,120),needsAI:false,fixValue:Se,outerHtml:O});}}}return d},Ih={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(mI)}};var hI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],h=new Set,m=document.querySelectorAll('main, [role="main"]'),y=[];return m.forEach(v=>{let w=getComputedStyle(v);w.display!=="none"&&w.visibility!=="hidden"&&y.push(v);}),m.forEach(v=>{if(g.length>=10||v.closest(f)||v.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(v);if(w.display==="none"||w.visibility==="hidden"||v.closest('[role="dialog"]')||v.closest('[role="alertdialog"]')||v.closest("dialog")||y.some(S=>S!==v&&S.getAttribute("aria-hidden")!=="true"))return;let E=v.parentElement;for(;E&&E!==document.body&&E!==document.documentElement;){if(E.getAttribute("aria-hidden")==="true")return;E=E.parentElement;}let A=uniqueSel(v);h.has(A)||(h.add(A),g.push({selector:A,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:v.tagName.toLowerCase(),role:v.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:(v.outerHTML||"").slice(0,300)}));}),g},Lh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(hI)}};var gI=()=>{let d=[];function g(v){return !!(!v||isWidget(v)||(v.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function h(v){return (v.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let v of m){if(d.length>=10)break;let w=v;if(g(w))continue;let C=w.hasAttribute("controls"),E=w.hasAttribute("autoplay"),A=w.hasAttribute("muted"),S=E||!w.paused&&!w.ended,F=typeof isVisible=="function"?isVisible(w):true;if(!C&&S&&F&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),d.length>=10))break;E&&!A&&d.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:h(w)});}let y=document.querySelectorAll("audio");for(let v of y){if(d.length>=10)break;let w=v;if(g(w))continue;let C=w.hasAttribute("controls"),E=w.hasAttribute("autoplay"),A=E||!w.paused&&!w.ended;if(!C&&A&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),d.length>=10))break;E&&d.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:h(w)});}return d},Ph={name:"mediaControls",cap:10,async detect(f){return f.evaluate(gI)}};var vI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,m=/^(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,y=document.querySelectorAll("img");for(let v of y){if(g.length>=50)break;if(v.closest(f))continue;let w=v.getAttribute("src")||"",C=v.getAttribute("alt");if(w.startsWith("data:"))continue;let E=v.naturalWidth||v.width,A=v.naturalHeight||v.height;if(E<=3&&A<=3&&E>0&&A>0||E<=2&&A<=2)continue;let S=v.getBoundingClientRect();if(S.width<=2&&S.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let F=(v.getAttribute("aria-label")||"").trim(),D=(v.getAttribute("aria-labelledby")||"").trim();if(F||D)continue;let x=v.getBoundingClientRect(),k=x.width>0&&x.width<=30&&x.height<=30,T=!!v.closest('a, button, [role="button"], [role="link"]');if(k&&!T&&C===null){let Y=uniqueSel(v);g.push({selector:Y,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(x.width)+"x"+Math.round(x.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(C===null){let Y=uniqueSel(v),q=getNearbyContext(v),P=[],O=v.closest("figure");if(O){let X=O.querySelector("figcaption");X&&P.push("figcaption: "+(X.textContent||"").trim().slice(0,80));}q.nearbyHeading&&P.push("heading: "+q.nearbyHeading);let B=v.closest("a");if(B){let X=B.getAttribute("href")||"",K=(B.textContent||"").trim().replace(/\s+/g," ");K&&P.push("link text: "+K.slice(0,60)),X&&P.push("link href: "+X.slice(0,80));}w&&P.push("src: "+w.slice(0,120)),P.push("parent: "+q.parentTag);let $=w;try{$=new URL(w,document.baseURI).href;}catch{}g.push({selector:Y,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:P.join(" | "),needsAI:true,imageSrc:$,outerHtml:v.outerHTML.slice(0,300)});continue}let I=(C||"").trim();if(I==="")continue;let M=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(I),V=h.test(I),z=m.test(I);if(M||V||z){let Y=uniqueSel(v),q=getNearbyContext(v),P=[];q.nearbyHeading&&P.push("heading: "+q.nearbyHeading),w&&P.push("src: "+w.slice(0,120)),P.push("parent: "+q.parentTag);let O=w;try{O=new URL(w,document.baseURI).href;}catch{}g.push({selector:Y,attribute:"alt",currentValue:I,issueType:"missing_alt",wcag:"1.1.1",context:P.join(" | "),needsAI:true,imageSrc:O,outerHtml:v.outerHTML.slice(0,300)});}}return g},Mh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(vI)}};var bI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",d='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',g=["onclick","data-action","ng-click","@click","v-on:click"],h=x=>{if(getComputedStyle(x).visibility==="hidden")return false;for(let k=x;k&&k.nodeType===1;k=k.parentElement)if(getComputedStyle(k).display==="none")return false;return true},m=x=>Array.prototype.some.call(x.querySelectorAll("a:not([href])"),k=>h(k)&&!isHiddenFromAT(k)&&g.some(T=>k.hasAttribute(T))),y=x=>Array.prototype.some.call(x.querySelectorAll(d),k=>h(k)&&!isHiddenFromAT(k)),w=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(x=>{if(w.length>=50||x.closest(f)||!isVisible(x)||isHiddenFromAT(x)||y(x)||m(x))return;let k=x.getAttribute("role");if(k==="button"||k==="link"||k==="tab"||k==="menuitem"||k==="checkbox"||k==="radio")return;let T=uniqueSel(x),I=x.outerHTML.slice(0,300);w.push({selector:T,attribute:"role",currentValue:k||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),hasOnclick:true,currentTabindex:x.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:I}),x.getAttribute("tabindex")===null&&w.push({selector:T,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:I});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(x=>{if(w.length>=50||x.closest(f)||!isVisible(x)||isHiddenFromAT(x)||x.getAttribute("role"))return;let T=x.hasAttribute("onclick"),I=x.getAttribute("data-action")||x.getAttribute("ng-click")||x.getAttribute("@click")||x.getAttribute("v-on:click");if(!T&&!I||y(x))return;let M=uniqueSel(x),V=x.outerHTML.slice(0,300);w.push({selector:M,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:x.getAttribute("href")||"",hasOnclick:T}),needsAI:false,fixValue:"button",outerHtml:V});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(x=>{if(w.length>=50||x.closest(f)||!isVisible(x)||isHiddenFromAT(x)||x.getAttribute("role"))return;let T=x.getAttribute("href")||"",I=false;if(T.startsWith("#")&&T.length>1){if(T.charAt(1)==="/")return;let Y=T.slice(1);if(document.getElementById(Y))return;try{if(document.querySelector('[name="'+CSS.escape(Y)+'"]'))return}catch{}I=true;}let M=T.startsWith("javascript:")||x.hasAttribute("onclick")||x.getAttribute("data-action")||x.getAttribute("ng-click")||x.getAttribute("@click")||x.getAttribute("v-on:click")||x.hasAttribute("aria-haspopup")||x.hasAttribute("aria-expanded")||x.hasAttribute("aria-controls"),V=I&&!M;if(y(x))return;let z=uniqueSel(x);w.push({selector:z,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:T,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:x.outerHTML.slice(0,300),...V?{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(x=>{if(w.length>=50||x.closest(f)||!isVisible(x)||isHiddenFromAT(x))return;let k=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),T=(x.id||"").toLowerCase();if(!k.includes("breadcrumb")&&!k.includes("crumb")&&!T.includes("breadcrumb")&&!T.includes("crumb"))return;let I=x.querySelectorAll("a");if(I.length<2)return;let M=(x.getAttribute("aria-label")||"").toLowerCase(),V=x.getAttribute("role");if(M.includes("breadcrumb")||M.includes("crumb")||V==="navigation"&&M)return;let z=uniqueSel(x);w.push({selector:z,attribute:"aria-label",currentValue:M,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:I.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:x.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(x=>{if(w.length>=50||x.closest(f)||!isVisible(x)||isHiddenFromAT(x))return;let k=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),T=(x.id||"").toLowerCase();if(!k.includes("search")&&!T.includes("search")||!x.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let M=x.getAttribute("role");if(M==="search"||x.closest('[role="search"]')||x.querySelector('[role="search"]')||Array.prototype.some.call(x.querySelectorAll("form, section, div"),Y=>{let q=(Y.className&&typeof Y.className=="string"?Y.className:"").toLowerCase(),P=(Y.id||"").toLowerCase();return !q.includes("search")&&!P.includes("search")||Y.getAttribute("role")==="search"?false:!!Y.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let z=uniqueSel(x);w.push({selector:z,attribute:"role",currentValue:M||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:x.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(x=>{if(x.closest(f))return;let k=x.getAttribute("role")||"menu",T=Array.from(x.querySelectorAll("a")).filter(M=>{if(!isVisible(M)||isHiddenFromAT(M))return false;let V=M.getAttribute("role");return V!=="menuitem"&&V!=="menuitemcheckbox"&&V!=="menuitemradio"});if(T.length===0)return;let I=uniqueSel(x);w.push({selector:I,attribute:"role",currentValue:k,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:`${T.length} link(s) inside role="${k}" without menuitem roles`,sample:T.slice(0,3).map(M=>(M.textContent||"").trim().slice(0,40))}),message:`container role="${k}" holds ${T.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:x.outerHTML.slice(0,300)});}),w},Oh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(bI)}};var yI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,y]of Object.entries(h))document.querySelectorAll(y).forEach(w=>{if(g.length>=30||w.closest(f)||typeof isVisible=="function"&&!isVisible(w))return;let C=w.parentElement,E=null;for(;C&&C!==document.body;){if(C.matches(y)){E=C;break}C=C.parentElement;}if((m==="banner"||m==="contentinfo")&&w.closest("article, section, aside, main, nav")||!E||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let A=typeof uniqueSel=="function"?uniqueSel(w):"",S=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};g.push({selector:A,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${w.tagName.toLowerCase()} | heading: ${S.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return g},Nh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(yI)}};var wI=()=>{let d=[],g=q=>typeof parseCssColor=="function"?parseCssColor(q):null,h=(q,P,O)=>typeof relLuminance=="function"?relLuminance(q,P,O):0,y=(q,P)=>typeof contrastRatio=="function"?contrastRatio(q,P):1;function v(q){let P=document.documentElement,O=q.parentElement,B=0;for(;O&&O!==P&&B<6;){let te=getComputedStyle(O).backgroundColor||"",Z=g(te);if(Z&&Z[3]>.5)return [Z[0],Z[1],Z[2]];O=O.parentElement,B++;}let $=document.body;if(O&&O!==P&&$&&$.contains(O)){let te=g(getComputedStyle($).backgroundColor||"");if(te&&te[3]>.5)return [te[0],te[1],te[2]]}let X=g(getComputedStyle(P).backgroundColor||""),K=X?Math.min(X[3],1):0;return !X||K<=0?[255,255,255]:[Math.round(X[0]*K+255*(1-K)),Math.round(X[1]*K+255*(1-K)),Math.round(X[2]*K+255*(1-K))]}function w(q,P,O){return "#"+[q,P,O].map(B=>{let $=Math.max(0,Math.min(255,Math.round(B))).toString(16);return $.length===1?"0"+$:$}).join("")}function C(q,P,O){let B=h(P[0],P[1],P[2])>.5;return E(q,P,O,B)||E(q,P,O,!B)}function E(q,P,O,B){let $=0,X=1,K=null;for(let te=0;te<20;te++){let Z=($+X)/2,ne=B?[q[0]*(1-Z),q[1]*(1-Z),q[2]*(1-Z)]:[q[0]+(255-q[0])*Z,q[1]+(255-q[1])*Z,q[2]+(255-q[2])*Z],ae=[Math.round(ne[0]),Math.round(ne[1]),Math.round(ne[2])];y(ae,P)>=O?(K=ae,X=Z):$=Z;}return K}let A=(q,P)=>{let O=Math.max(0,Math.min(1,q[3]));return [q[0]*O+P[0]*(1-O),q[1]*O+P[1]*(1-O),q[2]*O+P[2]*(1-O)]};function S(q,P){let O=q.boxShadow||"";if(!O||O==="none")return null;let B=[],$=0,X="";for(let te of O)te==="("&&$++,te===")"&&$--,te===","&&$===0?(B.push(X),X=""):X+=te;X&&B.push(X);let K=null;for(let te of B){let Z=te.match(/rgba?\([^)]*\)/),ne=Z?g(Z[0]):null;if(!ne||ne[3]<=0||(te.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(Ie=>parseFloat(Ie)).filter(Ie=>Number.isFinite(Ie))[3]??0)<=0)continue;let xe=y(A(ne,P),P);(K===null||xe>K)&&(K=xe);}return K}function F(q){let P=getComputedStyle(q),O=v(q),B=null,$=parseFloat(P.borderTopWidth||"0"),X=(P.borderTopStyle||"").toLowerCase(),K=g(P.borderTopColor||"");$>0&&X!=="none"&&X!=="hidden"&&K&&K[3]>0&&(B=y(A(K,O),O));let te=g(P.backgroundColor||"");if(te&&te[3]>0){let ne=y(A(te,O),O);(B===null||ne>B)&&(B=ne);}let Z=S(P,O);return Z!==null&&(B===null||Z>B)&&(B=Z),B}function D(q){let P=q.getBoundingClientRect();if(P.width*P.height<=0)return null;let O='input, select, textarea, button, [role="button"], svg, img, i, label',B=q.parentElement,$=null;for(let X=0;B&&X<3&&!(B===document.body||B===document.documentElement);X++,B=B.parentElement){let K=B.getBoundingClientRect();if(K.width*K.height>4*P.width*P.height+1||K.height>Math.max(2.5*P.height,P.height+40))break;let te=false,Z=document.createTreeWalker(B,4),ne=Z.nextNode();for(;ne;){if((ne.textContent||"").trim()&&ne.parentElement&&!ne.parentElement.closest(O)&&isVisible(ne.parentElement)){te=true;break}ne=Z.nextNode();}if(te)break;let ae=F(B);ae!==null&&ae>1.01&&($===null||ae>$)&&($=ae);}return $}let x=q=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((q.tagName||"").toLowerCase())||(getComputedStyle(q).backgroundImage||"none")!=="none",k=(q,P)=>{let O=Math.min(q.right,P.right)-Math.max(q.left,P.left),B=Math.min(q.bottom,P.bottom)-Math.max(q.top,P.top);return O>0&&B>0&&O*B/(q.width*q.height)>=.5},T=null;function I(q){let P=q.getBoundingClientRect();if(P.width*P.height<=0)return false;let O=P.left+P.width/2,B=P.top+P.height/2;if(O>=0&&B>=0&&O<window.innerWidth&&B<window.innerHeight&&typeof document.elementsFromPoint=="function"){let X=document.elementsFromPoint(O,B),K=X.indexOf(q);if(K>=0){for(let te of X.slice(K+1)){if(x(te))return true;let Z=g(getComputedStyle(te).backgroundColor||"");if(Z&&Z[3]>.5)return false}return false}}for(let X=q.parentElement,K=0;X&&K<8;X=X.parentElement,K++){let te=getComputedStyle(X);if((te.backgroundImage||"none")!=="none")return true;let Z=g(te.backgroundColor||"");if(Z&&Z[3]>.5||X===document.documentElement)break}T||(T=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let X of T)if(!(X===q||q.contains(X)||X.contains(q))&&k(P,X.getBoundingClientRect())&&isVisible(X))return true;let $=q.offsetParent||q.parentElement;if($&&$!==document.body&&$!==document.documentElement){let X=$.getElementsByTagName("*");for(let K=0;K<X.length&&K<400;K++){let te=X[K];if(!(te===q||q.contains(te)||te.contains(q))&&k(P,te.getBoundingClientRect())&&(getComputedStyle(te).backgroundImage||"none")!=="none"&&isVisible(te))return true}}return false}function M(q){for(let $=q.parentElement;$&&$.nodeType===1;$=$.parentElement)if(parseFloat(getComputedStyle($).opacity||"1")<1)return false;let P=$=>{if($.tagName.toLowerCase()!=="svg"){let te=g(getComputedStyle($).color||"");return te&&te[3]>0?[te]:null}let X=[],K=Array.from($.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let te of K){let Z=te.getBoundingClientRect();if(Z.width===0&&Z.height===0)continue;let ne=getComputedStyle(te);if(ne.display==="none"||ne.visibility==="hidden"||parseFloat(ne.opacity||"1")<1)return null;for(let[ae,ue]of [[ne.fill,ne.fillOpacity],[ne.stroke,parseFloat(ne.strokeWidth||"0")>0?ne.strokeOpacity:"0"]]){let xe=String(ae||"");if(!xe||xe==="none"||parseFloat(String(ue??"1"))===0)continue;if(xe.startsWith("url"))return null;let Ie=g(xe);if(!Ie)return null;Ie[3]*=parseFloat(String(ue??"1")),Ie[3]>0&&X.push(Ie);}}return X.length?X:null},O=[];for(let $=0;$<=255;$+=17)O.push($);let B=Array.from(q.querySelectorAll('svg, i[class], [class*="icon"]'));for(let $ of B){let X=$.getBoundingClientRect();if(X.width*X.height===0)continue;let K=getComputedStyle($);if(K.display==="none"||K.visibility==="hidden")continue;let te=P($);if(!te)continue;let Z=null,ne=1,ae=true;for(let Ie=$;Ie;Ie=Ie===q?null:Ie.parentElement){let Ae=getComputedStyle(Ie),Se=parseFloat(Ae.opacity||"1");if(!Z){let je=g(Ae.backgroundColor||""),Le=String(Ae.backgroundClip||"border-box").toLowerCase();if(!(String(Ae.backgroundImage||"none")==="none")){ae=false;break}if(je&&je[3]>=1&&Le==="border-box")Z=[je[0],je[1],je[2]];else if(Se<1){ae=false;break}}Z&&(ne*=Se);}if(!Z||!ae)continue;let ue=Z,xe=1/0;for(let Ie of te){let Ae=A(Ie,ue);for(let Se of O)for(let je of O)for(let Le of O){let Te=[Se,je,Le],Bt=A([Ae[0],Ae[1],Ae[2],ne],Te),dn=A([ue[0],ue[1],ue[2],ne],Te),Gr=y(Bt,dn);Gr<xe&&(xe=Gr);}}if(xe>=3)return true}return false}let V="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 z(q){let P=q.tagName.toLowerCase(),O=P==="input"||P==="select"||P==="textarea"?P+" field":P;d.push({selector:uniqueSel(q),message:"non-text contrast: "+O+" over an image backdrop \u2014 "+V,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:P+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:V,outerHtml:q.outerHTML.slice(0,200)});}let Y=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let q of Y){if(d.length>=30)break;if(isWidget(q)||isHiddenFromAT(q)||!isVisible(q))continue;let P=getComputedStyle(q),O=v(q),B=g(P.backgroundColor||""),$=g(P.borderTopColor||""),X=parseFloat(P.borderTopWidth||"0"),K=(P.borderTopStyle||"").toLowerCase(),te=X>0&&K!=="none"&&K!=="hidden",Z=q.tagName.toLowerCase(),ne=Z==="input"||Z==="select"||Z==="textarea",ae=null;if(Z==="input"){let we=(q.type||"").toLowerCase(),Lr=(P.appearance||P.webkitAppearance||"").toLowerCase();if(we==="checkbox"||we==="radio"){let sr=Lr==="none"?"":String(P.accentColor||"").trim().toLowerCase(),lr=sr&&sr!=="auto"?g(sr):null;if(lr&&lr[3]>.5)ae=y([lr[0],lr[1],lr[2]],O);else if(Lr&&Lr!=="none")continue}}let ue=te&&$&&$[3]>.5?y([$[0],$[1],$[2]],O):null,xe=B&&B[3]>.5?y([B[0],B[1],B[2]],O):ae,Ie=S(P,O),Ae=ue===null&&xe===null&&Ie===null?null:Math.max(ue??0,xe??0,Ie??0);if(ne&&I(q)){z(q);continue}if(ne&&(Ae===null||Ae<3)){let we=D(q);if(we!==null&&we>=3)continue}let Se=null,je=false,Le="";if(ne)Ae!==null?(Se=Ae,Ae<3&&(je=true)):(je=true,Se=1);else {let we=false,Lr=document.createTreeWalker(q,4),sr=Lr.nextNode();for(;sr;){if((sr.textContent||"").trim()&&sr.parentElement&&isVisible(sr.parentElement)){we=true;break}sr=Lr.nextNode();}if(we)continue;let lr=I(q);{let ce=["Top","Right","Bottom","Left"].map(Ne=>({w:parseFloat(P["border"+Ne+"Width"]||"0"),s:String(P["border"+Ne+"Style"]||"").toLowerCase(),c:g(P["border"+Ne+"Color"]||"")})),ge=ce.filter(Ne=>Ne.w>0&&Ne.s!=="none"&&Ne.s!=="hidden"&&Ne.c&&Ne.c[3]>.5),Ge=ce.filter(Ne=>Ne.w>0&&Ne.s!=="none"&&Ne.s!=="hidden"&&Ne.c&&Ne.c[3]===0),et=true;for(let Ne=q.parentElement;Ne&&Ne.nodeType===1;Ne=Ne.parentElement)if(parseFloat(getComputedStyle(Ne).opacity||"1")<1){et=false;break}let it=Math.max(0,Math.min(1,parseFloat(P.opacity||"1"))),ft=String(P.backgroundClip||"border-box").toLowerCase(),Ke=!!B&&B[3]>=1&&it>=1&&ft==="border-box";if(ge.length&&Ge.length&&et&&(!lr||Ke)){let Ne=B&&B[3]>0?A(B,O):O,Gt=A([Ne[0],Ne[1],Ne[2],it],O),Wt=Mr=>{let aa=A(Mr,Ne);return A([aa[0],aa[1],aa[2],it],O)};if(ge.some(Mr=>y(Wt(Mr.c),Gt)>=3))continue}}if(lr){if(M(q))continue;z(q);continue}let na=Array.from(q.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Vt=new Map,ai=ce=>{let ge=ce.getBoundingClientRect();if(ge.width*ge.height===0)return "absent";let Ge=parseFloat(getComputedStyle(q).opacity||"1");for(let et=ce;et&&et!==q;et=et.parentElement){let it=getComputedStyle(et);if(it.display==="none")return "absent";if(it.visibility==="hidden"||parseFloat(it.opacity||"1")===0)return "hidden-at-rest";Ge*=parseFloat(it.opacity||"1");}return Vt.set(ce,Ge),"painted"},ii=na.map(ai),at=na.filter((ce,ge)=>ii[ge]==="painted"),Pr=at.length>0,fn=!Pr&&ii.includes("hidden-at-rest"),de=ce=>{let ge=(ce.tagName||"").toLowerCase();if(ge==="img"||ge==="picture"||ge==="canvas"||ge==="svg"&&ce.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Ge=[];if(ge==="svg"){let it=ce.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let ft of [it,ce]){if(!ft)continue;let Ke=getComputedStyle(ft),Ne=1;for(let Wt=ft;Wt&&Wt!==ce;Wt=Wt.parentElement||Wt.parentNode)Ne*=parseFloat(getComputedStyle(Wt).opacity||"1");let Gt=Wt=>Number.isFinite(parseFloat(Wt))?parseFloat(Wt):1;if(Ke.fill&&Ke.fill!=="none"&&!Ke.fill.startsWith("url")&&Ge.push({color:Ke.fill,alpha:Ne*Gt(Ke.fillOpacity)}),Ke.stroke&&Ke.stroke!=="none"&&!Ke.stroke.startsWith("url")&&parseFloat(Ke.strokeWidth||"0")>0&&Ge.push({color:Ke.stroke,alpha:Ne*Gt(Ke.strokeOpacity)}),Ge.length)break}}else ((ce.textContent||"").trim()||getComputedStyle(ce,"::before").content!=="none")&&Ge.push({color:getComputedStyle(ce).color,alpha:1});let et=null;for(let it of Ge){let ft=g(it.color);if(!ft)continue;let Ke=ft[3]*it.alpha*(Vt.get(ce)??1),Ne=[ft[0]*Ke+O[0]*(1-Ke),ft[1]*Ke+O[1]*(1-Ke),ft[2]*Ke+O[2]*(1-Ke)],Gt=y(Ne,O);(et===null||Gt>et)&&(et=Gt);}return et};if(Pr&&at.map(de).some(ge=>ge!==null&&ge>=3))continue;let ee=false,oe=P.position;if((oe==="absolute"||oe==="fixed")&&q.parentElement){let ce=q.getBoundingClientRect(),ge=q.parentElement.getBoundingClientRect(),Ge=ge.width*ge.height;Ge>0&&ce.width*ce.height/Ge>=.85&&(ee=true);}if(Pr||ee||fn){if(je=true,Se=te&&$&&$[3]>.5?y([$[0],$[1],$[2]],O):1,Se>=3)continue;Le=Pr?"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?(Se=Ae,Ae<3&&(je=true)):(je=true,Se=1);}if(!je)continue;let Te=$&&$[3]>.5?[$[0],$[1],$[2]]:B&&B[3]>.5?[B[0],B[1],B[2]]:[128,128,128],Bt=C(Te,O,3);if(!Bt)continue;let dn=w(Bt[0],Bt[1],Bt[2]),Gr=w(O[0],O[1],O[2]),yr="border: 1px solid "+dn+" !important;",ni=uniqueSel(q),Ir=q.tagName.toLowerCase(),Ht=Ae===null&&!te?"invisible (no border, no fill: 1.00:1)":Se?Se.toFixed(2)+":1":"not measurable",Tt=Ir==="input"||Ir==="select"||Ir==="textarea"?Ir+" field":Ir,Wr=Le?"non-text contrast: "+Tt+" boundary is "+Ht+" against "+Gr+" (needs 3:1) \u2014 "+Le:"non-text contrast: "+Tt+" boundary (border and fill) is "+Ht+" against "+Gr+", needs 3:1 \u2014 e.g. border-color "+dn;d.push({selector:ni,message:Wr,attribute:"style",currentValue:Se?Se.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Ir+" bg="+Gr+" ratio="+(Se?Se.toFixed(2):"?")+" needs=3",needsAI:false,...Le?{needsReview:true,reviewReason:Le}:{fixValue:yr},outerHtml:q.outerHTML.slice(0,200)});}return d},qh={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(wI)}};var xI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let y of Array.from(m)){if(g.length>=20)break;if(y.closest(f))continue;let v=y.getAttribute("onfocus")||"";if(!v||!h.test(v))continue;let w=typeof uniqueSel=="function"?uniqueSel(y):"",C=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("tag: "+y.tagName.toLowerCase()),E.push("onfocus: "+v.slice(0,100)),C.nearbyHeading&&E.push("heading: "+C.nearbyHeading),E.push("parent: "+C.parentTag),g.push({selector:w,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:E.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},Bh={name:"onFocus",cap:20,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],m=new Set,y=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(w=>{if(h.length>=30||w.closest(f))return;let C=w.tagName;if(C==="BODY"||C==="HTML"||!isVisible(w)||isHiddenFromAT(w)||w.hasAttribute("tabindex"))return;let E=w.getAttribute("role");if(E&&y.has(E))return;let A=getComputedStyle(w),S=A.overflowY,F=A.overflowX,D=S==="auto"||S==="scroll",x=F==="auto"||F==="scroll";if(!D&&!x)return;let k=D&&w.scrollHeight-w.clientHeight>50,T=x&&w.scrollWidth-w.clientWidth>50;if(!k&&!T||w.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let M=uniqueSel(w);if(m.has(M))return;m.add(M);let{nearbyHeading:V}=getNearbyContext(w),z="";if(V)z=V;else {let P=(typeof w.className=="string"?w.className:"").toLowerCase(),O=(w.id||"").toLowerCase();P.includes("code")||P.includes("snippet")||C==="PRE"||C==="CODE"?z="Code block":P.includes("terms")||P.includes("tos")||P.includes("legal")?z="Terms and conditions":P.includes("chat")||P.includes("message")?z="Chat messages":P.includes("table")||P.includes("data")?z="Data table":O?z=O.replace(/[-_]/g," "):z="Scrollable content";}let Y=(w.outerHTML||"").slice(0,300);h.push({selector:M,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:C.toLowerCase(),overflowY:D?S:void 0,overflowX:x?F:void 0,scrollHeight:w.scrollHeight,clientHeight:w.clientHeight,scrollWidth:w.scrollWidth,clientWidth:w.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:Y}),E||h.push({selector:M,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:C.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:Y}),w.getAttribute("aria-label")||w.getAttribute("aria-labelledby")||h.push({selector:M,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:C.toLowerCase(),labelHint:z,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:Y});}),h},Hh={name:"scrollableFocus",cap:30,async detect(f){return f.evaluate(DI)}};var _I=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],g=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],h=false;for(let S of g){let F=document.querySelector(S);if(F&&!F.closest(f)){h=true;break}}if(!h){let S=document.querySelectorAll('a[href^="#"]');for(let F of S){if(F.closest(f))continue;let D=(F.textContent||"").toLowerCase();if(D.includes("skip")&&(D.includes("main")||D.includes("content")||D.includes("nav"))){h=true;break}}}if(h||Array.from(document.querySelectorAll('main, [role="main"]')).filter(S=>{let F=getComputedStyle(S);if(F.display==="none"||F.visibility==="hidden"||S.closest('[hidden], [aria-hidden="true"]'))return false;let D=S.getBoundingClientRect();return D.width>0&&D.height>0}).length===1)return d;let y="",v=document.querySelector('main[id], [role="main"][id]');if(v&&v.getAttribute("id"))y=v.getAttribute("id");else {let S=document.querySelector("h1[id]");if(S&&S.getAttribute("id"))y=S.getAttribute("id");else {let F=["main-content","maincontent","main","content","skip-content"];for(let D of F)if(document.getElementById(D)){y=D;break}}}let w=y==="",C=y||"main-content",A="<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="#'+C+'" 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:w?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+C,needsAI:false,fixValue:A,...w?{manualFix:true}:{}}),d},Vh={name:"skipLink",async detect(f){return f.evaluate(_I)}};var AI=()=>{let g=[],h=document.querySelectorAll("*"),m=0;for(let y of Array.from(h)){if(m++>5e3||g.length>=20)break;if(y.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(y))continue;let w=getComputedStyle(y).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let C=w.match(/url\((['"]?)(.*?)\1\)/);if(!C)continue;let E=C[2];if(!E||E.startsWith("data:")&&E.length<256)continue;let A=y.getBoundingClientRect();if(A.width<32||A.height<32)continue;let S=y.tagName.toLowerCase(),F=y.getAttribute("role")||"",D=S==="a"||S==="button"||F==="button"||F==="link"||y.closest("a,button,[role=button],[role=link]")!==null,x=(y.textContent||"").trim().length>0,k=!!y.getAttribute("aria-label"),T=!!y.getAttribute("aria-labelledby"),I=!!y.getAttribute("title"),M=!!y.querySelector('img[alt]:not([alt=""])');if(y.closest('[aria-hidden="true"]')){let P=y.closest("a[href]");if(!!P&&Array.from(document.querySelectorAll("a[href]")).some(B=>B!==P&&B.href===P.href&&!B.closest('[aria-hidden="true"]')))continue}if(k||T||I||M||x||!D)continue;let V=y.closest("a,button,[role=button],[role=link]");if(V&&V!==y){let P=(V.textContent||"").trim(),O=V.getAttribute("aria-label")||V.getAttribute("title")||"",B=V.getAttribute("aria-labelledby"),$=!!V.querySelector('img[alt]:not([alt=""])');if(P||O.trim()||B||$)continue}let z=E;try{z=new URL(E,location.href).toString();}catch{continue}let Y=typeof uniqueSel=="function"?uniqueSel(y):"",q=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:S,nearbyHeading:""};g.push({selector:Y,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${z.slice(0,140)} | tag: ${S} | role: ${F||"(none)"} | parent: ${q.parentTag}${q.nearbyHeading?" | heading: "+q.nearbyHeading:""}`,needsAI:true,imageSrc:z,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},jh={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(AI)}},EI=()=>{let d=[],g=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let h of Array.from(g)){if(d.length>=15)break;if(h.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(h)||(h.textContent||"").trim().length>0)continue;let y=h.getAttribute("aria-label");if(y&&y.trim()||h.getAttribute("aria-labelledby")||h.getAttribute("aria-hidden")==="true")continue;let v=typeof uniqueSel=="function"?uniqueSel(h):"";d.push({selector:v,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${h.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(h.outerHTML||"").slice(0,200)});}return d},$h={cap:15,name:"emptyHeadings",async detect(f){return f.evaluate(EI)}},CI=()=>{let d=[],g=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let h of Array.from(g)){if(d.length>=15)break;if(h.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(h))continue;let m=(h.getAttribute("role")||"").toLowerCase();if(m==="button")continue;let y=(h.textContent||"").trim();if(!y)continue;let v=typeof uniqueSel=="function"?uniqueSel(h):"";d.push({selector:v,attribute:"role",currentValue:m||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(y.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(h.outerHTML||"").slice(0,200)});}return d},zh={cap:15,name:"javascriptLinks",async detect(f){return f.evaluate(CI)}};var SI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[];return document.querySelectorAll("svg").forEach(m=>{if(g.length>=50||m.closest(f)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let v=m.getAttribute("role");if(v==="presentation"||v==="none"||m.closest('[aria-hidden="true"]'))return;let w=m.getAttribute("aria-label")||"",C=m.getAttribute("aria-labelledby")||"",E=m.querySelector("title"),A=E?(E.textContent||"").trim():"";if(w.trim()||C.trim()||A)return;let S=m.getBoundingClientRect(),F=S.width<=16&&S.height<=16;if(S.width<=4||S.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let D=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(D){if(D.getAttribute("aria-label")?.trim()||D.getAttribute("aria-labelledby")?.trim())return;let O=getAccessibleName(D),B=D.cloneNode(true);B.querySelectorAll("svg").forEach(X=>X.remove());let $=(B.textContent||"").trim().replace(/\s+/g," ");if(O&&$.length>0)return}else {if(F)return;let O=m.parentElement;if(O&&(O.textContent||"").trim().replace(/\s+/g," ").length>3)return}let x=uniqueSel(m),k=getNearbyContext(D||m),T=D&&D.getAttribute("href")||"",I=(D||m).outerHTML.slice(0,300),M=m.getAttribute("class")||"",V=m.getAttribute("data-icon")||"",z=D||m,Y=z&&z!==m&&z.getAttribute("class")||"",q=typeof lookupIconLabel=="function"?lookupIconLabel(String(M),V,"")||lookupIconLabel(String(Y),"",""):null,P=D?uniqueSel(D):x;g.push({selector:P,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(D||m).tagName?(D||m).tagName.toLowerCase():"svg",href:T,nearbyHeading:k.nearbyHeading,parentRole:k.parentRole,svgClasses:M,iconLib:q||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!q,fixValue:q||void 0,outerHtml:I});}),g},Gh={name:"svgNames",cap:50,async detect(f){return f.evaluate(SI)}};var kI=()=>{let g=[],h=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),m=h;function y(E,A){let S=Array.from(E.getClientRects()).filter(k=>k.height>0);if(!S.length)return false;let F=document.createTreeWalker(A,NodeFilter.SHOW_TEXT),D,x=0;for(;(D=F.nextNode())&&x<400;){x++;let k=D.parentElement;if(!k||E.contains(D)||!/[\p{L}\p{N}]{2,}/u.test(D.textContent||"")||k.closest(m))continue;let T=document.createRange();T.selectNodeContents(D);for(let I of Array.from(T.getClientRects()))if(!(I.width===0||I.height===0)){for(let M of S)if(Math.min(M.bottom,I.bottom)-Math.max(M.top,I.top)>Math.min(M.height,I.height)/2)return true}}return false}function v(E){let A=E.getBoundingClientRect(),S=A.left,F=A.top,D=A.right,x=A.bottom;for(let k of Array.from(E.querySelectorAll("img, svg, picture, video, canvas"))){let T=k.getBoundingClientRect(),I=T.left,M=T.top,V=T.right,z=T.bottom;for(let Y=k.parentElement;Y;Y=Y.parentElement){let q=getComputedStyle(Y),P=Y.getBoundingClientRect();if(q.overflowX!=="visible"&&(I=Math.max(I,P.left),V=Math.min(V,P.right)),q.overflowY!=="visible"&&(M=Math.max(M,P.top),z=Math.min(z,P.bottom)),Y===E)break}V-I<=0||z-M<=0||(S=Math.min(S,I),F=Math.min(F,M),D=Math.max(D,V),x=Math.max(x,z));}return new DOMRect(S,F,D-S,x-F)}let w=document.querySelectorAll(h),C=[];for(let E of w){if(typeof isWidget=="function"&&isWidget(E)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(E)||typeof isVisible=="function"&&!isVisible(E)||!E.offsetParent&&E.tagName!=="BODY")continue;let A=v(E);A.width===0&&A.height===0||C.push({el:E,rect:A});}for(let{el:E,rect:A}of C){if(g.length>=50)break;let S=A.width,F=A.height;if(S>=24&&F>=24)continue;let D=E.parentElement;if(D&&getComputedStyle(E).display==="inline"){if(Array.from(D.childNodes).some(B=>B.nodeType===3&&(B.textContent||"").trim().length>3))continue;let O=D;for(;O&&O!==document.body&&getComputedStyle(O).display.startsWith("inline");)O=O.parentElement;if(O&&y(E,O))continue}let x=false,k=A.left+A.width/2,T=A.top+A.height/2;for(let P of C){if(P.el===E||P.el.contains(E)||E.contains(P.el))continue;if(P.rect.width<24||P.rect.height<24){let B=P.rect.left+P.rect.width/2,$=P.rect.top+P.rect.height/2;if(Math.hypot(k-B,T-$)<24){x=true;break}}else {let B=Math.max(P.rect.left-k,0,k-P.rect.right),$=Math.max(P.rect.top-T,0,T-P.rect.bottom);if(Math.hypot(B,$)<12){x=true;break}}}if(!x&&S>=1&&F>=1)continue;let M=Math.max(0,24-F),z=Math.ceil(M/2),Y=[];Y.push("min-width:24px"),Y.push("min-height:24px"),Y.push("display:inline-block"),Y.push("box-sizing:border-box"),z>0&&Y.push("padding-top:"+z+"px"),z>0&&Y.push("padding-bottom:"+z+"px");let q=typeof uniqueSel=="function"?uniqueSel(E):E.tagName.toLowerCase();g.push({selector:q,attribute:"style",currentValue:Math.round(S)+"x"+Math.round(F)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${E.tagName.toLowerCase()} is ${Math.round(S)}x${Math.round(F)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:Y.join(";")+";",outerHtml:E.outerHTML.slice(0,200)});}return g},Wh={name:"targetSize",cap:50,async detect(f){return f.evaluate(kI)}};var TI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,m=document.querySelectorAll('[style*="important" i]');for(let y of Array.from(m)){if(g.length>=30)break;if(y.closest(f))continue;let v=y.getAttribute("style")||"";if(!h.test(v))continue;let w=[];/line-height\s*:[^;!]*!important/i.test(v)&&w.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(v)&&w.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(v)&&w.push("word-spacing");let C=typeof uniqueSel=="function"?uniqueSel(y):"",E=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},A=[];A.push("blocked: "+w.join(",")),A.push("tag: "+y.tagName.toLowerCase()),E.nearbyHeading&&A.push("heading: "+E.nearbyHeading),A.push("parent: "+E.parentTag),g.push({selector:C,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:A.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},Uh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(TI)}};var RI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of h){if(g.length>=50)break;if(m.closest(f)||!isVisible(m))continue;let y=m,v=(y.getAttribute("aria-label")||"").trim(),w=y.getAttribute("aria-labelledby"),C=(y.getAttribute("title")||"").trim(),E=(y.getAttribute("value")||"").trim(),A=(y.textContent||"").trim().replace(/\s+/g," "),S="";w&&(S=typeof __resolveIdRefs=="function"?__resolveIdRefs(w):"");let F=y.querySelector('img[alt]:not([alt=""])'),D=y.querySelector("svg title"),x=y.querySelector("svg[aria-label]");if(!!(v||S||C||E||A||F||D||x))continue;let T=uniqueSel(y),I=getNearbyContext(y),M=y.closest("form"),V=M&&(M.getAttribute("id")||M.getAttribute("name"))||"",z=y.className||"",Y=y.querySelector('i, svg, span[class*="icon"]'),q=Y&&Y.className||"",P=Y&&Y.getAttribute("data-icon")||"",O=Y?(Y.textContent||"").trim():"",B=typeof lookupIconLabel=="function"?lookupIconLabel(String(q),P,O):null,$=!B&&typeof lookupIconLabel=="function"?lookupIconLabel(String(z),"",""):null,X=B||$,K=[];V&&K.push("form: "+V),I.nearbyHeading&&K.push("heading: "+I.nearbyHeading),q&&K.push("icon: "+String(q).slice(0,80)),z&&K.push("class: "+String(z).slice(0,80)),K.push("parent: "+I.parentTag),X&&K.push("icon-lib: "+X),g.push({selector:T,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:K.join(" | "),needsAI:!X,fixValue:X||void 0,outerHtml:y.outerHTML.slice(0,300)});}return g},Xh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(RI)}};var FI=()=>{let f=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),d=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),g={};function h(O,B){if(isWidget(O)||!isVisible(O))return;let $=getAccessibleName(O);if(!$)return;let X=(B?"b:":"a:")+$.toLowerCase().trim();g[X]=(g[X]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(O=>h(O,true)),document.querySelectorAll("a[href]").forEach(O=>h(O,false));let m=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),y=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function v(O){let B=O.toLowerCase();return m.has(B)||y.some($=>B.startsWith($))}let w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function C(O,B){return w.test(O)?1:B}let E=50,A=[];function S(O){if((O.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let $=O.querySelectorAll("i, span, em");for(let X of $)if((typeof X.className=="string"?X.className:"").split(/\s+/).some(v))return true;return false}function F(O){let B=O.className||"";return typeof B!="string"?false:B.split(/\s+/).some(v)}function D(O,B){if(A.length>=E||isWidget(O)||!isVisible(O))return;let $=getAccessibleName(O);if(!$)return;let X=$.toLowerCase().trim(),K=false,te=$.length>=2&&/^[A-Z][A-Z0-9]+$/.test($.trim()),Z=!B&&/^[[(]?\d{1,4}[\])]?$/.test($.trim());if($.length<C($,3)&&!te&&!Z)K=true;else if(f.has(X))K=true;else if(d.has(X)&&(g[(B?"b:":"a:")+X]||0)>=2){let Ie=(O.getAttribute("aria-label")||"").trim().toLowerCase(),Ae=!!O.getAttribute("aria-labelledby")||!!Ie&&Ie!==X,Se=O.querySelector&&O.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),je=Se?(Se.textContent||"").trim().toLowerCase():"";!Ae&&!(Se&&je!==X)&&(K=true);}else (S(O)||F(O)&&$.length===0)&&(O.getAttribute("aria-label")||O.getAttribute("aria-labelledby")||O.querySelector&&O.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(K=true));if(!K)return;let ne=getNearbyContext(O),ae=uniqueSel(O),ue=O.getAttribute("href")||"",xe=O.outerHTML.slice(0,300);A.push({selector:ae,attribute:"aria-label",currentValue:(O.getAttribute("aria-label")||"").trim(),message:(B?"weak button name: ":"weak link name: ")+(O.getAttribute("aria-label")||O.getAttribute("aria-labelledby")?`"${$}" is too generic for a control \u2014 add distinguishing context`:`text "${$}" is too generic for a control \u2014 add distinguishing context`),issueType:B?"weak_button_name":"weak_link_name",wcag:B?"4.1.2":"2.4.4",...B?{}:{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:$,href:ue,nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag,parentRole:ne.parentRole,cardText:ne.cardText||"",imgAlt:ne.imgAlt||""}),needsAI:true,outerHtml:xe});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(O=>D(O,true)),document.querySelectorAll("a[href]").forEach(O=>D(O,false));let x=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,k=/^(iframe|embed|widget|frame|content|untitled)$/i,T=/^(skip|go|→|\->|main|content)$/i,I=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(O){return !!(!O||O.getAttribute("aria-hidden")==="true"||O.closest('[aria-hidden="true"]'))}function V(O,B,$,X,K,te){if(A.length>=E)return;let Z=uniqueSel(O),ne=(O.outerHTML||"").slice(0,300);A.push({selector:Z,attribute:B,currentValue:$,issueType:X,wcag:K,context:JSON.stringify(te),needsAI:true,outerHtml:ne});}let z=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let O=0;O<z.length&&!(A.length>=E);O++){let B=z[O];if(!B||isWidget(B)||M(B)||!isVisible(B))continue;let $=getAccessibleName(B);if(!$)continue;let X=$.toLowerCase().trim(),K=X.split(/\s+/).filter(Boolean),te=false;if(($.length<C($,3)||K.length===1&&(f.has(X)||I.has(X))||/^page\s*\d+$/i.test(X)||/^section\s*\d+$/i.test(X)||/^chapter\s*\d+$/i.test(X)||/^[^\p{L}\p{N}]+$/u.test($))&&(te=true),!te)continue;let Z=getNearbyContext(B);V(B,"textContent",$,"weak_heading","2.4.6",{currentText:$,tag:B.tagName.toLowerCase(),nearbyHeading:Z.nearbyHeading,parentTag:Z.parentTag,parentRole:Z.parentRole});}let Y=document.querySelectorAll("iframe");for(let O=0;O<Y.length&&!(A.length>=E);O++){let B=Y[O];if(!B||isWidget(B)||M(B))continue;let $=getComputedStyle(B);if(B.getClientRects().length===0||$.visibility==="hidden"||$.visibility==="collapse"||(B.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let X=(B.getAttribute("title")||"").trim();if(!X)continue;let K=X.toLowerCase(),te=false;if((X.length<C(X,3)||k.test(K)||f.has(K))&&(te=true),!te)continue;let Z=(B.getAttribute("src")||"").slice(0,120),ne=getNearbyContext(B);V(B,"title",X,"weak_iframe_title","4.1.2",{currentTitle:X,src:Z,nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag});}if(A.length<E){let O=document.querySelector("head > title, title"),B=(document.title||"").trim();if(O&&B){let $=B.toLowerCase(),X=false;(B.length<C(B,5)||x.test($)||/^untitled/i.test(B))&&(X=true),X&&A.push({selector:"title",attribute:"textContent",currentValue:B,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:B,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(O.outerHTML||"").slice(0,300)});}}let q=document.querySelectorAll("svg");for(let O=0;O<q.length&&!(A.length>=E);O++){let B=q[O];if(!B||isWidget(B)||M(B)||B.getAttribute("role")==="presentation"||B.getAttribute("role")==="none"||!isVisible(B))continue;let $=B.querySelector("title"),X=$?($.textContent||"").trim():"",K=(B.getAttribute("aria-label")||"").trim(),te=K||X;if(!te)continue;let Z=te.toLowerCase(),ne=false;if((te.length<C(te,3)||f.has(Z)||/^(icon|svg|image|graphic|logo)$/i.test(te))&&(ne=true),!ne)continue;let ae=B.closest('a, button, [role="button"], [role="link"]'),ue=getNearbyContext(B);V(B,K?"aria-label":"title",te,"weak_svg_name","1.1.1",{currentName:te,svgClasses:B.getAttribute("class")||"",parentTag:ae?ae.tagName.toLowerCase():ue.parentTag,parentHref:ae&&ae.getAttribute("href")||"",nearbyHeading:ue.nearbyHeading});}let P=document.querySelectorAll('a[href="#main"], a[href="#main-content"], a[href="#content"], a[href="#skip"], a[href="#maincontent"], a.skip-link, a.skip-nav, a.skip-to-content, a.skiplink, a.skip-navigation, [class*="skip-link"], [class*="skip-nav"]');for(let O=0;O<P.length&&!(A.length>=E);O++){let B=P[O];if(!B||isWidget(B)||M(B))continue;let $=getAccessibleName(B);if(!$)continue;let X=$.toLowerCase().trim(),K=false;if(($.length<C($,4)||T.test(X)||X==="skip"||X==="skip link"||X==="jump")&&(K=true),!K)continue;let te=B.getAttribute("href")||"";A.push({selector:uniqueSel(B),attribute:"textContent",currentValue:$,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:$,href:te}),needsAI:false,fixValue:"Skip to main content",outerHtml:(B.outerHTML||"").slice(0,300)});}return A},Yh={name:"weakNames",cap:50,async detect(f){return f.evaluate(FI)}};var II=()=>{let d=[],g=document.querySelector('meta[name="viewport"]');if(g){let m=(g.getAttribute("content")||"").trim(),y=m.toLowerCase(),v=false,w=[];(y.indexOf("user-scalable=no")>=0||y.indexOf("user-scalable=0")>=0)&&(v=true,w.push("user-scalable=no blocks pinch-zoom"));let C=y.match(/maximum-scale\s*=\s*([\d.]+)/);C&&parseFloat(C[1])<2&&(v=true,w.push("maximum-scale="+C[1]+" (<2)")),v&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let h=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<h.length&&!(d.length>=5);m++){let y=h[m];if(y.el)try{let w=(getComputedStyle(y.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&d.push({selector:y.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+y.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Kh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(II)}};var LI=()=>{let f=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),g=new Set,h=Math.min(d.length,200);for(let m=0;m<h;m++){let y=d[m];if(g.has(y)||!y.offsetParent)continue;g.add(y);let v=getComputedStyle(y),w=parseInt(v.order||"0",10),C=v.position;if(w>=3){let E=y.getBoundingClientRect();if(E.width>0&&E.height>0){let A=(y.textContent?.trim().length||0)>10,S=!!y.querySelector("a, button, input, select, textarea");(A||S)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(C==="absolute"){if(!!!y.querySelector("a, button, input, select, textarea"))continue;let A=y.parentElement;if(!A||A.children.length<=2)continue;let S=y.getBoundingClientRect(),F=A.getBoundingClientRect();(S.top<F.top-100||S.left<F.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${C}, displaced ${Math.round(Math.abs(S.top-F.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(LI)}};var Zh={name:"sensoryCharacteristics",async detect(f){let d=await f.evaluate(()=>{let h=[],m=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),y=Math.min(m.length,300);for(let v=0;v<y;v++){let w=m[v];if(!w.offsetParent||w.children.length>3)continue;let C=w.textContent?.trim()||"";C.length<15||C.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(C)&&h.push({text:C,selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase()});}return h.slice(0,20)});if(d.length===0)return [];let g=[];for(let{text:h,selector:m}of d){h.toLowerCase();let v=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(h)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(h),w=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(h)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(h)&&/\b(click|tap|press|select|find)\b/i.test(h),C=/\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(h)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(h),E=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(h)&&/\b(click|tap|press|select|find)\b/i.test(h);if(v||w||C||E){let A=v?"shape":w?"position":C?"color":"size";g.push({selector:m,attribute:"data-sensory-review",currentValue:h.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${A} alone: "${h.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return g}};var PI=()=>{let f=[],d=document.querySelectorAll("img");for(let g of d){if(!g.offsetParent||g.width<50||g.height<20||g.complete&&g.naturalWidth===0)continue;let h=g.src||g.getAttribute("data-src")||"",m=h.indexOf(","),y=(h.toLowerCase().startsWith("data:")&&m!==-1?h.slice(0,m):h).toLowerCase(),v=g.getAttribute("alt")||"",w=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||w==="presentation"||w==="none"||g.hasAttribute("alt")&&v.trim()==="")continue;let E=g.width>200&&g.height<80&&g.height>15,A=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(y);if(!(A||E)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(y)&&!A)continue;let F=g.closest("a[href]"),D=(()=>{if(!F)return false;let Y=F.getAttribute("href")||"";if(Y==="/"||Y==="")return true;try{let q=new URL(F.href,location.href);return q.origin!==location.origin?!1:!!(q.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(q.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(q.pathname))}catch{return false}})();if(D&&(F.textContent||"").trim().length===0)continue;let k="";if(F&&!D&&(F.textContent||"").trim().length===0)try{let Y=new URL(F.href,location.href),q=v.trim().split(/\s+/).filter(Boolean);if(Y.origin!==location.origin&&/^https?:$/.test(Y.protocol)&&q.length>0&&q.length<=4&&v.trim().length<=40){let P=K=>K.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),O=P(v),B=Y.hostname.toLowerCase().split(".").filter(K=>K&&K!=="www"),$=(B.length>1?B.slice(0,-1):B).map(P).filter(Boolean);k=O.length>=3&&(O===P(B.join(""))||O===$.join("")||$.some(K=>O===K||K.length>=5&&O.startsWith(K)))?"exempt":"review";}}catch{}let T=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),I=g.height>0&&g.height<=120,M=T&&I,V=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,z=M||V.test(y)||V.test(g.className)||V.test(g.id||"");y.includes("icon")||y.includes("avatar")||y.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:y.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...z||k?{needsReview:true,reviewReason:M?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":k==="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":k==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return f},Qh={name:"imagesOfText",async detect(f){return f.evaluate(PI)}};var eg={name:"reflow",async detect(f){let d=f;if(!d.setViewport)return [];let g=d.viewport?.()??{width:1280,height:720},h=g.width??1280,m=g.height??720;try{return await d.setViewport({width:320,height:m}),await new Promise(v=>setTimeout(v,500)),await f.evaluate(v=>{let w=[],C=document.querySelectorAll("body *"),E=Math.min(C.length,500);for(let A=0;A<E;A++){let S=C[A];if(!S.offsetParent)continue;let F=S.tagName.toLowerCase();if(F==="script"||F==="style"||F==="noscript")continue;let D=S.getBoundingClientRect();D.right>v+5&&D.width>v*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(S):F,attribute:"style",currentValue:`${Math.round(D.width)}px wide at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(D.width)}px wide and overflows the ${v}px viewport by ${Math.round(D.right-v)}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>v+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${v}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),w},320)}finally{await d.setViewport({width:h,height:m}).catch(()=>{});}}};var MI=()=>{let f=[],d=document.querySelectorAll("video");for(let h of d){if(h.autoplay&&!h.muted&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(h):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(h.offsetParent!==null&&getComputedStyle(h).display!=="none"))continue;let y=h.getBoundingClientRect();if(y.width===0&&y.height===0||h.error)continue;let v=/mute|unmute|sound|volume|audio|play|pause/i,w=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.id&&!!document.querySelector('[aria-controls~="'+h.id.replace(/"/g,"")+'"]');for(let D=h.parentElement?.parentElement||null,x=0;D&&!w&&x<3;D=D.parentElement,x++)w=Array.from(D.querySelectorAll('button, [role="button"]')).some(k=>v.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if((h.muted||h.hasAttribute("muted"))&&(h.loop||h.hasAttribute("loop"))&&!h.hasAttribute("controls")&&!w)continue;let C=h.querySelectorAll("track"),E=Array.from(C).find(D=>D.kind==="captions"||D.kind==="subtitles"),A=Array.from(C).find(D=>D.kind==="descriptions");h.src||h.querySelector("source")?.src||"";let F=typeof uniqueSel=="function"?uniqueSel(h):"video";E||f.push({selector:F,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)"}),A||f.push({selector:F,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let g=document.querySelectorAll("audio");for(let h of g){let m=typeof uniqueSel=="function"?uniqueSel(h):"audio";h.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||f.push({selector:m,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),h.autoplay&&!h.muted&&f.push({selector:m,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return f},tg={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(MI)).slice(0,50)}};var OI=()=>{let f=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let T=d.getAttribute("content")||"",I=parseInt(T,10);!isNaN(I)&&I>0&&I<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${T.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:T,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${I}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let g=document.querySelectorAll("[accesskey]");for(let T of g){let I=T.getAttribute("accesskey")||"";if(I.length===1){let M=typeof uniqueSel=="function"?uniqueSel(T):T.tagName.toLowerCase();f.push({selector:M,attribute:"accesskey",currentValue:I,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${I}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let h=document.querySelectorAll("select");for(let T of h){let I=T.hasAttribute("onchange"),M=T.getAttribute("onchange")||"";if(I&&/submit|location|href|navigate|window\./i.test(M)){let V=typeof uniqueSel=="function"?uniqueSel(T):"select";f.push({selector:V,attribute:"onchange",currentValue:M.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 m=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let T of m)if(!(T.hasAttribute("onclick")||T.hasAttribute("onkeydown")||T.hasAttribute("onkeyup"))){let M=typeof uniqueSel=="function"?uniqueSel(T):T.tagName.toLowerCase();f.push({selector:M,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let y=document.querySelectorAll("[onmousedown]");for(let T of y){let I=T.hasAttribute("onmouseup"),M=T.tagName.toLowerCase();if(!I&&M!=="a"&&M!=="button"&&M!=="input"){let V=typeof uniqueSel=="function"?uniqueSel(T):M;f.push({selector:V,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 v=document.querySelectorAll("script:not([src])");for(let T of v){let I=T.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(I)){f.push({selector:"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 w=document.querySelectorAll("form"),C='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',E=/\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,A=/card|payment/i,S=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,F=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,D=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,x=/\b(?:save|update|change)\b/i,k=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let T of w){let I=Array.from(T.querySelectorAll(C)),M=Se=>[Se.getAttribute("name"),Se.id,Se.getAttribute("autocomplete"),Se.getAttribute("placeholder"),Se.getAttribute("aria-label")].join(" "),V=Array.from(T.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Se=>Se.tagName!=="BUTTON"||!Se.getAttribute("type")||(Se.getAttribute("type")||"").toLowerCase()==="submit").map(Se=>(Se.getAttribute("value")||"")+" "+(Se.textContent||"")+" "+(Se.getAttribute("aria-label")||"")).join(" . "),z=I.some(Se=>E.test(M(Se)))||Array.from(T.querySelectorAll("iframe")).some(Se=>A.test((Se.getAttribute("title")||"")+" "+(Se.getAttribute("name")||""))),Y=I.some(Se=>/signature/i.test(M(Se))),q=z||S.test(V),P=F.test(V),O=Y||D.test(V),B=I.length>0&&I.some(Se=>(Se.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(M(Se)))&&I.every(Se=>{let je=Se.tagName.toLowerCase()==="input"?(Se.getAttribute("type")||"text").toLowerCase():Se.tagName.toLowerCase();return je==="email"||je==="checkbox"||je==="tel"?true:je==="text"||je==="search"?k.test(M(Se)+" "+(Se.closest("label")?.textContent||"")):false}),$=(T.textContent||"").toLowerCase(),X=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test($),K=/\bagree|terms|contract|binding|signature|consent|waiver/i.test($),te=/delete.*account|remove.*data|cancel.*account/i.test($),Z=q||P||O,ne=B&&(x.test(V)||te),ae=!Z&&(!B&&(X||K||te)||ne);if(!Z&&!ae)continue;let ue=!!T.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),xe=!!T.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(ue||xe)continue;let Ie=typeof uniqueSel=="function"?uniqueSel(T):"form",Ae=Z?q?"financial":P?"data-deletion":"legal":ne?te?"data-deletion":"data-modification":X?"financial":K?"legal":"data-deletion";f.push({selector:Ie,attribute:"data-error-prevention",currentValue:Ae,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${Ae.charAt(0).toUpperCase()+Ae.slice(1)} form lacks a confirmation/review step. For ${Ae} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...ae?{needsReview:true,reviewReason:ne&&te?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":ne?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${Ae} topics but its controls show no ${Ae} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return f},rg={name:"timingAndInput",async detect(f){return f.evaluate(OI)}};var NI=()=>{let f=[],d=document.querySelectorAll('nav, [role="navigation"]');for(let m of d){if(!m.offsetParent||m.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||m.parentElement?.closest('nav, [role="navigation"]'))continue;let y=m.getBoundingClientRect();if(y.top<=window.innerHeight)continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"nav";f.push({selector:v,attribute:"data-nav-position",currentValue:`top: ${Math.round(y.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let g=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let m of g){if(!m.offsetParent)continue;let y=m.getBoundingClientRect();if(y.width<1||y.height<1||!(m.textContent||"").trim()&&!m.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(m).backgroundImage==="none")continue;let v=typeof uniqueSel=="function"?uniqueSel(m):m.tagName.toLowerCase();f.push({selector:v,attribute:"data-flashing",currentValue:m.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let h=document.querySelectorAll('img[src*=".gif"]');for(let m of h){if(!m.offsetParent||m.width<25||m.height<25)continue;let y=m.getBoundingClientRect();if(y.width>100&&y.height>100){let v=typeof uniqueSel=="function"?uniqueSel(m):"img";f.push({selector:v,attribute:"data-animated-gif",currentValue:(m.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return f},ng={name:"navigationAndWayfinding",async detect(f){return f.evaluate(NI)}};var ag={name:"flashDetection",async detect(f){let d=[];if(!f.screenshot)return d;let h=await f.evaluate(()=>{let A=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(A){let S=document.querySelectorAll("*");for(let F of S)F.style.removeProperty("animation-play-state"),F.style.removeProperty("transition");}return A}),m=8,y=120,v=9,w=3,C=[];for(let E=0;E<m;E++){let A=await f.evaluate(S=>{let F=window.innerWidth,D=window.innerHeight,x=3,k=3,T=[];for(let I=0;I<k;I++)for(let M=0;M<x;M++){let V=Math.floor((M+.5)*(F/x)),z=Math.floor((I+.5)*(D/k)),Y=document.elementFromPoint(V,z);if(!Y){T.push(0);continue}let P=getComputedStyle(Y).backgroundColor||"rgba(0,0,0,0)",O=typeof parseCssColor=="function"?parseCssColor(P):null;if(!O){T.push(0);continue}let B=.2126*O[0]+.7152*O[1]+.0722*O[2];T.push(B);}return T},v);C.push(A),E<m-1&&await new Promise(S=>setTimeout(S,y));}h&&await f.evaluate(()=>{let E=document.querySelectorAll("*");for(let A of E)A.style.setProperty("animation-play-state","paused","important"),A.style.setProperty("transition","none","important");});for(let E=0;E<v;E++){let A=0,S=C[0][E],F=null;for(let k=1;k<m;k++){let T=C[k][E];if(Math.abs(T-S)>25){let M=T>S?"up":"down";F&&M!==F&&A++,F=M;}S=T;}let D=m*y/1e3,x=A/D;if(x>=w){let k=E%3,T=Math.floor(E/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${x.toFixed(1)} flashes/sec in region (${k},${T})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${x.toFixed(1)} times/second in screen region (row ${T}, col ${k}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return d}};var ig={name:"reducedMotion",async detect(f){let d=[],g=await f.evaluate(()=>{let h=false,m=false;for(let v of document.styleSheets)try{for(let w of v.cssRules){let C=w.cssText||"";/animation|transition|@keyframes/i.test(C)&&!/prefers-reduced-motion/.test(C)&&(h=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(m=!0);}}catch{}let y=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return y.length>0&&(h=true),{hasAnimations:h,hasReducedMotionQuery:m,animatedCount:y.length}});return g.hasAnimations&&!g.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${g.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),d}};var sL=[Yh,Oh,Gh,sh,oh,Rh,Ch,Eh,Wh,ph,qh,wh,Xh,xh,bh,Vh,lh,Mh,Sh,yh,hh,Ih,gh,vh,Ah,Ph,kh,Kh,ch,Fh,dh,fh,Th,Bh,Uh,Nh,mh,jh,$h,zh,uh,Lh,Hh,Jh,Zh,Qh,eg,tg,rg,ng,ag,ig];async function gg(f,d,g,h){let m=d??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:I,ACCESSIBLE_NAME_JS:M,WIDGET_SKIP_JS:V,IS_HIDDEN_FROM_AT_JS:z,IS_TRACKING_PIXEL_JS:Y,NEARBY_CONTEXT_JS:q}=await Promise.resolve().then(()=>(sg(),og)),{ICON_LABELS_JS:P}=await Promise.resolve().then(()=>(ug(),lg)),{COLOR_MATH_JS:O}=await Promise.resolve().then(()=>(dg(),cg)),$=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
379
|
+
`+[T,I,M,V,z,Y,q,P,O].join(`
|
|
380
|
+
`),{inject:X}=await Promise.resolve().then(()=>(Fr(),cn));try{await X(f,{tool:"detector-helpers",content:$});}catch{await f.evaluate(`(0,eval)(${JSON.stringify($)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(g??[]).push("color:kernel-injection-failed");}let y=[];try{let{detectPlatform:T,applyPlatformTemplates:I}=await Promise.resolve().then(()=>(hg(),mg)),M=await T(f);y=await I(f,M);}catch{}let{guardDetectorState:v}=await Promise.resolve().then(()=>(Fr(),cn)),w=globalThis.process?.env?.WA_STRICT_STATE==="1",C={strict:w,bugs:h?.internalBugs},E=await v(f,"detectors:parallel",g??[],()=>Promise.allSettled(sL.map(async T=>{try{let I=await T.detect(f);return T.cap&&I.length>=T.cap&&m.push({detector:T.name,cap:T.cap}),I}catch{return []}})),C),A=[];h?.skipFocusMutating&&(g??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let S=[...h?.skipFocusMutating?[]:[_h,Dh],...h?.extraSerialDetectors??[]];for(let T of S){let I=[];try{I=await v(f,T.name,g??[],()=>T.detect(f).catch(()=>[]),C);}catch(M){if(w)throw M}try{T.cap&&I.length>=T.cap&&m.push({detector:T.name,cap:T.cap}),A=A.concat(I);}catch{}}let F=[...E.flatMap(T=>T.status==="fulfilled"?T.value:[]),...A],D=[...y,...F],x=lL(D),k=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return x.filter(T=>{let I=T.selector.toLowerCase();return I.trim()?!k.some(M=>I.includes(M)):false})}function lL(f){let d=new Set;return f.filter(g=>{let h=`${g.selector}::${g.issueType}`;return d.has(h)?false:(d.add(h),true)})}var vg="1.9.0";var Au=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function Eu(f){return f.includes("wcag21aa")||f.includes("wcag22aa")||f.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function bg(f,d){return d==="AAA"&&!f.includes("wcag2aaa")?[...f,"wcag2aaa"]:f}var uL={"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.1":"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 _u(f){return uL[f]??"AA"}var Za={A:1,AA:2,AAA:3};function cL(f){let d=String(f.wcag||"").split(/[,\s]+/).filter(h=>/^\d+\.\d+\.\d+$/.test(h));if(d.length===0)return f.level??"AA";let g="AAA";for(let h of d)Za[_u(h)]<Za[g]&&(g=_u(h));return g}function Jn(f,d="AA"){let g=Za[d]??Za.AA;return f.filter(h=>Za[cL(h)]<=g)}var dL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function yg(f){let d=dL.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",g=f.attribute==="style",h=f.attribute.startsWith("data-"),m=g&&f.fixValue?fL(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Qa(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:_u(f.wcag),impact:d,message:pL(f,m,h),selector:f.selector,html:f.outerHtml,...f.needsReview?{confidence:"needs_review"}:{},...f.reviewReason?{reviewReason:f.reviewReason}:{},fix:{attribute:f.attribute,currentValue:f.currentValue,suggestedValue:m,needsManualReview:f.needsAI||g||h||!!f.needsReview||!!f.manualFix}}}function fL(f){let d=f.trim();if(!d)return "";let g=d.endsWith(";"),m=d.split(";").map(y=>{let w=y.toLowerCase().lastIndexOf("!important");return w===-1?y.trim():y.slice(0,w).trim()}).filter(y=>y.length>0);return m.length===0?"":m.join(";")+(g?";":"")}function pL(f,d,g){if(f.message)return f.message;let h=f.issueType.replace(/_/g," "),m=d??f.fixValue;return g?m?`${h}: ${m}`:f.currentValue?`${h}: ${f.currentValue}`:f.context?`${h}: ${f.context}`:h:m?`${h}: set ${f.attribute}="${m}"`:f.currentValue?`${h}: ${f.attribute} is "${f.currentValue}"`:`${h}: missing ${f.attribute}`}function Zn(f){return Array.isArray(f)?f.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof f=="string"?f:""}function Qa(f){let d=0;for(let g=0;g<f.length;g++)d=(d<<5)-d+f.charCodeAt(g)|0;return Math.abs(d).toString(36)}function Cu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function Su(f,d=[]){return {total:f.length,critical:f.filter(g=>g.impact==="critical").length,serious:f.filter(g=>g.impact==="serious").length,moderate:f.filter(g=>g.impact==="moderate").length,minor:f.filter(g=>g.impact==="minor").length,incomplete:0}}function mL(f){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(f);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function ku(f){for(let d of f){let g=mL(d);if(g)return g}return ""}function Tu(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function Dg(f,d){try{let{AxeBuilder:g}=await import('@axe-core/playwright');return await new g({page:f}).options({rules:Eu(d)}).withTags(d).analyze()}catch{return hL(f,d)}}async function hL(f,d){let g=await Promise.resolve().then(()=>j3(xg())),h=g.source??g.default?.source;if(!h)throw new Error("axe-core source unavailable");try{await f.evaluate(h);}catch{let{inject:y}=await Promise.resolve().then(()=>(Fr(),cn));await y(f,{tool:"axe",content:h});}return await f.evaluate(({wcagTags:y,rules:v})=>new Promise((w,C)=>{let E=window;if(!E.axe)return C(new Error("axe-core not loaded"));E.axe.run(document,{runOnly:{type:"tag",values:y},rules:v,resultTypes:["violations","incomplete"]}).then(w).catch(C);}),{wcagTags:d,rules:Eu(d)})}function Ru(f){let d=[],g=[];for(let h of f)h.confidence==="needs_review"||vL(h)?g.push(h):d.push(gL(h));return {verdicts:d,undecided:g}}function gL(f){if(f.confidence===void 0&&f.reviewReason===void 0)return f;let{confidence:d,reviewReason:g,...h}=f;return h}function vL(f){let d=(f.type||"").toLowerCase(),g=f.wcag||"",h=f.html||"",m=(f.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||g==="1.4.3"||g==="1.4.11")&&bL(h))return "background uses gradient or image";if(d==="image_of_text"||g==="1.4.5"){let y=_g(h,"src").toLowerCase();y.startsWith("data:")&&(y=y.split(",")[0]);let v=_g(h,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(y))return "brand imagery";if(v.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(v))return "branded imagery"}return (d==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(h)||/<aside/i.test(h))?"footer/aside nav":""}function bL(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function _g(f,d){let g=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),h=f.match(g);return h?h[1]:""}Fr();var yL=60,wL=3,xL=120,DL=1200,_L=300,AL=2e5,EL=8e3,CL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),SL="*,*::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 kL(f){let{selectors:d,maxBoxes:g,maxW:h,maxH:m,maxArea:y}=f,v=document.documentElement.scrollWidth,w=document.documentElement.scrollHeight,C=document.createElement("canvas");C.width=C.height=1;let E=C.getContext("2d",{willReadFrequently:true}),A=T=>{try{E.clearRect(0,0,1,1),E.fillStyle="#000",E.fillStyle=T,E.fillRect(0,0,1,1);let I=E.getImageData(0,0,1,1).data;return [I[0],I[1],I[2],I[3]]}catch{return null}},S={},F=document.querySelectorAll("video,canvas,iframe,embed,object");if(F.length>200){for(let T of d)S[T]=null;return S}let D=Array.from(F).map(T=>T.getBoundingClientRect()),x=window.scrollX,k=window.scrollY;for(let T of d){S[T]=null;let I=null;try{I=document.querySelector(T);}catch{continue}if(!I)continue;let M=getComputedStyle(I);if(M.visibility!=="visible"||M.display==="none"||M.webkitBackgroundClip==="text"||M.backgroundClip==="text")continue;let V=false,z=0;for(let ae=I;ae;ae=ae.parentElement){if(++z>64){V=true;break}let ue=getComputedStyle(ae);parseFloat(ue.opacity)<1&&(V=true),(ue.transform!=="none"||ue.mixBlendMode!=="normal"||ue.filter!=="none")&&(V=true);}if(V)continue;let Y=A(M.color);if(!Y||Y[3]<255)continue;let q=parseFloat(M.fontSize),P=parseInt(M.fontWeight,10)>=700,O=q>=24||P&&q>=18.66,B=[],$=I.getBoundingClientRect();if($.height>m*g||$.width>h*2)continue;let X=document.createTreeWalker(I,NodeFilter.SHOW_TEXT),K,te=0,Z=false;for(;!Z&&(K=X.nextNode());){if(++te>50){Z=true;break}if(K.parentElement!==I)continue;let ae=K.textContent||"";if(ae.length>2e3){Z=true;break}if(!ae.trim())continue;let ue=document.createRange();ue.selectNodeContents(K);let xe=ue.getClientRects();if(xe.length>g){Z=true;break}for(let Ie=0;Ie<xe.length;Ie++){let Ae=xe[Ie];if(!(Ae.width<2||Ae.height<2)&&(B.push({x:Math.round(Ae.left+x),y:Math.round(Ae.top+k),w:Math.max(1,Math.round(Ae.width)),h:Math.max(1,Math.round(Ae.height))}),B.length>g)){Z=true;break}}}Z||B.length===0||B.length>g||B.some(ae=>ae.w>h||ae.h>m||ae.w*ae.h>y||ae.x<0||ae.y<0||ae.x+ae.w>v||ae.y+ae.h>w)||B.some(ae=>D.some(ue=>ae.x<ue.right+x&&ae.x+ae.w>ue.left+x&&ae.y<ue.bottom+k&&ae.y+ae.h>ue.top+k))||(S[T]={fg:`rgb(${Y[0]},${Y[1]},${Y[2]})`,threshold:O?3:4.5,boxes:B});}return S}async function TL(f){let{b64:d,fg:g}=f,h=atob(d),m=new Uint8Array(h.length);for(let V=0;V<h.length;V++)m[V]=h.charCodeAt(V);let y=await createImageBitmap(new Blob([m],{type:"image/png"})),v=document.createElement("canvas");v.width=y.width,v.height=y.height;let w=v.getContext("2d",{willReadFrequently:true});w.drawImage(y,0,0);let C=w.getImageData(0,0,v.width,v.height).data,E=V=>{let z=V/255;return z<=.03928?z/12.92:Math.pow((z+.055)/1.055,2.4)},A=(V,z,Y)=>.2126*E(V)+.7152*E(z)+.0722*E(Y),S=g.match(/\d+/g).map(Number),F=A(S[0],S[1],S[2]),D=Math.max(1,Math.floor(Math.sqrt(v.width*v.height/1500))),x=0,k=1/0,T="",I="",M=0;for(let V=0;V<v.height;V+=D)for(let z=0;z<v.width;z+=D){let Y=(V*v.width+z)*4;if(C[Y+3]<255)continue;let q=A(C[Y],C[Y+1],C[Y+2]),P=Math.max(F,q),O=Math.min(F,q),B=(P+.05)/(O+.05);B>x&&(x=B,I=`rgb(${C[Y]},${C[Y+1]},${C[Y+2]})`),B<k&&(k=B,T=`rgb(${C[Y]},${C[Y+1]},${C[Y+2]})`),M++;}return M===0?null:{best:x,worst:k,worstBg:T,bestBg:I}}var Bo=class extends Error{};function ti(f,d){let g=d-Date.now();if(g<=0)return Promise.reject(new Bo("pixel pass deadline"));let h,m=new Promise((y,v)=>{h=setTimeout(()=>v(new Bo("pixel pass deadline")),g);});return Promise.race([f,m]).finally(()=>clearTimeout(h))}async function Fu(f,d){let g=f.screenshot;if(typeof g!="function"||d.length===0)return [];let h=Array.from(new Set(d)).slice(0,yL),m=[],y=false,v=Date.now()+EL;try{await ti(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),v);let w=await ti(f.evaluate(kL,{selectors:h,maxBoxes:wL,maxW:DL,maxH:_L,maxArea:AL}),v);await ti(xu(f,{tool:"contrast-pixels",css:SL}),v),y=!0;let C=0;for(let E of h){let A=w[E];if(!A)continue;if(Date.now()>v||C+A.boxes.length>xL)break;let S=0,F=1/0,D="",x="",k=!0;for(let T of A.boxes){C++;let I=await ti(g.call(f,{clip:{x:T.x,y:T.y,width:T.w,height:T.h},fullPage:!0,type:"png",animations:"disabled"}),v),M=globalThis.Buffer,V=M?M.from(I).toString("base64"):"",z=await ti(f.evaluate(TL,{b64:V,fg:A.fg}),v);if(!z){k=!1;break}z.best>S&&(S=z.best,x=z.bestBg),z.worst<F&&(F=z.worst,D=z.worstBg);}k&&m.push({selector:E,fail:S<A.threshold*.97,bestRatio:S,worstRatio:F,...D?{worstBg:D}:{},...x?{bestBg:x}:{},threshold:A.threshold,fg:A.fg});}}catch(w){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",w);}finally{if(y)try{await Promise.race([f.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(w=>w.remove())),new Promise(w=>setTimeout(w,1e3))]);}catch{}}return m}function RL(f,d){let{confidence:g,reviewReason:h,...m}=f;return {...m,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 Ag(f,d,g,h){let m=d.filter(E=>E.wcag!=="1.4.3"||!E.selector?false:E.source==="axe-core"?CL.has(g.get(E.id)??""):E.type==="contrast_insufficient"&&/gradient or image/.test(E.reviewReason??""));if(m.length===0)return [];let y=await Fu(f,m.map(E=>E.selector));if(h)for(let E of y)h.set(E.selector,E);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${y.length} measured, ${y.filter(E=>E.fail).length} fail`);let v=new Map(y.filter(E=>E.fail).map(E=>[E.selector,E])),w=[],C=new Set;for(let E of m){let A=v.get(E.selector);!A||C.has(E.selector)||(C.add(E.selector),w.push(RL(E,A)));}return w}function FL(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 Iu(f){let d=f/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function Eg(f,d,g){return .2126*Iu(f)+.7152*Iu(d)+.0722*Iu(g)}function IL(f,d){let g=Math.max(f,d),h=Math.min(f,d);return (g+.05)/(h+.05)}function Cg(f){if(f.startsWith("#"))return FL(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 g=Cg(f),h=Cg(d);return !g||!h?0:IL(Eg(...g),Eg(...h))}var LL=30,PL=10,ML=2e4,OL=30,NL=400*1024,qL="https://openrouter.ai/api/v1",BL="anthropic/claude-haiku-4.5",Sg="deepseek/deepseek-v4-flash",kg=400,Tg=125,Lu=160,HL=2e3,Ho=new Map;function VL(f){let d=0;for(let g=0;g<f.length;g++)d=(d<<5)-d+f.charCodeAt(g)|0;return Math.abs(d).toString(36)}var Pu=f=>f.wcag||f.type,Rg=(f,d,g)=>`${f}|${d.selector}|${Pu(d)}|${VL(g)}`,Mu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function jL(f){let{selectors:d,maxHtml:g}=f,h={elements:{}},m=[],y=T=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(T)&&!/^\s*not\b/i.test(T),v=T=>{let I=T.split(",").map(M=>M.trim()).filter(Boolean);return I.length?I.every(M=>{let V=M.match(/^(-?[\d.]+)(ms|s)$/i);return V?parseFloat(V[1])*(V[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},w=(T,I,M)=>{if(!(M>8))for(let V of Array.from(T)){let z=V.media?.mediaText,Y=I||typeof z=="string"&&y(z),q=V.style,P=V.selectorText;if(Y&&q&&typeof P=="string"){let $=q.getPropertyValue("animation-name").trim(),X=/^none(\s*,\s*none)*$/i.test($)||v(q.getPropertyValue("animation-duration"))||/^paused/i.test(q.getPropertyValue("animation-play-state").trim()),K=/^none(\s*,\s*none)*$/i.test(q.getPropertyValue("transition-property").trim())||v(q.getPropertyValue("transition-duration"));(X||K)&&m.push({selector:P,anim:X,trans:K});}let O=V.cssRules;O&&O.length&&w(O,Y,M+1);let B=V.styleSheet;if(B)try{w(B.cssRules,Y||y(V.media?.mediaText||""),M+1);}catch{}}};try{for(let T of Array.from(document.styleSheets))try{w(T.cssRules,y(T.media?.mediaText||""),0);}catch{}}catch{}let C=(T,I)=>{try{return T.matches(I)}catch{return false}},E=T=>T.split(",").map(I=>{let M=I.trim().match(/^(-?[\d.]+)(ms|s)$/i);return M?parseFloat(M[1])*(M[2].toLowerCase()==="s"?1e3:1):0}),A=T=>{let I=T.cloneNode(true);I.querySelectorAll("script, style").forEach(V=>V.remove());let M=(I.textContent||"").replace(/\s+/g," ").trim();if(!M){for(let V of Array.from(T.querySelectorAll("img[alt], [aria-label]")))if(M=(V.getAttribute("alt")||V.getAttribute("aria-label")||"").trim(),M)break}return M},S=T=>{let I=(T.getAttribute("aria-label")||"").trim();if(I)return I;let V=(T.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(q=>{let P=document.getElementById(q);return P?(P.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(V)return V;let z=A(T);if(z)return z;let Y=T instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(T.type)?(T.value||T.alt||"").trim():"";return Y||(T.getAttribute("title")||"").trim()},F='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,x=window.scrollY||0,k=[];for(let T of d){let I=null;try{I=document.querySelector(T);}catch{}if(!I){h.elements[T]={found:false};continue}let M=k.indexOf(I);M<0&&(M=k.push(I)-1);let V=getComputedStyle(I),z=I.getBoundingClientRect(),Y=I.tagName.toLowerCase(),q={found:true,elementKey:M,tag:Y,html:(I.outerHTML||"").slice(0,g),rect:{x:z.left+D,y:z.top+x,w:z.width,h:z.height},role:(I.getAttribute("role")||"").toLowerCase(),ariaHidden:I.getAttribute("aria-hidden")==="true"||!!I.closest('[aria-hidden="true"]'),hidden:V.display==="none"||V.visibility==="hidden"||!!I.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(V.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:V.color,bg:V.backgroundColor,fontSize:parseFloat(V.fontSize)||0,fontWeight:parseInt(V.fontWeight,10)||400};if(Y==="img"){let K=I;q.img={src:(K.currentSrc||K.getAttribute("src")||"").slice(0,300),alt:K.getAttribute("alt"),naturalW:K.naturalWidth||0,naturalH:K.naturalHeight||0,attrW:parseInt(K.getAttribute("width")||"0",10)||0,attrH:parseInt(K.getAttribute("height")||"0",10)||0};}if(q.cssBackgroundImage){let K=I.closest(F);K&&(q.control={tag:K.tagName.toLowerCase(),name:S(K).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(Y)){let K=V.animationName.split(",").some(ue=>ue.trim()&&ue.trim()!=="none")&&E(V.animationDuration).some(ue=>ue>10),te=E(V.transitionDuration).some(ue=>ue>10)&&V.transitionProperty.trim()!=="none",Z=m.filter(ue=>C(I,ue.selector)),ne=!K||Z.some(ue=>ue.anim),ae=!te||Z.some(ue=>ue.trans);q.reducedMotionHandled=(K||te)&&ne&&ae;}let P=I.closest('a[href], button, [role="button"], [role="link"]');if(P&&P!==I){let K=P.cloneNode(true);K.querySelectorAll("img, svg").forEach(ne=>ne.remove());let te=(K.textContent||"").replace(/\s+/g," ").trim(),Z=(P.getAttribute("aria-label")||"").trim();q.parentInteractive={tag:P.tagName.toLowerCase(),text:(te||Z).slice(0,120)};}let O=K=>{let te=K.cloneNode(true);return te.querySelectorAll("script, style").forEach(Z=>Z.remove()),(te.textContent||"").replace(/\s+/g," ").trim()},B=I.matches('a[href], [role="link"]'),$=O(I),X=I.parentElement;if(B&&(X=I.closest("p, li, td, th, dd, dt, figcaption, blockquote")||I.parentElement),X){let K=O(X),te=B&&$?K.indexOf($):-1,Z=te>120?te-120:0;q.nearText=(Z?"\u2026":"")+K.slice(Z,Z+240);}h.elements[T]=q;}return h}function $L(f,d){let g=(f.type||"").toLowerCase(),h=f.wcag||"";return g==="decorative_image_with_title"?"generic":h==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(g))?"alt":h==="1.4.3"||h==="1.4.6"||g==="color-contrast"||g==="contrast_insufficient"||g==="contrast_enhanced"?"contrast":h==="2.2.2"||h==="2.3.3"||/motion|animation|reduced_motion/.test(g)?"motion":"generic"}function Ou(f){return !!f&&f.tag!=="img"&&f.cssBackgroundImage&&!f.img}var zL=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function GL(f){let d=String(f??"").replace(/\s+/g," ").replace(zL,"judged").trim();if(d.length<=Lu)return d;let g=d.slice(0,Lu-1),h=g.lastIndexOf(" ");return (h>Lu/2?g.slice(0,h):g).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function WL(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>Tg){d=d.slice(0,Tg);let g=d.lastIndexOf(" ");g>60&&(d=d.slice(0,g)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function Qn(f){let d=f.match(/\d+(\.\d+)?/g);return !d||d.length<3?f:"#"+d.slice(0,3).map(g=>Math.round(Number(g)).toString(16).padStart(2,"0")).join("")}var Lg=/^#?([0-9a-f]{6})$/i;function UL(f){let d=String(f??"").trim().match(Lg);return d?"#"+d[1].toLowerCase():null}function XL(f){let{confidence:d,reviewReason:g,...h}=f;return {...h,id:f.id.replace("axe-incomplete-","axe-")}}function YL(f){let d=f;if(typeof f=="string"){let m=f.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!m)return null;try{d=JSON.parse(m[0]);}catch{return null}}else f&&typeof f=="object"&&Array.isArray(f.verdicts)&&(d=f.verdicts);if(!Array.isArray(d))return null;let g=[];for(let h of d){if(!h||typeof h!="object")continue;let{id:m,verdict:y,reason:v,fix:w}=h;if(typeof m!="string"||y!=="pass"&&y!=="violation")continue;let C=w&&typeof w=="object"?w:void 0;g.push({id:m,verdict:y,reason:typeof v=="string"?v:void 0,fix:C?{attribute:typeof C.attribute=="string"?C.attribute:void 0,value:typeof C.value=="string"?C.value:void 0}:void 0});}return g}var ea=class extends Error{},KL=`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.
|
|
381
|
+
|
|
382
|
+
Rules:
|
|
383
|
+
- 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.
|
|
384
|
+
- CSS background images (1.1.1) on a control with no accessible name (context.control.accessibleName is empty): the image is the control's only content, so "violation" with fix.value = a short name for what the control does, written from the crop and nearby text (\u2264125 characters, no "image of"). "pass" only if the control is clearly not meant to be operated.
|
|
385
|
+
- Images of text (1.4.5): logos, wordmarks and brand signatures are exempt \u2192 "pass". Essential informational text rendered as an image \u2192 "violation".
|
|
386
|
+
- Text contrast (1.4.3 / 1.4.6): you receive the text colour, the required ratio for its font size, and the best/worst measured ratio behind the glyphs plus a crop. "violation" when the text is not readable at the required ratio over a meaningful part of its background; then fix.attribute="style" and fix.value = a 6-digit hex text colour that meets the ratio against the background's dominant colour. "pass" when the text clearly meets the ratio everywhere the glyphs sit.
|
|
387
|
+
- Link purpose (2.4.4): the context is the link text plus its sentence, paragraph, list item or table cell (nearbyText). "pass" when the text names the destination page or topic (Home, About, Info, Contact, Pricing, a product or article name), even as a single word in a site menu. "violation" only for generic text that names no destination (here, click here, more, read more, learn more, link) when that context does not supply it.
|
|
388
|
+
- Dead in-page link (2.4.1): the item is an <a href="#fragment"> near the top of the page whose fragment matches no id or <a name> (context.engineNote names it). WCAG 2.4.1 is about bypassing repeated blocks. "violation" only when the link is the page's bypass mechanism (a skip link that should jump past the header or navigation) and its target is missing, so activating it goes nowhere. Any other dead fragment link is "pass" for 2.4.1: an ordinary or script-driven link (tab, accordion, modal or menu trigger, back-to-top).
|
|
389
|
+
- Form with no submit control (3.2.2): the item is a <form> with visible fields and no submit button, input type=submit/image or outside button. "violation" only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) and no submit control exists to ask for it. "pass" for a script-driven form, a single search box, or a form whose fields change nothing until the user acts.
|
|
390
|
+
- Decorative image with a title (1.1.1): the item is an <img alt=""> that also has a non-empty title (context.engineNote gives it). "violation" when the picture conveys information the title names (a logo, chart, labelled icon, photo of a named subject), so the empty alt hides it. "pass" when the picture is purely decorative and the title only repeats nearby text or adds nothing. Do not write alt text for this item.
|
|
391
|
+
- Non-text contrast (1.4.11), motion (2.2.2 / 2.3.3), duplicate ids, ARIA references, captions and everything else: decide from the markup, the context and the crop. For a "violation", give fix.attribute/fix.value only when you are certain of the exact value.
|
|
392
|
+
- Be strict: "pass" only when confident the finding is not a real barrier.
|
|
393
|
+
|
|
394
|
+
Respond with ONLY a JSON array, one object per item, same ids:
|
|
395
|
+
[{"id": "...", "verdict": "pass" | "violation", "reason": "one sentence", "fix": {"attribute": "...", "value": "..."}}]
|
|
396
|
+
Omit "fix" for passes.`;function JL(f){let d=f.items.map(({screenshot:g,...h})=>({...h,...g?{screenshot:"attached (crop, same order)"}:f.vision?{screenshot:"no image attached for this item: judge it from the markup and context only"}:{}}));return `Page: ${f.url}
|
|
397
|
+
Conformance level: ${f.level}
|
|
398
|
+
|
|
399
|
+
Findings:
|
|
400
|
+
${JSON.stringify(d,null,1)}`}function ZL(f,d={}){let g=f.vision&&f.items.some(y=>y.screenshot),h=g?d.visionModel||BL:d.textModel||Sg,m=[{type:"text",text:JL(f)}];if(g)for(let y of f.items)y.screenshot&&(m.push({type:"text",text:`Crop for ${y.id}:`}),m.push({type:"image_url",image_url:{url:`data:image/png;base64,${y.screenshot}`}}));return {model:h,temperature:0,max_tokens:4096,...h===Sg&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:KL},{role:"user",content:m}]}}function QL(f){let d=(f.baseUrl||qL).replace(/\/+$/,""),g=false;try{let h=new URL(d).hostname;g=h==="openrouter.ai"||h.endsWith(".openrouter.ai");}catch{}return async(h,m)=>{let y=await fetch(`${d}/chat/completions`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(ZL(h,{visionModel:f.visionModel,textModel:f.textModel,disableTextModelReasoning:g}))});if(!y.ok)throw new ea(`judge model HTTP ${y.status}`);let w=(await y.json()).choices?.[0]?.message?.content;if(typeof w=="string")return w;if(Array.isArray(w))return w.map(C=>typeof C?.text=="string"?C.text:"").join("");throw new Error("judge model returned no content")}}function eP(f){let d=f.apiUrl.replace(/\/+$/,"");return async(g,h)=>{let m=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:h,redirect:"manual",headers:{"Content-Type":"application/json",...f.token?{Authorization:`Bearer ${f.token}`}:{},...f.internalSecret?{"x-mcp-internal":f.internalSecret}:{}},body:JSON.stringify(g)});if(m.status>=300&&m.status<400)throw new ea(`judge endpoint redirected (HTTP ${m.status}); not followed`);if(!m.ok)throw new ea(`judge endpoint HTTP ${m.status}`);return m.json()}}function tP(f){return f.transport?f.transport:f.apiKey?QL({apiKey:f.apiKey,baseUrl:f.baseUrl,visionModel:f.visionModel,textModel:f.textModel}):f.apiUrl?eP({apiUrl:f.apiUrl,token:f.apiToken,internalSecret:f.internalSecret}):null}function rP(f){return f.maxCropChars??(!f.transport&&!f.apiKey&&f.apiUrl?NL:void 0)}async function Pg(f,d,g){let h={promoted:[],judged:[]},m=tP(g);if(d.length===0)return h;let y=g.level??"AA",v=g.timeoutMs??ML,w=Date.now()+v,C=Jn([...d],y);if(C.length===0)return h;let E=new Map;for(let P of C){let O=`${P.selector}|${Pu(P)}`,B=E.get(O);B?B.members.push(P):E.set(O,{key:O,members:[P],rep:P,ctx:void 0,kind:"generic"});}let A={elements:{}};if(f)try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),A=await f.evaluate(jL,{selectors:[...E.keys()].map(P=>E.get(P).rep.selector),maxHtml:kg});}catch{}for(let P of E.values())P.ctx=A.elements[P.rep.selector],P.ctx&&!P.ctx.found&&(P.ctx=void 0),P.kind=$L(P.rep,P.ctx);let S=new Map;for(let[P,O]of [...E]){if(!O.ctx)continue;let B=`${O.ctx.elementKey}|${Pu(O.rep)}`,$=S.get(B);if(!$){S.set(B,O);continue}$.members.push(...O.members),E.delete(P);}let F={promoted:[],judged:[]},D=(P,O)=>{for(let B of P.members){if(O.verdict==="violation"){let $=aP(B,P,O);if(!$)continue;F.promoted.push($);}F.judged.push({id:B.id.replace("axe-incomplete-","axe-"),type:B.type,verdict:O.verdict,reason:O.reason});}},x=[...E.values()].filter(P=>P.kind==="contrast");if(x.length&&f){for(let O of x)O.pixels=g.measured?.get(O.rep.selector);let P=x.filter(O=>!O.pixels).map(O=>O.rep.selector);if(P.length)try{for(let O of await Fu(f,P))for(let B of x)B.rep.selector===O.selector&&(B.pixels=O);}catch{}}let k=[];for(let P of E.values()){let O=m?Ho.get(Rg(g.url,P.rep,P.ctx?.html??P.rep.html??"")):void 0;if(O){D(P,O);continue}let B=nP(P);if(B!=="drop"){if(B){D(P,B);continue}k.push(P);}}if(k.length===0||!m)return F;let T=g.vision!==false&&!!f&&typeof f.screenshot=="function",I=new Map,M=new Set,V=0,z=rP(g),Y=P=>({id:P.rep.id,type:P.rep.type,wcag:P.rep.wcag,message:P.rep.message,selector:P.rep.selector,html:(P.ctx?.html??P.rep.html??"").slice(0,kg),context:M.has(P.key)?{...Fg(P),cropNote:"no image attached: the crop was too large to send"}:Fg(P),...I.has(P.key)?{screenshot:I.get(P.key)}:{}}),q=T?PL:LL;for(let P=0;P<k.length;P+=q){let O=w-Date.now();if(O<=0)break;let B=k.slice(P,P+q);if(T){for(let ae of B){if(V>=OL||Date.now()>w)break;let ue=await sP(f,ae.ctx,z);ue&&(V++,ue.data?I.set(ae.key,ue.data):M.add(ae.key));}if(Date.now()>w)break}let $=new Map(B.map(ae=>[ae.rep.id,ae])),X=new AbortController,K=setTimeout(()=>X.abort(),O),te=null,Z=false,ne=Date.now();try{let ae=await Promise.race([m({url:g.url,level:y,vision:T,items:B.map(Y)},X.signal),new Promise((ue,xe)=>X.signal.addEventListener("abort",()=>xe(new Error("judge deadline"))))]);te=YL(ae),Mu()&&console.error(`ai judge: batch ${B.length} items, ${B.filter(ue=>I.has(ue.key)).length} crops, ${Date.now()-ne}ms, ${te?te.length+" verdicts":"MALFORMED: "+String(ae).slice(0,200)}`);}catch(ae){Mu()&&console.error(`ai judge: batch ${B.length} items failed after ${Date.now()-ne}ms: ${ae.message}`),te=null,Z=ae instanceof ea;}finally{clearTimeout(K);}if(!te){if(X.signal.aborted||Z)break;continue}for(let ae of te){let ue=$.get(ae.id);if(!ue)continue;$.delete(ae.id);let xe={verdict:ae.verdict,reason:GL(ae.reason),fix:ae.fix};Ho.size>=HL&&Ho.clear(),Ho.set(Rg(g.url,ue.rep,ue.ctx?.html??ue.rep.html??""),xe),D(ue,xe);}}return F}function nP(f){let d=f.ctx;if(f.kind==="alt"){if(d?.role==="presentation"||d?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(d?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(d?.img){let{attrW:g,attrH:h,naturalW:m,naturalH:y}=d.img;if(g>0&&g<=1&&h>0&&h<=1||m>0&&m<=1&&y>0&&y<=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 g=Nu(f.rep,f.pixels.threshold);return f.pixels.worstRatio>=g?{verdict:"pass",reason:`measured ${f.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${g}:1`}:f.pixels.bestRatio<g*.97?{verdict:"violation",reason:`measured ${f.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${g}:1 everywhere`}:null}return f.rep.type==="duplicate_id"&&/first occurrence/i.test(f.rep.reviewReason||"")?{verdict:"pass",reason:"first occurrence of the id; the duplicate is reported on the later copies"}:null}function Fg(f){let d=f.ctx,g={};return f.rep.reviewReason&&(g.engineNote=f.rep.reviewReason),d&&(g.tag=d.tag,d.nearText&&(g.nearbyText=d.nearText),d.parentInteractive&&(g.parentControl=d.parentInteractive),f.kind==="alt"&&Ou(d)&&d.control&&(g.control={tag:d.control.tag,accessibleName:d.control.name}),f.kind==="alt"&&d.img&&(g.image={src:d.img.src,alt:d.img.alt,width:d.img.naturalW||d.img.attrW||d.rect.w,height:d.img.naturalH||d.img.attrH||d.rect.h}),f.kind==="contrast"&&f.pixels&&(g.fg=Qn(f.pixels.fg),g.threshold=Nu(f.rep,f.pixels.threshold),g.bestRatio=Ig(f.pixels.bestRatio),g.worstRatio=Ig(f.pixels.worstRatio),g.fontSize=d.fontSize,g.fontWeight=d.fontWeight),f.kind==="generic"&&(g.fg=Qn(d.fg),g.bg=Qn(d.bg),g.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),g}function Nu(f,d){return f.wcag==="1.4.6"||f.type==="contrast_enhanced"?d===3?4.5:7:d}var Ig=f=>Math.round(f*100)/100;function aP(f,d,g){let h=XL(f);if(d.kind==="alt"){let y=WL(g.fix?.value);return y?Ou(d.ctx)?{...h,fix:{attribute:"aria-label",currentValue:"",suggestedValue:y,needsManualReview:false}}:{...h,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??f.fix?.currentValue??"",suggestedValue:y,needsManualReview:false}}:null}if(d.kind==="contrast"){let y=d.pixels;if(!y)return null;let v=Qn(y.fg),w=Nu(f,y.threshold),C=y.worstBg?Qn(y.worstBg):null,E=y.bestBg?Qn(y.bestBg):null,A=x=>!!x&&!!C&&Sn(x,C)>=w&&(!E||Sn(x,E)>=w),S,F=UL(g.fix?.value),D=C?iP(v,C,w):null;return F&&F!==v.toLowerCase()&&A(F)?S=`color:${F} !important;`:A(D)?S=`color:${D} !important;`:E&&Sn(v,E)>=w&&(S=`background-color:${E} !important;`),{...h,impact:"serious",message:`contrast: ${v} text on its rendered background measures ${y.worstRatio.toFixed(2)}:1 at worst (${y.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${g.reason||"not readable"}), needs ${w}:1`,fix:{attribute:"style",currentValue:v,...S?{suggestedValue:S}:{},needsManualReview:true}}}let m=f.fix;return m?{...h,fix:m}:g.fix?.attribute&&g.fix.value?{...h,fix:{attribute:g.fix.attribute,currentValue:"",suggestedValue:g.fix.value,needsManualReview:true}}:h}function iP(f,d,g){let h=f.match(Lg);if(!h)return null;let m=parseInt(h[1],16),y=[m>>16&255,m>>8&255,m&255],v=E=>"#"+E.map(A=>Math.round(Math.min(255,Math.max(0,A))).toString(16).padStart(2,"0")).join(""),w=(E,A)=>v(y.map(S=>A?S*(1-E):S+(255-S)*E)),C=null;for(let E of [true,false]){if(Sn(w(1,E),d)<g)continue;let A=0,S=1;for(let D=0;D<24;D++){let x=(A+S)/2;Sn(w(x,E),d)>=g?S=x:A=x;}let F=w(S,E);Sn(F,d)>=g&&(!C||S<C.t)&&(C={t:S,hex:F});}return C?.hex??null}var oP=[1,.6,.35];async function sP(f,d,g){let h=f.screenshot;if(typeof h!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let y=Math.min(1200,d.rect.w+16),v=Math.min(600,d.rect.h+16),w=d.rect.x+d.rect.w/2,C=d.rect.y+d.rect.h/2,E=globalThis.Buffer;if(!E)return null;let A=0;for(let S of g===void 0?[1]:oP){let F=Math.max(2,Math.round(y*S)),D=Math.max(2,Math.round(v*S)),x=S===1?Math.max(0,d.rect.x-8):Math.max(0,w-F/2),k=S===1?Math.max(0,d.rect.y-8):Math.max(0,C-D/2),T=await h.call(f,{clip:{x,y:k,width:F,height:D},fullPage:!0,type:"png",animations:"disabled"}),I=E.from(T).toString("base64");if(A=I.length,g===void 0||I.length<=g)return {data:I}}return Mu()&&console.error(`ai judge: crop for ${d.tag} left out (${A} base64 chars > ${g} at the smallest clip)`),{}}catch{return null}}async function lP(f){let d=x=>({verdict:"drop",why:x}),g=null;try{g=document.querySelector(f.selector);}catch{return d("bad selector")}if(!g||g.tagName!=="VIDEO")return d("not a video");let h=getComputedStyle(g),m=g.getBoundingClientRect();if(h.display==="none"||h.visibility==="hidden"||g.closest("[hidden]")||m.width<100||m.height<50)return d("not visible/large enough");if(g.error)return d("failed load");let y=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!y||/^(blob|data|about|javascript):/i.test(y)||/\.(m3u8|mpd)(\?|$)/i.test(y))return d("no direct src / MSE");let v=g.hasAttribute("muted")||g.muted,w=g.hasAttribute("controls"),C=g.hasAttribute("autoplay")||g.autoplay,E=g.hasAttribute("loop")||g.loop,A=w||C&&!v;if(!A){let x=/play|pause|mute|unmute|sound|volume/i;for(let k=g.parentElement,T=0;k&&T<3&&!A;k=k.parentElement,T++)A=Array.from(k.querySelectorAll('button, [role="button"]')).some(I=>x.test((I.getAttribute("aria-label")||"")+" "+(I.getAttribute("title")||"")+" "+(I.textContent||"")));}if(!A)return d("not user-playable");if(v&&E&&!w)return d("decorative loop");if(g.hasAttribute("muted")&&!w&&!C)return d("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return d("under 5s");await new Promise(x=>setTimeout(x,2e3));for(let x of Array.from(g.querySelectorAll("track"))){let k=(x.getAttribute("kind")||"subtitles").toLowerCase();if((k==="captions"||k==="subtitles")&&x.getAttribute("src"))return d("has caption track")}let S=g.textTracks;for(let x=0;S&&x<S.length;x++)if(S[x].kind==="captions"||S[x].kind==="subtitles")return d("has text track");let F=g,D=null;if(typeof F.mozHasAudio=="boolean"?D=F.mozHasAudio:F.audioTracks&&typeof F.audioTracks.length=="number"&&(D=F.audioTracks.length>0?true:null),D===null&&typeof F.webkitAudioDecodedByteCount=="number"&&F.webkitAudioDecodedByteCount>0&&(D=true),D===null)try{let x=new AbortController,k=setTimeout(()=>x.abort(),f.fetchMs),T=await fetch(y,{headers:{Range:"bytes=0-"+(f.rangeBytes-1)},signal:x.signal}),I=new Uint8Array(f.rangeBytes),M=0,V=T.body?T.body.getReader():null;if(V)try{for(;M<f.rangeBytes;){let{done:q,value:P}=await V.read();if(q||!P)break;let O=Math.min(P.length,f.rangeBytes-M);I.set(P.subarray(0,O),M),M+=O;}}finally{try{await V.cancel();}catch{}}clearTimeout(k);let z=(q,P=0)=>{e:for(let O=P;O<=M-q.length;O++){for(let B=0;B<q.length;B++)if(I[O+B]!==q[B])continue e;return O}return -1},Y=q=>Array.from(q).map(P=>P.charCodeAt(0));z(Y("ftyp"))>=0&&z(Y("moov"))>=0?D=z(Y("hdlr"))>=0&&z(Y("soun"))>=0:I[0]===26&&I[1]===69&&I[2]===223&&I[3]===163&&z([22,84,174,107])>=0&&(D=z([131,129,2])>=0);}catch{D=null;}return D!==true?d(D===false?"silent":"audio unknowable"):{verdict:"violation"}}async function Mg(f,d){let g=d.filter(y=>y.type==="missing_captions"&&/^<video\b/i.test(y.html??"")&&y.selector).slice(0,10);if(g.length===0)return [];let h=[],m=Date.now()+1e4;try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let y of g){if(Date.now()>m)break;let v=m-Date.now(),w,C=await Promise.race([f.evaluate(lP,{selector:y.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(E=>{w=setTimeout(()=>E(null),v);})]).finally(()=>w&&clearTimeout(w));if(!C)break;if(C.verdict==="violation"){let{confidence:E,reviewReason:A,...S}=y;h.push({...S,id:y.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return h}function qg(){let f=m=>{let y=m.getBoundingClientRect();if(y.width===0||y.height===0)return false;let v=window.getComputedStyle(m);return v.visibility!=="hidden"&&v.display!=="none"&&v.opacity!=="0"},d=Array.from(document.querySelectorAll('input[type="password"]')),g=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(f).map(m=>(m.value||m.textContent||"").trim().toLowerCase()).filter(m=>m.length>0&&m.length<40),h=Array.from(document.querySelectorAll("button, a")).filter(f).filter(m=>/sign in with|continue with|log in with/i.test(m.textContent||"")).length;return {passwordFields:d.length,visiblePasswordFields:d.filter(f).length,submitLabels:g,oauthButtons:h,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var uP=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,cP=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Og(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 Bg(f,d,g){if(Og(d))return null;let h=Ng(d)!==Ng(g),m=f.submitLabels.some(S=>uP.test(S)),y=cP.test(f.headingText),v=Og(g),w=[];v&&w.push("url"),m&&w.push("submit"),y&&w.push("heading"),h&&w.push("redirected");let C=f.visiblePasswordFields>0,E=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!C&&!E||w.length<2)return null;let A=`${C?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${g}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:A,finalUrl:g}}function Ng(f){try{let d=new URL(f);return `${d.origin}${d.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}async function TP(f){try{return await f.evaluate(()=>{let d=(document.title||"").toLowerCase(),g=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[y,v]of g)if(d.includes(y))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!1};let h=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[y,v]of h)if(document.querySelector(y))return {vendor:v,signal:`marker:${y}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[y,v]of m)if(d.includes(y))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function RP(f){try{return await f.evaluate(()=>{let d=document.querySelectorAll("body *").length;if(d>250)return null;let g=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let m of g)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:d}}catch{}let h=(document.title||"").toLowerCase();return h.includes("captcha")||h.includes("security check")||h.includes("bot verification")?{signal:`title:"${document.title}"`,elements:d}:null})}catch{return null}}async function FP(f,d){let g=await TP(f),h=typeof d=="number"&&d>=400,m=g&&(!g.needsCorroboration||h)?g:null;if(!m&&!h)return null;let y=[];return m&&y.push(`served a ${m.vendor} bot-challenge / interstitial page`),h&&y.push(`main document returned HTTP ${d}`),{reason:`Scan did not reach the real page \u2014 the target ${y.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof d=="number"?{status:d}:{},...m?{signal:m.signal}:h?{signal:`status:${d}`}:{}}}async function ri(f,d){let g=typeof f=="string",h={wcagTags:Au,includeAxe:true,deep:false,dismissModals:g,...d},m,y,v,w;if(g){v=f.startsWith("http")?f:`https://${f}`;let C=typeof h.viewport=="string"?No[h.viewport]??No.desktop:h.viewport??No.desktop;y=await(await import('playwright')).chromium.launch({headless:h.browser?.headless??true}),m=await(await y.newContext({viewport:C})).newPage();let S=await m.goto(v,{waitUntil:"domcontentloaded",timeout:h.browser?.timeout??3e4});w=typeof S?.status=="function"?S.status():void 0;}else m=f,v=m.url(),w=h.mainStatus;if(h.dismissModals)try{let{dismissModals:C}=await Promise.resolve().then(()=>(Vg(),Hg));await C(m);}catch{}if(h.settle!==false)try{let{waitForRenderSettle:C}=await Promise.resolve().then(()=>(jo(),Vo));await C(m,typeof h.settle=="number"?h.settle:void 0);}catch{}if(!y){let{snapshotInteractionState:C}=await Promise.resolve().then(()=>(zo(),$o));await C(m);}try{try{let Z=await m.evaluate(qg),ne=Bg(Z,v,typeof m.url=="function"?m.url():v);if(ne)return {url:v,timestamp:new Date().toISOString(),blocked:{reason:ne.reason,signal:`auth-wall:${ne.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let C=await FP(m,w);if(C)return {url:v,timestamp:new Date().toISOString(),blocked:C,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let E=[],A=new Map,S=[],F=[],D=[],{guardDetectorState:x,dropToolingFindings:k}=await Promise.resolve().then(()=>(Fr(),cn)),T=await RP(m);T&&F.push(`challenge:suspected-interstitial (${T.signal}; ${T.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Fr(),cn))).startProvenance(m);let I=await gg(m,S,F,{internalBugs:D,extraSerialDetectors:h.extraSerialDetectors});E.push(...I.map(yg));let{resetInteractionState:M,focusOnlyObscuredIndexes:V}=await Promise.resolve().then(()=>(zo(),$o));if(await M(m),h.includeAxe)try{let Z=await x(m,"axe",F,()=>Dg(m,bg(h.wcagTags??Au,h.level)),{bugs:D});for(let ne of Z.violations){let ae=ne.id==="target-size"?await V(m,ne.nodes):new Set;for(let[ue,xe]of ne.nodes.entries()){if(ae.has(ue)){D.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:Zn(xe.target)});continue}E.push({id:`axe-${ne.id}-${Qa(Zn(xe.target))}`,source:"axe-core",type:ne.id,wcag:ku(ne.tags),level:Tu(ne.tags),impact:Cu(ne.impact),message:ne.help,selector:Zn(xe.target),html:xe.html?.slice(0,300)});}}for(let ne of Z.incomplete??[])for(let ae of ne.nodes){let ue=`axe-incomplete-${ne.id}-${Qa(Zn(ae.target))}`,xe=ae.any?.[0]?.data?.messageKey;xe&&A.set(ue,xe),E.push({id:ue,source:"axe-core",type:ne.id,wcag:ku(ne.tags),level:Tu(ne.tags),impact:Cu(ne.impact),message:ne.help,selector:Zn(ae.target),html:ae.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch{}let{deduplicateIssues:z}=await Promise.resolve().then(()=>(ra(),ta)),Y=Ru(E),q=z(Y.verdicts);try{let{pruneInvisibleContrast:Z}=await Promise.resolve().then(()=>(jo(),Vo));q=await Z(m,q);}catch{}try{let{pruneHiddenIframeIssues:Z}=await Promise.resolve().then(()=>(jo(),Vo));q=await Z(m,q);}catch{}try{let{dedupeByElementIdentity:Z}=await Promise.resolve().then(()=>(ra(),ta));q=await Z(m,q);}catch{}try{q=await k(m,q,D);}catch{}try{let{verifyAnimatedGifs:Z}=await Promise.resolve().then(()=>(Wg(),Gg));q=await Z(m,q);}catch{}if(h.deep&&h.deepApiKey)try{let Z=await IP(v,q,h);q.push(...Z);}catch{}if(h.rootSelector)try{let{scopeIssuesToRoot:Z}=await Promise.resolve().then(()=>(Bu(),qu)),ne=await Z(m,q,h.rootSelector);q=ne.issues,ne.warning&&F.push(ne.warning);}catch{}q=Jn(q,h.level??"AA");let P=Ru(q),O=P.verdicts,B=[],$=[],X=new Set;try{if($=[...Y.undecided,...P.undecided],h.rootSelector){let{scopeIssuesToRoot:xe}=await Promise.resolve().then(()=>(Bu(),qu));$=(await xe(m,$,h.rootSelector)).issues;}let Z=new Map;await M(m);let ne=await x(m,"contrast-pixels",F,()=>Ag(m,$,A,Z),{bugs:D}),ae=await Mg(m,$),ue=[...ne,...ae];if(X=new Set(ue.map(xe=>`${xe.selector}|${xe.wcag}`)),ue.length){let{deduplicateIssues:xe}=await Promise.resolve().then(()=>(ra(),ta));O=xe([...O,...ue]);}{let xe=$.filter(Ae=>!X.has(`${Ae.selector}|${Ae.wcag}`)),Ie=await Pg(m,xe,{...h.judge,url:v,level:h.judge?.level??h.level??"AA",measured:Z});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${xe.length} undecided before judge, ${Ie.promoted.length} promoted, ${Ie.judged.filter(Ae=>Ae.verdict==="pass").length} passed`),B=Ie.judged,Ie.promoted.length){let{deduplicateIssues:Ae}=await Promise.resolve().then(()=>(ra(),ta));O=Ae([...O,...Jn(Ie.promoted,h.level??"AA")]);}}}catch{}let K;{let Z=new Set(B.map(ae=>ae.id)),ne=Jn($,h.level??"AA").filter(ae=>!X.has(`${ae.selector}|${ae.wcag}`)&&!Z.has(ae.id.replace("axe-incomplete-","axe-")));ne.length&&(K={count:ne.length,wcag:[...new Set(ne.map(ae=>ae.wcag))].sort()});}try{let{dedupeByElementIdentity:Z}=await Promise.resolve().then(()=>(ra(),ta));O=await Z(m,O);}catch{}try{O=await k(m,O,D);}catch{}{let{attachMutations:Z,stopProvenance:ne}=await Promise.resolve().then(()=>(Fr(),cn));Z(D,await ne(m));}let te={url:v,timestamp:new Date().toISOString(),engine:vg,issues:O,internal_bugs:D,incomplete:[],...B.length?{judged:B}:{},...S.length?{truncated:S}:{},...F.length?{engineWarnings:F}:{},...K?{unsettled:K}:{},summary:Su(O)};if(h.review!==!1&&h.deepApiKey)try{te=await LP(te,h);}catch{}return te}finally{let{stopProvenance:C}=await Promise.resolve().then(()=>(Fr(),cn));if(await C(m),y)await y.close();else {let{restoreInteractionState:E}=await Promise.resolve().then(()=>(zo(),$o));await E(m);}}}async function IP(f,d,g){let h=g.deepApiUrl||"https://api.webability.io",m=await fetch(`${h}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${g.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:d.slice(0,30).map(({source:v,...w})=>w)})});return m.ok?((await m.json()).issues??[]).map((v,w)=>({id:`deep-${w}-${Qa(v.selector||v.element||"")}`,source:"deep-analysis",type:`wcag-${v.wcag}`,wcag:v.wcag,level:"AA",impact:v.severity==="High"?"critical":v.severity==="Medium"?"serious":"moderate",message:v.message,selector:v.selector||v.element||""})):[]}function Ug(f){let d=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&d!=="style"&&!d.startsWith("data-")}async function LP(f,d){let g=d.deepApiUrl||"https://api.webability.io",h=f.issues.filter(Ug);if(h.length===0)return f;try{let m=await fetch(`${g}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.deepApiKey}`},body:JSON.stringify({url:f.url,issues:h.slice(0,30).map(({source:C,...E})=>E)})});if(!m.ok)return f;let y=await m.json();if(!y.confirmed_ids)return f;let v=new Set(y.confirmed_ids),w=f.issues.filter(C=>!Ug(C)||v.has(C.id));return {...f,issues:w,summary:Su(w)}}catch{return f}}function Yg(f){return {...f,issues:f.issues.map(({source:d,...g})=>g)}}async function PP(f,d){return Yg(await ri(f,{...d,dismissModals:false}))}var Xg=class{page;options;snapshots=[];observer=false;constructor(d,g){this.page=d,this.options=g??{};}async analyze(d){return PP(this.page,{...this.options,...d})}async start(d){this.snapshots=[],this.observer=true;let g={...this.options,...d},h=await ri(this.page,{...g,dismissModals:false});this.snapshots.push(h),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let m=await ri(this.page,{...g,dismissModals:!1});this.snapshots.push(m);}catch{}}),await this.page.evaluate(()=>{let m=new MutationObserver(()=>{window.__webabilityOnMutation?.();});m.observe(document.body,{childList:true,subtree:true}),window.__webabilityObserver=m;});}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 g=new Map;for(let y of this.snapshots)for(let v of y.issues)g.set(v.id,v);let h=Array.from(g.values()),m={url:d.url,timestamp:d.timestamp,issues:h,incomplete:[],summary:{total:h.length,critical:h.filter(y=>y.impact==="critical").length,serious:h.filter(y=>y.impact==="serious").length,moderate:h.filter(y=>y.impact==="moderate").length,minor:h.filter(y=>y.impact==="minor").length,incomplete:0}};return this.snapshots=[],Yg(m)}};/*! Bundled license information:
|
|
383
401
|
|
|
384
402
|
axe-core/axe.js:
|
|
385
403
|
(*! axe v4.11.3
|
|
@@ -393,4 +411,4 @@ axe-core/axe.js:
|
|
|
393
411
|
* distribute or in any file that contains substantial portions of this source
|
|
394
412
|
* code.
|
|
395
413
|
*)
|
|
396
|
-
*/export{
|
|
414
|
+
*/export{Xg as WebAbility,PP as a11yCheck};
|