@webability/core 1.8.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 +37 -31
- package/dist/dom.d.cts +5 -4
- package/dist/dom.d.ts +5 -4
- package/dist/dom.js +37 -31
- 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 +47 -45
- package/dist/index.d.cts +59 -3
- package/dist/index.d.ts +59 -3
- package/dist/index.js +47 -45
- package/dist/playwright.cjs +37 -35
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +37 -35
- package/dist/{types-BgiJ7PGs.d.cts → types-g-bI_MhR.d.cts} +92 -6
- package/dist/{types-BgiJ7PGs.d.ts → types-g-bI_MhR.d.ts} +92 -6
- package/package.json +17 -3
package/dist/playwright.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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,48 +354,50 @@
|
|
|
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(K,te){var de=K==null?null:typeof Symbol<"u"&&K[Symbol.iterator]||K["@@iterator"];if(de!=null){var _e,it,Dt,Ot,rr=[],Rt=true,Vt=false;try{if(Dt=(de=de.call(K)).next,te===0){if(Object(de)!==de)return;Rt=!1;}else for(;!(Rt=(_e=Dt.call(de)).done)&&(rr.push(_e.value),rr.length!==te);Rt=!0);}catch(Xn){Vt=true,it=Xn;}finally{try{if(!Rt&&de.return!=null&&(Ot=de.return(),Object(Ot)!==Ot))return}finally{if(Vt)throw it}}return rr}}function zt(K){if(Array.isArray(K))return K}function ft(K,te){if(!(K instanceof te))throw new TypeError("Cannot call a class as a function")}function tr(K,te){for(var de=0;de<te.length;de++){var _e=te[de];_e.enumerable=_e.enumerable||false,_e.configurable=true,"value"in _e&&(_e.writable=true),Object.defineProperty(K,bt(_e.key),_e);}}function vt(K,te,de){return te&&tr(K.prototype,te),de&&tr(K,de),Object.defineProperty(K,"prototype",{writable:false}),K}function bt(K){var te=on(K,"string");return oe(te)=="symbol"?te:te+""}function on(K,te){if(oe(K)!="object"||!K)return K;var de=K[Symbol.toPrimitive];if(de!==void 0){var _e=de.call(K,te);if(oe(_e)!="object")return _e;throw new TypeError("@@toPrimitive must return a primitive value.")}return (te==="string"?String:Number)(K)}function Ke(K,te){var de=typeof Symbol<"u"&&K[Symbol.iterator]||K["@@iterator"];if(!de){if(Array.isArray(K)||(de=Gt(K))||te){de&&(K=de);var _e=0,it=function(){};return {s:it,n:function(){return _e>=K.length?{done:true}:{done:false,value:K[_e++]}},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(){de=de.call(K);},n:function(){var Vt=de.next();return Ot=Vt.done,Vt},e:function(Vt){rr=true,Dt=Vt;},f:function(){try{Ot||de.return==null||de.return();}finally{if(rr)throw Dt}}}}function Gt(K,te){if(K){if(typeof K=="string")return Qa(K,te);var de={}.toString.call(K).slice(8,-1);return de==="Object"&&K.constructor&&(de=K.constructor.name),de==="Map"||de==="Set"?Array.from(K):de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de)?Qa(K,te):void 0}}function Qa(K,te){(te==null||te>K.length)&&(te=K.length);for(var de=0,_e=Array(te);de<te;de++)_e[de]=K[de];return _e}function oe(K){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(te){return typeof te}:function(te){return te&&typeof Symbol=="function"&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te},oe(K)}((function(K,te,de,_e,it,Dt,Ot,rr,Rt,Vt,Xn){var $g=Object.create,Yn=Object.defineProperty,zg=Object.getPrototypeOf,Gg=Object.prototype.hasOwnProperty,Ug=Object.getOwnPropertyNames,Wg=Object.getOwnPropertyDescriptor,Xg=function(t,r,n){return r in t?Yn(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Yg=function(t){return Yn(t,"__esModule",{value:true})},j=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},dr=function(t,r){for(var n in r)Yn(t,n,{get:r[n],enumerable:true});},Kg=function(t,r,n){if(r&&oe(r)==="object"||typeof r=="function"){var a=Ke(Ug(r)),i;try{var o=function(){var l=i.value;!Gg.call(t,l)&&l!=="default"&&Yn(t,l,{get:function(){return r[l]},enumerable:!(n=Wg(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 Kg(Yg(Yn(t!=null?$g(zg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Ru=function(t,r,n){return Xg(t,oe(r)!=="symbol"?r+"":r,n),n},Jg=j(function(e,t){(function(r,n){oe(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(Q){var le=oe(Q);return Q!==null&&(le==="object"||le==="function")}function n(Q){return typeof Q=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(le){return Object.prototype.toString.call(le)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(le,pe){J[o]=le,J[o+1]=pe,o+=2,o===2&&(l?l(re):be());};function c(Q){l=Q;}function p(Q){u=Q;}var y=typeof d<"u"?d:void 0,A=y||{},k=A.MutationObserver||A.WebKitMutationObserver,I=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",P=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function q(){return function(){return process.nextTick(re)}}function B(){return typeof s<"u"?function(){s(re);}:U()}function z(){var Q=0,le=new k(re),pe=h.createTextNode("");return le.observe(pe,{characterData:true}),function(){pe.data=Q=++Q%2;}}function G(){var Q=new MessageChannel;return Q.port1.onmessage=re,function(){return Q.port2.postMessage(0)}}function U(){var Q=setTimeout;return function(){return Q(re,1)}}var J=new Array(1e3);function re(){for(var Q=0;Q<o;Q+=2){var le=J[Q],pe=J[Q+1];le(pe),J[Q]=void 0,J[Q+1]=void 0;}o=0;}function se(){try{var Q=Function("return this")().require("vertx");return s=Q.runOnLoop||Q.runOnContext,B()}catch{return U()}}var be=void 0;I?be=q():k?be=z():P?be=G():y===void 0?be=se():be=U();function ne(Q,le){var pe=this,Se=new this.constructor(ye);Se[he]===void 0&&ct(Se);var Be=pe._state;if(Be){var Ge=arguments[Be-1];u(function(){return st(Be,Se,Ge,pe._result)});}else Ye(pe,Se,Q,le);return Se}function ce(Q){var le=this;if(Q&&oe(Q)==="object"&&Q.constructor===le)return Q;var pe=new le(ye);return De(pe,Q),pe}var he=Math.random().toString(36).substring(2);function ye(){}var Fe=void 0,qe=1,Ce=2;function Pe(){return new TypeError("You cannot resolve a promise with itself")}function fe(){return new TypeError("A promises callback cannot return that same promise.")}function Re(Q,le,pe,Se){try{Q.call(le,pe,Se);}catch(Be){return Be}}function Y(Q,le,pe){u(function(Se){var Be=false,Ge=Re(pe,le,function(Tt){Be||(Be=true,le!==Tt?De(Se,Tt):Ee(Se,Tt));},function(Tt){Be||(Be=true,ke(Se,Tt));},"Settle: "+(Se._label||" unknown promise"));!Be&&Ge&&(Be=true,ke(Se,Ge));},Q);}function xe(Q,le){le._state===qe?Ee(Q,le._result):le._state===Ce?ke(Q,le._result):Ye(le,void 0,function(pe){return De(Q,pe)},function(pe){return ke(Q,pe)});}function ue(Q,le,pe){le.constructor===Q.constructor&&pe===ne&&le.constructor.resolve===ce?xe(Q,le):pe===void 0?Ee(Q,le):n(pe)?Y(Q,le,pe):Ee(Q,le);}function De(Q,le){if(Q===le)ke(Q,Pe());else if(r(le)){var pe=void 0;try{pe=le.then;}catch(Se){ke(Q,Se);return}ue(Q,le,pe);}else Ee(Q,le);}function Ne(Q){Q._onerror&&Q._onerror(Q._result),nt(Q);}function Ee(Q,le){Q._state===Fe&&(Q._result=le,Q._state=qe,Q._subscribers.length!==0&&u(nt,Q));}function ke(Q,le){Q._state===Fe&&(Q._state=Ce,Q._result=le,u(Ne,Q));}function Ye(Q,le,pe,Se){var Be=Q._subscribers,Ge=Be.length;Q._onerror=null,Be[Ge]=le,Be[Ge+qe]=pe,Be[Ge+Ce]=Se,Ge===0&&Q._state&&u(nt,Q);}function nt(Q){var le=Q._subscribers,pe=Q._state;if(le.length!==0){for(var Se=void 0,Be=void 0,Ge=Q._result,Tt=0;Tt<le.length;Tt+=3)Se=le[Tt],Be=le[Tt+pe],Se?st(pe,Se,Be,Ge):Be(Ge);Q._subscribers.length=0;}}function st(Q,le,pe,Se){var Be=n(pe),Ge=void 0,Tt=void 0,jn=true;if(Be){try{Ge=pe(Se);}catch(Ro){jn=false,Tt=Ro;}if(le===Ge){ke(le,fe());return}}else Ge=Se;le._state!==Fe||(Be&&jn?De(le,Ge):jn===false?ke(le,Tt):Q===qe?Ee(le,Ge):Q===Ce&&ke(le,Ge));}function wt(Q,le){try{le(function(Se){De(Q,Se);},function(Se){ke(Q,Se);});}catch(pe){ke(Q,pe);}}var Ct=0;function Et(){return Ct++}function ct(Q){Q[he]=Ct++,Q._state=void 0,Q._result=void 0,Q._subscribers=[];}function Vn(){return new Error("Array Methods must be provided an Array")}var Pt=(function(){function Q(le,pe){this._instanceConstructor=le,this.promise=new le(ye),this.promise[he]||ct(this.promise),i(pe)?(this.length=pe.length,this._remaining=pe.length,this._result=new Array(this.length),this.length===0?Ee(this.promise,this._result):(this.length=this.length||0,this._enumerate(pe),this._remaining===0&&Ee(this.promise,this._result))):ke(this.promise,Vn());}return Q.prototype._enumerate=function(pe){for(var Se=0;this._state===Fe&&Se<pe.length;Se++)this._eachEntry(pe[Se],Se);},Q.prototype._eachEntry=function(pe,Se){var Be=this._instanceConstructor,Ge=Be.resolve;if(Ge===ce){var Tt=void 0,jn=void 0,Ro=false;try{Tt=pe.then;}catch(du){Ro=true,jn=du;}if(Tt===ne&&pe._state!==Fe)this._settledAt(pe._state,Se,pe._result);else if(typeof Tt!="function")this._remaining--,this._result[Se]=pe;else if(Be===ht){var cu=new Be(ye);Ro?ke(cu,jn):ue(cu,pe,Tt),this._willSettleAt(cu,Se);}else this._willSettleAt(new Be(function(du){return du(pe)}),Se);}else this._willSettleAt(Ge(pe),Se);},Q.prototype._settledAt=function(pe,Se,Be){var Ge=this.promise;Ge._state===Fe&&(this._remaining--,pe===Ce?ke(Ge,Be):this._result[Se]=Be),this._remaining===0&&Ee(Ge,this._result);},Q.prototype._willSettleAt=function(pe,Se){var Be=this;Ye(pe,void 0,function(Ge){return Be._settledAt(qe,Se,Ge)},function(Ge){return Be._settledAt(Ce,Se,Ge)});},Q})();function dt(Q){return new Pt(this,Q).promise}function St(Q){var le=this;return i(Q)?new le(function(pe,Se){for(var Be=Q.length,Ge=0;Ge<Be;Ge++)le.resolve(Q[Ge]).then(pe,Se);}):new le(function(pe,Se){return Se(new TypeError("You must pass an array to race."))})}function xt(Q){var le=this,pe=new le(ye);return ke(pe,Q),pe}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 Q(le){this[he]=Et(),this._result=this._state=void 0,this._subscribers=[],ye!==le&&(typeof le!="function"&&Bt(),this instanceof Q?wt(this,le):Ht());}return Q.prototype.catch=function(pe){return this.then(null,pe)},Q.prototype.finally=function(pe){var Se=this,Be=Se.constructor;return n(pe)?Se.then(function(Ge){return Be.resolve(pe()).then(function(){return Ge})},function(Ge){return Be.resolve(pe()).then(function(){throw Ge})}):Se.then(pe,pe)},Q})();ht.prototype.then=ne,ht.all=dt,ht.race=St,ht.resolve=ce,ht.reject=xt,ht._setScheduler=c,ht._setAsap=p,ht._asap=u;function at(){var Q=void 0;if(typeof g<"u")Q=g;else if(typeof self<"u")Q=self;else try{Q=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var le=Q.Promise;if(le){var pe=null;try{pe=Object.prototype.toString.call(le.resolve());}catch{}if(pe==="[object Promise]"&&!le.cast)return}Q.Promise=ht;}return ht.polyfill=at,ht.Promise=ht,ht});}),Zg=j(function(e){var t=1e5,r=(function(){var Y=Object.prototype.toString,xe=Object.prototype.hasOwnProperty;return {Class:function(De){return Y.call(De).replace(/^\[object *|\]$/g,"")},HasProperty:function(De,Ne){return Ne in De},HasOwnProperty:function(De,Ne){return xe.call(De,Ne)},IsCallable:function(De){return typeof De=="function"},ToInt32:function(De){return De>>0},ToUint32:function(De){return De>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(Y,xe,ue){return Y<xe?xe:Y>ue?ue:Y}var p=Object.getOwnPropertyNames||function(Y){if(Y!==Object(Y))throw new TypeError("Object.getOwnPropertyNames called on non-object");var xe=[],ue;for(ue in Y)r.HasOwnProperty(Y,ue)&&xe.push(ue);return xe},y;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?y=Object.defineProperty:y=function(xe,ue,De){if(!xe===Object(xe))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(De,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(xe,ue,De.get),r.HasProperty(De,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(xe,ue,De.set),r.HasProperty(De,"value")&&(xe[ue]=De.value),xe};function A(Y){if(p&&y){var xe=p(Y),ue;for(ue=0;ue<xe.length;ue+=1)y(Y,xe[ue],{value:Y[xe[ue]],writable:false,enumerable:false,configurable:false});}}function k(Y){if(!y)return;if(Y.length>t)throw new RangeError("Array too large for polyfill");function xe(De){y(Y,De,{get:function(){return Y._getter(De)},set:function(Ee){Y._setter(De,Ee);},enumerable:true,configurable:false});}var ue;for(ue=0;ue<Y.length;ue+=1)xe(ue);}function I(Y,xe){var ue=32-xe;return Y<<ue>>ue}function P(Y,xe){var ue=32-xe;return Y<<ue>>>ue}function q(Y){return [Y&255]}function B(Y){return I(Y[0],8)}function z(Y){return [Y&255]}function G(Y){return P(Y[0],8)}function U(Y){return Y=u(Number(Y)),[Y<0?0:Y>255?255:Y&255]}function J(Y){return [Y>>8&255,Y&255]}function re(Y){return I(Y[0]<<8|Y[1],16)}function se(Y){return [Y>>8&255,Y&255]}function be(Y){return P(Y[0]<<8|Y[1],16)}function ne(Y){return [Y>>24&255,Y>>16&255,Y>>8&255,Y&255]}function ce(Y){return I(Y[0]<<24|Y[1]<<16|Y[2]<<8|Y[3],32)}function he(Y){return [Y>>24&255,Y>>16&255,Y>>8&255,Y&255]}function ye(Y){return P(Y[0]<<24|Y[1]<<16|Y[2]<<8|Y[3],32)}function Fe(Y,xe,ue){var De=(1<<xe-1)-1,Ne,Ee,ke,Ye,nt,st,wt;function Ct(Et){var ct=i(Et),Vn=Et-ct;return Vn<.5?ct:Vn>.5||ct%2?ct+1:ct}for(Y!==Y?(Ee=(1<<xe)-1,ke=l(2,ue-1),Ne=0):Y===1/0||Y===-1/0?(Ee=(1<<xe)-1,ke=0,Ne=Y<0?1:0):Y===0?(Ee=0,ke=0,Ne=1/Y===-1/0?1:0):(Ne=Y<0,Y=a(Y),Y>=l(2,1-De)?(Ee=s(i(o(Y)/n),1023),ke=Ct(Y/l(2,Ee)*l(2,ue)),ke/l(2,ue)>=2&&(Ee=Ee+1,ke=1),Ee>De?(Ee=(1<<xe)-1,ke=0):(Ee=Ee+De,ke=ke-l(2,ue))):(Ee=0,ke=Ct(Y/l(2,1-De-ue)))),nt=[],Ye=ue;Ye;Ye-=1)nt.push(ke%2?1:0),ke=i(ke/2);for(Ye=xe;Ye;Ye-=1)nt.push(Ee%2?1:0),Ee=i(Ee/2);for(nt.push(Ne?1:0),nt.reverse(),st=nt.join(""),wt=[];st.length;)wt.push(parseInt(st.substring(0,8),2)),st=st.substring(8);return wt}function qe(Y,xe,ue){var De=[],Ne,Ee,ke,Ye,nt,st,wt,Ct;for(Ne=Y.length;Ne;Ne-=1)for(ke=Y[Ne-1],Ee=8;Ee;Ee-=1)De.push(ke%2?1:0),ke=ke>>1;return De.reverse(),Ye=De.join(""),nt=(1<<xe-1)-1,st=parseInt(Ye.substring(0,1),2)?-1:1,wt=parseInt(Ye.substring(1,1+xe),2),Ct=parseInt(Ye.substring(1+xe),2),wt===(1<<xe)-1?Ct===0?st*(1/0):NaN:wt>0?st*l(2,wt-nt)*(1+Ct/l(2,ue)):Ct!==0?st*l(2,-(nt-1))*(Ct/l(2,ue)):st<0?-0:0}function Ce(Y){return qe(Y,11,52)}function Pe(Y){return Fe(Y,11,52)}function fe(Y){return qe(Y,8,23)}function Re(Y){return Fe(Y,8,23)}((function(){function Y(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;A(this);}e.ArrayBuffer=e.ArrayBuffer||Y;function xe(){}function ue(Et,ct,Vn){var Pt;return Pt=function(St,xt,Bt){var Ht,ht,at,Q;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 Y(this.byteLength),this.byteOffset=0;}else if(oe(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 Y(this.byteLength),this.byteOffset=0,at=0;at<this.length;at+=1)this._setter(at,Ht._getter(at));else if(oe(arguments[0])==="object"&&!(arguments[0]instanceof Y||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 Y(this.byteLength),this.byteOffset=0,at=0;at<this.length;at+=1)Q=ht[at],this._setter(at,Number(Q));else if(oe(arguments[0])==="object"&&(arguments[0]instanceof Y||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,A(this),k(this);},Pt.prototype=new xe,Pt.prototype.BYTES_PER_ELEMENT=Et,Pt.prototype._pack=ct,Pt.prototype._unpack=Vn,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,at,Q,le,pe,Se,Be;if(oe(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(pe=this.byteOffset+Ht*this.BYTES_PER_ELEMENT,Se=xt.length*this.BYTES_PER_ELEMENT,xt.buffer===this.buffer){for(Be=[],at=0,Q=xt.byteOffset;at<Se;at+=1,Q+=1)Be[at]=xt.buffer._bytes[Q];for(at=0,le=pe;at<Se;at+=1,le+=1)this.buffer._bytes[le]=Be[at];}else for(at=0,Q=xt.byteOffset,le=pe;at<Se;at+=1,Q+=1,le+=1)this.buffer._bytes[le]=xt.buffer._bytes[Q];}else if(oe(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(at=0;at<ht;at+=1)Q=Bt[at],this._setter(Ht+at,Number(Q));}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 De=ue(1,q,B),Ne=ue(1,z,G),Ee=ue(1,U,G),ke=ue(2,J,re),Ye=ue(2,se,be),nt=ue(4,ne,ce),st=ue(4,he,ye),wt=ue(4,Re,fe),Ct=ue(8,Pe,Ce);e.Int8Array=e.Int8Array||De,e.Uint8Array=e.Uint8Array||Ne,e.Uint8ClampedArray=e.Uint8ClampedArray||Ee,e.Int16Array=e.Int16Array||ke,e.Uint16Array=e.Uint16Array||Ye,e.Int32Array=e.Int32Array||nt,e.Uint32Array=e.Uint32Array||st,e.Float32Array=e.Float32Array||wt,e.Float64Array=e.Float64Array||Ct;}))(),(function(){function Y(Ee,ke){return r.IsCallable(Ee.get)?Ee.get(ke):Ee[ke]}var xe=(function(){var Ee=new e.Uint16Array([4660]),ke=new e.Uint8Array(Ee.buffer);return Y(ke,0)===18})();function ue(Ee,ke,Ye){if(arguments.length===0)Ee=new e.ArrayBuffer(0);else if(!(Ee instanceof e.ArrayBuffer||r.Class(Ee)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Ee||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(ke),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");A(this);}function De(Ee){return function(ke,Ye){if(ke=r.ToUint32(ke),ke+Ee.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");ke+=this.byteOffset;var nt=new e.Uint8Array(this.buffer,ke,Ee.BYTES_PER_ELEMENT),st=[],wt;for(wt=0;wt<Ee.BYTES_PER_ELEMENT;wt+=1)st.push(Y(nt,wt));return !!Ye==!!xe&&st.reverse(),Y(new Ee(new e.Uint8Array(st).buffer),0)}}ue.prototype.getUint8=De(e.Uint8Array),ue.prototype.getInt8=De(e.Int8Array),ue.prototype.getUint16=De(e.Uint16Array),ue.prototype.getInt16=De(e.Int16Array),ue.prototype.getUint32=De(e.Uint32Array),ue.prototype.getInt32=De(e.Int32Array),ue.prototype.getFloat32=De(e.Float32Array),ue.prototype.getFloat64=De(e.Float64Array);function Ne(Ee){return function(ke,Ye,nt){if(ke=r.ToUint32(ke),ke+Ee.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var st=new Ee([Ye]),wt=new e.Uint8Array(st.buffer),Ct=[],Et,ct;for(Et=0;Et<Ee.BYTES_PER_ELEMENT;Et+=1)Ct.push(Y(wt,Et));!!nt==!!xe&&Ct.reverse(),ct=new e.Uint8Array(this.buffer,ke,Ee.BYTES_PER_ELEMENT),ct.set(Ct);}}ue.prototype.setUint8=Ne(e.Uint8Array),ue.prototype.setInt8=Ne(e.Int8Array),ue.prototype.setUint16=Ne(e.Uint16Array),ue.prototype.setInt16=Ne(e.Int16Array),ue.prototype.setUint32=Ne(e.Uint32Array),ue.prototype.setInt32=Ne(e.Int32Array),ue.prototype.setFloat32=Ne(e.Float32Array),ue.prototype.setFloat64=Ne(e.Float64Array),e.DataView=e.DataView||ue;})();}),Qg=j(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 y=c[this._id];return y&&y[0]===c?(y[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 "+oe(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);}),fr=j(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":oe(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":oe(d))=="object"&&d)||r((typeof self>"u"?"undefined":oe(self))=="object"&&self)||r((typeof g>"u"?"undefined":oe(g))=="object"&&g)||r(oe(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),pr=j(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),ei=j(function(e,t){var r=pr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),ev=j(function(e,t){var r=ei(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":oe(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),nr=j(function(e,t){var r=ei(),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)}};}),ti=j(function(e,t){var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Fu=j(function(e,t){var r=ti(),n=nr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Ut=j(function(e,t){var r=(typeof h>"u"?"undefined":oe(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=j(function(e,t){var r=pr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),sn=j(function(e,t){var r=ei(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Iu=j(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;}),ri=j(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),tv=j(function(e,t){var r=nr(),n=pr(),a=ti(),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;}),qo=j(function(e,t){t.exports=function(r){return r==null};}),ni=j(function(e,t){var r=qo(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),Kn=j(function(e,t){var r=tv(),n=ni();t.exports=function(a){return r(n(a))};}),jr=j(function(e,t){var r=Ut();t.exports=function(n){return oe(n)=="object"?n!==null:r(n)};}),Jn=j(function(e,t){t.exports={};}),Bo=j(function(e,t){var r=Jn(),n=fr(),a=Ut(),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]};}),rv=j(function(e,t){var r=nr();t.exports=r({}.isPrototypeOf);}),nv=j(function(e,t){var r=fr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),av=j(function(e,t){var r=fr(),n=nv(),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;}),Lu=j(function(e,t){var r=av(),n=pr(),a=fr(),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});}),Pu=j(function(e,t){var r=Lu();t.exports=r&&!Symbol.sham&&oe(Symbol.iterator)=="symbol";}),Mu=j(function(e,t){var r=Bo(),n=Ut(),a=rv(),i=Pu(),o=Object;t.exports=i?function(s){return oe(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Ou=j(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ai=j(function(e,t){var r=Ut(),n=Ou(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Ho=j(function(e,t){var r=ai(),n=qo();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),iv=j(function(e,t){var r=sn(),n=Ut(),a=jr(),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")};}),Vo=j(function(e,t){t.exports=true;}),ov=j(function(e,t){var r=fr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),ii=j(function(e,t){var r=Vo(),n=fr(),a=ov(),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"});}),Nu=j(function(e,t){var r=ii();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),jo=j(function(e,t){var r=ni(),n=Object;t.exports=function(a){return n(r(a))};}),Lr=j(function(e,t){var r=nr(),n=jo(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),qu=j(function(e,t){var r=nr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Pr=j(function(e,t){var r=fr(),n=Nu(),a=Lr(),i=qu(),o=Lu(),s=Pu(),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]};}),sv=j(function(e,t){var r=sn(),n=jr(),a=Mu(),i=Ho(),o=iv(),s=Pr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,p){if(!n(c)||a(c))return c;var y=i(c,u),A;if(y){if(p===void 0&&(p="default"),A=r(y,c,p),!n(A)||a(A))return A;throw new l("Can't convert object to primitive value")}return p===void 0&&(p="number"),o(c,p)};}),Bu=j(function(e,t){var r=sv(),n=Mu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Hu=j(function(e,t){var r=fr(),n=jr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),Vu=j(function(e,t){var r=xr(),n=pr(),a=Hu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),lv=j(function(e){var t=xr(),r=sn(),n=Iu(),a=ri(),i=Kn(),o=Bu(),s=Lr(),l=Vu(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(p,y){if(p=i(p),y=o(y),l)try{return u(p,y)}catch{}if(s(p,y))return a(!r(n.f,p,y),p[y])};}),uv=j(function(e,t){var r=pr(),n=Ut(),a=/#|\.prototype\./,i=function(p,y){var A=s[o(p)];return A===u?true:A===l?false:n(y)?r(y):!!y},o=i.normalize=function(c){return String(c).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),ju=j(function(e,t){var r=Fu(),n=ai(),a=ei(),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)}};}),$u=j(function(e,t){var r=xr(),n=pr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Dn=j(function(e,t){var r=jr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),oi=j(function(e){var t=xr(),r=Vu(),n=$u(),a=Dn(),i=Bu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",p="writable";e.f=t?n?function(A,k,I){if(a(A),k=i(k),a(I),typeof A=="function"&&k==="prototype"&&"value"in I&&p in I&&!I[p]){var P=l(A,k);P&&P[p]&&(A[k]=I.value,I={configurable:c in I?I[c]:P[c],enumerable:u in I?I[u]:P[u],writable:false});}return s(A,k,I)}:s:function(A,k,I){if(a(A),k=i(k),a(I),r)try{return s(A,k,I)}catch{}if("get"in I||"set"in I)throw new o("Accessors not supported");return "value"in I&&(A[k]=I.value),A};}),Zn=j(function(e,t){var r=xr(),n=oi(),a=ri();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),si=j(function(e,t){var r=fr(),n=ev(),a=Fu(),i=Ut(),o=lv().f,s=uv(),l=Jn(),u=ju(),c=Zn(),p=Lr();ii();var y=function(k){var I=function(q,B,z){if(this instanceof I){switch(arguments.length){case 0:return new k;case 1:return new k(q);case 2:return new k(q,B)}return new k(q,B,z)}return n(k,this,arguments)};return I.prototype=k.prototype,I};t.exports=function(A,k){var I=A.target,P=A.global,q=A.stat,B=A.proto,z=P?r:q?r[I]:r[I]&&r[I].prototype,G=P?l:l[I]||c(l,I,{})[I],U=G.prototype,J,re,se,be,ne,ce,he,ye,Fe;for(be in k)J=s(P?be:I+(q?".":"#")+be,A.forced),re=!J&&z&&p(z,be),ce=G[be],re&&(A.dontCallGetSet?(Fe=o(z,be),he=Fe&&Fe.value):he=z[be]),ne=re&&he?he:k[be],!(!J&&!B&&oe(ce)==oe(ne))&&(A.bind&&re?ye=u(ne,r):A.wrap&&re?ye=y(ne):B&&i(ne)?ye=a(ne):ye=ne,(A.sham||ne&&ne.sham||ce&&ce.sham)&&c(ye,"sham",true),c(G,be,ye),B&&(se=I+"Prototype",p(l,se)||c(l,se,{}),c(l[se],be,ne),A.real&&U&&(J||!U[be])&&c(U,be,ne)));};}),cv=j(function(){var e=si(),t=Lr();e({target:"Object",stat:true},{hasOwn:t});}),dv=j(function(e,t){cv();var r=Jn();t.exports=r.Object.hasOwn;}),fv=j(function(e,t){var r=dv();t.exports=r;}),pv=j(function(e,t){var r=fv();t.exports=r;}),$o=j(function(e,t){var r=Nu(),n=qu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),mv=j(function(e,t){var r=pr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),zo=j(function(e,t){var r=Lr(),n=Ut(),a=jo(),i=$o(),o=mv(),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 y=p.constructor;return n(y)&&p instanceof y?y.prototype:p instanceof l?u:null};}),hv=j(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)};}),Go=j(function(e,t){var r=hv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),gv=j(function(e,t){var r=Go(),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)};}),vv=j(function(e,t){var r=Go(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),zu=j(function(e,t){var r=vv();t.exports=function(n){return r(n.length)};}),bv=j(function(e,t){var r=Kn(),n=gv(),a=zu(),i=function(s){return function(l,u,c){var p=r(l),y=a(p);if(y===0)return !s&&-1;var A=n(c,y),k;if(s&&u!==u){for(;y>A;)if(k=p[A++],k!==k)return true}else for(;y>A;A++)if((s||A in p)&&p[A]===u)return s||A||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Uo=j(function(e,t){t.exports={};}),yv=j(function(e,t){var r=nr(),n=Lr(),a=Kn(),i=bv().indexOf,o=Uo(),s=r([].push);t.exports=function(l,u){var c=a(l),p=0,y=[],A;for(A in c)!n(o,A)&&n(c,A)&&s(y,A);for(;u.length>p;)n(c,A=u[p++])&&(~i(y,A)||s(y,A));return y};}),Gu=j(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Uu=j(function(e,t){var r=yv(),n=Gu();t.exports=Object.keys||function(i){return r(i,n)};}),wv=j(function(e,t){var r=xr(),n=pr(),a=nr(),i=zo(),o=Uu(),s=Kn(),l=Iu().f,u=a(l),c=a([].push),p=r&&n(function(){var A=Object.create(null);return A[2]=2,!u(A,2)}),y=function(k){return function(I){for(var P=s(I),q=o(P),B=p&&i(P)===null,z=q.length,G=0,U=[],J;z>G;)J=q[G++],(!r||(B?J in P:u(P,J)))&&c(U,k?[J,P[J]]:P[J]);return U}};t.exports={entries:y(true),values:y(false)};}),xv=j(function(){var e=si(),t=wv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),Dv=j(function(e,t){xv();var r=Jn();t.exports=r.Object.values;}),_v=j(function(e,t){var r=Dv();t.exports=r;}),Av=j(function(e,t){var r=_v();t.exports=r;}),Wo=j(function(e,t){var r=Pr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),li=j(function(e,t){var r=Wo(),n=Ut(),a=ti(),i=Pr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(p,y){try{return p[y]}catch{}};t.exports=r?a:function(c){var p,y,A;return c===void 0?"Undefined":c===null?"Null":typeof(y=u(p=s(c),o))=="string"?y:l?a(p):(A=a(p))==="Object"&&n(p.callee)?"Arguments":A};}),Wu=j(function(e,t){var r=li(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),Ev=j(function(e,t){var r=nr(),n=Go(),a=Wu(),i=ni(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(p){return function(y,A){var k=a(i(y)),I=n(A),P=k.length,q,B;return I<0||I>=P?p?"":void 0:(q=s(k,I),q<55296||q>56319||I+1===P||(B=s(k,I+1))<56320||B>57343?p?o(k,I):q:p?l(k,I,I+2):(q-55296<<10)+(B-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Cv=j(function(e,t){var r=fr(),n=Ut(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),Sv=j(function(e,t){var r=Cv(),n=fr(),a=jr(),i=Zn(),o=Lr(),s=ii(),l=$o(),u=Uo(),c="Object already initialized",p=n.TypeError,y=n.WeakMap,A,k,I,P=function(U){return I(U)?k(U):A(U,{})},q=function(U){return function(J){var re;if(!a(J)||(re=k(J)).type!==U)throw new p("Incompatible receiver, "+U+" required");return re}};r||s.state?(B=s.state||(s.state=new y),B.get=B.get,B.has=B.has,B.set=B.set,A=function(U,J){if(B.has(U))throw new p(c);return J.facade=U,B.set(U,J),J},k=function(U){return B.get(U)||{}},I=function(U){return B.has(U)}):(z=l("state"),u[z]=true,A=function(U,J){if(o(U,z))throw new p(c);return J.facade=U,i(U,z,J),J},k=function(U){return o(U,z)?U[z]:{}},I=function(U){return o(U,z)});var B,z;t.exports={set:A,get:k,has:I,enforce:P,getterFor:q};}),kv=j(function(e,t){var r=xr(),n=Lr(),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};}),Tv=j(function(e){var t=xr(),r=$u(),n=oi(),a=Dn(),i=Kn(),o=Uu();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),p=o(u),y=p.length,A=0,k;y>A;)n.f(l,k=p[A++],c[k]);return l};}),Rv=j(function(e,t){var r=Bo();t.exports=r("document","documentElement");}),Xu=j(function(e,t){var r=Dn(),n=Tv(),a=Gu(),i=Uo(),o=Rv(),s=Hu(),l=$o(),u=">",c="<",p="prototype",y="script",A=l("IE_PROTO"),k=function(){},I=function(U){return c+y+u+U+c+"/"+y+u},P=function(U){U.write(I("")),U.close();var J=U.parentWindow.Object;return U=null,J},q=function(){var U=s("iframe"),J="java"+y+":",re;return U.style.display="none",o.appendChild(U),U.src=String(J),re=U.contentWindow.document,re.open(),re.write(I("document.F=Object")),re.close(),re.F},B,z=function(){try{B=new ActiveXObject("htmlfile");}catch{}z=typeof h<"u"?h.domain&&B?P(B):q():P(B);for(var U=a.length;U--;)delete z[p][a[U]];return z()};i[A]=true,t.exports=Object.create||function(U,J){var re;return U!==null?(k[p]=r(U),re=new k,k[p]=null,re[A]=U):re=z(),J===void 0?re:n.f(re,J)};}),Yu=j(function(e,t){var r=Zn();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),Ku=j(function(e,t){var r=pr(),n=Ut(),a=jr(),i=Xu(),o=zo(),s=Yu(),l=Pr(),u=Vo(),c=l("iterator"),p=false,y,A,k;[].keys&&(k=[].keys(),"next"in k?(A=o(o(k)),A!==Object.prototype&&(y=A)):p=true);var I=!a(y)||r(function(){var P={};return y[c].call(P)!==P});I?y={}:u&&(y=i(y)),n(y[c])||s(y,c,function(){return this}),t.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:p};}),Fv=j(function(e,t){var r=Wo(),n=li();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),Ju=j(function(e,t){var r=Wo(),n=oi().f,a=Zn(),i=Lr(),o=Fv(),s=Pr(),l=s("toStringTag");t.exports=function(u,c,p,y){var A=p?u:u&&u.prototype;A&&(i(A,l)||n(A,l,{configurable:true,value:c}),y&&!r&&a(A,"toString",o));};}),ui=j(function(e,t){t.exports={};}),Iv=j(function(e,t){var r=Ku().IteratorPrototype,n=Xu(),a=ri(),i=Ju(),o=ui(),s=function(){return this};t.exports=function(l,u,c,p){var y=u+" Iterator";return l.prototype=n(r,{next:a(+!p,c)}),i(l,y,false,true),o[y]=s,l};}),Lv=j(function(e,t){var r=nr(),n=ai();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Pv=j(function(e,t){var r=jr();t.exports=function(n){return r(n)||n===null};}),Mv=j(function(e,t){var r=Pv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),Ov=j(function(e,t){var r=Lv(),n=jr(),a=ni(),i=Mv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,p){return a(c),i(p),n(c)&&(o?l(c,p):c.__proto__=p),c}})():void 0);}),Nv=j(function(e,t){var r=si(),n=sn(),a=Vo(),i=kv(),o=Ut(),s=Iv(),l=zo(),u=Ov(),c=Ju(),p=Zn(),y=Yu(),A=Pr(),k=ui(),I=Ku(),P=i.PROPER,q=i.CONFIGURABLE,B=I.IteratorPrototype,z=I.BUGGY_SAFARI_ITERATORS,G=A("iterator"),U="keys",J="values",re="entries",se=function(){return this};t.exports=function(be,ne,ce,he,ye,Fe,qe){s(ce,ne,he);var Ce=function(Ye){if(Ye===ye&&xe)return xe;if(!z&&Ye&&Ye in Re)return Re[Ye];switch(Ye){case U:return function(){return new ce(this,Ye)};case J:return function(){return new ce(this,Ye)};case re:return function(){return new ce(this,Ye)}}return function(){return new ce(this)}},Pe=ne+" Iterator",fe=false,Re=be.prototype,Y=Re[G]||Re["@@iterator"]||ye&&Re[ye],xe=!z&&Y||Ce(ye),ue=ne==="Array"&&Re.entries||Y,De,Ne,Ee;if(ue&&(De=l(ue.call(new be)),De!==Object.prototype&&De.next&&(!a&&l(De)!==B&&(u?u(De,B):o(De[G])||y(De,G,se)),c(De,Pe,true,true),a&&(k[Pe]=se))),P&&ye===J&&Y&&Y.name!==J&&(!a&&q?p(Re,"name",J):(fe=true,xe=function(){return n(Y,this)})),ye)if(Ne={values:Ce(J),keys:Fe?xe:Ce(U),entries:Ce(re)},qe)for(Ee in Ne)(z||fe||!(Ee in Re))&&y(Re,Ee,Ne[Ee]);else r({target:ne,proto:true,forced:z||fe},Ne);return (!a||qe)&&Re[G]!==xe&&y(Re,G,xe,{name:ye}),k[ne]=xe,Ne};}),qv=j(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),Bv=j(function(){var e=Ev().charAt,t=Wu(),r=Sv(),n=Nv(),a=qv(),i="String Iterator",o=r.set,s=r.getterFor(i);n(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,p=u.index,y;return p>=c.length?a(void 0,true):(y=e(c,p),u.index+=y.length,a(y,false))});}),Hv=j(function(e,t){var r=sn(),n=Dn(),a=Ho();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};}),Vv=j(function(e,t){var r=Dn(),n=Hv();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),jv=j(function(e,t){var r=Pr(),n=ui(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),$v=j(function(e,t){var r=nr(),n=Ut(),a=ii(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),zv=j(function(e,t){var r=nr(),n=pr(),a=Ut(),i=li(),o=Bo(),s=$v(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,p=r(c.exec),y=!c.test(l),A=function(P){if(!a(P))return false;try{return u(l,[],P),!0}catch{return false}},k=function(P){if(!a(P))return false;switch(i(P)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return y||!!p(c,s(P))}catch{return true}};k.sham=true,t.exports=!u||n(function(){var I;return A(A.call)||!A(Object)||!A(function(){I=true;})||I})?k:A;}),Gv=j(function(e,t){var r=xr(),n=oi(),a=ri();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Uv=j(function(e,t){var r=ti();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Wv=j(function(e,t){var r=xr(),n=Uv(),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};}),Zu=j(function(e,t){var r=li(),n=Ho(),a=qo(),i=ui(),o=Pr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Xv=j(function(e,t){var r=sn(),n=ai(),a=Dn(),i=Ou(),o=Zu(),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")};}),Yv=j(function(e,t){var r=ju(),n=sn(),a=jo(),i=Vv(),o=jv(),s=zv(),l=zu(),u=Gv(),c=Wv(),p=Xv(),y=Zu(),A=Array;t.exports=function(I){var P=a(I),q=s(this),B=arguments.length,z=B>1?arguments[1]:void 0,G=z!==void 0;G&&(z=r(z,B>2?arguments[2]:void 0));var U=y(P),J=0,re,se,be,ne,ce,he;if(U&&!(this===A&&o(U)))for(se=q?new this:[],ne=p(P,U),ce=ne.next;!(be=n(ce,ne)).done;J++)he=G?i(ne,z,[be.value,J],true):be.value,u(se,J,he);else for(re=l(P),se=q?new this(re):A(re);re>J;J++)he=G?z(P[J],J):P[J],u(se,J,he);return c(se,J),se};}),Kv=j(function(e,t){var r=Pr(),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};}),Jv=j(function(){var e=si(),t=Yv(),r=Kv(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Zv=j(function(e,t){Bv(),Jv();var r=Jn();t.exports=r.Array.from;}),Qv=j(function(e,t){var r=Zv();t.exports=r;}),Qu=j(function(e,t){var r=Qv();t.exports=r;}),ec=j(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 y=o.charCodeAt(u++);if((p&64512)!==55296||(y&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");p=((p&1023)<<10)+(y&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:`
|
|
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";)B=true,a++,c=n.charAt(a);return B}function k(){var B=I();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return B}function I(){var B=P();if(!B)return null;var z=B;for(c=n.charAt(a);c===",";){if(a++,A(),z.type!=="selectors"&&(z={type:"selectors",selectors:[B]}),B=P(),!B)throw Error('Rule expected after ",".');z.selectors.push(B);}return z}function P(){A();var B={type:"ruleSet"},z=q();if(!z)return null;for(var G=B;z&&(z.type="rule",G.rule=z,G=z,A(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var U=c;if(a++,A(),z=q(),!z)throw Error('Rule expected after "'+U+'".');z.nestingOperator=U;}else z=q(),z&&(z.nestingOperator=null);return B}function q(){for(var B=null;a<u;)if(c=n.charAt(a),c==="*")a++,(B=B||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(B=B||{}).tagName=y();else if(c===".")a++,B=B||{},(B.classNames=B.classNames||[]).push(y());else if(c==="#")a++,(B=B||{}).id=y();else if(c==="["){a++,A();var z={name:y()};if(A(),c==="]")a++;else {var G="";if(o[c]&&(G=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');z.operator=G+"=",a++,A();var U="";if(z.valueType="string",c==='"')U=p('"',t.doubleQuotesEscapeChars);else if(c==="'")U=p("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,U=y(),z.valueType="substitute";else {for(;a<u&&c!=="]";)U+=c,a++,c=n.charAt(a);U=U.trim();}if(A(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,z.value=U;}B=B||{},(B.attrs=B.attrs||[]).push(z);}else if(c===":"){a++;var J=y(),re={name:J};if(c==="("){a++;var se="";if(A(),i[J]==="selector")re.valueType="selector",se=I();else {if(re.valueType=i[J]||"string",c==='"')se=p('"',t.doubleQuotesEscapeChars);else if(c==="'")se=p("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,se=y(),re.valueType="substitute";else {for(;a<u&&c!==")";)se+=c,a++,c=n.charAt(a);se=se.trim();}A();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,re.value=se;}B=B||{},(B.pseudos=B.pseudos||[]).push(re);}else break;return B}return k()}e.parseCssSelector=r;}),tb=j(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=ec();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;}),rb=j(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=eb(),r=tb(),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;}),nb=j(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":oe(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,y,A){return p.indexOf("def.")===0&&(p=p.substring(4)),p in u||(y===":"?(s.defineParams&&A.replace(s.defineParams,function(k,I,P){u[p]={arg:I,text:P};}),p in u||(u[p]=A)):new Function("def","def['"+p+"']="+A)(u)),""}).replace(s.use||a,function(c,p){s.useParams&&(p=p.replace(s.useParams,function(A,k,I,P){if(u[I]&&u[I].arg&&P){var q=(I+":"+P).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[q]=u[I].text.replace(new RegExp("(^|[^\\w$])"+u[I].arg+"([^\\w$])","g"),"$1"+P+"$2"),k+"def.__exp['"+q+"']"}}));var y=new Function("def","return "+p)(u);return y&&i(s,y,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,y=0,A,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||a,function(I,P){return c.start+o(P)+c.end}).replace(l.encode||a,function(I,P){return p=true,c.startencode+o(P)+c.end}).replace(l.conditional||a,function(I,P,q){return P?q?"';}else if("+o(q)+"){out+='":"';}else{out+='":q?"';if("+o(q)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(I,P,q,B){return P?(y+=1,A=B||"i"+y,P=o(P),"';var arr"+y+"="+P+";if(arr"+y+"){var "+q+","+A+"=-1,l"+y+"=arr"+y+".length-1;while("+A+"<l"+y+"){"+q+"=arr"+y+"["+A+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(I,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,""),p&&(!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(I){throw typeof console<"u"&&console.log("Could not create a template function: "+k),I}},r.compile=function(s,l){return r.template(s,null,l)};})();}),ab=j(function(e,t){t.exports=function(){};}),ln=j(function(e,t){var r=ab()();t.exports=function(n){return n!==r&&n!==null};}),tc=j(function(e,t){var r=ln(),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};}),ib=j(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),ob=j(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),sb=j(function(e,t){t.exports=ib()()?Math.sign:ob();}),lb=j(function(e,t){var r=sb(),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)))};}),un=j(function(e,t){var r=lb(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),rc=j(function(e,t){var r=un();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)};}),$r=j(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),_n=j(function(e,t){var r=ln();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),ub=j(function(e,t){var r=$r(),n=_n(),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 y,A=arguments[2],k=arguments[3];return c=Object(n(c)),r(p),y=o(c),k&&y.sort(typeof k=="function"?a.call(k,c):void 0),typeof l!="function"&&(l=y[l]),i.call(l,y,function(I,P){return s.call(c,I)?i.call(p,A,c[I],I,c,P):u})}};}),ci=j(function(e,t){t.exports=ub()("forEach");}),cn=j(function(){}),cb=j(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")};}),db=j(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),fb=j(function(e,t){var r=ln(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),pb=j(function(e,t){t.exports=db()()?Object.keys:fb();}),mb=j(function(e,t){var r=pb(),n=_n(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(y){try{i[y]=o[y];}catch(A){s||(s=A);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),nc=j(function(e,t){t.exports=cb()()?Object.assign:mb();}),hb=j(function(e,t){var r=ln(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[oe(a)]||false};}),gb=j(function(e,t){var r=nc(),n=hb(),a=ln(),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};}),ac=j(function(e,t){var r=_n(),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(y){u=y;}}),typeof o=="function"&&o(c).forEach(function(p){try{n(s,p,a(l,p));}catch(y){u=y;}}),u!==void 0)throw u;return s};}),ic=j(function(e,t){var r=un(),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=ac(),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});}),oc=j(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),vb=j(function(e,t){var r=oc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,oe(a)):false};}),bb=j(function(e,t){var r=vb();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),yb=j(function(e,t){var r=bb();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)};}),wb=j(function(e,t){var r=yb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),xb=j(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Db=j(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),_b=j(function(e,t){t.exports=xb()()?String.prototype.contains:Db();}),dn=j(function(e,t){var r=oc(),n=wb(),a=nc(),i=tc(),o=_b(),s=t.exports=function(l,u){var c,p,y,A,k;return arguments.length<2||typeof l!="string"?(A=u,u=l,l=null):A=arguments[2],r(l)?(c=o.call(l,"c"),p=o.call(l,"e"),y=o.call(l,"w")):(c=y=true,p=false),k={value:u,configurable:c,enumerable:p,writable:y},A?a(i(A),k):k};s.gs=function(l,u,c){var p,y,A,k;return typeof l!="string"?(A=c,c=u,u=l,l=null):A=arguments[3],r(u)?n(u)?r(c)?n(c)||(A=c,c=void 0):c=void 0:(A=u,u=c=void 0):u=void 0,r(l)?(p=o.call(l,"c"),y=o.call(l,"e")):(p=true,y=false),k={get:u,set:c,configurable:p,enumerable:y},A?a(i(A),k):k};}),Ab=j(function(e,t){var r=dn(),n=$r(),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,y,A,k,I,P,q;p=function(z,G){var U;return n(G),u.call(this,"__ee__")?U=this.__ee__:(U=c.value=o(null),s(this,"__ee__",c),c.value=null),U[z]?oe(U[z])==="object"?U[z].push(G):U[z]=[U[z],G]:U[z]=G,this},y=function(z,G){var U,J;return n(G),J=this,p.call(this,z,U=function(){A.call(J,z,U),a.call(G,this,arguments);}),U.__eeOnceListener__=G,this},A=function(z,G){var U,J,re,se;if(n(G),!u.call(this,"__ee__"))return this;if(U=this.__ee__,!U[z])return this;if(J=U[z],oe(J)==="object")for(se=0;re=J[se];++se)(re===G||re.__eeOnceListener__===G)&&(J.length===2?U[z]=J[se?0:1]:J.splice(se,1));else (J===G||J.__eeOnceListener__===G)&&delete U[z];return this},k=function(z){var G,U,J,re,se;if(u.call(this,"__ee__")&&(re=this.__ee__[z],!!re))if(oe(re)==="object"){for(U=arguments.length,se=new Array(U-1),G=1;G<U;++G)se[G-1]=arguments[G];for(re=re.slice(),G=0;J=re[G];++G)a.call(J,this,se);}else switch(arguments.length){case 1:i.call(re,this);break;case 2:i.call(re,this,arguments[1]);break;case 3:i.call(re,this,arguments[1],arguments[2]);break;default:for(U=arguments.length,se=new Array(U-1),G=1;G<U;++G)se[G-1]=arguments[G];a.call(re,this,se);}},I={on:p,once:y,off:A,emit:k},P={on:r(p),once:r(y),off:r(A),emit:r(k)},q=l({},P),t.exports=e=function(z){return z==null?o(q):l(Object(z),P)},e.methods=I;}),Eb=j(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"))};}),Cb=j(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":oe(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),Sb=j(function(e,t){var r=function(){if((typeof self>"u"?"undefined":oe(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":oe(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__;}})();}),di=j(function(e,t){t.exports=Cb()()?globalThis:Sb();}),kb=j(function(e,t){var r=di(),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[oe(a.iterator)]||!n[oe(a.toPrimitive)]||!n[oe(a.toStringTag)])};}),Tb=j(function(e,t){t.exports=function(r){return r?oe(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),sc=j(function(e,t){var r=Tb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),Rb=j(function(e,t){var r=dn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,a(i,u,r.gs(null,function(p){c||(c=true,a(this,u,r(p)),c=false);})),u};}),Fb=j(function(e,t){var r=dn(),n=di().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"))})};}),Ib=j(function(e,t){var r=dn(),n=sc(),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})})};}),Lb=j(function(e,t){var r=dn(),n=sc(),a=di().Symbol,i=Rb(),o=Fb(),s=Ib(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,p,y,A;if(typeof a=="function")try{String(a()),A=!0;}catch{}else a=null;y=function(I){if(this instanceof y)throw new TypeError("Symbol is not a constructor");return p(I)},t.exports=p=function k(I){var P;if(this instanceof k)throw new TypeError("Symbol is not a constructor");return A?a(I):(P=l(y.prototype),I=I===void 0?"":String(I),u(P,{__description__:r("",I),__name__:r("",i(I))}))},o(p),s(p),u(y.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 k=n(this);return oe(k)==="symbol"?k:k.toString()})),c(p.prototype,p.toStringTag,r("c","Symbol")),c(y.prototype,p.toStringTag,r("c",p.prototype[p.toStringTag])),c(y.prototype,p.toPrimitive,r("c",p.prototype[p.toPrimitive]));}),Pb=j(function(e,t){t.exports=kb()()?di().Symbol:Lb();}),Mb=j(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),Ob=j(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))};}),Nb=j(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&oe(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),qb=j(function(e,t){var r=Pb().iterator,n=Mb(),a=Ob(),i=un(),o=$r(),s=_n(),l=ln(),u=Nb(),c=Array.isArray,p=Function.prototype.call,y={configurable:true,enumerable:true,writable:true,value:null},A=Object.defineProperty;t.exports=function(k){var I=arguments[1],P=arguments[2],q,B,z,G,U,J,re,se,be,ne;if(k=Object(s(k)),l(I)&&o(I),!this||this===Array||!a(this)){if(!I){if(n(k))return U=k.length,U!==1?Array.apply(null,k):(G=new Array(1),G[0]=k[0],G);if(c(k)){for(G=new Array(U=k.length),B=0;B<U;++B)G[B]=k[B];return G}}G=[];}else q=this;if(!c(k)){if((be=k[r])!==void 0){for(re=o(be).call(k),q&&(G=new q),se=re.next(),B=0;!se.done;)ne=I?p.call(I,P,se.value,B):se.value,q?(y.value=ne,A(G,B,y)):G[B]=ne,se=re.next(),++B;U=B;}else if(u(k)){for(U=k.length,q&&(G=new q),B=0,z=0;B<U;++B)ne=k[B],B+1<U&&(J=ne.charCodeAt(0),J>=55296&&J<=56319&&(ne+=k[++B])),ne=I?p.call(I,P,ne,z):ne,q?(y.value=ne,A(G,z,y)):G[z]=ne,++z;U=z;}}if(U===void 0)for(U=i(k.length),q&&(G=new q(U)),B=0;B<U;++B)ne=I?p.call(I,P,k[B],B):k[B],q?(y.value=ne,A(G,B,y)):G[B]=ne;return q&&(y.value=null,G.length=U),G};}),Xo=j(function(e,t){t.exports=Eb()()?Array.from:qb();}),Bb=j(function(e,t){var r=Xo(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),Hb=j(function(e,t){var r=Bb(),n=ln(),a=$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){n(l)&&a(l);}),o.bind(s)};}),Vb=j(function(e,t){var r=$r();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),jb=j(function(e,t){var r=gb(),n=ic(),a=dn(),i=Ab().methods,o=Hb(),s=Vb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,p=Object.defineProperties,y=i.on,A=i.emit;t.exports=function(k,I,P){var q=c(null),B,z,G,U,J,re,se,be,ne,ce,he,ye,Fe,qe,Ce;return I!==false?z=I:isNaN(k.length)?z=1:z=k.length,P.normalizer&&(ce=s(P.normalizer),G=ce.get,U=ce.set,J=ce.delete,re=ce.clear),P.resolvers!=null&&(Ce=o(P.resolvers)),G?qe=n(function(Pe){var fe,Re,Y=arguments;if(Ce&&(Y=Ce(Y)),fe=G(Y),fe!==null&&hasOwnProperty.call(q,fe))return he&&B.emit("get",fe,Y,this),q[fe];if(Y.length===1?Re=u.call(k,this,Y[0]):Re=l.call(k,this,Y),fe===null){if(fe=G(Y),fe!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");fe=U(Y);}else if(hasOwnProperty.call(q,fe))throw r("Circular invocation","CIRCULAR_INVOCATION");return q[fe]=Re,ye&&B.emit("set",fe,null,Re),Re},z):I===0?qe=function(){var fe;if(hasOwnProperty.call(q,"data"))return he&&B.emit("get","data",arguments,this),q.data;if(arguments.length?fe=l.call(k,this,arguments):fe=u.call(k,this),hasOwnProperty.call(q,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return q.data=fe,ye&&B.emit("set","data",null,fe),fe}:qe=function(fe){var Re,Y=arguments,xe;if(Ce&&(Y=Ce(arguments)),xe=String(Y[0]),hasOwnProperty.call(q,xe))return he&&B.emit("get",xe,Y,this),q[xe];if(Y.length===1?Re=u.call(k,this,Y[0]):Re=l.call(k,this,Y),hasOwnProperty.call(q,xe))throw r("Circular invocation","CIRCULAR_INVOCATION");return q[xe]=Re,ye&&B.emit("set",xe,null,Re),Re},B={original:k,memoized:qe,profileName:P.profileName,get:function(fe){return Ce&&(fe=Ce(fe)),G?G(fe):String(fe[0])},has:function(fe){return hasOwnProperty.call(q,fe)},delete:function(fe){var Re;hasOwnProperty.call(q,fe)&&(J&&J(fe),Re=q[fe],delete q[fe],Fe&&B.emit("delete",fe,Re));},clear:function(){var fe=q;re&&re(),q=c(null),B.emit("clear",fe);},on:function(fe,Re){return fe==="get"?he=true:fe==="set"?ye=true:fe==="delete"&&(Fe=true),y.call(this,fe,Re)},emit:A,updateEnv:function(){k=B.original;}},G?se=n(function(Pe){var fe,Re=arguments;Ce&&(Re=Ce(Re)),fe=G(Re),fe!==null&&B.delete(fe);},z):I===0?se=function(){return B.delete("data")}:se=function(fe){return Ce&&(fe=Ce(arguments)[0]),B.delete(fe)},be=n(function(){var Pe,fe=arguments;return I===0?q.data:(Ce&&(fe=Ce(fe)),G?Pe=G(fe):Pe=String(fe[0]),q[Pe])}),ne=n(function(){var Pe,fe=arguments;return I===0?B.has("data"):(Ce&&(fe=Ce(fe)),G?Pe=G(fe):Pe=String(fe[0]),Pe===null?false:B.has(Pe))}),p(qe,{__memoized__:a(true),delete:a(se),clear:a(B.clear),_get:a(be),_has:a(ne)}),B};}),$b=j(function(e,t){var r=$r(),n=ci(),a=cn(),i=jb(),o=rc();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(y,A){u[A]&&y(u[A],p,u);}),s.__profiler__&&s.__profiler__(p),p.updateEnv(),p.memoized)};}),zb=j(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};}),Gb=j(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 ""}};}),Ub=j(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Wb=j(function(e,t){t.exports=function(r){return r!==r};}),Xb=j(function(e,t){t.exports=Ub()()?Number.isNaN:Wb();}),Yo=j(function(e,t){var r=Xb(),n=un(),a=_n(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,p,y,A;if(!r(u))return i.apply(this,arguments);for(p=n(a(this).length),y=arguments[1],isNaN(y)?y=0:y>=0?y=l(y):y=n(this.length)-l(s(y)),c=y;c<p;++c)if(o.call(this,c)&&(A=this[c],r(A)))return c;return -1};}),Yb=j(function(e,t){var r=Yo(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,p,y=l.length;if(y===0)return c[y]||null;if(c=c[y]){for(;u<y-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,y=l.length;if(y===0)c[y]=++a;else {for(c[y]||(c[y]=[[],[]]),c=c[y];u<y-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,y=o[l],A=y.length,k=[];if(A===0)delete c[A];else if(c=c[A]){for(;u<A-1;){if(p=r.call(c[0],y[u]),p===-1)return;k.push(c,p),c=c[1][p],++u;}if(p=r.call(c[0],y[u]),p===-1)return;for(l=c[1][p],c[0].splice(p,1),c[1].splice(p,1);!c[0].length&&k.length;)p=k.pop(),c=k.pop(),c[0].splice(p,1),c[1].splice(p,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),Kb=j(function(e,t){var r=Yo();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=[];}}};}),Jb=j(function(e,t){var r=Yo(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,p=o,y;c<a-1;){if(y=r.call(p[0],u[c]),y===-1)return null;p=p[1][y],++c;}return y=r.call(p[0],u[c]),y===-1?null:p[1][y]||null},set:function(u){for(var c=0,p=o,y;c<a-1;)y=r.call(p[0],u[c]),y===-1&&(y=p[0].push(u[c])-1,p[1].push([[],[]])),p=p[1][y],++c;return y=r.call(p[0],u[c]),y===-1&&(y=p[0].push(u[c])-1),p[1][y]=++i,s[i]=u,i},delete:function(u){for(var c=0,p=o,y,A=[],k=s[u];c<a-1;){if(y=r.call(p[0],k[c]),y===-1)return;A.push(p,y),p=p[1][y],++c;}if(y=r.call(p[0],k[c]),y!==-1){for(u=p[1][y],p[0].splice(y,1),p[1].splice(y,1);!p[0].length&&A.length;)y=A.pop(),p=A.pop(),p[0].splice(y,1),p[1].splice(y,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),lc=j(function(e,t){var r=$r(),n=ci(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,p,y){s[c]=a.call(o,l,u,c,p,y);}),s};}),Ko=j(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":oe(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":oe(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":oe(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),Zb=j(function(){var e=Xo(),t=lc(),r=ac(),n=ic(),a=Ko(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;cn().async=function(l,u){var c=s(null),p=s(null),y=u.memoized,A=u.original,k,I,P;u.memoized=n(function(q){var B=arguments,z=B[B.length-1];return typeof z=="function"&&(k=z,B=i.call(B,0,-1)),y.apply(I=this,P=B)},y);try{r(u.memoized,y);}catch{}u.on("get",function(q){var B,z,G;if(k){if(c[q]){typeof c[q]=="function"?c[q]=[c[q],k]:c[q].push(k),k=null;return}B=k,z=I,G=P,k=I=P=null,a(function(){var U;hasOwnProperty.call(p,q)?(U=p[q],u.emit("getasync",q,G,z),o.call(B,U.context,U.args)):(k=B,I=z,P=G,y.apply(z,G));});}}),u.original=function(){var q,B,z,G;return k?(q=e(arguments),B=function U(J){var re,se,be=U.id;if(be==null){a(o.bind(U,this,arguments));return}if(delete U.id,re=c[be],delete c[be],!!re)return se=e(arguments),u.has(be)&&(J?u.delete(be):(p[be]={context:this,args:se},u.emit("setasync",be,typeof re=="function"?1:re.length))),typeof re=="function"?G=o.call(re,this,se):re.forEach(function(ne){G=o.call(ne,this,se);},this),G},z=k,k=I=P=null,q.push(B),G=o.call(A,this,q),B.cb=z,k=B,G):o.call(A,this,arguments)},u.on("set",function(q){if(!k){u.delete(q);return}c[q]?typeof c[q]=="function"?c[q]=[c[q],k.cb]:c[q].push(k.cb):c[q]=k.cb,delete k.cb,k.id=q,k=null;}),u.on("delete",function(q){var B;hasOwnProperty.call(c,q)||p[q]&&(B=p[q],delete p[q],u.emit("deleteasync",q,i.call(B.args,1)));}),u.on("clear",function(){var q=p;p=s(null),u.emit("clearasync",t(q,function(B){return i.call(B.args,1)}));});};}),Qb=j(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};}),uc=j(function(e,t){t.exports=function(r){return typeof r=="function"};}),ey=j(function(e,t){var r=uc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),ty=j(function(e,t){var r=_n(),n=ey();t.exports=function(a){return n(r(a))};}),ry=j(function(e,t){var r=uc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),ny=j(function(e,t){var r=ry(),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};}),cc=j(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(oe(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),ay=j(function(){var e=lc(),t=Qb(),r=ty(),n=ny(),a=cc(),i=Ko(),o=Object.create,s=t("then","then:finally","done","done:finally");cn().promise=function(l,u){var c=o(null),p=o(null),y=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");u.on("set",function(A,k,I){var P=false;if(!a(I)){p[A]=I,u.emit("setasync",A,1);return}c[A]=1,y[A]=I;var q=function(J){var re=c[A];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.`);re&&(delete c[A],p[A]=J,u.emit("setasync",A,re));},B=function(){P=true,c[A]&&(delete c[A],delete y[A],u.delete(A));},z=l;if(z||(z="then"),z==="then"){var G=function(){i(B);};I=I.then(function(U){i(q.bind(this,U));},G),typeof I.finally=="function"&&I.finally(G);}else if(z==="done"){if(typeof I.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");I.done(q,B);}else if(z==="done:finally"){if(typeof I.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof I.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");I.done(q),I.finally(B);}}),u.on("get",function(A,k,I){var P;if(c[A]){++c[A];return}P=y[A];var q=function(){u.emit("getasync",A,k,I);};a(P)?typeof P.done=="function"?P.done(q):P.then(function(){i(q);}):q();}),u.on("delete",function(A){if(delete y[A],c[A]){delete c[A];return}if(hasOwnProperty.call(p,A)){var k=p[A];delete p[A],u.emit("deleteasync",A,[k]);}}),u.on("clear",function(){var A=p;p=o(null),c=o(null),y=o(null),u.emit("clearasync",e(A,function(k){return [k]}));});};}),iy=j(function(){var e=$r(),t=ci(),r=cn(),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);});});};}),oy=j(function(e,t){t.exports=2147483647;}),sy=j(function(e,t){var r=un(),n=oy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),ly=j(function(){var e=Xo(),t=ci(),r=Ko(),n=cc(),a=sy(),i=cn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,p,y){var A,k,I,P;c=a(c),c&&(A=u(null),k=y.async&&i.async||y.promise&&i.promise?"async":"",p.on("set"+k,function(q){A[q]=setTimeout(function(){p.delete(q);},c),typeof A[q].unref=="function"&&A[q].unref(),P&&(P[q]&&P[q]!=="nextTick"&&clearTimeout(P[q]),P[q]=setTimeout(function(){delete P[q];},I),typeof P[q].unref=="function"&&P[q].unref());}),p.on("delete"+k,function(q){clearTimeout(A[q]),delete A[q],P&&(P[q]!=="nextTick"&&clearTimeout(P[q]),delete P[q]);}),y.preFetch&&(y.preFetch===true||isNaN(y.preFetch)?I=.333:I=s(l(Number(y.preFetch),1),0),I&&(P={},I=(1-I)*c,p.on("get"+k,function(q,B,z){P[q]||(P[q]="nextTick",r(function(){var G;P[q]==="nextTick"&&(delete P[q],p.delete(q),y.async&&(B=e(B),B.push(o)),G=p.memoized.apply(z,B),y.promise&&n(G)&&(typeof G.done=="function"?G.done(o,o):G.then(o,o)));}));}))),p.on("clear"+k,function(){t(A,function(q){clearTimeout(q);}),A={},P&&(t(P,function(q){q!=="nextTick"&&clearTimeout(q);}),P={});}));};}),uy=j(function(e,t){var r=un(),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(A){var k=u[A],I=++c;if(l[I]=A,u[A]=I,!k)return ++o,o<=i?void 0:(A=l[s],p(A),A);if(delete l[k],s===k)for(;!a.call(l,++s););},delete:p=function(A){var k=u[A];if(k&&(delete l[k],delete u[A],--o,s===k)){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;}}};}),cy=j(function(){var e=un(),t=uy(),r=cn();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));};}),dy=j(function(){var e=dn(),t=cn(),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]})});};}),fy=j(function(e,t){var r=tc(),n=rc(),a=$b();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=zb():s>1&&(o.normalizer=Gb()(s)):s===false?o.normalizer=Yb()():s===1?o.normalizer=Kb()():o.normalizer=Jb()(s))),o.async&&Zb(),o.promise&&ay(),o.dispose&&iy(),o.maxAge&&ly(),o.max&&cy(),o.refCounter&&dy(),a(i,o)};}),py=[{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"])};py.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;mr[t]=r,mr[t+"_PRIO"]=n,mr[t+"_GROUP"]=a,mr.results[n]=r,mr.resultGroups[n]=a,mr.resultGroupMap[r]=a;}),Object.freeze(mr.results),Object.freeze(mr.resultGroups),Object.freeze(mr.resultGroupMap),Object.freeze(mr);var je=mr;function my(){(typeof console>"u"?"undefined":oe(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var fn=my,hy=/[\t\r\n\f]/g,gy=(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 n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(hy," ").indexOf(a)>=0}}])})(),Ft=gy,Jo={};dr(Jo,{DqElement:function(){return sr},RuleError:function(){return vo},aggregate:function(){return fi},aggregateChecks:function(){return pc},aggregateNodeResults:function(){return mc},aggregateResult:function(){return hc},areStylesSet:function(){return _y},assert:function(){return Qe},checkHelper:function(){return Es},clone:function(){return Mr},closest:function(){return Kt},collectResultsFromFrames:function(){return af},contains:function(){return Or},convertSelector:function(){return Pi},cssParser:function(){return qd},deepMerge:function(){return qs},escapeSelector:function(){return yt},extendMetaData:function(){return Bs},filterHtmlAttrs:function(){return wm},finalizeRuleResult:function(){return Qn},findBy:function(){return ba},getAllChecks:function(){return Bi},getAncestry:function(){return Li},getBaseLang:function(){return wn},getCheckMessage:function(){return jA},getCheckOption:function(){return co},getElementSource:function(){return Od},getEnvironmentData:function(){return tn},getFlattenedTree:function(){return Sl},getFrameContexts:function(){return i2},getFriendlyUriEnd:function(){return bc},getNodeAttributes:function(){return ra},getNodeFromTree:function(){return ze},getPreloadConfig:function(){return gm},getRootNode:function(){return ya},getRule:function(){return em},getScroll:function(){return Br},getScrollState:function(){return l2},getSelector:function(){return _s},getSelectorData:function(){return Ii},getShadowSelector:function(){return ws},getStandards:function(){return u2},getStyleSheetFactory:function(){return nm},getXpath:function(){return Md},injectStyle:function(){return f2},isArrayLike:function(){return Il},isContextObject:function(){return Ll},isContextProp:function(){return po},isContextSpec:function(){return am},isHidden:function(){return p2},isHtmlElement:function(){return Ml},isLabelledFramesSelector:function(){return Pl},isLabelledShadowDomSelector:function(){return mo},isNodeInContext:function(){return Ol},isShadowRoot:function(){return Vi},isValidLang:function(){return yo},isXHTML:function(){return da},matchAncestry:function(){return Nl},matches:function(){return Ss},matchesExpression:function(){return Sn},matchesSelector:function(){return An},memoize:function(){return lt},mergeResults:function(){return Hi},nodeLookup:function(){return Ze},nodeSerializer:function(){return lr},nodeSorter:function(){return ql},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return Hl},parseSameOriginStylesheet:function(){return sm},parseStylesheet:function(){return Bl},parseTabindex:function(){return kr},performanceTimer:function(){return tt},pollyfillElementsFromPoint:function(){return lm},preload:function(){return mm},preloadCssom:function(){return cm},preloadMedia:function(){return pm},processMessage:function(){return Fl},publishMetaData:function(){return ho},querySelectorAll:function(){return er},querySelectorAllFilter:function(){return Tr},queue:function(){return _r},respondable:function(){return vr},ruleShouldRun:function(){return ym},select:function(){return Vl},sendCommandToFrame:function(){return ef},serializeError:function(){return go},setScrollState:function(){return U2},shadowSelect:function(){return W2},shadowSelectAll:function(){return jl},shouldPreload:function(){return hm},toArray:function(){return vc},tokenList:function(){return jt},uniqueArray:function(){return Pa},uuid:function(){return Jw},validInputTypes:function(){return bo},validLangs:function(){return Em}});function vy(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 fi=vy,by=je.CANTTELL_PRIO,yy=je.FAIL_PRIO,pi=[];pi[je.PASS_PRIO]=true,pi[je.CANTTELL_PRIO]=null,pi[je.FAIL_PRIO]=false;var dc=["any","all","none"];function fc(e,t){return dc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function wy(e){var t=Object.assign({},e);fc(t,function(a,i){var o=typeof a.result>"u"?-1:pi.indexOf(a.result);a.priority=o!==-1?o:je.CANTTELL_PRIO,i==="none"&&(a.priority===je.PASS_PRIO?a.priority=je.FAIL_PRIO:a.priority===je.FAIL_PRIO&&(a.priority=je.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 dc.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)});}),[by,yy].includes(t.priority)?t.impact=fi(je.impact,n):t.impact=null,fc(t,function(a){delete a.result,delete a.priority;}),t.result=je.results[t.priority],delete t.priority,t}var pc=wy;function Qn(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,mc(e.nodes)),delete e.nodes,e}function xy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return pc(i);if(Array.isArray(i.node))return Qn(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=fi(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 n=je.FAIL_GROUP;if(t[n].length===0&&(n=je.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=fi(je.impact,a)||null;}else t.impact=null;return t}var mc=xy;function Zo(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),je.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Dy(e){var t={};return je.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Zo(t,r,je.CANTTELL_GROUP):r.result===je.NA?Zo(t,r,je.NA_GROUP):je.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&Zo(t,r,n);});}),t}var hc=Dy;function gc(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:gc(e.parentNode,t,r)}var _y=gc;function Ay(e,t){if(!e)throw new Error(t)}var Qe=Ay;function Ey(e){return Array.prototype.slice.call(e)}var vc=Ey;function Cy(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 yt=Cy;function Sy(){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 ea(e,t){return [e.substring(0,t),e.substring(t)]}function ta(e){return e.replace(/\s+$/,"")}function ky(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ea(e,e.indexOf("#")),u=ve(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ea(e,e.indexOf("?")),p=ve(c,2);e=p[0],o=p[1];}if(e.includes("://")){var y=e.split("://"),A=ve(y,2);r=A[0],e=A[1];var k=ea(e,e.indexOf("/")),I=ve(k,2);n=I[0],e=I[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var P=ea(e,e.indexOf("/")),q=ve(P,2);n=q[0],e=q[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var B=ea(n,n.indexOf(":")),z=ve(B,2);n=z[0],a=z[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function Ty(){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=ky(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?ta(u+l):u.length<2&&l.length>2&&l.length<=a?ta(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ta(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})?/)&&!Sy(u))return ta(u)}}var bc=Ty;function Ry(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var ra=Ry,Fy=(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}})(),An=Fy,yc={};dr(yc,{ArrayFrom:function(){return Td.default},Colorjs:function(){return ot},CssSelectorParser:function(){return wc.CssSelectorParser},doT:function(){return zr.default},emojiRegexText:function(){return Qo},memoize:function(){return xc.default}});var Iy=wr(Jg()),Ly=wr(Zg());wr(Qg());var Py=wr(pv()),My=wr(Av()),Oy=wr(Qu());"hasOwn"in Object||(Object.hasOwn=Py.default),"values"in Object||(Object.values=My.default),"Promise"in d||Iy.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=Ly.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=Oy.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 wc=wr(rb()),zr=wr(nb()),Qo=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},xc=wr(fy());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=Ke(s),c;try{for(u.s();!(c=u.n()).done;){var p=c.value;l+=o*p;}}catch(A){u.e(A);}finally{u.f();}return l}for(var y=0;y<o.length;y++)l+=o[y]*(s[y]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function na(e){return Gr(e)==="string"}function Gr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function mi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Dc(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 _c(e){return e[e.length-1]}function hi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ac(e,t,r){return (r-e)/(t-e)}function es(e,t,r){return hi(t[0],t[1],Ac(e[0],e[1],r))}function Ec(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 Ny=Object.freeze({__proto__:null,isString:na,type:Gr,toPrecision:mi,parseFunction:Dc,last:_c,interpolate:hi,interpolateInv:Ac,mapRange:es,parseCoordGrammar:Ec,multiplyMatrices:_t}),qy=(function(){function e(){ft(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);});}}])})(),Ur=new qy,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 ts(e){return Array.isArray(e)?e:hr[e]}function gi(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ts(e),t=ts(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Ur.run("chromatic-adaptation-start",a),a.M||(a.W1===hr.D65&&a.W2===hr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===hr.D50&&a.W2===hr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Ur.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 By=75e-6,gr=(K=new WeakSet,te=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;ft(this,e),Wn(this,K),cr(this,te,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=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=ts(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var p in this.formats){var y=this.formats[p];y.type||(y.type="function"),y.name||(y.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,Mt(te,this,Ir(K,this,Hy).call(this).reverse()),Ur.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?By: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=ve(u.range,2),p=c[0],y=c[1];return (p===void 0||s>=p-i)&&(y===void 0||s<=y+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(oe(r)==="object")return r=Ir(K,this,Cc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=Ir(K,this,Cc).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=gr.get(r),this===r)return n;n=n.map(function(y){return Number.isNaN(y)?0:y});for(var i=$t(te,this),o=$t(te,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=gr.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(gr.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=Ke(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 gr)return r;var n=Gr(r);if(n==="string"){var a=gr.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 gr.get.apply(gr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Gr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=ve(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=ve(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=gr.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=Gr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Ie({space:i,id:c[0],index:o},c[1])}i=gr.get(i);var p=o.toLowerCase(),y=0;for(var A in i.coords){var k,I=i.coords[A];if(A.toLowerCase()===p||((k=I.name)===null||k===void 0?void 0:k.toLowerCase())===p)return Ie({space:i,id:A,index:y},I);y++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Cc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Ec(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=ve(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=es(s,l,a)),a=mi(a,n),u&&(a+=u),a})};}return e}function Hy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Le=gr;Ru(Le,"registry",{}),Ru(Le,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ar=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"]}),Wt=(function(e){function t(r){var n,a;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=ar),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=_t(r.toXYZ_M,s);return a.white!==a.base.white&&(l=gi(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=gi(a.base.white,a.white,s),_t(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=me(this,t,[r])}return Me(t,e),vt(t)})(Le);function Sc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Ur.run("parse-start",r),r.color)return r.color;if(r.parsed=Dc(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=Ke(Le.all),s;try{var l=function(){var be=s.value,ne=be.getFormat("color");if(ne){var ce;if(a===ne.id||(ce=ne.ids)!==null&&ce!==void 0&&ce.includes(a)){var he=Object.keys(be.coords).length,ye=Array(he).fill(0);return ye.forEach(function(Fe,qe){return ye[qe]=r.parsed.args[qe]||0}),{v:{spaceId:be.id,coords:ye,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(se){o.e(se);}finally{o.f();}var c="";if(a in Le.registry){var p,y=(p=Le.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;y&&(c="Did you mean color(".concat(y,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var A=Ke(Le.all),k;try{var I=function(){var be=k.value,ne=be.getFormat(n);if(ne&&ne.type==="function"){var ce=1;(ne.lastAlpha||_c(r.parsed.args).alpha)&&(ce=r.parsed.args.pop());var he=r.parsed.args;return ne.coordGrammar&&Object.entries(be.coords).forEach(function(ye,Fe){var qe,Ce=ve(ye,2),Pe=Ce[0],fe=Ce[1],Re=ne.coordGrammar[Fe],Y=(qe=he[Fe])===null||qe===void 0?void 0:qe.type;if(Re=Re.find(function(Ne){return Ne==Y}),!Re){var xe=fe.name||Pe;throw new TypeError("".concat(Y," not allowed for ").concat(xe," in ").concat(n,"()"))}var ue=Re.range;Y==="<percentage>"&&(ue||(ue=[0,1]));var De=fe.range||fe.refRange;ue&&De&&(he[Fe]=es(ue,De,he[Fe]));}),{v:{spaceId:be.id,coords:he,alpha:ce}}}},P;for(A.s();!(k=A.n()).done;)if(P=I(),P)return P.v}catch(se){A.e(se);}finally{A.f();}}}else {var q=Ke(Le.all),B;try{for(q.s();!(B=q.n()).done;){var z=B.value;for(var G in z.formats){var U=z.formats[G];if(U.type==="custom"&&!(U.test&&!U.test(r.str))){var J=U.parse(r.str);if(J){var re;return (re=J.alpha)!==null&&re!==void 0||(J.alpha=1),J}}}}}catch(se){q.e(se);}finally{q.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");na(e)&&(e=Sc(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 aa(e,t){return t=Le.get(t),t.from(e)}function ir(e,t){var r=Le.resolveCoord(t,e.space),n=r.space,a=r.index,i=aa(e,n);return i[a]}function kc(e,t,r){return t=Le.get(t),e.coords=t.to(e.space,r),e}function Wr(e,t,r){if(e=rt(e),arguments.length===2&&Gr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Wr(e,a,n[a]);}else {typeof r=="function"&&(r=r(ir(e,t)));var i=Le.resolveCoord(t,e.space),o=i.space,s=i.index,l=aa(e,o);l[s]=r,kc(e,o,l);}return e}var rs=new Le({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ar,fromBase:function(t){return gi(ar.white,"D50",t)},toBase:function(t){return gi("D50",ar.white,t)},formats:{color:{}}}),Vy=216/24389,Tc=24/116,vi=24389/27,ns=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:ns,base:rs,fromBase:function(t){var r=t.map(function(a,i){return a/ns[i]}),n=r.map(function(a){return a>Vy?Math.cbrt(a):(vi*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]>Tc?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]>Tc?Math.pow(r[2],3):(116*r[2]-16)/vi];return n.map(function(a,i){return a*ns[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function bi(e){return (e%360+360)%360}function jy(e,t){if(e==="raw")return t;var r=t.map(bi),n=ve(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 ia=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=ve(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),bi(o)]},toBase:function(t){var r=ve(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>"]}}}),Rc=Math.pow(25,7),yi=Math.PI,Fc=180/yi,En=yi/180;function as(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=Yt.from(e),c=ve(u,3),p=c[0],y=c[1],A=c[2],k=ia.from(Yt,[p,y,A])[1],I=Yt.from(t),P=ve(I,3),q=P[0],B=P[1],z=P[2],G=ia.from(Yt,[q,B,z])[1];k<0&&(k=0),G<0&&(G=0);var U=(k+G)/2,J=Math.pow(U,7),re=.5*(1-Math.sqrt(J/(J+Rc))),se=(1+re)*y,be=(1+re)*B,ne=Math.sqrt(Math.pow(se,2)+Math.pow(A,2)),ce=Math.sqrt(Math.pow(be,2)+Math.pow(z,2)),he=se===0&&A===0?0:Math.atan2(A,se),ye=be===0&&z===0?0:Math.atan2(z,be);he<0&&(he+=2*yi),ye<0&&(ye+=2*yi),he*=Fc,ye*=Fc;var Fe=q-p,qe=ce-ne,Ce=ye-he,Pe=he+ye,fe=Math.abs(Ce),Re;ne*ce===0?Re=0:fe<=180?Re=Ce:Ce>180?Re=Ce-360:Ce<-180?Re=Ce+360:console.log("the unthinkable has happened");var Y=2*Math.sqrt(ce*ne)*Math.sin(Re*En/2),xe=(p+q)/2,ue=(ne+ce)/2,De=Math.pow(ue,7),Ne;ne*ce===0?Ne=Pe:fe<=180?Ne=Pe/2:Pe<360?Ne=(Pe+360)/2:Ne=(Pe-360)/2;var Ee=Math.pow(xe-50,2),ke=1+.015*Ee/Math.sqrt(20+Ee),Ye=1+.045*ue,nt=1;nt-=.17*Math.cos((Ne-30)*En),nt+=.24*Math.cos(2*Ne*En),nt+=.32*Math.cos((3*Ne+6)*En),nt-=.2*Math.cos((4*Ne-63)*En);var st=1+.015*ue*nt,wt=30*Math.exp(-1*Math.pow((Ne-275)/25,2)),Ct=2*Math.sqrt(De/(De+Rc)),Et=-1*Math.sin(2*wt*En)*Ct,ct=Math.pow(Fe/(a*ke),2);return ct+=Math.pow(qe/(o*Ye),2),ct+=Math.pow(Y/(l*st),2),ct+=Et*(qe/(o*Ye))*(Y/(l*st)),Math.sqrt(ct)}var $y=75e-6;function oa(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?$y:n;e=rt(e),t=Le.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function sa(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,n=r===void 0?Dr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(na(arguments[1])&&(i=arguments[1]),i=Le.get(i),oa(e,i,{epsilon:0}))return e;var o=or(e,i);if(n!=="clip"&&!oa(e,i)){var s=Xr(sa(o),{method:"clip",space:i});if(as(e,s)>2){for(var l=Le.resolveCoord(n),u=l.space,c=l.id,p=or(o,u),y=l.range||l.refRange,A=y[0],k=.01,I=A,P=ir(p,c);P-I>k;){var q=sa(p);q=Xr(q,{space:i,method:"clip"});var B=as(p,q);B-2<k?I=ir(p,c):P=ir(p,c),Wr(p,c,(I+P)/2);}o=or(p,i);}else o=s;}if(n==="clip"||!oa(o,i,{epsilon:0})){var z=Object.values(i.coords).map(function(G){return G.range||[]});o.coords=o.coords.map(function(G,U){var J=ve(z[U],2),re=J[0],se=J[1];return re!==void 0&&(G=Math.max(re,G)),se!==void 0&&(G=Math.min(G,se)),G});}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]:{},n=r.inGamut;e=rt(e),t=Le.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=Xr(i)),i}or.returns="color";function wi(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=ie(n,v),p;e=rt(e);var y=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 A=e.coords;if(A=A.map(function(G){return G||0}),u&&!oa(e)&&(A=Xr(sa(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)p=s.serialize(A,e.alpha,c);else throw new TypeError("format ".concat(y," can only be used to parse colors, not for serialization"));else {var k=s.name||"color";s.serializeCoords?A=s.serializeCoords(A,i):i!==null&&(A=A.map(function(G){return mi(G,i)}));var I=Te(A);if(k==="color"){var P,q=s.id||((P=s.ids)===null||P===void 0?void 0:P[0])||e.space.id;I.unshift(q);}var B=e.alpha;i!==null&&(B=mi(B,i));var z=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(B):"";p="".concat(k,"(").concat(I.join(s.commas?", ":" ")).concat(z,")");}return p}var zy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Gy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],xi=new Wt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:zy,fromXYZ_M:Gy,formats:{color:{}}}),Di=1.09929682680944,Ic=.018053968510807,Lc=new Wt({id:"rec2020",name:"REC.2020",base:xi,toBase:function(t){return t.map(function(r){return r<Ic*4.5?r/4.5:Math.pow((r+Di-1)/Di,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Ic?Di*Math.pow(r,.45)-(Di-1):4.5*r})},formats:{color:{}}}),Uy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Wy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Pc=new Wt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Uy,fromXYZ_M:Wy}),Xy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Yy=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Mc=new Wt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Xy,fromXYZ_M:Yy,formats:{color:{}}}),Oc={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]},Nc=Array(3).fill("<percentage> | <number>[0, 255]"),qc=Array(3).fill("<number>[0, 255]"),la=new Wt({id:"srgb",name:"sRGB",base:Mc,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:Nc},rgb_number:{name:"rgb",commas:true,coords:qc,noAlpha:true},color:{},rgba:{coords:Nc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:qc},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=Oc.black,r.alpha=0):r.coords=Oc[t],r.coords)return r}}}}),Bc=new Wt({id:"p3",name:"P3",base:Pc,fromBase:la.fromBase,toBase:la.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=la,typeof CSS<"u"&&(de=CSS)!==null&&de!==void 0&&de.supports)for(var is=0,Hc=[Yt,Lc,Bc];is<Hc.length;is++){var os=Hc[is],Ky=os.getMinCoords(),Jy={space:os,coords:Ky,alpha:1},Zy=wi(Jy);if(CSS.supports("color",Zy)){Dr.display_space=os;break}}function Qy(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=ie(r,b),o=wi(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,a);o=new String(wi(s,i)),o.color=s;}return o}function Vc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Le.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 e0(e,t){return e=rt(e),t=rt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function Yr(e){return ir(e,[ar,"y"])}function jc(e,t){Wr(e,[ar,"y"],t);}function t0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Yr(this)},set:function(r){jc(this,r);}});}var r0=Object.freeze({__proto__:null,getLuminance:Yr,setLuminance:jc,register:t0});function n0(e,t){e=rt(e),t=rt(t);var r=Math.max(Yr(e),0),n=Math.max(Yr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var a0=.56,i0=.57,o0=.62,s0=.65,$c=.022,l0=1.414,u0=.1,c0=5e-4,d0=1.14,zc=.027,f0=1.14;function Gc(e){return e>=$c?e:e+Math.pow($c-e,l0)}function Cn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function p0(e,t){t=rt(t),e=rt(e);var r,n,a,i,o,s;t=or(t,"srgb");var l=ve(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Cn(i)*.2126729+Cn(o)*.7151522+Cn(s)*.072175;e=or(e,"srgb");var c=ve(e.coords,3);i=c[0],o=c[1],s=c[2];var p=Cn(i)*.2126729+Cn(o)*.7151522+Cn(s)*.072175,y=Gc(u),A=Gc(p),k=A>y;return Math.abs(A-y)<c0?n=0:k?(r=Math.pow(A,a0)-Math.pow(y,i0),n=r*d0):(r=Math.pow(A,s0)-Math.pow(y,o0),n=r*f0),Math.abs(n)<u0?a=0:n>0?a=n-zc:a=n+zc,a*100}function m0(e,t){e=rt(e),t=rt(t);var r=Math.max(Yr(e),0),n=Math.max(Yr(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 h0=5e4;function g0(e,t){e=rt(e),t=rt(t);var r=Math.max(Yr(e),0),n=Math.max(Yr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?h0:(r-n)/n}function v0(e,t){e=rt(e),t=rt(t);var r=ir(e,[Yt,"l"]),n=ir(t,[Yt,"l"]);return Math.abs(r-n)}var b0=216/24389,Uc=24/116,_i=24389/27,ss=hr.D65,ls=new Le({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ss,base:ar,fromBase:function(t){var r=t.map(function(a,i){return a/ss[i]}),n=r.map(function(a){return a>b0?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]>Uc?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]>Uc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*ss[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),us=Math.pow(5,.5)*.5+.5;function y0(e,t){e=rt(e),t=rt(t);var r=ir(e,[ls,"l"]),n=ir(t,[ls,"l"]),a=Math.abs(Math.pow(r,us)-Math.pow(n,us)),i=Math.pow(a,1/us)*Math.SQRT2-40;return i<7.5?0:i}var Ai=Object.freeze({__proto__:null,contrastWCAG21:n0,contrastAPCA:p0,contrastMichelson:m0,contrastWeber:g0,contrastLstar:v0,contrastDeltaPhi:y0});function w0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};na(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=ie(n,D);if(!a){var o=Object.keys(Ai).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 Ai)if("contrast"+a.toLowerCase()===s.toLowerCase())return Ai[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function Wc(e){var t=aa(e,ar),r=ve(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 Xc(e){var t=aa(e,ar),r=ve(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function x0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Wc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Xc(this)}});}var D0=Object.freeze({__proto__:null,uv:Wc,xy:Xc,register:x0});function _0(e,t){return Vc(e,t,"lab")}var A0=Math.PI,Yc=A0/180;function E0(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=Yt.from(e),l=ve(s,3),u=l[0],c=l[1],p=l[2],y=ia.from(Yt,[u,c,p]),A=ve(y,3),k=A[1],I=A[2],P=Yt.from(t),q=ve(P,3),B=q[0],z=q[1],G=q[2],U=ia.from(Yt,[B,z,G])[1];k<0&&(k=0),U<0&&(U=0);var J=u-B,re=k-U,se=c-z,be=p-G,ne=Math.pow(se,2)+Math.pow(be,2)-Math.pow(re,2),ce=.511;u>=16&&(ce=.040975*u/(1+.01765*u));var he=.0638*k/(1+.0131*k)+.638,ye;Number.isNaN(I)&&(I=0),I>=164&&I<=345?ye=.56+Math.abs(.2*Math.cos((I+168)*Yc)):ye=.36+Math.abs(.4*Math.cos((I+35)*Yc));var Fe=Math.pow(k,4),qe=Math.sqrt(Fe/(Fe+1900)),Ce=he*(qe*ye+1-qe),Pe=Math.pow(J/(a*ce),2);return Pe+=Math.pow(re/(o*he),2),Pe+=ne/Math.pow(Ce,2),Math.sqrt(Pe)}var Kc=203,cs=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:ar,fromBase:function(t){return t.map(function(r){return Math.max(r*Kc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Kc,0)})}}),Ei=1.15,Ci=.66,Jc=2610/Math.pow(2,14),C0=Math.pow(2,14)/2610,Zc=3424/Math.pow(2,12),Qc=2413/Math.pow(2,7),ed=2392/Math.pow(2,7),S0=1.7*2523/Math.pow(2,5),td=Math.pow(2,5)/(1.7*2523),Si=-0.56,ds=16295499532821565e-27,k0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],T0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],R0=[[.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]],rd=new Le({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:cs,fromBase:function(t){var r=ve(t,3),n=r[0],a=r[1],i=r[2],o=Ei*n-(Ei-1)*i,s=Ci*a-(Ci-1)*n,l=_t(k0,[o,s,i]),u=l.map(function(P){var q=Zc+Qc*Math.pow(P/1e4,Jc),B=1+ed*Math.pow(P/1e4,Jc);return Math.pow(q/B,S0)}),c=_t(R0,u),p=ve(c,3),y=p[0],A=p[1],k=p[2],I=(1+Si)*y/(1+Si*y)-ds;return [I,A,k]},toBase:function(t){var r=ve(t,3),n=r[0],a=r[1],i=r[2],o=(n+ds)/(1+Si-Si*(n+ds)),s=_t(F0,[o,a,i]),l=s.map(function(P){var q=Zc-Math.pow(P,td),B=ed*Math.pow(P,td)-Qc,z=1e4*Math.pow(q/B,C0);return z}),u=_t(T0,l),c=ve(u,3),p=c[0],y=c[1],A=c[2],k=(p+(Ei-1)*A)/Ei,I=(y+(Ci-1)*k)/Ci;return [k,I,A]},formats:{color:{}}}),fs=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:rd,fromBase:function(t){var r=ve(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),bi(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function I0(e,t){var r=fs.from(e),n=ve(r,3),a=n[0],i=n[1],o=n[2],s=fs.from(t),l=ve(s,3),u=l[0],c=l[1],p=l[2],y=a-u,A=i-c;Number.isNaN(o)&&Number.isNaN(p)?(o=0,p=0):Number.isNaN(o)?o=p:Number.isNaN(p)&&(p=o);var k=o-p,I=2*Math.sqrt(i*c)*Math.sin(k/2*(Math.PI/180));return Math.sqrt(Math.pow(y,2)+Math.pow(A,2)+Math.pow(I,2))}var nd=3424/4096,ad=2413/128,id=2392/128,od=2610/16384,L0=2523/32,P0=16384/2610,sd=32/2523,M0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],O0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],N0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],q0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ps=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:cs,fromBase:function(t){var r=_t(M0,t);return B0(r)},toBase:function(t){var r=H0(t);return _t(q0,r)},formats:{color:{}}});function B0(e){var t=e.map(function(r){var n=nd+ad*Math.pow(r/1e4,od),a=1+id*Math.pow(r/1e4,od);return Math.pow(n/a,L0)});return _t(O0,t)}function H0(e){var t=_t(N0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,sd)-nd,0),i=ad-id*Math.pow(n,sd);return 1e4*Math.pow(a/i,P0)});return r}function V0(e,t){var r=ps.from(e),n=ve(r,3),a=n[0],i=n[1],o=n[2],s=ps.from(t),l=ve(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 j0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],$0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],z0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],G0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],ki=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:ar,fromBase:function(t){var r=_t(j0,t),n=r.map(function(a){return Math.cbrt(a)});return _t(z0,n)},toBase:function(t){var r=_t(G0,t),n=r.map(function(a){return Math.pow(a,3)});return _t($0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function U0(e,t){var r=ki.from(e),n=ve(r,3),a=n[0],i=n[1],o=n[2],s=ki.from(t),l=ve(s,3),u=l[0],c=l[1],p=l[2],y=a-u,A=i-c,k=o-p;return Math.sqrt(Math.pow(y,2)+Math.pow(A,2)+Math.pow(k,2))}var ms=Object.freeze({__proto__:null,deltaE76:_0,deltaECMC:E0,deltaE2000:as,deltaEJz:I0,deltaEITP:V0,deltaEOK:U0});function ua(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};na(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Dr.deltaE:a,o=ie(n,T);e=rt(e),t=rt(t);for(var s in ms)if("deltae"+i.toLowerCase()===s.toLowerCase())return ms[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function W0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),n=[r,"l"];return Wr(e,n,function(a){return a*(1+t)})}function X0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),n=[r,"l"];return Wr(e,n,function(a){return a*(1-t)})}var Y0=Object.freeze({__proto__:null,lighten:W0,darken:X0});function ld(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=[rt(e),rt(t)];if(e=a[0],t=a[1],Gr(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=ca(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function ud(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(hs(e)){n=e,r=t;var a=ve(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,y=ie(i,C);if(!n){var A=[rt(e),rt(t)];e=A[0],t=A[1],n=ca(e,t,y);}var k=ua(e,t),I=o>0?Math.max(u,Math.ceil(k/o)+1):u,P=[];if(p!==void 0&&(I=Math.min(I,p)),I===1)P=[{p:.5,color:n(.5)}];else {var q=1/(I-1);P=Array.from({length:I},function(se,be){var ne=be*q;return {p:ne,color:n(ne)}});}if(o>0)for(var B=P.reduce(function(se,be,ne){if(ne===0)return 0;var ce=ua(be.color,P[ne-1].color,s);return Math.max(se,ce)},0);B>o;){B=0;for(var z=1;z<P.length&&P.length<p;z++){var G=P[z-1],U=P[z],J=(U.p+G.p)/2,re=n(J);B=Math.max(B,ua(re,G.color),ua(re,U.color)),P.splice(z,0,{p:J,color:n(J)}),z++;}}return P=P.map(function(se){return se.color}),P}function ca(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(hs(e)){var n=e,a=t;return ca.apply(void 0,Te(n.rangeArgs.colors).concat([Ie({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=rt(e),t=rt(t),e=sa(e),t=sa(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",p=[i,"h"],y=[ir(e,p),ir(t,p)],A=y[0],k=y[1],I=jy(c,[A,k]),P=ve(I,2);A=P[0],k=P[1],Wr(e,p,A),Wr(t,p,k);}return l&&(e.coords=e.coords.map(function(q){return q*e.alpha}),t.coords=t.coords.map(function(q){return q*t.alpha})),Object.assign(function(q){q=s?s(q):q;var B=e.coords.map(function(U,J){var re=t.coords[J];return hi(U,re,q)}),z=hi(e.alpha,t.alpha,q),G={space:i,coords:B,alpha:z};return l&&(G.coords=G.coords.map(function(U){return U/z})),o!==i&&(G=or(G,o)),G},{rangeArgs:u})}function hs(e){return Gr(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function K0(e){e.defineFunction("mix",ld,{returns:"color"}),e.defineFunction("range",ca,{returns:"function<color>"}),e.defineFunction("steps",ud,{returns:"array<color>"});}var J0=Object.freeze({__proto__:null,mix:ld,steps:ud,range:ca,isRange:hs,register:K0}),cd=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:la,fromBase:function(t){var r=Math.max.apply(Math,Te(t)),n=Math.min.apply(Math,Te(t)),a=ve(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=ve(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}}}),dd=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:cd,fromBase:function(t){var r=ve(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=ve(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}}}),Z0=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:dd,fromBase:function(t){var r=ve(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=ve(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>"]}}}),Q0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],ew=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],fd=new Wt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:Q0,fromXYZ_M:ew}),tw=new Wt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:fd,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"}}}),rw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],nw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],pd=new Wt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:rs,toXYZ_M:rw,fromXYZ_M:nw}),aw=1/512,iw=16/512,ow=new Wt({id:"prophoto",name:"ProPhoto",base:pd,toBase:function(t){return t.map(function(r){return r<iw?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=aw?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),sw=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:ki,fromBase:function(t){var r=ve(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),bi(o)]},toBase:function(t){var r=ve(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>"]}}}),md=203,hd=2610/Math.pow(2,14),lw=Math.pow(2,14)/2610,uw=2523/Math.pow(2,5),gd=Math.pow(2,5)/2523,vd=3424/Math.pow(2,12),bd=2413/Math.pow(2,7),yd=2392/Math.pow(2,7),cw=new Wt({id:"rec2100pq",name:"REC.2100-PQ",base:xi,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,gd)-vd,0)/(bd-yd*Math.pow(r,gd)),lw);return n*1e4/md})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*md/1e4,0),a=vd+bd*Math.pow(n,hd),i=1+yd*Math.pow(n,hd);return Math.pow(a/i,uw)})},formats:{color:{id:"rec2100-pq"}}}),wd=.17883277,xd=.28466892,Dd=.55991073,gs=3.7743,dw=new Wt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:xi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*gs:Math.exp((r-Dd)/wd+xd)/12*gs})},fromBase:function(t){return t.map(function(r){return r/=gs,r<=1/12?Math.sqrt(3*r):wd*Math.log(12*r-xd)+Dd})},formats:{color:{id:"rec2100-hlg"}}}),_d={};Ur.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Ad(e.W1,e.W2,e.options.method));}),Ur.add("chromatic-adaptation-end",function(e){e.M||(e.M=Ad(e.W1,e.W2,e.options.method));});function Ti(e){var t=e.id;e.toCone_M;e.fromCone_M;_d[t]=arguments[0];}function Ad(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=_d[r],a=_t(n.toCone_M,e),i=ve(a,3),o=i[0],s=i[1],l=i[2],u=_t(n.toCone_M,t),c=ve(u,3),p=c[0],y=c[1],A=c[2],k=[[p/o,0,0],[0,y/s,0],[0,0,A/l]],I=_t(k,n.toCone_M),P=_t(n.fromCone_M,I);return P}Ti({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]]}),Ti({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]]}),Ti({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]]}),Ti({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 fw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],pw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Ed=new Wt({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:fw,fromXYZ_M:pw,formats:{color:{}}}),Ri=Math.pow(2,-16),vs=-0.35828683,Fi=(Math.log2(65504)+9.72)/17.52,mw=new Wt({id:"acescc",name:"ACEScc",coords:{r:{range:[vs,Fi],name:"Red"},g:{range:[vs,Fi],name:"Green"},b:{range:[vs,Fi],name:"Blue"}},referred:"scene",base:Ed,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Ri)*2:n<Fi?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ri)+9.72)/17.52:r<Ri?(Math.log2(Ri+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Cd=Object.freeze({__proto__:null,XYZ_D65:ar,XYZ_D50:rs,XYZ_ABS_D65:cs,Lab_D65:ls,Lab:Yt,LCH:ia,sRGB_Linear:Mc,sRGB:la,HSL:cd,HWB:Z0,HSV:dd,P3_Linear:Pc,P3:Bc,A98RGB_Linear:fd,A98RGB:tw,ProPhoto_Linear:pd,ProPhoto:ow,REC_2020_Linear:xi,REC_2020:Lc,OKLab:ki,OKLCH:sw,Jzazbz:rd,JzCzHz:fs,ICTCP:ps,REC_2100_PQ:cw,REC_2100_HLG:dw,ACEScg:Ed,ACEScc:mw}),ot=(_e=new WeakMap,(function(){function e(){var t=this;ft(this,e),cr(this,_e,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=rt(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]),Mt(_e,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(A){Object.defineProperty(t,A,{get:function(){return t.get(A)},set:function(I){return t.set(A,I)}});};for(var p in $t(_e,this).coords)c(p);}return vt(e,[{key:"space",get:function(){return $t(_e,this)}},{key:"spaceId",get:function(){return $t(_e,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,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=Qy.apply(void 0,[this].concat(n));return i.color=new ot(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ot)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 ge(ot,[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=ot.get(c);else if(s==="function<color>"){var p=c;c=function(){var A=p.apply(void 0,arguments);return ot.get(A)},Object.assign(c,p);}else s==="array<color>"&&(c=c.map(function(y){return ot.get(y)}));return c};r in ot||(ot[r]=l),o&&(ot.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)ot.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(ot);else for(var n in r)ot.defineFunction(n,r[n]);}}])})());ot.defineFunctions({get:ir,getAll:aa,set:Wr,setAll:kc,to:or,equals:e0,inGamut:oa,toGamut:Xr,distance:Vc,toString:wi}),Object.assign(ot,{util:Ny,hooks:Ur,WHITES:hr,Space:Le,spaces:Le.registry,parse:Sc,defaults:Dr});for(var bs=0,Sd=Object.keys(Cd);bs<Sd.length;bs++){var hw=Sd[bs];Le.register(Cd[hw]);}for(var kd in Le.registry)ys(kd,Le.registry[kd]);Ur.add("colorspace-init-end",function(e){var t;ys(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ys(r,e);});});function ys(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(ot.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 Le.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&oe(l)!=="symbol"&&!(l in s)){var c=Le.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&&oe(l)!=="symbol"&&!(l in s)||l>=0){var p=Le.resolveCoord([t,l]),y=p.index;if(y>=0)return s[y]=u,a.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}ot.extend(ms),ot.extend({deltaE:ua}),ot.extend(Y0),ot.extend({contrast:w0}),ot.extend(D0),ot.extend(r0),ot.extend(J0),ot.extend(Ai);var Td=wr(Qu());zr.default.templateSettings.strip=false,m._memoizedFns=[];function gw(e){var t=(0, xc.default)(e);return m._memoizedFns.push(t),t}var lt=gw,vw=lt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),da=vw;function ws(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 bw=["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"],yw=31,ww=/([\\"])/g,xw=/(\r\n|\r|\n)/g;function xs(e){return e.replace(ww,"\\$1").replace(xw,"\\a ")}function Rd(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=bc(e.getAttribute(r));a?n=yt(t.name)+'$="'+xs(a)+'"':n=yt(t.name)+'="'+xs(e.getAttribute(r))+'"';}else n=yt(r)+'="'+xs(t.value)+'"';return n}function Ds(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Fd(e){return !bw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<yw)}function Ii(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=yt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(ra(s)).filter(Fd).forEach(function(u){var c=Rd(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 Dw(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=yt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Ds)}function _w(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&An(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function Aw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||h,r="#"+yt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Id(e){var t=da(h);return yt(t?e.localName:e.nodeName.toLowerCase())}function Ew(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(ra(e)).filter(Fd).forEach(function(i){var o=Rd(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Ds)}function Cw(e,t){var r="",n,a=Dw(e,t),i=Ew(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Id(e)):(n=a.concat(i),n.sort(Ds),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=Id(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 Sw(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=Aw(e);s||(s=Cw(e,m._selectorData),s+=_w(e,s)),i?i=s+" > "+i:i=s,!o||o.length>je.selectorSimilarFilterLimit?o=Tw(r,i):o=o.filter(function(l){return An(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 kw(e,t){return ws(Sw,e,t)}var _s=lt(kw),Tw=lt(function(e,t){return Array.from(e.querySelectorAll(t))});function Ld(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?Ld(r)+" > "+t+a:t+a}function Li(e,t){return ws(Ld,e,t)}function Pd(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=Pd(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&&yt(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 Rw(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=Pd(e);return Rw(t)}var Md=Fw,fa={},Iw={set:function(t,r){Lw(t),fa[t]=r;},get:function(t,r){if(Pw(r),t in fa)return fa[t];if(typeof r=="function"){var n=r();return Qe(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),fa[t]}},clear:function(){fa={};}};function Lw(e){Qe(typeof e=="string","key must be a string, "+oe(e)+" given"),Qe(e!=="","key must not be empty");}function Pw(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+oe(e)+" given");}var Ve=Iw;function Mw(e,t){var r=t||e;return Ve.get("nodeMap")?Ve.get("nodeMap").get(r):null}var ze=Mw;function Od(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 As(s,n)}var l=Ow(e);return l.length>n?Nw(e,{maxLength:n,attrLimit:i}):l}function Ow(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function Nw(e,t){var r=t.maxLength,n=t.attrLimit,a=da(e.ownerDocument||h)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(ra(e)).map(function(k){var I=k.name,P=k.value;return {name:I,value:P}}),o=i.reduce(function(k,I){var P=I.name,q=I.value;return k+P.length+q.length+4},0);2+a.length+o>r&&i.forEach(function(k){k.name=As(k.name,n),k.value=As(k.value,n);});var s="<".concat(a),l=">",u=" ...>",c=Ke(i),p;try{for(c.s();!(p=c.n()).done;){var y=p.value,A=" ".concat(y.name,'="').concat(y.value,'"');if(s.length+A.length>r-u.length){l=u;continue}s+=A;}}catch(k){c.e(k);}finally{c.f();}return s+l}function As(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Nd="DqElm.RunOptions",pn=lt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ve.get(Nd))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Ft?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=ze(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Od(this._element);}return this});pn.prototype={get selector(){return this.spec.selector||[_s(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Li(this.element)]},get xpath(){return this.spec.xpath||[Md(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}},pn.fromFrame=function(t,r,n){var a=pn.mergeSpecs(t,n);return new pn(n.element,r,a)},pn.mergeSpecs=function(t,r){return Ie({},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})},pn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ve.set(Nd,{elementRef:r,absolutePaths:n});};var sr=pn;function qw(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){d.Node&&(i instanceof d.Node||i instanceof Ft?i=[i]:i=vc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ft&&(o=o.actualNode),o instanceof d.Node){var s=new sr(o);e.relatedNodes.push(s);}}));}}}var Es=qw;function Mr(e){return Cs(e,new Map)}function Cs(e,t){var r,n;if(e===null||oe(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(Cs(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Cs(e[o],t);return i}var pa=new wc.CssSelectorParser;pa.registerSelectorPseudos("not"),pa.registerSelectorPseudos("is"),pa.registerNestingOperators(">"),pa.registerAttrEqualityMods("^","$","*","~");var qd=pa;function Ss(e,t){var r=Pi(t);return r.some(function(n){return Sn(e,n)})}function Bw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Hw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Vw(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function jw(e,t){return !t.id||e.props.id===t.id}function $w(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Sn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Sn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Bd(e,t){return Bw(e,t)&&Hw(e,t)&&Vw(e,t)&&jw(e,t)&&$w(e,t)}var ma=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),ks=/\\/g;function zw(e){if(e)return e.map(function(t){var r=t.name.replace(ks,""),n=(t.value||"").replace(ks,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+ma(n));break;case "$=":i=new RegExp(ma(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+ma(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+ma(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 Gw(e){if(e)return e.map(function(t){return t=t.replace(ks,""),{value:t,regexp:new RegExp("(^|\\s)"+ma(t)+"(\\s|$)")}})}function Uw(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=Hd(r)),{name:t.name,expressions:r,value:t.value}})}function Hd(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:zw(n.attrs),classes:Gw(n.classNames),pseudos:Uw(n.pseudos)}),n=n.rule;return r})}function Pi(e){var t=qd.parse(e);return t=t.selectors?t.selectors:[t],Hd(t)}function Vd(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Bd(e,i);!o&&n&&e.parent;)e=e.parent,o=Bd(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&&Vd(e.parent,t,r-1,i.combinator===" ");}return o}function Sn(e,t,r){return Vd(e,t,t.length-1,r)}function Ww(e,t){for(;e;){if(Ss(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=Ww;function Mi(){}function Ts(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Xw(){var e=[],t=0,r=0,n=Mi,a=false,i,o=function(A){i=A,setTimeout(function(){i!=null&&fn("Uncaught error (of queue)",i);},1);},s=o;function l(y){return function(A){e[y]=A,r-=1,!r&&n!==Mi&&(a=true,n(e));}}function u(y){return n=Mi,s(y),e}function c(){for(var y=e.length;t<y;t++){var A=e[t];try{A.call(null,l(t),u);}catch(k){u(k);}}}var p={defer:function(A){if(oe(A)==="object"&&A.then&&A.catch){var k=A;A=function(P,q){k.then(P).catch(q);};}if(Ts(A),i===void 0){if(a)throw new Error("Queue already completed");return e.push(A),++r,c(),p}},then:function(A){if(Ts(A),n!==Mi)throw new Error("queue `then` already set");return i||(n=A,r||(a=true,n(e))),p},catch:function(A){if(Ts(A),s!==o)throw new Error("queue `catch` already set");return i?(A(i),i=null):s=A,p},abort:u};return p}var _r=Xw,kn,Tn,Rs=d.crypto||d.msCrypto;if(!Tn&&Rs&&Rs.getRandomValues){var jd=new Uint8Array(16);Tn=function(){return Rs.getRandomValues(jd),jd};}if(!Tn){var $d=new Array(16);Tn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),$d[t]=r>>>((t&3)<<3)&255;return $d};}for(var zd=typeof d.Buffer=="function"?d.Buffer:Array,Fs=[],Gd={},Rn=0;Rn<256;Rn++)Fs[Rn]=(Rn+256).toString(16).substr(1),Gd[Fs[Rn]]=Rn;function Yw(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++]=Gd[i]);});a<16;)t[n+a++]=0;return t}function Is(e,t){var r=t||0,n=Fs;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 Kr=Tn(),Kw=[Kr[0]|1,Kr[1],Kr[2],Kr[3],Kr[4],Kr[5]],Ud=(Kr[6]<<8|Kr[7])&16383,Ls=0,Ps=0;function Wd(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Ud,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Ps+1,l=o-Ls+(s-Ps)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Ls)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ls=o,Ps=s,Ud=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||Kw,y=0;y<6;y++)a[n+y]=p[y];return t||Is(a)}function mn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new zd(16):null,e=null),e=e||{};var a=e.random||(e.rng||Tn)();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||Is(a)}kn=mn,kn.v1=Wd,kn.v4=mn,kn.parse=Yw,kn.unparse=Is,kn.BufferClass=zd,m._uuid=Wd();var Jw=mn,Zw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Qw(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:Xd()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function ex(e){var t;try{t=JSON.parse(e);}catch{return}if(tx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=oe(t.error)==="object"?rx(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function tx(e){return e!==null&&oe(e)==="object"&&typeof e.channelId=="string"&&e.source===Xd()}function rx(e){var t=e.message||"Unknown error occurred",r=Zw.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
365
|
-
`+e.stack.replace(e.message,"")),new n(t)}function Xd(){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 Ms(e){Kd(e),Qe(d.parent===e,"Source of the response must be the parent window.");}function Yd(e){Kd(e),Qe(e.parent===d,"Respondable target must be a frame in the current window");}function Kd(e){Qe(d!==e,"Messages can not be sent to the same window.");}var ha={};function nx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(ha,e),"A replyHandler already exists for this message channel."),ha[e]={replyHandler:t,sendToParent:r};}function ax(e){return Object.prototype.hasOwnProperty.call(ha,e)?ha[e]:void 0}function ix(e){delete ha[e];}var Oi=[];function Os(){var e="".concat(mn(),":").concat(mn());return Oi.includes(e)?Os():(Oi.push(e),e)}function ox(e){return Oi.includes(e)?false:(Oi.push(e),true)}function Ns(e,t,r,n){if(r?Ms(e):Yd(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=Qw(Ie({messageId:Os()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&nx(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 sx(e,t,r){if(!e.parent!==d)return m.log(t);try{Ns(e,{topic:null,channelId:r,message:t,messageId:Os(),keepalive:!0},!0);}catch(n){return m.log(n)}}function Jd(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};Ns(e,s,r,o);}}function lx(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function ux(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=ex(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!lx(r)||!ox(l))return;if(s instanceof Error&&a.parent!==d)return m.log(s),!1;try{if(i.topic){var u=Jd(a,o);Ms(a),t(i,u);}else cx(a,i);}catch(c){sx(a,c,o);}}catch(c){return m.log(c),false}}function cx(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=ax(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ms(e):Yd(e);var l=Jd(e,r,s);!a&&r&&ix(r);try{o(n,a,l);}catch(u){m.log(u),l(u,a);}}}var dx={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){ux(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:Ns(t,r,false,n)}};function Zd(e){e.updateMessenger(dx);}var Ni,Qd,qi={};function vr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(mn(),":").concat(mn()),keepalive:n};return Qd(e,i,a)}function fx(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(qi,r)?qi[r]:void 0;if(i)try{i(n,a,t);}catch(o){m.log(o),t(o,a);}}vr.updateMessenger=function(t){var r=t.open,n=t.post;Qe(typeof r=="function","open callback must be a function"),Qe(typeof n=="function","post callback must be a function"),Ni&&Ni();var a=r(fx);a?(Qe(typeof a=="function","open callback must return a cleanup function"),Ni=a):Ni=null,Qd=n;},vr.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(qi,t),"Topic ".concat(t," is already registered to.")),qi[t]=r;},vr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},Zd(vr);function ef(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){fn("Frame does not have a content window",e),r(null);return}if(s===0){tf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(rf("No response from frame",e)):r(null);},0);},s);vr(o,"axe.ping",null,void 0,function(){clearTimeout(l),tf(e,t,r,n);});}function tf(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(rf("Axe in frame timed out",e));},o);vr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function rf(e,t){var r;return m._tree&&(r=_s(t)),new Error(e+": "+(r||t))}var ga=null,va={update:function(t){Qe(oe(t)==="object","serializer must be an object"),ga=t;},toSpec:function(t){return va.dqElmToSpec(new sr(t))},dqElmToSpec:function(t,r){var n;return t instanceof sr?(r&&(t=px(t,r)),typeof((n=ga)===null||n===void 0?void 0:n.toSpec)=="function"?ga.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=ga)===null||n===void 0?void 0:n.mergeSpecs)=="function"?ga.mergeSpecs(t,r):sr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Ie({},r,{nodes:va.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=ie(r,x);a.node=va.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=ie(l,R);return c.relatedNodes=u.map(va.dqElmToSpec),c});}return a})}},lr=va;function px(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new sr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function mx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Bi=mx;function hx(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&oe(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var ba=hx;function gx(e,t,r){e.forEach(function(n){n.node=lr.mergeSpecs(n.node,r);var a=Bi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return lr.mergeSpecs(o,r)});});});}function vx(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=nf(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 bx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function yx(e,t){var r=[];return e.forEach(function(n){var a=bx(n);if(!(!a||!a.length)){var i=wx(n);a.forEach(function(o){o.nodes&&i&&gx(o.nodes,t,i);var s=ba(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&vx(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 nf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function nf(){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 Hi=yx;function wx(e){return e.frameElement?lr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function af(e,t,r,n,a,i){t=Ie({},t,{elementRef:false});var o=_r(),s=e.frames;s.forEach(function(l){var u=l.node,c=ie(l,E);o.defer(function(p,y){var A={options:t,command:r,parameter:n,context:c};function k(I){return p(I?{results:I,frameElement:u}:null)}ef(u,A,k,y);});}),o.then(function(l){a(Hi(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 of(){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||oe(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||oe(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=of(e[s],a[s]);}}),e}var qs=of;function xx(e,t){Object.assign(e,t),Object.keys(t).filter(function(r){return typeof t[r]=="function"}).forEach(function(r){e[r]=null;try{e[r]=t[r](e);}catch{}});}var Bs=xx,Dx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function _x(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Dx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Vi=_x,Hs={};dr(Hs,{createGrid:function(){return Da},findElmsInContext:function(){return sf},findNearbyElms:function(){return Yi},findUp:function(){return In},findUpVirtual:function(){return Fn},focusDisabled:function(){return Ks},getComposedParent:function(){return It},getElementByReference:function(){return Zs},getElementCoordinates:function(){return $s},getElementStack:function(){return jf},getModalDialog:function(){return Nf},getNodeGrid:function(){return Xi},getOverflowHiddenAncestors:function(){return wa},getRootNode:function(){return Nt},getScrollOffset:function(){return Df},getTabbableElements:function(){return $f},getTargetRects:function(){return Ji},getTargetSize:function(){return zf},getTextElementStack:function(){return gl},getViewportSize:function(){return ji},getVisibleChildTextRects:function(){return hl},hasContent:function(){return ao},hasContentVirtual:function(){return Ra},hasLangText:function(){return bl},idrefs:function(){return Ar},insertedIntoFocusOrder:function(){return Lp},isCurrentPageLink:function(){return Js},isFixedPosition:function(){return $i},isFocusable:function(){return At},isHTML5:function(){return Op},isHiddenForEveryone:function(){return Jr},isHiddenWithCSS:function(){return K_},isInTabOrder:function(){return ur},isInTextBlock:function(){return yl},isInert:function(){return Ki},isModalOpen:function(){return Fa},isMultiline:function(){return qp},isNativelyFocusable:function(){return tl},isNode:function(){return oA},isOffscreen:function(){return zi},isOpaque:function(){return gA},isSkipLink:function(){return Dl},isVisible:function(){return DA},isVisibleOnScreen:function(){return Jt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return vl},reduceToElementsBelowFloating:function(){return Bp},shadowElementsFromPoint:function(){return EA},urlPropsFromAttribute:function(){return FA},visuallyContains:function(){return Hp},visuallyOverlaps:function(){return _l},visuallySort:function(){return Qs}});function Ax(e){var t=e.getRootNode&&e.getRootNode()||h;return t===e&&(t=h),t}var ya=Ax,Nt=ya;function Ex(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=yt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Nt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var sf=Ex;function Cx(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&&!An(r,t)&&r!==h.documentElement);return !r||!An(r,t)?null:r}var Fn=Cx;function Sx(e,t){return Fn(ze(e),t)}var In=Sx;function Vs(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 lf=lt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(lf(t.parent))}),wa=lf,kx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Tx=/(\w+)\((\d+)/;function uf(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function cf(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function df(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ff(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function pf(e){return e.attr("aria-hidden")==="true"}function mf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function hf(e){var t=Br(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function gf(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=wa(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!Rx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Vs(i,s)})}function vf(e){var t=e.getComputedStylePropertyValue("clip").match(kx),r=e.getComputedStylePropertyValue("clip-path").match(Tx);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 js(e,t){var r=Kt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=ya(e.actualNode);if(!a||a.nodeType!==9)return true;var i=er(m._tree,'img[usemap="#'.concat(yt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function bf(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 Rx(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=[cf,df,ff,bf];function Jr(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=Ze(e).vNode,r?yf(e,a):wf(e,a)}var yf=lt(function(t,r){return uf(t)?true:t.actualNode?!!(Fx.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),wf=lt(function(t,r){return yf(t,r)?true:t.parent?wf(t.parent,true):false});function xf(e){if(e.assignedSlot)return xf(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=xf;function Ix(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=Ix;function Lx(e){var t=Df(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 $s=Lx;function Px(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 ji=Px;function $i(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=Ze(e),a=n.vNode;return a?r?_f(a):Af(a):false}var _f=lt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Af=lt(function(t){return _f(t)?true:t.parent?Af(t.parent):false});function Mx(e,t){for(e=It(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=It(e);}return true}function Ox(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=Ze(e),a=n.domNode;if(a){var i=h.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(h.body||i).getPropertyValue("direction"),l=$i(a),u=l?a.getBoundingClientRect():$s(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Mx(a,u.bottom)||o.position==="absolute"))return true;var c=ji(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 zi=Ox,Nx=[mf,hf,gf,vf,zi];function Jt(e){return e=Ze(e).vNode,zs(e)}var zs=lt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!js(t,zs):Jr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&Nx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?zs(t.parent,true):true});function Gs(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 Gi(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 Ef={};dr(Ef,{getBoundingRect:function(){return Gs},getIntersectionRect:function(){return Ui},getOffset:function(){return Sf},getRectCenter:function(){return xa},hasVisualOverlap:function(){return Us},isPointInRect:function(){return Gi},rectHasMinimumSize:function(){return Nr},rectsOverlap:function(){return Vs},splitRects:function(){return Ws}});function Ui(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 xa(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 Cf=.05;function Nr(e,t){var r=t.width,n=t.height;return r+Cf>=e&&n+Cf>=e}function Sf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=Ji(e),a=Ji(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=xa(o),l=Ke(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Gi(s,c))return 0;var p=qx(s,c),y=kf(s,p);i=Math.min(i,y);}}catch(q){l.e(q);}finally{l.f();}var A=zf(t);if(Nr(r*2,A))return i;var k=a.reduce(Gs),I=xa(k),P=kf(s,I)-r;return Math.max(0,Math.min(i,P))},1/0)}function qx(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function kf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Us(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:Qs(e,t)>0}function Ws(e,t){var r=Array.isArray(e)?e:[e],n=Ke(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(Bx(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 Bx(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(Wi(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),Wi(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),Wi(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),Wi(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(Vx(e,t))return [];l.push(e);}return l.map(Hx)}var Wi=function(t,r,n){return t>r&&t<n};function Hx(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Vx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Tf=0,jx=.1,Rf=.2,Ff=.3,Xs=0;function Da(){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(Ve.get("gridCreated")&&!r)return je.gridSize;if(Ve.set("gridCreated",true),!r){var n=ze(h.documentElement);if(n||(n=new Al(h.documentElement)),Xs=0,n._stackingOrder=[Pf(Tf,Xs++,null)],t??(t=new Ys),Mf(t,n),Br(n.actualNode)){var a=new Ys(n);n._subGrid=a;}}for(var i=h.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=ze(o);s&&s.parent?r=s.parent:o.assignedSlot?r=ze(o.assignedSlot):o.parentElement?r=ze(o.parentElement):o.parentNode&&ze(o.parentNode)&&(r=ze(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=$x(s,r,Xs++);var l=Ux(s,r),u=l?l._subGrid:t;if(Br(s.actualNode)){var c=new Ys(s);s._subGrid=c;}var p=s.boundingClientRect;p.width!==0&&p.height!==0&&Jt(o)&&Mf(u,s),Vi(o)&&Da(o.shadowRoot,u,s),o=i.nextNode();}return je.gridSize}function If(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 y=e.getComputedStylePropertyValue("will-change");if(y==="transform"||y==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var A=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(A)||n!=="auto"&&Lf(t))}function Lf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function $x(e,t,r){var n=t._stackingOrder.slice();if(If(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Tf,Rf,Ff].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=zx(e,t);return i!==null&&n.push(Pf(i,r,e)),n}function Pf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function zx(e,t){var r=Gx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Ff:e.getComputedStylePropertyValue("float")!=="none"?Rf:If(e,t)?jx:null:parseInt(r)}function Gx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Lf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Ux(e,t){for(var r=null,n=[e];t;){if(Br(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=ze(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Mf(e,t){var r=wa(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Ui(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 Ys=(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 n,a,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(Gi({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=Gs(this.boundaries,r)),this.boundaries=r,Of(this.cells,s,l,function(u,c){Of(u,i,o,function(p,y){n(p,{row:c,col:y});});});}},{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 Of(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 Xi(e){Da();var t=Ze(e),r=t.vNode;return r._grid}function Yi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=Xi(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=$i(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var u=Ke(l),c;try{for(u.s();!(c=u.n()).done;){var p=c.value;p&&p!==e&&!s.includes(p)&&i===$i(p)&&s.push(p);}}catch(y){u.e(y);}finally{u.f();}}),s}var Wx=lt(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)&&Jt(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=Xx(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)}),Nf=Wx;function Xx(e){Da();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=Ui(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Ki(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?qf(e,n):Bf(e,n)}var qf=lt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Nf();if(n&&!Or(n,t))return true}return false}),Bf=lt(function(t,r){return qf(t,r)?true:t.parent?Bf(t.parent,true):false}),Yx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Kx(e){return Yx.includes(e)}function Jx(e){var t=Ze(e),r=t.vNode;if(Kx(r.props.nodeName)&&r.hasAttr("disabled")||Ki(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?Jr(r):false}var Ks=Jx,Zx=/^\/\#/,Qx=/^#[!/]/;function Js(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Zx.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Qx.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 eD(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Js(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 Zs=eD;function Qs(e,t){Da();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(P){return P.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(P){return P.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),y=p&l?1:-1,A=p&u||p&c,k=Hf(e),I=Hf(t);return k===I||A?y:I-k}function Hf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Vf(e)?1:0}function Vf(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=Vf(e.parent);return e._isFloated=r,r}function el(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=xa(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,y=c.top;return i<Math.floor(p+c.width)&&i>=Math.floor(p)&&o<Math.floor(y+c.height)&&o>=Math.floor(y)})}),l=e.container;return l&&(s=el(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Qs).map(function(u){return u.actualNode}).concat(h.documentElement).filter(function(u,c,p){return p.indexOf(u)===c})),s}function tD(e){var t=Xi(e);if(!t)return [];var r=ze(e).boundingClientRect;return el(t,r)}var jf=tD;function rD(e){var t=er(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 $f=rD;function nD(e){var t=Ze(e),r=t.vNode;if(!r||Ks(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 tl=nD;function At(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1||Ks(r))return false;if(tl(r))return true;var n=kr(r.attr("tabindex"));return n!==null}function ur(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=kr(r.attr("tabindex"));return n<=-1?false:At(r)}var Ji=lt(aD);function aD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=Yi(e).filter(function(i){return Us(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!iD(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 Ws(r,a)}function iD(e,t){return Or(e,t)&&!ur(t)}var zf=lt(oD);function oD(e,t){var r=Ji(e);return sD(r,t)}function sD(e,t){return e.reduce(function(r,n){var a=Nr(t,r),i=Nr(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 _a={};dr(_a,{accessibleText:function(){return hn},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return vn},formControlValue:function(){return xp},formControlValueMethods:function(){return ul},hasUnicode:function(){return fl},isHumanInterpretable:function(){return ml},isIconLigature:function(){return pl},isValidAutocomplete:function(){return kp},label:function(){return N_},labelText:function(){return cl},labelVirtual:function(){return ro},nativeElementType:function(){return B_},nativeTextAlternative:function(){return _p},nativeTextMethods:function(){return Dp},removeUnicode:function(){return Ta},sanitize:function(){return Oe},subtreeText:function(){return en},titleText:function(){return Qi},unsupported:function(){return dp},visible:function(){return Tp},visibleTextNodes:function(){return H_},visibleVirtual:function(){return Cr}});function lD(e,t){e=e.actualNode||e;try{var r=Nt(e),n=[],a=e.getAttribute(t);if(a){a=jt(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=lD;function uD(e,t){var r=ze(e);return Lt(r,t)}var hn=uD;function cD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ze(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=hn(o,Ie({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Aa=cD;function Ea(e){var t=Ze(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var dD={"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}},Gf=dD,fD={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"]}},Uf=fD,pD={"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"]}},mD=pD,hD={"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}},gD=hD,vD={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"]}},bD=vD,yD={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]},wD=yD,Wf={ariaAttrs:Gf,ariaRoles:Ie({},Uf,mD,gD),htmlElms:bD,cssColors:wD},Ln=Ie({},Wf);function xD(e){Object.keys(Ln).forEach(function(t){e[t]&&(Ln[t]=qs(Ln[t],e[t]));});}function DD(){Object.keys(Ln).forEach(function(e){Ln[e]=Wf[e];});}var et=Ln;function _D(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var rl=_D;function AD(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=et.ariaRoles[e],o=rl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Ca=AD;function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Ft?e: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 !a&&l.substr(0,4)==="doc-"?false:Ca(l,{allowAbstract:n})});return s||null}var Ue=ED;function CD(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 nl=CD;function SD(){return Ve.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Zr=SD;function kD(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,y=0;y<p;y++){for(t[n+y]=t[n+y]||[];t[n+y][o];)o++;t[n+y][o]=i[s];}o++;}}return t}var qr=lt(kD);function TD(e,t){var r,n;for(t||(t=qr(In(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var Zi=lt(TD);function al(e){var t=Ze(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Ue(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=qr(In(n,"table")),s=Zi(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 RD(e){return ["col","auto"].indexOf(al(e))!==-1}var Pn=RD;function FD(e){return ["row","auto"].includes(al(e))}var Mn=FD;function ID(e){return e?e.replace(/\r\n/g,`
|
|
366
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Oe=ID,Xf=function(){return Ve.get("sectioningContentSelector",function(){return nl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Yf=function(){return Ve.get("sectioningContentPlusMainSelector",function(){return Xf()+" , main:not([role]), [role=main]"})};function il(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Oe(Aa(e))||Oe(Ea(e))||n&&e?.props.nodeType===1&&Oe(e.attr("title")))}var LD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Kt(t.parent,Xf())&&!il(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,Yf());return r?null:"contentinfo"},form:function(t){return il(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Kt(t,Yf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=Zr().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 il(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"),n=Ue(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Pn(t))return "columnheader";if(Mn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},ol=LD;function PD(e,t){var r=oe(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 gn=PD;function MD(e,t){return gn(!!Lt(e),t)}var Kf=MD;function OD(e,t){var r=oe(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 gn(e(n),t[n])})}var sl=OD;function ND(e,t){return e=Ze(e).vNode,sl(function(r){return e.attr(r)},t)}var Jf=ND;function Zf(e,t){return !!t(e)}function qD(e,t){return gn(Ue(e),t)}var Qf=qD;function BD(e,t){return gn(Er(e),t)}var ep=BD;function HD(e,t){return e=Ze(e).vNode,gn(e.props.nodeName,t)}var tp=HD;function VD(e,t){return e=Ze(e).vNode,sl(function(r){return e.props[r]},t)}var rp=VD;function jD(e,t){return gn($e(e),t)}var np=jD,ap={hasAccessibleName:Kf,attributes:Jf,condition:Zf,explicitRole:Qf,implicitRole:ep,nodeName:tp,properties:rp,semanticRole:np};function ip(e,t){return e=Ze(e).vNode,Array.isArray(t)?t.some(function(r){return ip(e,r)}):typeof t=="string"?Ss(e,t):Object.keys(t).every(function(r){if(!ap[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=ap[r],a=t[r];return n(e,a)})}var op=ip;function $D(e,t){return op(e,t)}var Zt=$D;Zt.hasAccessibleName=Kf,Zt.attributes=Jf,Zt.condition=Zf,Zt.explicitRole=Qf,Zt.fromDefinition=op,Zt.fromFunction=sl,Zt.fromPrimative=gn,Zt.implicitRole=ep,Zt.nodeName=tp,Zt.properties=rp,Zt.semanticRole=np;var Sa=Zt;function zD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=et.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=ie(a,_);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=ie(l,S),p=Array.isArray(u)?u:[u],y=0;y<p.length&&n;y++)if(p[y].hasOwnProperty("hasAccessibleName"))return a;if(Sa(e,u))for(var A in c)c.hasOwnProperty(A)&&(o[A]=c[A]);}for(var k in i.default)i.default.hasOwnProperty(k)&&typeof o[k]>"u"&&(o[k]=i.default[k]);return o}var Qr=zD;function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Ft?e:ze(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=ol[a];if(!i&&r){var o=Qr(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Er=GD,UD={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 sp(e,t){var r=UD[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=Ue(e.parent,t);return ["none","presentation"].includes(n)&&!up(e.parent)?n:n?null:sp(e.parent,t)}function lp(e,t){var r=t.chromium,n=ie(t,F),a=Er(e,{chromium:r});if(!a)return null;var i=sp(e,n);return i||a}function up(e){var t=Zr().some(function(r){return e.hasAttr(r)});return t||At(e)}function WD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=ie(t,L),a=Ze(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Ue(i,n);return o?["presentation","none"].includes(o)&&up(i)?r?null:lp(i,n):o:r?null:lp(i,n)}function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=ie(t,O),a=WD(e,n);return r&&["presentation","none"].includes(a)?null:a}var $e=XD,YD=["iframe"];function KD(e){var t=Ze(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Zt(r,YD)&&["none","presentation"].includes($e(r))?"":r.attr("title")}var Qi=KD;function JD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ft?e:ze(e),e.props.nodeType!==1)return false;var n=$e(e),a=et.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var cp=JD;function ZD(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 ka=ZD,dp={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Ze(e).vNode,ll(e)}var ll=lt(function(t,r){return pf(t)||Ki(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!js(t,ll):Jr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?ll(t.parent,true):true});function fp(e,t,r){var n=Ze(e),a=n.vNode,i=t?pt:Jt,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 fp(l,t)}).join("");return Oe(s)}var Cr=fp,QD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function e_(e){e=e instanceof Ft?e:ze(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!QD.includes((e.attr("type")||"").toLowerCase())}var pp=e_;function t_(e){e=e instanceof Ft?e:ze(e);var t=e.props.nodeName;return t==="select"}var mp=t_;function r_(e){var t=Ue(e);return t==="textbox"}var hp=r_;function n_(e){var t=Ue(e);return t==="listbox"}var gp=n_;function a_(e){var t=Ue(e);return t==="combobox"}var vp=a_,i_=["progressbar","scrollbar","slider","spinbutton"];function o_(e){var t=Ue(e);return i_.includes(t)}var bp=o_,yp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],ul={nativeTextboxValue:l_,nativeSelectValue:u_,ariaTextboxValue:c_,ariaListboxValue:wp,ariaComboboxValue:d_,ariaRangeValue:f_};function s_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=dp.accessibleNameFromFieldValue||[],a=$e(e);if(t.startNode===e||!yp.includes(a)||n.includes(a))return "";var i=Object.keys(ul).map(function(s){return ul[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&fn(o||"{empty-value}",r,t),o}function l_(e){var t=Ze(e),r=t.vNode;return pp(r)&&r.props.value||""}function u_(e){var t=Ze(e),r=t.vNode;if(!mp(r))return "";var n=er(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 c_(e){var t=Ze(e),r=t.vNode,n=t.domNode;return hp(r)?!n||n&&!Jr(n)?Cr(r,true):n.textContent:""}function wp(e,t){var r=Ze(e),n=r.vNode;if(!gp(n))return "";var a=ka(n).filter(function(i){return $e(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Lt(a[0],t)}function d_(e,t){var r=Ze(e),n=r.vNode;if(!vp(n))return "";var a=ka(n).filter(function(i){return $e(i)==="listbox"})[0];return a?wp(a,t):""}function f_(e){var t=Ze(e),r=t.vNode;if(!bp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var xp=s_;function p_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=$e(e),l=Qr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||yp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!cp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=Ie({subtreeDescendant:c},t);}return ka(e).reduce(function(p,y){return h_(p,y,t)},"")}var m_=nl("phrasing").concat(["#text"]);function h_(e,t,r){var n=t.props.nodeName,a=Lt(t,r);return a?(m_.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var en=p_;function g_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Ie({inControlContext:true},t),a=v_(e),i=Kt(e,"label"),o;return i?(o=[].concat(Te(a),[i.actualNode]),o.sort(ql)):o=a,o.map(function(s){return hn(s,n)}).filter(function(s){return s!==""}).join(" ")}function v_(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return sf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var cl=g_,b_={submit:"Submit",image:"Submit",reset:"Reset",button:""},y_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return b_[t.props.type]||""},tableCaptionText:eo.bind(null,"caption"),figureText:eo.bind(null,"figcaption"),svgTitleText:eo.bind(null,"title"),fieldsetLegendText:eo.bind(null,"legend"),altText:dl.bind(null,"alt"),tableSummaryText:dl.bind(null,"summary"),titleText:Qi,subtreeText:en,labelText:cl,singleSpace:function(){return " "},placeholderText:dl.bind(null,"placeholder")};function dl(e,t){return t.attr(e)||""}function eo(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?"":hn(i,r)}var Dp=y_;function _p(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 n=w_(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function w_(e){var t=Qr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Dp[n]})}function Ap(){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 Ep(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Cp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Sp(){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 x_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=Qo().test(e))),n&&(i||(i=Ap().test(e)||Cp().test(e)||Sp().test(e))),a&&(i||(i=Ep().test(e))),i}var fl=x_;function pl(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(!Oe(n)||fl(n,{emoji:true,nonBmp:true}))return false;var a=Ve.get("canvasContext",function(){return h.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ve.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 y=n.charAt(0),A=a.measureText(y).width;if(A===0)return u.numLigatures++,true;if(A<30){var k=30/A;A*=k,c*=k,p="".concat(c,"px ").concat(l);}i.width=A,i.height=c,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(y,0,0);var I=new Uint32Array(a.getImageData(0,0,A,c).data.buffer);if(!I.some(function(J){return J}))return u.numLigatures++,true;a.clearRect(0,0,A,c),a.fillText(n,0,0);var P=new Uint32Array(a.getImageData(0,0,A,c).data.buffer),q=I.reduce(function(J,re,se){return re===0&&P[se]===0||re!==0&&P[se]!==0?J:++J},0),B=n.split("").reduce(function(J,re){return J+a.measureText(re).width},0),z=a.measureText(n).width,G=q/I.length,U=1-z/B;return G>=t&&U>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=E_(e,t),__(e,t)||A_(e,t))return "";var r=[Aa,Ea,_p,xp,en,D_,Qi],n=r.reduce(function(a,i){return t.startNode===e&&(a=Oe(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function D_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function __(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function A_(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:pl(e,a,i)}function E_(e,t){return t.startNode||(t=Ie({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Ie({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 C_(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Qo(),"")),n&&(e=e.replace(Ap(),"").replace(Cp(),"").replace(Sp(),"")),a&&(e=e.replace(Ep(),"")),e}var Ta=C_;function S_(e){return k_(e)||T_(e)||R_(e)||F_(e)?0:1}function k_(e){return Oe(e).length===0}function T_(e){return e.length===1&&e.match(/\D/)}function R_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function F_(e){var t=Ta(e,{emoji:true,nonBmp:true,punctuations:true});return !Oe(t)}var ml=S_,vn={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 I_(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,y=t.qualifiedTerms,A=y===void 0?[]:y,k=t.ignoredValues,I=k===void 0?[]:k;if(e=e.toLowerCase().trim(),i=i.concat(vn.stateTerms),i.includes(e)||e==="")return true;u=u.concat(vn.qualifiers),s=s.concat(vn.locations),p=p.concat(vn.standaloneTerms),A=A.concat(vn.qualifiedTerms);var P=e.split(/\s+/g);if(P[P.length-1]==="webauthn"&&(P.pop(),P.length===0)||!n&&(P[0].length>8&&P[0].substr(0,8)==="section-"&&P.shift(),s.includes(P[0])&&P.shift(),u.includes(P[0])&&(P.shift(),p=[]),P.length!==1))return false;var q=P[P.length-1];if(!I.includes(q))return p.includes(q)||A.includes(q)}var kp=I_;function L_(e){var t,r;return e.attr("aria-labelledby")&&(t=Ar(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=ze(n);return a?Cr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Oe(r),r))?r:null}var to=L_;function P_(e,t,r){return e=ze(e),Cr(e,t,r)}var Tp=P_;function M_(e){var t,r,n;if(r=to(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=yt(e.attr("id"));if(n=Nt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Tp(t,true),r)return r}return t=Kt(e,"label"),r=t&&Cr(t,true),r||null}var ro=M_;function O_(e){return e=ze(e),ro(e)}var N_=O_,q_=[{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"]}],B_=q_;function Rp(e){var t=Jt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Rp(n));}),r}var H_=Rp,V_=lt(function(t){var r=ze(t),n=r.boundingClientRect,a=[],i=wa(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Oe(o.nodeValue)==="")){var s=j_(o);$_(s,n)||a.push.apply(a,Te(Fp(s,i)));}}),a.length?a:Fp([n],i)}),hl=V_;function j_(e){var t=h.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function $_(e,t){return e.some(function(r){var n=xa(r);return !Gi(n,t)})}function Fp(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&&Ui(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function z_(e){var t=Xi(e);if(!t)return [];var r=hl(e);return r.map(function(n){return el(t,n)})}var gl=z_,G_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function U_(e){var t=Ze(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return G_.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 vl=U_,W_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function no(e){return W_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Ip(e,t,r){return no(e)||vl(e.actualNode)||!r&&!!to(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Ip(n)})}var Ra=Ip;function X_(e,t,r){return e=ze(e),Ra(e,t,r)}var ao=X_;function bl(e){return typeof e.children>"u"||no(e)?true:e.props.nodeType===1&&vl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&bl(t)&&!Jr(t)})}function Y_(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&At(e)&&!tl(e)}var Lp=Y_;function Pp(e,t){var r=Ze(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Mp(a,t)),n._isHiddenWithCSS):Mp(a,t)}function Mp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=d.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=It(e);return o&&!a.includes(i)?Pp(o,i):false}var K_=Pp;function J_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Op=J_;function Z_(e){var t;(e instanceof Ft||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=m.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var br=Z_,Q_=["block","list-item","table","flex","grid"],eA=["inline-block","inline-flex","inline-grid"];function tA(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=Ze(e),o=i.vNode,s=i.domNode;if(wl(s)||!a&&rA(o))return false;var l=nA(s),u="",c="",p=0;return Np(l,function(y){if(y===l.actualNode)return true;if(p===2)return false;if(y.nodeType===3&&(u+=y.nodeValue),y.nodeType===1){var A=(y.nodeName||"").toUpperCase();y===s&&(p=1);var k=wl(y);if((k||["BR","HR"].includes(A))&&(p===0?(u="",c=""):p=2),k||y.style.display==="none"||y.style.overflow==="hidden"||!["",null,"none"].includes(y.style.float)||!["",null,"relative"].includes(y.style.position))return false;if(br(y)==="widget")return c+=y.textContent,false}}),u=Oe(u),r?u.length!==0:(c=Oe(c),u.length>c.length)}var yl=tA;function wl(e){var t=Ze(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return Q_.includes(n)||n.substr(0,6)==="table-"}function rA(e){var t=e.getComputedStylePropertyValue("display");return eA.includes(t)}function Np(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Np(r,t)});}function nA(e){for(var t=It(e);t&&!wl(t);)t=It(t);return ze(t)}function aA(e){e=e||{};var t=e.modalPercent||.75;if(Ve.get("isModalOpen"))return Ve.get("isModalOpen");var r=Tr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",Jt);if(r.length)return Ve.set("isModalOpen",true),true;for(var n=ji(d),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,l=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],u=l.map(function(A){return Array.from(h.elementsFromPoint(A.x,A.y))}),c=function(){var k=u[y].find(function(I){var P=d.getComputedStyle(I);return parseInt(P.width,10)>=a&&parseInt(P.height,10)>=i&&P.getPropertyValue("pointer-events")!=="none"&&(P.position==="absolute"||P.position==="fixed")});if(k&&u.every(function(I){return I.includes(k)}))return Ve.set("isModalOpen",true),{v:true}},p,y=0;y<u.length;y++)if(p=c(),p)return p.v;Ve.set("isModalOpen",void 0);}var Fa=aA;function qp(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=Ke(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 iA(e){return e instanceof d.Node}var oA=iA,xl="color.incompleteData",sA={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ve.get(xl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ve.get(xl);return r?.[t]},clear:function(){Ve.set(xl,{});}},ut=sA;function lA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return ut.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);ut.set("bgColor",o?"bgGradient":"bgImage");}return i}var io=lA,uA=/^#[0-9a-f]{3,8}$/i,cA=/hsl\(\s*([-\d.]+)(rad|turn)/,Ia=(it=new WeakMap,Dt=new WeakMap,Ot=new WeakMap,rr=new WeakMap,Rt=new WeakMap,Vt=new WeakMap,Xn=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(ft(this,e),Wn(this,Xn),cr(this,it,void 0),cr(this,Dt,void 0),cr(this,Ot,void 0),cr(this,rr,void 0),cr(this,Rt,void 0),cr(this,Vt,void 0),t instanceof Ia){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 $t(it,this)},set:function(r){Mt(it,this,r),Mt(rr,this,Math.round(On(r,0,1)*255));}},{key:"g",get:function(){return $t(Dt,this)},set:function(r){Mt(Dt,this,r),Mt(Rt,this,Math.round(On(r,0,1)*255));}},{key:"b",get:function(){return $t(Ot,this)},set:function(r){Mt(Ot,this,r),Mt(Vt,this,Math.round(On(r,0,1)*255));}},{key:"red",get:function(){return $t(rr,this)},set:function(r){Mt(it,this,r/255),Mt(rr,this,On(r,0,255));}},{key:"green",get:function(){return $t(Rt,this)},set:function(r){Mt(Dt,this,r/255),Mt(Rt,this,On(r,0,255));}},{key:"blue",get:function(){return $t(Vt,this)},set:function(r){Mt(Ot,this,r/255),Mt(Vt,this,On(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(cA,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,fA(o));case "turn":return i.replace(l,pA(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=Td.default);var a=new ot(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 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(uA)||[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 Ir(Xn,this,dA).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 Ia(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=ve(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 Ia(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 dA(e){var t=new Ia(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=Ia;function On(e,t,r){return Math.min(Math.max(t,e),r)}function fA(e){return e*180/Math.PI}function pA(e){return e*360}function mA(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 bn=mA;function hA(e){var t=d.getComputedStyle(e);return io(e,t)||bn(t).alpha===1}var gA=hA;function Dl(e){if(!e.href)return false;var t=Ve.get("firstPageLink",vA);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function vA(){var e;return d.location.origin?e=er(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Js(t.actualNode)}):e=er(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var bA=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,yA=/(\w+)\((\d+)/;function wA(e){var t=e.getPropertyValue("clip").match(bA),r=e.getPropertyValue("clip-path").match(yA);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 xA(e,t,r){var n=In(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Nt(e);if(!i||i.nodeType!==9)return false;var o=er(m._tree,'img[usemap="#'.concat(yt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return oo(l,t,r)})}function oo(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Ft?e:ze(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=d.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=a?a.props.nodeType:e.nodeType,c=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var p=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(p==="true")return false}if(!e){var y=a.parent,A=true;return y&&(A=oo(y,t,true)),a&&(a[i]=A),A}var k=d.getComputedStyle(e,null);if(k===null)return false;if(c==="area")return xA(e,t,r);if(k.getPropertyValue("display")==="none")return false;var I=parseInt(k.getPropertyValue("height")),P=parseInt(k.getPropertyValue("width")),q=Br(e),B=q&&I===0,z=q&&P===0,G=k.getPropertyValue("position")==="absolute"&&(I<2||P<2)&&k.getPropertyValue("overflow")==="hidden";if(!t&&(wA(k)||k.getPropertyValue("opacity")==="0"||B||z||G)||!r&&(k.getPropertyValue("visibility")==="hidden"||!t&&zi(e)))return false;var U=e.assignedSlot?e.assignedSlot:e.parentNode,J=false;return U&&(J=oo(U,t,true)),a&&(a[i]=J),J}var DA=oo;function _A(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 Bp=_A;function Hp(e,t){var r=Vp(t);do{var n=Vp(e);if(n===r||n===t)return AA(e,t);e=n;}while(e);return false}function Vp(e){for(var t=ze(e),r=t.parent;r;){if(Br(r.actualNode))return r.actualNode;r=r.parent;}}function AA(e,t){var r=d.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof d.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function jp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]: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 Nt(a)===r}).reduce(function(a,i){if(Vi(i)){var o=jp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Hp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var EA=jp;function CA(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=kA(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:SA(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:TA(n.search),hash:RA(n.hash),filename:l}}}function SA(e){var t=["443","80"];return t.includes(e)?"":e}function kA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function TA(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=ve(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function RA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=ve(r,1),a=n[0];return a==="#"?"":e}var FA=CA;function IA(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 _l=IA,$p=0,LA=(function(e){function t(r,n,a){var i;if(ft(this,t),i=me(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||($p=0),i.nodeIndex=$p++,i._isHidden=null,i._cache={},i._isXHTML=da(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),bo().includes(o)||(o="text"),i._type=o;}return 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 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=$f(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Ft),Al=LA;function PA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var jt=PA,yn=" [idsMap]";function zp(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 Gp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=MA(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(p){c.isComplexSelector&&!Sn(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 MA(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(Gp(n))a=t["*"];else {if(n.id){var o;if(!t[yn]||!Object.hasOwn(t[yn],n.id)||!((o=t[yn][n.id])!==null&&o!==void 0&&o.length))return;a=t[yn][n.id].filter(function(I){return I.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?El(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?El(c,a):c;}if(n.attributes)for(var p=0;p<n.attributes.length;p++){var y,A=n.attributes[p];if(A.type==="attrValue"&&(i=true),!((y=t["[".concat(A.key,"]")])!==null&&y!==void 0&&y.length))return;var k=t["[".concat(A.key,"]")];a=a?El(k,a):k;}}return {nodes:a,isComplexSelector:i}}function Gp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function El(e,t){return e.filter(function(r){return t.includes(r)})}function so(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Up(e,t){e.props.nodeType===1&&(so(e.props.nodeName,e,t),so("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[yn]=t[yn]||{},jt(e.attr(r)).forEach(function(n){so(n,e,t[yn]);})),so("[".concat(r,"]"),e,t);}));}var Cl;function Sl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.documentElement,t=arguments.length>1?arguments[1]:void 0;Cl=false;var r={};Ve.set("nodeMap",new WeakMap),Ve.set("selectorMap",r);var n=Wp(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Cl,n}function OA(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function kl(e,t,r){var n=new Al(e,t,r);return Up(n,Ve.get("selectorMap")),n}function lo(e,t,r){var n=[];return e.forEach(function(a){var i=Wp(a,r,t);i&&n.push.apply(n,Te(i));}),n}function Wp(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Vi(e))return Cl=true,n=kl(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=lo(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),lo(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=OA(e));d.getComputedStyle(e);return lo(a,r,t)}if(e.nodeType===h.ELEMENT_NODE)return n=kl(e,r,t),a=Array.from(e.childNodes),n.children=lo(a,n,t),[n];if(e.nodeType===h.TEXT_NODE)return [kl(e,r)]}function NA(e){return e?e.trim().split("-")[0].toLowerCase():""}var wn=NA;function qA(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(`
|
|
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 Qp(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof d.Node)if(i.documentElement instanceof d.Node)r.push(e.flatTree[0]);else if(i.host instanceof d.Node){var o=Array.from(i.children).map(function(l){return ze(l)});r.push.apply(r,Te(o));}else r.push(ze(i));else if(i&&i.length)if(i.length>1)e2(e,t,i);else {var s=jl(i[0]);r.push.apply(r,Te(s.map(function(l){return ze(l)})));}}return r.filter(function(l){return l})}function e2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=jl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Jp(i,e),e.frames.push(o)),o[t].push(r);});}function fo(e,t){var r,n,a,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((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=oe((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=XA(e),this.flatTree=t??Sl(a2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Qp(this,"include"),this.exclude=Qp(this,"exclude"),Vl("frame, iframe",this).forEach(function(s){Ol(s,o)&&t2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=r2(this),this.frames.forEach(function(s){s.page=o.page;})),n2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(ql);}function t2(e,t){!pt(t)||ba(e.frames,"node",t)||e.frames.push(Jp(t,e));}function r2(e){var t=e.include;return t.length===1&&t[0].actualNode===h.documentElement}function n2(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 a2(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 i2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new fo(e),n=r.frames;return n.map(function(a){var i=a.node,o=ie(a,H);o.initiator=false;var s=Li(i);return {frameSelector:s,frameContext:o}})}function em(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 o2(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=tm(a,"overflow-x"),o=tm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function tm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Br=lt(o2);function rm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Br(r);return n&&t.push(n),t.concat(rm(r))},[])}function s2(){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(rm(h.body))}var l2=s2;function u2(){return Mr(et)}function c2(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 nm=c2,Qt;function d2(e){if(Qt&&Qt.parentNode)return Qt.styleSheet===void 0?Qt.appendChild(h.createTextNode(e)):Qt.styleSheet.cssText+=e,Qt;if(e){var t=h.head||h.getElementsByTagName("head")[0];return Qt=h.createElement("style"),Qt.type="text/css",Qt.styleSheet===void 0?Qt.appendChild(h.createTextNode(e)):Qt.styleSheet.cssText=e,t.appendChild(Qt),Qt}}var f2=d2;function Il(e){return !!e&&oe(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Sr(e,t){return !e||oe(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function am(e){return Ll(e)||po(e)}function Ll(e){return ["include","exclude"].some(function(t){return Sr(e,t)&&po(e[t])})}function po(e){return typeof e=="string"||e instanceof d.Node||Pl(e)||mo(e)||Il(e)}function Pl(e){return Sr(e,"fromFrames")}function mo(e){return Sr(e,"fromShadowDom")}function im(e,t){var r=ze(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=d.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=im(a,true);return r&&(r._isHidden=i),i}var p2=im;function m2(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:!!et.htmlElms[n]}var Ml=m2;function Ol(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 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=om(o),u=om(s);return Or(u,l)}function om(e){var t,r=Ke(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Or(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function Nl(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 h2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var ql=h2;function Ze(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:ze(e),domNode:e}}function g2(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 y=[].concat(Te(r),[p]),A=/^https?:\/\/|^\/\//i.test(c);return Hl(c,t,y,n,A)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var sm=g2;function v2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=b2(e);return i?sm(e,t,r,n,a):Hl(e.href,t,r,n,true)}function b2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Bl=v2;function y2(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=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:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Bl(o.sheet,t,r,n,o.isCrossOrigin)})}var Hl=y2;function w2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=w2,x2=(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(I){return Array.isArray(I)?I[I.length-1]:I},u=function(I){i._log("Measure "+I.name+" took "+I.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(k){return k.startTime>=c.startTime}),y=0;y<p.length;++y){var A=p[y];if(A.name===a){u(A);return}else a||u(A);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=d.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];d.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){fn(a);}}})(),tt=x2;function lm(){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=lm());function D2(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Pa=D2;function um(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function _2(e,t,r){for(var n=Ve.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=um(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,y=null,A=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),k=false,I=0;I<A;I++){var P,q,B,z=I<(((P=o.anyLevel)===null||P===void 0?void 0:P.length)||0)?o.anyLevel[I]:o.thisLevel[I-(((q=o.anyLevel)===null||q===void 0?void 0:q.length)||0)];if((!z[0].id||c.shadowId===o.parentShadowId)&&Sn(c,z[0]))if(z.length===1)!k&&(!r||r(c))&&(s.push(c),k=true);else {var G=z.slice(1);if([" ",">"].includes(G[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+z[1].combinator);G[0].combinator===">"?(p=p||[]).push(G):(y=y||[]).push(G);}(!z[0].id||c.shadowId===o.parentShadowId)&&(B=o.anyLevel)!==null&&B!==void 0&&B.includes(z)&&(y=y||[]).push(z);}for(c.children&&c.children.length&&(a.push(o),o=um(c.children,y,p,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function A2(e,t,r){e=Array.isArray(e)?e:[e];var n=Pi(t),a=zp(e,n,r);return a||_2(e,n,r)}var Tr=A2;function E2(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=C2(r);if(!n.length)return Promise.resolve();var a=h.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=nm(a);return S2(n,i).then(function(o){return dm(o)})}var cm=E2;function C2(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:ya(n.actualNode)}});return Pa(r,[])}function S2(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=k2(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(y,A){var k=[l,A];return Bl(y,u,k,c)}));r.push(p);}),Promise.all(r)}function dm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(dm(r)):t.concat(r)},[])}function k2(e,t,r){var n;return e.nodeType===11&&t?n=T2(e,r):n=R2(e),I2(n)}function T2(e,t){return Array.from(e.children).filter(F2).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 R2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?fm(t.media.mediaText):false})}function F2(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&&fm(e.media)}function fm(e){return e?!e.toUpperCase().includes("PRINT"):true}function I2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function L2(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 P2(i)}))}var pm=L2;function P2(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function mm(e){var t={cssom:cm,media:pm};return hm(e)?new Promise(function(r,n){var a=gm(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 ae({},l,u)})})).then(function(l){var u=l.reduce(function(c,p){return Ie({},c,p)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function M2(e){return oe(e)==="object"&&Array.isArray(e.assets)}function hm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:M2(e.preload)}function gm(e){var t=je.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=Pa(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 ho(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},n=ba(m._audit.rules,"id",e.id)||{};e.tags=Mr(n.tags||[]);var a=vm(t,true,n),i=vm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Bs(e,Mr(r[e.id]||{}));}function O2(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Rl()}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 vm(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?(oe(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=O2(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Fl(o.message,n.data)),Bs(n,o);}}function N2(e,t){return Tr(e,t)}var er=N2;function bm(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 q2(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?bm(e,n.values):bm(e,[])}var ym=q2;function wm(e,t){if(!t)return e;var r=e.cloneNode(false),n=ra(r);if(r.nodeType===1){var a=r.outerHTML;r=Ve.get(a,function(){return xm(r,n,e,t)});}else r=xm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(wm(i,t));}),r}function xm(e,t,r,n){return t&&(e=h.createElement(e.nodeName),Array.from(t).forEach(function(a){B2(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function B2(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:An(e,r[t])}function Vl(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=H2(t.include),l=V2(t),u=0;u<s.length;u++){n=s[u];var c=Tr(n,e,l);r=j2(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function H2(e){return e.reduce(function(t,r){return (!t.length||!Or(t[t.length-1],r))&&t.push(r),t},[])}function V2(e){return !e.exclude||e.exclude.length===0?null:function(t){return Ol(t,e)}}function j2(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function go(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(oe(e)!=="object"||e===null)return {message:String(e)};var r={},n=Ke(je.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(oe(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?go(e.cause,t+1):"..."),r}var $2=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return ft(this,t),a=me(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=go(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return Me(t,e),vt(t)})(Z(Error)),vo=$2;function z2(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function G2(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return z2(r,n,a)});}var U2=G2;function W2(e){var t=Array.isArray(e)?Te(e):[e];return Dm(t,h)}function Dm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Dm(e,n.shadowRoot):null}function jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h,r=Array.isArray(e)?Te(e):[e];return e.length===0?[]:_m(r,t)}function _m(e,t){var r=X(e),n=r[0],a=Qa(r).slice(1),i=t.querySelectorAll(n);if(a.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,Te(_m(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function X2(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var bo=X2,Am=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 Y2(e){for(var t=Am;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 Em(e){e=Array.isArray(e)?e:Am;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Em(r).map(function(i){return a+i})):t.push(a);}),t}var yo=Y2,K2=(function(e){function t(r){var n;return ft(this,t),n=me(this,t),n._props=Z2(r),n._attrs=Q2(r),n}return Me(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)}}])})(Ft),$l={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Cm={},J2=Object.keys($l);J2.forEach(function(e){Cm[$l[e]]=e;});function Z2(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Cm[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:$l[e.nodeName])!==null&&r!==void 0?r:1;Qe(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Qe(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),bo().includes(o)||(o="text"));var s=Ie({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function Q2(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(Qe(oe(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 Sm=K2;function eE(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 km=eE,Ma={},Tm;function Rm(e){return Ma.hasOwnProperty(e)}function zl(e){return typeof e=="string"&&Ma[e]?Ma[e]:typeof e=="function"?e:Tm}function tE(e,t,r){Ma[e]=t,r&&(Tm=t);}function rE(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=ve(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=ve(s,3),u=l[0],c=l[1],p=l[2],y=m.version.split("-"),A=ve(y,2),k=A[0],I=A[1],P=k.split(".").map(Number),q=ve(P,3),B=q[0],z=q[1],G=q[2];if(u!==B||z<c||z===c&&G<p||u===B&&c===z&&p===G&&o&&o!==I)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Rm(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(J){if(!J.id)throw new TypeError("Configured check ".concat(JSON.stringify(J)," is invalid. Checks must be an object with at least an id property"));t.addCheck(J);});}var U=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(J){if(!J.id)throw new TypeError("Configured rule ".concat(JSON.stringify(J)," is invalid. Rules must be an object with at least an id property"));U.push(J.id),t.addRule(J);});}if(e.disableOtherRules&&t.rules.forEach(function(J){U.includes(J.id)===false&&(J.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&&xD(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 nE=rE;function aE(e){vr.updateMessenger(e);}function iE(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 oE=iE;function sE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Ra(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var lE=sE,Fm={};dr(Fm,{getAllCells:function(){return Gl},getCellPosition:function(){return Zi},getHeaders:function(){return wo},getScope:function(){return al},isColumnHeader:function(){return Pn},isDataCell:function(){return Lm},isDataTable:function(){return xo},isHeader:function(){return mE},isRowHeader:function(){return Mn},toArray:function(){return qr},toGrid:function(){return qr},traverse:function(){return Ul}});function uE(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 Gl=uE;function Im(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Mn:Pn,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,y=e==="row"?t.y:0,A=e==="row"?0:t.x,k,I=[],P=c;P>=y&&!k;P--)for(var q=p;q>=A;q--){var B=r[P]?r[P][q]:void 0;if(B){var z=m.utils.getNodeFromTree(B);if(z[n]){k=z[n];break}I.push(B);}}return k=(k||[]).concat(I.filter(a)),I.forEach(function(G){var U=m.utils.getNodeFromTree(G);U[n]=k;}),k}function cE(e,t){if(e.getAttribute("headers")){var r=Ar(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=qr(In(e,"table")));var n=Zi(e,t),a=Im("row",n,t),i=Im("col",n,t);return [].concat(a,i).reverse()}var wo=cE;function dE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Ue(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Lm=dE;function fE(e){var t=Ue(e);if((t==="presentation"||t==="none")&&!At(e))return false;if(e.getAttribute("contenteditable")==="true"||In(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,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(Ue(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var y=e.rows[Math.ceil(i/2)];if(y.cells.length===1&&y.cells[0].colSpan===1)return false;if(y.cells.length>=5||l)return true;for(var A,k,I=0;I<i;I++){if(o=e.rows[I],A&&A!==d.getComputedStyle(o).getPropertyValue("background-color")||(A=d.getComputedStyle(o).getPropertyValue("background-color"),k&&k!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;k=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!($s(e).width>ji(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var xo=fE;function pE(e){if(Pn(e)||Mn(e))return true;if(e.getAttribute("id")){var t=yt(e.getAttribute("id"));return !!h.querySelector('[headers~="'.concat(t,'"]'))}return false}var mE=pE;function Pm(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=Pm(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function hE(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 Pm(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var Ul=hE,Mm={};dr(Mm,{allowedAttr:function(){return Om},arialabelText:function(){return Ea},arialabelledbyText:function(){return Aa},getAccessibleRefs:function(){return Wl},getElementUnallowedRoles:function(){return Bm},getExplicitRole:function(){return Ue},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return ka},getRole:function(){return $e},getRoleType:function(){return br},getRolesByType:function(){return SE},getRolesWithNameFromContents:function(){return RE},implicitNodes:function(){return IE},implicitRole:function(){return Er},isAccessibleRef:function(){return Do},isAriaRoleAllowedOnElement:function(){return qm},isComboboxPopup:function(){return Yl},isUnsupportedRole:function(){return rl},isValidRole:function(){return Ca},label:function(){return $m},labelVirtual:function(){return to},lookupTable:function(){return Vm},namedFromContents:function(){return cp},requiredAttr:function(){return zm},requiredContext:function(){return Kl},requiredOwned:function(){return Jl},validateAttr:function(){return _o},validateAttrValue:function(){return Gm}});function gE(e){var t=et.ariaRoles[e],r=Te(Zr());return t&&(t.allowedAttrs&&r.push.apply(r,Te(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Te(t.requiredAttrs))),r}var Om=gE,vE=/^idrefs?$/;function Nm(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=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(p){s.e(p);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Nm(e.childNodes[c],t,r);}function bE(e){var t;e=e.actualNode||e;var r=Nt(e);r=r.documentElement||r;var n=Ve.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(et.ariaAttrs).filter(function(o){var s=et.ariaAttrs[o].type;return vE.test(s)});Nm(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var Wl=bE;function yE(e,t){var r=e instanceof Ft?e:ze(e),n=Er(r),a=Qr(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var qm=yE,wE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],xE={header:"banner",footer:"contentinfo"};function DE(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(n){return Ca(n)})}function _E(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ze(e),n=r.vNode;if(!Ml(n))return [];var a=n.props.nodeName,i=Er(n)||xE[a],o=DE(n);return o.filter(function(s){return !AE(s,n,t,i)})}function AE(e,t,r,n){return r&&e===n?true:wE.includes(e)&&br(e)!==n?false:qm(t,e)}var Bm=_E;function EE(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Nn=EE;function CE(e){return Nn(e)}var SE=CE;function kE(){return Ve.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var Xl=kE;function TE(){return Xl()}var RE=TE,Hm=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=ol,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 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"]}],Hr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Hm}},{nodeName:"img",attributes:{alt:Hm}},{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,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}},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 Vm=Hr;function FE(e){var t=null,r=Vm.role[e];return r&&r.implicit&&(t=Mr(r.implicit)),t}var IE=FE;function LE(e){return !!Wl(e).length}var Do=LE;function Yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=$e(e);if(r??(r=Gf["aria-haspopup"].values),!r.includes(n))return false;var a=PE(e);if(jm(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=ya(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(jm)}var jm=function(t){return t&&$e(t)==="combobox"};function PE(e){for(;e=e.parent;)if($e(e,{noPresentational:true})!==null)return e;return null}function ME(e){return e=ze(e),to(e)}var $m=ME;function OE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Te(t.requiredAttrs)}var zm=OE;function NE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Te(t.requiredContext)}var Kl=NE;function qE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Te(t.requiredOwned)}var Jl=qE;function BE(e,t){e=e instanceof Ft?e:ze(e);var r,n,a=e.attr(t),i=et.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=jt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Nt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return 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 Gm=BE;function HE(e){var t=et.ariaAttrs[e];return !!t}var _o=HE;function VE(e){var t=Gl(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 Oe(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Ue(s))!==-1}),i=qr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=Zi(s,i),u=false;Pn(s)&&(u=Ul("down",l,i).find(function(c){return !Pn(c)&&wo(c,i).includes(s)})),!u&&Mn(s)&&(u=Ul("right",l,i).find(function(c){return !Mn(c)&&wo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var jE=VE,Oa=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Um=Oa[0],Wm=Oa[1],Xm=Oa[2],Zl=Oa[3];function $E(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]=$e(o));}var l=ae(ae(ae(ae({},Xm,new Set),Um,new Set),Wm,new Set),Zl,new Set);t.forEach(function(y){if(!(!y.hasAttribute("headers")||!pt(y))){var A=y.getAttribute("headers").trim();if(!A){l[Zl].add(y);return}var k=y.getAttribute("id"),I=jt(A);I.forEach(function(P){k&&P===k?l[Xm].add(y):r[P]?["columnheader","rowheader"].includes(r[P])||l[Wm].add(y):l[Um].add(y);});}});var u=Ke(Oa),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===Zl?void 0:(this.data({messageKey:p}),!1)}}catch(y){u.e(y);}finally{u.f();}return true}function zE(e){var t=[],r=Gl(e),n=qr(e);return r.forEach(function(a){if(ao(a)&&Lm(a)&&!$m(a)){var i=wo(a,n).some(function(o){return o!==null&&!!ao(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var GE=zE;function UE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var WE=UE,XE=YE;function YE(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(KE),i=a?Oe(en(a)):false;return !i||!n?false:Oe(n).toLowerCase()===Oe(i).toLowerCase()}}function KE(e){return e.props.nodeName==="caption"}function JE(e){return Op(h)?e.nodeName.toUpperCase()==="TH":true}var ZE=JE;function QE(e){var t=qr(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 eC=QE;function tC(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=en(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var rC=tC,Ym={};dr(Ym,{getAriaRolesByType:function(){return Nn},getAriaRolesSupportingNameFromContent:function(){return Xl},getElementSpec:function(){return Qr},getElementsByContentType:function(){return nl},getGlobalAriaAttrs:function(){return Zr},implicitHtmlRoles:function(){return ol}});function nC(e,t,r){var n=Ue(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=$e(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))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:a}),false}function aC(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 iC=aC;function oC(e){return Jt(e)}var sC=oC;function lC(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&&!qp(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(Ie({value:p},c)),true;var y=uC(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Ie({value:y},c)),typeof y=="number")return (typeof a!="number"||y>=a)&&(typeof i!="number"||y<=i)}function uC(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 cC(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var dC=cC;function fC(){}var pC=fC;function mC(){var e=h.title;return !!Oe(e)}var hC=mC;function gC(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 vC=gC;function bC(e,t,r){try{return !!Oe(Aa(r))}catch{return}}var yC=bC;function wC(e,t,r){return !!Oe(Ea(r))}var xC=wC;function DC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Nt(e),n=Array.from(r.querySelectorAll('[id="'.concat(yt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var _C=DC;function AC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var EC=AC;function CC(e,t,r){var n=Oe(r.attr("title")).toLowerCase();return this.data(n),true}var SC=CC;function kC(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 TC=kC;function RC(e){var t=Zs(e,"href");return t?pt(t)||void 0:false}var FC=RC,IC=["alert","log","status"];function LC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ve.get("regionlessNodes",function(){return PC(t)});return !n.includes(r)}function PC(e){var t=Km(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 Km(e,t){var r=e.actualNode;if($e(e)==="button"||OC(e,t)||["iframe","frame"].includes(e.props.nodeName)||Dl(e.actualNode)&&Zs(e.actualNode,"href")||!pt(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&&ao(r,true)&&!MC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return Km(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function MC(e){return ["none","presentation"].includes($e(e))&&!no(e)}function OC(e,t){var r=e.actualNode,n=$e(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Nn("landmark");return !!(["assertive","polite"].includes(a)||IC.includes(n)||i.includes(n)||t.regionMatcher&&Sa(e,t.regionMatcher))}function NC(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=Ke(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(Nl(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var qC=NC;function BC(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 HC(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 Ql(e){var t=d.getComputedStyle(HC(e));return {fontWeight:BC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Jm(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 VC(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(P){return P.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(P){return P.nodeName.toUpperCase()==="P"}),l=Ql(e),u=o?Ql(o):null,c=s?Ql(s):null,p=t.passLength,y=t.failLength,A=e.textContent.trim().length,k=o?.textContent.trim().length;if(A>k*p||!u||!Jm(l,u,i))return true;var I=Fn(r,"blockquote");if(!(I&&I.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Jm(l,c,i))&&!(A>k*y))return false}var jC=VC,$C=/[;,\s]/,zC=/^[0-9.]+$/;function GC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split($C),l=ve(s,1),u=l[0];if(!u.match(zC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function UC(e,t,r){var n=er(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var WC=UC,Zm={};dr(Zm,{aria:function(){return Mm},color:function(){return Qm},dom:function(){return Hs},forms:function(){return d1},matches:function(){return Sa},math:function(){return Ef},standards:function(){return Ym},table:function(){return Fm},text:function(){return _a},utils:function(){return Jo}});var Qm={};dr(Qm,{Color:function(){return mt},centerPointOfRect:function(){return YC},elementHasImage:function(){return io},elementIsDistinct:function(){return t1},filteredRectStack:function(){return QC},flattenColors:function(){return Rr},flattenShadowColors:function(){return tu},getBackgroundColor:function(){return qa},getBackgroundStack:function(){return ru},getContrast:function(){return qn},getForegroundColor:function(){return Co},getOwnBackgroundColor:function(){return bn},getRectStack:function(){return r1},getStackingContext:function(){return au},getStrokeColorsFromShadows:function(){return nu},getTextShadowColors:function(){return Eo},hasValidContrastRatio:function(){return xS},incompleteData:function(){return ut},parseTextShadows:function(){return i1},stackingContextToColor:function(){return Na}});function XC(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 YC=XC;function e1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function KC(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 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(n)return true;var a=d.getComputedStyle(t);if(e1(r)[0]!==e1(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 t1=KC;function JC(e){var t=jf(e),r=gl(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var r1=JC;function ZC(e){var t=r1(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]:(ut.set("bgColor","elmPartiallyObscuring"),null)}return ut.set("bgColor","outsideViewport"),null}var QC=ZC,eS=["hue","saturation","color","luminosity"],n1={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=rS(t,e,r),a=eu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=eu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=eu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=tS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new mt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new mt(l,u,c,s)}function eu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function tS(e,t,r){return Math.min(Math.max(t,e),r)}function rS(e,t,r){if(eS.includes(r))return n1[r](e,t);var n=new mt;return ["r","g","b"].forEach(function(a){n[a]=n1[r](e[a],t[a]);}),n}function tu(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new mt(n,a,i,o)}function ru(e){for(var t=gl(e).map(function(a){return a=Bp(a,e),a=nS(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return ut.set("bgColor","bgOverlap"),null;if(r!==0&&!aS(n,t[0]))return ut.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function nS(e){var t=e.indexOf(h.body),r=e,n=bn(d.getComputedStyle(h.documentElement));if(t>1&&n.alpha===0&&!io(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 aS(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 iS=.54,Ao=.5,oS=1.5,a1=["top","right","bottom","left"];function nu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=sS(e),i=Object.entries(a).map(function(o){var s=ve(o,2),l=s[0],u=s[1],c=a1.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(lS).filter(function(o){return o!==null})}function sS(e){var t={},r=Ke(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=ve(s,2),c=u[0],p=u[1];c>Ao?l.right.push(c):-c>Ao&&l.left.push(-c),p>Ao?l.bottom.push(p):-p>Ao&&l.top.push(-p);}}catch(y){r.e(y);}finally{r.f();}return t}function lS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new mt;a.parseString(t);var i=0,o=true;return a1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>oS}));}),o||(a.alpha=1-Math.pow(iS,i)),a}function i1(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)Qe(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[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:[]},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 Eo(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);Qe(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],p=i1(s),y=Ke(p),A;try{for(y.s();!(A=y.n()).done;){var k=A.value,I=k.colorStr||o.getPropertyValue("color"),P=ve(k.pixels,3),q=P[0],B=P[1],z=P[2],G=z===void 0?0:z;if(!(n&&G>=u*n)){if(r&&G<u*r){c.push({colorStr:I,pixels:k.pixels});continue}if(c.length>0){var U=nu(c,{ignoreEdgeCount:a});if(U===null)return null;i.push.apply(i,Te(U)),c.splice(0,c.length);}var J=uS({colorStr:I,offsetX:q,offsetY:B,blurRadius:G,fontSize:u});i.push(J);}}}catch(se){y.e(se);}finally{y.f();}if(c.length>0){var re=nu(c,{ignoreEdgeCount:a});if(re===null)return null;i.push.apply(i,Te(re));}return i}function uS(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new mt(0,0,0,0);var o=new mt;return o.parseString(t),o.alpha*=cS(a,i),o}function cS(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function au(e,t){var r=ze(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??ru(e),t.forEach(function(i){var o,s=ze(i),l=pS(s),u=s._stackingOrder.filter(function(y){var A=y.vNode;return !!A});u.forEach(function(y,A){var k,I=y.vNode,P=(k=u[A-1])===null||k===void 0?void 0:k.vNode,q=s1(a,I,P);A===0&&!a.get(I)&&n.unshift(q),a.set(I,q);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,p=s1(a,s,c);u.length||n.unshift(p),p.bgColor=l;}),r._stackingContext=n,n}function Na(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(dS,o1()),a=Rr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function dS(e,t){var r;e instanceof mt?r=e:r=Na(e).color;var n=Na(t).color;return Rr(n,r,t.blendMode)}function o1(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:fS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function fS(e){return e||void 0}function s1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:o1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function pS(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function qa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=ze(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,Te(a.bgElms)),ut.set("bgColor",a.incompleteData),a.bgColor;var i=mS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ut.get("bgColor")},i}function mS(e,t,r){var n,a,i=ru(e);if(!i)return null;var o=hl(e),s=(n=Eo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(tu)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(io(u,c))return t.push(u),null;var p=void 0;try{if(p=bn(c),p.alpha===0)continue}catch(I){if(I&&ut.get("colorParse"))return null;throw I}if(c.getPropertyValue("display")!=="inline"&&!l1(u,o))return t.push(u),ut.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),p.alpha===1)break}var y=au(e,i);s=y.map(Na).concat(s);var A=hS(e,i.includes(h.body));if((a=s).unshift.apply(a,Te(A)),s.length===0)return new mt(255,255,255,1);var k=s.reduce(function(I,P){return Rr(P.color,I.color instanceof mt?I.color:I,P.blendMode)});return Rr(k.color instanceof mt?k.color:k,new mt(255,255,255,1))}function l1(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 u1(e){return e||void 0}function hS(e,t){var r=[];if(!t){var n=h.documentElement,a=h.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=bn(i),l=bn(o),u=l.alpha!==0&&l1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:u1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:u1(i.getPropertyValue("mix-blend-mode"))});}return r}function gS(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 qn=gS;function Co(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return bS(a,n)},function(){return vS(a)},function(){return Eo(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(I){if(I&&ut.get("colorParse"))return null;throw I}var p=o.reduce(function(I,P){return Rr(I,P)});if(r??(r=qa(e,[])),r===null){var y=ut.get("bgColor");return ut.set("fgColor",y),null}var A=au(e),k=c1(A,e);return Rr(yS(p,k,A),new mt(255,255,255,1))}function vS(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function bS(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 mt().parseString(s)}function yS(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(Na);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Rr(l.color,s.color instanceof mt?s.color:s)},{color:new mt(0,0,0,0),blendMode:"normal"});e=Rr(e,o),t=t.ancestor;}return e}function c1(e,t){var r=Ke(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=c1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function wS(e,t,r,n){var a=qn(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 xS=wS,d1={};dr(d1,{isAriaCombobox:function(){return vp},isAriaListbox:function(){return gp},isAriaRange:function(){return bp},isAriaTextbox:function(){return hp},isDisabled:function(){return Ba},isNativeSelect:function(){return mp},isNativeTextbox:function(){return pp}});var DS=["fieldset","button","select","input","textarea"];function f1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return DS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=f1(e.parent):t=false,e._isDisabled=t,t}var Ba=f1;function _S(e,t,r){var n=_a.accessibleTextVirtual(r),a=_a.sanitize(_a.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Hs.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var AS=_S;function p1(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 oe(o)!==oe(s)?false:oe(o)==="object"||oe(s)==="object"?p1(o,s):o===s});return a}function ES(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,y=c.urlProps;if(n[p])return 1;var A=t.filter(function(I,P){var q=I.data;return q.name===p&&P!==s}),k=A.every(function(I){var P=I.data;return p1(P.urlProps,y)});A.length&&!k&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Te(A.map(function(I){return I.relatedNodes[0]}))),n[p]=A,r.push(u);},i=0;i<t.length;i++)a(i);return r}var CS=ES;function SS(e){var t=$e(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ve(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 kS(){var e=Ve.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(m._tree[0],t,pt);return e=r.map(function(n){return {ancestry:[Li(n.actualNode)],level:SS(n)}}),this.data({headingOrder:e}),Ve.set("headingOrder",r),true}var TS=kS;function RS(e){var t=IS(e);return e.forEach(function(r){r.result=FS(r,t);}),e}function FS(e,t){var r,n,a,i,o=m1(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 IS(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(LS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function LS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=h1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return MS(s,a)}),o=PS(e,a);return o===-1?e.push.apply(e,Te(i)):e.splice.apply(e,[o,0].concat(Te(i))),e}function PS(e,t){for(;t.length;){var r=m1(e,t);if(r!==-1)return r;t=h1(t,1);}return -1}function m1(e,t){return e.findIndex(function(r){return Nl(r.ancestry,t)})}function MS(e,t){var r=t.concat(e.ancestry);return Ie({},e,{ancestry:r})}function h1(e,t){return e.slice(0,e.length-t)}function OS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Nr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Nr.bind(null,n),o=Yi(r),s=NS(r,o),l=qS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ha(s));return}if(u.length)return this.relatedNodes(Ha(u)),this.data({messageKey:"obscured"}),true;var p=ur(r)?false:void 0;if(!i(a))return this.data(Ie({minSize:n},So(a))),p;var y=VS(c);if(!y.length)return this.data(Ie({minSize:n},So(a))),true;var A=BS(r,y,n);if(!A){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(A)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Ha(s));return}var k=y.every(ur),I="partiallyObscured".concat(k?"":"NonTabbable");return this.data(Ie({messageKey:I,minSize:n},So(A))),this.relatedNodes(Ha(y)),k?p:void 0}return this.data(Ie({minSize:n},So(A||a))),this.relatedNodes(Ha(y)),true}function NS(e,t){return t.filter(function(r){return !g1(r,e)&&v1(e,r)})}function qS(e,t){var r=[],n=[],a=Ke(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!v1(e,o)&&Us(e,o)&&jS(o)!=="none"&&(g1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function BS(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=Ws(n,a);}catch{return null}return HS(i,r)}function HS(e,t){return e.reduce(function(r,n){var a=Nr(t,r),i=Nr(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 VS(e){return e.filter(function(t){return br(t)==="widget"&&At(t)})}function g1(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function jS(e){return e.getComputedStylePropertyValue("pointer-events")}function So(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function v1(e,t){return Or(e,t)&&!ur(t)}function Ha(e){return e.map(function(t){var r=t.actualNode;return r})}var $S=.05;function zS(e,t,r){var n=t?.minOffset||24;if(Nr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=Ke(Yi(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(br(l)!=="widget"||!At(l))){var u=null;try{u=Sf(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=GS(u)*2,!(u+$S>=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(ur)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),ur(r)?false:void 0}function GS(e){return Math.round(e*10)/10}function US(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,y){var A=y.trim();if(!A)return p;var k=A.split("="),I=ve(k,2),P=I[0],q=I[1];if(!P||!q)return p;var B=P.toLowerCase().trim(),z=q.toLowerCase().trim();return B==="maximum-scale"&&z==="yes"&&(z=1),B==="maximum-scale"&&parseFloat(z)<0||(p[B]=z),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 WS=US;function XS(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=[],y=P(o),A=function(){var ce=I[k],he=y[ce],ye=he.root,Fe=he.rules,qe=Fe.filter(q);if(!qe.length)return 1;qe.forEach(function(Ce){var Pe=Ce.cssRules;Array.from(Pe).forEach(function(fe){var Re=B(fe);if(Re&&fe.selectorText.toUpperCase()!=="HTML"){var Y=Array.from(ye.querySelectorAll(fe.selectorText))||[];p=p.concat(Y);}c=c||Re;});});},k=0,I=Object.keys(y);k<I.length;k++)A();if(!c)return true;return p.length&&this.relatedNodes(p),false;function P(ne){return ne.reduce(function(ce,he){var ye=he.sheet,Fe=he.root,qe=he.shadowId,Ce=qe||"topDocument";if(ce[Ce]||(ce[Ce]={root:Fe,rules:[]}),!ye||!ye.cssRules)return ce;var Pe=Array.from(ye.cssRules);return ce[Ce].rules=ce[Ce].rules.concat(Pe),ce},{})}function q(ne){var ce=ne.type,he=ne.cssText;return ce!==4?false:/orientation:\s*landscape/i.test(he)||/orientation:\s*portrait/i.test(he)}function B(ne){var ce=ne.selectorText,he=ne.style;if(!ce||he.length<=0)return false;var ye=he.transform||he.webkitTransform||he.msTransform||false;if(!ye&&!he.rotate)return false;var Fe=z(ye),qe=G("rotate",he.rotate),Ce=Fe+qe;return !Ce||(Ce=Math.abs(Ce),Math.abs(Ce-180)%180<=u)?false:Math.abs(Ce-90)%90<=u}function z(ne){if(!ne)return 0;var ce=ne.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ce)return 0;var he=ve(ce,3),ye=he[1],Fe=he[2];return G(ye,Fe)}function G(ne,ce){switch(ne){case "rotate":case "rotateZ":return U(ce);case "rotate3d":var he=ce.split(",").map(function(Ce){return Ce.trim()}),ye=ve(he,4),Fe=ye[2],qe=ye[3];return parseInt(Fe)===0?void 0:U(qe);case "matrix":case "matrix3d":return J(ce);default:return 0}}function U(ne){var ce=ne.match(/(deg|grad|rad|turn)/)||[],he=ve(ce,1),ye=he[0];if(!ye)return 0;var Fe=parseFloat(ne.replace(ye,""));switch(ye){case "rad":return re(Fe);case "grad":return se(Fe);case "turn":return be(Fe);default:return parseInt(Fe)}}function J(ne){var ce=ne.split(",");if(ce.length<=6){var he=ve(ce,2),ye=he[0],Fe=he[1],qe=Math.atan2(parseFloat(Fe),parseFloat(ye));return re(qe)}var Ce=parseFloat(ce[8]),Pe=Math.asin(Ce),fe=Math.cos(Pe),Re=Math.acos(parseFloat(ce[0])/fe);return re(Re)}function re(ne){return Math.round(ne*(180/Math.PI))}function se(ne){return ne=ne%400,ne<0&&(ne+=400),Math.round(ne/400*360)}function be(ne){return Math.round(360/(1/ne))}}var YS=XS;function KS(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=ve(c,2),y=p[1],A=y.split(",");return A.map(function(k){return /:/.test(k)?l(k):parseFloat(k)})}}function l(u){for(var c=u.split(":"),p=0,y=1;c.length>0;)p+=y*parseInt(c.pop(),10),y*=60;return parseFloat(p)}}var JS=KS;function ZS(e,t){return t.isViolation?false:void 0}var QS=ZS,b1=" > ";function ek(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(b1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(b1);return t[i]&&(t[i].result=true),false})}var tk=ek;function rk(e,t,r){var n=er(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var nk=rk;function ak(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 ik=ak;function ok(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||!pt(c))){i=false;var p=c.nodeName.toUpperCase()==="LI",y=$e(u),A=y==="listitem";!p&&!A&&o.push(c),p&&!A&&(s.push(c),l.includes(y)||l.push(y)),A&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var sk=ok;function lk(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"&&$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 p=Ue(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 uk(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Ue(n);return ["presentation","none","list"].includes(i)?true:i&&Ca(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function ck(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=y1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&fk(l)){if(!l.children)return;var c=y1(l.children,true);i.push.apply(i,Te(c));continue}var p=dk(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 dk(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||!pt(e))return false;var y=Ue(e);return y?a.includes(y)?false:p+"[role=".concat(y,"]"):o.includes(l)?false:p+l}function fk(e){return e.props.nodeName==="div"&&Ue(e)===null}function y1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function pk(e){var t=It(e),r=t.nodeName.toUpperCase(),n=Ue(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=It(t),r=t.nodeName.toUpperCase(),n=Ue(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var mk=pk;function hk(e,t,r){var n=wn(r.attr("lang")),a=wn(r.attr("xml:lang"));return n===a}var gk=hk;function vk(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=wn(i),s=t.value?!t.value.map(wn).includes(o):!yo(o);(o!==""&&s||i!==""&&!Oe(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!bl(r)?false:(this.data(n),true)}var bk=vk;function iu(e){return (e||"").trim()!==""}function yk(e,t,r){var n=typeof h<"u"?da(h):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&iu(r.attr("xml:lang"))&&!iu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return iu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var wk=yk;function xk(e,t,r){var n=$e(e),a=Lt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var Dk=xk;function _k(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var Ak=_k;function Ek(e,t,r){var n=ro(r),a=Qi(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var Ck=Ek;function Sk(e){var t=yt(e.getAttribute("id")),r=e.parentNode,n=Nt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !Jr(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 pt(s)});if(i.length>1)return;var o=Ar(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var kk=Sk;function Tk(e,t){var r=w1(t),n=w1(e);return !r||!n?false:r.includes(n)}function w1(e){var t=Ta(e,{emoji:true,nonBmp:true,punctuations:true});return Oe(t)}function Rk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=hn(e).toLowerCase(),s=Oe(en(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(ml(o)<1||ml(s)<1))return Tk(s,o)}var Fk=Rk;function Ik(e,t,r){try{var n=Kt(r,"label");if(n){var a=Oe(Lt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var Lk=Ik;function Pk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Nt(e),a=yt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!pt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var Mk=Pk;function Ok(e,t,r){var n=ro(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?hn(o):""}).join("");}return Oe(a)===Oe(n)}var Nk=Ok;function qk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Nt(r.actualNode),i=yt(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(Jt(s)){var l=Oe(hn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Bk=qk;function Hk(e,t,r){if(["none","presentation"].includes($e(r)))return false;var n=Kt(r,t.parentSelector);if(!n)return false;var a=Cr(n,true).toLowerCase();return a===""?false:a===Lt(r).toLowerCase()}var Vk=Hk;function jk(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var $k=jk;function zk(e,t,r){var n=kr(r.attr("tabindex"));return n===null||n<=0}var Gk=zk;function Uk(e,t,r){if(r.children)try{var n=x1(r);if(!n.length)return !0;var a=n.filter(Wk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function x1(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,Te(x1(r)));}),t}function Wk(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function Xk(e){var t=Nn("landmark"),r=It(e),n=$e(e);for(this.data({role:n});r;){var a=Ue(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Er(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=It(r);}return true}var Yk=Xk;function Kk(e,t,r){if(r.children)try{return !r.children.some(function(n){return D1(n)})}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 Jk(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||Fa()?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 Zk=Jk;function Qk(e,t,r){if(!ur(r))return false;try{return !Lt(r)}catch{return}}var eT=Qk;function tT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Fa()){this.relatedNodes(n);return}return true}var rT=tT;function nT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return ur(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Kt(r.parent,"[contenteditable]");return o?n(o):false}}var aT=nT;function iT(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||Fa()?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 oT=iT;function sT(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 lT=sT;function uT(e,t,r){return Jr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var cT=uT;function dT(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 fT=dT;function pT(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(Ve.get(n)){this.data("ignored");return}Ve.set(n,true);var a=Tr(m._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Fn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return $e(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var mT=pT;function hT(e){return e.filter(function(t){return t.data!=="ignored"})}var gT=hT;function vT(e,t,r){return Sa(r,t.matcher)}var bT=vT;function yT(e,t,r){try{return Oe(en(r))!==""}catch{return}}function wT(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&&Fa())return true;var n=Tr(r,t.selector,function(a){return pt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var xT=wT;function DT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var _T=DT;function AT(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=!Oe(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var ET=AT;function CT(e,t,r){var n=r.attr("autocomplete")||"";return kp(n,t)}var ST=CT;function kT(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};oe(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(vn.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Oe(r.attr("type")).toLowerCase():"text";return c=bo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var TT=kT,RT=["block","list-item","table","flex","grid","inline-block"];function FT(e){if(_1(e))return false;for(var t=It(e);t&&t.nodeType===1&&!_1(t);)t=It(t);if(t){if(this.relatedNodes([t]),t1(e,t))return true;if(IT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function _1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return RT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function IT(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 A1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var LT=["block","list-item","table","flex","grid","inline-block"];function E1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return LT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function PT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(E1(e))return false;for(var a=It(e);a&&a.nodeType===1&&!E1(a);)a=It(a);if(a){this.relatedNodes([a]);var i=Co(e),o=Co(a),s=qa(e),l=qa(a),u=i&&o?A1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?A1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var p,y=(p=ut.get("bgColor"))!==null&&p!==void 0?p:"bgContrast";this.data({messageKey:y}),ut.clear();return}if(u)return n&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var MT=PT;function OT(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(!Jt(e))return this.data({messageKey:"hidden"}),true;var y=Cr(r,false,true);if(n&&qT(y)){this.data({messageKey:"nonBmp"});return}var A=d.getComputedStyle(e),k=parseFloat(A.getPropertyValue("font-size")),I=A.getPropertyValue("font-weight"),P=parseFloat(I)>=o||I==="bold",q=Math.ceil(k*72)/96,B=P&&q<s||!P&&q<l,z=B?u.normal:u.large,G=z.expected,U=z.minThreshold,J=z.maxThreshold,re=NT(r,{ignorePseudo:i,pseudoSizeThreshold:p});if(re){this.data({fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:P?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:G+":1"}),this.relatedNodes(re.actualNode);return}var se=Eo(e,{minRatio:.001,maxRatio:c});if(se===null){this.data({messageKey:"complexTextShadows"});return}var be=[],ne=qa(e,be,c),ce=Co(e,false,ne,t),he=null,ye=null,Fe=null;if(se.length===0)he=qn(ne,ce);else if(ce&&ne){Fe=[].concat(Te(se),[ne]).reduce(tu);var qe=qn(ne,ce),Ce=qn(ne,Fe),Pe=qn(Fe,ce);he=Math.max(qe,Ce,Pe),he!==qe&&(ye=Ce>Pe?"shadowOnBgColor":"fgOnShadowColor");}var fe=he>G;if(typeof U=="number"&&(typeof he!="number"||he<U)||typeof J=="number"&&(typeof he!="number"||he>J))return this.data({contrastRatio:he}),true;var Re=Math.floor(he*100)/100,Y,xe;ne===null?ut.get("colorParse")?(Y="colorParse",xe=ut.get("colorParse")):Y=ut.get("bgColor"):fe||(Y=ye),ce===null&&ut.get("colorParse")&&(Y="colorParse",xe=ut.get("colorParse"));var ue=Re===1,De=y.length===1;if(ue?Y=ut.set("bgColor","equalRatio"):!fe&&De&&!a&&(Y="shortTextContent"),this.data({fgColor:ce?ce.toHexString():void 0,bgColor:ne?ne.toHexString():void 0,contrastRatio:Re,fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:P?"bold":"normal",messageKey:Y,expectedContrastRatio:G+":1",shadowColor:Fe?Fe.toHexString():void 0,colorParse:xe}),ce===null||ne===null||ue||De&&!a&&!fe){Y=null,ut.clear(),this.relatedNodes(be);return}return fe||this.relatedNodes(be),fe}function NT(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=C1(e.actualNode,":before"),u=C1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var C1=lt(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||bn(n).alpha===0&&a("background-image","none"))return 0;var i=S1(n.getPropertyValue("width")),o=S1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function qT(e){var t={nonBmp:true},r=fl(e,t),n=Oe(Ta(e,t))==="";return r&&n}function S1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=ve(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 BT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},HT={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 VT(e){var t=e.nodeName.toUpperCase();return BT[t]||false}function jT(e,t){var r=Ue(e);return r&&(HT[r]||t.roles.includes(r))||false}function $T(e,t){return jT(e,t)||VT(e)}var zT=$T;function GT(e,t,r){var n=$e(r,{dpub:true,fallback:true}),a=rl(n);return a&&this.data(n),a}var UT=GT;function WT(e,t,r){var n=$e(r,{noImplicit:true});this.data(n);var a,i;try{a=Oe(cl(r)).toLowerCase(),i=Oe(Lt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var XT=WT;function YT(e,t,r){return At(r)}var KT=YT;function JT(e,t,r){var n=jt(r.attr("role")),a=n.every(function(i){return !Ca(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var ZT=JT;function QT(e,t,r){var n=Ue(r);if(n===null)return false;var a=br(n);return a==="widget"||a==="composite"}var e5=QT;function t5(e,t,r){var n=Zr().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var r5=t5;function n5(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function a5(e,t,r){var n=jt(r.attr("role"));return n.length<=1?false:n5(r,n)?void 0:true}var i5=a5;function o5(e,t,r){var n=$e(r,{dpub:true,fallback:true}),a=et.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function s5(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Oe(a)==="")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 l5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Oe(Lt(r))!==""}catch{return}}function u5(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=Gm(r,u);}catch{n="".concat(u,'="').concat(p,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(p===""&&!c5(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 c5(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function d5(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)&&!_o(i)&&n.push(i);}),n.length?(this.data(n),false):true}var f5=d5;function p5(e,t,r){var n=r.attrNames.filter(function(a){var i=et.ariaAttrs[a];if(!_o(a))return false;var o=i.unsupported;return oe(o)!=="object"?!!o:!Sa(e,o.exceptions)});return n.length?(this.data(n),true):false}var m5=p5;function h5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=$e(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var g5=h5;function k1(e,t,r,n){var a=Ue(e);if(r||(r=Kl(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=$e(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 v5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=yt(e.getAttribute("id")),a=Nt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function b5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=k1(r,n);if(!a)return true;var i=v5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=k1(ze(i[o]),n,a,true),!a)return true}return this.data(a),false}var y5=b5;function w5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Ue(r,{dpub:true}),i=Jl(a);if(i===null)return true;var o=x5(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 A5(c,p)}).filter(function(u,c,p){return p.indexOf(u)===c}).join(", ")}),false}if(D5(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(E5)))return false}function x5(e,t){for(var r,n=[],a=ka(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!pt(r))return 1;var s=$e(r,{noPresentational:true}),l=_5(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 D5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function _5(e){return Zr().find(function(t){return e.hasAttr(t)})}function A5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Ue(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function E5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Ra(t,false,true)}function C5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Ue(n),i=n.attrNames,o=zm(a);if(Array.isArray(r[a])&&(o=Pa(r[a],o)),!a||!i.length||!o.length||S5(n,a)||T5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Qr(n),l=o.filter(function(u){return !n.attr(u)&&!k5(s,u)});return l.length?(this.data(l),false):true}function S5(e,t){return t==="separator"&&!At(e)}function k5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function T5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function R5(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=$e(r,{chromium:true,fallback:true}),o=F5(r,i,a,n),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:a,messageKey:l,prohibited:s});var u=en(r,{subtreeDescendant:true});if(Oe(u)==="")return true}function F5(e,t,r,n){var a=et.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||T1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var T1=lt(function(t){if(t){var r=$e(t,{noPresentational:true,chromium:true});return r?br(r):T1(t.parent)}});function I5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var L5=I5;function P5(e,t,r){return r.attr("aria-hidden")!=="true"}var M5=P5;function O5(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 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 p=jt(r.attr("aria-describedby"));return Ue(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(y){return p.includes(y)})}}return t.indexOf(n)===-1&&a?(this.data(jt(n)),s.call(this,n)):true}function R1(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=N5(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 N5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Kt(e,t)}}function F1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=B5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=q5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function q5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function B5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var I1={row:R1,checkbox:F1};function H5(e,t,r){var n=$e(r);return I1[n]?I1[n].call(this,e,t,r):true}function V5(e,t,r){return r.attr("aria-busy")==="true"}function j5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Bm(r,a);return l.length?(this.data(l),pt(r)?false:void 0):true}var $5=j5;function z5(e,t,r){var n=[],a=$e(r),i=Om(a);Array.isArray(t[a])&&(i=Pa(t[a].concat(i)));var o=Ke(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;_o(l)&&!i.includes(l)&&!G5(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&&!Ml(r)&&!At(r)))return false}function G5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function U5(e,t,r){var n=Qr(r);if(!n.allowedAriaAttrs)return true;var a=Ue(r);if(a)return true;var i=n.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(y){l.e(y);}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(y){return y+'="'+r.attr(y)+'"'}).join(", ")}),false}function W5(e,t,r){var n=jt(r.attr("role")).filter(function(a){return br(a)==="abstract"});return n.length>0?(this.data(n),true):false}var X5=W5;function Y5(e){var t=wn(e.getAttribute("lang")),r=wn(e.getAttribute("xml:lang"));return yo(t)&&yo(r)}var K5=Y5;function J5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var Z5=J5;function Q5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Kt(t,"svg")}catch{return false}}var ou=Q5;function eR(e,t){return tR.every(function(r){return r(e,t)})}var tR=[function(e,t){return L1(t)},function(e,t){return rR(t)},function(e,t){return !ou(e,t)},function(e,t){return At(t)},function(e,t){return ur(t)||!nR(t)},function(e){return !yl(e,{noLengthCompare:true,includeInlineBlock:true})}];function L1(e){return br(e)==="widget"}function rR(e){return e.props.nodeName!=="area"}var nR=lt(function e(t){return t!=null&&t.parent?L1(t.parent)&&ur(t.parent)?true:e(t.parent):false});function aR(e,t){var r=$e(t);return ["treegrid","grid","table"].includes(r)}function iR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||oR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function oR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function sR(e){return Dl(e)&&zi(e)}var lR=sR;function uR(e,t){return Br(e,13)!==void 0&&Yl(t)===false&&cR(t)}function cR(e){var t=e.boundingClientRect;return er(e,"*").some(function(r){if(!Ra(r,true,true))return false;var n=[];if(no(r)){var a;(a=n).push.apply(a,Te(dR(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 dR(e){var t=h.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function fR(e,t){return Er(t,{chromiumRoles:true})!==null}var pR=fR;function mR(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 hR=mR;function gR(e,t){var r=Ue(t);if(!r||["none","presentation"].includes(r))return true;var n=Uf[r]||{},a=n.accessibleNameRequired;return !!(a||At(t))}var P1=gR,vR=function(t,r){return [P1,bR].every(function(n){return n(t,r)})};function bR(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 yR(e,t){return t.props.nodeName!=="html"}var wR=yR;function xR(e,t){return !t.attr("role")}var DR=xR;function _R(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var AR=_R;function ER(e,t){var r=Qr(t),n=r.namingMethods;return !(n&&n.length!==0||Ue(t)==="combobox"&&er(t,'input:not([type="hidden"])').length||Yl(t,{popupRoles:["listbox"]}))}var CR=ER;function SR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var kR=SR;function TR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var RR=TR;function FR(e,t){var r=$e(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var IR=FR;function LR(e){var t=Oe(e.innerText),r=Ue(e);return r&&r!=="link"||!t||!Jt(e)?false:yl(e)}var PR=LR;function MR(e){return !xo(e)&&!At(e)}var OR=MR;function NR(e,t){return qR(t)&&pt(t)}function qR(e){var t=Nn("landmark"),r=$e(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Lt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function BR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Fn(t,r)}var HR=BR;function VR(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===false)return true;var r=t.attr("type").toLowerCase();return ["hidden","image","button","submit","reset"].includes(r)===false}var jR=VR;function $R(e,t){var r=$e(e);if(!r)return false;var n=Nn("widget"),a=n.includes(r);if(!a)return false;var i=Xl();return !(!i.includes(r)||!Oe(Ea(t))&&!Oe(Aa(e))||!Oe(Cr(t)))}var zR=$R;function GR(e,t){return Jt(t)}function UR(e){return Jt(e)}function WR(e,t,r){return r.initiator}var M1=WR;function XR(e){return Lp(e)}var YR=XR;function KR(e,t){var r=!!Lt(t);if(!r)return false;var n=$e(e);return !(n&&n!=="link")}var JR=KR;function ZR(e,t){return !ou(e,t)}var QR=ZR;function eF(e,t){return $e(t)==="heading"}function tF(e,t){return Er(t,{chromium:true})!==null}var rF=tF;function nF(e){var t=e.getAttribute("title");return !!Oe(t)}var aF=nF;function iF(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 oF=iF;function sF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),n=Array.from(Nt(e).querySelectorAll(r));return !Do(e)&&n.every(function(a){return !At(a)})}var lF=sF;function uF(e){return Do(e)}var cF=uF;function dF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),n=Array.from(Nt(e).querySelectorAll(r));return !Do(e)&&n.some(At)}var fF=dF;function pF(e){return xo(e)}var mF=pF;function hF(e){if(xo(e)){var t=qr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var gF=hF;function vF(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)||Ba(t)||Ki(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},!_l(u,e))return false}return true}var c=Fn(t,"label");if(n==="label"||c){var p=c||e,y=c?ze(c):t;if(p.htmlFor){var A=Nt(p),k=A.getElementById(p.htmlFor),I=k&&ze(k);if(I&&Ba(I))return false}var P='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',q=er(y,P)[0];if(q&&Ba(q))return false}for(var B=[],z=t;z;){if(z.props.id){var G=Wl(z).filter(function(ce){return jt(ce.getAttribute("aria-labelledby")||"").includes(z.props.id)}).map(function(ce){return ze(ce)});B.push.apply(B,Te(G));}z=z.parent;}if(B.length>0&&B.every(Ba)||!wF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var U=h.createRange(),J=t.children,re=0;re<J.length;re++){var se=J[re];se.actualNode.nodeType===3&&Oe(se.actualNode.nodeValue)!==""&&U.selectNodeContents(se.actualNode);}var be=Array.from(U.getClientRects()),ne=wa(t);return be.some(function(ce){var he=_l(ce,e);if(!ne.length)return he;var ye=ne.some(function(Fe){return Vs(ce,Fe.boundingClientRect)});return he&&ye})}var bF=vF,yF={emoji:true,nonBmp:false,punctuations:true};function wF(e){var t=Cr(e,false,true);return t===""||Ta(t,yF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!pl(r)})}function xF(e,t,r){return M1(e,t,r)?!!e.querySelector("a[href]"):true}var DF=xF;function _F(e,t){var r=t.attr("autocomplete");if(!r||Oe(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=Ue(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 AF=_F;function EF(e,t){var r=Ue(t);return !!Kl(r)}var CF=EF;function SF(e,t){var r=Ue(t,{dpub:true});return !!Jl(r)}var kF=SF;function O1(e){return e?e.getAttribute("aria-hidden")==="true"?false:O1(It(e)):true}function TF(e){return O1(It(e))}var RF=TF;function FF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var IF=FF;function LF(e,t){return Ue(t,{dpub:true,fallback:true})!==null}var PF=LF;function MF(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var OF=MF,NF={"abstractrole-evaluate":X5,"accesskeys-after":fT,"accesskeys-evaluate":cT,"alt-space-value-evaluate":$k,"aria-allowed-attr-elm-evaluate":U5,"aria-allowed-attr-evaluate":z5,"aria-allowed-attr-matches":OF,"aria-allowed-role-evaluate":$5,"aria-allowed-role-matches":PF,"aria-busy-evaluate":V5,"aria-conditional-attr-evaluate":H5,"aria-conditional-checkbox-attr-evaluate":F1,"aria-conditional-row-attr-evaluate":R1,"aria-errormessage-evaluate":O5,"aria-has-attr-matches":IF,"aria-hidden-body-evaluate":M5,"aria-hidden-focus-matches":RF,"aria-label-evaluate":xC,"aria-labelledby-evaluate":yC,"aria-level-evaluate":L5,"aria-prohibited-attr-evaluate":R5,"aria-required-attr-evaluate":C5,"aria-required-children-evaluate":w5,"aria-required-children-matches":kF,"aria-required-parent-evaluate":y5,"aria-required-parent-matches":CF,"aria-roledescription-evaluate":g5,"aria-unsupported-attr-evaluate":m5,"aria-valid-attr-evaluate":f5,"aria-valid-attr-value-evaluate":u5,"attr-non-space-content-evaluate":ET,"autocomplete-appropriate-evaluate":TT,"autocomplete-matches":AF,"autocomplete-valid-evaluate":ST,"avoid-inline-spacing-evaluate":vC,"braille-label-equivalent-evaluate":l5,"braille-roledescription-equivalent-evaluate":s5,"bypass-matches":DF,"caption-evaluate":nk,"caption-faked-evaluate":eC,"color-contrast-evaluate":OT,"color-contrast-matches":bF,"css-orientation-lock-evaluate":YS,"data-table-large-matches":gF,"data-table-matches":mF,"deprecatedrole-evaluate":o5,"dlitem-evaluate":mk,"doc-has-title-evaluate":hC,"duplicate-id-active-matches":fF,"duplicate-id-after":EC,"duplicate-id-aria-matches":cF,"duplicate-id-evaluate":_C,"duplicate-id-misc-matches":lF,"duplicate-img-label-evaluate":Vk,"exists-evaluate":pC,"explicit-evaluate":Bk,"fallbackrole-evaluate":i5,"focusable-content-evaluate":lT,"focusable-disabled-evaluate":oT,"focusable-element-evaluate":aT,"focusable-modal-open-evaluate":rT,"focusable-no-name-evaluate":eT,"focusable-not-tabbable-evaluate":Zk,"frame-focusable-content-evaluate":Kk,"frame-focusable-content-matches":oF,"frame-tested-after":tk,"frame-tested-evaluate":QS,"frame-title-has-text-matches":aF,"has-alt-evaluate":dC,"has-descendant-after":_T,"has-descendant-evaluate":xT,"has-global-aria-attribute-evaluate":r5,"has-implicit-chromium-role-matches":rF,"has-lang-evaluate":wk,"has-text-content-evaluate":yT,"has-widget-role-evaluate":e5,"heading-matches":eF,"heading-order-after":RS,"heading-order-evaluate":TS,"help-same-as-label-evaluate":Nk,"hidden-content-evaluate":lE,"hidden-explicit-label-evaluate":Mk,"html-namespace-matches":QR,"html5-scope-evaluate":ZE,"identical-links-same-purpose-after":CS,"identical-links-same-purpose-evaluate":AS,"identical-links-same-purpose-matches":JR,"implicit-evaluate":Lk,"inline-style-property-evaluate":lC,"inserted-into-focus-order-matches":YR,"internal-link-present-evaluate":WC,"invalid-children-evaluate":ck,"invalidrole-evaluate":ZT,"is-element-focusable-evaluate":KT,"is-initiator-matches":M1,"is-on-screen-evaluate":sC,"is-visible-matches":UR,"is-visible-on-screen-matches":GR,"label-content-name-mismatch-evaluate":Fk,"label-content-name-mismatch-matches":zR,"label-matches":jR,"landmark-has-body-context-matches":HR,"landmark-is-top-level-evaluate":Yk,"landmark-is-unique-after":Ak,"landmark-is-unique-evaluate":Dk,"landmark-unique-matches":NR,"layout-table-matches":OR,"link-in-text-block-evaluate":MT,"link-in-text-block-matches":PR,"link-in-text-block-style-evaluate":FT,"listitem-evaluate":uk,"matches-definition-evaluate":bT,"meta-refresh-evaluate":GC,"meta-viewport-scale-evaluate":WS,"multiple-label-evaluate":kk,"nested-interactive-matches":IR,"no-autoplay-audio-evaluate":JS,"no-autoplay-audio-matches":RR,"no-empty-role-matches":kR,"no-explicit-name-required-matches":P1,"no-focusable-content-evaluate":Uk,"no-implicit-explicit-label-evaluate":XT,"no-naming-method-matches":CR,"no-negative-tabindex-matches":AR,"no-role-matches":DR,"non-empty-if-present-evaluate":iC,"not-html-matches":wR,"object-is-loaded-matches":vR,"only-dlitems-evaluate":lk,"only-listitems-evaluate":sk,"p-as-heading-evaluate":jC,"p-as-heading-matches":hR,"page-no-duplicate-after":gT,"page-no-duplicate-evaluate":mT,"presentation-role-conflict-matches":pR,"presentational-role-evaluate":nC,"region-after":qC,"region-evaluate":LC,"same-caption-summary-evaluate":XE,"scope-value-evaluate":WE,"scrollable-region-focusable-matches":uR,"skip-link-evaluate":FC,"skip-link-matches":lR,"structured-dlitems-evaluate":ik,"summary-interactive-matches":iR,"svg-namespace-matches":ou,"svg-non-empty-title-evaluate":rC,"tabindex-evaluate":Gk,"table-or-grid-role-matches":aR,"target-offset-evaluate":zS,"target-size-evaluate":OS,"td-has-header-evaluate":GE,"td-headers-attr-evaluate":$E,"th-has-data-cells-evaluate":jE,"title-only-evaluate":Ck,"unique-frame-title-after":TC,"unique-frame-title-evaluate":SC,"unsupportedrole-evaluate":UT,"valid-lang-evaluate":bk,"valid-scrollable-semantics-evaluate":zT,"widget-not-inline-matches":eR,"window-is-top-matches":Z5,"xml-lang-mismatch-evaluate":gk,"xml-lang-mismatch-matches":K5},ko=NF;function qF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var su=qF;function lu(e){if(typeof e=="string"){if(ko[e])return ko[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function N1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||oe(e)!=="object")&&(e={value:e}),e}function Bn(e){e&&(this.id=e.id,this.configure(e));}Bn.prototype.enabled=true,Bn.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 su(this),u=Es(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(p){t&&t.actualNode&&(p.errorNode=lr.toSpec(t)),i(p);return}u.isAsync||(l.result=c,a(l));}else a(null);},Bn.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 su(this),u=Es(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=lr.toSpec(t)),p}return l.result=c,l},Bn.prototype.configure=function(t){var r=this;(!t.evaluate||ko[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=N1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=lu(t[n])});},Bn.prototype.getOptions=function(t){return this._internalCheck?qs(this.options,N1(t||{})):t||this.options};var q1=Bn;function BF(e){this.id=e.id,this.result=je.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var To=BF;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=lu(e.matches));}Xt.prototype.matches=function(){return true},Xt.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&&tt.mark(n);var s=Vl(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(a),tt.measure("rule_"+this.id+"#gather",n,a)),s},Xt.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=co(c,s.id,n);l.defer(function(y,A){c.run(r,p,a,y,function(k){A(new vo({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,n,a){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=co(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},Xt.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 To(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 y=_r();["any","all","none"].forEach(function(A){y.defer(function(k,I){r.runChecks(A,u,n,t,k,I);});}),y.then(function(A){var k=B1(A);k&&(k.node=new sr(u),s.nodes.push(k),r.reviewOnFail&&(["any","all"].forEach(function(I){k[I].forEach(function(P){P.result===false&&(P.result=void 0);});}),k.none.forEach(function(I){I.result===true&&(I.result=void 0);}))),c();}).catch(function(A){return p(A)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},Xt.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new To(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=B1(s);l&&(l.node=o.actualNode?new sr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},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){fn("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 B1(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}}Xt.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&&tt.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new vo({ruleId:n.id,method:"#matches",errorNode:new sr(s),error:l})}}),r.performanceTimer&&(tt.mark(i),tt.measure("rule_"+this.id+"#matches",a,i)),o};function HF(e){return Bi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function VF(e,t){var r=[];return e.forEach(function(n){var a=Bi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function jF(e){return e.filter(function(t){return t.filtered!==true})}function $F(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=jF(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}Xt.prototype.after=function(t,r){var n=this,a=HF(this);return a.forEach(function(i){var o=VF(t.nodes,i.id),s=co(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new vo({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,y=n.none.includes(c.id)&&c.result===true;(p||y)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=$F(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=lu(t.matches)),t.impact&&(Qe(je.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Hn=/\{\{.+?\}\}/g,zF=(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},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),y=0;y<p.length;y++){var A=p[y],k=this.data.rules[A],I=k.description,P=k.help;r.rules[A]={description:I,help:P};}for(var q=Object.keys(this.data.failureSummaries),B=0;B<q.length;B++){var z=q[B],G=this.data.failureSummaries[z],U=G.failureMessage;r.failureSummaries[z]={failureMessage:U};}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]=UF(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]=WF(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]=XF(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=YF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=V1();this.allowedOrigins=[];var a=Ke(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===je.allOrigins){this.allowedOrigins=["*"];return}else o!==je.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=GF(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,j1(r.rules,this,"addRule"),j1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new Xt(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;oe(n)==="object"&&(this.data.checks[r.id]=n,oe(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 q1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),sr.setRunOptions(n),m._selectCache=[];var o=KF(this.rules,r,n),s=o.now,l=o.later,u=_r();s.forEach(function(y){u.defer($1(y,r,n));});var c=_r();l.length&&c.defer(function(y){mm(n).then(function(A){return y(A)}).catch(function(A){console.warn("Couldn't load preload assets: ",A),y(void 0);});});var p=_r();p.defer(u),p.defer(c),p.then(function(y){var A=y.pop();if(A&&A.length){var k=A[0];k&&(r=Ie({},r,k));}var I=y[0];if(!l.length){m._selectCache=void 0,a(I.filter(function(q){return !!q}));return}var P=_r();l.forEach(function(q){var B=$1(q,r,n);P.defer(B);}),P.then(function(q){m._selectCache=void 0,a(I.concat(q).filter(function(B){return !!B}));}).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=ba(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 z1(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(oe(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 oe(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===G1(n,i.id,a))&&(o.helpUrl=G1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),H1=zF;function V1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function GF(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=V1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Ie({checks:{},rules:{}},t.data),t}function j1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var UF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Hn.test(n)&&(n=zr.default.compile(n)),typeof a=="string"&&Hn.test(a)&&(a=zr.default.compile(a)),Ie({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:oe(t.messages.incomplete)==="object"?Ie({},t.messages.incomplete,r.incomplete):r.incomplete}})},WF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Hn.test(n)&&(n=zr.default.compile(n)),typeof a=="string"&&Hn.test(a)&&(a=zr.default.compile(a)),Ie({},t,{help:n||t.help,description:a||t.description})},XF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Hn.test(n)&&(n=zr.default.compile(n)),Ie({},t,{failureMessage:n||t.failureMessage})},YF=function(t,r){return typeof r=="string"&&Hn.test(r)&&(r=zr.default.compile(r)),r||t};function KF(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return ym(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function $1(e,t,r){return r.performanceTimer&&tt.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(z1(e,i));});}}function z1(e,t){var r=t.errorNode,n=go(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new sr(h.documentElement);return Object.assign(new To(e),{error:n,result:je.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function G1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return je.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function U1(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||(Ve.set("globalDocumentSet",true),h=e.ownerDocument),t||(Ve.set("globalWindowSet",true),d=h.defaultView);}}function JF(){Ve.get("globalDocumentSet")&&(Ve.set("globalDocumentSet",false),h=null),Ve.get("globalWindowSet")&&(Ve.set("globalWindowSet",false),d=null);}function ZF(){JF(),m._memoizedFns.forEach(function(e){return e.clear()}),Ve.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var nn=ZF;function W1(e,t,r,n){try{e=new fo(e),m._tree=e.flatTree,m._selectorData=Ii(e.flatTree);}catch(o){return nn(),n(o)}var a=_r(),i=m._audit;t.performanceTimer&&tt.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){af(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&tt.auditEnd();var s=Hi(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(ho),s=s.map(Qn));try{r(s,nn);}catch(l){nn(),fn(l);}}catch(l){nn(),n(l);}}).catch(function(o){nn(),n(o);});}function QF(e){m._audit=new H1(e);}function e3(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 W1(i,o,function(s,l){s=lr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return km(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&&(vr.subscribe("axe.start",e3),vr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Va(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}Va.prototype.run=function(){return this._run.apply(this,arguments)},Va.prototype.collect=function(){return this._collect.apply(this,arguments)},Va.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);},Va.prototype.add=function(t){this._registry[t.id]=t;};function t3(e){m.plugins[e.id]=new Va(e);}var r3=t3;function n3(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),DD();}var a3=n3;function i3(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 Ft||(t=new Sm(t));var n=em(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);ho(i),Qn(i);var o=hc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Tl(l);})}),Ie({},tn(),o,{toolOptions:r})}function X1(e){var t,r,n,a=ve(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!am(i)){if(s!==void 0)throw l;s=o,o=i,i=h;}if(oe(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:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var uu=function(){};function o3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];U1(t[0]);var n=X1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?uu:o,l=s3(s),u=l.thenable,c=l.resolve,p=l.reject;try{Qe(m._audit,"No audit configured"),Qe(!m._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 u3(k,s)}m._running=true,i.performanceTimer&&tt.start();function y(k,I){var P=function(z){i.performanceTimer&&(tt.mark("reporterEnd"),tt.measure("reporter","reporterStart","reporterEnd"),tt.logMeasures("reporter"),tt.end()),m._running=false,I();try{c(z);}catch(G){m.log(G);}},q=function(z){m._running=false,I();try{p(z);}catch(G){m.log(G);}};try{i.performanceTimer&&tt.mark("reporterStart"),l3(k,i,P,q);}catch(B){q(B);}}function A(k){i.performanceTimer&&tt.end(),m._running=false,s(k),p(k);}return m._runRules(a,i,y,A),u}function s3(e){var t,r,n;return typeof Promise=="function"&&e===uu?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 l3(e,t,r,n){var a=zl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function u3(e,t){if(typeof t=="function"&&t!==uu){t(e.message);return}throw e}function c3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=X1(t),a=n.options,i=n.context;Qe(m._audit,"Axe is not configured. Audit is missing."),Qe(!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 fo(i,m._tree);return m._tree=o.flatTree,m._selectorData=Ii(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,l){m._audit.run(o,a,s,l);}).then(function(s){s=lr.mapRawResults(s);var l=o.frames.map(function(c){var p=c.node;return lr.toSpec(p)}),u;return o.initiator&&(u=tn()),m._running=false,nn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return m._running=false,nn(),Promise.reject(s)})}function d3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Mr(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",f3(e);var s=Hi(e);return s=m._audit.after(s,a),s.forEach(ho),s=s.map(Qn),m3(s,Ie({environmentData:o},a))}function f3(e){var t=[],r=Ke(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=p3(a);t.unshift.apply(t,Te(o));}}}catch(s){r.e(s);}finally{r.f();}}function p3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return lr.mergeSpecs(n,r)}):t}function m3(e,t){return new Promise(function(r,n){var a=zl(t.reporter);a(e,t,r,n);})}function h3(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&oe(e.documentElement)==="object"&&oe(e.defaultView)==="object"&&(e=e.documentElement),U1(e),m._tree=Sl(e),m._selectorData=Ii(m._tree),m._tree[0]}var g3=h3,v3=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=ie(a,$);n(Ie({},tn(i),{toolOptions:o},La(t,r)));},b3=v3,y3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ie(a,V);r.resultTypes=["violations"];var s=La(t,r),l=s.violations;n(Ie({},tn(i),{toolOptions:o,violations:l}));},w3=y3,x3=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=Ie({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=lr.mapRawNodeResults(o[c]);}return o});n(a);},Y1=x3,D3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ie(a,M);Y1(t,o,function(s){var l=tn(i);n({raw:s,env:l});});},_3=D3,A3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ie(a,N),s=La(t,r),l=function(c){c.nodes.forEach(function(p){p.failureSummary=Tl(p);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Ie({},tn(i),{toolOptions:o},s));},E3=A3,C3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=ie(a,W),s=La(t,r);n(Ie({},tn(i),{toolOptions:o},s));},S3=C3,k3={base:{Audit:H1,CheckResult:su,Check:q1,Context:fo,RuleResult:To,Rule:Xt,metadataFunctionMap:ko},public:{reporters:Ma},helpers:{failureSummary:Tl,incompleteFallbackMessage:Rl,processAggregate:La},utils:{setDefaultFrameMessenger:Zd,cacheNodeSelectors:Up,getNodesMatchingExpression:zp,convertSelector:Pi},commons:{dom:{nativelyHidden:uf,displayHidden:cf,visibilityHidden:df,contentVisibiltyHidden:ff,ariaHidden:pf,opacityHidden:mf,scrollHidden:hf,overflowHidden:gf,clipHidden:vf,areaHidden:js,detailsHidden:bf}}},T3=k3;m._thisWillBeDeletedDoNotUse=T3,m.constants=je,m.log=fn,m.AbstractVirtualNode=Ft,m.SerialVirtualNode=Sm,m.VirtualNode=Al,m._cache=Ve,m.imports=yc,m.cleanup=km,m.configure=nE,m.frameMessenger=aE,m.getRules=oE,m._load=QF,m.plugins={},m.registerPlugin=r3,m.hasReporter=Rm,m.getReporter=zl,m.addReporter=tE,m.reset=a3,m._runRules=W1,m.runVirtualRule=i3,m.run=o3,m.setup=g3,m.teardown=nn,m.runPartial=c3,m.finishRun=d3,m.commons=Zm,m.utils=Jo,m.addReporter("na",b3),m.addReporter("no-passes",w3),m.addReporter("rawEnv",_3),m.addReporter("raw",Y1),m.addReporter("v1",E3),m.addReporter("v2",S3,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(te){var de="Fix any of the following:",_e=te;if(_e)for(var it,Dt=-1,Ot=_e.length-1;Dt<Ot;)it=_e[Dt+=1],de+=`
|
|
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
|
|
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 de}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:dg);});function gg(f,d){return d==="AAA"&&!f.includes("wcag2aaa")?[...f,"wcag2aaa"]:f}function Ga(f){return fL[f]??"AA"}function pL(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[Ga(h)]<za[g]&&(g=Ga(h));return g}function Ua(f,d="AA"){let g=za[d]??za.AA;return f.filter(h=>za[pL(h)]<=g)}function vg(f){let d=mL.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",g=f.attribute==="style",h=f.attribute.startsWith("data-"),m=g&&f.fixValue?hL(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Xa(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:Ga(f.wcag),impact:d,message:gL(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 hL(f){let d=f.trim();if(!d)return "";let g=d.endsWith(";"),m=d.split(";").map(w=>{let b=w.toLowerCase().lastIndexOf("!important");return b===-1?w.trim():w.slice(0,b).trim()}).filter(w=>w.length>0);return m.length===0?"":m.join(";")+(g?";":"")}function gL(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}`:`${h}: flagged for manual review`:m?`${h}: set ${f.attribute}="${m}"`:f.currentValue?`${h}: ${f.attribute} is "${f.currentValue}"`:`${h}: missing ${f.attribute}`}function Wa(f){return Array.isArray(f)?f.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof f=="string"?f:""}function Xa(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 yu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function wu(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 xu(f){let d=f.find(h=>/^wcag\d{3,4}$/.test(h));if(!d)return "";let g=d.replace("wcag","");return g.length===3?`${g[0]}.${g[1]}.${g[2]}`:g.length===4?`${g[0]}.${g[1]}.${g.slice(2)}`:""}function Du(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}var bu,fL,za,mL,Lo=Fr(()=>{bu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];fL={"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"};za={A:1,AA:2,AAA:3};mL=new Set(["new_window_link","external_link_warning","download_link_warning"]);});var Ig={};Vr(Ig,{dismissModals:()=>KL});async function KL(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}}},YL),await new Promise(d=>setTimeout(d,500));}var YL,Lg=Fr(()=>{YL=['[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 Mo={};Vr(Mo,{pruneHiddenIframeIssues:()=>eP,pruneInvisibleContrast:()=>QL,waitForRenderSettle:()=>JL});async function JL(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 w=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let C of w){if(C.playState!=="running")continue;let x;try{x=C.effect?.getComputedTiming?.().iterations;}catch{x=void 0;}x!==1/0&&v++;}let b="",D=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],T=Math.min(D.length,50);for(let C=0;C<T;C++)b+=getComputedStyle(D[C]).opacity+",";return v+"|"+b});}catch{return}if(m.indexOf("0|")===0&&m===h)return;h=m,await new Promise(w=>setTimeout(w,150));}}function Pg(f){return ZL.has(f.wcag)||/contrast/i.test(f.type||"")}async function QL(f,d){let g=Array.from(new Set(d.filter(v=>Pg(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 b=[],D={},T=Math.max(document.documentElement.scrollWidth,window.innerWidth),C=Math.max(document.documentElement.scrollHeight,window.innerHeight),x=R=>{let E=R.match(/rgba?\(([^)]+)\)/);if(!E)return !1;let _=E[1].split(/[ ,/]+/).filter(Boolean);return _.length<4||parseFloat(_[3])>=.95};for(let R of v){let E=null;try{E=document.querySelector(R);}catch{continue}if(!E)continue;let _=getComputedStyle(E),S=E.getBoundingClientRect(),F=_.clipPath&&_.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(_.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(_.clip||""),L=S.width<=1||S.height<=1,O=window.scrollX,H=window.scrollY,$=S.right+O<=0||S.bottom+H<=0||S.left+O>=T||S.top+H>=C,V=!1;if($)for(let ae=E.parentElement;ae&&ae!==document.body&&ae!==document.documentElement;ae=ae.parentElement){let ge=getComputedStyle(ae);if(ge.overflowX!=="visible"||ge.overflowY!=="visible"||ge.transform&&ge.transform!=="none"){V=!0;break}}if($&&V){D[R]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(F||L||$){b.push(R);continue}let M=E,N=!1;for(;M&&M!==document.documentElement;){if(parseFloat(getComputedStyle(M).opacity)===0){N=!0;break}M=M.parentElement;}if(N){D[R]="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 W=S.left+S.width/2,X=S.top+S.height/2,Z=E,ee=!1;for(let ae=0;Z&&Z!==document.body&&ae<8;ae++){let ge=getComputedStyle(Z);if(x(ge.backgroundColor)||ge.backgroundImage&&ge.backgroundImage!=="none")break;let ie=Z.querySelectorAll("video, canvas, img, picture");for(let Ae=0;Ae<ie.length;Ae++){let me=ie[Ae];if(me.contains(E)||E.contains(me))continue;let we=me.getBoundingClientRect();if(we.width>0&&we.height>0&&W>=we.left&&W<=we.right&&X>=we.top&&X<=we.bottom){ee=!0;break}}if(ee)break;Z=Z.parentElement;}ee&&(D[R]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:b,review:D}},g);}catch{return d}let m=new Set(h.hidden),w=[];for(let v of d){if(!Pg(v)){w.push(v);continue}if(m.has(v.selector))continue;let b=h.review[v.selector];w.push(b&&v.confidence!=="needs_review"?{...v,confidence:"needs_review",reviewReason:b,...v.fix?{fix:{...v.fix,needsManualReview:true}}:{}}:v);}return w}async function eP(f,d){let g=Array.from(new Set(d.filter(w=>w.selector).map(w=>w.selector))).slice(0,200);if(g.length===0)return d;let h;try{h=await f.evaluate(w=>{let v=[];for(let b of w){let D=null;try{D=document.querySelector(b);}catch{continue}if(!D||D.tagName!=="IFRAME")continue;let T=getComputedStyle(D),C=D.getClientRects().length===0||T.visibility==="hidden"||T.visibility==="collapse",x=(D.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(C||x)&&v.push(b);}return v},g);}catch{return d}if(h.length===0)return d;let m=new Set(h);return d.filter(w=>!m.has(w.selector))}var ZL,Oo=Fr(()=>{ZL=new Set(["1.4.3","1.4.6","1.4.11"]);});var qg={};Vr(qg,{htmlcsTypeFromCode:()=>Og,runHtmlcs:()=>rP});async function rP(f,d="WCAG2AA"){try{await f.addScriptTag({content:`
|
|
377
|
-
|
|
378
|
-
window.__htmlcsResults = [];
|
|
379
|
-
`});try{let{UNIQUE_SELECTOR_JS:m}=await Promise.resolve().then(()=>(mu(),pu));await f.addScriptTag({content:`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
380
|
-
`+m});}catch{}let g=f;return g.addScriptTag&&await g.addScriptTag({url:tP}).catch(()=>{}),await new Promise(m=>setTimeout(m,1e3)),(await f.evaluate(m=>new Promise(w=>{let v=window;if(!v.HTMLCS){w([]);return}v.HTMLCS.process(m,document,()=>{let b=v.HTMLCS.getMessages(),D=C=>{let x=C.element;if(!x||!x.getAttribute)return !1;let R=String(C.code||"");if(/NoSuchID/.test(R)){let E=x.getAttribute("href")||"";return /^#[\/!]/.test(E)}if(/\.H30\.2$/.test(R)){let E=x.closest&&x.closest("a")||x;return (E.getAttribute("aria-label")||"").trim()?!0:(E.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).some(S=>((document.getElementById(S)||{}).textContent||"").trim().length>0)}return !1},T=b.filter(C=>C.type===1).filter(C=>!D(C)).slice(0,50).map(C=>{let x="";try{if(C.element&&C.element.tagName){let R=C.element,E=window.uniqueSel;typeof E=="function"?x=E(R):x=R.className&&typeof R.className=="string"&&R.className.trim()?`${R.tagName.toLowerCase()}.${R.className.trim().split(/\s+/)[0]}`:R.tagName.toLowerCase();}}catch{}return {type:C.type,code:C.code||"",msg:C.msg||"",element:C.element?.outerHTML?.slice(0,150)||"",selector:x}});w(T);});}),d)).map((m,w)=>{let v=Ng(m.code);return {id:`htmlcs-${w}-${nP(m.selector)}`,source:"webability",type:Og(m.code),wcag:v,level:Ga(v),impact:"moderate",message:m.msg.slice(0,200),selector:m.selector,html:m.element}})}catch{return []}}function Og(f){let d=Ng(f);if(d&&Mg[d])return Mg[d];let g=f.split("."),h=g.findIndex(v=>/^\d+_\d+_\d+$/.test(v));return (h>=0?g.slice(h+1):g).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function Ng(f){let d=f.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(d)return `${d[3]}.${d[4]}.${d[5]}`;let g=f.match(/(\d+)_(\d+)_(\d+)/);return g?`${g[1]}.${g[2]}.${g[3]}`:""}function nP(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 tP,Mg,Bg=Fr(()=>{Lo();tP="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";Mg={"1.4.3":"contrast_insufficient"};});var Ka={};Vr(Ka,{dedupeByElementIdentity:()=>oP,deduplicateIssues:()=>aP});function aP(f){let d=new Map,g=[...f].sort((h,m)=>{let w={webability:0,"axe-core":1,"deep-analysis":2},v=w[h.source]??3,b=w[m.source]??3;return v-b});for(let h of g){let m=iP(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 iP(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 oP(f,d){if(d.length<2)return d;let g=Array.from(new Set(d.map(T=>T.selector).filter(Boolean))),h;try{h=await f.evaluate(T=>{let C=Array.from(document.querySelectorAll("*")),x=new Map;C.forEach((E,_)=>x.set(E,_));let R={};for(let E of T){let _=null;try{_=document.querySelector(E);}catch{}if(!_){let S=E.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(S!==E)try{_=document.querySelector(S);}catch{}}_&&(R[E]=x.get(_));}return R},g);}catch{return d}let m={webability:0,"axe-core":1,"deep-analysis":2},w=[...d].sort((T,C)=>(m[T.source]??3)-(m[C.source]??3)),v=new Map,b=[];for(let T of w){let C=h[T.selector];if(C===void 0){b.push(T);continue}let x=`${C}::${T.wcag||T.type}`,R=v.get(x);R?!R.fix?.suggestedValue&&T.fix?.suggestedValue&&v.set(x,T):v.set(x,T);}let D=new Set([...v.values(),...b]);return d.filter(T=>D.has(T))}var Ja=Fr(()=>{});var ku={};Vr(ku,{scopeIssuesToRoot:()=>sP});async function sP(f,d,g){let h=Array.from(new Set(d.map(w=>w.selector).filter(Boolean))),m;try{m=await f.evaluate(({rootSel:w,sels:v})=>{let b=C=>{try{let R=document.querySelector(C);if(R)return R}catch{}let x=C.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(x!==C)try{return document.querySelector(x)}catch{return null}return null},D=null;try{D=document.querySelector(w);}catch{return {invalid:!0,matched:!1,within:{}}}if(!D)return {invalid:!1,matched:!1,within:{}};let T={};for(let C of v){let x=b(C);T[C]=x?x===D||D.contains(x):!0;}return {invalid:!1,matched:!0,within:T}},{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(w=>w.selector?m.within[w.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var Tu=Fr(()=>{});var Fo={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var q3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=new Set;function m(b){let D=(b.textContent||"").trim().replace(/\s+/g,""),T=b.querySelector("img, svg, picture")!==null,C=b.querySelector("i[class], span[class]")!==null;if(D.length>0&&!T&&!C)return false;if(T){let x=b.querySelectorAll("img"),R="";x.forEach(S=>{R+=(S.getAttribute("alt")||"").trim();});let E=D.replace(/\s+/g,""),_=R.replace(/\s+/g,"");return E===""||E===_}return false}function w(b){let D=b.nextElementSibling;for(;D;){if(isVisible(D))return D;D=D.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(b=>{if(g.length>=50||b.closest(f)||!isVisible(b)||h.has(b))return;let D=b.getAttribute("href");if(!D||D==="#")return;let T=w(b);if(!T||T.tagName!=="A"||T.getAttribute("href")!==D||h.has(T)||b.getAttribute("aria-hidden")==="true"||T.getAttribute("aria-hidden")==="true")return;let x=m(b),R=m(T);if(!x&&!R)return;let E=x?b:T,_=x?T:b;h.add(E),h.add(_);let S=uniqueSel(E),F=E.outerHTML.slice(0,300),L=(_.textContent||"").trim().slice(0,80);g.push({selector:S,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:D,imageLink:true,adjacentLinkText:L,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:F}),g.push({selector:S,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:D}),needsAI:false,fixValue:"-1",outerHtml:F});}),g},K1={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(q3)}};var B3=()=>{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,w=[],v=new Set;function b(C){let x=C,R=0;for(;x&&x.nodeType===1&&x!==document.body&&R<20;){try{let E=getComputedStyle(x);if(E.display==="none"||E.visibility==="hidden"||E.visibility==="collapse")return !0}catch{}x=x.parentElement,R++;}return false}function D(C){let x=C.tagName,R=C.getAttribute("tabindex");if(R!==null){let E=parseInt(R,10);if(!isNaN(E)&&E>=0)return true;if(!isNaN(E)&&E<0)return false}return h.has(x)?!(x==="A"&&!C.hasAttribute("href")||C.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(C=>{if(w.length>=m||C.closest(f)||C.closest(d)||C.closest(g)||C.matches(g))return;let x=[];if(D(C)&&x.push(C),C.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(E=>{D(E)&&x.push(E);}),x.length!==0)for(let E of x){if(w.length>=m)return;let _=uniqueSel(E),S=_+"\0tabindex";if(v.has(S))continue;v.add(S);let F=b(E);w.push({selector:_,attribute:"tabindex",currentValue:E.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),parentHidden:C.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)});}}),w},J1={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(B3)}};var H3=()=>{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 w(v){if(!(v.textContent||"").trim())return true;let D=getComputedStyle(v);return !!(D.display==="none"||D.visibility==="hidden"||D.opacity==="0"||D.maxHeight==="0px"||D.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 b=document.querySelectorAll("*");for(let D of b){if(g.length>=50)break;if(h.has(D)||D.closest(f))continue;let T=D.className&&typeof D.className=="string"?D.className:"",C=D.getAttribute("id")||"";if(!v.regex.test(T)&&!v.regex.test(C)||D.getAttribute("aria-live"))continue;let x=D.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(x)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(T+" "+C)&&!w(D))continue;h.add(D);let E=uniqueSel(D),_=v.regex.test(T)?"class":"id",S=_==="class"?T.slice(0,60):C;g.push({selector:E,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:_+": "+S+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return g},Z1={name:"ariaLive",cap:50,async detect(f){return f.evaluate(H3)}};var V3=()=>{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(b=>{if(!(g.length>=50)&&!b.closest(f)&&isVisible(b)&&!isHiddenFromAT(b)&&!b.getAttribute("aria-live")&&!b.closest("[aria-live]")&&!b.closest("template"))for(let D of m){let T=b.getAttribute(D);if(!T||!T.trim())continue;let C=T.trim().split(/\s+/).filter(H=>H.length>0);if(C.length===0||!C.every(H=>!document.getElementById(H)))continue;let R=b.getAttribute("aria-label");if(R&&R.trim())continue;let E=getAccessibleName(b);if(E&&E.trim())continue;let _=uniqueSel(b),S=_+"\0"+D;if(h.has(S))continue;h.add(S);let{nearbyHeading:F,parentTag:L,parentRole:O}=getNearbyContext(b);g.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:b.tagName.toLowerCase(),brokenAttr:D,brokenIds:C,nearbyHeading:F,parentTag:L,parentRole:O,suggestion:`All IDs in ${D}="${T}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}}),g},Q1={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(V3)}};var j3=()=>{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 w=m;if(isWidget(w)||w.hasAttribute("type")||!w.closest("form"))continue;let v=(w.textContent||"").trim().slice(0,60),b=(w.getAttribute("aria-label")||"").trim().slice(0,60),D=v||b||"(no label)",T=D.toLowerCase();g.some(x=>T.includes(x))||d.push({selector:uniqueSel(w),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+D,needsAI:false,fixValue:"button",outerHtml:(w.outerHTML||"").slice(0,300)});}return d},eh={name:"buttonType",cap:50,async detect(f){return f.evaluate(j3)}};var $3=()=>{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 S=h.hasAttribute("muted")||h.muted,F=h.hasAttribute("controls"),L=h.hasAttribute("loop")||h.loop,O=/mute|unmute|sound|volume|audio|play|pause/i,H=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.id&&!!document.querySelector('[aria-controls~="'+h.id.replace(/"/g,"")+'"]');for(let $=h.parentElement?.parentElement||null,V=0;$&&!H&&V<3;$=$.parentElement,V++)H=Array.from($.querySelectorAll('button, [role="button"]')).some(M=>O.test((M.getAttribute("aria-label")||"")+" "+(M.getAttribute("title")||"")+" "+(M.textContent||"")));if(S&&L&&!F&&!H)continue}let w=h.querySelectorAll("track"),v=false;for(let S of Array.from(w)){let F=(S.getAttribute("kind")||"").toLowerCase();if(F==="captions"||F==="subtitles"){v=true;break}}if(v)continue;let b=h.currentSrc||h.getAttribute("src")||"";if(b||(b=h.querySelector("source")?.getAttribute("src")||""),!b)continue;let D=b.toLowerCase();if(D.startsWith("blob:")||D.startsWith("data:")||D.startsWith("about:")||D.startsWith("javascript:")||D.endsWith(".m3u8")||D.includes(".m3u8?")||D.endsWith(".mpd")||D.includes(".mpd?"))continue;let T=b;try{T=new URL(b,location.href).toString();}catch{continue}let C=typeof uniqueSel=="function"?uniqueSel(h):"",x=h.getAttribute("title")||h.getAttribute("aria-label")||"",R=typeof getNearbyContext=="function"?getNearbyContext(h):{parentTag:h.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("media: "+h.tagName.toLowerCase()),E.push("src: "+T.slice(0,200)),x&&E.push("title: "+x.slice(0,80)),R.nearbyHeading&&E.push("heading: "+R.nearbyHeading),E.push("parent: "+R.parentTag);let _=m;d.push({selector:C,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:E.join(" | "),needsAI:true,..._?{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:T,outerHtml:(h.outerHTML||"").slice(0,300)});}return d},th={name:"captions",cap:20,async detect(f){return f.evaluate($3)}};var z3=()=>{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]");for(let w of Array.from(m)){if(g.length>=40)break;if(w.closest(f)||w.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(w))continue;let v=w.closest(h);if(!v)continue;let b=(v.textContent||"").trim(),D=(w.textContent||"").trim();if(!D||b.length<D.length+20||w.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let T=getComputedStyle(w),C=getComputedStyle(v);if((T.textDecorationLine||T.textDecoration||"").includes("underline")||(()=>{let H=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),$,V=false;for(;$=H.nextNode();){if(!/[\p{L}\p{N}]/u.test($.textContent||""))continue;V=true;let M=false;for(let N=$.parentElement;N&&N!==w;N=N.parentElement){let W=getComputedStyle(N),X=(W.textDecorationColor||"").replace(/\s/g,"");if((W.textDecorationLine||"").includes("underline")&&X!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(X)){M=true;break}let Z=(W.borderBottomColor||"").replace(/\s/g,""),ee=Z==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(Z);if((W.borderBottomStyle||"none")!=="none"&&parseFloat(W.borderBottomWidth||"0")>0&&!ee){M=true;break}}if(!M)return false}return V})())continue;let E=parseInt(T.fontWeight||"400",10),_=parseInt(C.fontWeight||"400",10);if(Number.isFinite(E)&&Number.isFinite(_)&&E-_>=300||(T.borderBottomStyle||"none")!=="none"&&(T.borderBottomWidth||"0px")!=="0px"||T.color===C.color)continue;let F=typeof uniqueSel=="function"?uniqueSel(w):"",L=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},O=[];O.push("link: "+D.slice(0,40)),O.push("color: "+T.color),O.push("parent-color: "+C.color),L.nearbyHeading&&O.push("heading: "+L.nearbyHeading),O.push("parent: "+L.parentTag),g.push({selector:F,attribute:"style",currentValue:T.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:O.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(w.outerHTML||"").slice(0,300)});}return g},rh={name:"colorOnly",cap:40,async detect(f){return f.evaluate(z3)}};var G3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(h).forEach(w=>{if(g.length>=30||w.closest(f)||typeof isVisible=="function"&&!isVisible(w)||w.getAttribute("aria-hidden")==="true"||w.disabled||w.getAttribute("type")==="hidden"||(w.getAttribute("aria-label")||"").trim())return;let v=w.getAttribute("aria-labelledby");if(v){let S=false;for(let F of v.split(/\s+/)){let L=document.getElementById(F);if(L&&(L.textContent||"").trim()){S=true;break}}if(S)return}let b=w.getAttribute("id");if(b){let S=document.querySelector('label[for="'+CSS.escape(b)+'"]');if(S&&(S.textContent||"").trim())return}let D=w.closest("label");if(D&&(D.textContent||"").trim()||(w.getAttribute("title")||"").trim())return;let T=typeof uniqueSel=="function"?uniqueSel(w):"",C=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},x=(w.getAttribute("placeholder")||"").trim(),R=w.getAttribute("name")||"",E=w.getAttribute("role")||w.tagName.toLowerCase(),_=[];_.push("role: "+E),x&&_.push("placeholder: "+x.slice(0,40)),R&&_.push("name: "+R),C.nearbyHeading&&_.push("heading: "+C.nearbyHeading),_.push("parent: "+C.parentTag),g.push({selector:T,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:_.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}),g},nh={name:"comboboxName",cap:30,async detect(f){return f.evaluate(G3)}};var U3=()=>{let d=[],g=_=>typeof parseCssColor=="function"?parseCssColor(_):null,h=(_,S,F)=>typeof relLuminance=="function"?relLuminance(_,S,F):0,m=(_,S)=>typeof contrastRatio=="function"?contrastRatio(_,S):1;function w(_){let S=String(_.backgroundImage||"none");if(S==="none")return false;if(/gradient\(/i.test(S))return true;if(!/url\(/i.test(S))return false;let F=String(_.backgroundRepeat||"").toLowerCase(),L=String(_.backgroundSize||"").toLowerCase(),O=F.split(",").map($=>$.trim()).some($=>$!==""&&$!=="no-repeat"),H=/cover|contain|100%/.test(L);return O||H}function v(_){let S=document.documentElement,F=_,L=0;for(;F&&F!==S&&L<12;){let M=getComputedStyle(F);if(w(M))return null;let N=g(M.backgroundColor||"");if(N&&N[3]>.5)return [N[0],N[1],N[2]];F=F.parentElement,L++;}let O=document.body;if(F&&F!==S&&O&&O.contains(F)){let M=getComputedStyle(O);if(w(M))return null;let N=g(M.backgroundColor||"");if(N&&N[3]>.5)return [N[0],N[1],N[2]]}let H=getComputedStyle(S);if(w(H))return null;let $=g(H.backgroundColor||""),V=$?Math.min($[3],1):0;return !$||V<=0?[255,255,255]:[Math.round($[0]*V+255*(1-V)),Math.round($[1]*V+255*(1-V)),Math.round($[2]*V+255*(1-V))]}function b(_,S,F){return "#"+[_,S,F].map(L=>{let O=Math.max(0,Math.min(255,Math.round(L))).toString(16);return O.length===1?"0"+O:O}).join("")}function D(_,S,F){let L=h(S[0],S[1],S[2])>.5;return T(_,S,F,L)||T(_,S,F,!L)}function T(_,S,F,L){let O=0,H=1,$=null;for(let V=0;V<20;V++){let M=(O+H)/2,N=L?[_[0]*(1-M),_[1]*(1-M),_[2]*(1-M)]:[_[0]+(255-_[0])*M,_[1]+(255-_[1])*M,_[2]+(255-_[2])*M],W=[Math.round(N[0]),Math.round(N[1]),Math.round(N[2])];m(W,S)>=F?($=W,H=M):O=M;}return $}let C=document.createTreeWalker(document.body,4),x=new Set,R=[],E=C.nextNode();for(;E;){if((E.textContent||"").trim().length>=2){let S=E.parentElement;S&&!x.has(S)&&(x.add(S),R.push(S));}E=C.nextNode();}for(let _ of R){if(d.length>=30)break;if(isWidget(_)||isHiddenFromAT(_)||!isVisible(_))continue;let S=getComputedStyle(_),F=g(S.color||"");if(!F)continue;if(F[3]<.5){let ie=S.webkitBackgroundClip||S.backgroundClip||"",Ae=S.backgroundImage||"";if(String(ie).includes("text")&&/gradient\(/i.test(Ae)){let me=Array.from(_.childNodes).filter(we=>we.nodeType===3).map(we=>(we.textContent||"").trim()).join("");me&&d.push({selector:uniqueSel(_),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:_.outerHTML.slice(0,200)});}continue}let L=v(_),O=parseFloat(S.fontSize||"16"),H=parseInt(S.fontWeight||"400",10),V=O>=24||O>=18.66&&H>=700?3:4.5,M=Array.from(_.childNodes).filter(ie=>ie.nodeType===3).map(ie=>(ie.textContent||"").trim()).join("");if(!M)continue;let N=b(F[0],F[1],F[2]),W=uniqueSel(_);if(L===null){d.push({selector:W,attribute:"style",currentValue:N,message:"contrast: text "+N+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+V+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+N+" bg=<gradient-or-image> needs="+V+" text="+JSON.stringify(M.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:_.outerHTML.slice(0,200)});continue}let X=m([F[0],F[1],F[2]],L);if(X>=V)continue;let Z=D([F[0],F[1],F[2]],L,V);if(!Z)continue;let ee=b(Z[0],Z[1],Z[2]),ae=b(L[0],L[1],L[2]),ge="color:"+ee+" !important;";d.push({selector:W,attribute:"style",currentValue:N,message:"contrast: "+N+" on "+ae+" is "+X.toFixed(2)+":1, needs "+V+":1 \u2014 e.g. color "+ee,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+N+" bg="+ae+" ratio="+X.toFixed(2)+" needs="+V+" text="+JSON.stringify(M.slice(0,40)),needsAI:false,fixValue:ge,outerHtml:_.outerHTML.slice(0,200)});}return d},ah={name:"contrast",cap:30,async detect(f){return f.evaluate(U3)}};var W3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=document.querySelectorAll("marquee, blink");for(let D of Array.from(h)){if(g.length>=30)break;if(D.closest(f))continue;let T=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();g.push({selector:T,attribute:"aria-hidden",currentValue:D.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${D.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(D.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let D of Array.from(m)){if(g.length>=30)break;if(D.closest(f))continue;let T=D.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(T)||typeof isVisible=="function"&&!isVisible(D))continue;let C=D.getBoundingClientRect();if(C.width<=40&&C.height<=40)continue;let x=typeof uniqueSel=="function"?uniqueSel(D):"img";g.push({selector:x,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${T.split("/").pop()?.slice(0,60)||T.slice(-60)}`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let D of Array.from(w)){if(g.length>=30)break;let T=(D.getAttribute("content")||"").trim(),C=parseInt((T.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(C)||C<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${T.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:T,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${C}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(D.outerHTML||"").slice(0,200)});}try{let D=!1,T=!1;for(let C of Array.from(document.styleSheets)){let x=null;try{x=C.cssRules;}catch{continue}if(x)for(let R of Array.from(x)){let E=R.cssText||"";if(/animation[^;]*\binfinite\b/i.test(E)&&/(keyframes|animation-name)/i.test(E+" "+(R.name||""))&&(D=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(E)&&(T=!0),R.cssRules)for(let _ of Array.from(R.cssRules)){let S=_.cssText||"";/animation[^;]*\binfinite\b/i.test(S)&&(D=!0);}}}D&&!T&&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,b=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let D of Array.from(b)){if(g.length>=30)break;if(D.closest(f)||D.tagName==="BODY"||D.tagName==="HTML")continue;let T=D.className&&typeof D.className=="string"?D.className:"";if(!v.test(T)||typeof isVisible=="function"&&!isVisible(D))continue;let x=getComputedStyle(D).animationDuration,R=9999;if(x){let _=parseFloat(x);Number.isFinite(_)&&(R=/ms/i.test(x)?_:_*1e3);}if(R>333)continue;let E=typeof uniqueSel=="function"?uniqueSel(D):"";g.push({selector:E,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${R}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:(D.outerHTML||"").slice(0,300)});}return g},ih={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(W3)}};var X3=()=>{let d=[];function g(v){let b=(v.getAttribute("role")||"").toLowerCase();return b==="presentation"||b==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function h(v){if(!v)return 0;let b=v.querySelectorAll("th, td"),D=0;for(let T=0;T<b.length;T++){let C=parseInt(b[T].getAttribute("colspan")||"1",10);D+=isNaN(C)||C<1?1:C;}return D}function m(v){let b=v.querySelectorAll("tr"),D=[];for(let T=0;T<b.length;T++){let C=b[T];C.closest("table")===v&&D.push(C);}return D}let w=document.querySelectorAll("table");for(let v=0;v<w.length&&!(d.length>=30);v++){let b=w[v];if(isWidget(b)||!isVisible(b)||g(b))continue;let D=m(b);if(D.length<=1)continue;let T=D[0],C=h(T);if(C<=1)continue;let x=uniqueSel(b),R=getNearbyContext(b),E=b.querySelectorAll("img, svg, picture").length>=2;if(E&&!(b.textContent||"").trim()){if(b.querySelector("input, select, textarea, button")&&(E=false),E&&b.querySelector("th, thead, caption, [scope], [headers]")&&(E=false),E){let Z=Array.from(b.querySelectorAll("img")).map(ee=>(ee.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(Z).size<Z.length&&(E=false);}}else if(E){let Z=b.querySelectorAll("td, th"),ee=0;for(let ae=0;ae<Z.length&&E;ae++){let ge=Z[ae];if(ge.closest("table")!==b)continue;let ie=(ge.textContent||"").trim(),Ae=!!ge.querySelector("img, svg, picture");if(!ie&&!Ae)continue;ee++;let me=ge.querySelectorAll("a[href]");E=ge.tagName==="TD"&&me.length===1&&Ae&&(me[0].textContent||"").trim()===ie;}ee<2&&(E=false);}if(E){d.push({selector:x,attribute:"role",currentValue:b.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:D.length,cols:C,nearbyHeading:R.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:(b.outerHTML||"").slice(0,300)});continue}let _=null,S=b.querySelectorAll("caption");for(let Z=0;Z<S.length;Z++)if(S[Z].closest("table")===b){_=S[Z];break}let F=_?(_.textContent||"").trim():"",L=(b.getAttribute("aria-label")||"").trim(),O=(b.getAttribute("title")||"").trim(),H=b.getAttribute("aria-labelledby"),$="";if(H){let Z=H.split(/\s+/);for(let ee=0;ee<Z.length;ee++){let ae=document.getElementById(Z[ee]);ae&&($+=" "+(ae.textContent||""));}$=$.trim();}(!_||!F)&&!(L||$||O)&&d.length<30&&d.push({selector:x,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:_?"empty <caption>":"no <caption> element",rows:D.length,cols:C,nearbyHeading:R.nearbyHeading,parentTag:R.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});let M=null,N=b.querySelectorAll("thead");for(let Z=0;Z<N.length;Z++)if(N[Z].closest("table")===b){M=N[Z];break}if(M&&M.querySelector("tr")!==null||d.length<30&&d.push({selector:x,attribute:"thead",currentValue:M?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:M?"<thead> has no <tr>":"no <thead> element",rows:D.length,cols:C,nearbyHeading:R.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(b.outerHTML||"").slice(0,300)}),C>2){let Z=T.querySelectorAll("th, td"),ee=Z.length>0;for(let ae=0;ae<Z.length;ae++)if((Z[ae].tagName||"").toLowerCase()!=="td"){ee=false;break}if(ee)for(let ae=0;ae<Z.length&&!(d.length>=30);ae++){let ge=Z[ae],ie=uniqueSel(ge),Ae=(ge.textContent||"").trim().slice(0,60);d.push({selector:ie,attribute:"role",currentValue:ge.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:Ae,colIndex:ae,nearbyHeading:R.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(ge.outerHTML||"").slice(0,300)});}}let X=b.querySelectorAll("th");for(let Z=0;Z<X.length&&!(d.length>=30);Z++){let ee=X[Z];if(ee.closest("table")!==b)continue;let ae=(ee.getAttribute("scope")||"").trim().toLowerCase();if(ae==="col"||ae==="row"||ae==="colgroup"||ae==="rowgroup")continue;let ge=ee.closest("tr"),ie=ee.closest("thead")!==null,Ae=false;ge&&D.length>0&&D[0]===ge&&(Ae=true);let me=false;if(ge){let He=ge.querySelectorAll("th, td");He.length>0&&He[0]===ee&&(me=true);}let we="col";ie||Ae?we="col":me&&(we="row");let We=uniqueSel(ee),Xe=(ee.textContent||"").trim().slice(0,60);d.push({selector:We,attribute:"scope",currentValue:ae,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:we,inThead:ie,firstRow:Ae,firstCol:me,headerText:Xe}),needsAI:false,fixValue:we,outerHtml:(ee.outerHTML||"").slice(0,300)});}}return d},oh={name:"dataTables",cap:30,async detect(f){return f.evaluate(X3)}};var Y3=()=>{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=E=>{try{return !!(E.querySelector&&E.querySelector(h))}catch{return false}},w=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],b=["spinner","loading","spin","loader","pulse"],D=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let E of D){if(g.length>=50)break;if(E.closest(f)||isHiddenFromAT(E)||!isVisible(E))continue;let _=E.className&&typeof E.className=="string"?E.className.toLowerCase():"";if(!_.split(/\s+/).filter(Boolean).some($=>w.has($)||v.some(V=>$.startsWith(V)))||E.closest(h)||m(E)||Array.from(E.children).some($=>/[\p{L}\p{N}]/u.test($.textContent||"")))continue;let O=b.some($=>_.includes($)),H=uniqueSel(E);g.push({selector:H,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:O?"spinner/loader icon":"icon classes: "+_.slice(0,80),needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let T=document.querySelectorAll("svg");for(let E of T){if(g.length>=50)break;if(E.closest(f)||isHiddenFromAT(E)||!isVisible(E)||E.closest(h)||m(E))continue;let _=E.getAttribute("aria-label")||"",S=E.getAttribute("aria-labelledby")||"",F=E.querySelector("title"),L=F?(F.textContent||"").trim():"",O=E.getAttribute("role");if(_.trim()||S.trim()||L||O==="img")continue;let H=E.getBoundingClientRect(),$=H.width<=16&&H.height<=16,V=E.parentElement?(E.parentElement.textContent||"").trim().replace(/\s+/g," "):"",M=H.width<=4||H.height<=4,N=E.getAttribute("preserveAspectRatio")==="none";if(!$&&V.length<=3&&!M&&!N)continue;let W=uniqueSel(E);g.push({selector:W,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 C=E=>E.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(E),x=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let E of x){if(g.length>=50)break;if(E.closest(f)||isHiddenFromAT(E))continue;let _=E.tagName.toLowerCase();if(!(_==="a"||_==="button"||_==="input"||_==="select"||_==="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(C),O=E.getAttribute("aria-disabled")==="true",H=getComputedStyle(E).pointerEvents==="none";if(!O&&!(L&&H))continue;let $=E.getAttribute("tabindex")!=="-1"||m(E),V=uniqueSel(E);g.push({selector:V,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",...$?{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 R=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let E of R){if(g.length>=50)break;if(E.closest(f)||isHiddenFromAT(E))continue;let _=E.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(_.length===0)continue;let S=uniqueSel(E);g.push({selector:S,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+_.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+_.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 g},sh={name:"decorativeIcons",cap:50,async detect(f){return f.evaluate(Y3)}};var K3=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=new Map,m=document.querySelectorAll("[id]");for(let w of m){if(w.closest(f))continue;let v=(w.getAttribute("id")||"").trim();if(!v)continue;let b=h.get(v);b?b.push(w):h.set(v,[w]);}for(let[w,v]of h)if(!(v.length<=1)){if(g.length<50){let b=v[0];g.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"id",currentValue:w,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+w+'" 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:(b.outerHTML||"").slice(0,300)});}for(let b=1;b<v.length&&!(g.length>=50);b++){let D=v[b],T=b+1,C=w+"-"+T,x=D.tagName.toLowerCase(),R=D.parentElement,E=x;if(R){let _=Array.from(R.children).filter(F=>F.tagName===D.tagName);if(_.length>1){let F=_.indexOf(D)+1;E=x+":nth-of-type("+F+")";}let S=R.tagName.toLowerCase();if(R.id&&R.id!==w)E="#"+CSS.escape(R.id)+" > "+E;else {let F=R.parentElement;if(F){let L=Array.from(F.children).filter(O=>O.tagName===R.tagName);if(L.length>1){let O=L.indexOf(R)+1;E=S+":nth-of-type("+O+") > "+E;}else E=S+" > "+E;}}}g.push({selector:E,attribute:"id",currentValue:w,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+T+' of id="'+w+'" | tag: <'+x+">",needsAI:false,fixValue:C});}}return g},lh={name:"duplicateIds",cap:50,async detect(f){return f.evaluate(K3)}};var J3=()=>{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=[],w=document.querySelectorAll("a");for(let v of w){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 b=getAccessibleName(v);if(b&&b.length>0&&!g.test(b)&&!d.test(b))continue;let D=v.querySelectorAll("img[alt]"),T="";for(let $ of D){let V=($.getAttribute("alt")||"").trim();V&&(T+=V+" ");}if(T.trim())continue;let C=v.getAttribute("aria-labelledby");if(C&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(C))continue;let x=uniqueSel(v),R=v.getAttribute("href")||"",E=(v.textContent||"").trim(),_=getNearbyContext(v),S="";E&&g.test(E)?S="[whitespace only]":E&&d.test(E)&&(S=E);let F="",L=true;if(R&&R!=="#"&&!R.startsWith("javascript:")){if(R.startsWith("mailto:")){let $=R.slice(7).split("?")[0];$&&$.includes("@")&&(F="Email "+$,L=false);}else if(R.startsWith("tel:")){let $=R.slice(4);try{$=decodeURIComponent($);}catch{}$=$.replace(/^\+/,"").trim(),$&&(F="Call "+$,L=false);}}let O=[];v.closest("nav")&&O.push("inside nav"),_.nearbyHeading&&O.push("heading: "+_.nearbyHeading),R&&O.push("href: "+R.slice(0,120)),O.push("parent: "+_.parentTag);let H={selector:x,attribute:"aria-label",currentValue:S,issueType:"empty_link",wcag:"2.4.4",context:O.join(" | "),needsAI:L,outerHtml:v.outerHTML.slice(0,300)};!L&&F&&(H.fixValue=F),m.push(H);}return m},uh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(J3)}};var Z3=()=>{let d=[],g=new Set;function h(C){return (C||"").trim()}function m(C){let x=h(C.getAttribute("aria-label")||"");if(x)return x;let R=C.getAttribute("aria-labelledby");if(R){let _=R.split(/\s+/),S="";for(let F=0;F<_.length;F++){let L=document.getElementById(_[F]);L&&(S+=" "+(L.textContent||""));}if(h(S))return h(S)}let E=h(C.getAttribute("title")||"");return E||""}let w=document.querySelectorAll("fieldset");for(let C=0;C<w.length&&!(d.length>=30);C++){let x=w[C];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x))continue;if(m(x)){g.add(x);continue}let R=null,E=x.querySelectorAll("legend");for(let H=0;H<E.length;H++)if(E[H].closest("fieldset")===x){R=E[H];break}let _=R!==null,S=R?h(R.textContent||""):"";if(_&&S){g.add(x);continue}let F=getNearbyContext(x),L=x.querySelectorAll("input, select, textarea"),O=uniqueSel(x);d.push({selector:O,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:_?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:L.length,nearbyHeading:F.nearbyHeading,parentTag:F.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)}),g.add(x);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let C=0;C<v.length&&!(d.length>=30);C++){let x=v[C];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x)||g.has(x))continue;if(m(x)){g.add(x);continue}let R=x.getAttribute("role")||"",E=getNearbyContext(x),_=x.querySelectorAll("input, select, textarea");if(R==="group"&&x.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let S=uniqueSel(x);d.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+R+'" container without accessible name',role:R,controlCount:_.length,nearbyHeading:E.nearbyHeading,parentTag:E.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)}),g.add(x);}let b={},D=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let C=0;C<D.length;C++){let x=D[C];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x))continue;let R=x.getAttribute("name")||"";if(!R)continue;let E=x.closest("form"),_=E?E.getAttribute("id")||E.getAttribute("action")||E.tagName:"no-form",S=(x.getAttribute("type")||"").toLowerCase(),F=_+"::"+S+"::"+R;b[F]||(b[F]=[]),b[F].push(x);}let T=Object.keys(b);for(let C=0;C<T.length&&!(d.length>=30);C++){let x=b[T[C]];if(x.length<3)continue;let R=x[0],E=R.closest('fieldset, [role="group"], [role="radiogroup"]'),_=false;if(E){_=true;for(let $=1;$<x.length;$++)if(!E.contains(x[$])){_=false;break}}if(_&&E)continue;let S=R.parentElement;for(;S&&S!==document.body;){let $=true;for(let V=1;V<x.length;V++)if(!S.contains(x[V])){$=false;break}if($)break;S=S.parentElement;}if(!S||S===document.body||g.has(S))continue;let F=(R.getAttribute("type")||"").toLowerCase(),L=R.getAttribute("name")||"",O=getNearbyContext(R),H=uniqueSel(S);d.push({selector:H,attribute:"role",currentValue:S.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+F+" group ("+x.length+' inputs share name="'+L+'")',inputType:F,inputCount:x.length,name:L,nearbyHeading:O.nearbyHeading,parentTag:O.parentTag}),needsAI:false,fixValue:F==="radio"?"radiogroup":"group",outerHtml:(S.outerHTML||"").slice(0,300)}),g.add(S);}return d},ch={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(Z3)}};var Q3=()=>{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 w=h.getBoundingClientRect();if(w.top>50||w.bottom<=0)continue;let v=Math.round(w.height);v<40||v>240||v>g&&(g=v);}if(g>0){let h=window.scrollX,m=window.scrollY,w=0,v=0;try{let D=[],T=new Set;document.querySelectorAll('a[href^="#"]').forEach(C=>{let x=C.getAttribute("href").slice(1);if(!x)return;let R=document.getElementById(x);R&&!T.has(R)&&(T.add(R),D.push(R));});for(let C of D){if(v>=8)break;let x=getComputedStyle(C);if(x.display==="none"||x.visibility==="hidden")continue;v++,C.scrollIntoView({block:"start"});let R=C.getBoundingClientRect(),E=Math.max(R.height,1);Math.max(0,Math.min(R.bottom,g)-Math.max(R.top,0))/Math.min(E,g)>=.5&&w++;}}catch{}try{window.scrollTo(h,m);}catch{}let b=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;v>0&&w>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${w}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:b}):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:b});}return f},dh={name:"focusObscured",async detect(f){return f.evaluate(Q3)}};var fh={name:"focusVisible",cap:40,async detect(f){let d=typeof f.keyboard?.press=="function";if(d)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(g=>{let m=[],w=["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(w),b=document.activeElement;for(let D of v){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(D)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(D)||typeof isVisible=="function"&&!isVisible(D)||!D.offsetParent&&D.tagName!=="BODY")continue;let T=getComputedStyle(D),C=T.outline,x=T.outlineWidth,R=T.outlineStyle,E=T.boxShadow,_=T.border,S=T.backgroundColor;try{D.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==D)continue;let F=getComputedStyle(D),L=F.outline,O=(F.outlineStyle||"").toLowerCase(),H=parseFloat(F.outlineWidth||"0"),$=F.boxShadow,V=F.border,M=F.backgroundColor,N=L!==C,W=O!=="none"&&O!=="hidden"&&H>0;if(N&&W||$!==E&&$!=="none"&&$!==""||V!==_||M!==S||parseFloat(x)>0&&R!=="none")continue;let ge=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();m.push({selector:ge+":focus-visible",attribute:"style",currentValue:R+" "+x,issueType:"focus_not_visible",wcag:"2.4.7",context:`${D.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:D.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{b?b.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return m},d)}};var eI=()=>{let d=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],h=["confirm","verify","retype","re-type","repeat","again"];function m(C){if(!C)return false;let x=" "+((C.id||"")+" "+(C.className||"")+" "+(C.getAttribute("name")||"")+" "+(C.getAttribute("action")||"")).toLowerCase()+" ";for(let R=0;R<g.length;R++)if(x.indexOf(g[R])!==-1)return true;return false}function w(C){let x=((C.getAttribute("name")||"")+" "+(C.getAttribute("id")||"")+" "+(C.getAttribute("placeholder")||"")+" "+(C.getAttribute("aria-label")||"")).toLowerCase();for(let R=0;R<h.length;R++)if(x.indexOf(h[R])!==-1)return true;return false}let v=document.querySelectorAll("input[pattern]");for(let C of v){if(d.length>=30)break;let x=C;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x)||(x.getAttribute("title")||"").trim()||(x.getAttribute("aria-describedby")||"").trim())continue;let _=uniqueSel(x),S=(x.getAttribute("pattern")||"").slice(0,80),F=x.getAttribute("name")||"",L=x.getAttribute("placeholder")||"";d.push({selector:_,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+S+" | name: "+F+" | placeholder: "+L,needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}let b=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let C of b){if(d.length>=30)break;let x=C;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let R=(x.getAttribute("autocomplete")||"").trim().toLowerCase();if(w(x)){if(R==="new-password")continue;let L=uniqueSel(x);d.push({selector:L,attribute:"autocomplete",currentValue:R,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(x.getAttribute("name")||"")+" | id: "+(x.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(x.outerHTML||"").slice(0,300)});continue}if(R)continue;let _=x.form||x.closest("form"),S=m(_),F=uniqueSel(x);d.push({selector:F,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(S?"new/signup/change password form":"login form")+" | name: "+(x.getAttribute("name")||"")+" | id: "+(x.getAttribute("id")||""),needsAI:false,fixValue:S?"new-password":"current-password",outerHtml:(x.outerHTML||"").slice(0,300)});}let D=document.querySelectorAll("form"),T=/\*|\brequired\b|\bmandatory\b/i;for(let C of D){if(d.length>=30)break;let x=C;if(isWidget(x)||!isVisible(x))continue;let R=x.querySelectorAll("input[required], select[required], textarea[required]");if(!R.length)continue;let E=0;for(let O of R)isVisible(O)&&E++;if(E===0)continue;let _=x.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),S=0;for(let O of _)isVisible(O)&&S++;if(E>=S||(x.getAttribute("data-asw-required-hint")||"").trim())continue;let F=(x.textContent||"").trim();if(T.test(F))continue;let L=uniqueSel(x);d.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:(x.outerHTML||"").slice(0,300)});}return d},ph={name:"formAttributes",cap:30,async detect(f){return f.evaluate(eI)}};var tI=()=>{let d=[],g=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 b=getComputedStyle(v).visibility;return !(b==="hidden"||b==="collapse")});if(g.length===0)return d;let h='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',m=new Map,w=0;for(let v of g){if(d.length>=50)break;let b;if(v.getAttribute("role")==="heading"){let _=v.getAttribute("aria-level");b=_?parseInt(_,10):2;}else b=parseInt(v.tagName.charAt(1),10);if(isNaN(b)||b<1||b>6)continue;let T=v.closest(h)||document.body,C=m.get(T)??0,x=uniqueSel(v),R=(v.textContent||"").trim().slice(0,80),E=v.outerHTML.slice(0,300);if(b===1&&(w++,w>1&&(d.push({selector:x,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:R,h1Number:w,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:E}),b=2)),C>0&&b>C+1){let _=C+1;d.push({selector:x,attribute:"data-heading-skip",currentValue:String(b),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:R,currentLevel:b,previousLevel:C,expectedLevel:_,suggestion:"Should be h"+_+" (was h"+b+", previous was h"+C+") \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});}m.set(T,b);}return d},mh={name:"headingHierarchy",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",g=[],h=new Set;function m(w){let v=w,b=0;for(;v&&v!==document.body&&b<6;){if(v.getAttribute("aria-hidden")==="true")return true;v=v.parentElement,b++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(w=>{if(g.length>=50||w.closest(f)||!w.matches("a[href], button, [role=button]")||m(w))return;let v=getComputedStyle(w);if(v.display==="none"||v.visibility==="hidden")return;let b=uniqueSel(w);h.has(b)||(h.add(b),g.push({selector:b,attribute:"tabindex",currentValue:w.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(w=>{if(g.length>=50||w.closest(f)||m(w))return;let v=getComputedStyle(w),b=parseInt(v.width)||0,D=parseInt(v.height)||0;if((b===0||D===0)&&w.getAttribute("aria-hidden")!=="true"){let T=uniqueSel(w);if(h.has(T))return;h.add(T),g.push({selector:T,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),g},hh={name:"hiddenInteractive",cap:50,async detect(f){return f.evaluate(rI)}};var nI=()=>{let f=document.documentElement;return f?(f.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"}]:[]},gh={name:"htmlLang",async detect(f){return f.evaluate(nI)}};var aI=()=>{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,w=document.querySelectorAll("iframe");for(let v of w){if(g.length>=50)break;if(v.closest(f))continue;let b=(v.getAttribute("aria-hidden")||"").trim(),D=(v.getAttribute("role")||"").trim().toLowerCase();if(b==="true"||D==="presentation")continue;let T=getComputedStyle(v);if(v.getClientRects().length===0||T.visibility==="hidden"||T.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let C=(v.getAttribute("title")||"").trim(),x=C.length===0,R=!x&&(C.length<3||m.test(C));if(!x&&!R)continue;let E=(v.getAttribute("src")||"").toLowerCase(),_=uniqueSel(v),S=getNearbyContext(v),F="src: "+E.slice(0,120)+(S.nearbyHeading?" | heading: "+S.nearbyHeading:""),L=false;for(let O of h)if(E.includes(O.pattern)){g.push({selector:_,attribute:"title",currentValue:C,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:false,fixValue:O.title,outerHtml:v.outerHTML.slice(0,300)}),L=true;break}!L&&x&&g.push({selector:_,attribute:"title",currentValue:C,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return g},vh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(aI)}};var iI=()=>{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"},w=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],v=document.querySelectorAll("input, select, textarea");for(let b of v){if(h.length>=50)break;if(b.closest(f))continue;let D=b,T=(D.getAttribute("type")||"text").toLowerCase();if(d.includes(T)||D.getAttribute("autocomplete")||!isVisible(D))continue;let C="";if(m[T]&&(C=m[T]),!C){let R=(D.getAttribute("name")||"").toLowerCase(),E=(D.getAttribute("id")||"").toLowerCase(),_=(D.getAttribute("placeholder")||"").toLowerCase(),S=R+" "+E+" "+_;for(let F of w)if(S.includes(F.pattern)){C=F.autocomplete;break}}if(!C)continue;let x=uniqueSel(D);h.push({selector:x,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+T+" | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:C});}return h},bh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(iI)}};var oI=()=>{let d=[],g={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},h=document.querySelectorAll("[role]");for(let m of h){if(d.length>=20)break;let w=m;if(isWidget(w))continue;let v=(w.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let b=v.split(/\s+/).filter(Boolean);if(b.length===0)continue;let D=true,T="";for(let C=0;C<b.length;C++)if(!g[b[C]]){D=false,T=b[C];break}D||d.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:v,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+T+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(w.outerHTML||"").slice(0,300)});}return d},yh={name:"invalidAriaRole",cap:20,async detect(f){return f.evaluate(oI)}};var sI=()=>{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 b=v.getBoundingClientRect();if(b.width===0&&b.height===0)return false;let D=-window.scrollX,T=-window.scrollY,C=document.documentElement,x=getComputedStyle(v).position;if(x==="fixed")return false;let R=x==="absolute";for(let E=v.parentElement;E&&E!==document.body&&E!==C;E=E.parentElement){let _=getComputedStyle(E);if(R){if(_.position==="static")continue;R=false;}if(/auto|scroll/.test(_.overflowX+" "+_.overflowY))return false;let S=_.overflowX==="hidden"||_.overflowX==="clip",F=_.overflowY==="hidden"||_.overflowY==="clip";if(!S&&!F)continue;let L=E.getBoundingClientRect();if(S&&(b.right<=L.left||b.left>=L.right)||F&&(b.bottom<=L.top||b.top>=L.bottom))return true;if(x=_.position,x==="fixed")return false;x==="absolute"&&(R=true);}return b.right<=D||b.bottom<=T||b.left>=D+C.scrollWidth||b.top>=T+C.scrollHeight}let w=document.querySelectorAll(h);for(let v of w){if(g.length>=30)break;if(v.closest(f)||!v.hasAttribute("tabindex"))continue;let b=v.getAttribute("tabindex")||"",D=parseInt(b,10);if(!Number.isFinite(D)||D===0||v.getAttribute("aria-disabled")==="true"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.closest("[hidden]"))continue;let T=v.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(T&&!(T.hasAttribute("open")||T.getAttribute("aria-modal")==="true"||T.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(v)||D<0&&m(v))continue;let C=(v.getAttribute("role")||"").toLowerCase();if(D<0&&v.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let R=typeof uniqueSel=="function"?uniqueSel(v):"",E=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},_,S;D<0?(_="keyboard_trap",S="2.1.1"):(_="focus_order_disruption",S="2.4.3");let F=[];F.push("tabindex: "+D),F.push("tag: "+v.tagName.toLowerCase()),C&&F.push("role: "+C),E.nearbyHeading&&F.push("heading: "+E.nearbyHeading),F.push("parent: "+E.parentTag),g.push({selector:R,attribute:"tabindex",currentValue:String(D),issueType:_,wcag:S,context:F.join(" | "),needsAI:false,fixValue:"0",outerHtml:(v.outerHTML||"").slice(0,300)});}return g},wh={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(sI)}};var lI=()=>{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 w of Array.from(m)){if(g.length>=40)break;if(w.closest(f)||typeof isVisible=="function"&&!isVisible(w))continue;let v="",b=[],D=[];try{let Z=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,ee=/icon|awesome|glyph|material symbols|dashicons/i,ae=!1;try{ae=ee.test(getComputedStyle(w).fontFamily||"");}catch{}let ge=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),ie;for(;ie=ge.nextNode();){let We=ie.parentElement;if(!We)continue;let Xe=(ie.textContent||"").trim();if(!Xe||We===w&&ae)continue;let He=!1,Me=!1;for(let Je=We;Je&&Je!==w;Je=Je.parentElement){if(Je.tagName==="KBD"&&(Me=!0),Je.getAttribute("aria-hidden")==="true"){He=!0;break}if(Z.test(Je.className||"")||Z.test(Je.id||"")){He=!0;break}try{let Ie=getComputedStyle(Je);if(Ie.display==="none"||Ie.visibility==="hidden"){He=!0;break}if(parseFloat(Ie.opacity||"1")===0){He=!0;break}if(ee.test(Ie.fontFamily||"")){He=!0;break}}catch{}}!He&&/[\p{L}\p{N}]/u.test(Xe)&&D.push({text:Xe,kbd:Me});}let Ae=0,me=D.length;for(;Ae<me&&D[Ae].kbd;)Ae++;for(;me>Ae&&D[me-1].kbd;)me--;let we=Ae<me?D.slice(Ae,me):D;for(let We of we)b.push(We.text);v=b.join(" ").trim().toLowerCase();}catch{v=((w.innerText!=null?w.innerText:w.textContent)||"").trim().toLowerCase();}if(!v||!/[\p{L}\p{N}]/u.test(v)||/^\p{L}$/u.test(v))continue;let C=/[\p{L}\p{N}\p{M}]/u,x=(w.getAttribute("aria-label")||"").trim().toLowerCase();if(!x){let Z=w.getAttribute("aria-labelledby");Z&&(x=(typeof __resolveIdRefs=="function"?__resolveIdRefs(Z):"").toLowerCase());}if(!x)continue;let R=v.replace(/\s+/g," ").normalize("NFC"),E=x.replace(/\s+/g," ").normalize("NFC"),_=/[\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,S=(Z,ee)=>!Z||!C.test(Z)||_.test(Z)||_.test(ee),F=(Z,ee)=>{if(ee<=0)return "";let ae=Z.charCodeAt(ee-1);return ae>=56320&&ae<=57343&&ee>=2?Z.slice(ee-2,ee):Z.charAt(ee-1)},L=(Z,ee)=>{let ae=Z.codePointAt(ee);return ae===void 0?"":String.fromCodePoint(ae)},O=R.substring(0,40),H=R.length>=40,$=L(O,0),V=F(O,O.length),M=false;for(let Z=0;!M;){let ee=E.indexOf(O,Z);if(ee<0)break;S(F(E,ee),$)&&(H||S(L(E,ee+O.length),V))&&(M=true),Z=ee+1;}if(M)continue;if(b.length>1){let Z=true,ee=0;for(let ae of b){let ge=ae.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!ge)continue;let ie=ge.slice(0,40),Ae=-1;for(let me=ee;;){let we=E.indexOf(ie,me);if(we<0)break;let We=S(F(E,we),L(ie,0)),Xe=ie.length>=40||S(L(E,we+ie.length),F(ie,ie.length));if(We&&Xe){Ae=we;break}me=we+1;}if(Ae<0){Z=false;break}ee=Ae+ie.length;}if(Z)continue}let N=typeof uniqueSel=="function"?uniqueSel(w):"",W=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},X=[];X.push("visible: "+v.slice(0,40)),X.push("aria-label: "+x.slice(0,60)),W.nearbyHeading&&X.push("heading: "+W.nearbyHeading),X.push("parent: "+W.parentTag),g.push({selector:N,attribute:"aria-label",currentValue:x,issueType:"label_in_name",wcag:"2.5.3",context:X.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},xh={name:"labelInName",cap:40,async detect(f){return f.evaluate(lI)}};var uI=()=>{function f(C){let x=C.closest("section,article,div,nav,main,aside,header,footer"),R=x?x.querySelector("h1,h2,h3,h4,h5,h6"):null;return R?(R.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=[];document.querySelector('main, [role="main"]')||h.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 w=document.querySelectorAll("div, section, ul, ol");for(let C of w){if(h.length>=g)break;if(C.closest(d)||!isVisible(C)||isHiddenFromAT(C)||C.tagName.toLowerCase()==="nav")continue;let x=C.getAttribute("role");if(x&&x!=="navigation")continue;let R=(C.className&&typeof C.className=="string"?C.className:"").toLowerCase(),E=(C.id||"").toLowerCase();if(!(R.includes("nav")||R.includes("menu")||R.includes("navigation")||E.includes("nav")||E.includes("menu")||E.includes("navigation"))||C.closest('nav, [role="navigation"]'))continue;let S=Array.from(C.querySelectorAll('nav, [role="navigation"]')).filter(V=>isVisible(V)&&!isHiddenFromAT(V)),F=Array.from(C.querySelectorAll("a[href]")).filter(V=>!S.some(M=>M.contains(V)));if(F.length<3)continue;let L=C.closest('header, [role="banner"], footer, [role="contentinfo"]'),H=!!L&&Array.from(L.querySelectorAll('nav, [role="navigation"]')).some(V=>!C.contains(V)&&isVisible(V)&&!isHiddenFromAT(V))||S.length>0,$=uniqueSel(C);h.push({selector:$,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:F.length,classes:R.slice(0,80)}),needsAI:false,fixValue:"navigation",...H?{needsReview:true,reviewReason:S.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:C.outerHTML.slice(0,300)});}let v=document.querySelectorAll('aside, [role="complementary"]'),b=Array.from(v).filter(C=>!C.closest(d)&&isVisible(C)&&!isHiddenFromAT(C));if(b.length>1)for(let C of b){if(h.length>=g)break;let x=C.getAttribute("aria-label")||"",R=C.getAttribute("aria-labelledby")||"",E=C.getAttribute("title")||"";if(x.trim()||R.trim()||E.trim())continue;let _=f(C),S=uniqueSel(C);h.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:v.length,nearbyHeading:_}),needsAI:true,outerHtml:C.outerHTML.slice(0,300)});}let D=document.querySelectorAll('nav, [role="navigation"]'),T=Array.from(D).filter(C=>!C.closest(d)&&isVisible(C)&&!isHiddenFromAT(C));if(T.length>1)for(let C of T){if(h.length>=g)break;let x=C.getAttribute("aria-label")||"",R=C.getAttribute("aria-labelledby")||"",E=C.getAttribute("title")||"";if(x.trim()||R.trim()||E.trim())continue;let _=f(C),S=uniqueSel(C);h.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:D.length,nearbyHeading:_}),needsAI:true,outerHtml:C.outerHTML.slice(0,300)});}return h},Dh={name:"landmarkRoles",cap:50,async detect(f){return f.evaluate(uI)}};var cI=()=>{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(C){if(!C)return "";let x=C.split("#")[0];return x.length>1&&x.charAt(x.length-1)==="/"&&(x=x.substring(0,x.length-1)),x}function w(C){let x=(C.getAttribute("aria-label")||"").trim();return x||(C.textContent||"").trim().replace(/\s+/g," ")}function v(C){return !!C.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let b={},D=document.querySelectorAll("a[href]");for(let C=0;C<D.length;C++){let x=D[C];if(x.closest(f)||x.getAttribute("aria-hidden")==="true"||!isVisible(x))continue;let R=x.getAttribute("href")||"";if(!R)continue;let E=R.toLowerCase();if(E.charAt(0)==="#"||E.indexOf("javascript:")===0||E.indexOf("mailto:")===0||E.indexOf("tel:")===0)continue;let _=x.href||R,S=m(_);if(!S||v(x))continue;let F=(x.textContent||"").trim(),L=!!x.querySelector("img, svg, picture");if(!F&&L)continue;let O=w(x);if(!O)continue;let H=O.toLowerCase();H===E||H===_.toLowerCase()||(b[S]||(b[S]=[]),b[S].push(x));}let T=Object.keys(b);for(let C=0;C<T.length&&!(h.length>=30);C++){let x=b[T[C]];if(!x||x.length<2)continue;let R={},E="";for(let L=0;L<x.length;L++){let O=w(x[L]),H=O.toLowerCase();R[H]=true,O.length>E.length&&(E=O);}if(Object.keys(R).length<2)continue;let S=E.toLowerCase().trim();if(S.length<5)continue;let F=false;for(let L=0;L<g.length;L++)if(S===g[L]){F=true;break}if(!F)for(let L=0;L<x.length&&!(h.length>=30);L++){let O=x[L],H=w(O);if(H.toLowerCase()===S)continue;let $=uniqueSel(O);h.push({selector:$,attribute:"aria-label",currentValue:H,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+x.length+' link(s) on this page with different text (e.g. "'+E.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:O.outerHTML.slice(0,300)});}}return h},_h={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(cI)}};var dI=()=>{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 w(_,S){if(!_||!S)return false;if(_===S||_.endsWith("."+S)||S.endsWith("."+_))return true;let F=L=>{let O=L.split(".");if(O.length<=2)return L;let H=O[O.length-1],$=O[O.length-2],V=["co","com","net","org","ac","gov","edu"],M=H.length===2&&V.indexOf($)>=0?3:2;return O.slice(-M).join(".")};return F(_)===F(S)}function v(_){return _.indexOf("www.")===0?_.slice(4):_}function b(_){if(!_)return "";let S=_.toLowerCase();if(S.charAt(0)==="#"||S.charAt(0)==="/"||S.charAt(0)==="?"||S.indexOf("javascript:")===0||S.indexOf("mailto:")===0||S.indexOf("tel:")===0)return "";try{return (new window.URL(_,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function D(_){if(!_)return "";let S=_,F=S.indexOf("?");F>=0&&(S=S.slice(0,F));let L=S.indexOf("#");L>=0&&(S=S.slice(0,L)),S=S.toLowerCase();for(let O=0;O<g.length;O++){let H=g[O];if(S.length>=H.length&&S.slice(S.length-H.length)===H)return H}return ""}function T(_){let S=[],F=(_.getAttribute("aria-label")||"").trim();F&&S.push(F);let L=(_.getAttribute("title")||"").trim();L&&S.push(L);let O=_.getAttribute("aria-labelledby");if(O)try{let H=typeof __resolveIdRefs=="function"?__resolveIdRefs(O):"";H&&S.push(H);}catch{}return S.push((_.textContent||"").trim()),S.join(" ").toLowerCase()}function C(_,S,F){let L="";try{typeof getAccessibleName=="function"&&(L=(getAccessibleName(_)||"").trim());}catch{}let O=(S||F||L||_.textContent||"").replace(/\s+/g," ").trim();return O||(_.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function x(_,S){let L=200-S.length;L<8&&(L=8);let O=_;if(O.length>L){let H=O.slice(0,L),$=H.lastIndexOf(" ");$>L*.6&&(H=H.slice(0,$)),O=H.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (O+S).slice(0,200)}let R=document.querySelectorAll("a"),E=R.length;for(let _=0;_<E&&!(d.length>=50);_++){let S=R[_];if(!S||isWidget(S)||S.getAttribute("aria-hidden")==="true")continue;try{if(S.closest&&S.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(S))continue;let F=S.getAttribute("href");if(F==null)continue;let L=String(F).trim();if(!L)continue;let O=L.toLowerCase(),H=T(S),$=(S.getAttribute("rel")||"").toLowerCase(),V=uniqueSel(S),M=(S.textContent||"").trim().slice(0,80),N=(S.getAttribute("target")||"").toLowerCase(),W=(S.outerHTML||"").slice(0,300),X=L==="#",Z=O.indexOf("javascript:")===0;if((X||Z)&&(S.getAttribute("role")||"").toLowerCase()!=="button"){let me=S.hasAttribute&&S.hasAttribute("onclick"),we=S.hasAttribute&&(S.hasAttribute("data-action")||S.hasAttribute("data-click")||S.hasAttribute("data-toggle")||S.hasAttribute("data-target")),We=typeof S.onclick=="function",Xe=me||we||We,He=[];He.push("href: "+L),M&&He.push("text: "+M),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=Te=>{if(getComputedStyle(Te).visibility==="hidden")return false;for(let yr=Te;yr&&yr.nodeType===1;yr=yr.parentElement)if(getComputedStyle(yr).display==="none")return false;return true},Ie=Array.prototype.some.call(S.querySelectorAll(Me),Te=>Je(Te)&&!isHiddenFromAT(Te));Xe&&!Ie&&d.push({selector:V,attribute:"role",currentValue:L,issueType:"placeholder_link",wcag:"2.4.4",context:He.join(" | "),needsAI:false,fixValue:"button",outerHtml:W});continue}if(L.charAt(0)==="#"&&L.length>1){let Ae=L.slice(1),me=Ae;try{me=decodeURIComponent(Ae);}catch{me=Ae;}let we=null;try{we=document.getElementById(me);}catch{we=null;}if(!we)try{we=document.querySelector('[name="'+me.replace(/"/g,'\\"')+'"]');}catch{we=null;}continue}let ee=D(O);if(ee){let Ae=S.hasAttribute&&S.hasAttribute("download"),me=(h[ee]||ee).toLowerCase(),we=H.indexOf(ee)>=0||H.indexOf(me)>=0||H.indexOf("download")>=0;if(!Ae&&!we){let We=C(S,(S.getAttribute("aria-label")||"").trim(),""),Xe=x(We," ("+(h[ee]||ee)+" download)");d.push({selector:V,attribute:"aria-label",currentValue:(S.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ee+" | href: "+L.slice(0,120),needsAI:false,fixValue:Xe,outerHtml:W});continue}}let ae=b(L),ge=O.indexOf("http://")===0||O.indexOf("https://")===0||O.indexOf("//")===0,ie=!!ae&&!!m&&!w(v(ae),v(m));if(N==="_blank"){let Ae=$.indexOf("noopener")>=0||$.indexOf("noreferrer")>=0,me=H.indexOf("new window")>=0||H.indexOf("new tab")>=0||H.indexOf("opens in")>=0;if(!me){let we=(S.getAttribute("aria-label")||"").trim(),We="",Xe=S.getAttribute("aria-labelledby")||"";if(!we&&Xe)try{typeof __resolveIdRefs=="function"&&(We=(__resolveIdRefs(Xe)||"").trim());}catch{}let He=C(S,we,We),Me=x(He," (opens in new window)"),Je=[];Ae||Je.push("missing rel=noopener"),me||Je.push('missing "new window" hint'),Je.push("href: "+L.slice(0,120)),d.push({selector:V,attribute:"aria-label",currentValue:(S.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Je.join(" | "),needsAI:false,fixValue:Me,outerHtml:W});continue}}if(ie&&ge){let Ae=$.indexOf("external")>=0,me=H.indexOf("external")>=0||H.indexOf("opens in")>=0||H.indexOf("new window")>=0||H.indexOf("new tab")>=0;if(!Ae&&!me){let we=(S.getAttribute("aria-label")||"").trim(),We="",Xe=S.getAttribute("aria-labelledby")||"";if(!we&&Xe)try{typeof __resolveIdRefs=="function"&&(We=(__resolveIdRefs(Xe)||"").trim());}catch{}let He=C(S,we,We),Me=x(He," (external link)");d.push({selector:V,attribute:"aria-label",currentValue:(S.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+ae+" (page: "+m+") | href: "+L.slice(0,120),needsAI:false,fixValue:Me,outerHtml:W});}}}return d},Ah={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(dI)}};var fI=()=>{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"]'),w=[];return m.forEach(v=>{let b=getComputedStyle(v);b.display!=="none"&&b.visibility!=="hidden"&&w.push(v);}),m.forEach(v=>{if(g.length>=10||v.closest(f)||v.getAttribute("aria-hidden")!=="true")return;let b=getComputedStyle(v);if(b.display==="none"||b.visibility==="hidden"||v.closest('[role="dialog"]')||v.closest('[role="alertdialog"]')||v.closest("dialog")||w.some(x=>x!==v&&x.getAttribute("aria-hidden")!=="true"))return;let T=v.parentElement;for(;T&&T!==document.body&&T!==document.documentElement;){if(T.getAttribute("aria-hidden")==="true")return;T=T.parentElement;}let C=uniqueSel(v);h.has(C)||(h.add(C),g.push({selector:C,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},Eh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(fI)}};var pI=()=>{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 b=v;if(g(b))continue;let D=b.hasAttribute("controls"),T=b.hasAttribute("autoplay"),C=b.hasAttribute("muted"),x=typeof isVisible=="function"?isVisible(b):true;if(!D&&x&&(d.push({selector:uniqueSel(b),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:h(b)}),d.length>=10))break;T&&!C&&d.push({selector:uniqueSel(b),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:h(b)});}let w=document.querySelectorAll("audio");for(let v of w){if(d.length>=10)break;let b=v;if(g(b))continue;let D=b.hasAttribute("controls"),T=b.hasAttribute("autoplay");if(!D&&(d.push({selector:uniqueSel(b),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:h(b)}),d.length>=10))break;T&&d.push({selector:uniqueSel(b),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(b)});}return d},Ch={name:"mediaControls",cap:10,async detect(f){return f.evaluate(pI)}};var mI=()=>{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,w=document.querySelectorAll("img");for(let v of w){if(g.length>=50)break;if(v.closest(f))continue;let b=v.getAttribute("src")||"",D=v.getAttribute("alt");if(b.startsWith("data:"))continue;let T=v.naturalWidth||v.width,C=v.naturalHeight||v.height;if(T<=3&&C<=3&&T>0&&C>0||T<=2&&C<=2)continue;let x=v.getBoundingClientRect();if(x.width<=2&&x.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let R=(v.getAttribute("aria-label")||"").trim(),E=(v.getAttribute("aria-labelledby")||"").trim();if(R||E)continue;let _=v.getBoundingClientRect(),S=_.width>0&&_.width<=30&&_.height<=30,F=!!v.closest('a, button, [role="button"], [role="link"]');if(S&&!F&&D===null){let V=uniqueSel(v);g.push({selector:V,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(_.width)+"x"+Math.round(_.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(D===null){let V=uniqueSel(v),M=getNearbyContext(v),N=[],W=v.closest("figure");if(W){let ee=W.querySelector("figcaption");ee&&N.push("figcaption: "+(ee.textContent||"").trim().slice(0,80));}M.nearbyHeading&&N.push("heading: "+M.nearbyHeading);let X=v.closest("a");if(X){let ee=X.getAttribute("href")||"",ae=(X.textContent||"").trim().replace(/\s+/g," ");ae&&N.push("link text: "+ae.slice(0,60)),ee&&N.push("link href: "+ee.slice(0,80));}b&&N.push("src: "+b.slice(0,120)),N.push("parent: "+M.parentTag);let Z=b;try{Z=new URL(b,document.baseURI).href;}catch{}g.push({selector:V,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:N.join(" | "),needsAI:true,imageSrc:Z,outerHtml:v.outerHTML.slice(0,300)});continue}let L=(D||"").trim();if(L==="")continue;let O=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(L),H=h.test(L),$=m.test(L);if(O||H||$){let V=uniqueSel(v),M=getNearbyContext(v),N=[];M.nearbyHeading&&N.push("heading: "+M.nearbyHeading),b&&N.push("src: "+b.slice(0,120)),N.push("parent: "+M.parentTag);let W=b;try{W=new URL(b,document.baseURI).href;}catch{}g.push({selector:V,attribute:"alt",currentValue:L,issueType:"missing_alt",wcag:"1.1.1",context:N.join(" | "),needsAI:true,imageSrc:W,outerHtml:v.outerHTML.slice(0,300)});}}return g},Sh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(mI)}};var hI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image"],g=["wpnonce","_token","csrf","nonce","captcha"],m=[],w=document.querySelectorAll("input, select, textarea");for(let v of w){if(m.length>=50)break;if(v.closest(f))continue;let b=v,D=b.getAttribute("type")||b.tagName.toLowerCase();if(d.includes(D.toLowerCase())||!isVisible(b)||b.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(b).display==="none")continue;let x=b.getAttribute("id")||"",R=b.getAttribute("name")||"",E=(x+" "+R).toLowerCase();if(g.some(V=>E.includes(V)))continue;let _=false;if(x){let V=document.querySelector('label[for="'+CSS.escape(x)+'"]');V&&(V.textContent||"").trim()&&(_=true);}if(!_){let V=b.closest("label");V&&(V.textContent||"").trim()&&(_=true);}if(!_&&(b.getAttribute("aria-label")||"").trim()&&(_=true),!_){let V=b.getAttribute("aria-labelledby");V&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(V)&&(_=true);}if(!_&&(b.getAttribute("title")||"").trim()&&(_=true),_)continue;let S=uniqueSel(b),F=getNearbyContext(b),L=(b.getAttribute("placeholder")||"").trim(),O=b.closest("form"),H=O&&(O.getAttribute("id")||O.getAttribute("action"))||"",$=[];L&&$.push("placeholder: "+L),R&&$.push("name: "+R),D&&$.push("type: "+D),H&&$.push("form: "+H.slice(0,60)),F.nearbyHeading&&$.push("heading: "+F.nearbyHeading),$.push("parent: "+F.parentTag),m.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:$.join(" | "),needsAI:true,outerHtml:b.outerHTML.slice(0,300)});}return m},kh={name:"missingLabels",cap:50,async detect(f){return f.evaluate(hI)}};var gI=()=>{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=_=>{if(getComputedStyle(_).visibility==="hidden")return false;for(let S=_;S&&S.nodeType===1;S=S.parentElement)if(getComputedStyle(S).display==="none")return false;return true},m=_=>Array.prototype.some.call(_.querySelectorAll("a:not([href])"),S=>h(S)&&!isHiddenFromAT(S)&&g.some(F=>S.hasAttribute(F))),w=_=>Array.prototype.some.call(_.querySelectorAll(d),S=>h(S)&&!isHiddenFromAT(S)),b=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(_=>{if(b.length>=50||_.closest(f)||!isVisible(_)||isHiddenFromAT(_)||w(_)||m(_))return;let S=_.getAttribute("role");if(S==="button"||S==="link"||S==="tab"||S==="menuitem"||S==="checkbox"||S==="radio")return;let F=uniqueSel(_),L=_.outerHTML.slice(0,300);b.push({selector:F,attribute:"role",currentValue:S||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),hasOnclick:true,currentTabindex:_.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:L}),_.getAttribute("tabindex")===null&&b.push({selector:F,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:_.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(_=>{if(b.length>=50||_.closest(f)||!isVisible(_)||isHiddenFromAT(_)||_.getAttribute("role"))return;let F=_.hasAttribute("onclick"),L=_.getAttribute("data-action")||_.getAttribute("ng-click")||_.getAttribute("@click")||_.getAttribute("v-on:click");if(!F&&!L||w(_))return;let O=uniqueSel(_),H=_.outerHTML.slice(0,300);b.push({selector:O,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:_.getAttribute("href")||"",hasOnclick:F}),needsAI:false,fixValue:"button",outerHtml:H});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(_=>{if(b.length>=50||_.closest(f)||!isVisible(_)||isHiddenFromAT(_)||_.getAttribute("role"))return;let F=_.getAttribute("href")||"",L=false;if(F.startsWith("#")&&F.length>1){if(F.charAt(1)==="/")return;let V=F.slice(1);if(document.getElementById(V))return;try{if(document.querySelector('[name="'+CSS.escape(V)+'"]'))return}catch{}L=true;}let O=F.startsWith("javascript:")||_.hasAttribute("onclick")||_.getAttribute("data-action")||_.getAttribute("ng-click")||_.getAttribute("@click")||_.getAttribute("v-on:click")||_.hasAttribute("aria-haspopup")||_.hasAttribute("aria-expanded")||_.hasAttribute("aria-controls"),H=L&&!O;if(w(_))return;let $=uniqueSel(_);b.push({selector:$,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:_.outerHTML.slice(0,300),...H?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(_=>{if(b.length>=50||_.closest(f)||!isVisible(_)||isHiddenFromAT(_))return;let S=(_.className&&typeof _.className=="string"?_.className:"").toLowerCase(),F=(_.id||"").toLowerCase();if(!S.includes("breadcrumb")&&!S.includes("crumb")&&!F.includes("breadcrumb")&&!F.includes("crumb"))return;let L=_.querySelectorAll("a");if(L.length<2)return;let O=(_.getAttribute("aria-label")||"").toLowerCase(),H=_.getAttribute("role");if(O.includes("breadcrumb")||O.includes("crumb")||H==="navigation"&&O)return;let $=uniqueSel(_);b.push({selector:$,attribute:"aria-label",currentValue:O,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:L.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:_.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(_=>{if(b.length>=50||_.closest(f)||!isVisible(_)||isHiddenFromAT(_))return;let S=(_.className&&typeof _.className=="string"?_.className:"").toLowerCase(),F=(_.id||"").toLowerCase();if(!S.includes("search")&&!F.includes("search")||!_.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let O=_.getAttribute("role");if(O==="search"||_.closest('[role="search"]')||_.querySelector('[role="search"]')||Array.prototype.some.call(_.querySelectorAll("form, section, div"),V=>{let M=(V.className&&typeof V.className=="string"?V.className:"").toLowerCase(),N=(V.id||"").toLowerCase();return !M.includes("search")&&!N.includes("search")||V.getAttribute("role")==="search"?false:!!V.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let $=uniqueSel(_);b.push({selector:$,attribute:"role",currentValue:O||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:_.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(_=>{if(_.closest(f))return;let S=_.getAttribute("role")||"menu",F=Array.from(_.querySelectorAll("a")).filter(O=>{if(!isVisible(O)||isHiddenFromAT(O))return false;let H=O.getAttribute("role");return H!=="menuitem"&&H!=="menuitemcheckbox"&&H!=="menuitemradio"});if(F.length===0)return;let L=uniqueSel(_);b.push({selector:L,attribute:"role",currentValue:S,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:_.tagName.toLowerCase(),reason:`${F.length} link(s) inside role="${S}" without menuitem roles`,sample:F.slice(0,3).map(O=>(O.textContent||"").trim().slice(0,40))}),message:`container role="${S}" 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:_.outerHTML.slice(0,300)});}),b},Th={name:"missingRoles",cap:50,async detect(f){return f.evaluate(gI)}};var vI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},m=w=>{let v=T=>{let C=T.tagName.toLowerCase(),x=T.parentElement;if(!x)return C;let R=Array.from(x.children).filter(E=>E.tagName===T.tagName);return R.length>1?`${C}:nth-of-type(${R.indexOf(T)+1})`:C},b=[],D=w;for(;D&&D!==document.body&&D!==document.documentElement;)b.unshift(v(D)),D=D.parentElement;return b.length?b.join(" > "):w.tagName.toLowerCase()};for(let[w,v]of Object.entries(h)){let b=Array.from(document.querySelectorAll(v));b=b.filter(D=>!D.closest(f)),b=b.filter(D=>typeof isVisible=="function"?isVisible(D):true),b=b.filter(D=>D.getAttribute("aria-hidden")!=="true"),!(b.length<2)&&b.forEach(D=>{if(g.length>=30||(D.getAttribute("aria-label")||"").trim()||(D.getAttribute("title")||"").trim())return;let T=D.getAttribute("aria-labelledby");if(T&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(T))return;let C=typeof uniqueSel=="function"?uniqueSel(D):m(D),x=typeof getNearbyContext=="function"?getNearbyContext(D):{nearbyHeading:""},R=D.querySelector("h1, h2, h3, h4, h5, h6"),E=R?(R.textContent||"").trim().slice(0,60):"";g.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${w} | total: ${b.length} | inner-heading: ${E} | nearby: ${x.nearbyHeading||""}`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});});}return g},Rh={name:"multipleLandmarks",cap:30,async detect(f){return f.evaluate(vI)}};var bI=()=>{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,w]of Object.entries(h))document.querySelectorAll(w).forEach(b=>{if(g.length>=30||b.closest(f)||typeof isVisible=="function"&&!isVisible(b))return;let D=b.parentElement,T=null;for(;D&&D!==document.body;){if(D.matches(w)){T=D;break}D=D.parentElement;}if((m==="banner"||m==="contentinfo")&&b.closest("article, section, aside, main, nav")||!T||b.getAttribute("aria-label")?.trim()||b.getAttribute("aria-labelledby")?.trim())return;let C=typeof uniqueSel=="function"?uniqueSel(b):"",x=typeof getNearbyContext=="function"?getNearbyContext(b):{nearbyHeading:""};g.push({selector:C,attribute:"role",currentValue:b.getAttribute("role")||b.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${b.tagName.toLowerCase()} | heading: ${x.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(b.outerHTML||"").slice(0,300)});});return g},Fh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(bI)}};var yI=()=>{let d=[],g=x=>typeof parseCssColor=="function"?parseCssColor(x):null,h=(x,R,E)=>typeof relLuminance=="function"?relLuminance(x,R,E):0,w=(x,R)=>typeof contrastRatio=="function"?contrastRatio(x,R):1;function v(x){let R=document.documentElement,E=x.parentElement,_=0;for(;E&&E!==R&&_<6;){let O=getComputedStyle(E).backgroundColor||"",H=g(O);if(H&&H[3]>.5)return [H[0],H[1],H[2]];E=E.parentElement,_++;}let S=document.body;if(E&&E!==R&&S&&S.contains(E)){let O=g(getComputedStyle(S).backgroundColor||"");if(O&&O[3]>.5)return [O[0],O[1],O[2]]}let F=g(getComputedStyle(R).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 b(x,R,E){return "#"+[x,R,E].map(_=>{let S=Math.max(0,Math.min(255,Math.round(_))).toString(16);return S.length===1?"0"+S:S}).join("")}function D(x,R,E){let _=h(R[0],R[1],R[2])>.5;return T(x,R,E,_)||T(x,R,E,!_)}function T(x,R,E,_){let S=0,F=1,L=null;for(let O=0;O<20;O++){let H=(S+F)/2,$=_?[x[0]*(1-H),x[1]*(1-H),x[2]*(1-H)]:[x[0]+(255-x[0])*H,x[1]+(255-x[1])*H,x[2]+(255-x[2])*H],V=[Math.round($[0]),Math.round($[1]),Math.round($[2])];w(V,R)>=E?(L=V,F=H):S=H;}return L}let C=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let x of C){if(d.length>=30)break;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let R=getComputedStyle(x),E=v(x),_=g(R.backgroundColor||""),S=g(R.borderTopColor||""),F=parseFloat(R.borderTopWidth||"0"),L=(R.borderTopStyle||"").toLowerCase(),O=F>0&&L!=="none"&&L!=="hidden",H=x.tagName.toLowerCase(),$=H==="input"||H==="select"||H==="textarea",V=O&&S&&S[3]>.5?w([S[0],S[1],S[2]],E):null,M=_&&_[3]>.5?w([_[0],_[1],_[2]],E):null,N=V===null&&M===null?null:Math.max(V??0,M??0),W=null,X=false,Z="";if($)N!==null?(W=N,N<3&&(X=true)):(X=true,W=1);else {let Me=false,Je=document.createTreeWalker(x,4),Ie=Je.nextNode();for(;Ie;){if((Ie.textContent||"").trim()&&Ie.parentElement&&isVisible(Ie.parentElement)){Me=true;break}Ie=Je.nextNode();}if(Me)continue;let yr=Array.from(x.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Un=new Map,No=gt=>{let kt=gt.getBoundingClientRect();if(kt.width*kt.height===0)return "absent";let zt=parseFloat(getComputedStyle(x).opacity||"1");for(let ft=gt;ft&&ft!==x;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 Un.set(gt,zt),"painted"},cr=yr.map(No),Wn=yr.filter((gt,kt)=>cr[kt]==="painted"),an=Wn.length>0,$t=!an&&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),on=1;for(let Gt=vt;Gt&&Gt!==gt;Gt=Gt.parentElement||Gt.parentNode)on*=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:on*Ke(bt.fillOpacity)}),bt.stroke&&bt.stroke!=="none"&&!bt.stroke.startsWith("url")&&parseFloat(bt.strokeWidth||"0")>0&&zt.push({color:bt.stroke,alpha:on*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=g(tr.color);if(!vt)continue;let bt=vt[3]*tr.alpha*(Un.get(gt)??1),on=[vt[0]*bt+E[0]*(1-bt),vt[1]*bt+E[1]*(1-bt),vt[2]*bt+E[2]*(1-bt)],Ke=w(on,E);(ft===null||Ke>ft)&&(ft=Ke);}return ft};if(an&&Wn.map(Mt).some(kt=>kt!==null&&kt>=3))continue;let Ir=false,ve=R.position;if((ve==="absolute"||ve==="fixed")&&x.parentElement){let gt=x.getBoundingClientRect(),kt=x.parentElement.getBoundingClientRect(),zt=kt.width*kt.height;zt>0&>.width*gt.height/zt>=.85&&(Ir=true);}if(an||Ir||$t){if(X=true,W=O&&S&&S[3]>.5?w([S[0],S[1],S[2]],E):1,W>=3)continue;Z=an?"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 N!==null?(W=N,N<3&&(X=true)):(X=true,W=1);}if(!X)continue;let ee=S&&S[3]>.5?[S[0],S[1],S[2]]:_&&_[3]>.5?[_[0],_[1],_[2]]:[128,128,128],ae=D(ee,E,3);if(!ae)continue;let ge=b(ae[0],ae[1],ae[2]),ie=b(E[0],E[1],E[2]),Ae="border: 1px solid "+ge+" !important;",me=uniqueSel(x),we=x.tagName.toLowerCase(),We=N===null&&!O?"invisible (no border, no fill: 1.00:1)":W?W.toFixed(2)+":1":"not measurable",Xe=we==="input"||we==="select"||we==="textarea"?we+" field":we,He=Z?"non-text contrast: "+Xe+" boundary is "+We+" against "+ie+" (needs 3:1) \u2014 "+Z:"non-text contrast: "+Xe+" boundary (border and fill) is "+We+" against "+ie+", needs 3:1 \u2014 e.g. border-color "+ge;d.push({selector:me,message:He,attribute:"style",currentValue:W?W.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:we+" bg="+ie+" ratio="+(W?W.toFixed(2):"?")+" needs=3",needsAI:false,...Z?{needsReview:true,reviewReason:Z}:{fixValue:Ae},outerHtml:x.outerHTML.slice(0,200)});}return d},Ih={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(yI)}};var wI=()=>{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 w of Array.from(m)){if(g.length>=20)break;if(w.closest(f))continue;let v=w.getAttribute("onfocus")||"";if(!v||!h.test(v))continue;let b=typeof uniqueSel=="function"?uniqueSel(w):"",D=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},T=[];T.push("tag: "+w.tagName.toLowerCase()),T.push("onfocus: "+v.slice(0,100)),D.nearbyHeading&&T.push("heading: "+D.nearbyHeading),T.push("parent: "+D.parentTag),g.push({selector:b,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:T.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},Lh={name:"onFocus",cap:20,async detect(f){return f.evaluate(wI)}};var xI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],m=new Set,w=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(b=>{if(h.length>=30||b.closest(f))return;let D=b.tagName;if(D==="BODY"||D==="HTML"||!isVisible(b)||isHiddenFromAT(b)||b.hasAttribute("tabindex"))return;let T=b.getAttribute("role");if(T&&w.has(T))return;let C=getComputedStyle(b),x=C.overflowY,R=C.overflowX,E=x==="auto"||x==="scroll",_=R==="auto"||R==="scroll";if(!E&&!_)return;let S=E&&b.scrollHeight-b.clientHeight>50,F=_&&b.scrollWidth-b.clientWidth>50;if(!S&&!F||b.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 O=uniqueSel(b);if(m.has(O))return;m.add(O);let{nearbyHeading:H}=getNearbyContext(b),$="";if(H)$=H;else {let N=(typeof b.className=="string"?b.className:"").toLowerCase(),W=(b.id||"").toLowerCase();N.includes("code")||N.includes("snippet")||D==="PRE"||D==="CODE"?$="Code block":N.includes("terms")||N.includes("tos")||N.includes("legal")?$="Terms and conditions":N.includes("chat")||N.includes("message")?$="Chat messages":N.includes("table")||N.includes("data")?$="Data table":W?$=W.replace(/[-_]/g," "):$="Scrollable content";}let V=(b.outerHTML||"").slice(0,300);h.push({selector:O,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:D.toLowerCase(),overflowY:E?x:void 0,overflowX:_?R:void 0,scrollHeight:b.scrollHeight,clientHeight:b.clientHeight,scrollWidth:b.scrollWidth,clientWidth:b.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:V}),T||h.push({selector:O,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:D.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:V}),b.getAttribute("aria-label")||b.getAttribute("aria-labelledby")||h.push({selector:O,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:D.toLowerCase(),labelHint:$,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:V});}),h},Ph={name:"scrollableFocus",cap:30,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],h=[],m=document.querySelectorAll("b, i");for(let w=0;w<m.length&&!(h.length>=30);w++){let v=m[w];if(v.closest(f)||v.getAttribute("aria-hidden")==="true"||v.parentElement&&v.parentElement.closest("strong, em"))continue;let b=v.className&&typeof v.className=="string"?v.className.toLowerCase():"";if(b){let R=false;for(let E=0;E<g.length;E++)if(b.indexOf(g[E])!==-1){R=true;break}if(R)continue}let D=(v.textContent||"").trim();if(!D)continue;let T=v.tagName.toLowerCase(),C=T==="b"?"strong":"em",x=uniqueSel(v);h.push({selector:x,attribute:"tagName",currentValue:T,fixValue:C,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+T+'> used for "'+D.slice(0,60)+'". Replace with <'+C+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:v.outerHTML.slice(0,300)});}return h},Mh={name:"semanticEmphasis",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 x of g){let R=document.querySelector(x);if(R&&!R.closest(f)){h=true;break}}if(!h){let x=document.querySelectorAll('a[href^="#"]');for(let R of x){if(R.closest(f))continue;let E=(R.textContent||"").toLowerCase();if(E.includes("skip")&&(E.includes("main")||E.includes("content")||E.includes("nav"))){h=true;break}}}if(h||Array.from(document.querySelectorAll('main, [role="main"]')).filter(x=>{let R=getComputedStyle(x);if(R.display==="none"||R.visibility==="hidden"||x.closest('[hidden], [aria-hidden="true"]'))return false;let E=x.getBoundingClientRect();return E.width>0&&E.height>0}).length===1)return d;let w="",v=document.querySelector('main[id], [role="main"][id]');if(v&&v.getAttribute("id"))w=v.getAttribute("id");else {let x=document.querySelector("h1[id]");if(x&&x.getAttribute("id"))w=x.getAttribute("id");else {let R=["main-content","maincontent","main","content","skip-content"];for(let E of R)if(document.getElementById(E)){w=E;break}}}let b=w==="",D=w||"main-content",C="<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="#'+D+'" 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:b?'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 #"+D,needsAI:false,fixValue:C,...b?{manualFix:true}:{}}),d},Oh={name:"skipLink",async detect(f){return f.evaluate(_I)}};var AI=()=>{let g=[],h=document.querySelectorAll("*"),m=0;for(let w of Array.from(h)){if(m++>5e3||g.length>=20)break;if(w.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(w))continue;let b=getComputedStyle(w).backgroundImage||"";if(!b||b==="none"||!b.includes("url("))continue;let D=b.match(/url\((['"]?)(.*?)\1\)/);if(!D)continue;let T=D[2];if(!T||T.startsWith("data:")&&T.length<256)continue;let C=w.getBoundingClientRect();if(C.width<32||C.height<32)continue;let x=w.tagName.toLowerCase(),R=w.getAttribute("role")||"",E=x==="a"||x==="button"||R==="button"||R==="link"||w.closest("a,button,[role=button],[role=link]")!==null,_=(w.textContent||"").trim().length>0,S=!!w.getAttribute("aria-label"),F=!!w.getAttribute("aria-labelledby"),L=!!w.getAttribute("title"),O=!!w.querySelector('img[alt]:not([alt=""])');if(w.closest('[aria-hidden="true"]')){let N=w.closest("a[href]");if(!!N&&Array.from(document.querySelectorAll("a[href]")).some(X=>X!==N&&X.href===N.href&&!X.closest('[aria-hidden="true"]')))continue}if(S||F||L||O||_||!E)continue;let H=w.closest("a,button,[role=button],[role=link]");if(H&&H!==w){let N=(H.textContent||"").trim(),W=H.getAttribute("aria-label")||H.getAttribute("title")||"",X=H.getAttribute("aria-labelledby"),Z=!!H.querySelector('img[alt]:not([alt=""])');if(N||W.trim()||X||Z)continue}let $=T;try{$=new URL(T,location.href).toString();}catch{continue}let V=typeof uniqueSel=="function"?uniqueSel(w):"",M=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:x,nearbyHeading:""};g.push({selector:V,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${$.slice(0,140)} | tag: ${x} | role: ${R||"(none)"} | parent: ${M.parentTag}${M.nearbyHeading?" | heading: "+M.nearbyHeading:""}`,needsAI:true,imageSrc:$,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},Nh={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(AI)}},EI=()=>{let f=[],d=Array.from(document.querySelectorAll("h1")),g=d.filter(h=>{if(h.getAttribute("aria-hidden")==="true"||h.closest('[aria-hidden="true"]')||h.getClientRects().length===0)return false;let m=getComputedStyle(h).visibility;return m==="hidden"||m==="collapse"?false:(h.textContent||"").trim().length>0});if(g.length===0)f.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${d.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(g.length>1)for(let h=1;h<g.length&&h<5;h++){let m=g[h],w=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:w,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${g.length} <h1> elements on page. Text: ${JSON.stringify((m.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(m.outerHTML||"").slice(0,200)});}return f},qh={name:"h1Presence",async detect(f){return f.evaluate(EI)}},CI=()=>{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 w=h.getAttribute("aria-label");if(w&&w.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},Bh={cap:15,name:"emptyHeadings",async detect(f){return f.evaluate(CI)}},SI=()=>{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 w=(h.textContent||"").trim();if(!w)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(w.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(h.outerHTML||"").slice(0,200)});}return d},Hh={cap:15,name:"javascriptLinks",async detect(f){return f.evaluate(SI)}};var kI=()=>{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 b=m.getAttribute("aria-label")||"",D=m.getAttribute("aria-labelledby")||"",T=m.querySelector("title"),C=T?(T.textContent||"").trim():"";if(b.trim()||D.trim()||C)return;let x=m.getBoundingClientRect(),R=x.width<=16&&x.height<=16;if(x.width<=4||x.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let E=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(E){if(E.getAttribute("aria-label")?.trim()||E.getAttribute("aria-labelledby")?.trim())return;let W=getAccessibleName(E),X=E.cloneNode(true);X.querySelectorAll("svg").forEach(ee=>ee.remove());let Z=(X.textContent||"").trim().replace(/\s+/g," ");if(W&&Z.length>0)return}else {if(R)return;let W=m.parentElement;if(W&&(W.textContent||"").trim().replace(/\s+/g," ").length>3)return}let _=uniqueSel(m),S=getNearbyContext(E||m),F=E&&E.getAttribute("href")||"",L=(E||m).outerHTML.slice(0,300),O=m.getAttribute("class")||"",H=m.getAttribute("data-icon")||"",$=E||m,V=$&&$!==m&&$.getAttribute("class")||"",M=typeof lookupIconLabel=="function"?lookupIconLabel(String(O),H,"")||lookupIconLabel(String(V),"",""):null,N=E?uniqueSel(E):_;g.push({selector:N,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(E||m).tagName?(E||m).tagName.toLowerCase():"svg",href:F,nearbyHeading:S.nearbyHeading,parentRole:S.parentRole,svgClasses:O,iconLib:M||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!M,fixValue:M||void 0,outerHtml:L});}),g},Vh={name:"svgNames",cap:50,async detect(f){return f.evaluate(kI)}};var TI=()=>{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 w(D,T){let C=Array.from(D.getClientRects()).filter(_=>_.height>0);if(!C.length)return false;let x=document.createTreeWalker(T,NodeFilter.SHOW_TEXT),R,E=0;for(;(R=x.nextNode())&&E<400;){E++;let _=R.parentElement;if(!_||D.contains(R)||!/[\p{L}\p{N}]{2,}/u.test(R.textContent||"")||_.closest(m))continue;let S=document.createRange();S.selectNodeContents(R);for(let F of Array.from(S.getClientRects()))if(!(F.width===0||F.height===0)){for(let L of C)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(h),b=[];for(let D of v){if(typeof isWidget=="function"&&isWidget(D)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(D)||typeof isVisible=="function"&&!isVisible(D)||!D.offsetParent&&D.tagName!=="BODY")continue;let T=D.getBoundingClientRect();T.width===0&&T.height===0||b.push({el:D,rect:T});}for(let{el:D,rect:T}of b){if(g.length>=50)break;let C=T.width,x=T.height;if(C>=24&&x>=24)continue;let R=D.parentElement;if(R&&getComputedStyle(D).display==="inline"){if(Array.from(R.childNodes).some(W=>W.nodeType===3&&(W.textContent||"").trim().length>3))continue;let N=R;for(;N&&N!==document.body&&getComputedStyle(N).display.startsWith("inline");)N=N.parentElement;if(N&&w(D,N))continue}let E=false,_=T.left+T.width/2,S=T.top+T.height/2;for(let M of b){if(M.el===D||M.el.contains(D)||D.contains(M.el))continue;if(M.rect.width<24||M.rect.height<24){let W=M.rect.left+M.rect.width/2,X=M.rect.top+M.rect.height/2;if(Math.hypot(_-W,S-X)<24){E=true;break}}else {let W=Math.max(M.rect.left-_,0,_-M.rect.right),X=Math.max(M.rect.top-S,0,S-M.rect.bottom);if(Math.hypot(W,X)<12){E=true;break}}}if(!E&&C>=1&&x>=1)continue;let L=Math.max(0,24-x),H=Math.ceil(L/2),$=[];$.push("min-width:24px"),$.push("min-height:24px"),$.push("display:inline-block"),$.push("box-sizing:border-box"),H>0&&$.push("padding-top:"+H+"px"),H>0&&$.push("padding-bottom:"+H+"px");let V=typeof uniqueSel=="function"?uniqueSel(D):D.tagName.toLowerCase();g.push({selector:V,attribute:"style",currentValue:Math.round(C)+"x"+Math.round(x)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${D.tagName.toLowerCase()} is ${Math.round(C)}x${Math.round(x)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:$.join(";")+";",outerHtml:D.outerHTML.slice(0,200)});}return g},jh={name:"targetSize",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=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,m=document.querySelectorAll('[style*="important" i]');for(let w of Array.from(m)){if(g.length>=30)break;if(w.closest(f))continue;let v=w.getAttribute("style")||"";if(!h.test(v))continue;let b=[];/line-height\s*:[^;!]*!important/i.test(v)&&b.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(v)&&b.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(v)&&b.push("word-spacing");let D=typeof uniqueSel=="function"?uniqueSel(w):"",T=typeof getNearbyContext=="function"?getNearbyContext(w):{parentTag:w.tagName.toLowerCase(),nearbyHeading:""},C=[];C.push("blocked: "+b.join(",")),C.push("tag: "+w.tagName.toLowerCase()),T.nearbyHeading&&C.push("heading: "+T.nearbyHeading),C.push("parent: "+T.parentTag),g.push({selector:D,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:C.join(" | "),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}return g},$h={name:"textSpacing",cap:30,async detect(f){return f.evaluate(RI)}};var FI=()=>{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 w=m,v=(w.getAttribute("aria-label")||"").trim(),b=w.getAttribute("aria-labelledby"),D=(w.getAttribute("title")||"").trim(),T=(w.getAttribute("value")||"").trim(),C=(w.textContent||"").trim().replace(/\s+/g," "),x="";b&&(x=typeof __resolveIdRefs=="function"?__resolveIdRefs(b):"");let R=w.querySelector('img[alt]:not([alt=""])'),E=w.querySelector("svg title"),_=w.querySelector("svg[aria-label]");if(!!(v||x||D||T||C||R||E||_))continue;let F=uniqueSel(w),L=getNearbyContext(w),O=w.closest("form"),H=O&&(O.getAttribute("id")||O.getAttribute("name"))||"",$=w.className||"",V=w.querySelector('i, svg, span[class*="icon"]'),M=V&&V.className||"",N=V&&V.getAttribute("data-icon")||"",W=V?(V.textContent||"").trim():"",X=typeof lookupIconLabel=="function"?lookupIconLabel(String(M),N,W):null,Z=!X&&typeof lookupIconLabel=="function"?lookupIconLabel(String($),"",""):null,ee=X||Z,ae=[];H&&ae.push("form: "+H),L.nearbyHeading&&ae.push("heading: "+L.nearbyHeading),M&&ae.push("icon: "+String(M).slice(0,80)),$&&ae.push("class: "+String($).slice(0,80)),ae.push("parent: "+L.parentTag),ee&&ae.push("icon-lib: "+ee),g.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ae.join(" | "),needsAI:!ee,fixValue:ee||void 0,outerHtml:w.outerHTML.slice(0,300)});}return g},zh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(FI)}};var II=()=>{let f=new Set(ALWAYS_VAGUE_WORDS),d=new Set(CONTEXT_VAGUE_WORDS),g={};function h(M,N){if(isWidget(M)||!isVisible(M))return;let W=getAccessibleName(M);if(!W)return;let X=(N?"b:":"a:")+W.toLowerCase().trim();g[X]=(g[X]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(M=>h(M,true)),document.querySelectorAll("a[href]").forEach(M=>h(M,false));let m=isIconClassToken,w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function v(M,N){return w.test(M)?1:N}let b=50,D=[];function T(M){if((M.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let W=M.querySelectorAll("i, span, em");for(let X of W)if((typeof X.className=="string"?X.className:"").split(/\s+/).some(m))return true;return false}function C(M){let N=M.className||"";return typeof N!="string"?false:N.split(/\s+/).some(m)}function x(M,N){if(D.length>=b||isWidget(M)||!isVisible(M))return;let W=getAccessibleName(M);if(!W)return;let X=W.toLowerCase().trim(),Z=false,ee=W.length>=2&&/^[A-Z][A-Z0-9]+$/.test(W.trim()),ae=!N&&/^[[(]?\d{1,4}[\])]?$/.test(W.trim());if(W.length<v(W,3)&&!ee&&!ae)Z=true;else if(f.has(X))Z=true;else if(d.has(X)&&(g[(N?"b:":"a:")+X]||0)>=2){let we=(M.getAttribute("aria-label")||"").trim().toLowerCase(),We=!!M.getAttribute("aria-labelledby")||!!we&&we!==X,Xe=M.querySelector&&M.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),He=Xe?(Xe.textContent||"").trim().toLowerCase():"";!We&&!(Xe&&He!==X)&&(Z=true);}else (T(M)||C(M)&&W.length===0)&&(M.getAttribute("aria-label")||M.getAttribute("aria-labelledby")||M.querySelector&&M.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(Z=true));if(!Z)return;let ge=getNearbyContext(M),ie=uniqueSel(M),Ae=M.getAttribute("href")||"",me=M.outerHTML.slice(0,300);D.push({selector:ie,attribute:"aria-label",currentValue:(M.getAttribute("aria-label")||"").trim(),message:(N?"weak button name: ":"weak link name: ")+(M.getAttribute("aria-label")||M.getAttribute("aria-labelledby")?`"${W}" is too generic for a control \u2014 add distinguishing context`:`text "${W}" is too generic for a control \u2014 add distinguishing context`),issueType:N?"weak_button_name":"weak_link_name",wcag:N?"4.1.2":"2.4.4",context:JSON.stringify({currentText:W,href:Ae,nearbyHeading:ge.nearbyHeading,parentTag:ge.parentTag,parentRole:ge.parentRole,cardText:ge.cardText||"",imgAlt:ge.imgAlt||""}),needsAI:true,outerHtml:me});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(M=>x(M,true)),document.querySelectorAll("a[href]").forEach(M=>x(M,false));let R=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,E=/^(iframe|embed|widget|frame|content|untitled)$/i,_=/^(skip|go|→|\->|main|content)$/i,S=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(M){return !!(!M||M.getAttribute("aria-hidden")==="true"||M.closest('[aria-hidden="true"]'))}function L(M,N,W,X,Z,ee){if(D.length>=b)return;let ae=uniqueSel(M),ge=(M.outerHTML||"").slice(0,300);D.push({selector:ae,attribute:N,currentValue:W,issueType:X,wcag:Z,context:JSON.stringify(ee),needsAI:true,outerHtml:ge});}let O=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let M=0;M<O.length&&!(D.length>=b);M++){let N=O[M];if(!N||isWidget(N)||F(N)||!isVisible(N))continue;let W=getAccessibleName(N);if(!W)continue;let X=W.toLowerCase().trim(),Z=X.split(/\s+/).filter(Boolean),ee=false;if((W.length<v(W,3)||Z.length===1&&(f.has(X)||S.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(W))&&(ee=true),!ee)continue;let ae=getNearbyContext(N);L(N,"textContent",W,"weak_heading","2.4.6",{currentText:W,tag:N.tagName.toLowerCase(),nearbyHeading:ae.nearbyHeading,parentTag:ae.parentTag,parentRole:ae.parentRole});}let H=document.querySelectorAll("iframe");for(let M=0;M<H.length&&!(D.length>=b);M++){let N=H[M];if(!N||isWidget(N)||F(N))continue;let W=getComputedStyle(N);if(N.getClientRects().length===0||W.visibility==="hidden"||W.visibility==="collapse"||(N.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let X=(N.getAttribute("title")||"").trim();if(!X)continue;let Z=X.toLowerCase(),ee=false;if((X.length<v(X,3)||E.test(Z)||f.has(Z))&&(ee=true),!ee)continue;let ae=(N.getAttribute("src")||"").slice(0,120),ge=getNearbyContext(N);L(N,"title",X,"weak_iframe_title","4.1.2",{currentTitle:X,src:ae,nearbyHeading:ge.nearbyHeading,parentTag:ge.parentTag});}if(D.length<b){let M=document.querySelector("head > title, title"),N=(document.title||"").trim();if(M&&N){let W=N.toLowerCase(),X=false;(N.length<v(N,5)||R.test(W)||/^untitled/i.test(N))&&(X=true),X&&D.push({selector:"title",attribute:"textContent",currentValue:N,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:N,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(M.outerHTML||"").slice(0,300)});}}let $=document.querySelectorAll("svg");for(let M=0;M<$.length&&!(D.length>=b);M++){let N=$[M];if(!N||isWidget(N)||F(N)||N.getAttribute("role")==="presentation"||N.getAttribute("role")==="none"||!isVisible(N))continue;let W=N.querySelector("title"),X=W?(W.textContent||"").trim():"",Z=(N.getAttribute("aria-label")||"").trim(),ee=Z||X;if(!ee)continue;let ae=ee.toLowerCase(),ge=false;if((ee.length<v(ee,3)||f.has(ae)||/^(icon|svg|image|graphic|logo)$/i.test(ee))&&(ge=true),!ge)continue;let ie=N.closest('a, button, [role="button"], [role="link"]'),Ae=getNearbyContext(N);L(N,Z?"aria-label":"title",ee,"weak_svg_name","1.1.1",{currentName:ee,svgClasses:N.getAttribute("class")||"",parentTag:ie?ie.tagName.toLowerCase():Ae.parentTag,parentHref:ie&&ie.getAttribute("href")||"",nearbyHeading:Ae.nearbyHeading});}let V=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 M=0;M<V.length&&!(D.length>=b);M++){let N=V[M];if(!N||isWidget(N)||F(N))continue;let W=getAccessibleName(N);if(!W)continue;let X=W.toLowerCase().trim(),Z=false;if((W.length<v(W,4)||_.test(X)||X==="skip"||X==="skip link"||X==="jump")&&(Z=true),!Z)continue;let ee=N.getAttribute("href")||"";D.push({selector:uniqueSel(N),attribute:"textContent",currentValue:W,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:W,href:ee}),needsAI:false,fixValue:"Skip to main content",outerHtml:(N.outerHTML||"").slice(0,300)});}return D},Gh={name:"weakNames",cap:50,async detect(f){return f.evaluate(II)}};var LI=()=>{let d=[],g=document.querySelector('meta[name="viewport"]');if(g){let m=(g.getAttribute("content")||"").trim(),w=m.toLowerCase(),v=false,b=[];(w.indexOf("user-scalable=no")>=0||w.indexOf("user-scalable=0")>=0)&&(v=true,b.push("user-scalable=no blocks pinch-zoom"));let D=w.match(/maximum-scale\s*=\s*([\d.]+)/);D&&parseFloat(D[1])<2&&(v=true,b.push("maximum-scale="+D[1]+" (<2)")),v&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+b.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 w=h[m];if(w.el)try{let b=(getComputedStyle(w.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(b==="none"||b==="pinch-zoom")&&d.push({selector:w.selector,attribute:"style",currentValue:"touch-action: "+b,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+b+" on <"+w.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Uh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(LI)}};var PI=()=>{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 w=d[m];if(g.has(w)||!w.offsetParent)continue;g.add(w);let v=getComputedStyle(w),b=parseInt(v.order||"0",10),D=v.position;if(b>=3){let T=w.getBoundingClientRect();if(T.width>0&&T.height>0){let C=(w.textContent?.trim().length||0)>10,x=!!w.querySelector("a, button, input, select, textarea");(C||x)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${b}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${b} \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(D==="absolute"){if(!!!w.querySelector("a, button, input, select, textarea"))continue;let C=w.parentElement;if(!C||C.children.length<=2)continue;let x=w.getBoundingClientRect(),R=C.getBoundingClientRect();(x.top<R.top-100||x.left<R.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${D}, displaced ${Math.round(Math.abs(x.top-R.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},Wh={name:"meaningfulSequence",async detect(f){return f.evaluate(PI)}};var Xh={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"]'),w=Math.min(m.length,300);for(let v=0;v<w;v++){let b=m[v];if(!b.offsetParent||b.children.length>3)continue;let D=b.textContent?.trim()||"";D.length<15||D.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(D)&&h.push({text:D,selector:typeof uniqueSel=="function"?uniqueSel(b):b.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),b=/\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),D=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(h)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(h),T=/\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||b||D||T){let C=v?"shape":b?"position":D?"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 ${C} 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 MI=()=>{let f=[];for(let d of document.styleSheets)try{for(let g of d.cssRules)if(g instanceof CSSMediaRule){let h=g.conditionText||g.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(h))for(let m of g.cssRules){let w=m.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(w)&&f.push({selector:"html",attribute:"data-orientation-lock",currentValue:h,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${h}" 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 f},Yh={name:"orientation",async detect(f){return f.evaluate(MI)}};var OI=()=>{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(","),w=(h.toLowerCase().startsWith("data:")&&m!==-1?h.slice(0,m):h).toLowerCase(),v=g.getAttribute("alt")||"",b=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||b==="presentation"||b==="none"||g.hasAttribute("alt")&&v.trim()==="")continue;let T=g.width>200&&g.height<80&&g.height>15,C=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(w);if(!(C||T)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(w)&&!C)continue;let R=g.closest("a[href]"),E=(()=>{if(!R)return false;let V=R.getAttribute("href")||"";if(V==="/"||V==="")return true;try{let M=new URL(R.href,location.href);return M.origin!==location.origin?!1:!!(M.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(M.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(M.pathname))}catch{return false}})();if(E&&(R.textContent||"").trim().length===0)continue;let S="";if(R&&!E&&(R.textContent||"").trim().length===0)try{let V=new URL(R.href,location.href),M=v.trim().split(/\s+/).filter(Boolean);if(V.origin!==location.origin&&/^https?:$/.test(V.protocol)&&M.length>0&&M.length<=4&&v.trim().length<=40){let N=ae=>ae.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),W=N(v),X=V.hostname.toLowerCase().split(".").filter(ae=>ae&&ae!=="www"),Z=(X.length>1?X.slice(0,-1):X).map(N).filter(Boolean);S=W.length>=3&&(W===N(X.join(""))||W===Z.join("")||Z.some(ae=>W===ae||ae.length>=5&&W.startsWith(ae)))?"exempt":"review";}}catch{}let F=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),L=g.height>0&&g.height<=120,O=F&&L,H=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,$=O||H.test(w)||H.test(g.className)||H.test(g.id||"");w.includes("icon")||w.includes("avatar")||w.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:w.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...$||S?{needsReview:true,reviewReason:O?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":S==="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":S==="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},Kh={name:"imagesOfText",async detect(f){return f.evaluate(OI)}};var Jh={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 b=[],D=document.querySelectorAll("body *"),T=Math.min(D.length,500);for(let C=0;C<T;C++){let x=D[C];if(!x.offsetParent)continue;let R=x.tagName.toLowerCase();if(R==="script"||R==="style"||R==="noscript")continue;let E=x.getBoundingClientRect();E.right>v+5&&E.width>v*1.1&&b.push({selector:typeof uniqueSel=="function"?uniqueSel(x):R,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&&b.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"}),b},320)}finally{await d.setViewport({width:h,height:m}).catch(()=>{});}}};var NI=()=>{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 w=h.getBoundingClientRect();if(w.width===0&&w.height===0||h.error)continue;let v=/mute|unmute|sound|volume|audio|play|pause/i,b=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.id&&!!document.querySelector('[aria-controls~="'+h.id.replace(/"/g,"")+'"]');for(let E=h.parentElement?.parentElement||null,_=0;E&&!b&&_<3;E=E.parentElement,_++)b=Array.from(E.querySelectorAll('button, [role="button"]')).some(S=>v.test((S.getAttribute("aria-label")||"")+" "+(S.getAttribute("title")||"")+" "+(S.textContent||"")));if((h.muted||h.hasAttribute("muted"))&&(h.loop||h.hasAttribute("loop"))&&!h.hasAttribute("controls")&&!b)continue;let D=h.querySelectorAll("track"),T=Array.from(D).find(E=>E.kind==="captions"||E.kind==="subtitles"),C=Array.from(D).find(E=>E.kind==="descriptions");h.src||h.querySelector("source")?.src||"";let R=typeof uniqueSel=="function"?uniqueSel(h):"video";T||f.push({selector:R,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)"}),C||f.push({selector:R,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},Zh={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(NI)).slice(0,50)}};var qI=()=>{let f=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let F=d.getAttribute("content")||"",L=parseInt(F,10);!isNaN(L)&&L>0&&L<72e3&&f.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 g=document.querySelectorAll("[accesskey]");for(let F of g){let L=F.getAttribute("accesskey")||"";if(L.length===1){let O=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();f.push({selector:O,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 h=document.querySelectorAll("select");for(let F of h){let L=F.hasAttribute("onchange"),O=F.getAttribute("onchange")||"";if(L&&/submit|location|href|navigate|window\./i.test(O)){let H=typeof uniqueSel=="function"?uniqueSel(F):"select";f.push({selector:H,attribute:"onchange",currentValue:O.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 F of m)if(!(F.hasAttribute("onclick")||F.hasAttribute("onkeydown")||F.hasAttribute("onkeyup"))){let O=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();f.push({selector:O,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let w=document.querySelectorAll("[onmousedown]");for(let F of w){let L=F.hasAttribute("onmouseup"),O=F.tagName.toLowerCase();if(!L&&O!=="a"&&O!=="button"&&O!=="input"){let H=typeof uniqueSel=="function"?uniqueSel(F):O;f.push({selector:H,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)){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 b=document.querySelectorAll("form"),D='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',T=/\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,C=/card|payment/i,x=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,R=/\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,_=/\b(?:save|update|change)\b/i,S=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let F of b){let L=Array.from(F.querySelectorAll(D)),O=Me=>[Me.getAttribute("name"),Me.id,Me.getAttribute("autocomplete"),Me.getAttribute("placeholder"),Me.getAttribute("aria-label")].join(" "),H=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(" . "),$=L.some(Me=>T.test(O(Me)))||Array.from(F.querySelectorAll("iframe")).some(Me=>C.test((Me.getAttribute("title")||"")+" "+(Me.getAttribute("name")||""))),V=L.some(Me=>/signature/i.test(O(Me))),M=$||x.test(H),N=R.test(H),W=V||E.test(H),X=L.length>0&&L.some(Me=>(Me.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(O(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"?S.test(O(Me)+" "+(Me.closest("label")?.textContent||"")):false}),Z=(F.textContent||"").toLowerCase(),ee=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Z),ae=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Z),ge=/delete.*account|remove.*data|cancel.*account/i.test(Z),ie=M||N||W,Ae=X&&(_.test(H)||ge),me=!ie&&(!X&&(ee||ae||ge)||Ae);if(!ie&&!me)continue;let we=!!F.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),We=!!F.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(we||We)continue;let Xe=typeof uniqueSel=="function"?uniqueSel(F):"form",He=ie?M?"financial":N?"data-deletion":"legal":Ae?ge?"data-deletion":"data-modification":ee?"financial":ae?"legal":"data-deletion";f.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:Ae&&ge?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Ae?"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 f},Qh={name:"timingAndInput",async detect(f){return f.evaluate(qI)}};var BI=()=>{let f=[],d=S=>S.replace(/\/$/,"").replace(/\.html?$/,""),g=d(location.pathname),h=new Set;for(let S of Array.from(document.querySelectorAll("a[href]"))){let F;try{F=new URL(S.getAttribute("href")||"",location.href);}catch{continue}F.origin!==location.origin||d(F.pathname)===g||/\.(pdf|zip|docx?|xlsx?|pptx?|png|jpe?g|gif|svg|mp4|mp3)$/i.test(F.pathname)||h.add(d(F.pathname));}let m=5,w=!!document.querySelector('nav, [role="navigation"]')||h.size>=m,b=Array.from(document.querySelectorAll('button, a[href], [role="button"], [role="link"], [role="searchbox"], [role="combobox"]')).some(S=>{let F=S.cloneNode(true);return F.querySelectorAll("kbd").forEach(O=>O.remove()),[S.getAttribute("aria-label")||"",S.getAttribute("title")||"",F.textContent||""].some(O=>/^\s*(quick\s+|site\s+)?search(\s*(\u2026|\.\.\.)|\s+(docs|documentation|the site|this site))?\s*$/i.test(O))})||!!document.querySelector('input[type="search"], [role="search"], search, form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),D=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),T=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),C=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),x=[w,b,D,T,C].filter(Boolean).length;if(x<2&&document.querySelectorAll("a[href]").length>20){let S=[];b||S.push("search"),D||S.push("sitemap link"),T||S.push("breadcrumbs");let F=h.size<m;f.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${x} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${x} way(s) to navigate and links to ${h.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: ${S.join(", ")}.`,needsAI:false,fixValue:`Add ${S[0]||"additional navigation method"}`,...F?{needsReview:true,reviewReason:`links to only ${h.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 R=document.querySelectorAll('nav, [role="navigation"]');for(let S of R){if(!S.offsetParent||S.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||S.parentElement?.closest('nav, [role="navigation"]'))continue;let F=S.getBoundingClientRect();if(F.top<=window.innerHeight)continue;let L=typeof uniqueSel=="function"?uniqueSel(S):"nav";f.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 S of E){if(!S.offsetParent)continue;let F=S.getBoundingClientRect();if(F.width<1||F.height<1||!(S.textContent||"").trim()&&!S.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(S).backgroundImage==="none")continue;let L=typeof uniqueSel=="function"?uniqueSel(S):S.tagName.toLowerCase();f.push({selector:L,attribute:"data-flashing",currentValue:S.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 _=document.querySelectorAll('img[src*=".gif"]');for(let S of _){if(!S.offsetParent||S.width<25||S.height<25)continue;let F=S.getBoundingClientRect();if(F.width>100&&F.height>100){let L=typeof uniqueSel=="function"?uniqueSel(S):"img";f.push({selector:L,attribute:"data-animated-gif",currentValue:(S.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},eg={name:"navigationAndWayfinding",async detect(f){return f.evaluate(BI)}};var tg={name:"flashDetection",async detect(f){let d=[];if(!f.screenshot)return d;let h=await f.evaluate(()=>{let C=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(C){let x=document.querySelectorAll("*");for(let R of x)R.style.removeProperty("animation-play-state"),R.style.removeProperty("transition");}return C}),m=8,w=120,v=9,b=3,D=[];for(let T=0;T<m;T++){let C=await f.evaluate(x=>{let R=window.innerWidth,E=window.innerHeight,_=3,S=3,F=[];for(let L=0;L<S;L++)for(let O=0;O<_;O++){let H=Math.floor((O+.5)*(R/_)),$=Math.floor((L+.5)*(E/S)),V=document.elementFromPoint(H,$);if(!V){F.push(0);continue}let N=getComputedStyle(V).backgroundColor||"rgba(0,0,0,0)",W=typeof parseCssColor=="function"?parseCssColor(N):null;if(!W){F.push(0);continue}let X=.2126*W[0]+.7152*W[1]+.0722*W[2];F.push(X);}return F},v);D.push(C),T<m-1&&await new Promise(x=>setTimeout(x,w));}h&&await f.evaluate(()=>{let T=document.querySelectorAll("*");for(let C of T)C.style.setProperty("animation-play-state","paused","important"),C.style.setProperty("transition","none","important");});for(let T=0;T<v;T++){let C=0,x=D[0][T],R=null;for(let S=1;S<m;S++){let F=D[S][T];if(Math.abs(F-x)>25){let O=F>x?"up":"down";R&&O!==R&&C++,R=O;}x=F;}let E=m*w/1e3,_=C/E;if(_>=b){let S=T%3,F=Math.floor(T/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${_.toFixed(1)} flashes/sec in region (${S},${F})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${_.toFixed(1)} times/second in screen region (row ${F}, col ${S}). 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 rg={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 b of v.cssRules){let D=b.cssText||"";/animation|transition|@keyframes/i.test(D)&&!/prefers-reduced-motion/.test(D)&&(h=!0),b instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(b.conditionText||b.media?.mediaText||"")&&(m=!0);}}catch{}let w=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return w.length>0&&(h=true),{hasAnimations:h,hasReducedMotionQuery:m,animatedCount:w.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 tL=[Gh,Th,mh,Vh,J1,K1,Dh,vh,hh,gh,jh,ah,Ih,uh,zh,kh,ch,sh,Oh,Z1,Sh,bh,lh,oh,Ah,ph,Ch,yh,wh,Uh,eh,_h,Mh,th,rh,xh,Lh,$h,Fh,nh,Rh,ih,Nh,qh,Bh,Hh,Q1,Eh,Ph,Wh,Xh,Yh,Kh,Jh,Zh,Qh,eg,tg,rg];async function ug(f,d,g,h){let m=d??[];try{let{UNIQUE_SELECTOR_JS:R,IS_VISIBLE_JS:E,ACCESSIBLE_NAME_JS:_,WIDGET_SKIP_JS:S,IS_HIDDEN_FROM_AT_JS:F,IS_TRACKING_PIXEL_JS:L,NEARBY_CONTEXT_JS:O}=await Promise.resolve().then(()=>(mu(),pu)),{ICON_LABELS_JS:H}=await Promise.resolve().then(()=>(ag(),ng)),{COLOR_MATH_JS:$}=await Promise.resolve().then(()=>(og(),ig)),M=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
-
`+[R,E,_,S,F,L,O,H,$].join(`
|
|
382
|
-
`);try{await f.addScriptTag({content:M});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(M)})`);}}catch(R){console.warn("[webability] helper injection failed:",R.message),(g??[]).push("color:kernel-injection-failed");}let w=[];try{let{detectPlatform:R,applyPlatformTemplates:E}=await Promise.resolve().then(()=>(lg(),sg)),_=await R(f);w=await E(f,_);}catch{}let v=await Promise.allSettled(tL.map(async R=>{try{let E=await R.detect(f);return R.cap&&E.length>=R.cap&&m.push({detector:R.name,cap:R.cap}),E}catch{return []}})),b=[];for(let R of [fh,dh])try{let E=await R.detect(f);R.cap&&E.length>=R.cap&&m.push({detector:R.name,cap:R.cap}),b=b.concat(E);}catch{}let D=[...v.flatMap(R=>R.status==="fulfilled"?R.value:[]),...b],T=[...w,...D],C=rL(T),x=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return C.filter(R=>{let E=R.selector.toLowerCase();return E.trim()?!x.some(_=>E.includes(_)):false})}function rL(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 cg="1.8.0";async function pg(f,d){try{let{AxeBuilder:g}=await import('@axe-core/playwright');return await new g({page:f}).withTags(d).analyze()}catch{return nL(f,d)}}async function nL(f,d){let g=await Promise.resolve().then(()=>N3(fg())),h=g.source??g.default?.source;if(!h)throw new Error("axe-core source unavailable");return await f.addScriptTag({content:h}),await f.evaluate(w=>new Promise((v,b)=>{let D=window;if(!D.axe)return b(new Error("axe-core not loaded"));D.axe.run(document,{runOnly:{type:"tag",values:w},resultTypes:["violations","incomplete"]}).then(v).catch(b);}),d)}function gu(f){let d=[],g=[];for(let h of f)h.confidence==="needs_review"||iL(h)?g.push(h):d.push(aL(h));return {verdicts:d,undecided:g}}function aL(f){if(f.confidence===void 0&&f.reviewReason===void 0)return f;let{confidence:d,reviewReason:g,...h}=f;return h}function iL(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")&&oL(h))return "background uses gradient or image";if(d==="image_of_text"||g==="1.4.5"){let w=mg(h,"src").toLowerCase();w.startsWith("data:")&&(w=w.split(",")[0]);let v=mg(h,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(w))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 oL(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function mg(f,d){let g=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),h=f.match(g);return h?h[1]:""}var sL=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),lL="*,*::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 uL(f){let{selectors:d,maxBoxes:g,maxW:h,maxH:m,maxArea:w}=f,v=document.documentElement.scrollWidth,b=document.documentElement.scrollHeight,D=document.createElement("canvas");D.width=D.height=1;let T=D.getContext("2d",{willReadFrequently:true}),C=F=>{try{T.clearRect(0,0,1,1),T.fillStyle="#000",T.fillStyle=F,T.fillRect(0,0,1,1);let L=T.getImageData(0,0,1,1).data;return [L[0],L[1],L[2],L[3]]}catch{return null}},x={},R=document.querySelectorAll("video,canvas,iframe,embed,object");if(R.length>200){for(let F of d)x[F]=null;return x}let E=Array.from(R).map(F=>F.getBoundingClientRect()),_=window.scrollX,S=window.scrollY;for(let F of d){x[F]=null;let L=null;try{L=document.querySelector(F);}catch{continue}if(!L)continue;let O=getComputedStyle(L);if(O.visibility!=="visible"||O.display==="none"||O.webkitBackgroundClip==="text"||O.backgroundClip==="text")continue;let H=false,$=0;for(let me=L;me;me=me.parentElement){if(++$>64){H=true;break}let we=getComputedStyle(me);parseFloat(we.opacity)<1&&(H=true),(we.transform!=="none"||we.mixBlendMode!=="normal"||we.filter!=="none")&&(H=true);}if(H)continue;let V=C(O.color);if(!V||V[3]<255)continue;let M=parseFloat(O.fontSize),N=parseInt(O.fontWeight,10)>=700,W=M>=24||N&&M>=18.66,X=[],Z=L.getBoundingClientRect();if(Z.height>m*g||Z.width>h*2)continue;let ee=document.createTreeWalker(L,NodeFilter.SHOW_TEXT),ae,ge=0,ie=false;for(;!ie&&(ae=ee.nextNode());){if(++ge>50){ie=true;break}if(ae.parentElement!==L)continue;let me=ae.textContent||"";if(me.length>2e3){ie=true;break}if(!me.trim())continue;let we=document.createRange();we.selectNodeContents(ae);let We=we.getClientRects();if(We.length>g){ie=true;break}for(let Xe=0;Xe<We.length;Xe++){let He=We[Xe];if(!(He.width<2||He.height<2)&&(X.push({x:Math.round(He.left+_),y:Math.round(He.top+S),w:Math.max(1,Math.round(He.width)),h:Math.max(1,Math.round(He.height))}),X.length>g)){ie=true;break}}}ie||X.length===0||X.length>g||X.some(me=>me.w>h||me.h>m||me.w*me.h>w||me.x<0||me.y<0||me.x+me.w>v||me.y+me.h>b)||X.some(me=>E.some(we=>me.x<we.right+_&&me.x+me.w>we.left+_&&me.y<we.bottom+S&&me.y+me.h>we.top+S))||(x[F]={fg:`rgb(${V[0]},${V[1]},${V[2]})`,threshold:W?3:4.5,boxes:X});}return x}async function cL(f){let{b64:d,fg:g}=f,h=atob(d),m=new Uint8Array(h.length);for(let H=0;H<h.length;H++)m[H]=h.charCodeAt(H);let w=await createImageBitmap(new Blob([m],{type:"image/png"})),v=document.createElement("canvas");v.width=w.width,v.height=w.height;let b=v.getContext("2d",{willReadFrequently:true});b.drawImage(w,0,0);let D=b.getImageData(0,0,v.width,v.height).data,T=H=>{let $=H/255;return $<=.03928?$/12.92:Math.pow(($+.055)/1.055,2.4)},C=(H,$,V)=>.2126*T(H)+.7152*T($)+.0722*T(V),x=g.match(/\d+/g).map(Number),R=C(x[0],x[1],x[2]),E=Math.max(1,Math.floor(Math.sqrt(v.width*v.height/1500))),_=0,S=1/0,F="",L="",O=0;for(let H=0;H<v.height;H+=E)for(let $=0;$<v.width;$+=E){let V=(H*v.width+$)*4;if(D[V+3]<255)continue;let M=C(D[V],D[V+1],D[V+2]),N=Math.max(R,M),W=Math.min(R,M),X=(N+.05)/(W+.05);X>_&&(_=X,L=`rgb(${D[V]},${D[V+1]},${D[V+2]})`),X<S&&(S=X,F=`rgb(${D[V]},${D[V+1]},${D[V+2]})`),O++;}return O===0?null:{best:_,worst:S,worstBg:F,bestBg:L}}var Io=class extends Error{};function $a(f,d){let g=d-Date.now();if(g<=0)return Promise.reject(new Io("pixel pass deadline"));let h,m=new Promise((w,v)=>{h=setTimeout(()=>v(new Io("pixel pass deadline")),g);});return Promise.race([f,m]).finally(()=>clearTimeout(h))}async function vu(f,d){let g=f.screenshot;if(typeof g!="function"||d.length===0)return [];let h=Array.from(new Set(d)).slice(0,60),m=[],w=false,v=Date.now()+8e3;try{await $a(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),v);let b=await $a(f.evaluate(uL,{selectors:h,maxBoxes:3,maxW:1200,maxH:300,maxArea:2e5}),v);await $a(f.evaluate(T=>{let C=document.createElement("style");C.setAttribute("data-wa-contrast-probe",""),C.textContent=T,document.documentElement.appendChild(C);},lL),v),w=!0;let D=0;for(let T of h){let C=b[T];if(!C)continue;if(Date.now()>v||D+C.boxes.length>120)break;let x=0,R=1/0,E="",_="",S=!0;for(let F of C.boxes){D++;let L=await $a(g.call(f,{clip:{x:F.x,y:F.y,width:F.w,height:F.h},fullPage:!0,type:"png",animations:"disabled"}),v),O=globalThis.Buffer,H=O?O.from(L).toString("base64"):"",$=await $a(f.evaluate(cL,{b64:H,fg:C.fg}),v);if(!$){S=!1;break}$.best>x&&(x=$.best,_=$.bestBg),$.worst<R&&(R=$.worst,E=$.worstBg);}S&&m.push({selector:T,fail:x<C.threshold*.97,bestRatio:x,worstRatio:R,...E?{worstBg:E}:{},..._?{bestBg:_}:{},threshold:C.threshold,fg:C.fg});}}catch(b){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",b);}finally{if(w)try{await Promise.race([f.evaluate(()=>document.querySelectorAll("style[data-wa-contrast-probe]").forEach(b=>b.remove())),new Promise(b=>setTimeout(b,1e3))]);}catch{}}return m}function dL(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 hg(f,d,g,h){let m=d.filter(T=>T.wcag!=="1.4.3"||!T.selector?false:T.source==="axe-core"?sL.has(g.get(T.id)??""):T.type==="contrast_insufficient"&&/gradient or image/.test(T.reviewReason??""));if(m.length===0)return [];let w=await vu(f,m.map(T=>T.selector));if(h)for(let T of w)h.set(T.selector,T);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${w.length} measured, ${w.filter(T=>T.fail).length} fail`);let v=new Map(w.filter(T=>T.fail).map(T=>[T.selector,T])),b=[],D=new Set;for(let T of m){let C=v.get(T.selector);!C||D.has(T.selector)||(D.add(T.selector),b.push(dL(T,C)));}return b}Lo();function vL(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 _u(f){let d=f/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function bg(f,d,g){return .2126*_u(f)+.7152*_u(d)+.0722*_u(g)}function bL(f,d){let g=Math.max(f,d),h=Math.min(f,d);return (g+.05)/(h+.05)}function yg(f){if(f.startsWith("#"))return vL(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 xn(f,d){let g=yg(f),h=yg(d);return !g||!h?0:bL(bg(...g),bg(...h))}var yL=30,wL=10,xL=2e4,DL=30,_L="https://openrouter.ai/api/v1",AL="anthropic/claude-haiku-4.5",EL="deepseek/deepseek-v4-flash",wg=400,xg=125,Au=160,CL=2e3,Po=new Map;function SL(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 Eu=f=>f.wcag||f.type,Dg=(f,d,g)=>`${f}|${d.selector}|${Eu(d)}|${SL(g)}`,_g=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function kL(f){let{selectors:d,maxHtml:g}=f,h={elements:{}},m=[],w=F=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(F)&&!/^\s*not\b/i.test(F),v=F=>{let L=F.split(",").map(O=>O.trim()).filter(Boolean);return L.length?L.every(O=>{let H=O.match(/^(-?[\d.]+)(ms|s)$/i);return H?parseFloat(H[1])*(H[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},b=(F,L,O)=>{if(!(O>8))for(let H of Array.from(F)){let $=H.media?.mediaText,V=L||typeof $=="string"&&w($),M=H.style,N=H.selectorText;if(V&&M&&typeof N=="string"){let Z=M.getPropertyValue("animation-name").trim(),ee=/^none(\s*,\s*none)*$/i.test(Z)||v(M.getPropertyValue("animation-duration"))||/^paused/i.test(M.getPropertyValue("animation-play-state").trim()),ae=/^none(\s*,\s*none)*$/i.test(M.getPropertyValue("transition-property").trim())||v(M.getPropertyValue("transition-duration"));(ee||ae)&&m.push({selector:N,anim:ee,trans:ae});}let W=H.cssRules;W&&W.length&&b(W,V,O+1);let X=H.styleSheet;if(X)try{b(X.cssRules,V||w(H.media?.mediaText||""),O+1);}catch{}}};try{for(let F of Array.from(document.styleSheets))try{b(F.cssRules,w(F.media?.mediaText||""),0);}catch{}}catch{}let D=(F,L)=>{try{return F.matches(L)}catch{return false}},T=F=>F.split(",").map(L=>{let O=L.trim().match(/^(-?[\d.]+)(ms|s)$/i);return O?parseFloat(O[1])*(O[2].toLowerCase()==="s"?1e3:1):0}),C=F=>{let L=F.cloneNode(true);L.querySelectorAll("script, style").forEach(H=>H.remove());let O=(L.textContent||"").replace(/\s+/g," ").trim();if(!O){for(let H of Array.from(F.querySelectorAll("img[alt], [aria-label]")))if(O=(H.getAttribute("alt")||H.getAttribute("aria-label")||"").trim(),O)break}return O},x=F=>{let L=(F.getAttribute("aria-label")||"").trim();if(L)return L;let H=(F.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(M=>{let N=document.getElementById(M);return N?(N.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(H)return H;let $=C(F);if($)return $;let V=F instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(F.type)?(F.value||F.alt||"").trim():"";return V||(F.getAttribute("title")||"").trim()},R='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',E=window.scrollX||0,_=window.scrollY||0,S=[];for(let F of d){let L=null;try{L=document.querySelector(F);}catch{}if(!L){h.elements[F]={found:false};continue}let O=S.indexOf(L);O<0&&(O=S.push(L)-1);let H=getComputedStyle(L),$=L.getBoundingClientRect(),V=L.tagName.toLowerCase(),M={found:true,elementKey:O,tag:V,html:(L.outerHTML||"").slice(0,g),rect:{x:$.left+E,y:$.top+_,w:$.width,h:$.height},role:(L.getAttribute("role")||"").toLowerCase(),ariaHidden:L.getAttribute("aria-hidden")==="true"||!!L.closest('[aria-hidden="true"]'),hidden:H.display==="none"||H.visibility==="hidden"||!!L.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(H.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:H.color,bg:H.backgroundColor,fontSize:parseFloat(H.fontSize)||0,fontWeight:parseInt(H.fontWeight,10)||400};if(V==="img"){let X=L;M.img={src:(X.currentSrc||X.getAttribute("src")||"").slice(0,300),alt:X.getAttribute("alt"),naturalW:X.naturalWidth||0,naturalH:X.naturalHeight||0,attrW:parseInt(X.getAttribute("width")||"0",10)||0,attrH:parseInt(X.getAttribute("height")||"0",10)||0};}if(M.cssBackgroundImage){let X=L.closest(R);X&&(M.control={tag:X.tagName.toLowerCase(),name:x(X).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(V)){let X=H.animationName.split(",").some(ie=>ie.trim()&&ie.trim()!=="none")&&T(H.animationDuration).some(ie=>ie>10),Z=T(H.transitionDuration).some(ie=>ie>10)&&H.transitionProperty.trim()!=="none",ee=m.filter(ie=>D(L,ie.selector)),ae=!X||ee.some(ie=>ie.anim),ge=!Z||ee.some(ie=>ie.trans);M.reducedMotionHandled=(X||Z)&&ae&≥}let N=L.closest('a[href], button, [role="button"], [role="link"]');if(N&&N!==L){let X=N.cloneNode(true);X.querySelectorAll("img, svg").forEach(ae=>ae.remove());let Z=(X.textContent||"").replace(/\s+/g," ").trim(),ee=(N.getAttribute("aria-label")||"").trim();M.parentInteractive={tag:N.tagName.toLowerCase(),text:(Z||ee).slice(0,120)};}let W=L.parentElement;if(W){let X=W.cloneNode(true);X.querySelectorAll("script, style").forEach(Z=>Z.remove()),M.nearText=(X.textContent||"").replace(/\s+/g," ").trim().slice(0,240);}h.elements[F]=M;}return h}function TL(f,d){let g=(f.type||"").toLowerCase(),h=f.wcag||"";return 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 Cu(f){return !!f&&f.tag!=="img"&&f.cssBackgroundImage&&!f.img}var RL=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function FL(f){let d=String(f??"").replace(/\s+/g," ").replace(RL,"judged").trim();if(d.length<=Au)return d;let g=d.slice(0,Au-1),h=g.lastIndexOf(" ");return (h>Au/2?g.slice(0,h):g).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function IL(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>xg){d=d.slice(0,xg);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 Gn(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 Eg=/^#?([0-9a-f]{6})$/i;function LL(f){let d=String(f??"").trim().match(Eg);return d?"#"+d[1].toLowerCase():null}function PL(f){let{confidence:d,reviewReason:g,...h}=f;return {...h,id:f.id.replace("axe-incomplete-","axe-")}}function ML(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:w,reason:v,fix:b}=h;if(typeof m!="string"||w!=="pass"&&w!=="violation")continue;let D=b&&typeof b=="object"?b:void 0;g.push({id:m,verdict:w,reason:typeof v=="string"?v:void 0,fix:D?{attribute:typeof D.attribute=="string"?D.attribute:void 0,value:typeof D.value=="string"?D.value:void 0}:void 0});}return g}var Ya=class extends Error{},OL=`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.
|
|
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.
|
|
383
381
|
|
|
384
382
|
Rules:
|
|
385
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.
|
|
386
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.
|
|
387
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".
|
|
388
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.
|
|
389
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.
|
|
390
392
|
- Be strict: "pass" only when confident the finding is not a real barrier.
|
|
391
393
|
|
|
392
394
|
Respond with ONLY a JSON array, one object per item, same ids:
|
|
393
395
|
[{"id": "...", "verdict": "pass" | "violation", "reason": "one sentence", "fix": {"attribute": "...", "value": "..."}}]
|
|
394
|
-
Omit "fix" for passes.`;function
|
|
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}
|
|
395
397
|
Conformance level: ${f.level}
|
|
396
398
|
|
|
397
399
|
Findings:
|
|
398
|
-
${JSON.stringify(d,null,1)}`}function qL(f){let d=(f.baseUrl||_L).replace(/\/+$/,"");return async(g,h)=>{let m=g.vision&&g.items.some(C=>C.screenshot),w=m?f.visionModel||AL:f.textModel||EL,v=[{type:"text",text:NL(g)}];if(m)for(let C of g.items)C.screenshot&&(v.push({type:"text",text:`Crop for ${C.id}:`}),v.push({type:"image_url",image_url:{url:`data:image/png;base64,${C.screenshot}`}}));let b=await fetch(`${d}/chat/completions`,{method:"POST",signal:h,headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify({model:w,temperature:0,max_tokens:4096,messages:[{role:"system",content:OL},{role:"user",content:v}]})});if(!b.ok)throw new Ya(`judge model HTTP ${b.status}`);let T=(await b.json()).choices?.[0]?.message?.content;if(typeof T=="string")return T;if(Array.isArray(T))return T.map(C=>typeof C?.text=="string"?C.text:"").join("");throw new Error("judge model returned no content")}}function BL(f){let d=f.apiUrl.replace(/\/+$/,"");return async(g,h)=>{let m=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:h,headers:{"Content-Type":"application/json",...f.token?{Authorization:`Bearer ${f.token}`}:{}},body:JSON.stringify(g)});if(!m.ok)throw new Ya(`judge endpoint HTTP ${m.status}`);return m.json()}}function HL(f){return f.transport?f.transport:f.apiKey?qL({apiKey:f.apiKey,baseUrl:f.baseUrl,visionModel:f.visionModel,textModel:f.textModel}):f.apiUrl?BL({apiUrl:f.apiUrl,token:f.apiToken}):null}async function Cg(f,d,g){let h={promoted:[],judged:[]},m=HL(g);if(!m||d.length===0)return h;let w=g.level??"AA",v=g.timeoutMs??xL,b=Date.now()+v,D=Ua([...d],w);if(D.length===0)return h;let T=new Map;for(let V of D){let M=`${V.selector}|${Eu(V)}`,N=T.get(M);N?N.members.push(V):T.set(M,{key:M,members:[V],rep:V,ctx:void 0,kind:"generic"});}let C={elements:{}};if(f)try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),C=await f.evaluate(kL,{selectors:[...T.keys()].map(V=>T.get(V).rep.selector),maxHtml:wg});}catch{}for(let V of T.values())V.ctx=C.elements[V.rep.selector],V.ctx&&!V.ctx.found&&(V.ctx=void 0),V.kind=TL(V.rep,V.ctx);let x=new Map;for(let[V,M]of [...T]){if(!M.ctx)continue;let N=`${M.ctx.elementKey}|${Eu(M.rep)}`,W=x.get(N);if(!W){x.set(N,M);continue}W.members.push(...M.members),T.delete(V);}let R={promoted:[],judged:[]},E=(V,M)=>{for(let N of V.members){if(M.verdict==="violation"){let W=$L(N,V,M);if(!W)continue;R.promoted.push(W);}R.judged.push({id:N.id.replace("axe-incomplete-","axe-"),type:N.type,verdict:M.verdict,reason:M.reason});}},_=[...T.values()].filter(V=>V.kind==="contrast");if(_.length&&f){for(let M of _)M.pixels=g.measured?.get(M.rep.selector);let V=_.filter(M=>!M.pixels).map(M=>M.rep.selector);if(V.length)try{for(let M of await vu(f,V))for(let N of _)N.rep.selector===M.selector&&(N.pixels=M);}catch{}}let S=[];for(let V of T.values()){let M=Po.get(Dg(g.url,V.rep,V.ctx?.html??V.rep.html??""));if(M){E(V,M);continue}let N=VL(V);if(N!=="drop"){if(N){E(V,N);continue}S.push(V);}}if(S.length===0)return R;let F=g.vision!==false&&!!f&&typeof f.screenshot=="function",L=new Map,O=0,H=V=>({id:V.rep.id,type:V.rep.type,wcag:V.rep.wcag,message:V.rep.message,selector:V.rep.selector,html:(V.ctx?.html??V.rep.html??"").slice(0,wg),context:jL(V),...L.has(V.key)?{screenshot:L.get(V.key)}:{}}),$=F?wL:yL;for(let V=0;V<S.length;V+=$){let M=b-Date.now();if(M<=0)break;let N=S.slice(V,V+$);if(F){for(let ie of N){if(O>=DL||Date.now()>b)break;let Ae=await GL(f,ie.ctx);Ae&&(L.set(ie.key,Ae),O++);}if(Date.now()>b)break}let W=new Map(N.map(ie=>[ie.rep.id,ie])),X=new AbortController,Z=setTimeout(()=>X.abort(),M),ee=null,ae=false,ge=Date.now();try{let ie=await Promise.race([m({url:g.url,level:w,vision:F,items:N.map(H)},X.signal),new Promise((Ae,me)=>X.signal.addEventListener("abort",()=>me(new Error("judge deadline"))))]);ee=ML(ie),_g()&&console.error(`ai judge: batch ${N.length} items, ${N.filter(Ae=>L.has(Ae.key)).length} crops, ${Date.now()-ge}ms, ${ee?ee.length+" verdicts":"MALFORMED: "+String(ie).slice(0,200)}`);}catch(ie){_g()&&console.error(`ai judge: batch ${N.length} items failed after ${Date.now()-ge}ms: ${ie.message}`),ee=null,ae=ie instanceof Ya;}finally{clearTimeout(Z);}if(!ee){if(X.signal.aborted||ae)break;continue}for(let ie of ee){let Ae=W.get(ie.id);if(!Ae)continue;W.delete(ie.id);let me={verdict:ie.verdict,reason:FL(ie.reason),fix:ie.fix};Po.size>=CL&&Po.clear(),Po.set(Dg(g.url,Ae.rep,Ae.ctx?.html??Ae.rep.html??""),me),E(Ae,me);}}return R}function VL(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:w}=d.img;if(g>0&&g<=1&&h>0&&h<=1||m>0&&m<=1&&w>0&&w<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Cu(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=Su(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 jL(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"&&Cu(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=Gn(f.pixels.fg),g.threshold=Su(f.rep,f.pixels.threshold),g.bestRatio=Ag(f.pixels.bestRatio),g.worstRatio=Ag(f.pixels.worstRatio),g.fontSize=d.fontSize,g.fontWeight=d.fontWeight),f.kind==="generic"&&(g.fg=Gn(d.fg),g.bg=Gn(d.bg),g.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),g}function Su(f,d){return f.wcag==="1.4.6"||f.type==="contrast_enhanced"?d===3?4.5:7:d}var Ag=f=>Math.round(f*100)/100;function $L(f,d,g){let h=PL(f);if(d.kind==="alt"){let w=IL(g.fix?.value);return w?Cu(d.ctx)?{...h,fix:{attribute:"aria-label",currentValue:"",suggestedValue:w,needsManualReview:false}}:{...h,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??f.fix?.currentValue??"",suggestedValue:w,needsManualReview:false}}:null}if(d.kind==="contrast"){let w=d.pixels;if(!w)return null;let v=Gn(w.fg),b=Su(f,w.threshold),D=w.worstBg?Gn(w.worstBg):null,T=w.bestBg?Gn(w.bestBg):null,C=_=>!!_&&!!D&&xn(_,D)>=b&&(!T||xn(_,T)>=b),x,R=LL(g.fix?.value),E=D?zL(v,D,b):null;return R&&R!==v.toLowerCase()&&C(R)?x=`color:${R} !important;`:C(E)?x=`color:${E} !important;`:T&&xn(v,T)>=b&&(x=`background-color:${T} !important;`),{...h,impact:"serious",message:`contrast: ${v} text on its rendered background measures ${w.worstRatio.toFixed(2)}:1 at worst (${w.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${g.reason||"not readable"}), needs ${b}:1`,fix:{attribute:"style",currentValue:v,...x?{suggestedValue:x}:{},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 zL(f,d,g){let h=f.match(Eg);if(!h)return null;let m=parseInt(h[1],16),w=[m>>16&255,m>>8&255,m&255],v=T=>"#"+T.map(C=>Math.round(Math.min(255,Math.max(0,C))).toString(16).padStart(2,"0")).join(""),b=(T,C)=>v(w.map(x=>C?x*(1-T):x+(255-x)*T)),D=null;for(let T of [true,false]){if(xn(b(1,T),d)<g)continue;let C=0,x=1;for(let E=0;E<24;E++){let _=(C+x)/2;xn(b(_,T),d)>=g?x=_:C=_;}let R=b(x,T);xn(R,d)>=g&&(!D||x<D.t)&&(D={t:x,hex:R});}return D?.hex??null}async function GL(f,d){let g=f.screenshot;if(typeof g!="function")return null;try{let h;if(d&&d.rect.w>=2&&d.rect.h>=2&&!d.hidden){let v=Math.max(0,d.rect.x-8),b=Math.max(0,d.rect.y-8),D=Math.min(1200,d.rect.w+16),T=Math.min(600,d.rect.h+16);h=await g.call(f,{clip:{x:v,y:b,width:D,height:T},fullPage:!0,type:"png",animations:"disabled"});}else h=await g.call(f,{type:"png",animations:"disabled"});let m=globalThis.Buffer;return m?m.from(h).toString("base64"):null}catch{return null}}async function UL(f){let d=_=>({verdict:"drop",why:_}),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 w=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!w||/^(blob|data|about|javascript):/i.test(w)||/\.(m3u8|mpd)(\?|$)/i.test(w))return d("no direct src / MSE");let v=g.hasAttribute("muted")||g.muted,b=g.hasAttribute("controls"),D=g.hasAttribute("autoplay")||g.autoplay,T=g.hasAttribute("loop")||g.loop,C=b||D&&!v;if(!C){let _=/play|pause|mute|unmute|sound|volume/i;for(let S=g.parentElement,F=0;S&&F<3&&!C;S=S.parentElement,F++)C=Array.from(S.querySelectorAll('button, [role="button"]')).some(L=>_.test((L.getAttribute("aria-label")||"")+" "+(L.getAttribute("title")||"")+" "+(L.textContent||"")));}if(!C)return d("not user-playable");if(v&&T&&!b)return d("decorative loop");if(g.hasAttribute("muted")&&!b&&!D)return d("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return d("under 5s");await new Promise(_=>setTimeout(_,2e3));for(let _ of Array.from(g.querySelectorAll("track"))){let S=(_.getAttribute("kind")||"subtitles").toLowerCase();if((S==="captions"||S==="subtitles")&&_.getAttribute("src"))return d("has caption track")}let x=g.textTracks;for(let _=0;x&&_<x.length;_++)if(x[_].kind==="captions"||x[_].kind==="subtitles")return d("has text track");let R=g,E=null;if(typeof R.mozHasAudio=="boolean"?E=R.mozHasAudio:R.audioTracks&&typeof R.audioTracks.length=="number"&&(E=R.audioTracks.length>0?true:null),E===null&&typeof R.webkitAudioDecodedByteCount=="number"&&R.webkitAudioDecodedByteCount>0&&(E=true),E===null)try{let _=new AbortController,S=setTimeout(()=>_.abort(),f.fetchMs),F=await fetch(w,{headers:{Range:"bytes=0-"+(f.rangeBytes-1)},signal:_.signal}),L=new Uint8Array(f.rangeBytes),O=0,H=F.body?F.body.getReader():null;if(H)try{for(;O<f.rangeBytes;){let{done:M,value:N}=await H.read();if(M||!N)break;let W=Math.min(N.length,f.rangeBytes-O);L.set(N.subarray(0,W),O),O+=W;}}finally{try{await H.cancel();}catch{}}clearTimeout(S);let $=(M,N=0)=>{e:for(let W=N;W<=O-M.length;W++){for(let X=0;X<M.length;X++)if(L[W+X]!==M[X])continue e;return W}return -1},V=M=>Array.from(M).map(N=>N.charCodeAt(0));$(V("ftyp"))>=0&&$(V("moov"))>=0?E=$(V("hdlr"))>=0&&$(V("soun"))>=0:L[0]===26&&L[1]===69&&L[2]===223&&L[3]===163&&$([22,84,174,107])>=0&&(E=$([131,129,2])>=0);}catch{E=null;}return E!==true?d(E===false?"silent":"audio unknowable"):{verdict:"violation"}}async function Sg(f,d){let g=d.filter(w=>w.type==="missing_captions"&&/^<video\b/i.test(w.html??"")&&w.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 w of g){if(Date.now()>m)break;let v=m-Date.now(),b,D=await Promise.race([f.evaluate(UL,{selector:w.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(T=>{b=setTimeout(()=>T(null),v);})]).finally(()=>b&&clearTimeout(b));if(!D)break;if(D.verdict==="violation"){let{confidence:T,reviewReason:C,...x}=w;h.push({...x,id:w.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return h}function Rg(){let f=m=>{let w=m.getBoundingClientRect();if(w.width===0||w.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 WL=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,XL=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function kg(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 Fg(f,d,g){if(kg(d))return null;let h=Tg(d)!==Tg(g),m=f.submitLabels.some(x=>WL.test(x)),w=XL.test(f.headingText),v=kg(g),b=[];v&&b.push("url"),m&&b.push("submit"),w&&b.push("heading"),h&&b.push("redirected");let D=f.visiblePasswordFields>0,T=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!D&&!T||b.length<2)return null;let C=`${D?"password-field":"oauth-only"}+${b.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:C,finalUrl:g}}function Tg(f){try{let d=new URL(f);return `${d.origin}${d.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}Lo();async function lP(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[w,v]of g)if(d.includes(w))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[w,v]of h)if(document.querySelector(w))return {vendor:v,signal:`marker:${w}`,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[w,v]of m)if(d.includes(w))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function uP(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 cP(f,d){let g=await lP(f),h=typeof d=="number"&&d>=400,m=g&&(!g.needsCorroboration||h)?g:null;if(!m&&!h)return null;let w=[];return m&&w.push(`served a ${m.vendor} bot-challenge / interstitial page`),h&&w.push(`main document returned HTTP ${d}`),{reason:`Scan did not reach the real page \u2014 the target ${w.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof d=="number"?{status:d}:{},...m?{signal:m.signal}:h?{signal:`status:${d}`}:{}}}async function Za(f,d){let g=typeof f=="string",h={wcagTags:bu,includeAxe:true,deep:false,dismissModals:g,...d},m,w,v,b;if(g){v=f.startsWith("http")?f:`https://${f}`;let D=typeof h.viewport=="string"?Fo[h.viewport]??Fo.desktop:h.viewport??Fo.desktop;w=await(await import('playwright')).chromium.launch({headless:h.browser?.headless??true}),m=await(await w.newContext({viewport:D})).newPage();let x=await m.goto(v,{waitUntil:"domcontentloaded",timeout:h.browser?.timeout??3e4});b=typeof x?.status=="function"?x.status():void 0;}else m=f,v=m.url(),b=h.mainStatus;if(h.dismissModals)try{let{dismissModals:D}=await Promise.resolve().then(()=>(Lg(),Ig));await D(m);}catch{}if(h.settle!==false)try{let{waitForRenderSettle:D}=await Promise.resolve().then(()=>(Oo(),Mo));await D(m,typeof h.settle=="number"?h.settle:void 0);}catch{}try{try{let M=await m.evaluate(Rg),N=Fg(M,v,typeof m.url=="function"?m.url():v);if(N)return {url:v,timestamp:new Date().toISOString(),blocked:{reason:N.reason,signal:`auth-wall:${N.signal}`,...typeof b=="number"?{status:b}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let D=await cP(m,b);if(D)return {url:v,timestamp:new Date().toISOString(),blocked:D,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let T=[],C=new Map,x=[],R=[],E=await uP(m);E&&R.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 _=await ug(m,x,R);if(T.push(..._.map(vg)),h.includeAxe)try{let M=await pg(m,gg(h.wcagTags??bu,h.level));for(let N of M.violations)for(let W of N.nodes)T.push({id:`axe-${N.id}-${Xa(Wa(W.target))}`,source:"axe-core",type:N.id,wcag:xu(N.tags),level:Du(N.tags),impact:yu(N.impact),message:N.help,selector:Wa(W.target),html:W.html?.slice(0,300)});for(let N of M.incomplete??[])for(let W of N.nodes){let X=`axe-incomplete-${N.id}-${Xa(Wa(W.target))}`,Z=W.any?.[0]?.data?.messageKey;Z&&C.set(X,Z),T.push({id:X,source:"axe-core",type:N.id,wcag:xu(N.tags),level:Du(N.tags),impact:yu(N.impact),message:N.help,selector:Wa(W.target),html:W.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch{}try{let{runHtmlcs:M}=await Promise.resolve().then(()=>(Bg(),qg)),N=await M(m);T.push(...N);}catch{}let{deduplicateIssues:S}=await Promise.resolve().then(()=>(Ja(),Ka)),F=gu(T),L=S(F.verdicts);try{let{pruneInvisibleContrast:M}=await Promise.resolve().then(()=>(Oo(),Mo));L=await M(m,L);}catch{}try{let{pruneHiddenIframeIssues:M}=await Promise.resolve().then(()=>(Oo(),Mo));L=await M(m,L);}catch{}try{let{dedupeByElementIdentity:M}=await Promise.resolve().then(()=>(Ja(),Ka));L=await M(m,L);}catch{}if(h.deep&&h.deepApiKey)try{let M=await dP(v,L,h);L.push(...M);}catch{}if(h.rootSelector)try{let{scopeIssuesToRoot:M}=await Promise.resolve().then(()=>(Tu(),ku)),N=await M(m,L,h.rootSelector);L=N.issues,N.warning&&R.push(N.warning);}catch{}L=Ua(L,h.level??"AA");let O=gu(L),H=O.verdicts,$=[];try{let M=[...F.undecided,...O.undecided];if(h.rootSelector){let{scopeIssuesToRoot:ee}=await Promise.resolve().then(()=>(Tu(),ku));M=(await ee(m,M,h.rootSelector)).issues;}let N=new Map,W=await hg(m,M,C,N),X=await Sg(m,M),Z=[...W,...X];if(Z.length){let{deduplicateIssues:ee}=await Promise.resolve().then(()=>(Ja(),Ka));H=ee([...H,...Z]);}if(h.judge){let ee=new Set(Z.map(ie=>`${ie.selector}|${ie.wcag}`)),ae=M.filter(ie=>!ee.has(`${ie.selector}|${ie.wcag}`)),ge=await Cg(m,ae,{...h.judge,url:v,level:h.judge.level??h.level??"AA",measured:N});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${ae.length} undecided before judge, ${ge.promoted.length} promoted, ${ge.judged.filter(ie=>ie.verdict==="pass").length} passed`),$=ge.judged,ge.promoted.length){let{deduplicateIssues:ie}=await Promise.resolve().then(()=>(Ja(),Ka));H=ie([...H,...Ua(ge.promoted,h.level??"AA")]);}}}catch{}let V={url:v,timestamp:new Date().toISOString(),engine:cg,issues:H,incomplete:[],...$.length?{judged:$}:{},...x.length?{truncated:x}:{},...R.length?{engineWarnings:R}:{},summary:wu(H)};if(h.review!==!1&&h.deepApiKey)try{V=await fP(V,h);}catch{}return V}finally{w&&await w.close();}}async function dP(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,...b})=>b)})});return m.ok?((await m.json()).issues??[]).map((v,b)=>({id:`deep-${b}-${Xa(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 Hg(f){let d=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&d!=="style"&&!d.startsWith("data-")}async function fP(f,d){let g=d.deepApiUrl||"https://api.webability.io",h=f.issues.filter(Hg);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:D,...T})=>T)})});if(!m.ok)return f;let w=await m.json();if(!w.confirmed_ids)return f;let v=new Set(w.confirmed_ids),b=f.issues.filter(D=>!Hg(D)||v.has(D.id));return {...f,issues:b,summary:wu(b)}}catch{return f}}function jg(f){return {...f,issues:f.issues.map(({source:d,...g})=>g)}}async function pP(f,d){return jg(await Za(f,{...d,dismissModals:false}))}var Vg=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 Za(this.page,{...g,dismissModals:false});this.snapshots.push(h),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let m=await Za(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 Za(this.page,{...this.options,dismissModals:false});this.snapshots.push(d);let g=new Map;for(let w of this.snapshots)for(let v of w.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(w=>w.impact==="critical").length,serious:h.filter(w=>w.impact==="serious").length,moderate:h.filter(w=>w.impact==="moderate").length,minor:h.filter(w=>w.impact==="minor").length,incomplete:0}};return this.snapshots=[],jg(m)}};/*! Bundled license information:
|
|
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:
|
|
399
401
|
|
|
400
402
|
axe-core/axe.js:
|
|
401
403
|
(*! axe v4.11.3
|
|
@@ -409,4 +411,4 @@ axe-core/axe.js:
|
|
|
409
411
|
* distribute or in any file that contains substantial portions of this source
|
|
410
412
|
* code.
|
|
411
413
|
*)
|
|
412
|
-
*/exports.WebAbility=
|
|
414
|
+
*/exports.WebAbility=Xg;exports.a11yCheck=PP;
|