@webability/core 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dom.cjs +45 -29
- package/dist/dom.d.cts +4 -2
- package/dist/dom.d.ts +4 -2
- package/dist/dom.js +45 -29
- package/dist/index.cjs +57 -41
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -41
- package/dist/playwright.cjs +47 -31
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +47 -31
- package/dist/{types-CbNyAKbT.d.cts → types-BgiJ7PGs.d.cts} +180 -9
- package/dist/{types-CbNyAKbT.d.ts → types-BgiJ7PGs.d.ts} +180 -9
- package/package.json +2 -2
package/dist/playwright.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var R3=Object.create;var fu=Object.defineProperty;var F3=Object.getOwnPropertyDescriptor;var I3=Object.getOwnPropertyNames;var L3=Object.getPrototypeOf,P3=Object.prototype.hasOwnProperty;var Fr=(f,d)=>()=>(f&&(d=f(f=0)),d);var M3=(f,d)=>()=>(d||f((d={exports:{}}).exports,d),d.exports),Vr=(f,d)=>{for(var g in d)fu(f,g,{get:d[g],enumerable:true});},O3=(f,d,g,h)=>{if(d&&typeof d=="object"||typeof d=="function")for(let m of I3(d))!P3.call(f,m)&&m!==g&&fu(f,m,{get:()=>d[m],enumerable:!(h=F3(d,m))||h.enumerable});return f};var N3=(f,d,g)=>(g=f!=null?R3(L3(f)):{},O3(fu(g,"default",{value:f,enumerable:true}),f));var pu={};Vr(pu,{ACCESSIBLE_NAME_JS:()=>jI,IS_HIDDEN_FROM_AT_JS:()=>zI,IS_TRACKING_PIXEL_JS:()=>GI,IS_VISIBLE_JS:()=>VI,NEARBY_CONTEXT_JS:()=>UI,UNIQUE_SELECTOR_JS:()=>HI,WIDGET_SKIP_JS:()=>$I});var HI,VI,jI,$I,zI,GI,UI,mu=Fr(()=>{HI=`
|
|
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
|
+
`,VI=`
|
|
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
|
+
`,jI=`
|
|
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
|
+
`,$I=`
|
|
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
|
+
`,zI=`
|
|
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
|
+
`,GI=`
|
|
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
|
+
`,UI=`
|
|
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 ng={};Vr(ng,{ICON_LABELS_JS:()=>KI,ICON_LABELS_JSON:()=>YI,lookupIconLabel:()=>XI});function XI(f,d="",g=""){let h=[];if(f)for(let m of f.split(/\s+/)){if(!m)continue;let w=m.toLowerCase().replace(WI,"").replace(/^icon-/,"");w&&w!==m.toLowerCase()&&h.push(w);}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($n[m])return $n[m];for(let m of h)for(let w of m.split("-"))if($n[w])return $n[w];return null}var $n,WI,YI,KI,ag=Fr(()=>{$n={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"},WI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;YI=JSON.stringify($n),KI=`
|
|
291
|
+
var __ICON_LABELS = ${JSON.stringify($n)};
|
|
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 ig={};Vr(ig,{COLOR_MATH_JS:()=>JI});var JI,og=Fr(()=>{JI=`
|
|
321
321
|
var __colorCtx;
|
|
322
322
|
function parseCssColor(str) {
|
|
323
323
|
if (!str) return null;
|
|
@@ -354,32 +354,48 @@
|
|
|
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
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
359
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
360
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var wt,Pt=true,er=false;return {s:function(){de=de.call(X);},n:function(){var Bt=de.next();return Pt=Bt.done,Bt},e:function(Bt){er=true,wt=Bt;},f:function(){try{Pt||de.return==null||de.return();}finally{if(er)throw wt}}}}function Un(X,Q){if(X){if(typeof X=="string")return Xn(X,Q);var de={}.toString.call(X).slice(8,-1);return de==="Object"&&X.constructor&&(de=X.constructor.name),de==="Map"||de==="Set"?Array.from(X):de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de)?Xn(X,Q):void 0}}function Xn(X,Q){(Q==null||Q>X.length)&&(Q=X.length);for(var de=0,De=Array(Q);de<Q;de++)De[de]=X[de];return De}function ie(X){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Q){return typeof Q}:function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},ie(X)}((function(X,Q,de,De,ot,wt,Pt,er,Tt,Bt,$a){var Ag=Object.create,za=Object.defineProperty,Eg=Object.getPrototypeOf,Cg=Object.prototype.hasOwnProperty,Sg=Object.getOwnPropertyNames,kg=Object.getOwnPropertyDescriptor,Tg=function(t,r,a){return r in t?za(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Fg=function(t){return za(t,"__esModule",{value:true})},B=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},ur=function(t,r){for(var a in r)za(t,a,{get:r[a],enumerable:true});},Rg=function(t,r,a){if(r&&ie(r)==="object"||typeof r=="function"){var n=We(Sg(r)),i;try{var o=function(){var l=i.value;!Cg.call(t,l)&&l!=="default"&&za(t,l,{get:function(){return r[l]},enumerable:!(a=kg(r,l))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},br=function(t){return Rg(Fg(za(t!=null?Ag(Eg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},yu=function(t,r,a){return Tg(t,ie(r)!=="symbol"?r+"":r,a),a},Ig=B(function(e,t){(function(r,a){ie(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(J){var se=ie(J);return J!==null&&(se==="object"||se==="function")}function a(J){return typeof J=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(se){return Object.prototype.toString.call(se)==="[object Array]"};var i=n,o=0,s=void 0,l=void 0,u=function(se,pe){Y[o]=se,Y[o+1]=pe,o+=2,o===2&&(l?l(ee):ve());};function c(J){l=J;}function d(J){u=J;}var g=typeof f<"u"?f:void 0,D=g||{},S=D.MutationObserver||D.WebKitMutationObserver,F=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",L=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function M(){return function(){return process.nextTick(ee)}}function O(){return typeof s<"u"?function(){s(ee);}:$()}function H(){var J=0,se=new S(ee),pe=m.createTextNode("");return se.observe(pe,{characterData:true}),function(){pe.data=J=++J%2;}}function V(){var J=new MessageChannel;return J.port1.onmessage=ee,function(){return J.port2.postMessage(0)}}function $(){var J=setTimeout;return function(){return J(ee,1)}}var Y=new Array(1e3);function ee(){for(var J=0;J<o;J+=2){var se=Y[J],pe=Y[J+1];se(pe),Y[J]=void 0,Y[J+1]=void 0;}o=0;}function oe(){try{var J=Function("return this")().require("vertx");return s=J.runOnLoop||J.runOnContext,O()}catch{return $()}}var ve=void 0;F?ve=M():S?ve=H():L?ve=V():g===void 0?ve=oe():ve=$();function te(J,se){var pe=this,Ce=new this.constructor(be);Ce[he]===void 0&&dt(Ce);var Be=pe._state;if(Be){var Ge=arguments[Be-1];u(function(){return lt(Be,Ce,Ge,pe._result)});}else Ke(pe,Ce,J,se);return Ce}function ce(J){var se=this;if(J&&ie(J)==="object"&&J.constructor===se)return J;var pe=new se(be);return xe(pe,J),pe}var he=Math.random().toString(36).substring(2);function be(){}var Fe=void 0,qe=1,Ae=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 Te(J,se,pe,Ce){try{J.call(se,pe,Ce);}catch(Be){return Be}}function W(J,se,pe){u(function(Ce){var Be=false,Ge=Te(pe,se,function(St){Be||(Be=true,se!==St?xe(Ce,St):_e(Ce,St));},function(St){Be||(Be=true,ke(Ce,St));},"Settle: "+(Ce._label||" unknown promise"));!Be&&Ge&&(Be=true,ke(Ce,Ge));},J);}function we(J,se){se._state===qe?_e(J,se._result):se._state===Ae?ke(J,se._result):Ke(se,void 0,function(pe){return xe(J,pe)},function(pe){return ke(J,pe)});}function le(J,se,pe){se.constructor===J.constructor&&pe===te&&se.constructor.resolve===ce?we(J,se):pe===void 0?_e(J,se):a(pe)?W(J,se,pe):_e(J,se);}function xe(J,se){if(J===se)ke(J,Pe());else if(r(se)){var pe=void 0;try{pe=se.then;}catch(Ce){ke(J,Ce);return}le(J,se,pe);}else _e(J,se);}function Ne(J){J._onerror&&J._onerror(J._result),nt(J);}function _e(J,se){J._state===Fe&&(J._result=se,J._state=qe,J._subscribers.length!==0&&u(nt,J));}function ke(J,se){J._state===Fe&&(J._state=Ae,J._result=se,u(Ne,J));}function Ke(J,se,pe,Ce){var Be=J._subscribers,Ge=Be.length;J._onerror=null,Be[Ge]=se,Be[Ge+qe]=pe,Be[Ge+Ae]=Ce,Ge===0&&J._state&&u(nt,J);}function nt(J){var se=J._subscribers,pe=J._state;if(se.length!==0){for(var Ce=void 0,Be=void 0,Ge=J._result,St=0;St<se.length;St+=3)Ce=se[St],Be=se[St+pe],Ce?lt(pe,Ce,Be,Ge):Be(Ge);J._subscribers.length=0;}}function lt(J,se,pe,Ce){var Be=a(pe),Ge=void 0,St=void 0,Ba=true;if(Be){try{Ge=pe(Ce);}catch(Eo){Ba=false,St=Eo;}if(se===Ge){ke(se,fe());return}}else Ge=Ce;se._state!==Fe||(Be&&Ba?xe(se,Ge):Ba===false?ke(se,St):J===qe?_e(se,Ge):J===Ae&&ke(se,Ge));}function bt(J,se){try{se(function(Ce){xe(J,Ce);},function(Ce){ke(J,Ce);});}catch(pe){ke(J,pe);}}var Et=0;function _t(){return Et++}function dt(J){J[he]=Et++,J._state=void 0,J._result=void 0,J._subscribers=[];}function qa(){return new Error("Array Methods must be provided an Array")}var Lt=(function(){function J(se,pe){this._instanceConstructor=se,this.promise=new se(be),this.promise[he]||dt(this.promise),i(pe)?(this.length=pe.length,this._remaining=pe.length,this._result=new Array(this.length),this.length===0?_e(this.promise,this._result):(this.length=this.length||0,this._enumerate(pe),this._remaining===0&&_e(this.promise,this._result))):ke(this.promise,qa());}return J.prototype._enumerate=function(pe){for(var Ce=0;this._state===Fe&&Ce<pe.length;Ce++)this._eachEntry(pe[Ce],Ce);},J.prototype._eachEntry=function(pe,Ce){var Be=this._instanceConstructor,Ge=Be.resolve;if(Ge===ce){var St=void 0,Ba=void 0,Eo=false;try{St=pe.then;}catch(iu){Eo=true,Ba=iu;}if(St===te&&pe._state!==Fe)this._settledAt(pe._state,Ce,pe._result);else if(typeof St!="function")this._remaining--,this._result[Ce]=pe;else if(Be===ht){var nu=new Be(be);Eo?ke(nu,Ba):le(nu,pe,St),this._willSettleAt(nu,Ce);}else this._willSettleAt(new Be(function(iu){return iu(pe)}),Ce);}else this._willSettleAt(Ge(pe),Ce);},J.prototype._settledAt=function(pe,Ce,Be){var Ge=this.promise;Ge._state===Fe&&(this._remaining--,pe===Ae?ke(Ge,Be):this._result[Ce]=Be),this._remaining===0&&_e(Ge,this._result);},J.prototype._willSettleAt=function(pe,Ce){var Be=this;Ke(pe,void 0,function(Ge){return Be._settledAt(qe,Ce,Ge)},function(Ge){return Be._settledAt(Ae,Ce,Ge)});},J})();function ft(J){return new Lt(this,J).promise}function Ct(J){var se=this;return i(J)?new se(function(pe,Ce){for(var Be=J.length,Ge=0;Ge<Be;Ge++)se.resolve(J[Ge]).then(pe,Ce);}):new se(function(pe,Ce){return Ce(new TypeError("You must pass an array to race."))})}function yt(J){var se=this,pe=new se(be);return ke(pe,J),pe}function Nt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function qt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ht=(function(){function J(se){this[he]=_t(),this._result=this._state=void 0,this._subscribers=[],be!==se&&(typeof se!="function"&&Nt(),this instanceof J?bt(this,se):qt());}return J.prototype.catch=function(pe){return this.then(null,pe)},J.prototype.finally=function(pe){var Ce=this,Be=Ce.constructor;return a(pe)?Ce.then(function(Ge){return Be.resolve(pe()).then(function(){return Ge})},function(Ge){return Be.resolve(pe()).then(function(){throw Ge})}):Ce.then(pe,pe)},J})();ht.prototype.then=te,ht.all=ft,ht.race=Ct,ht.resolve=ce,ht.reject=yt,ht._setScheduler=c,ht._setAsap=d,ht._asap=u;function it(){var J=void 0;if(typeof y<"u")J=y;else if(typeof self<"u")J=self;else try{J=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var se=J.Promise;if(se){var pe=null;try{pe=Object.prototype.toString.call(se.resolve());}catch{}if(pe==="[object Promise]"&&!se.cast)return}J.Promise=ht;}return ht.polyfill=it,ht.Promise=ht,ht});}),Lg=B(function(e){var t=1e5,r=(function(){var W=Object.prototype.toString,we=Object.prototype.hasOwnProperty;return {Class:function(xe){return W.call(xe).replace(/^\[object *|\]$/g,"")},HasProperty:function(xe,Ne){return Ne in xe},HasOwnProperty:function(xe,Ne){return we.call(xe,Ne)},IsCallable:function(xe){return typeof xe=="function"},ToInt32:function(xe){return xe>>0},ToUint32:function(xe){return xe>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(W,we,le){return W<we?we:W>le?le:W}var d=Object.getOwnPropertyNames||function(W){if(W!==Object(W))throw new TypeError("Object.getOwnPropertyNames called on non-object");var we=[],le;for(le in W)r.HasOwnProperty(W,le)&&we.push(le);return we},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(we,le,xe){if(!we===Object(we))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(xe,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(we,le,xe.get),r.HasProperty(xe,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(we,le,xe.set),r.HasProperty(xe,"value")&&(we[le]=xe.value),we};function D(W){if(d&&g){var we=d(W),le;for(le=0;le<we.length;le+=1)g(W,we[le],{value:W[we[le]],writable:false,enumerable:false,configurable:false});}}function S(W){if(!g)return;if(W.length>t)throw new RangeError("Array too large for polyfill");function we(xe){g(W,xe,{get:function(){return W._getter(xe)},set:function(_e){W._setter(xe,_e);},enumerable:true,configurable:false});}var le;for(le=0;le<W.length;le+=1)we(le);}function F(W,we){var le=32-we;return W<<le>>le}function L(W,we){var le=32-we;return W<<le>>>le}function M(W){return [W&255]}function O(W){return F(W[0],8)}function H(W){return [W&255]}function V(W){return L(W[0],8)}function $(W){return W=u(Number(W)),[W<0?0:W>255?255:W&255]}function Y(W){return [W>>8&255,W&255]}function ee(W){return F(W[0]<<8|W[1],16)}function oe(W){return [W>>8&255,W&255]}function ve(W){return L(W[0]<<8|W[1],16)}function te(W){return [W>>24&255,W>>16&255,W>>8&255,W&255]}function ce(W){return F(W[0]<<24|W[1]<<16|W[2]<<8|W[3],32)}function he(W){return [W>>24&255,W>>16&255,W>>8&255,W&255]}function be(W){return L(W[0]<<24|W[1]<<16|W[2]<<8|W[3],32)}function Fe(W,we,le){var xe=(1<<we-1)-1,Ne,_e,ke,Ke,nt,lt,bt;function Et(_t){var dt=i(_t),qa=_t-dt;return qa<.5?dt:qa>.5||dt%2?dt+1:dt}for(W!==W?(_e=(1<<we)-1,ke=l(2,le-1),Ne=0):W===1/0||W===-1/0?(_e=(1<<we)-1,ke=0,Ne=W<0?1:0):W===0?(_e=0,ke=0,Ne=1/W===-1/0?1:0):(Ne=W<0,W=n(W),W>=l(2,1-xe)?(_e=s(i(o(W)/a),1023),ke=Et(W/l(2,_e)*l(2,le)),ke/l(2,le)>=2&&(_e=_e+1,ke=1),_e>xe?(_e=(1<<we)-1,ke=0):(_e=_e+xe,ke=ke-l(2,le))):(_e=0,ke=Et(W/l(2,1-xe-le)))),nt=[],Ke=le;Ke;Ke-=1)nt.push(ke%2?1:0),ke=i(ke/2);for(Ke=we;Ke;Ke-=1)nt.push(_e%2?1:0),_e=i(_e/2);for(nt.push(Ne?1:0),nt.reverse(),lt=nt.join(""),bt=[];lt.length;)bt.push(parseInt(lt.substring(0,8),2)),lt=lt.substring(8);return bt}function qe(W,we,le){var xe=[],Ne,_e,ke,Ke,nt,lt,bt,Et;for(Ne=W.length;Ne;Ne-=1)for(ke=W[Ne-1],_e=8;_e;_e-=1)xe.push(ke%2?1:0),ke=ke>>1;return xe.reverse(),Ke=xe.join(""),nt=(1<<we-1)-1,lt=parseInt(Ke.substring(0,1),2)?-1:1,bt=parseInt(Ke.substring(1,1+we),2),Et=parseInt(Ke.substring(1+we),2),bt===(1<<we)-1?Et===0?lt*(1/0):NaN:bt>0?lt*l(2,bt-nt)*(1+Et/l(2,le)):Et!==0?lt*l(2,-(nt-1))*(Et/l(2,le)):lt<0?-0:0}function Ae(W){return qe(W,11,52)}function Pe(W){return Fe(W,11,52)}function fe(W){return qe(W,8,23)}function Te(W){return Fe(W,8,23)}((function(){function W(_t){if(_t=r.ToInt32(_t),_t<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=_t,this._bytes=[],this._bytes.length=_t;var dt;for(dt=0;dt<this.byteLength;dt+=1)this._bytes[dt]=0;D(this);}e.ArrayBuffer=e.ArrayBuffer||W;function we(){}function le(_t,dt,qa){var Lt;return Lt=function(Ct,yt,Nt){var qt,ht,it,J;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Nt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new W(this.byteLength),this.byteOffset=0;}else if(ie(arguments[0])==="object"&&arguments[0].constructor===Lt)for(qt=arguments[0],this.length=qt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new W(this.byteLength),this.byteOffset=0,it=0;it<this.length;it+=1)this._setter(it,qt._getter(it));else if(ie(arguments[0])==="object"&&!(arguments[0]instanceof W||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 W(this.byteLength),this.byteOffset=0,it=0;it<this.length;it+=1)J=ht[it],this._setter(it,Number(J));else if(ie(arguments[0])==="object"&&(arguments[0]instanceof W||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Ct,this.byteOffset=r.ToUint32(yt),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(Nt),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,D(this),S(this);},Lt.prototype=new we,Lt.prototype.BYTES_PER_ELEMENT=_t,Lt.prototype._pack=dt,Lt.prototype._unpack=qa,Lt.BYTES_PER_ELEMENT=_t,Lt.prototype._getter=function(ft){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(ft=r.ToUint32(ft),!(ft>=this.length)){for(var Ct=[],yt=0,Nt=this.byteOffset+ft*this.BYTES_PER_ELEMENT;yt<this.BYTES_PER_ELEMENT;yt+=1,Nt+=1)Ct.push(this.buffer._bytes[Nt]);return this._unpack(Ct)}},Lt.prototype.get=Lt.prototype._getter,Lt.prototype._setter=function(ft,Ct){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(ft=r.ToUint32(ft),ft<this.length){var yt=this._pack(Ct),Nt,qt;for(Nt=0,qt=this.byteOffset+ft*this.BYTES_PER_ELEMENT;Nt<this.BYTES_PER_ELEMENT;Nt+=1,qt+=1)this.buffer._bytes[qt]=yt[Nt];}},Lt.prototype.set=function(ft,Ct){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var yt,Nt,qt,ht,it,J,se,pe,Ce,Be;if(ie(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(yt=arguments[0],qt=r.ToUint32(arguments[1]),qt+yt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(pe=this.byteOffset+qt*this.BYTES_PER_ELEMENT,Ce=yt.length*this.BYTES_PER_ELEMENT,yt.buffer===this.buffer){for(Be=[],it=0,J=yt.byteOffset;it<Ce;it+=1,J+=1)Be[it]=yt.buffer._bytes[J];for(it=0,se=pe;it<Ce;it+=1,se+=1)this.buffer._bytes[se]=Be[it];}else for(it=0,J=yt.byteOffset,se=pe;it<Ce;it+=1,J+=1,se+=1)this.buffer._bytes[se]=yt.buffer._bytes[J];}else if(ie(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Nt=arguments[0],ht=r.ToUint32(Nt.length),qt=r.ToUint32(arguments[1]),qt+ht>this.length)throw new RangeError("Offset plus length of array is out of range");for(it=0;it<ht;it+=1)J=Nt[it],this._setter(qt+it,Number(J));}else throw new TypeError("Unexpected argument type(s)")},Lt.prototype.subarray=function(ft,Ct){ft=r.ToInt32(ft),Ct=r.ToInt32(Ct),arguments.length<1&&(ft=0),arguments.length<2&&(Ct=this.length),ft<0&&(ft=this.length+ft),Ct<0&&(Ct=this.length+Ct),ft=c(ft,0,this.length),Ct=c(Ct,0,this.length);var yt=Ct-ft;return yt<0&&(yt=0),new this.constructor(this.buffer,this.byteOffset+ft*this.BYTES_PER_ELEMENT,yt)},Lt}var xe=le(1,M,O),Ne=le(1,H,V),_e=le(1,$,V),ke=le(2,Y,ee),Ke=le(2,oe,ve),nt=le(4,te,ce),lt=le(4,he,be),bt=le(4,Te,fe),Et=le(8,Pe,Ae);e.Int8Array=e.Int8Array||xe,e.Uint8Array=e.Uint8Array||Ne,e.Uint8ClampedArray=e.Uint8ClampedArray||_e,e.Int16Array=e.Int16Array||ke,e.Uint16Array=e.Uint16Array||Ke,e.Int32Array=e.Int32Array||nt,e.Uint32Array=e.Uint32Array||lt,e.Float32Array=e.Float32Array||bt,e.Float64Array=e.Float64Array||Et;}))(),(function(){function W(_e,ke){return r.IsCallable(_e.get)?_e.get(ke):_e[ke]}var we=(function(){var _e=new e.Uint16Array([4660]),ke=new e.Uint8Array(_e.buffer);return W(ke,0)===18})();function le(_e,ke,Ke){if(arguments.length===0)_e=new e.ArrayBuffer(0);else if(!(_e instanceof e.ArrayBuffer||r.Class(_e)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=_e||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(Ke),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");D(this);}function xe(_e){return function(ke,Ke){if(ke=r.ToUint32(ke),ke+_e.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");ke+=this.byteOffset;var nt=new e.Uint8Array(this.buffer,ke,_e.BYTES_PER_ELEMENT),lt=[],bt;for(bt=0;bt<_e.BYTES_PER_ELEMENT;bt+=1)lt.push(W(nt,bt));return !!Ke==!!we&<.reverse(),W(new _e(new e.Uint8Array(lt).buffer),0)}}le.prototype.getUint8=xe(e.Uint8Array),le.prototype.getInt8=xe(e.Int8Array),le.prototype.getUint16=xe(e.Uint16Array),le.prototype.getInt16=xe(e.Int16Array),le.prototype.getUint32=xe(e.Uint32Array),le.prototype.getInt32=xe(e.Int32Array),le.prototype.getFloat32=xe(e.Float32Array),le.prototype.getFloat64=xe(e.Float64Array);function Ne(_e){return function(ke,Ke,nt){if(ke=r.ToUint32(ke),ke+_e.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var lt=new _e([Ke]),bt=new e.Uint8Array(lt.buffer),Et=[],_t,dt;for(_t=0;_t<_e.BYTES_PER_ELEMENT;_t+=1)Et.push(W(bt,_t));!!nt==!!we&&Et.reverse(),dt=new e.Uint8Array(this.buffer,ke,_e.BYTES_PER_ELEMENT),dt.set(Et);}}le.prototype.setUint8=Ne(e.Uint8Array),le.prototype.setInt8=Ne(e.Int8Array),le.prototype.setUint16=Ne(e.Uint16Array),le.prototype.setInt16=Ne(e.Int16Array),le.prototype.setUint32=Ne(e.Uint32Array),le.prototype.setInt32=Ne(e.Int32Array),le.prototype.setFloat32=Ne(e.Float32Array),le.prototype.setFloat64=Ne(e.Float64Array),e.DataView=e.DataView||le;})();}),Pg=B(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(s,l,u){a?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],true):false}),n(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var d=c[this._id];return !!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var g=c[this._id];return g&&g[0]===c?(g[1]=d,this):(n(c,this._id,[c,d]),this)});function s(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+ie(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof f<"u"?f:typeof y<"u"?y:e);}),cr=B(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":ie(globalThis))=="object"&&globalThis)||r((typeof f>"u"?"undefined":ie(f))=="object"&&f)||r((typeof self>"u"?"undefined":ie(self))=="object"&&self)||r((typeof y>"u"?"undefined":ie(y))=="object"&&y)||r(ie(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),dr=B(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Yn=B(function(e,t){var r=dr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Mg=B(function(e,t){var r=Yn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":ie(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),tr=B(function(e,t){var r=Yn(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}};}),Kn=B(function(e,t){var r=tr(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),wu=B(function(e,t){var r=Kn(),a=tr();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Vt=B(function(e,t){var r=(typeof m>"u"?"undefined":ie(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),yr=B(function(e,t){var r=dr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),ia=B(function(e,t){var r=Yn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),xu=B(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),Jn=B(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Og=B(function(e,t){var r=tr(),a=dr(),n=Kn(),i=Object,o=r("".split);t.exports=a(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return n(s)==="String"?o(s,""):i(s)}:i;}),Io=B(function(e,t){t.exports=function(r){return r==null};}),Zn=B(function(e,t){var r=Io(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ga=B(function(e,t){var r=Og(),a=Zn();t.exports=function(n){return r(a(n))};}),Vr=B(function(e,t){var r=Vt();t.exports=function(a){return ie(a)=="object"?a!==null:r(a)};}),Wa=B(function(e,t){t.exports={};}),Lo=B(function(e,t){var r=Wa(),a=cr(),n=Vt(),i=function(s){return n(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][s]||a[o]&&a[o][s]};}),Ng=B(function(e,t){var r=tr();t.exports=r({}.isPrototypeOf);}),qg=B(function(e,t){var r=cr(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Bg=B(function(e,t){var r=cr(),a=qg(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&a&&(l=a.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=a.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Du=B(function(e,t){var r=Bg(),a=dr(),n=cr(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),_u=B(function(e,t){var r=Du();t.exports=r&&!Symbol.sham&&ie(Symbol.iterator)=="symbol";}),Au=B(function(e,t){var r=Lo(),a=Vt(),n=Ng(),i=_u(),o=Object;t.exports=i?function(s){return ie(s)=="symbol"}:function(s){var l=r("Symbol");return a(l)&&n(l.prototype,o(s))};}),Eu=B(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Qn=B(function(e,t){var r=Vt(),a=Eu(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),Po=B(function(e,t){var r=Qn(),a=Io();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Hg=B(function(e,t){var r=ia(),a=Vt(),n=Vr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&a(l=o.toString)&&!n(u=r(l,o))||a(l=o.valueOf)&&!n(u=r(l,o))||s!=="string"&&a(l=o.toString)&&!n(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Mo=B(function(e,t){t.exports=true;}),Vg=B(function(e,t){var r=cr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),ei=B(function(e,t){var r=Mo(),a=cr(),n=Vg(),i="__core-js_shared__",o=t.exports=a[i]||n(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});}),Cu=B(function(e,t){var r=ei();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Oo=B(function(e,t){var r=Zn(),a=Object;t.exports=function(n){return a(r(n))};}),Rr=B(function(e,t){var r=tr(),a=Oo(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Su=B(function(e,t){var r=tr(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Ir=B(function(e,t){var r=cr(),a=Cu(),n=Rr(),i=Su(),o=Du(),s=_u(),l=r.Symbol,u=a("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(d){return n(u,d)||(u[d]=o&&n(l,d)?l[d]:c("Symbol."+d)),u[d]};}),jg=B(function(e,t){var r=ia(),a=Vr(),n=Au(),i=Po(),o=Hg(),s=Ir(),l=TypeError,u=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var g=i(c,u),D;if(g){if(d===void 0&&(d="default"),D=r(g,c,d),!a(D)||n(D))return D;throw new l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),ku=B(function(e,t){var r=jg(),a=Au();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),Tu=B(function(e,t){var r=cr(),a=Vr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),Fu=B(function(e,t){var r=yr(),a=dr(),n=Tu();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),$g=B(function(e){var t=yr(),r=ia(),a=xu(),n=Jn(),i=Ga(),o=ku(),s=Rr(),l=Fu(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(d,g){if(d=i(d),g=o(g),l)try{return u(d,g)}catch{}if(s(d,g))return n(!r(a.f,d,g),d[g])};}),zg=B(function(e,t){var r=dr(),a=Vt(),n=/#|\.prototype\./,i=function(d,g){var D=s[o(d)];return D===u?true:D===l?false:a(g)?r(g):!!g},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),Ru=B(function(e,t){var r=wu(),a=Qn(),n=Yn(),i=r(r.bind);t.exports=function(o,s){return a(o),s===void 0?o:n?i(o,s):function(){return o.apply(s,arguments)}};}),Iu=B(function(e,t){var r=yr(),a=dr();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),ya=B(function(e,t){var r=Vr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),ti=B(function(e){var t=yr(),r=Fu(),a=Iu(),n=ya(),i=ku(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?a?function(D,S,F){if(n(D),S=i(S),n(F),typeof D=="function"&&S==="prototype"&&"value"in F&&d in F&&!F[d]){var L=l(D,S);L&&L[d]&&(D[S]=F.value,F={configurable:c in F?F[c]:L[c],enumerable:u in F?F[u]:L[u],writable:false});}return s(D,S,F)}:s:function(D,S,F){if(n(D),S=i(S),n(F),r)try{return s(D,S,F)}catch{}if("get"in F||"set"in F)throw new o("Accessors not supported");return "value"in F&&(D[S]=F.value),D};}),Ua=B(function(e,t){var r=yr(),a=ti(),n=Jn();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),ri=B(function(e,t){var r=cr(),a=Mg(),n=wu(),i=Vt(),o=$g().f,s=zg(),l=Wa(),u=Ru(),c=Ua(),d=Rr();ei();var g=function(S){var F=function(M,O,H){if(this instanceof F){switch(arguments.length){case 0:return new S;case 1:return new S(M);case 2:return new S(M,O)}return new S(M,O,H)}return a(S,this,arguments)};return F.prototype=S.prototype,F};t.exports=function(D,S){var F=D.target,L=D.global,M=D.stat,O=D.proto,H=L?r:M?r[F]:r[F]&&r[F].prototype,V=L?l:l[F]||c(l,F,{})[F],$=V.prototype,Y,ee,oe,ve,te,ce,he,be,Fe;for(ve in S)Y=s(L?ve:F+(M?".":"#")+ve,D.forced),ee=!Y&&H&&d(H,ve),ce=V[ve],ee&&(D.dontCallGetSet?(Fe=o(H,ve),he=Fe&&Fe.value):he=H[ve]),te=ee&&he?he:S[ve],!(!Y&&!O&&ie(ce)==ie(te))&&(D.bind&&ee?be=u(te,r):D.wrap&&ee?be=g(te):O&&i(te)?be=n(te):be=te,(D.sham||te&&te.sham||ce&&ce.sham)&&c(be,"sham",true),c(V,ve,be),O&&(oe=F+"Prototype",d(l,oe)||c(l,oe,{}),c(l[oe],ve,te),D.real&&$&&(Y||!$[ve])&&c($,ve,te)));};}),Gg=B(function(){var e=ri(),t=Rr();e({target:"Object",stat:true},{hasOwn:t});}),Wg=B(function(e,t){Gg();var r=Wa();t.exports=r.Object.hasOwn;}),Ug=B(function(e,t){var r=Wg();t.exports=r;}),Xg=B(function(e,t){var r=Ug();t.exports=r;}),No=B(function(e,t){var r=Cu(),a=Su(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Yg=B(function(e,t){var r=dr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),qo=B(function(e,t){var r=Rr(),a=Vt(),n=Oo(),i=No(),o=Yg(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var d=n(c);if(r(d,s))return d[s];var g=d.constructor;return a(g)&&d instanceof g?g.prototype:d instanceof l?u:null};}),Kg=B(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?a:r)(o)};}),Bo=B(function(e,t){var r=Kg();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),Jg=B(function(e,t){var r=Bo(),a=Math.max,n=Math.min;t.exports=function(i,o){var s=r(i);return s<0?a(s+o,0):n(s,o)};}),Zg=B(function(e,t){var r=Bo(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Lu=B(function(e,t){var r=Zg();t.exports=function(a){return r(a.length)};}),Qg=B(function(e,t){var r=Ga(),a=Jg(),n=Lu(),i=function(s){return function(l,u,c){var d=r(l),g=n(d);if(g===0)return !s&&-1;var D=a(c,g),S;if(s&&u!==u){for(;g>D;)if(S=d[D++],S!==S)return true}else for(;g>D;D++)if((s||D in d)&&d[D]===u)return s||D||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Ho=B(function(e,t){t.exports={};}),ev=B(function(e,t){var r=tr(),a=Rr(),n=Ga(),i=Qg().indexOf,o=Ho(),s=r([].push);t.exports=function(l,u){var c=n(l),d=0,g=[],D;for(D in c)!a(o,D)&&a(c,D)&&s(g,D);for(;u.length>d;)a(c,D=u[d++])&&(~i(g,D)||s(g,D));return g};}),Pu=B(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Mu=B(function(e,t){var r=ev(),a=Pu();t.exports=Object.keys||function(i){return r(i,a)};}),tv=B(function(e,t){var r=yr(),a=dr(),n=tr(),i=qo(),o=Mu(),s=Ga(),l=xu().f,u=n(l),c=n([].push),d=r&&a(function(){var D=Object.create(null);return D[2]=2,!u(D,2)}),g=function(S){return function(F){for(var L=s(F),M=o(L),O=d&&i(L)===null,H=M.length,V=0,$=[],Y;H>V;)Y=M[V++],(!r||(O?Y in L:u(L,Y)))&&c($,S?[Y,L[Y]]:L[Y]);return $}};t.exports={entries:g(true),values:g(false)};}),rv=B(function(){var e=ri(),t=tv().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),av=B(function(e,t){rv();var r=Wa();t.exports=r.Object.values;}),nv=B(function(e,t){var r=av();t.exports=r;}),iv=B(function(e,t){var r=nv();t.exports=r;}),Vo=B(function(e,t){var r=Ir(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),ai=B(function(e,t){var r=Vo(),a=Vt(),n=Kn(),i=Ir(),o=i("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments",u=function(d,g){try{return d[g]}catch{}};t.exports=r?n:function(c){var d,g,D;return c===void 0?"Undefined":c===null?"Null":typeof(g=u(d=s(c),o))=="string"?g:l?n(d):(D=n(d))==="Object"&&a(d.callee)?"Arguments":D};}),Ou=B(function(e,t){var r=ai(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),ov=B(function(e,t){var r=tr(),a=Bo(),n=Ou(),i=Zn(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(d){return function(g,D){var S=n(i(g)),F=a(D),L=S.length,M,O;return F<0||F>=L?d?"":void 0:(M=s(S,F),M<55296||M>56319||F+1===L||(O=s(S,F+1))<56320||O>57343?d?o(S,F):M:d?l(S,F,F+2):(M-55296<<10)+(O-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),sv=B(function(e,t){var r=cr(),a=Vt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),lv=B(function(e,t){var r=sv(),a=cr(),n=Vr(),i=Ua(),o=Rr(),s=ei(),l=No(),u=Ho(),c="Object already initialized",d=a.TypeError,g=a.WeakMap,D,S,F,L=function($){return F($)?S($):D($,{})},M=function($){return function(Y){var ee;if(!n(Y)||(ee=S(Y)).type!==$)throw new d("Incompatible receiver, "+$+" required");return ee}};r||s.state?(O=s.state||(s.state=new g),O.get=O.get,O.has=O.has,O.set=O.set,D=function($,Y){if(O.has($))throw new d(c);return Y.facade=$,O.set($,Y),Y},S=function($){return O.get($)||{}},F=function($){return O.has($)}):(H=l("state"),u[H]=true,D=function($,Y){if(o($,H))throw new d(c);return Y.facade=$,i($,H,Y),Y},S=function($){return o($,H)?$[H]:{}},F=function($){return o($,H)});var O,H;t.exports={set:D,get:S,has:F,enforce:L,getterFor:M};}),uv=B(function(e,t){var r=yr(),a=Rr(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),cv=B(function(e){var t=yr(),r=Iu(),a=ti(),n=ya(),i=Ga(),o=Mu();e.f=t&&!r?Object.defineProperties:function(l,u){n(l);for(var c=i(u),d=o(u),g=d.length,D=0,S;g>D;)a.f(l,S=d[D++],c[S]);return l};}),dv=B(function(e,t){var r=Lo();t.exports=r("document","documentElement");}),Nu=B(function(e,t){var r=ya(),a=cv(),n=Pu(),i=Ho(),o=dv(),s=Tu(),l=No(),u=">",c="<",d="prototype",g="script",D=l("IE_PROTO"),S=function(){},F=function($){return c+g+u+$+c+"/"+g+u},L=function($){$.write(F("")),$.close();var Y=$.parentWindow.Object;return $=null,Y},M=function(){var $=s("iframe"),Y="java"+g+":",ee;return $.style.display="none",o.appendChild($),$.src=String(Y),ee=$.contentWindow.document,ee.open(),ee.write(F("document.F=Object")),ee.close(),ee.F},O,H=function(){try{O=new ActiveXObject("htmlfile");}catch{}H=typeof m<"u"?m.domain&&O?L(O):M():L(O);for(var $=n.length;$--;)delete H[d][n[$]];return H()};i[D]=true,t.exports=Object.create||function($,Y){var ee;return $!==null?(S[d]=r($),ee=new S,S[d]=null,ee[D]=$):ee=H(),Y===void 0?ee:a.f(ee,Y)};}),qu=B(function(e,t){var r=Ua();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),Bu=B(function(e,t){var r=dr(),a=Vt(),n=Vr(),i=Nu(),o=qo(),s=qu(),l=Ir(),u=Mo(),c=l("iterator"),d=false,g,D,S;[].keys&&(S=[].keys(),"next"in S?(D=o(o(S)),D!==Object.prototype&&(g=D)):d=true);var F=!n(g)||r(function(){var L={};return g[c].call(L)!==L});F?g={}:u&&(g=i(g)),a(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:d};}),fv=B(function(e,t){var r=Vo(),a=ai();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),Hu=B(function(e,t){var r=Vo(),a=ti().f,n=Ua(),i=Rr(),o=fv(),s=Ir(),l=s("toStringTag");t.exports=function(u,c,d,g){var D=d?u:u&&u.prototype;D&&(i(D,l)||a(D,l,{configurable:true,value:c}),g&&!r&&n(D,"toString",o));};}),ni=B(function(e,t){t.exports={};}),pv=B(function(e,t){var r=Bu().IteratorPrototype,a=Nu(),n=Jn(),i=Hu(),o=ni(),s=function(){return this};t.exports=function(l,u,c,d){var g=u+" Iterator";return l.prototype=a(r,{next:n(+!d,c)}),i(l,g,false,true),o[g]=s,l};}),mv=B(function(e,t){var r=tr(),a=Qn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),hv=B(function(e,t){var r=Vr();t.exports=function(a){return r(a)||a===null};}),gv=B(function(e,t){var r=hv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),vv=B(function(e,t){var r=mv(),a=Vr(),n=Zn(),i=gv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,d){return n(c),i(d),a(c)&&(o?l(c,d):c.__proto__=d),c}})():void 0);}),bv=B(function(e,t){var r=ri(),a=ia(),n=Mo(),i=uv(),o=Vt(),s=pv(),l=qo(),u=vv(),c=Hu(),d=Ua(),g=qu(),D=Ir(),S=ni(),F=Bu(),L=i.PROPER,M=i.CONFIGURABLE,O=F.IteratorPrototype,H=F.BUGGY_SAFARI_ITERATORS,V=D("iterator"),$="keys",Y="values",ee="entries",oe=function(){return this};t.exports=function(ve,te,ce,he,be,Fe,qe){s(ce,te,he);var Ae=function(Ke){if(Ke===be&&we)return we;if(!H&&Ke&&Ke in Te)return Te[Ke];switch(Ke){case $:return function(){return new ce(this,Ke)};case Y:return function(){return new ce(this,Ke)};case ee:return function(){return new ce(this,Ke)}}return function(){return new ce(this)}},Pe=te+" Iterator",fe=false,Te=ve.prototype,W=Te[V]||Te["@@iterator"]||be&&Te[be],we=!H&&W||Ae(be),le=te==="Array"&&Te.entries||W,xe,Ne,_e;if(le&&(xe=l(le.call(new ve)),xe!==Object.prototype&&xe.next&&(!n&&l(xe)!==O&&(u?u(xe,O):o(xe[V])||g(xe,V,oe)),c(xe,Pe,true,true),n&&(S[Pe]=oe))),L&&be===Y&&W&&W.name!==Y&&(!n&&M?d(Te,"name",Y):(fe=true,we=function(){return a(W,this)})),be)if(Ne={values:Ae(Y),keys:Fe?we:Ae($),entries:Ae(ee)},qe)for(_e in Ne)(H||fe||!(_e in Te))&&g(Te,_e,Ne[_e]);else r({target:te,proto:true,forced:H||fe},Ne);return (!n||qe)&&Te[V]!==we&&g(Te,V,we,{name:be}),S[te]=we,Ne};}),yv=B(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),wv=B(function(){var e=ov().charAt,t=Ou(),r=lv(),a=bv(),n=yv(),i="String Iterator",o=r.set,s=r.getterFor(i);a(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,d=u.index,g;return d>=c.length?n(void 0,true):(g=e(c,d),u.index+=g.length,n(g,false))});}),xv=B(function(e,t){var r=ia(),a=ya(),n=Po();t.exports=function(i,o,s){var l,u;a(i);try{if(l=n(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return a(l),s};}),Dv=B(function(e,t){var r=ya(),a=xv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),_v=B(function(e,t){var r=Ir(),a=ni(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Av=B(function(e,t){var r=tr(),a=Vt(),n=ei(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Ev=B(function(e,t){var r=tr(),a=dr(),n=Vt(),i=ai(),o=Lo(),s=Av(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),g=!c.test(l),D=function(L){if(!n(L))return false;try{return u(l,[],L),!0}catch{return false}},S=function(L){if(!n(L))return false;switch(i(L)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!d(c,s(L))}catch{return true}};S.sham=true,t.exports=!u||a(function(){var F;return D(D.call)||!D(Object)||!D(function(){F=true;})||F})?S:D;}),Cv=B(function(e,t){var r=yr(),a=ti(),n=Jn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),Sv=B(function(e,t){var r=Kn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),kv=B(function(e,t){var r=yr(),a=Sv(),n=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,l){if(a(s)&&!i(s,"length").writable)throw new n("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),Vu=B(function(e,t){var r=ai(),a=Po(),n=Io(),i=ni(),o=Ir(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),Tv=B(function(e,t){var r=ia(),a=Qn(),n=ya(),i=Eu(),o=Vu(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(a(c))return n(r(c,l));throw new s(i(l)+" is not iterable")};}),Fv=B(function(e,t){var r=Ru(),a=ia(),n=Oo(),i=Dv(),o=_v(),s=Ev(),l=Lu(),u=Cv(),c=kv(),d=Tv(),g=Vu(),D=Array;t.exports=function(F){var L=n(F),M=s(this),O=arguments.length,H=O>1?arguments[1]:void 0,V=H!==void 0;V&&(H=r(H,O>2?arguments[2]:void 0));var $=g(L),Y=0,ee,oe,ve,te,ce,he;if($&&!(this===D&&o($)))for(oe=M?new this:[],te=d(L,$),ce=te.next;!(ve=a(ce,te)).done;Y++)he=V?i(te,H,[ve.value,Y],true):ve.value,u(oe,Y,he);else for(ee=l(L),oe=M?new this(ee):D(ee);ee>Y;Y++)he=V?H(L[Y],Y):L[Y],u(oe,Y,he);return c(oe,Y),oe};}),Rv=B(function(e,t){var r=Ir(),a=r("iterator"),n=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){n=!0;}},o[a]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!n)return !1}catch{return false}var u=false;try{var c={};c[a]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Iv=B(function(){var e=ri(),t=Fv(),r=Rv(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Lv=B(function(e,t){wv(),Iv();var r=Wa();t.exports=r.Array.from;}),Pv=B(function(e,t){var r=Lv();t.exports=r;}),ju=B(function(e,t){var r=Pv();t.exports=r;}),$u=B(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var d=c.charCodeAt(0);if((d&63488)===55296){var g=o.charCodeAt(u++);if((d&64512)!==55296||(g&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(g&1023)+65536;}l+="\\"+d.toString(16)+" ";}u++;}return l}e.escapeIdentifier=n;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var d=o.charAt(u);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),l+=d,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
357
|
+
`;});var sg={};Vr(sg,{applyPlatformTemplates:()=>eL,detectPlatform:()=>QI,isAriaHiddenSafeForTemplate:()=>hu});function hu(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 ZI(){if(zn)return zn;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 zn=JSON.parse(h),zn}catch{return zn={},zn}}async function QI(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 eL(f,d,g="scan"){let h=ZI(),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"?hu(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 b=[];for(let D of v)try{let T=document.querySelectorAll(D.selector);if(T.length>0){let C=!1;for(let x of T){let R=x.getAttribute(D.attribute)||"";if(D.attribute==="alt"&&x.getAttribute("alt")===null)C=!0;else if(D.attribute==="alt"&&R===""&&D.value==="")C=!0;else if(D.attribute==="aria-label"&&!R)C=!0;else if(D.attribute==="title"&&!R)C=!0;else if(D.attribute==="role"&&R!==D.value)C=!0;else if(D.attribute==="aria-level"&&!x.getAttribute("aria-level"))C=!0;else if(D.attribute==="aria-hidden"&&x.getAttribute("aria-hidden")!=="true"){let E=x.tagName.toLowerCase(),_=E==="a"&&x.hasAttribute("href")||E==="button"||E==="input"||E==="select"||E==="textarea"||Number(x.getAttribute("tabindex")??-1)>=0;E!=="body"&&E!=="html"&&!_&&(C=!0);}if(C)break}C&&b.push({selector:D.selector,attribute:D.attribute,value:D.value,platform:D.platform,matchCount:T.length});}}catch{}return b},m.filter(v=>!(v.attribute==="aria-hidden"&&v.value==="true")||hu(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 zn,lg=Fr(()=>{zn=null;});var fg=M3((dg,ja)=>{(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 ja>"u"?"undefined":oe(ja))==="object"&&ja.exports&&typeof f.toString=="function"&&(m.source="("+f.toString()+')(typeof window === "object" ? window : this);',ja.exports=m),typeof d.getComputedStyle=="function"&&(d.axe=m);var v=["precision","format","inGamut"],b=["space"],D=["algorithm"],T=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],R=["relatedNodes"],E=["node"],_=["variant"],S=["matches"],F=["chromium"],L=["noImplicit"],O=["noPresentational"],H=["node"],$=["environmentData"],V=["environmentData"],M=["environmentData"],N=["environmentData"],W=["environmentData"];function X(K){return zt(K)||Un(K)||Gt(K)||gt()}function Z(K){var te=typeof Map=="function"?new Map:void 0;return Z=function(_e){if(_e===null||!ee(_e))return _e;if(typeof _e!="function")throw new TypeError("Super expression must either be null or a function");if(te!==void 0){if(te.has(_e))return te.get(_e);te.set(_e,it);}function it(){return ge(_e,arguments,He(this).constructor)}return it.prototype=Object.create(_e.prototype,{constructor:{value:it,enumerable:false,writable:true,configurable:true}}),Je(it,_e)},Z(K)}function ee(K){try{return Function.toString.call(K).indexOf("[native code]")!==-1}catch{return typeof K=="function"}}function ae(K,te,de){return (te=bt(te))in K?Object.defineProperty(K,te,{value:de,enumerable:true,configurable:true,writable:true}):K[te]=de,K}function ge(K,te,de){if(Xe())return Reflect.construct.apply(null,arguments);var _e=[null];_e.push.apply(_e,te);var it=new(K.bind.apply(K,_e));return de&&Je(it,de.prototype),it}function ie(K,te){if(K==null)return {};var de,_e,it=Ae(K,te);if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(K);for(_e=0;_e<Dt.length;_e++)de=Dt[_e],te.indexOf(de)===-1&&{}.propertyIsEnumerable.call(K,de)&&(it[de]=K[de]);}return it}function Ae(K,te){if(K==null)return {};var de={};for(var _e in K)if({}.hasOwnProperty.call(K,_e)){if(te.indexOf(_e)!==-1)continue;de[_e]=K[_e];}return de}function me(K,te,de){return te=He(te),we(K,Xe()?Reflect.construct(te,de||[],He(K).constructor):te.apply(K,de))}function we(K,te){if(te&&(oe(te)=="object"||typeof te=="function"))return te;if(te!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return We(K)}function We(K){if(K===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K}function Xe(){try{var K=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (Xe=function(){return !!K})()}function He(K){return He=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(te){return te.__proto__||Object.getPrototypeOf(te)},He(K)}function Me(K,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function");K.prototype=Object.create(te&&te.prototype,{constructor:{value:K,writable:true,configurable:true}}),Object.defineProperty(K,"prototype",{writable:false}),te&&Je(K,te);}function Je(K,te){return Je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(de,_e){return de.__proto__=_e,de},Je(K,te)}function Ie(){return Ie=Object.assign?Object.assign.bind():function(K){for(var te=1;te<arguments.length;te++){var de=arguments[te];for(var _e in de)({}).hasOwnProperty.call(de,_e)&&(K[_e]=de[_e]);}return K},Ie.apply(null,arguments)}function Te(K){return No(K)||Un(K)||Gt(K)||yr()}function yr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
358
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Un(K){if(typeof Symbol<"u"&&K[Symbol.iterator]!=null||K["@@iterator"]!=null)return Array.from(K)}function No(K){if(Array.isArray(K))return Qa(K)}function cr(K,te,de){an(K,te),te.set(K,de);}function Wn(K,te){an(K,te),te.add(K);}function an(K,te){if(te.has(K))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $t(K,te){return K.get(Ir(K,te))}function Mt(K,te,de){return K.set(Ir(K,te),de),de}function Ir(K,te,de){if(typeof K=="function"?K===te:K.has(te))return arguments.length<3?te:de;throw new TypeError("Private element is not present on this object")}function ve(K,te){return zt(K)||kt(K,te)||Gt(K,te)||gt()}function gt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
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:`
|
|
361
361
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
362
|
-
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),
|
|
363
|
-
`||c==="\r"||c==="\f";)O=true,n++,c=a.charAt(n);return O}function S(){var O=F();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return O}function F(){var O=L();if(!O)return null;var H=O;for(c=a.charAt(n);c===",";){if(n++,D(),H.type!=="selectors"&&(H={type:"selectors",selectors:[O]}),O=L(),!O)throw Error('Rule expected after ",".');H.selectors.push(O);}return H}function L(){D();var O={type:"ruleSet"},H=M();if(!H)return null;for(var V=O;H&&(H.type="rule",V.rule=H,V=H,D(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var $=c;if(n++,D(),H=M(),!H)throw Error('Rule expected after "'+$+'".');H.nestingOperator=$;}else H=M(),H&&(H.nestingOperator=null);return O}function M(){for(var O=null;n<u;)if(c=a.charAt(n),c==="*")n++,(O=O||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(O=O||{}).tagName=g();else if(c===".")n++,O=O||{},(O.classNames=O.classNames||[]).push(g());else if(c==="#")n++,(O=O||{}).id=g();else if(c==="["){n++,D();var H={name:g()};if(D(),c==="]")n++;else {var V="";if(o[c]&&(V=c,n++,c=a.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');H.operator=V+"=",n++,D();var $="";if(H.valueType="string",c==='"')$=d('"',t.doubleQuotesEscapeChars);else if(c==="'")$=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,$=g(),H.valueType="substitute";else {for(;n<u&&c!=="]";)$+=c,n++,c=a.charAt(n);$=$.trim();}if(D(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,H.value=$;}O=O||{},(O.attrs=O.attrs||[]).push(H);}else if(c===":"){n++;var Y=g(),ee={name:Y};if(c==="("){n++;var oe="";if(D(),i[Y]==="selector")ee.valueType="selector",oe=F();else {if(ee.valueType=i[Y]||"string",c==='"')oe=d('"',t.doubleQuotesEscapeChars);else if(c==="'")oe=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,oe=g(),ee.valueType="substitute";else {for(;n<u&&c!==")";)oe+=c,n++,c=a.charAt(n);oe=oe.trim();}D();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,ee.value=oe;}O=O||{},(O.pseudos=O.pseudos||[]).push(ee);}else break;return O}return S()}e.parseCssSelector=r;}),Ov=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=$u();function r(a){var n="";switch(a.type){case "ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case "selectors":n=a.selectors.map(r).join(", ");break;case "rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),a.attrs&&(n+=a.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r;}),Nv=B(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Mv(),r=Ov(),a=(function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n})();e.CssSelectorParser=a;}),qv=B(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false,doNotSkipEncoded:false},template:void 0,compile:void 0,log:true};((function(){if((typeof globalThis>"u"?"undefined":ie(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{f.globalThis=(function(){if(typeof self<"u")return self;if(typeof f<"u")return f;if(typeof y<"u")return y;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(d){return l[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||n,function(c,d,g,D){return d.indexOf("def.")===0&&(d=d.substring(4)),d in u||(g===":"?(s.defineParams&&D.replace(s.defineParams,function(S,F,L){u[d]={arg:F,text:L};}),d in u||(u[d]=D)):new Function("def","def['"+d+"']="+D)(u)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(D,S,F,L){if(u[F]&&u[F].arg&&L){var M=(F+":"+L).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[M]=u[F].text.replace(new RegExp("(^|[^\\w$])"+u[F].arg+"([^\\w$])","g"),"$1"+L+"$2"),S+"def.__exp['"+M+"']"}}));var g=new Function("def","return "+d)(u);return g&&i(s,g,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?a.append:a.split,d,g=0,D,S=l.use||l.define?i(l,s,u||{}):s;S=("var out='"+(l.strip?S.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):S).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(F,L){return c.start+o(L)+c.end}).replace(l.encode||n,function(F,L){return d=true,c.startencode+o(L)+c.end}).replace(l.conditional||n,function(F,L,M){return L?M?"';}else if("+o(M)+"){out+='":"';}else{out+='":M?"';if("+o(M)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(F,L,M,O){return L?(g+=1,D=O||"i"+g,L=o(L),"';var arr"+g+"="+L+";if(arr"+g+"){var "+M+","+D+"=-1,l"+g+"=arr"+g+".length-1;while("+D+"<l"+g+"){"+M+"=arr"+g+"["+D+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(F,L){return "';"+o(L)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),S="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+S);try{return new Function(l.varname,S)}catch(F){throw typeof console<"u"&&console.log("Could not create a template function: "+S),F}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Bv=B(function(e,t){t.exports=function(){};}),oa=B(function(e,t){var r=Bv()();t.exports=function(a){return a!==r&&a!==null};}),zu=B(function(e,t){var r=oa(),a=Array.prototype.forEach,n=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=n(null);return a.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),Hv=B(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Vv=B(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),jv=B(function(e,t){t.exports=Hv()()?Math.sign:Vv();}),$v=B(function(e,t){var r=jv(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))};}),sa=B(function(e,t){var r=$v(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Gu=B(function(e,t){var r=sa();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),jr=B(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),wa=B(function(e,t){var r=oa();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),zv=B(function(e,t){var r=jr(),a=wa(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,d){var g,D=arguments[2],S=arguments[3];return c=Object(a(c)),r(d),g=o(c),S&&g.sort(typeof S=="function"?n.call(S,c):void 0),typeof l!="function"&&(l=g[l]),i.call(l,g,function(F,L){return s.call(c,F)?i.call(d,D,c[F],F,c,L):u})}};}),ii=B(function(e,t){t.exports=zv()("forEach");}),la=B(function(){}),Gv=B(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?false:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")};}),Wv=B(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Uv=B(function(e,t){var r=oa(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Xv=B(function(e,t){t.exports=Wv()()?Object.keys:Uv();}),Yv=B(function(e,t){var r=Xv(),a=wa(),n=Math.max;t.exports=function(i,o){var s,l,u=n(arguments.length,2),c;for(i=Object(a(i)),c=function(g){try{i[g]=o[g];}catch(D){s||(s=D);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Wu=B(function(e,t){t.exports=Gv()()?Object.assign:Yv();}),Kv=B(function(e,t){var r=oa(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[ie(n)]||false};}),Jv=B(function(e,t){var r=Wu(),a=Kv(),n=oa(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return n(u)||a(l)&&(u=l,l=null),n(u)&&r(s,u),n(l)&&(s.code=l),i&&i(s,t.exports),s};}),Uu=B(function(e,t){var r=wa(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(d){try{a(s,d,n(l,d));}catch(g){u=g;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(l,d));}catch(g){u=g;}}),u!==void 0)throw u;return s};}),Xu=B(function(e,t){var r=sa(),a=function(u,c){return c},n,i,o,s;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(n.value=u,i(l,"length",n))}):(s=Uu(),o=(function(){var l=[];return function(u){var c,d=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++d).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),Yu=B(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),Zv=B(function(e,t){var r=Yu(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,ie(n)):false};}),Qv=B(function(e,t){var r=Zv();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),eb=B(function(e,t){var r=Qv();t.exports=function(a){if(typeof a!="function"||!hasOwnProperty.call(a,"length"))return false;try{if(typeof a.length!="number"||typeof a.call!="function"||typeof a.apply!="function")return !1}catch{return false}return !r(a)};}),tb=B(function(e,t){var r=eb(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),rb=B(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),ab=B(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),nb=B(function(e,t){t.exports=rb()()?String.prototype.contains:ab();}),ua=B(function(e,t){var r=Yu(),a=tb(),n=Wu(),i=zu(),o=nb(),s=t.exports=function(l,u){var c,d,g,D,S;return arguments.length<2||typeof l!="string"?(D=u,u=l,l=null):D=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),g=o.call(l,"w")):(c=g=true,d=false),S={value:u,configurable:c,enumerable:d,writable:g},D?n(i(D),S):S};s.gs=function(l,u,c){var d,g,D,S;return typeof l!="string"?(D=c,c=u,u=l,l=null):D=arguments[3],r(u)?a(u)?r(c)?a(c)||(D=c,c=void 0):c=void 0:(D=u,u=c=void 0):u=void 0,r(l)?(d=o.call(l,"c"),g=o.call(l,"e")):(d=true,g=false),S={get:u,set:c,configurable:d,enumerable:g},D?n(i(D),S):S};}),ib=B(function(e,t){var r=ua(),a=jr(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},d,g,D,S,F,L,M;d=function(H,V){var $;return a(V),u.call(this,"__ee__")?$=this.__ee__:($=c.value=o(null),s(this,"__ee__",c),c.value=null),$[H]?ie($[H])==="object"?$[H].push(V):$[H]=[$[H],V]:$[H]=V,this},g=function(H,V){var $,Y;return a(V),Y=this,d.call(this,H,$=function(){D.call(Y,H,$),n.call(V,this,arguments);}),$.__eeOnceListener__=V,this},D=function(H,V){var $,Y,ee,oe;if(a(V),!u.call(this,"__ee__"))return this;if($=this.__ee__,!$[H])return this;if(Y=$[H],ie(Y)==="object")for(oe=0;ee=Y[oe];++oe)(ee===V||ee.__eeOnceListener__===V)&&(Y.length===2?$[H]=Y[oe?0:1]:Y.splice(oe,1));else (Y===V||Y.__eeOnceListener__===V)&&delete $[H];return this},S=function(H){var V,$,Y,ee,oe;if(u.call(this,"__ee__")&&(ee=this.__ee__[H],!!ee))if(ie(ee)==="object"){for($=arguments.length,oe=new Array($-1),V=1;V<$;++V)oe[V-1]=arguments[V];for(ee=ee.slice(),V=0;Y=ee[V];++V)n.call(Y,this,oe);}else switch(arguments.length){case 1:i.call(ee,this);break;case 2:i.call(ee,this,arguments[1]);break;case 3:i.call(ee,this,arguments[1],arguments[2]);break;default:for($=arguments.length,oe=new Array($-1),V=1;V<$;++V)oe[V-1]=arguments[V];n.call(ee,this,oe);}},F={on:d,once:g,off:D,emit:S},L={on:r(d),once:r(g),off:r(D),emit:r(S)},M=l({},L),t.exports=e=function(H){return H==null?o(M):l(Object(H),L)},e.methods=F;}),ob=B(function(e,t){t.exports=function(){var r=Array.from,a,n;return typeof r!="function"?false:(a=["raz","dwa"],n=r(a),!!(n&&n!==a&&n[1]==="dwa"))};}),sb=B(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ie(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),lb=B(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ie(self))==="object"&&self)return self;if((typeof f>"u"?"undefined":ie(f))==="object"&&f)return f;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),oi=B(function(e,t){t.exports=sb()()?globalThis:lb();}),ub=B(function(e,t){var r=oi(),a={object:true,symbol:true};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return false;i=n("test symbol");try{String(i);}catch{return false}return !(!a[ie(n.iterator)]||!a[ie(n.toPrimitive)]||!a[ie(n.toStringTag)])};}),cb=B(function(e,t){t.exports=function(r){return r?ie(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Ku=B(function(e,t){var r=cb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),db=B(function(e,t){var r=ua(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,n(i,u,r.gs(null,function(d){c||(c=true,n(this,u,r(d)),c=false);})),u};}),fb=B(function(e,t){var r=ua(),a=oi().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})};}),pb=B(function(e,t){var r=ua(),a=Ku(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var s;a(o);for(s in n)if(n[s]===o)return s})})};}),mb=B(function(e,t){var r=ua(),a=Ku(),n=oi().Symbol,i=db(),o=fb(),s=pb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,d,g,D;if(typeof n=="function")try{String(n()),D=!0;}catch{}else n=null;g=function(F){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return d(F)},t.exports=d=function S(F){var L;if(this instanceof S)throw new TypeError("Symbol is not a constructor");return D?n(F):(L=l(g.prototype),F=F===void 0?"":String(F),u(L,{__description__:r("",F),__name__:r("",i(F))}))},o(d),s(d),u(g.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),u(d.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var S=a(this);return ie(S)==="symbol"?S:S.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(g.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(g.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]));}),hb=B(function(e,t){t.exports=ub()()?oi().Symbol:mb();}),gb=B(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),vb=B(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))};}),bb=B(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&ie(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),yb=B(function(e,t){var r=hb().iterator,a=gb(),n=vb(),i=sa(),o=jr(),s=wa(),l=oa(),u=bb(),c=Array.isArray,d=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},D=Object.defineProperty;t.exports=function(S){var F=arguments[1],L=arguments[2],M,O,H,V,$,Y,ee,oe,ve,te;if(S=Object(s(S)),l(F)&&o(F),!this||this===Array||!n(this)){if(!F){if(a(S))return $=S.length,$!==1?Array.apply(null,S):(V=new Array(1),V[0]=S[0],V);if(c(S)){for(V=new Array($=S.length),O=0;O<$;++O)V[O]=S[O];return V}}V=[];}else M=this;if(!c(S)){if((ve=S[r])!==void 0){for(ee=o(ve).call(S),M&&(V=new M),oe=ee.next(),O=0;!oe.done;)te=F?d.call(F,L,oe.value,O):oe.value,M?(g.value=te,D(V,O,g)):V[O]=te,oe=ee.next(),++O;$=O;}else if(u(S)){for($=S.length,M&&(V=new M),O=0,H=0;O<$;++O)te=S[O],O+1<$&&(Y=te.charCodeAt(0),Y>=55296&&Y<=56319&&(te+=S[++O])),te=F?d.call(F,L,te,H):te,M?(g.value=te,D(V,H,g)):V[H]=te,++H;$=H;}}if($===void 0)for($=i(S.length),M&&(V=new M($)),O=0;O<$;++O)te=F?d.call(F,L,S[O],O):S[O],M?(g.value=te,D(V,O,g)):V[O]=te;return M&&(g.value=null,V.length=$),V};}),jo=B(function(e,t){t.exports=ob()()?Array.from:yb();}),wb=B(function(e,t){var r=jo(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),xb=B(function(e,t){var r=wb(),a=oa(),n=jr(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){a(l)&&n(l);}),o.bind(s)};}),Db=B(function(e,t){var r=jr();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))};}),_b=B(function(e,t){var r=Jv(),a=Xu(),n=ua(),i=ib().methods,o=xb(),s=Db(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,g=i.on,D=i.emit;t.exports=function(S,F,L){var M=c(null),O,H,V,$,Y,ee,oe,ve,te,ce,he,be,Fe,qe,Ae;return F!==false?H=F:isNaN(S.length)?H=1:H=S.length,L.normalizer&&(ce=s(L.normalizer),V=ce.get,$=ce.set,Y=ce.delete,ee=ce.clear),L.resolvers!=null&&(Ae=o(L.resolvers)),V?qe=a(function(Pe){var fe,Te,W=arguments;if(Ae&&(W=Ae(W)),fe=V(W),fe!==null&&hasOwnProperty.call(M,fe))return he&&O.emit("get",fe,W,this),M[fe];if(W.length===1?Te=u.call(S,this,W[0]):Te=l.call(S,this,W),fe===null){if(fe=V(W),fe!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");fe=$(W);}else if(hasOwnProperty.call(M,fe))throw r("Circular invocation","CIRCULAR_INVOCATION");return M[fe]=Te,be&&O.emit("set",fe,null,Te),Te},H):F===0?qe=function(){var fe;if(hasOwnProperty.call(M,"data"))return he&&O.emit("get","data",arguments,this),M.data;if(arguments.length?fe=l.call(S,this,arguments):fe=u.call(S,this),hasOwnProperty.call(M,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return M.data=fe,be&&O.emit("set","data",null,fe),fe}:qe=function(fe){var Te,W=arguments,we;if(Ae&&(W=Ae(arguments)),we=String(W[0]),hasOwnProperty.call(M,we))return he&&O.emit("get",we,W,this),M[we];if(W.length===1?Te=u.call(S,this,W[0]):Te=l.call(S,this,W),hasOwnProperty.call(M,we))throw r("Circular invocation","CIRCULAR_INVOCATION");return M[we]=Te,be&&O.emit("set",we,null,Te),Te},O={original:S,memoized:qe,profileName:L.profileName,get:function(fe){return Ae&&(fe=Ae(fe)),V?V(fe):String(fe[0])},has:function(fe){return hasOwnProperty.call(M,fe)},delete:function(fe){var Te;hasOwnProperty.call(M,fe)&&(Y&&Y(fe),Te=M[fe],delete M[fe],Fe&&O.emit("delete",fe,Te));},clear:function(){var fe=M;ee&&ee(),M=c(null),O.emit("clear",fe);},on:function(fe,Te){return fe==="get"?he=true:fe==="set"?be=true:fe==="delete"&&(Fe=true),g.call(this,fe,Te)},emit:D,updateEnv:function(){S=O.original;}},V?oe=a(function(Pe){var fe,Te=arguments;Ae&&(Te=Ae(Te)),fe=V(Te),fe!==null&&O.delete(fe);},H):F===0?oe=function(){return O.delete("data")}:oe=function(fe){return Ae&&(fe=Ae(arguments)[0]),O.delete(fe)},ve=a(function(){var Pe,fe=arguments;return F===0?M.data:(Ae&&(fe=Ae(fe)),V?Pe=V(fe):Pe=String(fe[0]),M[Pe])}),te=a(function(){var Pe,fe=arguments;return F===0?O.has("data"):(Ae&&(fe=Ae(fe)),V?Pe=V(fe):Pe=String(fe[0]),Pe===null?false:O.has(Pe))}),d(qe,{__memoized__:n(true),delete:n(oe),clear:n(O.clear),_get:n(ve),_has:n(te)}),O};}),Ab=B(function(e,t){var r=jr(),a=ii(),n=la(),i=_b(),o=Gu();t.exports=function s(l){var u,c,d;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&n.async),d=i(l,c,u),a(n,function(g,D){u[D]&&g(u[D],d,u);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),Eb=B(function(e,t){t.exports=function(r){var a,n,i=r.length;if(!i)return "";for(a=String(r[n=0]);--i;)a+=""+r[++n];return a};}),Cb=B(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return ""}};}),Sb=B(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),kb=B(function(e,t){t.exports=function(r){return r!==r};}),Tb=B(function(e,t){t.exports=Sb()()?Number.isNaN:kb();}),$o=B(function(e,t){var r=Tb(),a=sa(),n=wa(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,d,g,D;if(!r(u))return i.apply(this,arguments);for(d=a(n(this).length),g=arguments[1],isNaN(g)?g=0:g>=0?g=l(g):g=a(this.length)-l(s(g)),c=g;c<d;++c)if(o.call(this,c)&&(D=this[c],r(D)))return c;return -1};}),Fb=B(function(e,t){var r=$o(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(l){var u=0,c=i,d,g=l.length;if(g===0)return c[g]||null;if(c=c[g]){for(;u<g-1;){if(d=r.call(c[0],l[u]),d===-1)return null;c=c[1][d],++u;}return d=r.call(c[0],l[u]),d===-1?null:c[1][d]||null}return null},set:function(l){var u=0,c=i,d,g=l.length;if(g===0)c[g]=++n;else {for(c[g]||(c[g]=[[],[]]),c=c[g];u<g-1;)d=r.call(c[0],l[u]),d===-1&&(d=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][d],++u;d=r.call(c[0],l[u]),d===-1&&(d=c[0].push(l[u])-1),c[1][d]=++n;}return o[n]=l,n},delete:function(l){var u=0,c=i,d,g=o[l],D=g.length,S=[];if(D===0)delete c[D];else if(c=c[D]){for(;u<D-1;){if(d=r.call(c[0],g[u]),d===-1)return;S.push(c,d),c=c[1][d],++u;}if(d=r.call(c[0],g[u]),d===-1)return;for(l=c[1][d],c[0].splice(d,1),c[1].splice(d,1);!c[0].length&&S.length;)d=S.pop(),c=S.pop(),c[0].splice(d,1),c[1].splice(d,1);}delete o[l];},clear:function(){i=[],o=a(null);}}};}),Rb=B(function(e,t){var r=$o();t.exports=function(){var a=0,n=[],i=[];return {get:function(s){var l=r.call(n,s[0]);return l===-1?null:i[l]},set:function(s){return n.push(s[0]),i.push(++a),a},delete:function(s){var l=r.call(i,s);l!==-1&&(n.splice(l,1),i.splice(l,1));},clear:function(){n=[],i=[];}}};}),Ib=B(function(e,t){var r=$o(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(u){for(var c=0,d=o,g;c<n-1;){if(g=r.call(d[0],u[c]),g===-1)return null;d=d[1][g],++c;}return g=r.call(d[0],u[c]),g===-1?null:d[1][g]||null},set:function(u){for(var c=0,d=o,g;c<n-1;)g=r.call(d[0],u[c]),g===-1&&(g=d[0].push(u[c])-1,d[1].push([[],[]])),d=d[1][g],++c;return g=r.call(d[0],u[c]),g===-1&&(g=d[0].push(u[c])-1),d[1][g]=++i,s[i]=u,i},delete:function(u){for(var c=0,d=o,g,D=[],S=s[u];c<n-1;){if(g=r.call(d[0],S[c]),g===-1)return;D.push(d,g),d=d[1][g],++c;}if(g=r.call(d[0],S[c]),g!==-1){for(u=d[1][g],d[0].splice(g,1),d[1].splice(g,1);!d[0].length&&D.length;)g=D.pop(),d=D.pop(),d[0].splice(g,1),d[1].splice(g,1);delete s[u];}},clear:function(){o=[[],[]],s=a(null);}}};}),Ju=B(function(e,t){var r=jr(),a=ii(),n=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),a(i,function(u,c,d,g){s[c]=n.call(o,l,u,c,d,g);}),s};}),zo=B(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=m.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ie(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof m>"u"?"undefined":ie(m))==="object"&&m){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":ie(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Lb=B(function(){var e=jo(),t=Ju(),r=Uu(),a=Xu(),n=zo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;la().async=function(l,u){var c=s(null),d=s(null),g=u.memoized,D=u.original,S,F,L;u.memoized=a(function(M){var O=arguments,H=O[O.length-1];return typeof H=="function"&&(S=H,O=i.call(O,0,-1)),g.apply(F=this,L=O)},g);try{r(u.memoized,g);}catch{}u.on("get",function(M){var O,H,V;if(S){if(c[M]){typeof c[M]=="function"?c[M]=[c[M],S]:c[M].push(S),S=null;return}O=S,H=F,V=L,S=F=L=null,n(function(){var $;hasOwnProperty.call(d,M)?($=d[M],u.emit("getasync",M,V,H),o.call(O,$.context,$.args)):(S=O,F=H,L=V,g.apply(H,V));});}}),u.original=function(){var M,O,H,V;return S?(M=e(arguments),O=function $(Y){var ee,oe,ve=$.id;if(ve==null){n(o.bind($,this,arguments));return}if(delete $.id,ee=c[ve],delete c[ve],!!ee)return oe=e(arguments),u.has(ve)&&(Y?u.delete(ve):(d[ve]={context:this,args:oe},u.emit("setasync",ve,typeof ee=="function"?1:ee.length))),typeof ee=="function"?V=o.call(ee,this,oe):ee.forEach(function(te){V=o.call(te,this,oe);},this),V},H=S,S=F=L=null,M.push(O),V=o.call(D,this,M),O.cb=H,S=O,V):o.call(D,this,arguments)},u.on("set",function(M){if(!S){u.delete(M);return}c[M]?typeof c[M]=="function"?c[M]=[c[M],S.cb]:c[M].push(S.cb):c[M]=S.cb,delete S.cb,S.id=M,S=null;}),u.on("delete",function(M){var O;hasOwnProperty.call(c,M)||d[M]&&(O=d[M],delete d[M],u.emit("deleteasync",M,i.call(O.args,1)));}),u.on("clear",function(){var M=d;d=s(null),u.emit("clearasync",t(M,function(O){return i.call(O.args,1)}));});};}),Pb=B(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=true;}),i};}),Zu=B(function(e,t){t.exports=function(r){return typeof r=="function"};}),Mb=B(function(e,t){var r=Zu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Ob=B(function(e,t){var r=wa(),a=Mb();t.exports=function(n){return a(r(n))};}),Nb=B(function(e,t){var r=Zu();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),qb=B(function(e,t){var r=Nb(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),Qu=B(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(ie(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Bb=B(function(){var e=Ju(),t=Pb(),r=Ob(),a=qb(),n=Qu(),i=zo(),o=Object.create,s=t("then","then:finally","done","done:finally");la().promise=function(l,u){var c=o(null),d=o(null),g=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+a(l)+"' is not valid promise mode");u.on("set",function(D,S,F){var L=false;if(!n(F)){d[D]=F,u.emit("setasync",D,1);return}c[D]=1,g[D]=F;var M=function(Y){var ee=c[D];if(L)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.`);ee&&(delete c[D],d[D]=Y,u.emit("setasync",D,ee));},O=function(){L=true,c[D]&&(delete c[D],delete g[D],u.delete(D));},H=l;if(H||(H="then"),H==="then"){var V=function(){i(O);};F=F.then(function($){i(M.bind(this,$));},V),typeof F.finally=="function"&&F.finally(V);}else if(H==="done"){if(typeof F.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");F.done(M,O);}else if(H==="done:finally"){if(typeof F.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof F.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");F.done(M),F.finally(O);}}),u.on("get",function(D,S,F){var L;if(c[D]){++c[D];return}L=g[D];var M=function(){u.emit("getasync",D,S,F);};n(L)?typeof L.done=="function"?L.done(M):L.then(function(){i(M);}):M();}),u.on("delete",function(D){if(delete g[D],c[D]){delete c[D];return}if(hasOwnProperty.call(d,D)){var S=d[D];delete d[D],u.emit("deleteasync",D,[S]);}}),u.on("clear",function(){var D=d;d=o(null),c=o(null),g=o(null),u.emit("clearasync",e(D,function(S){return [S]}));});};}),Hb=B(function(){var e=jr(),t=ii(),r=la(),a=Function.prototype.apply;r.dispose=function(n,i,o){var s;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){a.call(n,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){n(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),Vb=B(function(e,t){t.exports=2147483647;}),jb=B(function(e,t){var r=sa(),a=Vb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),$b=B(function(){var e=jo(),t=ii(),r=zo(),a=Qu(),n=jb(),i=la(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,d,g){var D,S,F,L;c=n(c),c&&(D=u(null),S=g.async&&i.async||g.promise&&i.promise?"async":"",d.on("set"+S,function(M){D[M]=setTimeout(function(){d.delete(M);},c),typeof D[M].unref=="function"&&D[M].unref(),L&&(L[M]&&L[M]!=="nextTick"&&clearTimeout(L[M]),L[M]=setTimeout(function(){delete L[M];},F),typeof L[M].unref=="function"&&L[M].unref());}),d.on("delete"+S,function(M){clearTimeout(D[M]),delete D[M],L&&(L[M]!=="nextTick"&&clearTimeout(L[M]),delete L[M]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?F=.333:F=s(l(Number(g.preFetch),1),0),F&&(L={},F=(1-F)*c,d.on("get"+S,function(M,O,H){L[M]||(L[M]="nextTick",r(function(){var V;L[M]==="nextTick"&&(delete L[M],d.delete(M),g.async&&(O=e(O),O.push(o)),V=d.memoized.apply(H,O),g.promise&&a(V)&&(typeof V.done=="function"?V.done(o,o):V.then(o,o)));}));}))),d.on("clear"+S,function(){t(D,function(M){clearTimeout(M);}),D={},L&&(t(L,function(M){M!=="nextTick"&&clearTimeout(M);}),L={});}));};}),zb=B(function(e,t){var r=sa(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=a(null),u=a(null),c=0,d;return i=r(i),{hit:function(D){var S=u[D],F=++c;if(l[F]=D,u[D]=F,!S)return ++o,o<=i?void 0:(D=l[s],d(D),D);if(delete l[S],s===S)for(;!n.call(l,++s););},delete:d=function(D){var S=u[D];if(S&&(delete l[S],delete u[D],--o,s===S)){if(!o){c=0,s=1;return}for(;!n.call(l,++s););}},clear:function(){o=0,s=1,l=a(null),u=a(null),c=0;}}};}),Gb=B(function(){var e=sa(),t=zb(),r=la();r.max=function(a,n,i){var o,s,l;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,l),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),Wb=B(function(){var e=ua(),t=la(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),a(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Ub=B(function(e,t){var r=zu(),a=Gu(),n=Ab();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=a(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=Eb():s>1&&(o.normalizer=Cb()(s)):s===false?o.normalizer=Fb()():s===1?o.normalizer=Rb()():o.normalizer=Ib()(s))),o.async&&Lb(),o.promise&&Bb(),o.dispose&&Hb(),o.maxAge&&$b(),o.max&&Gb(),o.refCounter&&Wb(),n(i,o)};}),Xb=[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}],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"])};Xb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;fr[t]=r,fr[t+"_PRIO"]=a,fr[t+"_GROUP"]=n,fr.results[a]=r,fr.resultGroups[a]=n,fr.resultGroupMap[r]=n;}),Object.freeze(fr.results),Object.freeze(fr.resultGroups),Object.freeze(fr.resultGroupMap),Object.freeze(fr);var je=fr;function Yb(){(typeof console>"u"?"undefined":ie(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var ca=Yb,Kb=/[\t\r\n\f]/g,Jb=(function(){function e(){gt(this,e),this.parent=void 0;}return tt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(Kb," ").indexOf(n)>=0}}])})(),Ft=Jb,Go={};ur(Go,{DqElement:function(){return ir},RuleError:function(){return fo},aggregate:function(){return si},aggregateChecks:function(){return rc},aggregateNodeResults:function(){return ac},aggregateResult:function(){return nc},areStylesSet:function(){return ny},assert:function(){return Qe},checkHelper:function(){return ys},clone:function(){return Lr},closest:function(){return Xt},collectResultsFromFrames:function(){return Ud},contains:function(){return Pr},convertSelector:function(){return Ti},cssParser:function(){return Sd},deepMerge:function(){return Is},escapeSelector:function(){return vt},extendMetaData:function(){return Ls},filterHtmlAttrs:function(){return um},finalizeRuleResult:function(){return Xa},findBy:function(){return mn},getAllChecks:function(){return Pi},getAncestry:function(){return ki},getBaseLang:function(){return ba},getCheckMessage:function(){return _A},getCheckOption:function(){return io},getElementSource:function(){return Ed},getEnvironmentData:function(){return ea},getFlattenedTree:function(){return xl},getFrameContexts:function(){return HA},getFriendlyUriEnd:function(){return sc},getNodeAttributes:function(){return Ja},getNodeFromTree:function(){return ze},getPreloadConfig:function(){return im},getRootNode:function(){return hn},getRule:function(){return $p},getScroll:function(){return Nr},getScrollState:function(){return $A},getSelector:function(){return vs},getSelectorData:function(){return Si},getShadowSelector:function(){return ms},getStandards:function(){return zA},getStyleSheetFactory:function(){return Wp},getXpath:function(){return Ad},injectStyle:function(){return UA},isArrayLike:function(){return Cl},isContextObject:function(){return Sl},isContextProp:function(){return so},isContextSpec:function(){return Up},isHidden:function(){return XA},isHtmlElement:function(){return Tl},isLabelledFramesSelector:function(){return kl},isLabelledShadowDomSelector:function(){return lo},isNodeInContext:function(){return Fl},isShadowRoot:function(){return Oi},isValidLang:function(){return mo},isXHTML:function(){return sn},matchAncestry:function(){return Rl},matches:function(){return xs},matchesExpression:function(){return Aa},matchesSelector:function(){return xa},memoize:function(){return ut},mergeResults:function(){return Mi},nodeLookup:function(){return Ze},nodeSerializer:function(){return or},nodeSorter:function(){return Il},objectHasOwn:function(){return Er},parseCrossOriginStylesheet:function(){return Pl},parseSameOriginStylesheet:function(){return Kp},parseStylesheet:function(){return Ll},parseTabindex:function(){return Cr},performanceTimer:function(){return rt},pollyfillElementsFromPoint:function(){return Jp},preload:function(){return am},preloadCssom:function(){return Qp},preloadMedia:function(){return rm},processMessage:function(){return El},publishMetaData:function(){return uo},querySelectorAll:function(){return Zt},querySelectorAllFilter:function(){return Sr},queue:function(){return xr},respondable:function(){return hr},ruleShouldRun:function(){return lm},select:function(){return Ml},sendCommandToFrame:function(){return $d},serializeError:function(){return co},setScrollState:function(){return S2},shadowSelect:function(){return k2},shadowSelectAll:function(){return Ol},shouldPreload:function(){return nm},toArray:function(){return oc},tokenList:function(){return Ht},uniqueArray:function(){return Fn},uuid:function(){return Iw},validInputTypes:function(){return po},validLangs:function(){return mm}});function Zb(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var si=Zb,Qb=je.CANTTELL_PRIO,ey=je.FAIL_PRIO,li=[];li[je.PASS_PRIO]=true,li[je.CANTTELL_PRIO]=null,li[je.FAIL_PRIO]=false;var ec=["any","all","none"];function tc(e,t){return ec.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function ty(e){var t=Object.assign({},e);tc(t,function(n,i){var o=typeof n.result>"u"?-1:li.indexOf(n.result);n.priority=o!==-1?o:je.CANTTELL_PRIO,i==="none"&&(n.priority===je.PASS_PRIO?n.priority=je.FAIL_PRIO:n.priority===je.FAIL_PRIO&&(n.priority=je.PASS_PRIO));});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return ec.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)});}),[Qb,ey].includes(t.priority)?t.impact=si(je.impact,a):t.impact=null,tc(t,function(n){delete n.result,delete n.priority;}),t.result=je.results[t.priority],delete t.priority,t}var rc=ty;function Xa(e){var t=p._audit.rules.find(function(r){var a=r.id;return a===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact;});});}),Object.assign(e,ac(e.nodes)),delete e.nodes,e}function ry(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return rc(i);if(Array.isArray(i.node))return Xa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=si(je.results,r,t.result);}else t.result="inapplicable";je.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=je.resultGroupMap[i.result];t[o].push(i);});var a=je.FAIL_GROUP;if(t[a].length===0&&(a=je.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=si(je.impact,n)||null;}else t.impact=null;return t}var ac=ry;function Wo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),je.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function ay(e){var t={};return je.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Wo(t,r,je.CANTTELL_GROUP):r.result===je.NA?Wo(t,r,je.NA_GROUP):je.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Wo(t,r,a);});}),t}var nc=ay;function ic(e,t,r){var a=f.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:ic(e.parentNode,t,r)}var ny=ic;function iy(e,t){if(!e)throw new Error(t)}var Qe=iy;function oy(e){return Array.prototype.slice.call(e)}var oc=oy;function sy(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var vt=sy;function ly(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function Ya(e,t){return [e.substring(0,t),e.substring(t)]}function Ka(e){return e.replace(/\s+$/,"")}function uy(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=Ya(e,e.indexOf("#")),u=ue(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=Ya(e,e.indexOf("?")),d=ue(c,2);e=d[0],o=d[1];}if(e.includes("://")){var g=e.split("://"),D=ue(g,2);r=D[0],e=D[1];var S=Ya(e,e.indexOf("/")),F=ue(S,2);a=F[0],e=F[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var L=Ya(e,e.indexOf("/")),M=ue(L,2);a=M[0],e=M[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var O=Ya(a,a.indexOf(":")),H=ue(O,2);a=H[0],n=H[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function cy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,a=t.maxLength,n=a===void 0?25:a,i=uy(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=n?Ka(u+l):u.length<2&&l.length>2&&l.length<=n?Ka(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return Ka(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=n&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!ly(u))return Ka(u)}}var sc=cy;function dy(e){return e.attributes instanceof f.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Ja=dy,fy=(function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i<n;i++)if(o=a[i],r[o])return o}return function(r,a){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](a):false}})(),xa=fy,lc={};ur(lc,{ArrayFrom:function(){return bd.default},Colorjs:function(){return st},CssSelectorParser:function(){return uc.CssSelectorParser},doT:function(){return $r.default},emojiRegexText:function(){return Uo},memoize:function(){return cc.default}});var py=br(Ig()),my=br(Lg());br(Pg());var hy=br(Xg()),gy=br(iv()),vy=br(ju());"hasOwn"in Object||(Object.hasOwn=hy.default),"values"in Object||(Object.values=gy.default),"Promise"in f||py.default.polyfill(),"Uint32Array"in f||(f.Uint32Array=my.Uint32Array),f.Uint32Array&&("some"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=vy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),f.Node&&!("isConnected"in f.Node.prototype)&&Object.defineProperty(f.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var uc=br(Nv()),$r=br(qv()),Uo=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},cc=br(Ub());function xt(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var a=t[0].length,n=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return n.map(function(s){var l=0;if(!Array.isArray(o)){var u=We(s),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;l+=o*d;}}catch(D){u.e(D);}finally{u.f();}return l}for(var g=0;g<o.length;g++)l+=o[g]*(s[g]||0);return l})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function Za(e){return zr(e)==="string"}function zr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ui(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function dc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),n.push(o);}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function fc(e){return e[e.length-1]}function ci(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function pc(e,t,r){return (r-e)/(t-e)}function Xo(e,t,r){return ci(t[0],t[1],pc(e[0],e[1],r))}function mc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var by=Object.freeze({__proto__:null,isString:Za,type:zr,toPrecision:ui,parseFunction:dc,last:fc,interpolate:ci,interpolateInv:pc,mapRange:Xo,parseCoordGrammar:mc,multiplyMatrices:xt}),yy=(function(){function e(){gt(this,e);}return tt(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),Gr=new yy,wr={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 Yo(e){return Array.isArray(e)?e:pr[e]}function di(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Yo(e),t=Yo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var n={W1:e,W2:t,XYZ:r,options:a};if(Gr.run("chromatic-adaptation-start",n),n.M||(n.W1===pr.D65&&n.W2===pr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===pr.D50&&n.W2===pr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Gr.run("chromatic-adaptation-end",n),n.M)return xt(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var wy=75e-6,mr=(X=new WeakSet,Q=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;gt(this,e),aa(this,X),lr(this,Q,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=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=Yo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var g=this.formats[d];g.type||(g.type="function"),g.name||(g.name=d);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,kt(Q,this,Fr(X,this,xy).call(this).reverse()),Gr.run("colorspace-init-end",this);}return tt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?wy:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=ue(u.range,2),d=c[0],g=c[1];return (d===void 0||s>=d-i)&&(g===void 0||s<=g+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(ie(r)==="object")return r=Fr(X,this,hc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Fr(X,this,hc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}if(r=mr.get(r),this===r)return a;a=a.map(function(g){return Number.isNaN(g)?0:g});for(var i=zt(Q,this),o=zt(Q,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)a=i[c].toBase(a);for(var d=l+1;d<o.length;d++)a=o[d].fromBase(a);return a}},{key:"from",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}return r=mr.get(r),r.to(this,a)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var a in this.coords){var n,i=this.coords[a],o=i.range||i.refRange;r.push((n=o?.min)!==null&&n!==void 0?n:0);}return r}}],[{key:"all",get:function(){return Se(new Set(Object.values(mr.registry)))}},{key:"register",value:function(r,a){if(arguments.length===1&&(a=arguments[0],r=a.id),a=this.get(a),this.registry[r]&&this.registry[r]!==a)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=a,arguments.length===1&&a.aliases){var n=We(a.aliases),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;this.register(o,a);}}catch(s){n.e(s);}finally{n.f();}}return a}},{key:"get",value:function(r){if(!r||r instanceof mr)return r;var a=zr(r);if(a==="string"){var n=mr.registry[r.toLowerCase()];if(!n)throw new TypeError('No color space found with id = "'.concat(r,'"'));return n}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return mr.get.apply(mr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=zr(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),l=ue(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=ue(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=mr.get(i),i||(i=a),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(n=zr(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Ie({space:i,id:c[0],index:o},c[1])}i=mr.get(i);var d=o.toLowerCase(),g=0;for(var D in i.coords){var S,F=i.coords[D];if(D.toLowerCase()===d||((S=F.name)===null||S===void 0?void 0:S.toLowerCase())===d)return Ie({space:i,id:D,index:g},F);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function hc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=mc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=ue(r,2);n[0];var o=n[1],s=e.coordGrammar[a][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(n=Xo(s,l,n)),n=ui(n,a),u&&(n+=u),n})};}return e}function xy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Le=mr;yu(Le,"registry",{}),yu(Le,"DEFAULT_FORMAT",{type:"functions",name:"color"});var rr=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"]}),jt=(function(e){function t(r){var a,n;if(gt(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=rr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=xt(r.toXYZ_M,s);return n.white!==n.base.white&&(l=di(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=di(n.base.white,n.white,s),xt(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=me(this,t,[r])}return Me(t,e),tt(t)})(Le);function gc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Gr.run("parse-start",r),r.color)return r.color;if(r.parsed=dc(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=We(Le.all),s;try{var l=function(){var ve=s.value,te=ve.getFormat("color");if(te){var ce;if(n===te.id||(ce=te.ids)!==null&&ce!==void 0&&ce.includes(n)){var he=Object.keys(ve.coords).length,be=Array(he).fill(0);return be.forEach(function(Fe,qe){return be[qe]=r.parsed.args[qe]||0}),{v:{spaceId:ve.id,coords:be,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(oe){o.e(oe);}finally{o.f();}var c="";if(n in Le.registry){var d,g=(d=Le.registry[n].formats)===null||d===void 0||(d=d.functions)===null||d===void 0||(d=d.color)===null||d===void 0?void 0:d.id;g&&(c="Did you mean color(".concat(g,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var D=We(Le.all),S;try{var F=function(){var ve=S.value,te=ve.getFormat(a);if(te&&te.type==="function"){var ce=1;(te.lastAlpha||fc(r.parsed.args).alpha)&&(ce=r.parsed.args.pop());var he=r.parsed.args;return te.coordGrammar&&Object.entries(ve.coords).forEach(function(be,Fe){var qe,Ae=ue(be,2),Pe=Ae[0],fe=Ae[1],Te=te.coordGrammar[Fe],W=(qe=he[Fe])===null||qe===void 0?void 0:qe.type;if(Te=Te.find(function(Ne){return Ne==W}),!Te){var we=fe.name||Pe;throw new TypeError("".concat(W," not allowed for ").concat(we," in ").concat(a,"()"))}var le=Te.range;W==="<percentage>"&&(le||(le=[0,1]));var xe=fe.range||fe.refRange;le&&xe&&(he[Fe]=Xo(le,xe,he[Fe]));}),{v:{spaceId:ve.id,coords:he,alpha:ce}}}},L;for(D.s();!(S=D.n()).done;)if(L=F(),L)return L.v}catch(oe){D.e(oe);}finally{D.f();}}}else {var M=We(Le.all),O;try{for(M.s();!(O=M.n()).done;){var H=O.value;for(var V in H.formats){var $=H.formats[V];if($.type==="custom"&&!($.test&&!$.test(r.str))){var Y=$.parse(r.str);if(Y){var ee;return (ee=Y.alpha)!==null&&ee!==void 0||(Y.alpha=1),Y}}}}}catch(oe){M.e(oe);}finally{M.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function at(e){if(!e)throw new TypeError("Empty color reference");Za(e)&&(e=gc(e));var t=e.space||e.spaceId;return t instanceof Le||(e.space=Le.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Qa(e,t){return t=Le.get(t),t.from(e)}function ar(e,t){var r=Le.resolveCoord(t,e.space),a=r.space,n=r.index,i=Qa(e,a);return i[n]}function vc(e,t,r){return t=Le.get(t),e.coords=t.to(e.space,r),e}function Wr(e,t,r){if(e=at(e),arguments.length===2&&zr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Wr(e,n,a[n]);}else {typeof r=="function"&&(r=r(ar(e,t)));var i=Le.resolveCoord(t,e.space),o=i.space,s=i.index,l=Qa(e,o);l[s]=r,vc(e,o,l);}return e}var Ko=new Le({id:"xyz-d50",name:"XYZ D50",white:"D50",base:rr,fromBase:function(t){return di(rr.white,"D50",t)},toBase:function(t){return di("D50",rr.white,t)},formats:{color:{}}}),Dy=216/24389,bc=24/116,fi=24389/27,Jo=pr.D50,Ut=new Le({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Jo,base:Ko,fromBase:function(t){var r=t.map(function(n,i){return n/Jo[i]}),a=r.map(function(n){return n>Dy?Math.cbrt(n):(fi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>bc?Math.pow(r[0],3):(116*r[0]-16)/fi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/fi,r[2]>bc?Math.pow(r[2],3):(116*r[2]-16)/fi];return a.map(function(n,i){return n*Jo[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function pi(e){return (e%360+360)%360}function _y(e,t){if(e==="raw")return t;var r=t.map(pi),a=ue(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var en=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:Ut,fromBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2],o,s=.02;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),pi(o)]},toBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2];return n<0&&(n=0),isNaN(i)&&(i=0),[a,n*Math.cos(i*Math.PI/180),n*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),yc=Math.pow(25,7),mi=Math.PI,wc=180/mi,Da=mi/180;function Zo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Ut.from(e),c=ue(u,3),d=c[0],g=c[1],D=c[2],S=en.from(Ut,[d,g,D])[1],F=Ut.from(t),L=ue(F,3),M=L[0],O=L[1],H=L[2],V=en.from(Ut,[M,O,H])[1];S<0&&(S=0),V<0&&(V=0);var $=(S+V)/2,Y=Math.pow($,7),ee=.5*(1-Math.sqrt(Y/(Y+yc))),oe=(1+ee)*g,ve=(1+ee)*O,te=Math.sqrt(Math.pow(oe,2)+Math.pow(D,2)),ce=Math.sqrt(Math.pow(ve,2)+Math.pow(H,2)),he=oe===0&&D===0?0:Math.atan2(D,oe),be=ve===0&&H===0?0:Math.atan2(H,ve);he<0&&(he+=2*mi),be<0&&(be+=2*mi),he*=wc,be*=wc;var Fe=M-d,qe=ce-te,Ae=be-he,Pe=he+be,fe=Math.abs(Ae),Te;te*ce===0?Te=0:fe<=180?Te=Ae:Ae>180?Te=Ae-360:Ae<-180?Te=Ae+360:console.log("the unthinkable has happened");var W=2*Math.sqrt(ce*te)*Math.sin(Te*Da/2),we=(d+M)/2,le=(te+ce)/2,xe=Math.pow(le,7),Ne;te*ce===0?Ne=Pe:fe<=180?Ne=Pe/2:Pe<360?Ne=(Pe+360)/2:Ne=(Pe-360)/2;var _e=Math.pow(we-50,2),ke=1+.015*_e/Math.sqrt(20+_e),Ke=1+.045*le,nt=1;nt-=.17*Math.cos((Ne-30)*Da),nt+=.24*Math.cos(2*Ne*Da),nt+=.32*Math.cos((3*Ne+6)*Da),nt-=.2*Math.cos((4*Ne-63)*Da);var lt=1+.015*le*nt,bt=30*Math.exp(-1*Math.pow((Ne-275)/25,2)),Et=2*Math.sqrt(xe/(xe+yc)),_t=-1*Math.sin(2*bt*Da)*Et,dt=Math.pow(Fe/(n*ke),2);return dt+=Math.pow(qe/(o*Ke),2),dt+=Math.pow(W/(l*lt),2),dt+=_t*(qe/(o*Ke))*(W/(l*lt)),Math.sqrt(dt)}var Ay=75e-6;function tn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?Ay:a;e=at(e),t=Le.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function rn(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Ur(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?wr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(Za(arguments[1])&&(i=arguments[1]),i=Le.get(i),tn(e,i,{epsilon:0}))return e;var o=nr(e,i);if(a!=="clip"&&!tn(e,i)){var s=Ur(rn(o),{method:"clip",space:i});if(Zo(e,s)>2){for(var l=Le.resolveCoord(a),u=l.space,c=l.id,d=nr(o,u),g=l.range||l.refRange,D=g[0],S=.01,F=D,L=ar(d,c);L-F>S;){var M=rn(d);M=Ur(M,{space:i,method:"clip"});var O=Zo(d,M);O-2<S?F=ar(d,c):L=ar(d,c),Wr(d,c,(F+L)/2);}o=nr(d,i);}else o=s;}if(a==="clip"||!tn(o,i,{epsilon:0})){var H=Object.values(i.coords).map(function(V){return V.range||[]});o.coords=o.coords.map(function(V,$){var Y=ue(H[$],2),ee=Y[0],oe=Y[1];return ee!==void 0&&(V=Math.max(ee,V)),oe!==void 0&&(V=Math.min(V,oe)),V});}return i!==e.space&&(o=nr(o,e.space)),e.coords=o.coords,e}Ur.returns="color";function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=at(e),t=Le.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Ur(i)),i}nr.returns="color";function hi(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?wr.precision:n,o=a.format,s=o===void 0?"default":o,l=a.inGamut,u=l===void 0?true:l,c=ye(a,v),d;e=at(e);var g=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Le.DEFAULT_FORMAT,u||(u=s.toGamut);var D=e.coords;if(D=D.map(function(V){return V||0}),u&&!tn(e)&&(D=Ur(rn(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(D,e.alpha,c);else throw new TypeError("format ".concat(g," can only be used to parse colors, not for serialization"));else {var S=s.name||"color";s.serializeCoords?D=s.serializeCoords(D,i):i!==null&&(D=D.map(function(V){return ui(V,i)}));var F=Se(D);if(S==="color"){var L,M=s.id||((L=s.ids)===null||L===void 0?void 0:L[0])||e.space.id;F.unshift(M);}var O=e.alpha;i!==null&&(O=ui(O,i));var H=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(O):"";d="".concat(S,"(").concat(F.join(s.commas?", ":" ")).concat(H,")");}return d}var Ey=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Cy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],gi=new jt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Ey,fromXYZ_M:Cy,formats:{color:{}}}),vi=1.09929682680944,xc=.018053968510807,Dc=new jt({id:"rec2020",name:"REC.2020",base:gi,toBase:function(t){return t.map(function(r){return r<xc*4.5?r/4.5:Math.pow((r+vi-1)/vi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=xc?vi*Math.pow(r,.45)-(vi-1):4.5*r})},formats:{color:{}}}),Sy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],ky=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],_c=new jt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Sy,fromXYZ_M:ky}),Ty=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Fy=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Ac=new jt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Ty,fromXYZ_M:Fy,formats:{color:{}}}),Ec={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},Cc=Array(3).fill("<percentage> | <number>[0, 255]"),Sc=Array(3).fill("<number>[0, 255]"),an=new jt({id:"srgb",name:"sRGB",base:Ac,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:Cc},rgb_number:{name:"rgb",commas:true,coords:Sc,noAlpha:true},color:{},rgba:{coords:Cc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Sc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(a){r.push(parseInt(a,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?true:n;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),s=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Ec.black,r.alpha=0):r.coords=Ec[t],r.coords)return r}}}}),kc=new jt({id:"p3",name:"P3",base:_c,fromBase:an.fromBase,toBase:an.toBase,formats:{color:{id:"display-p3"}}});if(wr.display_space=an,typeof CSS<"u"&&(de=CSS)!==null&&de!==void 0&&de.supports)for(var Qo=0,Tc=[Ut,Dc,kc];Qo<Tc.length;Qo++){var es=Tc[Qo],Ry=es.getMinCoords(),Iy={space:es,coords:Ry,alpha:1},Ly=hi(Iy);if(CSS.supports("color",Ly)){wr.display_space=es;break}}function Py(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?wr.display_space:a,i=ye(r,b),o=hi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!wr.display_space)o=new String(o),o.color=e;else {var s=nr(e,n);o=new String(hi(s,i)),o.color=s;}return o}function Fc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Le.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,s){var l=n[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function My(e,t){return e=at(e),t=at(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Xr(e){return ar(e,[rr,"y"])}function Rc(e,t){Wr(e,[rr,"y"],t);}function Oy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Xr(this)},set:function(r){Rc(this,r);}});}var Ny=Object.freeze({__proto__:null,getLuminance:Xr,setLuminance:Rc,register:Oy});function qy(e,t){e=at(e),t=at(t);var r=Math.max(Xr(e),0),a=Math.max(Xr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var By=.56,Hy=.57,Vy=.62,jy=.65,Ic=.022,$y=1.414,zy=.1,Gy=5e-4,Wy=1.14,Lc=.027,Uy=1.14;function Pc(e){return e>=Ic?e:e+Math.pow(Ic-e,$y)}function _a(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Xy(e,t){t=at(t),e=at(e);var r,a,n,i,o,s;t=nr(t,"srgb");var l=ue(t.coords,3);i=l[0],o=l[1],s=l[2];var u=_a(i)*.2126729+_a(o)*.7151522+_a(s)*.072175;e=nr(e,"srgb");var c=ue(e.coords,3);i=c[0],o=c[1],s=c[2];var d=_a(i)*.2126729+_a(o)*.7151522+_a(s)*.072175,g=Pc(u),D=Pc(d),S=D>g;return Math.abs(D-g)<Gy?a=0:S?(r=Math.pow(D,By)-Math.pow(g,Hy),a=r*Wy):(r=Math.pow(D,jy)-Math.pow(g,Vy),a=r*Uy),Math.abs(a)<zy?n=0:a>0?n=a-Lc:n=a+Lc,n*100}function Yy(e,t){e=at(e),t=at(t);var r=Math.max(Xr(e),0),a=Math.max(Xr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}var i=r+a;return i===0?0:(r-a)/i}var Ky=5e4;function Jy(e,t){e=at(e),t=at(t);var r=Math.max(Xr(e),0),a=Math.max(Xr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?Ky:(r-a)/a}function Zy(e,t){e=at(e),t=at(t);var r=ar(e,[Ut,"l"]),a=ar(t,[Ut,"l"]);return Math.abs(r-a)}var Qy=216/24389,Mc=24/116,bi=24389/27,ts=pr.D65,rs=new Le({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ts,base:rr,fromBase:function(t){var r=t.map(function(n,i){return n/ts[i]}),a=r.map(function(n){return n>Qy?Math.cbrt(n):(bi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Mc?Math.pow(r[0],3):(116*r[0]-16)/bi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/bi,r[2]>Mc?Math.pow(r[2],3):(116*r[2]-16)/bi];return a.map(function(n,i){return n*ts[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),as=Math.pow(5,.5)*.5+.5;function e0(e,t){e=at(e),t=at(t);var r=ar(e,[rs,"l"]),a=ar(t,[rs,"l"]),n=Math.abs(Math.pow(r,as)-Math.pow(a,as)),i=Math.pow(n,1/as)*Math.SQRT2-40;return i<7.5?0:i}var yi=Object.freeze({__proto__:null,contrastWCAG21:qy,contrastAPCA:Xy,contrastMichelson:Yy,contrastWeber:Jy,contrastLstar:Zy,contrastDeltaPhi:e0});function t0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Za(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=ye(a,w);if(!n){var o=Object.keys(yi).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=at(e),t=at(t);for(var s in yi)if("contrast"+n.toLowerCase()===s.toLowerCase())return yi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Oc(e){var t=Qa(e,rr),r=ue(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return [4*a/o,9*n/o]}function Nc(e){var t=Qa(e,rr),r=ue(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function r0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Oc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Nc(this)}});}var a0=Object.freeze({__proto__:null,uv:Oc,xy:Nc,register:r0});function n0(e,t){return Fc(e,t,"lab")}var i0=Math.PI,qc=i0/180;function o0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,s=Ut.from(e),l=ue(s,3),u=l[0],c=l[1],d=l[2],g=en.from(Ut,[u,c,d]),D=ue(g,3),S=D[1],F=D[2],L=Ut.from(t),M=ue(L,3),O=M[0],H=M[1],V=M[2],$=en.from(Ut,[O,H,V])[1];S<0&&(S=0),$<0&&($=0);var Y=u-O,ee=S-$,oe=c-H,ve=d-V,te=Math.pow(oe,2)+Math.pow(ve,2)-Math.pow(ee,2),ce=.511;u>=16&&(ce=.040975*u/(1+.01765*u));var he=.0638*S/(1+.0131*S)+.638,be;Number.isNaN(F)&&(F=0),F>=164&&F<=345?be=.56+Math.abs(.2*Math.cos((F+168)*qc)):be=.36+Math.abs(.4*Math.cos((F+35)*qc));var Fe=Math.pow(S,4),qe=Math.sqrt(Fe/(Fe+1900)),Ae=he*(qe*be+1-qe),Pe=Math.pow(Y/(n*ce),2);return Pe+=Math.pow(ee/(o*he),2),Pe+=te/Math.pow(Ae,2),Math.sqrt(Pe)}var Bc=203,ns=new Le({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:rr,fromBase:function(t){return t.map(function(r){return Math.max(r*Bc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Bc,0)})}}),wi=1.15,xi=.66,Hc=2610/Math.pow(2,14),s0=Math.pow(2,14)/2610,Vc=3424/Math.pow(2,12),jc=2413/Math.pow(2,7),$c=2392/Math.pow(2,7),l0=1.7*2523/Math.pow(2,5),zc=Math.pow(2,5)/(1.7*2523),Di=-0.56,is=16295499532821565e-27,u0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],c0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],d0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],f0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Gc=new Le({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ns,fromBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2],o=wi*a-(wi-1)*i,s=xi*n-(xi-1)*a,l=xt(u0,[o,s,i]),u=l.map(function(L){var M=Vc+jc*Math.pow(L/1e4,Hc),O=1+$c*Math.pow(L/1e4,Hc);return Math.pow(M/O,l0)}),c=xt(d0,u),d=ue(c,3),g=d[0],D=d[1],S=d[2],F=(1+Di)*g/(1+Di*g)-is;return [F,D,S]},toBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2],o=(a+is)/(1+Di-Di*(a+is)),s=xt(f0,[o,n,i]),l=s.map(function(L){var M=Vc-Math.pow(L,zc),O=$c*Math.pow(L,zc)-jc,H=1e4*Math.pow(M/O,s0);return H}),u=xt(c0,l),c=ue(u,3),d=c[0],g=c[1],D=c[2],S=(d+(wi-1)*D)/wi,F=(g+(xi-1)*S)/xi;return [S,F,D]},formats:{color:{}}}),os=new Le({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Gc,fromBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),pi(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function p0(e,t){var r=os.from(e),a=ue(r,3),n=a[0],i=a[1],o=a[2],s=os.from(t),l=ue(s,3),u=l[0],c=l[1],d=l[2],g=n-u,D=i-c;Number.isNaN(o)&&Number.isNaN(d)?(o=0,d=0):Number.isNaN(o)?o=d:Number.isNaN(d)&&(d=o);var S=o-d,F=2*Math.sqrt(i*c)*Math.sin(S/2*(Math.PI/180));return Math.sqrt(Math.pow(g,2)+Math.pow(D,2)+Math.pow(F,2))}var Wc=3424/4096,Uc=2413/128,Xc=2392/128,Yc=2610/16384,m0=2523/32,h0=16384/2610,Kc=32/2523,g0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],v0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],b0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],y0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ss=new Le({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:ns,fromBase:function(t){var r=xt(g0,t);return w0(r)},toBase:function(t){var r=x0(t);return xt(y0,r)},formats:{color:{}}});function w0(e){var t=e.map(function(r){var a=Wc+Uc*Math.pow(r/1e4,Yc),n=1+Xc*Math.pow(r/1e4,Yc);return Math.pow(a/n,m0)});return xt(v0,t)}function x0(e){var t=xt(b0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,Kc)-Wc,0),i=Uc-Xc*Math.pow(a,Kc);return 1e4*Math.pow(n/i,h0)});return r}function D0(e,t){var r=ss.from(e),a=ue(r,3),n=a[0],i=a[1],o=a[2],s=ss.from(t),l=ue(s,3),u=l[0],c=l[1],d=l[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-d,2))}var _0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],A0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],E0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],C0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],_i=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:rr,fromBase:function(t){var r=xt(_0,t),a=r.map(function(n){return Math.cbrt(n)});return xt(E0,a)},toBase:function(t){var r=xt(C0,t),a=r.map(function(n){return Math.pow(n,3)});return xt(A0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function S0(e,t){var r=_i.from(e),a=ue(r,3),n=a[0],i=a[1],o=a[2],s=_i.from(t),l=ue(s,3),u=l[0],c=l[1],d=l[2],g=n-u,D=i-c,S=o-d;return Math.sqrt(Math.pow(g,2)+Math.pow(D,2)+Math.pow(S,2))}var ls=Object.freeze({__proto__:null,deltaE76:n0,deltaECMC:o0,deltaE2000:Zo,deltaEJz:p0,deltaEITP:D0,deltaEOK:S0});function nn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Za(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?wr.deltaE:n,o=ye(a,R);e=at(e),t=at(t);for(var s in ls)if("deltae"+i.toLowerCase()===s.toLowerCase())return ls[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function k0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),a=[r,"l"];return Wr(e,a,function(n){return n*(1+t)})}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Le.get("oklch","lch"),a=[r,"l"];return Wr(e,a,function(n){return n*(1-t)})}var F0=Object.freeze({__proto__:null,lighten:k0,darken:T0});function Jc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[at(e),at(t)];if(e=n[0],t=n[1],zr(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,l=o.outputSpace,u=o.premultiplied,c=on(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function Zc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(us(e)){a=e,r=t;var n=ue(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,d=c===void 0?1e3:c,g=ye(i,A);if(!a){var D=[at(e),at(t)];e=D[0],t=D[1],a=on(e,t,g);}var S=nn(e,t),F=o>0?Math.max(u,Math.ceil(S/o)+1):u,L=[];if(d!==void 0&&(F=Math.min(F,d)),F===1)L=[{p:.5,color:a(.5)}];else {var M=1/(F-1);L=Array.from({length:F},function(oe,ve){var te=ve*M;return {p:te,color:a(te)}});}if(o>0)for(var O=L.reduce(function(oe,ve,te){if(te===0)return 0;var ce=nn(ve.color,L[te-1].color,s);return Math.max(oe,ce)},0);O>o;){O=0;for(var H=1;H<L.length&&L.length<d;H++){var V=L[H-1],$=L[H],Y=($.p+V.p)/2,ee=a(Y);O=Math.max(O,nn(ee,V.color),nn(ee,$.color)),L.splice(H,0,{p:Y,color:a(Y)}),H++;}}return L=L.map(function(oe){return oe.color}),L}function on(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(us(e)){var a=e,n=t;return on.apply(void 0,Se(a.rangeArgs.colors).concat([Ie({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=at(e),t=at(t),e=rn(e),t=rn(t);var u={colors:[e,t],options:r};if(i?i=Le.get(i):i=Le.registry[wr.interpolationSpace]||e.space,o=o?Le.get(o):i,e=nr(e,i),t=nr(t,i),e=Ur(e),t=Ur(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],g=[ar(e,d),ar(t,d)],D=g[0],S=g[1],F=_y(c,[D,S]),L=ue(F,2);D=L[0],S=L[1],Wr(e,d,D),Wr(t,d,S);}return l&&(e.coords=e.coords.map(function(M){return M*e.alpha}),t.coords=t.coords.map(function(M){return M*t.alpha})),Object.assign(function(M){M=s?s(M):M;var O=e.coords.map(function($,Y){var ee=t.coords[Y];return ci($,ee,M)}),H=ci(e.alpha,t.alpha,M),V={space:i,coords:O,alpha:H};return l&&(V.coords=V.coords.map(function($){return $/H})),o!==i&&(V=nr(V,o)),V},{rangeArgs:u})}function us(e){return zr(e)==="function"&&!!e.rangeArgs}wr.interpolationSpace="lab";function R0(e){e.defineFunction("mix",Jc,{returns:"color"}),e.defineFunction("range",on,{returns:"function<color>"}),e.defineFunction("steps",Zc,{returns:"array<color>"});}var I0=Object.freeze({__proto__:null,mix:Jc,steps:Zc,range:on,isRange:us,register:R0}),Qc=new Le({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:an,fromBase:function(t){var r=Math.max.apply(Math,Se(t)),a=Math.min.apply(Math,Se(t)),n=ue(t,3),i=n[0],o=n[1],s=n[2],l=NaN,u=0,c=(a+r)/2,d=r-a;if(d!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/d+(o<s?6:0);break;case o:l=(s-i)/d+2;break;case s:l=(i-o)/d+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2];a=a%360,a<0&&(a+=360),n/=100,i/=100;function o(s){var l=(s+a/30)%12,u=n*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),ed=new Le({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Qc,fromBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return [a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return [a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),L0=new Le({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:ed,fromBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var s=n/o;return [a,0,s*100]}var l=1-i,u=l===0?0:1-n/l;return [a,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),P0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],M0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],td=new jt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:P0,fromXYZ_M:M0}),O0=new jt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:td,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),N0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],q0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],rd=new jt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ko,toXYZ_M:N0,fromXYZ_M:q0}),B0=1/512,H0=16/512,V0=new jt({id:"prophoto",name:"ProPhoto",base:rd,toBase:function(t){return t.map(function(r){return r<H0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=B0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),j0=new Le({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:_i,fromBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),pi(o)]},toBase:function(t){var r=ue(t,3),a=r[0],n=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=n*Math.cos(i*Math.PI/180),s=n*Math.sin(i*Math.PI/180)),[a,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),ad=203,nd=2610/Math.pow(2,14),$0=Math.pow(2,14)/2610,z0=2523/Math.pow(2,5),id=Math.pow(2,5)/2523,od=3424/Math.pow(2,12),sd=2413/Math.pow(2,7),ld=2392/Math.pow(2,7),G0=new jt({id:"rec2100pq",name:"REC.2100-PQ",base:gi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,id)-od,0)/(sd-ld*Math.pow(r,id)),$0);return a*1e4/ad})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*ad/1e4,0),n=od+sd*Math.pow(a,nd),i=1+ld*Math.pow(a,nd);return Math.pow(n/i,z0)})},formats:{color:{id:"rec2100-pq"}}}),ud=.17883277,cd=.28466892,dd=.55991073,cs=3.7743,W0=new jt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:gi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*cs:Math.exp((r-dd)/ud+cd)/12*cs})},fromBase:function(t){return t.map(function(r){return r/=cs,r<=1/12?Math.sqrt(3*r):ud*Math.log(12*r-cd)+dd})},formats:{color:{id:"rec2100-hlg"}}}),fd={};Gr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=pd(e.W1,e.W2,e.options.method));}),Gr.add("chromatic-adaptation-end",function(e){e.M||(e.M=pd(e.W1,e.W2,e.options.method));});function Ai(e){var t=e.id;e.toCone_M;e.fromCone_M;fd[t]=arguments[0];}function pd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=fd[r],n=xt(a.toCone_M,e),i=ue(n,3),o=i[0],s=i[1],l=i[2],u=xt(a.toCone_M,t),c=ue(u,3),d=c[0],g=c[1],D=c[2],S=[[d/o,0,0],[0,g/s,0],[0,0,D/l]],F=xt(S,a.toCone_M),L=xt(a.fromCone_M,F);return L}Ai({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]]}),Ai({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]]}),Ai({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]]}),Ai({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 U0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],X0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],md=new jt({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:U0,fromXYZ_M:X0,formats:{color:{}}}),Ei=Math.pow(2,-16),ds=-0.35828683,Ci=(Math.log2(65504)+9.72)/17.52,Y0=new jt({id:"acescc",name:"ACEScc",coords:{r:{range:[ds,Ci],name:"Red"},g:{range:[ds,Ci],name:"Green"},b:{range:[ds,Ci],name:"Blue"}},referred:"scene",base:md,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Ei)*2:a<Ci?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ei)+9.72)/17.52:r<Ei?(Math.log2(Ei+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),hd=Object.freeze({__proto__:null,XYZ_D65:rr,XYZ_D50:Ko,XYZ_ABS_D65:ns,Lab_D65:rs,Lab:Ut,LCH:en,sRGB_Linear:Ac,sRGB:an,HSL:Qc,HWB:L0,HSV:ed,P3_Linear:_c,P3:kc,A98RGB_Linear:td,A98RGB:O0,ProPhoto_Linear:rd,ProPhoto:V0,REC_2020_Linear:gi,REC_2020:Dc,OKLab:_i,OKLCH:j0,Jzazbz:Gc,JzCzHz:os,ICTCP:ss,REC_2100_PQ:G0,REC_2100_HLG:W0,ACEScg:md,ACEScc:Y0}),st=(De=new WeakMap,(function(){function e(){var t=this;gt(this,e),lr(this,De,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=at(n[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=n[0],s=n[1],l=n[2]),kt(De,this,Le.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(D){Object.defineProperty(t,D,{get:function(){return t.get(D)},set:function(F){return t.set(D,F)}});};for(var d in zt(De,this).coords)c(d);}return tt(e,[{key:"space",get:function(){return zt(De,this)}},{key:"spaceId",get:function(){return zt(De,this).id}},{key:"clone",value:function(){return new st(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=Py.apply(void 0,[this].concat(a));return i.color=new st(i.color),i}}],[{key:"get",value:function(r){if(r instanceof st)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return ge(st,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,s=n.returns,l=function(){var c=a.apply(void 0,arguments);if(s==="color")c=st.get(c);else if(s==="function<color>"){var d=c;c=function(){var D=d.apply(void 0,arguments);return st.get(D)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(g){return st.get(g)}));return c};r in st||(st[r]=l),o&&(st.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)st.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(st);else for(var a in r)st.defineFunction(a,r[a]);}}])})());st.defineFunctions({get:ar,getAll:Qa,set:Wr,setAll:vc,to:nr,equals:My,inGamut:tn,toGamut:Ur,distance:Fc,toString:hi}),Object.assign(st,{util:by,hooks:Gr,WHITES:pr,Space:Le,spaces:Le.registry,parse:gc,defaults:wr});for(var fs=0,gd=Object.keys(hd);fs<gd.length;fs++){var K0=gd[fs];Le.register(hd[K0]);}for(var vd in Le.registry)ps(vd,Le.registry[vd]);Gr.add("colorspace-init-end",function(e){var t;ps(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){ps(r,e);});});function ps(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(st.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Le.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&ie(l)!=="symbol"&&!(l in s)){var c=Le.resolveCoord([t,l]),d=c.index;if(d>=0)return s[d]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&ie(l)!=="symbol"&&!(l in s)||l>=0){var d=Le.resolveCoord([t,l]),g=d.index;if(g>=0)return s[g]=u,n.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}st.extend(ls),st.extend({deltaE:nn}),st.extend(F0),st.extend({contrast:t0}),st.extend(a0),st.extend(Ny),st.extend(I0),st.extend(yi);var bd=br(ju());$r.default.templateSettings.strip=false,p._memoizedFns=[];function J0(e){var t=(0, cc.default)(e);return p._memoizedFns.push(t),t}var ut=J0,Z0=ut(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),sn=Z0;function ms(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||m;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return "";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode();}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var Q0=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],ew=31,tw=/([\\"])/g,rw=/(\r\n|\r|\n)/g;function hs(e){return e.replace(tw,"\\$1").replace(rw,"\\a ")}function yd(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=sc(e.getAttribute(r));n?a=vt(t.name)+'$="'+hs(n)+'"':a=vt(t.name)+'="'+hs(e.getAttribute(r))+'"';}else a=vt(r)+'="'+hs(t.value)+'"';return a}function gs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function wd(e){return !Q0.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<ew)}function Si(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=vt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(Ja(s)).filter(wd).forEach(function(u){var c=yd(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(a.push(r),r=o.children.slice());!r.length&&a.length;)r=a.pop();};r.length;)n();return t}function aw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=vt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(gs)}function nw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&xa(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function iw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+vt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function xd(e){var t=sn(m);return vt(t?e.localName:e.nodeName.toLowerCase())}function ow(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Ja(e)).filter(wd).forEach(function(i){var o=yd(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(gs)}function sw(e,t){var r="",a,n=aw(e,t),i=ow(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=xd(e)):(a=n.concat(i),a.sort(gs),a=a.slice(0,3),a.some(function(o){return o.species==="class"})?a.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=xd(e)),r+=a.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function lw(e,t,r){if(!p._selectorData)throw new Error("Expect axe._selectorData to be set up");var a=t.toRoot,n=a===void 0?false:a,i,o;do{var s=iw(e);s||(s=sw(e,p._selectorData),s+=nw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>je.selectorSimilarFilterLimit?o=cw(r,i):o=o.filter(function(l){return xa(l,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function uw(e,t){return ms(lw,e,t)}var vs=ut(uw),cw=ut(function(e,t){return Array.from(e.querySelectorAll(t))});function Dd(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,a=e.parentNode,n="";if(t!=="head"&&t!=="body"&&a?.children.length>1){var i=Array.prototype.indexOf.call(a.children,e)+1;n=":nth-child(".concat(i,")");}return r?Dd(r)+" > "+t+n:t+n}function ki(e,t){return ms(Dd,e,t)}function _d(e,t){var r,a;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=_d(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&vt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function dw(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function fw(e){var t=_d(e);return dw(t)}var Ad=fw,ln={},pw={set:function(t,r){mw(t),ln[t]=r;},get:function(t,r){if(hw(r),t in ln)return ln[t];if(typeof r=="function"){var a=r();return Qe(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),ln[t]}},clear:function(){ln={};}};function mw(e){Qe(typeof e=="string","key must be a string, "+ie(e)+" given"),Qe(e!=="","key must not be empty");}function hw(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ie(e)+" given");}var Ve=pw;function gw(e,t){var r=t||e;return Ve.get("nodeMap")?Ve.get("nodeMap").get(r):null}var ze=gw;function Ed(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,a=r===void 0?300:r,n=t.attrLimit,i=n===void 0?20:n;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return bs(s,a)}var l=vw(e);return l.length>a?bw(e,{maxLength:a,attrLimit:i}):l}function vw(e){var t=e.outerHTML;return !t&&typeof f.XMLSerializer=="function"&&(t=new f.XMLSerializer().serializeToString(e)),t||""}function bw(e,t){var r=t.maxLength,a=t.attrLimit,n=sn(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Ja(e)).map(function(S){var F=S.name,L=S.value;return {name:F,value:L}}),o=i.reduce(function(S,F){var L=F.name,M=F.value;return S+L.length+M.length+4},0);2+n.length+o>r&&i.forEach(function(S){S.name=bs(S.name,a),S.value=bs(S.value,a);});var s="<".concat(n),l=">",u=" ...>",c=We(i),d;try{for(c.s();!(d=c.n()).done;){var g=d.value,D=" ".concat(g.name,'="').concat(g.value,'"');if(s.length+D.length>r-u.length){l=u;continue}s+=D;}}catch(S){c.e(S);}finally{c.f();}return s+l}function bs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Cd="DqElm.RunOptions",da=ut(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Ve.get(Cd))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Ft?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=ze(t)),this.fromFrame=((n=this.spec.selector)===null||n===void 0?void 0:n.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!p._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Ed(this._element);}return this});da.prototype={get selector(){return this.spec.selector||[vs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[ki(this.element)]},get xpath(){return this.spec.xpath||[Ad(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},da.fromFrame=function(t,r,a){var n=da.mergeSpecs(t,a);return new da(a.element,r,n)},da.mergeSpecs=function(t,r){return Ie({},t,{selector:[].concat(Se(r.selector),Se(t.selector)),ancestry:[].concat(Se(r.ancestry),Se(t.ancestry)),xpath:[].concat(Se(r.xpath),Se(t.xpath)),nodeIndexes:[].concat(Se(r.nodeIndexes),Se(t.nodeIndexes)),fromFrame:true})},da.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Ve.set(Cd,{elementRef:r,absolutePaths:a});};var ir=da;function yw(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){f.Node&&(i instanceof f.Node||i instanceof Ft?i=[i]:i=oc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ft&&(o=o.actualNode),o instanceof f.Node){var s=new ir(o);e.relatedNodes.push(s);}}));}}}var ys=yw;function Lr(e){return ws(e,new Map)}function ws(e,t){var r,a;if(e===null||ie(e)!=="object"||(r=f)!==null&&r!==void 0&&r.Node&&e instanceof f.Node||(a=f)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof f.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(s){n.push(ws(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ws(e[o],t);return i}var un=new uc.CssSelectorParser;un.registerSelectorPseudos("not"),un.registerSelectorPseudos("is"),un.registerNestingOperators(">"),un.registerAttrEqualityMods("^","$","*","~");var Sd=un;function xs(e,t){var r=Ti(t);return r.some(function(a){return Aa(e,a)})}function ww(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function xw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Dw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function _w(e,t){return !t.id||e.props.id===t.id}function Aw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Aa(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Aa(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function kd(e,t){return ww(e,t)&&xw(e,t)&&Dw(e,t)&&_w(e,t)&&Aw(e,t)}var cn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Ds=/\\/g;function Ew(e){if(e)return e.map(function(t){var r=t.name.replace(Ds,""),a=(t.value||"").replace(Ds,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+cn(a));break;case "$=":i=new RegExp(cn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+cn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+cn(a)+"(-|$)");break;case "=":n=function(s){return a===s};break;case "*=":n=function(s){return s&&s.includes(a)};break;case "!=":n=function(s){return a!==s};break;default:n=function(s){return s!==null};}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return false}),n||(n=function(s){return s&&i.test(s)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function Cw(e){if(e)return e.map(function(t){return t=t.replace(Ds,""),{value:t,regexp:new RegExp("(^|\\s)"+cn(t)+"(\\s|$)")}})}function Sw(e){if(e)return e.map(function(t){var r;return ["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=Td(r)),{name:t.name,expressions:r,value:t.value}})}function Td(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:Ew(a.attrs),classes:Cw(a.classNames),pseudos:Sw(a.pseudos)}),a=a.rule;return r})}function Ti(e){var t=Sd.parse(e);return t=t.selectors?t.selectors:[t],Td(t)}function Fd(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=kd(e,i);!o&&a&&e.parent;)e=e.parent,o=kd(e,i);if(r>0){if([" ",">"].includes(i.combinator)===false)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&Fd(e.parent,t,r-1,i.combinator===" ");}return o}function Aa(e,t,r){return Fd(e,t,t.length-1,r)}function kw(e,t){for(;e;){if(xs(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var Xt=kw;function Fi(){}function _s(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Tw(){var e=[],t=0,r=0,a=Fi,n=false,i,o=function(D){i=D,setTimeout(function(){i!=null&&ca("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(D){e[g]=D,r-=1,!r&&a!==Fi&&(n=true,a(e));}}function u(g){return a=Fi,s(g),e}function c(){for(var g=e.length;t<g;t++){var D=e[t];try{D.call(null,l(t),u);}catch(S){u(S);}}}var d={defer:function(D){if(ie(D)==="object"&&D.then&&D.catch){var S=D;D=function(L,M){S.then(L).catch(M);};}if(_s(D),i===void 0){if(n)throw new Error("Queue already completed");return e.push(D),++r,c(),d}},then:function(D){if(_s(D),a!==Fi)throw new Error("queue `then` already set");return i||(a=D,r||(n=true,a(e))),d},catch:function(D){if(_s(D),s!==o)throw new Error("queue `catch` already set");return i?(D(i),i=null):s=D,d},abort:u};return d}var xr=Tw,Ea,Ca,As=f.crypto||f.msCrypto;if(!Ca&&As&&As.getRandomValues){var Rd=new Uint8Array(16);Ca=function(){return As.getRandomValues(Rd),Rd};}if(!Ca){var Id=new Array(16);Ca=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Id[t]=r>>>((t&3)<<3)&255;return Id};}for(var Ld=typeof f.Buffer=="function"?f.Buffer:Array,Es=[],Pd={},Sa=0;Sa<256;Sa++)Es[Sa]=(Sa+256).toString(16).substr(1),Pd[Es[Sa]]=Sa;function Fw(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=Pd[i]);});n<16;)t[a+n++]=0;return t}function Cs(e,t){var r=t||0,a=Es;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var Yr=Ca(),Rw=[Yr[0]|1,Yr[1],Yr[2],Yr[3],Yr[4],Yr[5]],Md=(Yr[6]<<8|Yr[7])&16383,Ss=0,ks=0;function Od(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Md,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:ks+1,l=o-Ss+(s-ks)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Ss)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ss=o,ks=s,Md=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;n[a++]=u>>>24&255,n[a++]=u>>>16&255,n[a++]=u>>>8&255,n[a++]=u&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var d=e.node||Rw,g=0;g<6;g++)n[a+g]=d[g];return t||Cs(n)}function fa(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Ld(16):null,e=null),e=e||{};var n=e.random||(e.rng||Ca)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Cs(n)}Ea=fa,Ea.v1=Od,Ea.v4=fa,Ea.parse=Fw,Ea.unparse=Cs,Ea.BufferClass=Ld,p._uuid=Od();var Iw=fa,Lw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Pw(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:Nd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Mw(e){var t;try{t=JSON.parse(e);}catch{return}if(Ow(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=ie(t.error)==="object"?Nw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Ow(e){return e!==null&&ie(e)==="object"&&typeof e.channelId=="string"&&e.source===Nd()}function Nw(e){var t=e.message||"Unknown error occurred",r=Lw.includes(e.name)?e.name:"Error",a=f[r]||Error;return e.stack&&(t+=`
|
|
365
|
-
`+e.stack.replace(e.message,"")),new a(t)}function Nd(){var e="axeAPI",t="";return typeof p<"u"&&p._audit&&p._audit.application&&(e=p._audit.application),typeof p<"u"&&(t=p.version),e+"."+t}function Ts(e){Bd(e),Qe(f.parent===e,"Source of the response must be the parent window.");}function qd(e){Bd(e),Qe(e.parent===f,"Respondable target must be a frame in the current window");}function Bd(e){Qe(f!==e,"Messages can not be sent to the same window.");}var dn={};function qw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(dn,e),"A replyHandler already exists for this message channel."),dn[e]={replyHandler:t,sendToParent:r};}function Bw(e){return Object.prototype.hasOwnProperty.call(dn,e)?dn[e]:void 0}function Hw(e){delete dn[e];}var Ri=[];function Fs(){var e="".concat(fa(),":").concat(fa());return Ri.includes(e)?Fs():(Ri.push(e),e)}function Vw(e){return Ri.includes(e)?false:(Ri.push(e),true)}function Rs(e,t,r,a){if(r?Ts(e):qd(e),t.message instanceof Error&&!r)return p.log(t.message),false;var n=Pw(Ie({messageId:Fs()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&qw(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function jw(e,t,r){if(!e.parent!==f)return p.log(t);try{Rs(e,{topic:null,channelId:r,message:t,messageId:Fs(),keepalive:!0},!0);}catch(a){return p.log(a)}}function Hd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(n,i,o){var s={channelId:t,message:n,keepalive:i};Rs(e,s,r,o);}}function $w(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function zw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Mw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!$w(r)||!Vw(l))return;if(s instanceof Error&&n.parent!==f)return p.log(s),!1;try{if(i.topic){var u=Hd(n,o);Ts(n),t(i,u);}else Gw(n,i);}catch(c){jw(n,c,o);}}catch(c){return p.log(c),false}}function Gw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Bw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ts(e):qd(e);var l=Hd(e,r,s);!n&&r&&Hw(r);try{o(a,n,l);}catch(u){p.log(u),l(u,n);}}}var Ww={open:function(t){if(typeof f.addEventListener=="function"){var r=function(n){zw(n,t);};return f.addEventListener("message",r,false),function(){f.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof f.addEventListener!="function"?false:Rs(t,r,false,a)}};function Vd(e){e.updateMessenger(Ww);}var Ii,jd,Li={};function hr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(fa(),":").concat(fa()),keepalive:a};return jd(e,i,n)}function Uw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Li,r)?Li[r]:void 0;if(i)try{i(a,n,t);}catch(o){p.log(o),t(o,n);}}hr.updateMessenger=function(t){var r=t.open,a=t.post;Qe(typeof r=="function","open callback must be a function"),Qe(typeof a=="function","post callback must be a function"),Ii&&Ii();var n=r(Uw);n?(Qe(typeof n=="function","open callback must return a cleanup function"),Ii=n):Ii=null,jd=a;},hr.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(Li,t),"Topic ".concat(t," is already registered to.")),Li[t]=r;},hr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f;return !!t.frameElement},Vd(hr);function $d(e,t,r,a){var n,i,o=e.contentWindow,s=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){ca("Frame does not have a content window",e),r(null);return}if(s===0){zd(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(Gd("No response from frame",e)):r(null);},0);},s);hr(o,"axe.ping",null,void 0,function(){clearTimeout(l),zd(e,t,r,a);});}function zd(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,s=e.contentWindow,l=setTimeout(function(){a(Gd("Axe in frame timed out",e));},o);hr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?a(u):r(u);});}function Gd(e,t){var r;return p._tree&&(r=vs(t)),new Error(e+": "+(r||t))}var fn=null,pn={update:function(t){Qe(ie(t)==="object","serializer must be an object"),fn=t;},toSpec:function(t){return pn.dqElmToSpec(new ir(t))},dqElmToSpec:function(t,r){var a;return t instanceof ir?(r&&(t=Xw(t,r)),typeof((a=fn)===null||a===void 0?void 0:a.toSpec)=="function"?fn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=fn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?fn.mergeSpecs(t,r):ir.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Ie({},r,{nodes:pn.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=ye(r,E);n.node=pn.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(l){var u=l.relatedNodes,c=ye(l,T);return c.relatedNodes=u.map(pn.dqElmToSpec),c});}return n})}},or=pn;function Xw(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new ir(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:a?e.ancestry:[":root"],xpath:n?e.xpath:"/"}),e.fromFrame=r,e}function Yw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Pi=Yw;function Kw(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&ie(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var mn=Kw;function Jw(e,t,r){e.forEach(function(a){a.node=or.mergeSpecs(a.node,r);var n=Pi(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return or.mergeSpecs(o,r)});});});}function Zw(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Wd(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(Se(t)));return}}e.push.apply(e,Se(t));}function Qw(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function ex(e,t){var r=[];return e.forEach(function(a){var n=Qw(a);if(!(!n||!n.length)){var i=tx(a);n.forEach(function(o){o.nodes&&i&&Jw(o.nodes,t,i);var s=mn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Zw(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return Wd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Wd(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),a=0;a<r;a++){var n=e?.[a],i=t?.[a];if(typeof n!="number"||isNaN(n))return a===0?1:-1;if(typeof i!="number"||isNaN(i))return a===0?-1:1;if(n!==i)return n-i}return 0}var Mi=ex;function tx(e){return e.frameElement?or.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Ud(e,t,r,a,n,i){t=Ie({},t,{elementRef:false});var o=xr(),s=e.frames;s.forEach(function(l){var u=l.node,c=ye(l,x);o.defer(function(d,g){var D={options:t,command:r,parameter:a,context:c};function S(F){return d(F?{results:F,frameElement:u}:null)}$d(u,D,S,g);});}),o.then(function(l){n(Mi(l,t));}).catch(i);}function Pr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function Xd(){for(var e={},t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return r.forEach(function(n){if(!(!n||ie(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ie(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Xd(e[s],n[s]);}}),e}var Is=Xd;function rx(e,t){Object.assign(e,t),Object.keys(t).filter(function(r){return typeof t[r]=="function"}).forEach(function(r){e[r]=null;try{e[r]=t[r](e);}catch{}});}var Ls=rx,ax=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function nx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(ax.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Oi=nx,Ps={};ur(Ps,{createGrid:function(){return bn},findElmsInContext:function(){return Yd},findNearbyElms:function(){return zi},findUp:function(){return Ta},findUpVirtual:function(){return ka},focusDisabled:function(){return zs},getComposedParent:function(){return Rt},getElementByReference:function(){return Ws},getElementCoordinates:function(){return Ns},getElementStack:function(){return Rf},getModalDialog:function(){return Cf},getNodeGrid:function(){return $i},getOverflowHiddenAncestors:function(){return gn},getRootNode:function(){return Mt},getScrollOffset:function(){return df},getTabbableElements:function(){return If},getTargetRects:function(){return Wi},getTargetSize:function(){return Lf},getTextElementStack:function(){return cl},getViewportSize:function(){return Ni},getVisibleChildTextRects:function(){return ul},hasContent:function(){return Qi},hasContentVirtual:function(){return Cn},hasLangText:function(){return fl},idrefs:function(){return Dr},insertedIntoFocusOrder:function(){return Dp},isCurrentPageLink:function(){return Gs},isFixedPosition:function(){return qi},isFocusable:function(){return Dt},isHTML5:function(){return Ep},isHiddenForEveryone:function(){return Kr},isHiddenWithCSS:function(){return R_},isInTabOrder:function(){return sr},isInTextBlock:function(){return pl},isInert:function(){return Gi},isModalOpen:function(){return Sn},isMultiline:function(){return Sp},isNativelyFocusable:function(){return Ys},isNode:function(){return V_},isOffscreen:function(){return Bi},isOpaque:function(){return J_},isSkipLink:function(){return gl},isVisible:function(){return aA},isVisibleOnScreen:function(){return Yt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return dl},reduceToElementsBelowFloating:function(){return kp},shadowElementsFromPoint:function(){return oA},urlPropsFromAttribute:function(){return fA},visuallyContains:function(){return Tp},visuallyOverlaps:function(){return vl},visuallySort:function(){return Us}});function ix(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var hn=ix,Mt=hn;function ox(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=vt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Mt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var Yd=ox;function sx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var a=e.actualNode.closest(t);return a||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!xa(r,t)&&r!==m.documentElement);return !r||!xa(r,t)?null:r}var ka=sx;function lx(e,t){return ka(ze(e),t)}var Ta=lx;function Ms(e,t){return (e.left|0)<(t.right|0)&&(e.right|0)>(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var Kd=ut(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Kd(t.parent))}),gn=Kd,ux=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,cx=/(\w+)\((\d+)/;function Jd(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Zd(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function Qd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ef(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function tf(e){return e.attr("aria-hidden")==="true"}function rf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function af(e){var t=Nr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function nf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return false;var n=gn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!dx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Ms(i,s)})}function of(e){var t=e.getComputedStylePropertyValue("clip").match(ux),r=e.getComputedStylePropertyValue("clip-path").match(cx);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function Os(e,t){var r=Xt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=hn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Zt(p._tree,'img[usemap="#'.concat(vt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function sf(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(a){return a.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function dx(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var fx=[Zd,Qd,ef,sf];function Kr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Ze(e).vNode,r?lf(e,n):uf(e,n)}var lf=ut(function(t,r){return Jd(t)?true:t.actualNode?!!(fx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),uf=ut(function(t,r){return lf(t,r)?true:t.parent?uf(t.parent,true):false});function cf(e){if(e.assignedSlot)return cf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Rt=cf;function px(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return {left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return {left:e.scrollLeft,top:e.scrollTop}}var df=px;function mx(e){var t=df(m),r=t.left,a=t.top,n=e.getBoundingClientRect();return {top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var Ns=mx;function hx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var a=t.body;return {width:a.clientWidth,height:a.clientHeight}}var Ni=hx;function qi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Ze(e),n=a.vNode;return n?r?ff(n):pf(n):false}var ff=ut(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),pf=ut(function(t){return ff(t)?true:t.parent?pf(t.parent):false});function gx(e,t){for(e=Rt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Rt(e);}return true}function vx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Ze(e),n=a.domNode;if(n){var i=m.documentElement,o=f.getComputedStyle(n),s=f.getComputedStyle(m.body||i).getPropertyValue("direction"),l=qi(n),u=l?n.getBoundingClientRect():Ns(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(gx(n,u.bottom)||o.position==="absolute"))return true;var c=Ni(f);if(l&&u.top>=c.height)return true;var d=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=d||(l||s==="ltr")&&u.right<=0)}}var Bi=vx,bx=[rf,af,nf,of,Bi];function Yt(e){return e=Ze(e).vNode,qs(e)}var qs=ut(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Os(t,qs):Kr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&bx.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?qs(t.parent,true):true});function Bs(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new f.DOMRect(i,r,a-i,n-r)}function Hi(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,s=t.left;return a>=n&&r<=i&&a<=o&&r>=s}var mf={};ur(mf,{getBoundingRect:function(){return Bs},getIntersectionRect:function(){return Vi},getOffset:function(){return gf},getRectCenter:function(){return vn},hasVisualOverlap:function(){return Hs},isPointInRect:function(){return Hi},rectHasMinimumSize:function(){return Mr},rectsOverlap:function(){return Ms},splitRects:function(){return Vs}});function Vi(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new f.DOMRect(r,n,a-r,i-n)}function vn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new f.DOMPoint(t+a/2,r+n/2)}var hf=.05;function Mr(e,t){var r=t.width,a=t.height;return r+hf>=e&&a+hf>=e}function gf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Wi(e),n=Wi(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=vn(o),l=We(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Hi(s,c))return 0;var d=yx(s,c),g=vf(s,d);i=Math.min(i,g);}}catch(M){l.e(M);}finally{l.f();}var D=Lf(t);if(Mr(r*2,D))return i;var S=n.reduce(Bs),F=vn(S),L=vf(s,F)-r;return Math.max(0,Math.min(i,L))},1/0)}function yx(e,t){var r,a;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?a=t.top:e.y>t.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function vf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Hs(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?false:Us(e,t)>0}function Vs(e,t){var r=Array.isArray(e)?e:[e],a=We(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(l,u){return l.concat(wx(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function wx(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=r<t.bottom&&n>t.top,s=a<t.right&&i>t.left,l=[];if(ji(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),ji(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),ji(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),ji(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(Dx(e,t))return [];l.push(e);}return l.map(xx)}var ji=function(t,r,a){return t>r&&t<a};function xx(e){return new f.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Dx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var bf=0,_x=.1,yf=.2,wf=.3,js=0;function bn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ve.get("gridCreated")&&!r)return je.gridSize;if(Ve.set("gridCreated",true),!r){var a=ze(m.documentElement);if(a||(a=new bl(m.documentElement)),js=0,a._stackingOrder=[_f(bf,js++,null)],t??(t=new $s),Af(t,a),Nr(a.actualNode)){var n=new $s(a);a._subGrid=n;}}for(var i=m.createTreeWalker(e,f.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=ze(o);s&&s.parent?r=s.parent:o.assignedSlot?r=ze(o.assignedSlot):o.parentElement?r=ze(o.parentElement):o.parentNode&&ze(o.parentNode)&&(r=ze(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=Ax(s,r,js++);var l=Sx(s,r),u=l?l._subGrid:t;if(Nr(s.actualNode)){var c=new $s(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&Yt(o)&&Af(u,s),Oi(o)&&bn(o.shadowRoot,u,s),o=i.nextNode();}return je.gridSize}function xf(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var d=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(d!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var g=e.getComputedStylePropertyValue("will-change");if(g==="transform"||g==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var D=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(D)||a!=="auto"&&Df(t))}function Df(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Ax(e,t,r){var a=t._stackingOrder.slice();if(xf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [bf,yf,wf].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Ex(e,t);return i!==null&&a.push(_f(i,r,e)),a}function _f(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Ex(e,t){var r=Cx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?wf:e.getComputedStylePropertyValue("float")!=="none"?yf:xf(e,t)?_x:null:parseInt(r)}function Cx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Df(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Sx(e,t){for(var r=null,a=[e];t;){if(Nr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=ze(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Af(e,t){var r=gn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&Vi(s,l.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var $s=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;gt(this,e),this.container=t,this.cells=[];}return tt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/je.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Qe(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);Qe(Hi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(a=this.cells[s-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=u[l-u._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,s=n.top,l=n.bottom;this.boundaries&&(r=Bs(this.boundaries,r)),this.boundaries=r,Ef(this.cells,s,l,function(u,c){Ef(u,i,o,function(d,g){a(d,{row:c,col:g});});});}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-s),n=this.toGridIndex(n+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new f.DOMRect(o,a,n-o,i-a)}}])})();function Ef(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),a(e[l],l+e._negativeIndex);}}function $i(e){bn();var t=Ze(e),r=t.vNode;return r._grid}function zi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=$i(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=qi(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(l){var u=We(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===qi(d)&&s.push(d);}}catch(g){u.e(g);}finally{u.f();}}),s}var kx=ut(function(){var t;if(!p._tree)return null;var r=Sr(p._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&Yt(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=Tx(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Cf=kx;function Tx(e){bn();var t=p._tree[0]._grid,r=new f.DOMRect(0,0,f.innerWidth,f.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Vi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Gi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Sf(e,a):kf(e,a)}var Sf=ut(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=Cf();if(a&&!Pr(a,t))return true}return false}),kf=ut(function(t,r){return Sf(t,r)?true:t.parent?kf(t.parent,true):false}),Fx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Rx(e){return Fx.includes(e)}function Ix(e){var t=Ze(e),r=t.vNode;if(Rx(r.props.nodeName)&&r.hasAttr("disabled")||Gi(r))return true;for(var a=r.parent,n=[],i=false;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=true),a=a.parent;}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?Kr(r):false}var zs=Ix,Lx=/^\/\#/,Px=/^#[!/]/;function Gs(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Lx.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Px.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=f.location)===null||t===void 0?void 0:t.origin)!="string"||f.location.origin.indexOf("://")===-1)return null;var l=f.location.origin+f.location.pathname,u;return i?u="".concat(n,"//").concat(i).concat(o?":".concat(o):""):u=f.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=f.location.pathname,u===l}function Mx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Gs(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=m.getElementById(r);return a||(a=m.getElementsByName(r),a.length?a[0]:null)}var Ws=Mx;function Us(e,t){bn();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a<r;a++){if(typeof t._stackingOrder[a]>"u")return -1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return -1;if(t._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return t._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var n=e.actualNode,i=t.actualNode;if(n.getRootNode&&n.getRootNode()!==i.getRootNode()){for(var o=[];n;)o.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;i&&!o.find(function(L){return L.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(L){return L.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=f.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,d=n.compareDocumentPosition(i),g=d&l?1:-1,D=d&u||d&c,S=Tf(e),F=Tf(t);return S===F||D?g:F-S}function Tf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Ff(e)?1:0}function Ff(e){if(!e)return false;if(e._isFloated!==void 0)return e._isFloated;var t=e.getComputedStylePropertyValue("float");if(t!=="none")return e._isFloated=true,true;var r=Ff(e.parent);return e._isFloated=r,r}function Xs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=vn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(u){return u.clientRects.some(function(c){var d=c.left,g=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(g+c.height)&&o>=Math.floor(g)})}),l=e.container;return l&&(s=Xs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Us).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,d){return d.indexOf(u)===c})),s}function Ox(e){var t=$i(e);if(!t)return [];var r=ze(e).boundingClientRect;return Xs(t,r)}var Rf=Ox;function Nx(e){var t=Zt(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=Cr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var If=Nx;function qx(e){var t=Ze(e),r=t.vNode;if(!r||zs(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !Zt(r,"summary").length}return false}var Ys=qx;function Dt(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1||zs(r))return false;if(Ys(r))return true;var a=Cr(r.attr("tabindex"));return a!==null}function sr(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=Cr(r.attr("tabindex"));return a<=-1?false:Dt(r)}var Wi=ut(Bx);function Bx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=zi(e).filter(function(i){return Hs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!Hx(e,i)});if(!a.length)return r;var n=a.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Vs(r,n)}function Hx(e,t){return Pr(e,t)&&!sr(t)}var Lf=ut(Vx);function Vx(e,t){var r=Wi(e);return jx(r,t)}function jx(e,t){return e.reduce(function(r,a){var n=Mr(t,r),i=Mr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}var yn={};ur(yn,{accessibleText:function(){return pa},accessibleTextVirtual:function(){return It},autocomplete:function(){return ha},formControlValue:function(){return cp},formControlValueMethods:function(){return al},hasUnicode:function(){return ol},isHumanInterpretable:function(){return ll},isIconLigature:function(){return sl},isValidAutocomplete:function(){return vp},label:function(){return b_},labelText:function(){return nl},labelVirtual:function(){return Ji},nativeElementType:function(){return w_},nativeTextAlternative:function(){return fp},nativeTextMethods:function(){return dp},removeUnicode:function(){return En},sanitize:function(){return Oe},subtreeText:function(){return Qr},titleText:function(){return Xi},unsupported:function(){return ep},visible:function(){return bp},visibleTextNodes:function(){return x_},visibleVirtual:function(){return Ar}});function $x(e,t){e=e.actualNode||e;try{var r=Mt(e),a=[],n=e.getAttribute(t);if(n){n=Ht(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Dr=$x;function zx(e,t){var r=ze(e);return It(r,t)}var pa=zx;function Gx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ze(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=Dr(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=pa(o,Ie({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var wn=Gx;function xn(e){var t=Ze(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Wx={"aria-activedescendant":{type:"idref",allowEmpty:true},"aria-atomic":{type:"boolean",global:true},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:true,global:true},"aria-brailleroledescription":{type:"string",allowEmpty:true,global:true},"aria-busy":{type:"boolean",global:true},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:true,global:true},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],global:true},"aria-describedby":{type:"idrefs",allowEmpty:true,global:true},"aria-description":{type:"string",allowEmpty:true,global:true},"aria-details":{type:"idref",allowEmpty:true,global:true},"aria-disabled":{type:"boolean",global:true},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:true},"aria-errormessage":{type:"idref",allowEmpty:true,global:true},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:true,global:true},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],global:true},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:true},"aria-keyshortcuts":{type:"string",allowEmpty:true,global:true},"aria-label":{type:"string",allowEmpty:true,global:true},"aria-labelledby":{type:"idrefs",allowEmpty:true,global:true},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:true},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:true,global:true},"aria-placeholder":{type:"string",allowEmpty:true},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:true},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:true,global:true},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:true}},Pf=Wx,Ux={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:true},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:true},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:true},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:true},directory:{type:"structure",deprecated:true,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:true},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:false},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:true},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:false,nameFromContent:true},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:true,childrenPresentational:true},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:true},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:true},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:false},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:true},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:true},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:true},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:true},section:{type:"abstract",superclassRole:["structure"],nameFromContent:true},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:true},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:true},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:true,childrenPresentational:true},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:true},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:true,childrenPresentational:true},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:false,nameFromContent:true},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:false},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},text:{type:"structure",superclassRole:["section"],nameFromContent:true},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:true},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:true},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:false},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:true,nameFromContent:true},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Mf=Ux,Xx={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:true},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},Yx=Xx,Kx={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:true},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:true},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:true,childrenPresentational:true}},Jx=Kx,Zx={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:true}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:true},address:{contentTypes:["flow"],allowedRoles:true},area:{variant:{href:{matches:"[href]",allowedRoles:false},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:true},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:true},base:{allowedRoles:false,noAriaAttrs:true},bdi:{contentTypes:["phrasing","flow"],allowedRoles:true},bdo:{contentTypes:["phrasing","flow"],allowedRoles:true},blockquote:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},body:{allowedRoles:false,shadowRoot:true},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:true,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:false},cite:{contentTypes:["phrasing","flow"],allowedRoles:true},code:{contentTypes:["phrasing","flow"],allowedRoles:true},col:{allowedRoles:false,noAriaAttrs:true},colgroup:{allowedRoles:false,noAriaAttrs:true},data:{contentTypes:["phrasing","flow"],allowedRoles:true},datalist:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:false},del:{contentTypes:["phrasing","flow"],allowedRoles:true},dfn:{contentTypes:["phrasing","flow"],allowedRoles:true},details:{contentTypes:["interactive","flow"],allowedRoles:false},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:true},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:true,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:false,noAriaAttrs:true},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},hgroup:{contentTypes:["heading","flow"],allowedRoles:true},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:false,noAriaAttrs:true},i:{contentTypes:["phrasing","flow"],allowedRoles:true},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:true}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:false},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:false,noAriaAttrs:true},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:false},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:true},kbd:{contentTypes:["phrasing","flow"],allowedRoles:true},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,chromiumRole:"Label"},legend:{allowedRoles:false},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},main:{contentTypes:["flow"],allowedRoles:false,shadowRoot:true},map:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:false},mark:{contentTypes:["phrasing","flow"],allowedRoles:true},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:false,noAriaAttrs:true},meter:{contentTypes:["phrasing","flow"],allowedRoles:false,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:true},noscript:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:false},option:{allowedRoles:false,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:true,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},param:{allowedRoles:false,noAriaAttrs:true},picture:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},pre:{contentTypes:["flow"],allowedRoles:true},progress:{contentTypes:["phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:true},rp:{allowedRoles:true},rt:{allowedRoles:true},ruby:{contentTypes:["phrasing","flow"],allowedRoles:true},s:{contentTypes:["phrasing","flow"],allowedRoles:true},samp:{contentTypes:["phrasing","flow"],allowedRoles:true},script:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:true},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:false}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},small:{contentTypes:["phrasing","flow"],allowedRoles:true},source:{allowedRoles:false,noAriaAttrs:true},span:{contentTypes:["phrasing","flow"],allowedRoles:true,shadowRoot:true},strong:{contentTypes:["phrasing","flow"],allowedRoles:true},style:{allowedRoles:false,noAriaAttrs:true},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:true,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:true},summary:{allowedRoles:false,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:true},table:{contentTypes:["flow"],allowedRoles:true,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:true},template:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:true},thead:{allowedRoles:true},time:{contentTypes:["phrasing","flow"],allowedRoles:true},title:{allowedRoles:false,noAriaAttrs:true},td:{allowedRoles:true},th:{allowedRoles:true},tr:{allowedRoles:true},track:{allowedRoles:false,noAriaAttrs:true},u:{contentTypes:["phrasing","flow"],allowedRoles:true},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:true},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},Qx=Zx,eD={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},tD=eD,Of={ariaAttrs:Pf,ariaRoles:Ie({},Mf,Yx,Jx),htmlElms:Qx,cssColors:tD},Fa=Ie({},Of);function rD(e){Object.keys(Fa).forEach(function(t){e[t]&&(Fa[t]=Is(Fa[t],e[t]));});}function aD(){Object.keys(Fa).forEach(function(e){Fa[e]=Of[e];});}var et=Fa;function nD(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var Ks=nD;function iD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=et.ariaRoles[e],o=Ks(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var Dn=iD;function oD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof Ft?e:ze(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Ht(i):[i],s=o.find(function(l){return !n&&l.substr(0,4)==="doc-"?false:Dn(l,{allowAbstract:a})});return s||null}var Ue=oD;function sD(e){return Object.keys(et.htmlElms).filter(function(t){var r=et.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var Js=sD;function lD(){return Ve.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Jr=lD;function uD(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var i=r[a].cells;t[a]=t[a]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),d=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,g=0;g<d;g++){for(t[a+g]=t[a+g]||[];t[a+g][o];)o++;t[a+g][o]=i[s];}o++;}}return t}var Or=ut(uD);function cD(e,t){var r,a;for(t||(t=Or(Ta(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Ui=ut(cD);function Zs(e){var t=Ze(e),r=t.vNode,a=t.domNode,n=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(n==="col"||n==="row")return n;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Or(Ta(a,"table")),s=Ui(a,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function dD(e){return ["col","auto"].indexOf(Zs(e))!==-1}var Ra=dD;function fD(e){return ["row","auto"].includes(Zs(e))}var Ia=fD;function pD(e){return e?e.replace(/\r\n/g,`
|
|
366
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Oe=pD,Nf=function(){return Ve.get("sectioningContentSelector",function(){return Js("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},qf=function(){return Ve.get("sectioningContentPlusMainSelector",function(){return Nf()+" , main:not([role]), [role=main]"})};function Qs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Oe(wn(e))||Oe(xn(e))||a&&e?.props.nodeType===1&&Oe(e.attr("title")))}var mD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Xt(t.parent,Nf())&&!Qs(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=Xt(t,qf());return r?null:"contentinfo"},form:function(t){return Qs(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Xt(t,qf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Jr().find(function(n){return t.hasAttr(n)});return r&&!a&&!Dt(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=Dr(t.actualNode,"list").filter(function(n){return !!n})[0];r=a&&a.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return Qs(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=Xt(t,"table"),a=Ue(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Ra(t))return "columnheader";if(Ia(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},el=mD;function hD(e,t){var r=ie(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var ma=hD;function gD(e,t){return ma(!!It(e),t)}var Bf=gD;function vD(e,t){var r=ie(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(a){return ma(e(a),t[a])})}var tl=vD;function bD(e,t){return e=Ze(e).vNode,tl(function(r){return e.attr(r)},t)}var Hf=bD;function Vf(e,t){return !!t(e)}function yD(e,t){return ma(Ue(e),t)}var jf=yD;function wD(e,t){return ma(_r(e),t)}var $f=wD;function xD(e,t){return e=Ze(e).vNode,ma(e.props.nodeName,t)}var zf=xD;function DD(e,t){return e=Ze(e).vNode,tl(function(r){return e.props[r]},t)}var Gf=DD;function _D(e,t){return ma($e(e),t)}var Wf=_D,Uf={hasAccessibleName:Bf,attributes:Hf,condition:Vf,explicitRole:jf,implicitRole:$f,nodeName:zf,properties:Gf,semanticRole:Wf};function Xf(e,t){return e=Ze(e).vNode,Array.isArray(t)?t.some(function(r){return Xf(e,r)}):typeof t=="string"?xs(e,t):Object.keys(t).every(function(r){if(!Uf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Uf[r],n=t[r];return a(e,n)})}var Yf=Xf;function AD(e,t){return Yf(e,t)}var Kt=AD;Kt.hasAccessibleName=Bf,Kt.attributes=Hf,Kt.condition=Vf,Kt.explicitRole=jf,Kt.fromDefinition=Yf,Kt.fromFunction=tl,Kt.fromPrimative=ma,Kt.implicitRole=$f,Kt.nodeName=zf,Kt.properties=Gf,Kt.semanticRole=Wf;var _n=Kt;function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=et.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=ye(n,C);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=ye(l,k),d=Array.isArray(u)?u:[u],g=0;g<d.length&&a;g++)if(d[g].hasOwnProperty("hasAccessibleName"))return n;if(_n(e,u))for(var D in c)c.hasOwnProperty(D)&&(o[D]=c[D]);}for(var S in i.default)i.default.hasOwnProperty(S)&&typeof o[S]>"u"&&(o[S]=i.default[S]);return o}var Zr=ED;function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Ft?e:ze(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=el[n];if(!i&&r){var o=Zr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var _r=CD,SD={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Kf(e,t){var r=SD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var a=Ue(e.parent,t);return ["none","presentation"].includes(a)&&!Zf(e.parent)?a:a?null:Kf(e.parent,t)}function Jf(e,t){var r=t.chromium,a=ye(t,I),n=_r(e,{chromium:r});if(!n)return null;var i=Kf(e,a);return i||n}function Zf(e){var t=Jr().some(function(r){return e.hasAttr(r)});return t||Dt(e)}function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=ye(t,P),n=Ze(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=Ue(i,a);return o?["presentation","none"].includes(o)&&Zf(i)?r?null:Jf(i,a):o:r?null:Jf(i,a)}function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=ye(t,q),n=kD(e,a);return r&&["presentation","none"].includes(n)?null:n}var $e=TD,FD=["iframe"];function RD(e){var t=Ze(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Kt(r,FD)&&["none","presentation"].includes($e(r))?"":r.attr("title")}var Xi=RD;function ID(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 a=$e(e),n=et.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var Qf=ID;function LD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=Dr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return p.utils.getNodeFromTree(o)}),n=a.filter(function(o,s){return a.indexOf(o)===s}),i=r.filter(function(o){return !n.includes(o)});return [].concat(Se(i),Se(n))}return Se(r)}var An=LD,ep={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Ze(e).vNode,rl(e)}var rl=ut(function(t,r){return tf(t)||Gi(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Os(t,rl):Kr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?rl(t.parent,true):true});function tp(e,t,r){var a=Ze(e),n=a.vNode,i=t?pt:Yt,o=!e.actualNode||e.actualNode&&i(e),s=n.children.map(function(l){var u=l.props,c=u.nodeType,d=u.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return tp(l,t)}).join("");return Oe(s)}var Ar=tp,PD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function MD(e){e=e instanceof Ft?e:ze(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!PD.includes((e.attr("type")||"").toLowerCase())}var rp=MD;function OD(e){e=e instanceof Ft?e:ze(e);var t=e.props.nodeName;return t==="select"}var ap=OD;function ND(e){var t=Ue(e);return t==="textbox"}var np=ND;function qD(e){var t=Ue(e);return t==="listbox"}var ip=qD;function BD(e){var t=Ue(e);return t==="combobox"}var op=BD,HD=["progressbar","scrollbar","slider","spinbutton"];function VD(e){var t=Ue(e);return HD.includes(t)}var sp=VD,lp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],al={nativeTextboxValue:$D,nativeSelectValue:zD,ariaTextboxValue:GD,ariaListboxValue:up,ariaComboboxValue:WD,ariaRangeValue:UD};function jD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=ep.accessibleNameFromFieldValue||[],n=$e(e);if(t.startNode===e||!lp.includes(n)||a.includes(n))return "";var i=Object.keys(al).map(function(s){return al[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&ca(o||"{empty-value}",r,t),o}function $D(e){var t=Ze(e),r=t.vNode;return rp(r)&&r.props.value||""}function zD(e){var t=Ze(e),r=t.vNode;if(!ap(r))return "";var a=Zt(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Ar(i)}).join(" ")||""}function GD(e){var t=Ze(e),r=t.vNode,a=t.domNode;return np(r)?!a||a&&!Kr(a)?Ar(r,true):a.textContent:""}function up(e,t){var r=Ze(e),a=r.vNode;if(!ip(a))return "";var n=An(a).filter(function(i){return $e(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":It(n[0],t)}function WD(e,t){var r=Ze(e),a=r.vNode;if(!op(a))return "";var n=An(a).filter(function(i){return $e(i)==="listbox"})[0];return n?up(n,t):""}function UD(e){var t=Ze(e),r=t.vNode;if(!sp(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var cp=jD;function XD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=It.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=$e(e),l=Zr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||lp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Qf(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Ie({subtreeDescendant:c},t);}return An(e).reduce(function(d,g){return KD(d,g,t)},"")}var YD=Js("phrasing").concat(["#text"]);function KD(e,t,r){var a=t.props.nodeName,n=It(t,r);return n?(YD.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Qr=XD;function JD(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 a=Ie({inControlContext:true},t),n=ZD(e),i=Xt(e,"label"),o;return i?(o=[].concat(Se(n),[i.actualNode]),o.sort(Il)):o=n,o.map(function(s){return pa(s,a)}).filter(function(s){return s!==""}).join(" ")}function ZD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Yd({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var nl=JD,QD={submit:"Submit",image:"Submit",reset:"Reset",button:""},e_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return QD[t.props.type]||""},tableCaptionText:Yi.bind(null,"caption"),figureText:Yi.bind(null,"figcaption"),svgTitleText:Yi.bind(null,"title"),fieldsetLegendText:Yi.bind(null,"legend"),altText:il.bind(null,"alt"),tableSummaryText:il.bind(null,"summary"),titleText:Xi,subtreeText:Qr,labelText:nl,singleSpace:function(){return " "},placeholderText:il.bind(null,"placeholder")};function il(e,t){return t.attr(e)||""}function Yi(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return !i||i.nodeName.toLowerCase()!==e?"":pa(i,r)}var dp=e_;function fp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes($e(e)))return "";var a=t_(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(n||"{empty-value}",r,t),n}function t_(e){var t=Zr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return dp[a]})}function pp(){return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function mp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function hp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function gp(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function r_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Uo().test(e))),a&&(i||(i=pp().test(e)||hp().test(e)||gp().test(e))),n&&(i||(i=mp().test(e))),i}var ol=r_;function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!Oe(a)||ol(a,{emoji:true,nonBmp:true}))return false;var n=Ve.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Ve.get("fonts",function(){return {}}),s=f.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,d="".concat(c,"px ").concat(l);n.font=d;var g=a.charAt(0),D=n.measureText(g).width;if(D===0)return u.numLigatures++,true;if(D<30){var S=30/D;D*=S,c*=S,d="".concat(c,"px ").concat(l);}i.width=D,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(g,0,0);var F=new Uint32Array(n.getImageData(0,0,D,c).data.buffer);if(!F.some(function(Y){return Y}))return u.numLigatures++,true;n.clearRect(0,0,D,c),n.fillText(a,0,0);var L=new Uint32Array(n.getImageData(0,0,D,c).data.buffer),M=F.reduce(function(Y,ee,oe){return ee===0&&L[oe]===0||ee!==0&&L[oe]!==0?Y:++Y},0),O=a.split("").reduce(function(Y,ee){return Y+n.measureText(ee).width},0),H=n.measureText(a).width,V=M/F.length,$=1-H/O;return V>=t&&$>=t?(u.numLigatures++,true):false}function It(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=o_(e,t),n_(e,t)||i_(e,t))return "";var r=[wn,xn,fp,cp,Qr,a_,Xi],a=r.reduce(function(n,i){return t.startNode===e&&(n=Oe(n)),n!==""?n:i(e,t)},"");return t.debug&&p.log(a||"{empty-value}",e.actualNode,t),a}function a_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function n_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function i_(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?false:sl(e,n,i)}function o_(e,t){return t.startNode||(t=Ie({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Ie({includeHidden:!pt(e)},t)),t}It.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function s_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Uo(),"")),a&&(e=e.replace(pp(),"").replace(hp(),"").replace(gp(),"")),n&&(e=e.replace(mp(),"")),e}var En=s_;function l_(e){return u_(e)||c_(e)||d_(e)||f_(e)?0:1}function u_(e){return Oe(e).length===0}function c_(e){return e.length===1&&e.match(/\D/)}function d_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function f_(e){var t=En(e,{emoji:true,nonBmp:true,punctuations:true});return !Oe(t)}var ll=l_,ha={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function p_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?false:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,d=c===void 0?[]:c,g=t.qualifiedTerms,D=g===void 0?[]:g,S=t.ignoredValues,F=S===void 0?[]:S;if(e=e.toLowerCase().trim(),i=i.concat(ha.stateTerms),i.includes(e)||e==="")return true;u=u.concat(ha.qualifiers),s=s.concat(ha.locations),d=d.concat(ha.standaloneTerms),D=D.concat(ha.qualifiedTerms);var L=e.split(/\s+/g);if(L[L.length-1]==="webauthn"&&(L.pop(),L.length===0)||!a&&(L[0].length>8&&L[0].substr(0,8)==="section-"&&L.shift(),s.includes(L[0])&&L.shift(),u.includes(L[0])&&(L.shift(),d=[]),L.length!==1))return false;var M=L[L.length-1];if(!F.includes(M))return d.includes(M)||D.includes(M)}var vp=p_;function m_(e){var t,r;return e.attr("aria-labelledby")&&(t=Dr(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=ze(a);return n?Ar(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Oe(r),r))?r:null}var Ki=m_;function h_(e,t,r){return e=ze(e),Ar(e,t,r)}var bp=h_;function g_(e){var t,r,a;if(r=Ki(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=vt(e.attr("id"));if(a=Mt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&bp(t,true),r)return r}return t=Xt(e,"label"),r=t&&Ar(t,true),r||null}var Ji=g_;function v_(e){return e=ze(e),Ji(e)}var b_=v_,y_=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],w_=y_;function yp(e){var t=Yt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(yp(a));}),r}var x_=yp,D_=ut(function(t){var r=ze(t),a=r.boundingClientRect,n=[],i=gn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Oe(o.nodeValue)==="")){var s=__(o);A_(s,a)||n.push.apply(n,Se(wp(s,i)));}}),n.length?n:wp([a],i)}),ul=D_;function __(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function A_(e,t){return e.some(function(r){var a=vn(r);return !Hi(a,t)})}function wp(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&Vi(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function E_(e){var t=$i(e);if(!t)return [];var r=ul(e);return r.map(function(a){return Xs(t,a)})}var cl=E_,C_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function S_(e){var t=Ze(e),r=t.vNode,a=p.commons.aria.getExplicitRole(r);if(a)return C_.indexOf(a)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var dl=S_,k_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Zi(e){return k_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function xp(e,t,r){return Zi(e)||dl(e.actualNode)||!r&&!!Ki(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&xp(a)})}var Cn=xp;function T_(e,t,r){return e=ze(e),Cn(e,t,r)}var Qi=T_;function fl(e){return typeof e.children>"u"||Zi(e)?true:e.props.nodeType===1&&dl(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&fl(t)&&!Kr(t)})}function F_(e){var t=Cr(e.getAttribute("tabindex"));return t>-1&&Dt(e)&&!Ys(e)}var Dp=F_;function _p(e,t){var r=Ze(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=Ap(n,t)),a._isHiddenWithCSS):Ap(n,t)}function Ap(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=f.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=Rt(e);return o&&!n.includes(i)?_p(o,i):false}var R_=_p;function I_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Ep=I_;function L_(e){var t;(e instanceof Ft||(t=f)!==null&&t!==void 0&&t.Node&&e instanceof f.Node)&&(e=p.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var gr=L_,P_=["block","list-item","table","flex","grid"],M_=["inline-block","inline-flex","inline-grid"];function O_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,a=t.includeInlineBlock,n=a===void 0?false:a,i=Ze(e),o=i.vNode,s=i.domNode;if(ml(s)||!n&&N_(o))return false;var l=q_(s),u="",c="",d=0;return Cp(l,function(g){if(g===l.actualNode)return true;if(d===2)return false;if(g.nodeType===3&&(u+=g.nodeValue),g.nodeType===1){var D=(g.nodeName||"").toUpperCase();g===s&&(d=1);var S=ml(g);if((S||["BR","HR"].includes(D))&&(d===0?(u="",c=""):d=2),S||g.style.display==="none"||g.style.overflow==="hidden"||!["",null,"none"].includes(g.style.float)||!["",null,"relative"].includes(g.style.position))return false;if(gr(g)==="widget")return c+=g.textContent,false}}),u=Oe(u),r?u.length!==0:(c=Oe(c),u.length>c.length)}var pl=O_;function ml(e){var t=Ze(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return P_.includes(a)||a.substr(0,6)==="table-"}function N_(e){var t=e.getComputedStylePropertyValue("display");return M_.includes(t)}function Cp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Cp(r,t)});}function q_(e){for(var t=Rt(e);t&&!ml(t);)t=Rt(t);return ze(t)}function B_(e){e=e||{};var t=e.modalPercent||.75;if(Ve.get("isModalOpen"))return Ve.get("isModalOpen");var r=Sr(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",Yt);if(r.length)return Ve.set("isModalOpen",true),true;for(var a=Ni(f),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,l=[{x:o,y:s},{x:a.width-o,y:s},{x:a.width/2,y:a.height/2},{x:o,y:a.height-s},{x:a.width-o,y:a.height-s}],u=l.map(function(D){return Array.from(m.elementsFromPoint(D.x,D.y))}),c=function(){var S=u[g].find(function(F){var L=f.getComputedStyle(F);return parseInt(L.width,10)>=n&&parseInt(L.height,10)>=i&&L.getPropertyValue("pointer-events")!=="none"&&(L.position==="absolute"||L.position==="fixed")});if(S&&u.every(function(F){return F.includes(S)}))return Ve.set("isModalOpen",true),{v:true}},d,g=0;g<u.length;g++)if(d=c(),d)return d.v;Ve.set("isModalOpen",void 0);}var Sn=B_;function Sp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var a=0,n=0,i=We(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(a>s.top+t)a=Math.max(a,s.bottom);else if(n===0)a=s.bottom,n++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function H_(e){return e instanceof f.Node}var V_=H_,hl="color.incompleteData",j_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Ve.get(hl,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Ve.get(hl);return r?.[t]},clear:function(){Ve.set(hl,{});}},ct=j_;function $_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ct.set("bgColor","imgNode"),true;t=t||f.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ct.set("bgColor",o?"bgGradient":"bgImage");}return i}var eo=$_,z_=/^#[0-9a-f]{3,8}$/i,G_=/hsl\(\s*([-\d.]+)(rad|turn)/,kn=(ot=new WeakMap,wt=new WeakMap,Pt=new WeakMap,er=new WeakMap,Tt=new WeakMap,Bt=new WeakMap,$a=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(gt(this,e),aa(this,$a),lr(this,ot,void 0),lr(this,wt,void 0),lr(this,Pt,void 0),lr(this,er,void 0),lr(this,Tt,void 0),lr(this,Bt,void 0),t instanceof kn){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=a,this.alpha=n;}return tt(e,[{key:"r",get:function(){return zt(ot,this)},set:function(r){kt(ot,this,r),kt(er,this,Math.round(La(r,0,1)*255));}},{key:"g",get:function(){return zt(wt,this)},set:function(r){kt(wt,this,r),kt(Tt,this,Math.round(La(r,0,1)*255));}},{key:"b",get:function(){return zt(Pt,this)},set:function(r){kt(Pt,this,r),kt(Bt,this,Math.round(La(r,0,1)*255));}},{key:"red",get:function(){return zt(er,this)},set:function(r){kt(ot,this,r/255),kt(er,this,La(r,0,255));}},{key:"green",get:function(){return zt(Tt,this)},set:function(r){kt(wt,this,r/255),kt(Tt,this,La(r,0,255));}},{key:"blue",get:function(){return zt(Bt,this)},set:function(r){kt(Pt,this,r/255),kt(Bt,this,La(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return {red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(G_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,U_(o));case "turn":return i.replace(l,X_(o))}});try{var a;"Prototype"in f&&"Version"in f.Prototype&&(a=Array.from,Array.from=bd.default);var n=new st(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw ct.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(z_)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,a=this.g,n=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4),s=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var a=r-this.getLuminosity();return Fr($a,this,W_).call(this,a).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var a=new kn(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,d){return c.value-d.value}),o=ue(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,a[u.name]=u.value,a[s.name]=s.value,a[l.name]=l.value,a}},{key:"clip",value:function(){var r=new kn(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])})());function W_(e){var t=new kn(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=kn;function La(e,t,r){return Math.min(Math.max(t,e),r)}function U_(e){return e*180/Math.PI}function X_(e){return e*360}function Y_(e){var t=new mt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var ga=Y_;function K_(e){var t=f.getComputedStyle(e);return eo(e,t)||ga(t).alpha===1}var J_=K_;function gl(e){if(!e.href)return false;var t=Ve.get("firstPageLink",Z_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Z_(){var e;return f.location.origin?e=Zt(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Gs(t.actualNode)}):e=Zt(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var Q_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,eA=/(\w+)\((\d+)/;function tA(e){var t=e.getPropertyValue("clip").match(Q_),r=e.getPropertyValue("clip-path").match(eA);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function rA(e,t,r){var a=Ta(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Mt(e);if(!i||i.nodeType!==9)return false;var o=Zt(p._tree,'img[usemap="#'.concat(vt(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return to(l,t,r)})}function to(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Ft?e:ze(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=f.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return false}if(!e){var g=n.parent,D=true;return g&&(D=to(g,t,true)),n&&(n[i]=D),D}var S=f.getComputedStyle(e,null);if(S===null)return false;if(c==="area")return rA(e,t,r);if(S.getPropertyValue("display")==="none")return false;var F=parseInt(S.getPropertyValue("height")),L=parseInt(S.getPropertyValue("width")),M=Nr(e),O=M&&F===0,H=M&&L===0,V=S.getPropertyValue("position")==="absolute"&&(F<2||L<2)&&S.getPropertyValue("overflow")==="hidden";if(!t&&(tA(S)||S.getPropertyValue("opacity")==="0"||O||H||V)||!r&&(S.getPropertyValue("visibility")==="hidden"||!t&&Bi(e)))return false;var $=e.assignedSlot?e.assignedSlot:e.parentNode,Y=false;return $&&(Y=to($,t,true)),n&&(n[i]=Y),Y}var aA=to;function nA(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var s=f.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var kp=nA;function Tp(e,t){var r=Fp(t);do{var a=Fp(e);if(a===r||a===t)return iA(e,t);e=a;}while(e);return false}function Fp(e){for(var t=ze(e),r=t.parent;r;){if(Nr(r.actualNode))return r.actualNode;r=r.parent;}}function iA(e,t){var r=f.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof f.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function Rp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Mt(n)===r}).reduce(function(n,i){if(Oi(i)){var o=Rp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Tp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var oA=Rp;function sA(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=m.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=uA(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:lA(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:cA(a.search),hash:dA(a.hash),filename:l}}}function lA(e){var t=["443","80"];return t.includes(e)?"":e}function uA(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function cA(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;a<r.length;a++){var n=r[a],i=n.split("="),o=ue(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function dA(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=ue(r,1),n=a[0];return n==="#"?"":e}var fA=sA;function pA(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=f.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof f.HTMLBodyElement||t instanceof f.HTMLHtmlElement:true}var vl=pA,Ip=0,mA=(function(e){function t(r,a,n){var i;if(gt(this,t),i=me(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Ip=0),i.nodeIndex=Ip++,i._isHidden=null,i._cache={},i._isXHTML=sn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),po().includes(o)||(o="text"),i._type=o;}return Ve.get("nodeMap")&&Ve.get("nodeMap").set(r,i),i}return Me(t,e),tt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,s=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},n===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof f.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=f.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Dt(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=If(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Ft),bl=mA;function hA(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ht=hA,va=" [idsMap]";function Lp(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Pp(l)}))return;var o=new Set;t.forEach(function(l){var u,c=gA(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(d){c.isComplexSelector&&!Aa(d,l)||o.add(d);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function gA(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Pp(a))n=t["*"];else {if(a.id){var o;if(!t[va]||!Object.hasOwn(t[va],a.id)||!((o=t[va][a.id])!==null&&o!==void 0&&o.length))return;n=t[va][a.id].filter(function(F){return F.shadowId===r});}if(a.tag&&a.tag!=="*"){var s;if(!((s=t[a.tag])!==null&&s!==void 0&&s.length))return;var l=t[a.tag];n=n?yl(l,n):l;}if(a.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];n=n?yl(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var g,D=a.attributes[d];if(D.type==="attrValue"&&(i=true),!((g=t["[".concat(D.key,"]")])!==null&&g!==void 0&&g.length))return;var S=t["[".concat(D.key,"]")];n=n?yl(S,n):S;}}return {nodes:n,isComplexSelector:i}}function Pp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function yl(e,t){return e.filter(function(r){return t.includes(r)})}function ro(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Mp(e,t){e.props.nodeType===1&&(ro(e.props.nodeName,e,t),ro("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[va]=t[va]||{},Ht(e.attr(r)).forEach(function(a){ro(a,e,t[va]);})),ro("[".concat(r,"]"),e,t);}));}var wl;function xl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;wl=false;var r={};Ve.set("nodeMap",new WeakMap),Ve.set("selectorMap",r);var a=Op(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=wl,a}function vA(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Dl(e,t,r){var a=new bl(e,t,r);return Mp(a,Ve.get("selectorMap")),a}function ao(e,t,r){var a=[];return e.forEach(function(n){var i=Op(n,r,t);i&&a.push.apply(a,Se(i));}),a}function Op(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Oi(e))return wl=true,a=Dl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=ao(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),ao(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=vA(e));f.getComputedStyle(e);return ao(n,r,t)}if(e.nodeType===m.ELEMENT_NODE)return a=Dl(e,r,t),n=Array.from(e.childNodes),a.children=ao(n,a,t),[a];if(e.nodeType===m.TEXT_NODE)return [Dl(e,r)]}function bA(e){return e?e.trim().split("-")[0].toLowerCase():""}var ba=bA;function yA(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var a=p._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
362
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),eb=j(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=ec();function r(n,a,i,o,s,l){var u=n.length,c="";function p(B,z){var G="";for(a++,c=n.charAt(a);a<u;){if(c===B)return a++,G;if(c==="\\"){a++,c=n.charAt(a);var U=void 0;if(c===B)G+=B;else if((U=z[c])!==void 0)G+=U;else if(t.isHex(c)){var J=c;for(a++,c=n.charAt(a);t.isHex(c);)J+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),G+=String.fromCharCode(parseInt(J,16));continue}else G+=c;}else G+=c;a++,c=n.charAt(a);}return G}function y(){var B="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))B+=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])B+=c;else if(t.isHex(c)){var z=c;for(a++,c=n.charAt(a);t.isHex(c);)z+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),B+=String.fromCharCode(parseInt(z,16));continue}else B+=c;}else return B;a++,c=n.charAt(a);}return B}function A(){c=n.charAt(a);for(var B=false;c===" "||c===" "||c===`
|
|
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(`
|
|
367
367
|
|
|
368
|
-
`)}var
|
|
369
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function jp(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof f.Node)if(i.documentElement instanceof f.Node)r.push(e.flatTree[0]);else if(i.host instanceof f.Node){var o=Array.from(i.children).map(function(l){return ze(l)});r.push.apply(r,Se(o));}else r.push(ze(i));else if(i&&i.length)if(i.length>1)MA(e,t,i);else {var s=Ol(i[0]);r.push.apply(r,Se(s.map(function(l){return ze(l)})));}}return r.filter(function(l){return l})}function MA(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Ol(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Hp(i,e),e.frames.push(o)),o[t].push(r);});}function oo(e,t){var r,a,n,i,o=this;e=Lr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=ie((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=TA(e),this.flatTree=t??xl(BA(e)),this.exclude=e.exclude,this.include=e.include,this.include=jp(this,"include"),this.exclude=jp(this,"exclude"),Ml("frame, iframe",this).forEach(function(s){Fl(s,o)&&OA(o,s.actualNode);}),typeof this.page>"u"&&(this.page=NA(this),this.frames.forEach(function(s){s.page=o.page;})),qA(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Il);}function OA(e,t){!pt(t)||mn(e.frames,"node",t)||e.frames.push(Hp(t,e));}function NA(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function qA(e){if(e.include.length===0&&e.frames.length===0){var t=hr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function BA(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof f.Element)return i.ownerDocument.documentElement;if(i instanceof f.Document)return i.documentElement}return m.documentElement}function HA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new oo(e),a=r.frames;return a.map(function(n){var i=n.node,o=ye(n,z);o.initiator=false;var s=ki(i);return {frameSelector:s,frameContext:o}})}function $p(e){var t=p._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function VA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=f.getComputedStyle(e),i=zp(n,"overflow-x"),o=zp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function zp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Nr=ut(VA);function Gp(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Nr(r);return a&&t.push(a),t.concat(Gp(r))},[])}function jA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(Gp(m.body))}var $A=jA;function zA(){return Lr(et)}function GA(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?false:a,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:s}}}var Wp=GA,Jt;function WA(e){if(Jt&&Jt.parentNode)return Jt.styleSheet===void 0?Jt.appendChild(m.createTextNode(e)):Jt.styleSheet.cssText+=e,Jt;if(e){var t=m.head||m.getElementsByTagName("head")[0];return Jt=m.createElement("style"),Jt.type="text/css",Jt.styleSheet===void 0?Jt.appendChild(m.createTextNode(e)):Jt.styleSheet.cssText=e,t.appendChild(Jt),Jt}}var UA=WA;function Cl(e){return !!e&&ie(e)==="object"&&typeof e.length=="number"&&!(e instanceof f.Node)}function Er(e,t){return !e||ie(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Up(e){return Sl(e)||so(e)}function Sl(e){return ["include","exclude"].some(function(t){return Er(e,t)&&so(e[t])})}function so(e){return typeof e=="string"||e instanceof f.Node||kl(e)||lo(e)||Cl(e)}function kl(e){return Er(e,"fromFrames")}function lo(e){return Er(e,"fromShadowDom")}function Xp(e,t){var r=ze(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=f.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Xp(n,true);return r&&(r._isHidden=i),i}var XA=Xp;function YA(e){var t,r,a=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!et.htmlElms[a]}var Tl=YA;function Fl(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Pr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Pr(c,e)});if(s.length===0)return true;var l=Yp(o),u=Yp(s);return Pr(u,l)}function Yp(e){var t,r=We(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Pr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function Rl(e,t){return e.length!==t.length?false:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?false:r.every(function(i,o){return n[o]===i}):r===n})}function KA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Il=KA;function Ze(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:ze(e),domNode:e}}function JA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !a.includes(c)}),l=s.map(function(c,d){var g=[].concat(Se(r),[d]),D=/^https?:\/\/|^\/\//i.test(c);return Pl(c,t,g,a,D)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var Kp=JA;function ZA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=QA(e);return i?Kp(e,t,r,a,n):Pl(e.href,t,r,a,true)}function QA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Ll=ZA;function e2(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new f.XMLHttpRequest;s.open("GET",e),s.timeout=je.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(l){if(l.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Ll(o.sheet,t,r,a,o.isCrossOrigin)})}var Pl=e2;function t2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Cr=t2,r2=(function(){function e(){if(f.performance&&f.performance)return f.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(n){var i;(i=f.performance)!==null&&i!==void 0&&i.mark&&f.performance.mark(n);},measure:function(n,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=f.performance)!==null&&s!==void 0&&s.measure){try{f.performance.measure(n,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,l=function(F){return Array.isArray(F)?F[F.length-1]:F},u=function(F){i._log("Measure "+F.name+" took "+F.duration+"ms");};if(!(!((o=f.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=f.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(f.performance.getEntriesByName("mark_axe_start"))||l(f.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=f.performance.getEntriesByType("measure").filter(function(S){return S.startTime>=c.startTime}),g=0;g<d.length;++g){var D=d[g];if(D.name===n){u(D);return}else n||u(D);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=f.performance)!==null&&n!==void 0&&n.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];f.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){ca(n);}}})(),rt=r2;function Jp(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var n=m.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=m.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(m.head.appendChild(a);(o=m.elementFromPoint(n,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(a),u}}typeof f.addEventListener=="function"&&(m.elementsFromPoint=Jp());function a2(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Fn=a2;function Zp(e,t,r,a,n){var i=n||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=a,i}function n2(e,t,r){for(var a=Ve.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=Zp(i,t,null,e[0].shadowId,a.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],d=null,g=null,D=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),S=false,F=0;F<D;F++){var L,M,O,H=F<(((L=o.anyLevel)===null||L===void 0?void 0:L.length)||0)?o.anyLevel[F]:o.thisLevel[F-(((M=o.anyLevel)===null||M===void 0?void 0:M.length)||0)];if((!H[0].id||c.shadowId===o.parentShadowId)&&Aa(c,H[0]))if(H.length===1)!S&&(!r||r(c))&&(s.push(c),S=true);else {var V=H.slice(1);if([" ",">"].includes(V[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+H[1].combinator);V[0].combinator===">"?(d=d||[]).push(V):(g=g||[]).push(V);}(!H[0].id||c.shadowId===o.parentShadowId)&&(O=o.anyLevel)!==null&&O!==void 0&&O.includes(H)&&(g=g||[]).push(H);}for(c.children&&c.children.length&&(n.push(o),o=Zp(c.children,g,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function i2(e,t,r){e=Array.isArray(e)?e:[e];var a=Ti(t),n=Lp(e,a,r);return n||n2(e,a,r)}var Sr=i2;function o2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,a=s2(r);if(!a.length)return Promise.resolve();var n=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Wp(n);return l2(a,i).then(function(o){return em(o)})}var Qp=o2;function s2(e){var t=[],r=Sr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:hn(a.actualNode)}});return Fn(r,[])}function l2(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=u2(i,o,t);if(!s)return Promise.all(r);var l=n+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],d=Promise.all(s.map(function(g,D){var S=[l,D];return Ll(g,u,S,c)}));r.push(d);}),Promise.all(r)}function em(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(em(r)):t.concat(r)},[])}function u2(e,t,r){var a;return e.nodeType===11&&t?a=c2(e,r):a=d2(e),p2(a)}function c2(e,t){return Array.from(e.children).filter(f2).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function d2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?tm(t.media.mediaText):false})}function f2(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&tm(e.media)}function tm(e){return e?!e.toUpperCase().includes("PRINT"):true}function p2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function m2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,a=Sr(r,"video[autoplay], audio[autoplay]",function(n){var i=n.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return h2(i)}))}var rm=m2;function h2(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function am(e){var t={cssom:Qp,media:rm};return nm(e)?new Promise(function(r,a){var n=im(e),i=n.assets,o=n.timeout,s=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return ne({},l,u)})})).then(function(l){var u=l.reduce(function(c,d){return Ie({},c,d)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),a(l);});}):Promise.resolve()}function g2(e){return ie(e)==="object"&&Array.isArray(e.assets)}function nm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:g2(e.preload)}function im(e){var t=je.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return n.assets=Fn(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function uo(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},a=mn(p._audit.rules,"id",e.id)||{};e.tags=Lr(a.tags||[]);var n=om(t,true,a),i=om(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Ls(e,Lr(r[e.id]||{}));}function v2(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:Al()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function om(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(ie(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=v2(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=El(o.message,a.data)),Ls(a,o);}}function b2(e,t){return Sr(e,t)}var Zt=b2;function sm(e,t){var r,a,n=p._audit&&p._audit.tagExclude?p._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(n.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=n.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?a.every(function(o){return e.tags.indexOf(o)===-1}):false}function y2(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?sm(e,a.values):sm(e,[])}var lm=y2;function um(e,t){if(!t)return e;var r=e.cloneNode(false),a=Ja(r);if(r.nodeType===1){var n=r.outerHTML;r=Ve.get(n,function(){return cm(r,a,e,t)});}else r=cm(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(um(i,t));}),r}function cm(e,t,r,a){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(n){w2(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function w2(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:xa(e,r[t])}function Ml(e,t){var r=[],a;if(p._selectCache)for(var n=0,i=p._selectCache.length;n<i;n++){var o=p._selectCache[n];if(o.selector===e)return o.result}for(var s=x2(t.include),l=D2(t),u=0;u<s.length;u++){a=s[u];var c=Sr(a,e,l);r=_2(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function x2(e){return e.reduce(function(t,r){return (!t.length||!Pr(t[t.length-1],r))&&t.push(r),t},[])}function D2(e){return !e.exclude||e.exclude.length===0?null:function(t){return Fl(t,e)}}function _2(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var a=0,n=t.length;a<n;a++)e.includes(t[a])||e.push(t[a]);return e}function co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ie(e)!=="object"||e===null)return {message:String(e)};var r={},a=We(je.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(ie(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?co(e.cause,t+1):"..."),r}var A2=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return gt(this,t),n=me(this,t),n.name=(a=i.name)!==null&&a!==void 0?a:"RuleError",n.message=i.message,n.stack=i.stack,i.cause&&(n.cause=co(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),l&&(n.errorNode=l),n}return Me(t,e),tt(t)})(re(Error)),fo=A2;function E2(e,t,r){if(e===f)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function C2(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return E2(r,a,n)});}var S2=C2;function k2(e){var t=Array.isArray(e)?Se(e):[e];return dm(t,m)}function dm(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?dm(e,a.shadowRoot):null}function Ol(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?Se(e):[e];return e.length===0?[]:fm(r,t)}function fm(e,t){var r=Z(e),a=r[0],n=Xn(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=We(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Se(fm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function T2(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var po=T2,pm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function F2(e){for(var t=pm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return false}return true}function mm(e){e=Array.isArray(e)?e:pm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(mm(r).map(function(i){return n+i})):t.push(n);}),t}var mo=F2,R2=(function(e){function t(r){var a;return gt(this,t),a=me(this,t),a._props=L2(r),a._attrs=P2(r),a}return Me(t,e),tt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Ft),Nl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},hm={},I2=Object.keys(Nl);I2.forEach(function(e){hm[Nl[e]]=e;});function L2(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:hm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Nl[e.nodeName])!==null&&r!==void 0?r:1;Qe(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Qe(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),po().includes(o)||(o="text"));var s=Ie({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function P2(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(Qe(ie(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=a[i]||i;n[s]=o!==null?String(o):null;}return n},{})}var gm=R2;function M2(e,t){if(e=e||function(){},t=t||p.log,!p._audit)throw new Error("No audit configured");var r=p.utils.queue(),a=[];Object.keys(p.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{p.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=p.utils.getFlattenedTree(m.body);p.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,s){return p.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){a.length===0?e(i):t(a);}).catch(t);}var vm=M2,Rn={},bm;function ym(e){return Rn.hasOwnProperty(e)}function ql(e){return typeof e=="string"&&Rn[e]?Rn[e]:typeof e=="function"?e:bm}function O2(e,t,r){Rn[e]=t,r&&(bm=t);}function N2(e){var t=p._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var a=r.split("-"),n=ue(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),l=ue(s,3),u=l[0],c=l[1],d=l[2],g=p.version.split("-"),D=ue(g,2),S=D[0],F=D[1],L=S.split(".").map(Number),M=ue(L,3),O=M[0],H=M[1],V=M[2];if(u!==O||H<c||H===c&&V<d||u===O&&c===H&&d===V&&o&&o!==F)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||ym(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(Y){if(!Y.id)throw new TypeError("Configured check ".concat(JSON.stringify(Y)," is invalid. Checks must be an object with at least an id property"));t.addCheck(Y);});}var $=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(Y){if(!Y.id)throw new TypeError("Configured rule ".concat(JSON.stringify(Y)," is invalid. Rules must be an object with at least an id property"));$.push(Y.id),t.addRule(Y);});}if(e.disableOtherRules&&t.rules.forEach(function(Y){$.includes(Y.id)===false&&(Y.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&rD(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(je.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var q2=N2;function B2(e){hr.updateMessenger(e);}function H2(e){e=e||[];var t=e.length?p._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):p._audit.rules,r=p._audit.data.rules||{};return t.map(function(a){var n=r[a.id]||{};return {ruleId:a.id,description:n.description,help:n.help,helpUrl:n.helpUrl,tags:a.tags,actIds:a.actIds}})}var V2=H2;function j2(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Cn(r)){var n=f.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=Rt(e),o=i&&f.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var $2=j2,wm={};ur(wm,{getAllCells:function(){return Bl},getCellPosition:function(){return Ui},getHeaders:function(){return ho},getScope:function(){return Zs},isColumnHeader:function(){return Ra},isDataCell:function(){return Dm},isDataTable:function(){return go},isHeader:function(){return Y2},isRowHeader:function(){return Ia},toArray:function(){return Or},toGrid:function(){return Or},traverse:function(){return Hl}});function z2(e){var t,r,a,n,i=[];for(t=0,a=e.rows.length;t<a;t++)for(r=0,n=e.rows[t].cells.length;r<n;r++)i.push(e.rows[t].cells[r]);return i}var Bl=z2;function xm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Ia:Ra,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,d=t.x+o,g=e==="row"?t.y:0,D=e==="row"?0:t.x,S,F=[],L=c;L>=g&&!S;L--)for(var M=d;M>=D;M--){var O=r[L]?r[L][M]:void 0;if(O){var H=p.utils.getNodeFromTree(O);if(H[a]){S=H[a];break}F.push(O);}}return S=(S||[]).concat(F.filter(n)),F.forEach(function(V){var $=p.utils.getNodeFromTree(V);$[a]=S;}),S}function G2(e,t){if(e.getAttribute("headers")){var r=Dr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Or(Ta(e,"table")));var a=Ui(e,t),n=xm("row",a,t),i=xm("col",a,t);return [].concat(n,i).reverse()}var ho=G2;function W2(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 Dm=W2;function U2(e){var t=Ue(e);if((t==="presentation"||t==="none")&&!Dt(e))return false;if(e.getAttribute("contenteditable")==="true"||Ta(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,a=e.children.length;r<a;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var n=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,d=o.cells.length;c<d;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(Ue(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var g=e.rows[Math.ceil(i/2)];if(g.cells.length===1&&g.cells[0].colSpan===1)return false;if(g.cells.length>=5||l)return true;for(var D,S,F=0;F<i;F++){if(o=e.rows[F],D&&D!==f.getComputedStyle(o).getPropertyValue("background-color")||(D=f.getComputedStyle(o).getPropertyValue("background-color"),S&&S!==f.getComputedStyle(o).getPropertyValue("background-image")))return true;S=f.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ns(e).width>Ni(f).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var go=U2;function X2(e){if(Ra(e)||Ia(e))return true;if(e.getAttribute("id")){var t=vt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var Y2=X2;function _m(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===true)?[i]:(n=_m(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function K2(e,t,r,a){if(Array.isArray(t)&&(a=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return _m(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Hl=K2,Am={};ur(Am,{allowedAttr:function(){return Em},arialabelText:function(){return xn},arialabelledbyText:function(){return wn},getAccessibleRefs:function(){return Vl},getElementUnallowedRoles:function(){return km},getExplicitRole:function(){return Ue},getImplicitRole:function(){return _r},getOwnedVirtual:function(){return An},getRole:function(){return $e},getRoleType:function(){return gr},getRolesByType:function(){return lE},getRolesWithNameFromContents:function(){return dE},implicitNodes:function(){return pE},implicitRole:function(){return _r},isAccessibleRef:function(){return vo},isAriaRoleAllowedOnElement:function(){return Sm},isComboboxPopup:function(){return $l},isUnsupportedRole:function(){return Ks},isValidRole:function(){return Dn},label:function(){return Im},labelVirtual:function(){return Ki},lookupTable:function(){return Fm},namedFromContents:function(){return Qf},requiredAttr:function(){return Lm},requiredContext:function(){return zl},requiredOwned:function(){return Gl},validateAttr:function(){return bo},validateAttrValue:function(){return Pm}});function J2(e){var t=et.ariaRoles[e],r=Se(Jr());return t&&(t.allowedAttrs&&r.push.apply(r,Se(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Se(t.requiredAttrs))),r}var Em=J2,Z2=/^idrefs?$/;function Cm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e]);}for(var n=0;n<r.length;++n){var i=r[n],o=Oe(e.getAttribute(i)||"");if(o){var s=We(Ht(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(d){s.e(d);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Cm(e.childNodes[c],t,r);}function Q2(e){var t;e=e.actualNode||e;var r=Mt(e);r=r.documentElement||r;var a=Ve.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(et.ariaAttrs).filter(function(o){var s=et.ariaAttrs[o].type;return Z2.test(s)});Cm(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Vl=Q2;function eE(e,t){var r=e instanceof Ft?e:ze(e),a=_r(r),n=Zr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Sm=eE,tE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],rE={header:"banner",footer:"contentinfo"};function aE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Ht(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return Dn(a)})}function nE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ze(e),a=r.vNode;if(!Tl(a))return [];var n=a.props.nodeName,i=_r(a)||rE[n],o=aE(a);return o.filter(function(s){return !iE(s,a,t,i)})}function iE(e,t,r,a){return r&&e===a?true:tE.includes(e)&&gr(e)!==a?false:Sm(t,e)}var km=nE;function oE(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Pa=oE;function sE(e){return Pa(e)}var lE=sE;function uE(){return Ve.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var jl=uE;function cE(){return jl()}var dE=cE,Tm=function(t){return t===null},Ot=function(t){return t!==null},qr={};qr.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}},qr.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"],qr.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:Ot}}]},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:Ot}}]},"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:Ot}}]},"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:Ot}}]},"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:Ot}}]},"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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},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:Ot}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},qr.implicitHtmlRole=el,qr.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:Ot}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Ot}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof p.AbstractVirtualNode||(t=p.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],qr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Tm}},{nodeName:"img",attributes:{alt:Tm}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],qr.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?a:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case "":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case "button":case "image":return n;case "checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?true:n;case "radio":return a==="menuitemradio";case "text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case "tel":return a==="combobox"||a==="spinbutton";case "url":case "search":case "email":return a==="combobox";default:return false}},LI:function(t){var r=t.node,a=t.out,n=p.utils.matchesSelector(r,"ol li, ul li");return n?a:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=p.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !a},SELECT:function(t){var r=t.node,a=t.role;return !r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:a}},qr.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Fm=qr;function fE(e){var t=null,r=Fm.role[e];return r&&r.implicit&&(t=Lr(r.implicit)),t}var pE=fE;function mE(e){return !!Vl(e).length}var vo=mE;function $l(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=$e(e);if(r??(r=Pf["aria-haspopup"].values),!r.includes(a))return false;var n=hE(e);if(Rm(n))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=hn(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
370
|
-
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Rm)}var Rm=function(t){return t&&$e(t)==="combobox"};function hE(e){for(;e=e.parent;)if($e(e,{noPresentational:true})!==null)return e;return null}function gE(e){return e=ze(e),Ki(e)}var Im=gE;function vE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Se(t.requiredAttrs)}var Lm=vE;function bE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Se(t.requiredContext)}var zl=bE;function yE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Se(t.requiredOwned)}var Gl=yE;function wE(e,t){e=e instanceof Ft?e:ze(e);var r,a,n=e.attr(t),i=et.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=Ht(n),a.reduce(function(l,u){return l&&i.values.includes(u)},a.length!==0);case "idref":try{var o=Mt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Dr(e,t).some(function(l){return !!l});case "string":return n.trim()!=="";case "decimal":return r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(n)&&parseInt(n)>=s}}var Pm=wE;function xE(e){var t=et.ariaAttrs[e];return !!t}var bo=xE;function DE(e){var t=Bl(e),r=this,a=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(a=a.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(a=a.concat(u.split(/\s+/)));});var n=t.filter(function(s){return Oe(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Ue(s))!==-1}),i=Or(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=Ui(s,i),u=false;Ra(s)&&(u=Hl("down",l,i).find(function(c){return !Ra(c)&&ho(c,i).includes(s)})),!u&&Ia(s)&&(u=Hl("right",l,i).find(function(c){return !Ia(c)&&ho(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var _E=DE,In=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Mm=In[0],Om=In[1],Nm=In[2],Wl=In[3];function AE(e){for(var t=[],r={},a=0;a<e.rows.length;a++)for(var n=e.rows[a],i=0;i<n.cells.length;i++){var o=n.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=$e(o));}var l=ne(ne(ne(ne({},Nm,new Set),Mm,new Set),Om,new Set),Wl,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!pt(g))){var D=g.getAttribute("headers").trim();if(!D){l[Wl].add(g);return}var S=g.getAttribute("id"),F=Ht(D);F.forEach(function(L){S&&L===S?l[Nm].add(g):r[L]?["columnheader","rowheader"].includes(r[L])||l[Om].add(g):l[Mm].add(g);});}});var u=We(In),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l[d].size>0)return this.relatedNodes(Se(l[d])),d===Wl?void 0:(this.data({messageKey:d}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function EE(e){var t=[],r=Bl(e),a=Or(e);return r.forEach(function(n){if(Qi(n)&&Dm(n)&&!Im(n)){var i=ho(n,a).some(function(o){return o!==null&&!!Qi(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var CE=EE;function SE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var kE=SE,TE=FE;function FE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(RE),i=n?Oe(Qr(n)):false;return !i||!a?false:Oe(a).toLowerCase()===Oe(i).toLowerCase()}}function RE(e){return e.props.nodeName==="caption"}function IE(e){return Ep(m)?e.nodeName.toUpperCase()==="TH":true}var LE=IE;function PE(e){var t=Or(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},false)}var ME=PE;function OE(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),false;try{var n=Qr(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var NE=OE,qm={};ur(qm,{getAriaRolesByType:function(){return Pa},getAriaRolesSupportingNameFromContent:function(){return jl},getElementSpec:function(){return Zr},getElementsByContentType:function(){return Js},getGlobalAriaAttrs:function(){return Jr},implicitHtmlRoles:function(){return el}});function qE(e,t,r){var a=Ue(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var n=$e(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=Jr().some(function(l){return r.hasAttr(l)}),o=Dt(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function BE(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:false}var HE=BE;function VE(e){return Yt(e)}var jE=VE;function $E(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Sp(e))return true;var c={};typeof n=="number"&&(c.minValue=n),typeof i=="number"&&(c.maxValue=i);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(Ie({value:d},c)),true;var g=zE(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Ie({value:g},c)),typeof g=="number")return (typeof n!="number"||g>=n)&&(typeof i!="number"||g<=i)}function zE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=f.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function GE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var WE=GE;function UE(){}var XE=UE;function YE(){var e=m.title;return !!Oe(e)}var KE=YE;function JE(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),false):true}var ZE=JE;function QE(e,t,r){try{return !!Oe(wn(r))}catch{return}}var eC=QE;function tC(e,t,r){return !!Oe(xn(r))}var rC=tC;function aC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Mt(e),a=Array.from(r.querySelectorAll('[id="'.concat(vt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var nC=aC;function iC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var oC=iC;function sC(e,t,r){var a=Oe(r.attr("title")).toLowerCase();return this.data(a),true}var lC=sC;function uC(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0;}),e.forEach(function(r){r.result=!!t[r.data];}),e}var cC=uC;function dC(e){var t=Ws(e,"href");return t?pt(t)||void 0:false}var fC=dC,pC=["alert","log","status"];function mC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Ve.get("regionlessNodes",function(){return hC(t)});return !a.includes(r)}function hC(e){var t=Bm(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function Bm(e,t){var r=e.actualNode;if($e(e)==="button"||vC(e,t)||["iframe","frame"].includes(e.props.nodeName)||gl(e.actualNode)&&Ws(e.actualNode,"href")||!pt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==m.body&&Qi(r,true)&&!gC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Bm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function gC(e){return ["none","presentation"].includes($e(e))&&!Zi(e)}function vC(e,t){var r=e.actualNode,a=$e(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Pa("landmark");return !!(["assertive","polite"].includes(n)||pC.includes(a)||i.includes(a)||t.regionMatcher&&_n(e,t.regionMatcher))}function bC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var a=r.node.ancestry.slice(0,-1),n=We(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(Rl(a,o.node.ancestry)){r.result=o.result;break}}}catch(s){n.e(s);}finally{n.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var yC=bC;function wC(e){switch(e){case "lighter":return 100;case "normal":return 400;case "bold":return 700;case "bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function xC(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1<e.children.length);t=e.children[n];}return e}function Ul(e){var t=f.getComputedStyle(xC(e));return {fontWeight:wC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Hm(e,t,r){return r.reduce(function(a,n){return a||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},false)}function DC(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(L){return L.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(L){return L.nodeName.toUpperCase()==="P"}),l=Ul(e),u=o?Ul(o):null,c=s?Ul(s):null,d=t.passLength,g=t.failLength,D=e.textContent.trim().length,S=o?.textContent.trim().length;if(D>S*d||!u||!Hm(l,u,i))return true;var F=ka(r,"blockquote");if(!(F&&F.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Hm(l,c,i))&&!(D>S*g))return false}var _C=DC,AC=/[;,\s]/,EC=/^[0-9.]+$/;function CC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(AC),l=ue(s,1),u=l[0];if(!u.match(EC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function SC(e,t,r){var a=Zt(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var kC=SC,Vm={};ur(Vm,{aria:function(){return Am},color:function(){return jm},dom:function(){return Ps},forms:function(){return e1},matches:function(){return _n},math:function(){return mf},standards:function(){return qm},table:function(){return wm},text:function(){return yn},utils:function(){return Go}});var jm={};ur(jm,{Color:function(){return mt},centerPointOfRect:function(){return FC},elementHasImage:function(){return eo},elementIsDistinct:function(){return zm},filteredRectStack:function(){return PC},flattenColors:function(){return kr},flattenShadowColors:function(){return Yl},getBackgroundColor:function(){return Pn},getBackgroundStack:function(){return Kl},getContrast:function(){return Ma},getForegroundColor:function(){return xo},getOwnBackgroundColor:function(){return ga},getRectStack:function(){return Gm},getStackingContext:function(){return Zl},getStrokeColorsFromShadows:function(){return Jl},getTextShadowColors:function(){return wo},hasValidContrastRatio:function(){return rS},incompleteData:function(){return ct},parseTextShadows:function(){return Xm},stackingContextToColor:function(){return Ln}});function TC(e){if(!(e.left>f.innerWidth)&&!(e.top>f.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),f.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),f.innerHeight-1);return {x:t,y:r}}}var FC=TC;function $m(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function RC(e,t){var r=f.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new mt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(a)return true;var n=f.getComputedStyle(t);if($m(r)[0]!==$m(n)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,l){return s||r.getPropertyValue(l)!==n.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var zm=RC;function IC(e){var t=Rf(e),r=cl(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Gm=IC;function LC(e){var t=Gm(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],s=t[i];a=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),a?t[0]:(ct.set("bgColor","elmPartiallyObscuring"),null)}return ct.set("bgColor","outsideViewport"),null}var PC=LC,MC=["hue","saturation","color","luminosity"],Wm={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function kr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=NC(t,e,r),n=Xl(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Xl(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Xl(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=OC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new mt(n,i,o,s);var l=Math.round(n/s),u=Math.round(i/s),c=Math.round(o/s);return new mt(l,u,c,s)}function Xl(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function OC(e,t,r){return Math.min(Math.max(t,e),r)}function NC(e,t,r){if(MC.includes(r))return Wm[r](e,t);var a=new mt;return ["r","g","b"].forEach(function(n){a[n]=Wm[r](e[n],t[n]);}),a}function Yl(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new mt(a,n,i,o)}function Kl(e){for(var t=cl(e).map(function(n){return n=kp(n,e),n=qC(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ct.set("bgColor","bgOverlap"),null;if(r!==0&&!BC(a,t[0]))return ct.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function qC(e){var t=e.indexOf(m.body),r=e,a=ga(f.getComputedStyle(m.documentElement));if(t>1&&a.alpha===0&&!eo(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var n=r.indexOf(m.documentElement);n>0&&(r.splice(n,1),r.push(m.documentElement));}return r}function BC(e,t){if(e===t)return true;if(e===null||t===null||e.length!==t.length)return false;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return false;return true}var HC=.54,yo=.5,VC=1.5,Um=["top","right","bottom","left"];function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=jC(e),i=Object.entries(n).map(function(o){var s=ue(o,2),l=s[0],u=s[1],c=Um.filter(function(d){return u[d].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !a&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map($C).filter(function(o){return o!==null})}function jC(e){var t={},r=We(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,s=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=ue(s,2),c=u[0],d=u[1];c>yo?l.right.push(c):-c>yo&&l.left.push(-c),d>yo?l.bottom.push(d):-d>yo&&l.top.push(-d);}}catch(g){r.e(g);}finally{r.f();}return t}function $C(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new mt;n.parseString(t);var i=0,o=true;return Um.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>VC}));}),o||(n.alpha=1-Math.pow(HC,i)),n}function Xm(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return [];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)Qe(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Qe(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")Qe(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),a}function wo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=f.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);Qe(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],d=Xm(s),g=We(d),D;try{for(g.s();!(D=g.n()).done;){var S=D.value,F=S.colorStr||o.getPropertyValue("color"),L=ue(S.pixels,3),M=L[0],O=L[1],H=L[2],V=H===void 0?0:H;if(!(a&&V>=u*a)){if(r&&V<u*r){c.push({colorStr:F,pixels:S.pixels});continue}if(c.length>0){var $=Jl(c,{ignoreEdgeCount:n});if($===null)return null;i.push.apply(i,Se($)),c.splice(0,c.length);}var Y=zC({colorStr:F,offsetX:M,offsetY:O,blurRadius:V,fontSize:u});i.push(Y);}}}catch(oe){g.e(oe);}finally{g.f();}if(c.length>0){var ee=Jl(c,{ignoreEdgeCount:n});if(ee===null)return null;i.push.apply(i,Se(ee));}return i}function zC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new mt(0,0,0,0);var o=new mt;return o.parseString(t),o.alpha*=GC(n,i),o}function GC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Zl(e,t){var r=ze(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Kl(e),t.forEach(function(i){var o,s=ze(i),l=XC(s),u=s._stackingOrder.filter(function(g){var D=g.vNode;return !!D});u.forEach(function(g,D){var S,F=g.vNode,L=(S=u[D-1])===null||S===void 0?void 0:S.vNode,M=Km(n,F,L);D===0&&!n.get(F)&&a.unshift(M),n.set(F,M);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,d=Km(n,s,c);u.length||a.unshift(d),d.bgColor=l;}),r._stackingContext=a,a}function Ln(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var a=e.descendants.reduce(WC,Ym()),n=kr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function WC(e,t){var r;e instanceof mt?r=e:r=Ln(e).color;var a=Ln(t).color;return kr(a,r,t.blendMode)}function Ym(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new mt(0,0,0,0),blendMode:UC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function UC(e){return e||void 0}function Km(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Ym(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function XC(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Pn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=ze(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,Se(n.bgElms)),ct.set("bgColor",n.incompleteData),n.bgColor;var i=YC(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ct.get("bgColor")},i}function YC(e,t,r){var a,n,i=Kl(e);if(!i)return null;var o=ul(e),s=(a=wo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(Yl)}]);for(var l=0;l<i.length;l++){var u=i[l],c=f.getComputedStyle(u);if(eo(u,c))return t.push(u),null;var d=void 0;try{if(d=ga(c),d.alpha===0)continue}catch(F){if(F&&ct.get("colorParse"))return null;throw F}if(c.getPropertyValue("display")!=="inline"&&!Jm(u,o))return t.push(u),ct.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),d.alpha===1)break}var g=Zl(e,i);s=g.map(Ln).concat(s);var D=KC(e,i.includes(m.body));if((n=s).unshift.apply(n,Se(D)),s.length===0)return new mt(255,255,255,1);var S=s.reduce(function(F,L){return kr(L.color,F.color instanceof mt?F.color:F,L.blendMode)});return kr(S.color instanceof mt?S.color:S,new mt(255,255,255,1))}function Jm(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=f.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof f.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,n=r.top+e.scrollHeight+u+c),t.every(function(d){return d.top>=r.top&&d.bottom<=n&&d.left>=r.left&&d.right<=a})}function Zm(e){return e||void 0}function KC(e,t){var r=[];if(!t){var a=m.documentElement,n=m.body,i=f.getComputedStyle(a),o=f.getComputedStyle(n),s=ga(i),l=ga(o),u=l.alpha!==0&&Jm(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:Zm(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:Zm(i.getPropertyValue("mix-blend-mode"))});}return r}function JC(e,t){if(!t||!e)return null;t.alpha<1&&(t=kr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Ma=JC;function xo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=f.getComputedStyle(e),i=[function(){return QC(n,a)},function(){return ZC(n)},function(){return wo(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(F){if(F&&ct.get("colorParse"))return null;throw F}var d=o.reduce(function(F,L){return kr(F,L)});if(r??(r=Pn(e,[])),r===null){var g=ct.get("bgColor");return ct.set("fgColor",g),null}var D=Zl(e),S=Qm(D,e);return kr(eS(d,S,D),new mt(255,255,255,1))}function ZC(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function QC(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new mt().parseString(s)}function eS(e,t,r){for(;t;){var a;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var n=((a=t.ancestor)===null||a===void 0?void 0:a.descendants)||r;t.opacity!==1&&(n=n.slice(0,n.indexOf(t)));var i=n.map(Ln);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return kr(l.color,s.color instanceof mt?s.color:s)},{color:new mt(0,0,0,0),blendMode:"normal"});e=kr(e,o),t=t.ancestor;}return e}function Qm(e,t){var r=We(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value;if(((n=i.vNode)===null||n===void 0?void 0:n.actualNode)===t)return i;var o=Qm(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function tS(e,t,r,a){var n=Ma(e,t),i=a&&Math.ceil(r*72)/96<14||!a&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:n>o,contrastRatio:n,expectedContrastRatio:o}}var rS=tS,e1={};ur(e1,{isAriaCombobox:function(){return op},isAriaListbox:function(){return ip},isAriaRange:function(){return sp},isAriaTextbox:function(){return np},isDisabled:function(){return Mn},isNativeSelect:function(){return ap},isNativeTextbox:function(){return rp}});var aS=["fieldset","button","select","input","textarea"];function t1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return aS.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=t1(e.parent):t=false,e._isDisabled=t,t}var Mn=t1;function nS(e,t,r){var a=yn.accessibleTextVirtual(r),n=yn.sanitize(yn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:Ps.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var iS=nS;function r1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return false;var n=r.every(function(i){var o=e[i],s=t[i];return ie(o)!==ie(s)?false:ie(o)==="object"||ie(s)==="object"?r1(o,s):o===s});return n}function oS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],a={},n=function(s){var l,u=t[s],c=u.data,d=c.name,g=c.urlProps;if(a[d])return 1;var D=t.filter(function(F,L){var M=F.data;return M.name===d&&L!==s}),S=D.every(function(F){var L=F.data;return r1(L.urlProps,g)});D.length&&!S&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Se(D.map(function(F){return F.relatedNodes[0]}))),a[d]=D,r.push(u);},i=0;i<t.length;i++)n(i);return r}var sS=oS;function lS(e){var t=$e(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ue(i,2),s=o[1];return r?s&&!a?parseInt(s,10):isNaN(n)||n<1?s?parseInt(s,10):2:n||-1:-1}function uS(){var e=Ve.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Sr(p._tree[0],t,pt);return e=r.map(function(a){return {ancestry:[ki(a.actualNode)],level:lS(a)}}),this.data({headingOrder:e}),Ve.set("headingOrder",r),true}var cS=uS;function dS(e){var t=pS(e);return e.forEach(function(r){r.result=fS(r,t);}),e}function fS(e,t){var r,a,n,i,o=a1(t,e.node.ancestry),s=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,l=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function pS(e){e=Se(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(mS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function mS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=n1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return gS(s,n)}),o=hS(e,n);return o===-1?e.push.apply(e,Se(i)):e.splice.apply(e,[o,0].concat(Se(i))),e}function hS(e,t){for(;t.length;){var r=a1(e,t);if(r!==-1)return r;t=n1(t,1);}return -1}function a1(e,t){return e.findIndex(function(r){return Rl(r.ancestry,t)})}function gS(e,t){var r=t.concat(e.ancestry);return Ie({},e,{ancestry:r})}function n1(e,t){return e.slice(0,e.length-t)}function vS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Mr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Mr.bind(null,a),o=zi(r),s=bS(r,o),l=yS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(On(s));return}if(u.length)return this.relatedNodes(On(u)),this.data({messageKey:"obscured"}),true;var d=sr(r)?false:void 0;if(!i(n))return this.data(Ie({minSize:a},Do(n))),d;var g=DS(c);if(!g.length)return this.data(Ie({minSize:a},Do(n))),true;var D=wS(r,g,a);if(!D){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(D)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(On(s));return}var S=g.every(sr),F="partiallyObscured".concat(S?"":"NonTabbable");return this.data(Ie({messageKey:F,minSize:a},Do(D))),this.relatedNodes(On(g)),S?d:void 0}return this.data(Ie({minSize:a},Do(D||n))),this.relatedNodes(On(g)),true}function bS(e,t){return t.filter(function(r){return !i1(r,e)&&o1(e,r)})}function yS(e,t){var r=[],a=[],n=We(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!o1(e,o)&&Hs(e,o)&&_S(o)!=="none"&&(i1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function wS(e,t,r){var a=e.boundingClientRect,n=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Vs(a,n);}catch{return null}return xS(i,r)}function xS(e,t){return e.reduce(function(r,a){var n=Mr(t,r),i=Mr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}function DS(e){return e.filter(function(t){return gr(t)==="widget"&&Dt(t)})}function i1(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function _S(e){return e.getComputedStylePropertyValue("pointer-events")}function Do(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function o1(e,t){return Pr(e,t)&&!sr(t)}function On(e){return e.map(function(t){var r=t.actualNode;return r})}var AS=.05;function ES(e,t,r){var a=t?.minOffset||24;if(Mr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=We(zi(r,a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(gr(l)!=="widget"||!Dt(l))){var u=null;try{u=gf(r,l,a/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}u!==null&&(u=CS(u)*2,!(u+AS>=a)&&(i=Math.min(i,u),n.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),true;if(this.relatedNodes(n.map(function(c){var d=c.actualNode;return d})),!n.some(sr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),sr(r)?false:void 0}function CS(e){return Math.round(e*10)/10}function SS(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(d,g){var D=g.trim();if(!D)return d;var S=D.split("="),F=ue(S,2),L=F[0],M=F[1];if(!L||!M)return d;var O=L.toLowerCase().trim(),H=M.toLowerCase().trim();return O==="maximum-scale"&&H==="yes"&&(H=1),O==="maximum-scale"&&parseFloat(H)<0||(d[O]=H),d},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var kS=SS;function TS(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,d=[],g=L(o),D=function(){var ce=F[S],he=g[ce],be=he.root,Fe=he.rules,qe=Fe.filter(M);if(!qe.length)return 1;qe.forEach(function(Ae){var Pe=Ae.cssRules;Array.from(Pe).forEach(function(fe){var Te=O(fe);if(Te&&fe.selectorText.toUpperCase()!=="HTML"){var W=Array.from(be.querySelectorAll(fe.selectorText))||[];d=d.concat(W);}c=c||Te;});});},S=0,F=Object.keys(g);S<F.length;S++)D();if(!c)return true;return d.length&&this.relatedNodes(d),false;function L(te){return te.reduce(function(ce,he){var be=he.sheet,Fe=he.root,qe=he.shadowId,Ae=qe||"topDocument";if(ce[Ae]||(ce[Ae]={root:Fe,rules:[]}),!be||!be.cssRules)return ce;var Pe=Array.from(be.cssRules);return ce[Ae].rules=ce[Ae].rules.concat(Pe),ce},{})}function M(te){var ce=te.type,he=te.cssText;return ce!==4?false:/orientation:\s*landscape/i.test(he)||/orientation:\s*portrait/i.test(he)}function O(te){var ce=te.selectorText,he=te.style;if(!ce||he.length<=0)return false;var be=he.transform||he.webkitTransform||he.msTransform||false;if(!be&&!he.rotate)return false;var Fe=H(be),qe=V("rotate",he.rotate),Ae=Fe+qe;return !Ae||(Ae=Math.abs(Ae),Math.abs(Ae-180)%180<=u)?false:Math.abs(Ae-90)%90<=u}function H(te){if(!te)return 0;var ce=te.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ce)return 0;var he=ue(ce,3),be=he[1],Fe=he[2];return V(be,Fe)}function V(te,ce){switch(te){case "rotate":case "rotateZ":return $(ce);case "rotate3d":var he=ce.split(",").map(function(Ae){return Ae.trim()}),be=ue(he,4),Fe=be[2],qe=be[3];return parseInt(Fe)===0?void 0:$(qe);case "matrix":case "matrix3d":return Y(ce);default:return 0}}function $(te){var ce=te.match(/(deg|grad|rad|turn)/)||[],he=ue(ce,1),be=he[0];if(!be)return 0;var Fe=parseFloat(te.replace(be,""));switch(be){case "rad":return ee(Fe);case "grad":return oe(Fe);case "turn":return ve(Fe);default:return parseInt(Fe)}}function Y(te){var ce=te.split(",");if(ce.length<=6){var he=ue(ce,2),be=he[0],Fe=he[1],qe=Math.atan2(parseFloat(Fe),parseFloat(be));return ee(qe)}var Ae=parseFloat(ce[8]),Pe=Math.asin(Ae),fe=Math.cos(Pe),Te=Math.acos(parseFloat(ce[0])/fe);return ee(Te)}function ee(te){return Math.round(te*(180/Math.PI))}function oe(te){return te=te%400,te<0&&(te+=400),Math.round(te/400*360)}function ve(te){return Math.round(360/(1/te))}}var FS=TS;function RS(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var a=t.allowedDuration,n=a===void 0?3:a,i=o(e);if(i<=n)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var d=ue(c,2),g=d[1],D=g.split(",");return D.map(function(S){return /:/.test(S)?l(S):parseFloat(S)})}}function l(u){for(var c=u.split(":"),d=0,g=1;c.length>0;)d+=g*parseInt(c.pop(),10),g*=60;return parseFloat(d)}}var IS=RS;function LS(e,t){return t.isViolation?false:void 0}var PS=LS,s1=" > ";function MS(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join(s1);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(s1);return t[i]&&(t[i].result=true),false})}var OS=MS;function NS(e,t,r){var a=Zt(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var qS=NS;function BS(e,t,r){var a=r.children;if(!a||!a.length)return false;for(var n=false,i=false,o,s=0;s<a.length;s++){if(o=a[s].props.nodeName.toUpperCase(),o==="DT"&&(n=true),n&&o==="DD")return false;o==="DD"&&(i=true);}return n||i}var HS=BS;function VS(e,t,r){var a=false,n=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!pt(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",g=$e(u),D=g==="listitem";!d&&!D&&o.push(c),d&&!D&&(s.push(c),l.includes(g)||l.push(g)),D&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var jS=VS;function $S(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&$e(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&pt(u)){var d=Ue(u);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function zS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=Ue(a);return ["presentation","none","list"].includes(i)?true:i&&Dn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function GS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=l1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&US(l)){if(!l.children)return;var c=l1(l.children,true);i.push.apply(i,Se(c));continue}var d=WS(l,u,t);d&&(n.includes(d)||n.push(d),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(l.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function WS(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(u===3&&c.trim()!=="")return d+"#text";if(u!==1||!pt(e))return false;var g=Ue(e);return g?n.includes(g)?false:d+"[role=".concat(g,"]"):o.includes(l)?false:d+l}function US(e){return e.props.nodeName==="div"&&Ue(e)===null}function l1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function XS(e){var t=Rt(e),r=t.nodeName.toUpperCase(),a=Ue(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=Rt(t),r=t.nodeName.toUpperCase(),a=Ue(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var YS=XS;function KS(e,t,r){var a=ba(r.attr("lang")),n=ba(r.attr("xml:lang"));return a===n}var JS=KS;function ZS(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=ba(i),s=t.value?!t.value.map(ba).includes(o):!mo(o);(o!==""&&s||i!==""&&!Oe(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!fl(r)?false:(this.data(a),true)}var QS=ZS;function Ql(e){return (e||"").trim()!==""}function ek(e,t,r){var a=typeof m<"u"?sn(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Ql(r.attr("xml:lang"))&&!Ql(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Ql(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var tk=ek;function rk(e,t,r){var a=$e(e),n=It(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var ak=rk;function nk(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=false,n.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var ik=nk;function ok(e,t,r){var a=Ji(r),n=Xi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var sk=ok;function lk(e){var t=vt(e.getAttribute("id")),r=e.parentNode,a=Mt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !Kr(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return pt(s)});if(i.length>1)return;var o=Dr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var uk=lk;function ck(e,t){var r=u1(t),a=u1(e);return !r||!a?false:r.includes(a)}function u1(e){var t=En(e,{emoji:true,nonBmp:true,punctuations:true});return Oe(t)}function dk(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=pa(e).toLowerCase(),s=Oe(Qr(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(ll(o)<1||ll(s)<1))return ck(s,o)}var fk=dk;function pk(e,t,r){try{var a=Xt(r,"label");if(a){var n=Oe(It(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var mk=pk;function hk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Mt(e),n=vt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!pt(i)){var o;try{o=It(r).trim();}catch{return}var s=o==="";return s}}return false}var gk=hk;function vk(e,t,r){var a=Ji(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Dr(e,"aria-describedby");n=i.map(function(o){return o?pa(o):""}).join("");}return Oe(n)===Oe(a)}var bk=vk;function yk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Mt(r.actualNode),i=vt(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Yt(s)){var l=Oe(pa(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var wk=yk;function xk(e,t,r){if(["none","presentation"].includes($e(r)))return false;var a=Xt(r,t.parentSelector);if(!a)return false;var n=Ar(a,true).toLowerCase();return n===""?false:n===It(r).toLowerCase()}var Dk=xk;function _k(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var Ak=_k;function Ek(e,t,r){var a=Cr(r.attr("tabindex"));return a===null||a<=0}var Ck=Ek;function Sk(e,t,r){if(r.children)try{var a=c1(r);if(!a.length)return !0;var n=a.filter(kk);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function c1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){gr(r)==="widget"&&Dt(r)?t.push(r):t.push.apply(t,Se(c1(r)));}),t}function kk(e){var t=Cr(e.attr("tabindex"));return t!==null&&t<0}function Tk(e){var t=Pa("landmark"),r=Rt(e),a=$e(e);for(this.data({role:a});r;){var n=Ue(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=_r(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=Rt(r);}return true}var Fk=Tk;function Rk(e,t,r){if(r.children)try{return !r.children.some(function(a){return d1(a)})}catch{return}}function d1(e){if(sr(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return d1(t)})}function Ik(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return !a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Sn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Lk=Ik;function Pk(e,t,r){if(!sr(r))return false;try{return !It(r)}catch{return}}var Mk=Pk;function Ok(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(Sn()){this.relatedNodes(a);return}return true}var Nk=Ok;function qk(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return sr(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Xt(r.parent,"[contenteditable]");return o?a(o):false}}var Bk=qk;function Hk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Sn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Vk=Hk;function jk(e,t,r){var a=r.tabbableElements;if(!a)return false;var n=a.filter(function(i){return i!==r});return n.length>0}var $k=jk;function zk(e,t,r){return Kr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Gk=zk;function Wk(e){var t={};return e.filter(function(r){if(!r.data)return false;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),false):(t[a]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var Uk=Wk;function Xk(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var a="page-no-duplicate;"+t.selector;if(Ve.get(a)){this.data("ignored");return}Ve.set(a,true);var n=Sr(p._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!ka(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return $e(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var Yk=Xk;function Kk(e){return e.filter(function(t){return t.data!=="ignored"})}var Jk=Kk;function Zk(e,t,r){return _n(r,t.matcher)}var Qk=Zk;function eT(e,t,r){try{return Oe(Qr(r))!==""}catch{return}}function tT(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Sn())return true;var a=Sr(r,t.selector,function(n){return pt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var rT=tT;function aT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var nT=aT;function iT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var a=r.attr(t.attribute),n=!Oe(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var oT=iT;function sT(e,t,r){var a=r.attr("autocomplete")||"";return vp(a,t)}var lT=sT;function uT(e,t,r){if(r.props.nodeName!=="input")return true;var a=["text","search","number","tel"],n=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};ie(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),l=s[s.length-1];if(ha.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Oe(r.attr("type")).toLowerCase():"text";return c=po().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var cT=uT,dT=["block","list-item","table","flex","grid","inline-block"];function fT(e){if(f1(e))return false;for(var t=Rt(e);t&&t.nodeType===1&&!f1(t);)t=Rt(t);if(t){if(this.relatedNodes([t]),zm(e,t))return true;if(pT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function f1(e){var t=f.getComputedStyle(e).getPropertyValue("display");return dT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function pT(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=f.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function p1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var mT=["block","list-item","table","flex","grid","inline-block"];function m1(e){var t=f.getComputedStyle(e).getPropertyValue("display");return mT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function hT(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(m1(e))return false;for(var n=Rt(e);n&&n.nodeType===1&&!m1(n);)n=Rt(n);if(n){this.relatedNodes([n]);var i=xo(e),o=xo(n),s=Pn(e),l=Pn(n),u=i&&o?p1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?p1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,g=(d=ct.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:g}),ct.clear();return}if(u)return a&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var gT=hT;function vT(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!Yt(e))return this.data({messageKey:"hidden"}),true;var g=Ar(r,false,true);if(a&&yT(g)){this.data({messageKey:"nonBmp"});return}var D=f.getComputedStyle(e),S=parseFloat(D.getPropertyValue("font-size")),F=D.getPropertyValue("font-weight"),L=parseFloat(F)>=o||F==="bold",M=Math.ceil(S*72)/96,O=L&&M<s||!L&&M<l,H=O?u.normal:u.large,V=H.expected,$=H.minThreshold,Y=H.maxThreshold,ee=bT(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(ee){this.data({fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:L?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:V+":1"}),this.relatedNodes(ee.actualNode);return}var oe=wo(e,{minRatio:.001,maxRatio:c});if(oe===null){this.data({messageKey:"complexTextShadows"});return}var ve=[],te=Pn(e,ve,c),ce=xo(e,false,te,t),he=null,be=null,Fe=null;if(oe.length===0)he=Ma(te,ce);else if(ce&&te){Fe=[].concat(Se(oe),[te]).reduce(Yl);var qe=Ma(te,ce),Ae=Ma(te,Fe),Pe=Ma(Fe,ce);he=Math.max(qe,Ae,Pe),he!==qe&&(be=Ae>Pe?"shadowOnBgColor":"fgOnShadowColor");}var fe=he>V;if(typeof $=="number"&&(typeof he!="number"||he<$)||typeof Y=="number"&&(typeof he!="number"||he>Y))return this.data({contrastRatio:he}),true;var Te=Math.floor(he*100)/100,W,we;te===null?ct.get("colorParse")?(W="colorParse",we=ct.get("colorParse")):W=ct.get("bgColor"):fe||(W=be),ce===null&&ct.get("colorParse")&&(W="colorParse",we=ct.get("colorParse"));var le=Te===1,xe=g.length===1;if(le?W=ct.set("bgColor","equalRatio"):!fe&&xe&&!n&&(W="shortTextContent"),this.data({fgColor:ce?ce.toHexString():void 0,bgColor:te?te.toHexString():void 0,contrastRatio:Te,fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:L?"bold":"normal",messageKey:W,expectedContrastRatio:V+":1",shadowColor:Fe?Fe.toHexString():void 0,colorParse:we}),ce===null||te===null||le||xe&&!n&&!fe){W=null,ct.clear(),this.relatedNodes(ve);return}return fe||this.relatedNodes(ve),fe}function bT(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?false:n;if(!i){var o=e.boundingClientRect,s=o.width*o.height*a;do{var l=h1(e.actualNode,":before"),u=h1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var h1=ut(function(t,r){var a=f.getComputedStyle(t,r),n=function(l,u){return a.getPropertyValue(l)===u};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||ga(a).alpha===0&&n("background-image","none"))return 0;var i=g1(a.getPropertyValue("width")),o=g1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function yT(e){var t={nonBmp:true},r=ol(e,t),a=Oe(En(e,t))==="";return r&&a}function g1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=ue(r,3),n=a[1],i=n===void 0?"":n,o=a[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var wT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},xT={alert:true,alertdialog:true,application:true,article:true,banner:false,complementary:true,contentinfo:true,dialog:true,form:true,log:true,main:true,navigation:true,region:true,search:false,status:true,tabpanel:true};function DT(e){var t=e.nodeName.toUpperCase();return wT[t]||false}function _T(e,t){var r=Ue(e);return r&&(xT[r]||t.roles.includes(r))||false}function AT(e,t){return _T(e,t)||DT(e)}var ET=AT;function CT(e,t,r){var a=$e(r,{dpub:true,fallback:true}),n=Ks(a);return n&&this.data(a),n}var ST=CT;function kT(e,t,r){var a=$e(r,{noImplicit:true});this.data(a);var n,i;try{n=Oe(nl(r)).toLowerCase(),i=Oe(It(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var TT=kT;function FT(e,t,r){return Dt(r)}var RT=FT;function IT(e,t,r){var a=Ht(r.attr("role")),n=a.every(function(i){return !Dn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var LT=IT;function PT(e,t,r){var a=Ue(r);if(a===null)return false;var n=gr(a);return n==="widget"||n==="composite"}var MT=PT;function OT(e,t,r){var a=Jr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var NT=OT;function qT(e,t){var r=_r(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function BT(e,t,r){var a=Ht(r.attr("role"));return a.length<=1?false:qT(r,a)?void 0:true}var HT=BT;function VT(e,t,r){var a=$e(r,{dpub:true,fallback:true}),n=et.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function jT(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Oe(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Oe(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function $T(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Oe(It(r))!==""}catch{return}}function zT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,d=r.attr(u);try{c=Pm(r,u);}catch{a="".concat(u,'="').concat(d,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(d===""&&!GT(u)?(a=u,n="empty"):i.push("".concat(u,'="').concat(d,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function GT(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function WT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!bo(i)&&a.push(i);}),a.length?(this.data(a),false):true}var UT=WT;function XT(e,t,r){var a=r.attrNames.filter(function(n){var i=et.ariaAttrs[n];if(!bo(n))return false;var o=i.unsupported;return ie(o)!=="object"?!!o:!_n(e,o.exceptions)});return a.length?(this.data(a),true):false}var YT=XT;function KT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=$e(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var JT=KT;function v1(e,t,r,a){var n=Ue(e);if(r||(r=zl(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=$e(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function ZT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=vt(e.getAttribute("id")),n=Mt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function QT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=v1(r,a);if(!n)return true;var i=ZT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=v1(ze(i[o]),a,n,true),!n)return true}return this.data(n),false}var e5=QT;function t5(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=Ue(r,{dpub:true}),i=Gl(n);if(i===null)return true;var o=r5(r,i),s=o.filter(function(u){var c=u.role,d=u.vNode;return d.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,d=u.attr;return i5(c,d)}).filter(function(u,c,d){return d.indexOf(u)===c}).join(", ")}),false}if(a5(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(a.includes(n)&&!o.some(o5)))return false}function r5(e,t){for(var r,a=[],n=An(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!pt(r))return 1;var s=$e(r,{noPresentational:true}),l=n5(r),u=!!l||Dt(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,Se(r.children));else if(s||u){var c=l||"tabindex";a.push({role:s,attr:c,vNode:r});}};r=n.shift();)i();return a}function a5(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function n5(e){return Jr().find(function(t){return e.hasAttr(t)})}function i5(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=Ue(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function o5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Cn(t,false,true)}function s5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=Ue(a),i=a.attrNames,o=Lm(n);if(Array.isArray(r[n])&&(o=Fn(r[n],o)),!n||!i.length||!o.length||l5(a,n)||c5(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Zr(a),l=o.filter(function(u){return !a.attr(u)&&!u5(s,u)});return l.length?(this.data(l),false):true}function l5(e,t){return t==="separator"&&!Dt(e)}function u5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function c5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function d5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t?.elementsAllowedAriaLabel||[],n=r.props.nodeName,i=$e(r,{chromium:true,fallback:true}),o=f5(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Oe(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:l,prohibited:s});var u=Qr(r,{subtreeDescendant:true});if(Oe(u)==="")return true}function f5(e,t,r,a){var n=et.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||b1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var b1=ut(function(t){if(t){var r=$e(t,{noPresentational:true,chromium:true});return r?gr(r):b1(t.parent)}});function p5(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var m5=p5;function h5(e,t,r){return r.attr("aria-hidden")!=="true"}var g5=h5;function v5(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return et.ariaAttrs["aria-errormessage"].allowEmpty;var u=Ht(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Dr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!pt(c))return this.data({messageKey:"hidden",values:u}),false;var d=Ht(r.attr("aria-describedby"));return Ue(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(g){return d.includes(g)})}}return t.indexOf(a)===-1&&n?(this.data(Ht(a)),s.call(this,a)):true}function y1(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=b5(i),l=s&&$e(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function b5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Xt(e,t)}}function w1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=w5(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=y5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function y5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function w5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var x1={row:y1,checkbox:w1};function x5(e,t,r){var a=$e(r);return x1[a]?x1[a].call(this,e,t,r):true}function D5(e,t,r){return r.attr("aria-busy")==="true"}function _5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?true:a,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=km(r,n);return l.length?(this.data(l),pt(r)?false:void 0):true}var A5=_5;function E5(e,t,r){var a=[],n=$e(r),i=Em(n);Array.isArray(t[n])&&(i=Fn(t[n].concat(i)));var o=We(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;bo(l)&&!i.includes(l)&&!C5(l,r.attr(l),r)&&a.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!n&&!Tl(r)&&!Dt(r)))return false}function C5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function S5(e,t,r){var a=Zr(r);if(!a.allowedAriaAttrs)return true;var n=Ue(r);if(n)return true;var i=a.allowedAriaAttrs,o=Jr(),s=[],l=We(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(g){l.e(g);}finally{l.f();}if(!s.length)return true;var d=s.length>1?"plural":"singular";return this.data({messageKey:d,nodeName:r.props.nodeName,values:s.map(function(g){return g+'="'+r.attr(g)+'"'}).join(", ")}),false}function k5(e,t,r){var a=Ht(r.attr("role")).filter(function(n){return gr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var T5=k5;function F5(e){var t=ba(e.getAttribute("lang")),r=ba(e.getAttribute("xml:lang"));return mo(t)&&mo(r)}var R5=F5;function I5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var L5=I5;function P5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Xt(t,"svg")}catch{return false}}var eu=P5;function M5(e,t){return O5.every(function(r){return r(e,t)})}var O5=[function(e,t){return D1(t)},function(e,t){return N5(t)},function(e,t){return !eu(e,t)},function(e,t){return Dt(t)},function(e,t){return sr(t)||!q5(t)},function(e){return !pl(e,{noLengthCompare:true,includeInlineBlock:true})}];function D1(e){return gr(e)==="widget"}function N5(e){return e.props.nodeName!=="area"}var q5=ut(function e(t){return t!=null&&t.parent?D1(t.parent)&&sr(t.parent)?true:e(t.parent):false});function B5(e,t){var r=$e(t);return ["treegrid","grid","table"].includes(r)}function H5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||V5(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function V5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function j5(e){return gl(e)&&Bi(e)}var $5=j5;function z5(e,t){return Nr(e,13)!==void 0&&$l(t)===false&&G5(t)}function G5(e){var t=e.boundingClientRect;return Zt(e,"*").some(function(r){if(!Cn(r,true,true))return false;var a=[];if(Zi(r)){var n;(n=a).push.apply(n,Se(W5(r)));}else a=[r.boundingClientRect];return a.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function W5(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function U5(e,t){return _r(t,{chromiumRoles:true})!==null}var X5=U5;function Y5(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return false;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var K5=Y5;function J5(e,t){var r=Ue(t);if(!r||["none","presentation"].includes(r))return true;var a=Mf[r]||{},n=a.accessibleNameRequired;return !!(n||Dt(t))}var _1=J5,Z5=function(t,r){return [_1,Q5].every(function(a){return a(t,r)})};function Q5(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return true;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function eF(e,t){return t.props.nodeName!=="html"}var tF=eF;function rF(e,t){return !t.attr("role")}var aF=rF;function nF(e,t){var r=Cr(t.attr("tabindex"));return r===null||r>=0}var iF=nF;function oF(e,t){var r=Zr(t),a=r.namingMethods;return !(a&&a.length!==0||Ue(t)==="combobox"&&Zt(t,'input:not([type="hidden"])').length||$l(t,{popupRoles:["listbox"]}))}var sF=oF;function lF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var uF=lF;function cF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var dF=cF;function fF(e,t){var r=$e(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var pF=fF;function mF(e){var t=Oe(e.innerText),r=Ue(e);return r&&r!=="link"||!t||!Yt(e)?false:pl(e)}var hF=mF;function gF(e){return !go(e)&&!Dt(e)}var vF=gF;function bF(e,t){return yF(t)&&pt(t)}function yF(e){var t=Pa("landmark"),r=$e(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=It(e);return !!n}return t.indexOf(r)>=0||r==="region"}function wF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!ka(t,r)}var xF=wF;function DF(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===false)return true;var r=t.attr("type").toLowerCase();return ["hidden","image","button","submit","reset"].includes(r)===false}var _F=DF;function AF(e,t){var r=$e(e);if(!r)return false;var a=Pa("widget"),n=a.includes(r);if(!n)return false;var i=jl();return !(!i.includes(r)||!Oe(xn(t))&&!Oe(wn(e))||!Oe(Ar(t)))}var EF=AF;function CF(e,t){return Yt(t)}function SF(e){return Yt(e)}function kF(e,t,r){return r.initiator}var A1=kF;function TF(e){return Dp(e)}var FF=TF;function RF(e,t){var r=!!It(t);if(!r)return false;var a=$e(e);return !(a&&a!=="link")}var IF=RF;function LF(e,t){return !eu(e,t)}var PF=LF;function MF(e,t){return $e(t)==="heading"}function OF(e,t){return _r(t,{chromium:true})!==null}var NF=OF;function qF(e){var t=e.getAttribute("title");return !!Oe(t)}var BF=qF;function HF(e,t,r){var a,n;return !r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var VF=HF;function jF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(vt(t),'"]'),a=Array.from(Mt(e).querySelectorAll(r));return !vo(e)&&a.every(function(n){return !Dt(n)})}var $F=jF;function zF(e){return vo(e)}var GF=zF;function WF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(vt(t),'"]'),a=Array.from(Mt(e).querySelectorAll(r));return !vo(e)&&a.some(Dt)}var UF=WF;function XF(e){return go(e)}var YF=XF;function KF(e){if(go(e)){var t=Or(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var JF=KF;function ZF(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||Mn(t)||Gi(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=f.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!vl(u,e))return false}return true}var c=ka(t,"label");if(a==="label"||c){var d=c||e,g=c?ze(c):t;if(d.htmlFor){var D=Mt(d),S=D.getElementById(d.htmlFor),F=S&&ze(S);if(F&&Mn(F))return false}var L='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',M=Zt(g,L)[0];if(M&&Mn(M))return false}for(var O=[],H=t;H;){if(H.props.id){var V=Vl(H).filter(function(ce){return Ht(ce.getAttribute("aria-labelledby")||"").includes(H.props.id)}).map(function(ce){return ze(ce)});O.push.apply(O,Se(V));}H=H.parent;}if(O.length>0&&O.every(Mn)||!tR(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var $=m.createRange(),Y=t.children,ee=0;ee<Y.length;ee++){var oe=Y[ee];oe.actualNode.nodeType===3&&Oe(oe.actualNode.nodeValue)!==""&&$.selectNodeContents(oe.actualNode);}var ve=Array.from($.getClientRects()),te=gn(t);return ve.some(function(ce){var he=vl(ce,e);if(!te.length)return he;var be=te.some(function(Fe){return Ms(ce,Fe.boundingClientRect)});return he&&be})}var QF=ZF,eR={emoji:true,nonBmp:false,punctuations:true};function tR(e){var t=Ar(e,false,true);return t===""||En(t,eR)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!sl(r)})}function rR(e,t,r){return A1(e,t,r)?!!e.querySelector("a[href]"):true}var aR=rR;function nR(e,t){var r=t.attr("autocomplete");if(!r||Oe(r)==="")return false;var a=t.props.nodeName;if(["textarea","input","select"].includes(a)===false)return false;var n=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||n.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(a==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=Ue(t),l=Cr(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&&!Yt(t)&&!pt(t))}var iR=nR;function oR(e,t){var r=Ue(t);return !!zl(r)}var sR=oR;function lR(e,t){var r=Ue(t,{dpub:true});return !!Gl(r)}var uR=lR;function E1(e){return e?e.getAttribute("aria-hidden")==="true"?false:E1(Rt(e)):true}function cR(e){return E1(Rt(e))}var dR=cR;function fR(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var pR=fR;function mR(e,t){return Ue(t,{dpub:true,fallback:true})!==null}var hR=mR;function gR(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n<i;n++)if(r.test(a[n]))return true}return false}var vR=gR,bR={"abstractrole-evaluate":T5,"accesskeys-after":Uk,"accesskeys-evaluate":Gk,"alt-space-value-evaluate":Ak,"aria-allowed-attr-elm-evaluate":S5,"aria-allowed-attr-evaluate":E5,"aria-allowed-attr-matches":vR,"aria-allowed-role-evaluate":A5,"aria-allowed-role-matches":hR,"aria-busy-evaluate":D5,"aria-conditional-attr-evaluate":x5,"aria-conditional-checkbox-attr-evaluate":w1,"aria-conditional-row-attr-evaluate":y1,"aria-errormessage-evaluate":v5,"aria-has-attr-matches":pR,"aria-hidden-body-evaluate":g5,"aria-hidden-focus-matches":dR,"aria-label-evaluate":rC,"aria-labelledby-evaluate":eC,"aria-level-evaluate":m5,"aria-prohibited-attr-evaluate":d5,"aria-required-attr-evaluate":s5,"aria-required-children-evaluate":t5,"aria-required-children-matches":uR,"aria-required-parent-evaluate":e5,"aria-required-parent-matches":sR,"aria-roledescription-evaluate":JT,"aria-unsupported-attr-evaluate":YT,"aria-valid-attr-evaluate":UT,"aria-valid-attr-value-evaluate":zT,"attr-non-space-content-evaluate":oT,"autocomplete-appropriate-evaluate":cT,"autocomplete-matches":iR,"autocomplete-valid-evaluate":lT,"avoid-inline-spacing-evaluate":ZE,"braille-label-equivalent-evaluate":$T,"braille-roledescription-equivalent-evaluate":jT,"bypass-matches":aR,"caption-evaluate":qS,"caption-faked-evaluate":ME,"color-contrast-evaluate":vT,"color-contrast-matches":QF,"css-orientation-lock-evaluate":FS,"data-table-large-matches":JF,"data-table-matches":YF,"deprecatedrole-evaluate":VT,"dlitem-evaluate":YS,"doc-has-title-evaluate":KE,"duplicate-id-active-matches":UF,"duplicate-id-after":oC,"duplicate-id-aria-matches":GF,"duplicate-id-evaluate":nC,"duplicate-id-misc-matches":$F,"duplicate-img-label-evaluate":Dk,"exists-evaluate":XE,"explicit-evaluate":wk,"fallbackrole-evaluate":HT,"focusable-content-evaluate":$k,"focusable-disabled-evaluate":Vk,"focusable-element-evaluate":Bk,"focusable-modal-open-evaluate":Nk,"focusable-no-name-evaluate":Mk,"focusable-not-tabbable-evaluate":Lk,"frame-focusable-content-evaluate":Rk,"frame-focusable-content-matches":VF,"frame-tested-after":OS,"frame-tested-evaluate":PS,"frame-title-has-text-matches":BF,"has-alt-evaluate":WE,"has-descendant-after":nT,"has-descendant-evaluate":rT,"has-global-aria-attribute-evaluate":NT,"has-implicit-chromium-role-matches":NF,"has-lang-evaluate":tk,"has-text-content-evaluate":eT,"has-widget-role-evaluate":MT,"heading-matches":MF,"heading-order-after":dS,"heading-order-evaluate":cS,"help-same-as-label-evaluate":bk,"hidden-content-evaluate":$2,"hidden-explicit-label-evaluate":gk,"html-namespace-matches":PF,"html5-scope-evaluate":LE,"identical-links-same-purpose-after":sS,"identical-links-same-purpose-evaluate":iS,"identical-links-same-purpose-matches":IF,"implicit-evaluate":mk,"inline-style-property-evaluate":$E,"inserted-into-focus-order-matches":FF,"internal-link-present-evaluate":kC,"invalid-children-evaluate":GS,"invalidrole-evaluate":LT,"is-element-focusable-evaluate":RT,"is-initiator-matches":A1,"is-on-screen-evaluate":jE,"is-visible-matches":SF,"is-visible-on-screen-matches":CF,"label-content-name-mismatch-evaluate":fk,"label-content-name-mismatch-matches":EF,"label-matches":_F,"landmark-has-body-context-matches":xF,"landmark-is-top-level-evaluate":Fk,"landmark-is-unique-after":ik,"landmark-is-unique-evaluate":ak,"landmark-unique-matches":bF,"layout-table-matches":vF,"link-in-text-block-evaluate":gT,"link-in-text-block-matches":hF,"link-in-text-block-style-evaluate":fT,"listitem-evaluate":zS,"matches-definition-evaluate":Qk,"meta-refresh-evaluate":CC,"meta-viewport-scale-evaluate":kS,"multiple-label-evaluate":uk,"nested-interactive-matches":pF,"no-autoplay-audio-evaluate":IS,"no-autoplay-audio-matches":dF,"no-empty-role-matches":uF,"no-explicit-name-required-matches":_1,"no-focusable-content-evaluate":Sk,"no-implicit-explicit-label-evaluate":TT,"no-naming-method-matches":sF,"no-negative-tabindex-matches":iF,"no-role-matches":aF,"non-empty-if-present-evaluate":HE,"not-html-matches":tF,"object-is-loaded-matches":Z5,"only-dlitems-evaluate":$S,"only-listitems-evaluate":jS,"p-as-heading-evaluate":_C,"p-as-heading-matches":K5,"page-no-duplicate-after":Jk,"page-no-duplicate-evaluate":Yk,"presentation-role-conflict-matches":X5,"presentational-role-evaluate":qE,"region-after":yC,"region-evaluate":mC,"same-caption-summary-evaluate":TE,"scope-value-evaluate":kE,"scrollable-region-focusable-matches":z5,"skip-link-evaluate":fC,"skip-link-matches":$5,"structured-dlitems-evaluate":HS,"summary-interactive-matches":H5,"svg-namespace-matches":eu,"svg-non-empty-title-evaluate":NE,"tabindex-evaluate":Ck,"table-or-grid-role-matches":B5,"target-offset-evaluate":ES,"target-size-evaluate":vS,"td-has-header-evaluate":CE,"td-headers-attr-evaluate":AE,"th-has-data-cells-evaluate":_E,"title-only-evaluate":sk,"unique-frame-title-after":cC,"unique-frame-title-evaluate":lC,"unsupportedrole-evaluate":ST,"valid-lang-evaluate":QS,"valid-scrollable-semantics-evaluate":ET,"widget-not-inline-matches":M5,"window-is-top-matches":L5,"xml-lang-mismatch-evaluate":JS,"xml-lang-mismatch-matches":R5},_o=bR;function yR(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var tu=yR;function ru(e){if(typeof e=="string"){if(_o[e])return _o[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function C1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ie(e)!=="object")&&(e={value:e}),e}function Oa(e){e&&(this.id=e.id,this.configure(e));}Oa.prototype.enabled=true,Oa.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new tu(this),u=ys(l,r,n,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=or.toSpec(t)),i(d);return}u.isAsync||(l.result=c,n(l));}else n(null);},Oa.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new tu(this),u=ys(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){throw t&&t.actualNode&&(d.errorNode=or.toSpec(t)),d}return l.result=c,l},Oa.prototype.configure=function(t){var r=this;(!t.evaluate||_o[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=C1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=ru(t[a])});},Oa.prototype.getOptions=function(t){return this._internalCheck?Is(this.options,C1(t||{})):t||this.options};var S1=Oa;function wR(e){this.id=e.id,this.result=je.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Ao=wR;function $t(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Qe(je.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=ru(e.matches));}$t.prototype.matches=function(){return true},$t.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&rt.mark(a);var s=Ml(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&rt.mark(i),s=s.filter(function(l){return pt(l)}),r.performanceTimer&&(rt.mark(o),rt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(rt.mark(n),rt.measure("rule_"+this.id+"#gather",a,n)),s},$t.prototype.runChecks=function(t,r,a,n,i,o){var s=this,l=xr();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],d=io(c,s.id,a);l.defer(function(g,D){c.run(r,d,n,g,function(S){D(new fo({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new ir(r),error:S}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},$t.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=io(l,i.id,a);o.push(l.runSync(r,u,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},$t.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=xr(),s=new Ao(this),l;try{l=this.gatherAndMatchNodes(t,a);}catch(u){i(u);return}a.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,d){var g=xr();["any","all","none"].forEach(function(D){g.defer(function(S,F){r.runChecks(D,u,a,t,S,F);});}),g.then(function(D){var S=k1(D);S&&(S.node=new ir(u),s.nodes.push(S),r.reviewOnFail&&(["any","all"].forEach(function(F){S[F].forEach(function(L){L.result===false&&(L.result=void 0);});}),S.none.forEach(function(F){F.result===true&&(F.result=void 0);}))),c();}).catch(function(D){return d(D)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(u){a.performanceTimer&&r._logRulePerformance(),i(u);});},$t.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new Ao(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,a,t));});var l=k1(s);l&&(l.node=o.actualNode?new ir(o):null,n.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),a.performanceTimer&&this._logRulePerformance(),n},$t.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;},$t.prototype._logGatherPerformance=function(t){ca("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(rt.timeElapsed(),"ms")),rt.mark(this._markChecksStart);},$t.prototype._logRulePerformance=function(){rt.mark(this._markChecksEnd),rt.mark(this._markEnd),rt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),rt.measure("rule_"+this.id,this._markStart,this._markEnd);};function k1(e){if(e.length){var t=false,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=true);}),t?r:null}}$t.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&rt.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(l){throw new fo({ruleId:a.id,method:"#matches",errorNode:new ir(s),error:l})}}),r.performanceTimer&&(rt.mark(i),rt.measure("rule_"+this.id+"#matches",n,i)),o};function xR(e){return Pi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function DR(e,t){var r=[];return e.forEach(function(a){var n=Pi(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function _R(e){return e.filter(function(t){return t.filtered!==true})}function AR(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=_R(a[i]),n+=a[i].length;}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i]);}),a})]),r}$t.prototype.after=function(t,r){var a=this,n=xR(this);return n.forEach(function(i){var o=DR(t.nodes,i.id),s=io(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new fo({ruleId:a.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}a.reviewOnFail&&l.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===false,g=a.none.includes(c.id)&&c.result===true;(d||g)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=AR(t),t},$t.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=ru(t.matches)),t.impact&&(Qe(je.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Na=/\{\{.+?\}\}/g,ER=(function(){function e(t){gt(this,e),this.lang="en",this.defaultConfig=t,this.standards=et,this._init(),this._defaultLocale=null;}return tt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var d=Object.keys(this.data.rules),g=0;g<d.length;g++){var D=d[g],S=this.data.rules[D],F=S.description,L=S.help;r.rules[D]={description:F,help:L};}for(var M=Object.keys(this.data.failureSummaries),O=0;O<M.length;O++){var H=M[O],V=this.data.failureSummaries[H],$=V.failureMessage;r.failureSummaries[H]={failureMessage:$};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=SR(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=kR(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=TR(this.data.failureSummaries[i],r[i]);}}},{key:"applyLocale",value:function(r){this._setDefaultLocale(),r.checks&&this._applyCheckLocale(r.checks),r.rules&&this._applyRuleLocale(r.rules),r.failureSummaries&&this._applyFailureSummaries(r.failureSummaries,"failureSummaries"),r.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=FR(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=F1();this.allowedOrigins=[];var n=We(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===je.allOrigins){this.allowedOrigins=["*"];return}else o!==je.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=CR(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,R1(r.rules,this,"addRule"),R1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var a=this.getRule(r.id);a?a.configure(r):this.rules.push(new $t(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;ie(a)==="object"&&(this.data.checks[r.id]=a,ie(a.messages)==="object"&&Object.keys(a.messages).filter(function(n){return a.messages.hasOwnProperty(n)&&typeof a.messages[n]=="string"}).forEach(function(n){a.messages[n].indexOf("function")===0&&(a.messages[n]=new Function("return "+a.messages[n]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new S1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),ir.setRunOptions(a),p._selectCache=[];var o=RR(this.rules,r,a),s=o.now,l=o.later,u=xr();s.forEach(function(g){u.defer(I1(g,r,a));});var c=xr();l.length&&c.defer(function(g){am(a).then(function(D){return g(D)}).catch(function(D){console.warn("Couldn't load preload assets: ",D),g(void 0);});});var d=xr();d.defer(u),d.defer(c),d.then(function(g){var D=g.pop();if(D&&D.length){var S=D[0];S&&(r=Ie({},r,S));}var F=g[0];if(!l.length){p._selectCache=void 0,n(F.filter(function(M){return !!M}));return}var L=xr();l.forEach(function(M){var O=I1(M,r,a);L.defer(O);}),L.then(function(M){p._selectCache=void 0,n(F.concat(M).filter(function(O){return !!O}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=mn(n,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,a)}catch(s){if(a.debug)throw s;return L1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(a){return a.id===r})}},{key:"normalizeOptions",value:function(r){var a=this,n=[],i=[];if(a.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(d){n.includes(d)||n.push(d);});}),["object","string"].includes(ie(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return n.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !n.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&p.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return ie(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var a={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(a);}},{key:"_constructHelpUrls",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=(p.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||a&&o.helpUrl===P1(a,i.id,n))&&(o.helpUrl=P1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),T1=ER;function F1(){if(f.origin&&f.origin!=="null")return f.origin;if(f.location&&f.location.origin&&f.location.origin!=="null")return f.location.origin}function CR(e){var t;if(e?(t=Lr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=F1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Ie({checks:{},rules:{}},t.data),t}function R1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var SR=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Na.test(a)&&(a=$r.default.compile(a)),typeof n=="string"&&Na.test(n)&&(n=$r.default.compile(n)),Ie({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:ie(t.messages.incomplete)==="object"?Ie({},t.messages.incomplete,r.incomplete):r.incomplete}})},kR=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Na.test(a)&&(a=$r.default.compile(a)),typeof n=="string"&&Na.test(n)&&(n=$r.default.compile(n)),Ie({},t,{help:a||t.help,description:n||t.description})},TR=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Na.test(a)&&(a=$r.default.compile(a)),Ie({},t,{failureMessage:a||t.failureMessage})},FR=function(t,r){return typeof r=="string"&&Na.test(r)&&(r=$r.default.compile(r)),r||t};function RR(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return lm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function I1(e,t,r){return r.performanceTimer&&rt.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(L1(e,i));});}}function L1(e,t){var r=t.errorNode,a=co(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new ir(m.documentElement);return Object.assign(new Ao(e),{error:a,result:je.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function P1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return je.helpUrlBase+a+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function M1(e){var t=f&&"Node"in f&&"NodeList"in f,r=!!m;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Ve.set("globalDocumentSet",true),m=e.ownerDocument),t||(Ve.set("globalWindowSet",true),f=m.defaultView);}}function IR(){Ve.get("globalDocumentSet")&&(Ve.set("globalDocumentSet",false),m=null),Ve.get("globalWindowSet")&&(Ve.set("globalWindowSet",false),f=null);}function LR(){IR(),p._memoizedFns.forEach(function(e){return e.clear()}),Ve.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var ra=LR;function O1(e,t,r,a){try{e=new oo(e),p._tree=e.flatTree,p._selectorData=Si(e.flatTree);}catch(o){return ra(),a(o)}var n=xr(),i=p._audit;t.performanceTimer&&rt.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Ud(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&rt.auditEnd();var s=Mi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&rt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(rt.mark("auditAfterEnd"),rt.measure("audit.after","auditAfterStart","auditAfterEnd"),rt.logMeasures("audit.after")),s.forEach(uo),s=s.map(Xa));try{r(s,ra);}catch(l){ra(),ca(l);}}catch(l){ra(),a(l);}}).catch(function(o){ra(),a(o);});}function PR(e){p._audit=new T1(e);}function MR(e,t,r){var a=r,n=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return O1(i,o,function(s,l){s=or.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return vm(a,n);default:if(p._audit&&p._audit.commands&&p._audit.commands[e.command])return p._audit.commands[e.command](e,r)}}f.top!==f&&(hr.subscribe("axe.start",MR),hr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Nn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}Nn.prototype.run=function(){return this._run.apply(this,arguments)},Nn.prototype.collect=function(){return this._collect.apply(this,arguments)},Nn.prototype.cleanup=function(t){var r=p.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Nn.prototype.add=function(t){this._registry[t.id]=t;};function OR(e){p.plugins[e.id]=new Nn(e);}var NR=OR;function qR(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),aD();}var BR=qR;function HR(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||p._audit.reporter||"v1",p._selectorData={},t instanceof Ft||(t=new gm(t));var a=$p(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:false}});var n={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=a.runSync(n,r);uo(i),Xa(i);var o=nc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=_l(l);})}),Ie({},ea(),o,{toolOptions:r})}function N1(e){var t,r,a,n=ue(e,3),i=n[0],o=n[1],s=n[2],l=new TypeError("axe.run arguments are invalid");if(!Up(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(ie(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Lr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=p._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var au=function(){};function VR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];M1(t[0]);var a=N1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?au:o,l=jR(s),u=l.thenable,c=l.resolve,d=l.reject;try{Qe(p._audit,"No audit configured"),Qe(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(S){return zR(S,s)}p._running=true,i.performanceTimer&&rt.start();function g(S,F){var L=function(H){i.performanceTimer&&(rt.mark("reporterEnd"),rt.measure("reporter","reporterStart","reporterEnd"),rt.logMeasures("reporter"),rt.end()),p._running=false,F();try{c(H);}catch(V){p.log(V);}},M=function(H){p._running=false,F();try{d(H);}catch(V){p.log(V);}};try{i.performanceTimer&&rt.mark("reporterStart"),$R(S,i,L,M);}catch(O){M(O);}}function D(S){i.performanceTimer&&rt.end(),p._running=false,s(S),d(S);}return p._runRules(n,i,g,D),u}function jR(e){var t,r,a;return typeof Promise=="function"&&e===au?t=new Promise(function(n,i){r=i,a=n;}):(a=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:a}}function $R(e,t,r,a){var n=ql(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function zR(e,t){if(typeof t=="function"&&t!==au){t(e.message);return}throw e}function GR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=N1(t),n=a.options,i=a.context;Qe(p._audit,"Axe is not configured. Audit is missing."),Qe(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new oo(i,p._tree);return p._tree=o.flatTree,p._selectorData=Si(o.flatTree),p._running=true,n.elementRef=false,new Promise(function(s,l){p._audit.run(o,n,s,l);}).then(function(s){s=or.mapRawResults(s);var l=o.frames.map(function(c){var d=c.node;return or.toSpec(d)}),u;return o.initiator&&(u=ea()),p._running=false,ra(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,ra(),Promise.reject(s)})}function WR(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Lr(n);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;p._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=p._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",UR(e);var s=Mi(e);return s=p._audit.after(s,n),s.forEach(uo),s=s.map(Xa),YR(s,Ie({environmentData:o},n))}function UR(e){var t=[],r=We(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=XR(n);t.unshift.apply(t,Se(o));}}}catch(s){r.e(s);}finally{r.f();}}function XR(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return or.mergeSpecs(a,r)}):t}function YR(e,t){return new Promise(function(r,a){var n=ql(t.reporter);n(e,t,r,a);})}function KR(e){if(p._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ie(e.documentElement)==="object"&&ie(e.defaultView)==="object"&&(e=e.documentElement),M1(e),p._tree=xl(e),p._selectorData=Si(p._tree),p._tree[0]}var JR=KR,ZR=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=ye(n,G);a(Ie({},ea(i),{toolOptions:o},Tn(t,r)));},QR=ZR,e3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=ye(n,U);r.resultTypes=["violations"];var s=Tn(t,r),l=s.violations;a(Ie({},ea(i),{toolOptions:o,violations:l}));},t3=e3,r3=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=Ie({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=or.mapRawNodeResults(o[c]);}return o});a(n);},q1=r3,a3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=ye(n,N);q1(t,o,function(s){var l=ea(i);a({raw:s,env:l});});},n3=a3,i3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=ye(n,j),s=Tn(t,r),l=function(c){c.nodes.forEach(function(d){d.failureSummary=_l(d);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Ie({},ea(i),{toolOptions:o},s));},o3=i3,s3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=ye(n,K),s=Tn(t,r);a(Ie({},ea(i),{toolOptions:o},s));},l3=s3,u3={base:{Audit:T1,CheckResult:tu,Check:S1,Context:oo,RuleResult:Ao,Rule:$t,metadataFunctionMap:_o},public:{reporters:Rn},helpers:{failureSummary:_l,incompleteFallbackMessage:Al,processAggregate:Tn},utils:{setDefaultFrameMessenger:Vd,cacheNodeSelectors:Mp,getNodesMatchingExpression:Lp,convertSelector:Ti},commons:{dom:{nativelyHidden:Jd,displayHidden:Zd,visibilityHidden:Qd,contentVisibiltyHidden:ef,ariaHidden:tf,opacityHidden:rf,scrollHidden:af,overflowHidden:nf,clipHidden:of,areaHidden:Os,detailsHidden:sf}}},c3=u3;p._thisWillBeDeletedDoNotUse=c3,p.constants=je,p.log=ca,p.AbstractVirtualNode=Ft,p.SerialVirtualNode=gm,p.VirtualNode=bl,p._cache=Ve,p.imports=lc,p.cleanup=vm,p.configure=q2,p.frameMessenger=B2,p.getRules=V2,p._load=PR,p.plugins={},p.registerPlugin=NR,p.hasReporter=ym,p.getReporter=ql,p.addReporter=O2,p.reset=BR,p._runRules=O1,p.runVirtualRule=HR,p.run=VR,p.setup=JR,p.teardown=ra,p.runPartial=GR,p.finishRun=WR,p.commons=Vm,p.utils=Go,p.addReporter("na",QR),p.addReporter("no-passes",t3),p.addReporter("rawEnv",n3),p.addReporter("raw",q1),p.addReporter("v1",o3),p.addReporter("v2",l3,true);}))(),p._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(Q){var de="Fix any of the following:",De=Q;if(De)for(var ot,wt=-1,Pt=De.length-1;wt<Pt;)ot=De[wt+=1],de+=`
|
|
371
|
-
`+
|
|
368
|
+
`)}var Tl=qA;function Rl(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Xp=je.resultGroups;function La(e,t){var r=m.utils.aggregateResult(e);return Xp.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(oe(i.node)==="object"){var o=Yp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,BA(i,t),i})),Xp.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function BA(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 Yp(a,t)});});});}function Yp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=lr.dqElmToSpec(e,t);var r={};if(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 HA=/\$\{\s?data\s?\}/g;function uo(e,t){if(typeof t=="string")return e.replace(HA,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 Kp(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 uo(r,t)}return uo(e,t)}if(typeof e=="string")return uo(e,t);if(typeof t=="string"){var n=e[t];return uo(n,t)}var a=e.default||Rl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),Kp(a,t)}}var Fl=Kp;function VA(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 Fl(n.messages[t],r)}var jA=VA;function $A(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 co=$A;function tn(){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&&oe(t)==="object"?t:oe(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:zA(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function zA(e){if(!e.navigator||oe(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=GA(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function GA(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Jp(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&UA(e),size:WA(e),page:n}}function UA(e){var t=kr(e.getAttribute("tabindex"));return t===null||t>=0}function WA(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 XA(e){if(Ll(e)){var t=" must be used inside include or exclude. It should not be on the same object.";rn(!Sr(e,"fromFrames"),"fromFrames"+t),rn(!Sr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(po(e))e={include:e,exclude:[]};else return {include:[h],exclude:[]};var r=Zp(e.include);r.length===0&&r.push(h);var n=Zp(e.exclude);return {include:r,exclude:n}}function Zp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Il(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=YA(e[r]);n&&t.push(n);}return t}function YA(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(Pl(e)?(JA(e),e=e.fromFrames):mo(e)&&(e=[e]),KA(e))}function KA(e){if(Array.isArray(e)){var t=[],r=Ke(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(mo(a)&&(ZA(a),a=a.fromShadowDom),typeof a!="string"&&!QA(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function JA(e){rn(Array.isArray(e.fromFrames),"fromFrames property must be an array"),rn(e.fromFrames.every(function(t){return !Sr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),rn(!Sr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function ZA(e){rn(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),rn(e.fromShadowDom.every(function(t){return !Sr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),rn(e.fromShadowDom.every(function(t){return !Sr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function QA(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function rn(e,t){Qe(e,"Invalid context; ".concat(t,`
|
|
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
|
+
`+it.split(`
|
|
372
372
|
`).join(`
|
|
373
|
-
`);return de}},none:{failureMessage:function(
|
|
374
|
-
`+
|
|
373
|
+
`);return de}},none:{failureMessage:function(te){var de="Fix all of the following:",_e=te;if(_e)for(var it,Dt=-1,Ot=_e.length-1;Dt<Ot;)it=_e[Dt+=1],de+=`
|
|
374
|
+
`+it.split(`
|
|
375
375
|
`).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:eg);});function cg(h,f){return f==="AAA"&&!h.includes("wcag2aaa")?[...h,"wcag2aaa"]:h}function Vn(h){return JI[h]??"AA"}function ZI(h){let f=String(h.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(f.length===0)return h.level??"AA";let y="AAA";for(let m of f)Hn[Vn(m)]<Hn[y]&&(y=Vn(m));return y}function dg(h,f="AA"){let y=Hn[f]??Hn.AA;return h.filter(m=>Hn[ZI(m)]<=y)}function fg(h){let f=QI.has(h.issueType)?"minor":h.needsAI?"serious":"moderate",y=h.attribute==="style",m=h.attribute.startsWith("data-"),p=y&&h.fixValue?eL(h.fixValue):h.fixValue;return {id:`wa-${h.issueType}-${$n(h.selector)}`,source:"webability",type:h.issueType,wcag:h.wcag,level:Vn(h.wcag),impact:f,message:tL(h,p,m),selector:h.selector,html:h.outerHtml,...h.needsReview?{confidence:"needs_review"}:{},...h.reviewReason?{reviewReason:h.reviewReason}:{},fix:{attribute:h.attribute,currentValue:h.currentValue,suggestedValue:p,needsManualReview:h.needsAI||y||m||!!h.needsReview||!!h.manualFix}}}function eL(h){let f=h.trim();if(!f)return "";let y=f.endsWith(";"),p=f.split(";").map(_=>{let b=_.toLowerCase().lastIndexOf("!important");return b===-1?_.trim():_.slice(0,b).trim()}).filter(_=>_.length>0);return p.length===0?"":p.join(";")+(y?";":"")}function tL(h,f,y){if(h.message)return h.message;let m=h.issueType.replace(/_/g," "),p=f??h.fixValue;return y?p?`${m}: ${p}`:h.currentValue?`${m}: ${h.currentValue}`:`${m}: flagged for manual review`:p?`${m}: set ${h.attribute}="${p}"`:h.currentValue?`${m}: ${h.attribute} is "${h.currentValue}"`:`${m}: missing ${h.attribute}`}function jn(h){return Array.isArray(h)?h.flat(1/0).filter(y=>typeof y=="string").join(" >>> "):typeof h=="string"?h:""}function $n(h){let f=0;for(let y=0;y<h.length;y++)f=(f<<5)-f+h.charCodeAt(y)|0;return Math.abs(f).toString(36)}function fu(h){return h==="critical"||h==="serious"||h==="moderate"||h==="minor"?h:"moderate"}function pu(h,f=[]){return {total:h.length,critical:h.filter(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}}function mu(h){let f=h.find(m=>/^wcag\d{3,4}$/.test(m));if(!f)return "";let y=f.replace("wcag","");return y.length===3?`${y[0]}.${y[1]}.${y[2]}`:y.length===4?`${y[0]}.${y[1]}.${y.slice(2)}`:""}function hu(h){return h.includes("wcag2aaa")?"AAA":h.includes("wcag2aa")||h.includes("wcag21aa")||h.includes("wcag22aa")?"AA":"A"}var du,JI,Hn,QI,gu=Tr(()=>{du=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];JI={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.1":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};Hn={A:1,AA:2,AAA:3};QI=new Set(["new_window_link","external_link_warning","download_link_warning"]);});var pg={};Br(pg,{dismissModals:()=>aL});async function aL(h){await h.evaluate(f=>{for(let y of f){let m=document.querySelectorAll(y);for(let p of m)if(p.offsetParent!==null){p.click();return}}},rL),await new Promise(f=>setTimeout(f,500));}var rL,mg=Tr(()=>{rL=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var ko={};Br(ko,{pruneHiddenIframeIssues:()=>sL,pruneInvisibleContrast:()=>oL,waitForRenderSettle:()=>nL});async function nL(h,f=4e3){let y=Date.now()+f;try{await h.waitForLoadState?.("load",{timeout:Math.min(f/2,2e3)});}catch{}let m="";for(;Date.now()<y;){let p;try{p=await h.evaluate(()=>{let _=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let A of _){if(A.playState!=="running")continue;let E;try{E=A.effect?.getComputedTiming?.().iterations;}catch{E=void 0;}E!==1/0&&v++;}let b="",w=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],R=Math.min(w.length,50);for(let A=0;A<R;A++)b+=getComputedStyle(w[A]).opacity+",";return v+"|"+b});}catch{return}if(p.indexOf("0|")===0&&p===m)return;m=p,await new Promise(_=>setTimeout(_,150));}}function hg(h){return iL.has(h.wcag)||/contrast/i.test(h.type||"")}async function oL(h,f){let y=Array.from(new Set(f.filter(v=>hg(v)&&v.selector).map(v=>v.selector))).slice(0,100);if(y.length===0)return f;let m;try{m=await h.evaluate(v=>{let b=[],w={},R=Math.max(document.documentElement.scrollWidth,window.innerWidth),A=Math.max(document.documentElement.scrollHeight,window.innerHeight),E=T=>{let x=T.match(/rgba?\(([^)]+)\)/);if(!x)return !1;let C=x[1].split(/[ ,/]+/).filter(Boolean);return C.length<4||parseFloat(C[3])>=.95};for(let T of v){let x=null;try{x=document.querySelector(T);}catch{continue}if(!x)continue;let C=getComputedStyle(x),k=x.getBoundingClientRect(),I=C.clipPath&&C.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(C.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(C.clip||""),P=k.width<=1||k.height<=1,q=window.scrollX,z=window.scrollY,G=k.right+q<=0||k.bottom+z<=0||k.left+q>=R||k.top+z>=A,U=!1;if(G)for(let ne=x.parentElement;ne&&ne!==document.body&&ne!==document.documentElement;ne=ne.parentElement){let ge=getComputedStyle(ne);if(ge.overflowX!=="visible"||ge.overflowY!=="visible"||ge.transform&&ge.transform!=="none"){U=!0;break}}if(G&&U){w[T]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(I||P||G){b.push(T);continue}let N=x,j=!1;for(;N&&N!==document.documentElement;){if(parseFloat(getComputedStyle(N).opacity)===0){j=!0;break}N=N.parentElement;}if(j){w[T]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let K=k.left+k.width/2,Z=k.top+k.height/2,re=x,ae=!1;for(let ne=0;re&&re!==document.body&&ne<8;ne++){let ge=getComputedStyle(re);if(E(ge.backgroundColor)||ge.backgroundImage&&ge.backgroundImage!=="none")break;let ye=re.querySelectorAll("video, canvas, img, picture");for(let Re=0;Re<ye.length;Re++){let me=ye[Re];if(me.contains(x)||x.contains(me))continue;let Ee=me.getBoundingClientRect();if(Ee.width>0&&Ee.height>0&&K>=Ee.left&&K<=Ee.right&&Z>=Ee.top&&Z<=Ee.bottom){ae=!0;break}}if(ae)break;re=re.parentElement;}ae&&(w[T]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:b,review:w}},y);}catch{return f}let p=new Set(m.hidden),_=[];for(let v of f){if(!hg(v)){_.push(v);continue}if(p.has(v.selector))continue;let b=m.review[v.selector];_.push(b&&v.confidence!=="needs_review"?{...v,confidence:"needs_review",reviewReason:b,...v.fix?{fix:{...v.fix,needsManualReview:true}}:{}}:v);}return _}async function sL(h,f){let y=Array.from(new Set(f.filter(_=>_.selector).map(_=>_.selector))).slice(0,200);if(y.length===0)return f;let m;try{m=await h.evaluate(_=>{let v=[];for(let b of _){let w=null;try{w=document.querySelector(b);}catch{continue}if(!w||w.tagName!=="IFRAME")continue;let R=getComputedStyle(w),A=w.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse",E=(w.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(A||E)&&v.push(b);}return v},y);}catch{return f}if(m.length===0)return f;let p=new Set(m);return f.filter(_=>!p.has(_.selector))}var iL,To=Tr(()=>{iL=new Set(["1.4.3","1.4.6","1.4.11"]);});var yg={};Br(yg,{htmlcsTypeFromCode:()=>vg,runHtmlcs:()=>uL});async function uL(h,f="WCAG2AA"){try{await h.addScriptTag({content:`
|
|
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
377
|
window.__htmlcsLoaded = false;
|
|
378
378
|
window.__htmlcsResults = [];
|
|
379
|
-
`});try{let{UNIQUE_SELECTOR_JS:
|
|
380
|
-
`+p});}catch{}let y=h;return y.addScriptTag&&await y.addScriptTag({url:lL}).catch(()=>{}),await new Promise(p=>setTimeout(p,1e3)),(await h.evaluate(p=>new Promise(_=>{let v=window;if(!v.HTMLCS){_([]);return}v.HTMLCS.process(p,document,()=>{let b=v.HTMLCS.getMessages(),w=A=>{let E=A.element;if(!E||!E.getAttribute)return !1;let T=String(A.code||"");if(/NoSuchID/.test(T)){let x=E.getAttribute("href")||"";return /^#[\/!]/.test(x)}if(/\.H30\.2$/.test(T)){let x=E.closest&&E.closest("a")||E;return (x.getAttribute("aria-label")||"").trim()?!0:(x.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).some(k=>((document.getElementById(k)||{}).textContent||"").trim().length>0)}return !1},R=b.filter(A=>A.type===1).filter(A=>!w(A)).slice(0,50).map(A=>{let E="";try{if(A.element&&A.element.tagName){let T=A.element,x=window.uniqueSel;typeof x=="function"?E=x(T):E=T.className&&typeof T.className=="string"&&T.className.trim()?`${T.tagName.toLowerCase()}.${T.className.trim().split(/\s+/)[0]}`:T.tagName.toLowerCase();}}catch{}return {type:A.type,code:A.code||"",msg:A.msg||"",element:A.element?.outerHTML?.slice(0,150)||"",selector:E}});_(R);});}),f)).map((p,_)=>{let v=bg(p.code);return {id:`htmlcs-${_}-${cL(p.selector)}`,source:"webability",type:vg(p.code),wcag:v,level:Vn(v),impact:"moderate",message:p.msg.slice(0,200),selector:p.selector,html:p.element}})}catch{return []}}function vg(h){let f=bg(h);if(f&&gg[f])return gg[f];let y=h.split("."),m=y.findIndex(v=>/^\d+_\d+_\d+$/.test(v));return (m>=0?y.slice(m+1):y).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function bg(h){let f=h.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(f)return `${f[3]}.${f[4]}.${f[5]}`;let y=h.match(/(\d+)_(\d+)_(\d+)/);return y?`${y[1]}.${y[2]}.${y[3]}`:""}function cL(h){let f=0;for(let y=0;y<h.length;y++)f=(f<<5)-f+h.charCodeAt(y)|0;return Math.abs(f).toString(36)}var lL,gg,wg=Tr(()=>{gu();lL="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";gg={"1.4.3":"contrast_insufficient"};});var Fo={};Br(Fo,{dedupeByElementIdentity:()=>pL,deduplicateIssues:()=>dL});function dL(h){let f=new Map,y=[...h].sort((m,p)=>{let _={webability:0,"axe-core":1,"deep-analysis":2},v=_[m.source]??3,b=_[p.source]??3;return v-b});for(let m of y){let p=fL(m);f.has(p)?!f.get(p).fix?.suggestedValue&&m.fix?.suggestedValue&&f.set(p,m):f.set(p,m);}return Array.from(f.values())}function fL(h){let f=h.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),y=h.wcag||"";return f&&y?`${f}::${y}`:`${h.type}::${f||h.id}`}async function pL(h,f){if(f.length<2)return f;let y=Array.from(new Set(f.map(R=>R.selector).filter(Boolean))),m;try{m=await h.evaluate(R=>{let A=Array.from(document.querySelectorAll("*")),E=new Map;A.forEach((x,C)=>E.set(x,C));let T={};for(let x of R){let C=null;try{C=document.querySelector(x);}catch{}if(!C){let k=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(k!==x)try{C=document.querySelector(k);}catch{}}C&&(T[x]=E.get(C));}return T},y);}catch{return f}let p={webability:0,"axe-core":1,"deep-analysis":2},_=[...f].sort((R,A)=>(p[R.source]??3)-(p[A.source]??3)),v=new Map,b=[];for(let R of _){let A=m[R.selector];if(A===void 0){b.push(R);continue}let E=`${A}::${R.wcag||R.type}`,T=v.get(E);T?!T.fix?.suggestedValue&&R.fix?.suggestedValue&&v.set(E,R):v.set(E,R);}let w=new Set([...v.values(),...b]);return f.filter(R=>w.has(R))}var Ro=Tr(()=>{});var vu={};Br(vu,{scopeIssuesToRoot:()=>mL});async function mL(h,f,y){let m=Array.from(new Set(f.map(_=>_.selector).filter(Boolean))),p;try{p=await h.evaluate(({rootSel:_,sels:v})=>{let b=A=>{try{let T=document.querySelector(A);if(T)return T}catch{}let E=A.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(E!==A)try{return document.querySelector(E)}catch{return null}return null},w=null;try{w=document.querySelector(_);}catch{return {invalid:!0,matched:!1,within:{}}}if(!w)return {invalid:!1,matched:!1,within:{}};let R={};for(let A of v){let E=b(A);R[A]=E?E===w||w.contains(E):!0;}return {invalid:!1,matched:!0,within:R}},{rootSel:y,sels:m});}catch{return {issues:f,warning:`scope:evaluate-failed (${y}) \u2014 results unfiltered`}}return p.invalid?{issues:f,warning:`scope:invalid-selector (${y}) \u2014 results unfiltered`}:p.matched?{issues:f.filter(_=>_.selector?p.within[_.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${y} matched nothing \u2014 empty result)`}}var bu=Tr(()=>{});var Co={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var y3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],m=new Set;function p(b){let w=(b.textContent||"").trim().replace(/\s+/g,""),R=b.querySelector("img, svg, picture")!==null,A=b.querySelector("i[class], span[class]")!==null;if(w.length>0&&!R&&!A)return false;if(R){let E=b.querySelectorAll("img"),T="";E.forEach(k=>{T+=(k.getAttribute("alt")||"").trim();});let x=w.replace(/\s+/g,""),C=T.replace(/\s+/g,"");return x===""||x===C}return false}function _(b){let w=b.nextElementSibling;for(;w;){if(isVisible(w))return w;w=w.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(b=>{if(y.length>=50||b.closest(h)||!isVisible(b)||m.has(b))return;let w=b.getAttribute("href");if(!w||w==="#")return;let R=_(b);if(!R||R.tagName!=="A"||R.getAttribute("href")!==w||m.has(R)||b.getAttribute("aria-hidden")==="true"||R.getAttribute("aria-hidden")==="true")return;let E=p(b),T=p(R);if(!E&&!T)return;let x=E?b:R,C=E?R:b;m.add(x),m.add(C);let k=uniqueSel(x),I=x.outerHTML.slice(0,300),P=(C.textContent||"").trim().slice(0,80);y.push({selector:k,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:w,imageLink:true,adjacentLinkText:P,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:I}),y.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:w}),needsAI:false,fixValue:"-1",outerHtml:I});}),y},B1={name:"adjacentLinks",cap:50,async detect(h){return h.evaluate(y3)}};var w3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",f='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',y=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,_=[],v=new Set;function b(A){let E=A,T=0;for(;E&&E.nodeType===1&&E!==document.body&&T<20;){try{let x=getComputedStyle(E);if(x.display==="none"||x.visibility==="hidden"||x.visibility==="collapse")return !0}catch{}E=E.parentElement,T++;}return false}function w(A){let E=A.tagName,T=A.getAttribute("tabindex");if(T!==null){let x=parseInt(T,10);if(!isNaN(x)&&x>=0)return true;if(!isNaN(x)&&x<0)return false}return m.has(E)?!(E==="A"&&!A.hasAttribute("href")||A.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(A=>{if(_.length>=p||A.closest(h)||A.closest(f)||A.closest(y)||A.matches(y))return;let E=[];if(w(A)&&E.push(A),A.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(x=>{w(x)&&E.push(x);}),E.length!==0)for(let x of E){if(_.length>=p)return;let C=uniqueSel(x),k=C+"\0tabindex";if(v.has(k))continue;v.add(k);let I=b(x);_.push({selector:C,attribute:"tabindex",currentValue:x.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),parentHidden:A.tagName.toLowerCase(),collapsed:I,suggestion:I?"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",...I?{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:(x.outerHTML||"").slice(0,300)});}}),_},H1={name:"ariaHiddenFocusable",cap:50,async detect(h){return h.evaluate(w3)}};var x3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=new Set,p=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function _(v){if(!(v.textContent||"").trim())return true;let w=getComputedStyle(v);return !!(w.display==="none"||w.visibility==="hidden"||w.opacity==="0"||w.maxHeight==="0px"||w.height==="0px"||v.hasAttribute("data-bind")||v.hasAttribute("v-if")||v.hasAttribute("v-show")||v.hasAttribute("ng-if")||v.hasAttribute("ng-show")||v.hasAttribute(":class")||v.hasAttribute("x-show")||v.hasAttribute("x-if")||v.hasAttribute("aria-atomic"))}for(let v of p){if(y.length>=50)break;let b=document.querySelectorAll("*");for(let w of b){if(y.length>=50)break;if(m.has(w)||w.closest(h))continue;let R=w.className&&typeof w.className=="string"?w.className:"",A=w.getAttribute("id")||"";if(!v.regex.test(R)&&!v.regex.test(A)||w.getAttribute("aria-live"))continue;let E=w.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(E)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(R+" "+A)&&!_(w))continue;m.add(w);let x=uniqueSel(w),C=v.regex.test(R)?"class":"id",k=C==="class"?R.slice(0,60):A;y.push({selector:x,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:C+": "+k+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return y},V1={name:"ariaLive",cap:50,async detect(h){return h.evaluate(x3)}};var D3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",y=[],m=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(b=>{if(!(y.length>=50)&&!b.closest(h)&&isVisible(b)&&!isHiddenFromAT(b)&&!b.getAttribute("aria-live")&&!b.closest("[aria-live]")&&!b.closest("template"))for(let w of p){let R=b.getAttribute(w);if(!R||!R.trim())continue;let A=R.trim().split(/\s+/).filter(z=>z.length>0);if(A.length===0||!A.every(z=>!document.getElementById(z)))continue;let T=b.getAttribute("aria-label");if(T&&T.trim())continue;let x=getAccessibleName(b);if(x&&x.trim())continue;let C=uniqueSel(b),k=C+"\0"+w;if(m.has(k))continue;m.add(k);let{nearbyHeading:I,parentTag:P,parentRole:q}=getNearbyContext(b);y.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:b.tagName.toLowerCase(),brokenAttr:w,brokenIds:A,nearbyHeading:I,parentTag:P,parentRole:q,suggestion:`All IDs in ${w}="${R}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}}),y},j1={name:"brokenAriaReferences",cap:50,async detect(h){return h.evaluate(D3)}};var _3=()=>{let f=[],y=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],m=document.querySelectorAll("button");for(let p of m){if(f.length>=50)break;let _=p;if(isWidget(_)||_.hasAttribute("type")||!_.closest("form"))continue;let v=(_.textContent||"").trim().slice(0,60),b=(_.getAttribute("aria-label")||"").trim().slice(0,60),w=v||b||"(no label)",R=w.toLowerCase();y.some(E=>R.includes(E))||f.push({selector:uniqueSel(_),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+w,needsAI:false,fixValue:"button",outerHtml:(_.outerHTML||"").slice(0,300)});}return f},$1={name:"buttonType",cap:50,async detect(h){return h.evaluate(_3)}};var A3=()=>{let f=[],y=document.querySelectorAll("video, audio");for(let m of Array.from(y)){if(f.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let p=m.tagName==="VIDEO";if(p){let k=m.hasAttribute("muted")||m.muted,I=m.hasAttribute("controls"),P=m.hasAttribute("loop")||m.loop,q=/mute|unmute|sound|volume|audio|play|pause/i,z=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let G=m.parentElement?.parentElement||null,U=0;G&&!z&&U<3;G=G.parentElement,U++)z=Array.from(G.querySelectorAll('button, [role="button"]')).some(N=>q.test((N.getAttribute("aria-label")||"")+" "+(N.getAttribute("title")||"")+" "+(N.textContent||"")));if(k&&P&&!I&&!z)continue}let _=m.querySelectorAll("track"),v=false;for(let k of Array.from(_)){let I=(k.getAttribute("kind")||"").toLowerCase();if(I==="captions"||I==="subtitles"){v=true;break}}if(v)continue;let b=m.currentSrc||m.getAttribute("src")||"";if(b||(b=m.querySelector("source")?.getAttribute("src")||""),!b)continue;let w=b.toLowerCase();if(w.startsWith("blob:")||w.startsWith("data:")||w.startsWith("about:")||w.startsWith("javascript:")||w.endsWith(".m3u8")||w.includes(".m3u8?")||w.endsWith(".mpd")||w.includes(".mpd?"))continue;let R=b;try{R=new URL(b,location.href).toString();}catch{continue}let A=typeof uniqueSel=="function"?uniqueSel(m):"",E=m.getAttribute("title")||m.getAttribute("aria-label")||"",T=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},x=[];x.push("media: "+m.tagName.toLowerCase()),x.push("src: "+R.slice(0,200)),E&&x.push("title: "+E.slice(0,80)),T.nearbyHeading&&x.push("heading: "+T.nearbyHeading),x.push("parent: "+T.parentTag);let C=p;f.push({selector:A,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:x.join(" | "),needsAI:true,...C?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:R,outerHtml:(m.outerHTML||"").slice(0,300)});}return f},z1={name:"captions",cap:20,async detect(h){return h.evaluate(A3)}};var E3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]");for(let _ of Array.from(p)){if(y.length>=40)break;if(_.closest(h)||_.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(_))continue;let v=_.closest(m);if(!v)continue;let b=(v.textContent||"").trim(),w=(_.textContent||"").trim();if(!w||b.length<w.length+20||_.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let R=getComputedStyle(_),A=getComputedStyle(v);if((R.textDecorationLine||R.textDecoration||"").includes("underline")||(()=>{let z=document.createTreeWalker(_,NodeFilter.SHOW_TEXT),G,U=false;for(;G=z.nextNode();){if(!/[\p{L}\p{N}]/u.test(G.textContent||""))continue;U=true;let N=false;for(let j=G.parentElement;j&&j!==_;j=j.parentElement){let K=getComputedStyle(j),Z=(K.textDecorationColor||"").replace(/\s/g,"");if((K.textDecorationLine||"").includes("underline")&&Z!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(Z)){N=true;break}let re=(K.borderBottomColor||"").replace(/\s/g,""),ae=re==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(re);if((K.borderBottomStyle||"none")!=="none"&&parseFloat(K.borderBottomWidth||"0")>0&&!ae){N=true;break}}if(!N)return false}return U})())continue;let x=parseInt(R.fontWeight||"400",10),C=parseInt(A.fontWeight||"400",10);if(Number.isFinite(x)&&Number.isFinite(C)&&x-C>=300||(R.borderBottomStyle||"none")!=="none"&&(R.borderBottomWidth||"0px")!=="0px"||R.color===A.color)continue;let I=typeof uniqueSel=="function"?uniqueSel(_):"",P=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},q=[];q.push("link: "+w.slice(0,40)),q.push("color: "+R.color),q.push("parent-color: "+A.color),P.nearbyHeading&&q.push("heading: "+P.nearbyHeading),q.push("parent: "+P.parentTag),y.push({selector:I,attribute:"style",currentValue:R.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:q.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(_.outerHTML||"").slice(0,300)});}return y},G1={name:"colorOnly",cap:40,async detect(h){return h.evaluate(E3)}};var C3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],m=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(m).forEach(_=>{if(y.length>=30||_.closest(h)||typeof isVisible=="function"&&!isVisible(_)||_.getAttribute("aria-hidden")==="true"||_.disabled||_.getAttribute("type")==="hidden"||(_.getAttribute("aria-label")||"").trim())return;let v=_.getAttribute("aria-labelledby");if(v){let k=false;for(let I of v.split(/\s+/)){let P=document.getElementById(I);if(P&&(P.textContent||"").trim()){k=true;break}}if(k)return}let b=_.getAttribute("id");if(b){let k=document.querySelector('label[for="'+CSS.escape(b)+'"]');if(k&&(k.textContent||"").trim())return}let w=_.closest("label");if(w&&(w.textContent||"").trim()||(_.getAttribute("title")||"").trim())return;let R=typeof uniqueSel=="function"?uniqueSel(_):"",A=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},E=(_.getAttribute("placeholder")||"").trim(),T=_.getAttribute("name")||"",x=_.getAttribute("role")||_.tagName.toLowerCase(),C=[];C.push("role: "+x),E&&C.push("placeholder: "+E.slice(0,40)),T&&C.push("name: "+T),A.nearbyHeading&&C.push("heading: "+A.nearbyHeading),C.push("parent: "+A.parentTag),y.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:C.join(" | "),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}),y},W1={name:"comboboxName",cap:30,async detect(h){return h.evaluate(C3)}};var S3=()=>{let f=[],y=x=>typeof parseCssColor=="function"?parseCssColor(x):null,m=(x,C,k)=>typeof relLuminance=="function"?relLuminance(x,C,k):0,p=(x,C)=>typeof contrastRatio=="function"?contrastRatio(x,C):1;function _(x){let C=String(x.backgroundImage||"none");if(C==="none")return false;if(/gradient\(/i.test(C))return true;if(!/url\(/i.test(C))return false;let k=String(x.backgroundRepeat||"").toLowerCase(),I=String(x.backgroundSize||"").toLowerCase(),P=k.split(",").map(z=>z.trim()).some(z=>z!==""&&z!=="no-repeat"),q=/cover|contain|100%/.test(I);return P||q}function v(x){let C=x,k=0;for(;C&&C!==document.documentElement&&k<12;){let I=getComputedStyle(C);if(_(I))return null;let P=y(I.backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]];C=C.parentElement,k++;}return [255,255,255]}function b(x,C,k){return "#"+[x,C,k].map(I=>{let P=Math.max(0,Math.min(255,Math.round(I))).toString(16);return P.length===1?"0"+P:P}).join("")}function w(x,C,k){let P=m(C[0],C[1],C[2])>.5,q=0,z=1,G=null;for(let U=0;U<20;U++){let N=(q+z)/2,j=P?[x[0]*(1-N),x[1]*(1-N),x[2]*(1-N)]:[x[0]+(255-x[0])*N,x[1]+(255-x[1])*N,x[2]+(255-x[2])*N];p(j,C)>=k?(G=[Math.round(j[0]),Math.round(j[1]),Math.round(j[2])],z=N):q=N;}return G}let R=document.createTreeWalker(document.body,4),A=new Set,E=[],T=R.nextNode();for(;T;){if((T.textContent||"").trim().length>=2){let C=T.parentElement;C&&!A.has(C)&&(A.add(C),E.push(C));}T=R.nextNode();}for(let x of E){if(f.length>=30)break;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let C=getComputedStyle(x),k=y(C.color||"");if(!k)continue;if(k[3]<.5){let ge=C.webkitBackgroundClip||C.backgroundClip||"",ye=C.backgroundImage||"";if(String(ge).includes("text")&&/gradient\(/i.test(ye)){let Re=Array.from(x.childNodes).filter(me=>me.nodeType===3).map(me=>(me.textContent||"").trim()).join("");Re&&f.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(Re.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),P=parseFloat(C.fontSize||"16"),q=parseInt(C.fontWeight||"400",10),G=P>=24||P>=18.66&&q>=700?3:4.5,U=Array.from(x.childNodes).filter(ge=>ge.nodeType===3).map(ge=>(ge.textContent||"").trim()).join("");if(!U)continue;let N=b(k[0],k[1],k[2]),j=uniqueSel(x);if(I===null){f.push({selector:j,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 "+G+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+N+" bg=<gradient-or-image> needs="+G+" text="+JSON.stringify(U.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 K=p([k[0],k[1],k[2]],I);if(K>=G)continue;let Z=w([k[0],k[1],k[2]],I,G);if(!Z)continue;let re=b(Z[0],Z[1],Z[2]),ae=b(I[0],I[1],I[2]),ne="color:"+re+" !important;";f.push({selector:j,attribute:"style",currentValue:N,message:"contrast: "+N+" on "+ae+" is "+K.toFixed(2)+":1, needs "+G+":1 \u2014 e.g. color "+re,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+N+" bg="+ae+" ratio="+K.toFixed(2)+" needs="+G+" text="+JSON.stringify(U.slice(0,40)),needsAI:false,fixValue:ne,outerHtml:x.outerHTML.slice(0,200)});}return f},U1={name:"contrast",cap:30,async detect(h){return h.evaluate(S3)}};var k3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],m=document.querySelectorAll("marquee, blink");for(let w of Array.from(m)){if(y.length>=30)break;if(w.closest(h))continue;let R=typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase();y.push({selector:R,attribute:"aria-hidden",currentValue:w.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${w.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(w.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let w of Array.from(p)){if(y.length>=30)break;if(w.closest(h))continue;let R=w.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(R)||typeof isVisible=="function"&&!isVisible(w))continue;let A=w.getBoundingClientRect();if(A.width<=40&&A.height<=40)continue;let E=typeof uniqueSel=="function"?uniqueSel(w):"img";y.push({selector:E,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${R.split("/").pop()?.slice(0,60)||R.slice(-60)}`,needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}let _=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let w of Array.from(_)){if(y.length>=30)break;let R=(w.getAttribute("content")||"").trim(),A=parseInt((R.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(A)||A<=0||y.push({selector:`meta[http-equiv="refresh"][content*="${R.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${A}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(w.outerHTML||"").slice(0,200)});}try{let w=!1,R=!1;for(let A of Array.from(document.styleSheets)){let E=null;try{E=A.cssRules;}catch{continue}if(E)for(let T of Array.from(E)){let x=T.cssText||"";if(/animation[^;]*\binfinite\b/i.test(x)&&/(keyframes|animation-name)/i.test(x+" "+(T.name||""))&&(w=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(x)&&(R=!0),T.cssRules)for(let C of Array.from(T.cssRules)){let k=C.cssText||"";/animation[^;]*\binfinite\b/i.test(k)&&(w=!0);}}}w&&!R&&y.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 w of Array.from(b)){if(y.length>=30)break;if(w.closest(h)||w.tagName==="BODY"||w.tagName==="HTML")continue;let R=w.className&&typeof w.className=="string"?w.className:"";if(!v.test(R)||typeof isVisible=="function"&&!isVisible(w))continue;let E=getComputedStyle(w).animationDuration,T=9999;if(E){let C=parseFloat(E);Number.isFinite(C)&&(T=/ms/i.test(E)?C:C*1e3);}if(T>333)continue;let x=typeof uniqueSel=="function"?uniqueSel(w):"";y.push({selector:x,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${T}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(w.outerHTML||"").slice(0,300)});}return y},X1={name:"cssAnimations",cap:30,async detect(h){return h.evaluate(k3)}};var T3=()=>{let f=[];function y(v){let b=(v.getAttribute("role")||"").toLowerCase();return b==="presentation"||b==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(v){if(!v)return 0;let b=v.querySelectorAll("th, td"),w=0;for(let R=0;R<b.length;R++){let A=parseInt(b[R].getAttribute("colspan")||"1",10);w+=isNaN(A)||A<1?1:A;}return w}function p(v){let b=v.querySelectorAll("tr"),w=[];for(let R=0;R<b.length;R++){let A=b[R];A.closest("table")===v&&w.push(A);}return w}let _=document.querySelectorAll("table");for(let v=0;v<_.length&&!(f.length>=30);v++){let b=_[v];if(isWidget(b)||!isVisible(b)||y(b))continue;let w=p(b);if(w.length<=1)continue;let R=w[0],A=m(R);if(A<=1)continue;let E=uniqueSel(b),T=getNearbyContext(b),x=b.querySelectorAll("img, svg, picture").length>=2;if(x&&!(b.textContent||"").trim()){if(b.querySelector("input, select, textarea, button")&&(x=false),x&&b.querySelector("th, thead, caption, [scope], [headers]")&&(x=false),x){let re=Array.from(b.querySelectorAll("img")).map(ae=>(ae.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(re).size<re.length&&(x=false);}}else if(x){let re=b.querySelectorAll("td, th"),ae=0;for(let ne=0;ne<re.length&&x;ne++){let ge=re[ne];if(ge.closest("table")!==b)continue;let ye=(ge.textContent||"").trim(),Re=!!ge.querySelector("img, svg, picture");if(!ye&&!Re)continue;ae++;let me=ge.querySelectorAll("a[href]");x=ge.tagName==="TD"&&me.length===1&&Re&&(me[0].textContent||"").trim()===ye;}ae<2&&(x=false);}if(x){f.push({selector:E,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:w.length,cols:A,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(b.outerHTML||"").slice(0,300)});continue}let C=null,k=b.querySelectorAll("caption");for(let re=0;re<k.length;re++)if(k[re].closest("table")===b){C=k[re];break}let I=C?(C.textContent||"").trim():"",P=(b.getAttribute("aria-label")||"").trim(),q=(b.getAttribute("title")||"").trim(),z=b.getAttribute("aria-labelledby"),G="";if(z){let re=z.split(/\s+/);for(let ae=0;ae<re.length;ae++){let ne=document.getElementById(re[ae]);ne&&(G+=" "+(ne.textContent||""));}G=G.trim();}(!C||!I)&&!(P||G||q)&&f.length<30&&f.push({selector:E,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:C?"empty <caption>":"no <caption> element",rows:w.length,cols:A,nearbyHeading:T.nearbyHeading,parentTag:T.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});let N=null,j=b.querySelectorAll("thead");for(let re=0;re<j.length;re++)if(j[re].closest("table")===b){N=j[re];break}if(N&&N.querySelector("tr")!==null||f.length<30&&f.push({selector:E,attribute:"thead",currentValue:N?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:N?"<thead> has no <tr>":"no <thead> element",rows:w.length,cols:A,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(b.outerHTML||"").slice(0,300)}),A>2){let re=R.querySelectorAll("th, td"),ae=re.length>0;for(let ne=0;ne<re.length;ne++)if((re[ne].tagName||"").toLowerCase()!=="td"){ae=false;break}if(ae)for(let ne=0;ne<re.length&&!(f.length>=30);ne++){let ge=re[ne],ye=uniqueSel(ge),Re=(ge.textContent||"").trim().slice(0,60);f.push({selector:ye,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:Re,colIndex:ne,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(ge.outerHTML||"").slice(0,300)});}}let Z=b.querySelectorAll("th");for(let re=0;re<Z.length&&!(f.length>=30);re++){let ae=Z[re];if(ae.closest("table")!==b)continue;let ne=(ae.getAttribute("scope")||"").trim().toLowerCase();if(ne==="col"||ne==="row"||ne==="colgroup"||ne==="rowgroup")continue;let ge=ae.closest("tr"),ye=ae.closest("thead")!==null,Re=false;ge&&w.length>0&&w[0]===ge&&(Re=true);let me=false;if(ge){let He=ge.querySelectorAll("th, td");He.length>0&&He[0]===ae&&(me=true);}let Ee="col";ye||Re?Ee="col":me&&(Ee="row");let Xe=uniqueSel(ae),Je=(ae.textContent||"").trim().slice(0,60);f.push({selector:Xe,attribute:"scope",currentValue:ne,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:Ee,inThead:ye,firstRow:Re,firstCol:me,headerText:Je}),needsAI:false,fixValue:Ee,outerHtml:(ae.outerHTML||"").slice(0,300)});}}return f},Y1={name:"dataTables",cap:30,async detect(h){return h.evaluate(T3)}};var F3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",y=[],m='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',p=x=>{try{return !!(x.querySelector&&x.querySelector(m))}catch{return false}},_=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"],w=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let x of w){if(y.length>=50)break;if(x.closest(h)||isHiddenFromAT(x)||!isVisible(x))continue;let C=x.className&&typeof x.className=="string"?x.className.toLowerCase():"";if(!C.split(/\s+/).filter(Boolean).some(G=>_.has(G)||v.some(U=>G.startsWith(U)))||x.closest(m)||p(x)||Array.from(x.children).some(G=>/[\p{L}\p{N}]/u.test(G.textContent||"")))continue;let q=b.some(G=>C.includes(G)),z=uniqueSel(x);y.push({selector:z,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:q?"spinner/loader icon":"icon classes: "+C.slice(0,80),needsAI:false,fixValue:"true",outerHtml:x.outerHTML.slice(0,300)});}let R=document.querySelectorAll("svg");for(let x of R){if(y.length>=50)break;if(x.closest(h)||isHiddenFromAT(x)||!isVisible(x)||x.closest(m)||p(x))continue;let C=x.getAttribute("aria-label")||"",k=x.getAttribute("aria-labelledby")||"",I=x.querySelector("title"),P=I?(I.textContent||"").trim():"",q=x.getAttribute("role");if(C.trim()||k.trim()||P||q==="img")continue;let z=x.getBoundingClientRect(),G=z.width<=16&&z.height<=16,U=x.parentElement?(x.parentElement.textContent||"").trim().replace(/\s+/g," "):"",N=z.width<=4||z.height<=4,j=x.getAttribute("preserveAspectRatio")==="none";if(!G&&U.length<=3&&!N&&!j)continue;let K=uniqueSel(x);y.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:x.outerHTML.slice(0,300)});}let A=x=>x.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(x),E=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let x of E){if(y.length>=50)break;if(x.closest(h)||isHiddenFromAT(x))continue;let C=x.tagName.toLowerCase();if(!(C==="a"||C==="button"||C==="input"||C==="select"||C==="textarea"||x.getAttribute("role")==="button"||x.getAttribute("role")==="link"||x.getAttribute("role")==="tab")||x.hasAttribute("disabled"))continue;let I=x.className&&typeof x.className=="string"?x.className:"",P=I.split(/\s+/).some(A),q=x.getAttribute("aria-disabled")==="true",z=getComputedStyle(x).pointerEvents==="none";if(!q&&!(P&&z))continue;let G=x.getAttribute("tabindex")!=="-1"||p(x),U=uniqueSel(x);y.push({selector:U,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+I.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...G?{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:x.outerHTML.slice(0,300)});}let T=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let x of T){if(y.length>=50)break;if(x.closest(h)||isHiddenFromAT(x))continue;let C=x.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(C.length===0)continue;let k=uniqueSel(x);y.push({selector:k,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+C.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+C.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:x.outerHTML.slice(0,300)});}return y},K1={name:"decorativeIcons",cap:50,async detect(h){return h.evaluate(F3)}};var R3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=new Map,p=document.querySelectorAll("[id]");for(let _ of p){if(_.closest(h))continue;let v=(_.getAttribute("id")||"").trim();if(!v)continue;let b=m.get(v);b?b.push(_):m.set(v,[_]);}for(let[_,v]of m)if(!(v.length<=1)){if(y.length<50){let b=v[0];y.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"id",currentValue:_,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+_+'" 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&&!(y.length>=50);b++){let w=v[b],R=b+1,A=_+"-"+R,E=w.tagName.toLowerCase(),T=w.parentElement,x=E;if(T){let C=Array.from(T.children).filter(I=>I.tagName===w.tagName);if(C.length>1){let I=C.indexOf(w)+1;x=E+":nth-of-type("+I+")";}let k=T.tagName.toLowerCase();if(T.id&&T.id!==_)x="#"+CSS.escape(T.id)+" > "+x;else {let I=T.parentElement;if(I){let P=Array.from(I.children).filter(q=>q.tagName===T.tagName);if(P.length>1){let q=P.indexOf(T)+1;x=k+":nth-of-type("+q+") > "+x;}else x=k+" > "+x;}}}y.push({selector:x,attribute:"id",currentValue:_,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+R+' of id="'+_+'" | tag: <'+E+">",needsAI:false,fixValue:A});}}return y},J1={name:"duplicateIds",cap:50,async detect(h){return h.evaluate(R3)}};var I3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=/^[^\p{L}\p{N}\s]*$/u,y=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],_=document.querySelectorAll("a");for(let v of _){if(p.length>=50)break;if(v.closest(h)||v.getAttribute("aria-hidden")==="true"||v.getAttribute("role")==="presentation"||v.closest('[aria-hidden="true"]')||!isVisible(v))continue;let b=getAccessibleName(v);if(b&&b.length>0&&!y.test(b)&&!f.test(b))continue;let w=v.querySelectorAll("img[alt]"),R="";for(let G of w){let U=(G.getAttribute("alt")||"").trim();U&&(R+=U+" ");}if(R.trim())continue;let A=v.getAttribute("aria-labelledby");if(A&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(A))continue;let E=uniqueSel(v),T=v.getAttribute("href")||"",x=(v.textContent||"").trim(),C=getNearbyContext(v),k="";x&&y.test(x)?k="[whitespace only]":x&&f.test(x)&&(k=x);let I="",P=true;if(T&&T!=="#"&&!T.startsWith("javascript:")){if(T.startsWith("mailto:")){let G=T.slice(7).split("?")[0];G&&G.includes("@")&&(I="Email "+G,P=false);}else if(T.startsWith("tel:")){let G=T.slice(4);try{G=decodeURIComponent(G);}catch{}G=G.replace(/^\+/,"").trim(),G&&(I="Call "+G,P=false);}}let q=[];v.closest("nav")&&q.push("inside nav"),C.nearbyHeading&&q.push("heading: "+C.nearbyHeading),T&&q.push("href: "+T.slice(0,120)),q.push("parent: "+C.parentTag);let z={selector:E,attribute:"aria-label",currentValue:k,issueType:"empty_link",wcag:"2.4.4",context:q.join(" | "),needsAI:P,outerHtml:v.outerHTML.slice(0,300)};!P&&I&&(z.fixValue=I),p.push(z);}return p},Z1={name:"emptyLinks",cap:50,async detect(h){return h.evaluate(I3)}};var L3=()=>{let f=[],y=new Set;function m(A){return (A||"").trim()}function p(A){let E=m(A.getAttribute("aria-label")||"");if(E)return E;let T=A.getAttribute("aria-labelledby");if(T){let C=T.split(/\s+/),k="";for(let I=0;I<C.length;I++){let P=document.getElementById(C[I]);P&&(k+=" "+(P.textContent||""));}if(m(k))return m(k)}let x=m(A.getAttribute("title")||"");return x||""}let _=document.querySelectorAll("fieldset");for(let A=0;A<_.length&&!(f.length>=30);A++){let E=_[A];if(isWidget(E)||!isVisible(E)||isHiddenFromAT(E))continue;if(p(E)){y.add(E);continue}let T=null,x=E.querySelectorAll("legend");for(let z=0;z<x.length;z++)if(x[z].closest("fieldset")===E){T=x[z];break}let C=T!==null,k=T?m(T.textContent||""):"";if(C&&k){y.add(E);continue}let I=getNearbyContext(E),P=E.querySelectorAll("input, select, textarea"),q=uniqueSel(E);f.push({selector:q,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:C?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:P.length,nearbyHeading:I.nearbyHeading,parentTag:I.parentTag}),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)}),y.add(E);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let A=0;A<v.length&&!(f.length>=30);A++){let E=v[A];if(isWidget(E)||!isVisible(E)||isHiddenFromAT(E)||y.has(E))continue;if(p(E)){y.add(E);continue}let T=E.getAttribute("role")||"",x=getNearbyContext(E),C=E.querySelectorAll("input, select, textarea");if(T==="group"&&E.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(E);f.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+T+'" container without accessible name',role:T,controlCount:C.length,nearbyHeading:x.nearbyHeading,parentTag:x.parentTag}),needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)}),y.add(E);}let b={},w=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let A=0;A<w.length;A++){let E=w[A];if(isWidget(E)||!isVisible(E)||isHiddenFromAT(E))continue;let T=E.getAttribute("name")||"";if(!T)continue;let x=E.closest("form"),C=x?x.getAttribute("id")||x.getAttribute("action")||x.tagName:"no-form",k=(E.getAttribute("type")||"").toLowerCase(),I=C+"::"+k+"::"+T;b[I]||(b[I]=[]),b[I].push(E);}let R=Object.keys(b);for(let A=0;A<R.length&&!(f.length>=30);A++){let E=b[R[A]];if(E.length<3)continue;let T=E[0],x=T.closest('fieldset, [role="group"], [role="radiogroup"]'),C=false;if(x){C=true;for(let G=1;G<E.length;G++)if(!x.contains(E[G])){C=false;break}}if(C&&x)continue;let k=T.parentElement;for(;k&&k!==document.body;){let G=true;for(let U=1;U<E.length;U++)if(!k.contains(E[U])){G=false;break}if(G)break;k=k.parentElement;}if(!k||k===document.body||y.has(k))continue;let I=(T.getAttribute("type")||"").toLowerCase(),P=T.getAttribute("name")||"",q=getNearbyContext(T),z=uniqueSel(k);f.push({selector:z,attribute:"role",currentValue:k.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+I+" group ("+E.length+' inputs share name="'+P+'")',inputType:I,inputCount:E.length,name:P,nearbyHeading:q.nearbyHeading,parentTag:q.parentTag}),needsAI:false,fixValue:I==="radio"?"radiogroup":"group",outerHtml:(k.outerHTML||"").slice(0,300)}),y.add(k);}return f},Q1={name:"fieldsetLegend",cap:30,async detect(h){return h.evaluate(L3)}};var P3=()=>{let h=[],f=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),y=0;for(let m of Array.from(f)){let p=getComputedStyle(m);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let _=m.getBoundingClientRect();if(_.top>50||_.bottom<=0)continue;let v=Math.round(_.height);v<40||v>240||v>y&&(y=v);}if(y>0){let m=window.scrollX,p=window.scrollY,_=0,v=0;try{let w=[],R=new Set;document.querySelectorAll('a[href^="#"]').forEach(A=>{let E=A.getAttribute("href").slice(1);if(!E)return;let T=document.getElementById(E);T&&!R.has(T)&&(R.add(T),w.push(T));});for(let A of w){if(v>=8)break;let E=getComputedStyle(A);if(E.display==="none"||E.visibility==="hidden")continue;v++,A.scrollIntoView({block:"start"});let T=A.getBoundingClientRect(),x=Math.max(T.height,1);Math.max(0,Math.min(T.bottom,y)-Math.max(T.top,0))/Math.min(x,y)>=.5&&_++;}}catch{}try{window.scrollTo(m,p);}catch{}let b=`scroll-margin-top: ${y+8}px; scroll-padding-top: ${y+8}px;`;v>0&&_>0?h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${y}px \u2014 ${_}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:b}):v===0&&h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${y}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 h},eh={name:"focusObscured",async detect(h){return h.evaluate(P3)}};var th={name:"focusVisible",cap:40,async detect(h){let f=typeof h.keyboard?.press=="function";if(f)try{await h.keyboard.press("Tab");}catch{}return h.evaluate(y=>{let p=[],_=["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(_),b=document.activeElement;for(let w of v){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(w)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(w)||typeof isVisible=="function"&&!isVisible(w)||!w.offsetParent&&w.tagName!=="BODY")continue;let R=getComputedStyle(w),A=R.outline,E=R.outlineWidth,T=R.outlineStyle,x=R.boxShadow,C=R.border,k=R.backgroundColor;try{w.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==w)continue;let I=getComputedStyle(w),P=I.outline,q=(I.outlineStyle||"").toLowerCase(),z=parseFloat(I.outlineWidth||"0"),G=I.boxShadow,U=I.border,N=I.backgroundColor,j=P!==A,K=q!=="none"&&q!=="hidden"&&z>0;if(j&&K||G!==x&&G!=="none"&&G!==""||U!==C||N!==k||parseFloat(E)>0&&T!=="none")continue;let ge=typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase();p.push({selector:ge+":focus-visible",attribute:"style",currentValue:T+" "+E,issueType:"focus_not_visible",wcag:"2.4.7",context:`${w.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:w.outerHTML.slice(0,200),...y?{}:{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 p},f)}};var M3=()=>{let f=[],y=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function p(A){if(!A)return false;let E=" "+((A.id||"")+" "+(A.className||"")+" "+(A.getAttribute("name")||"")+" "+(A.getAttribute("action")||"")).toLowerCase()+" ";for(let T=0;T<y.length;T++)if(E.indexOf(y[T])!==-1)return true;return false}function _(A){let E=((A.getAttribute("name")||"")+" "+(A.getAttribute("id")||"")+" "+(A.getAttribute("placeholder")||"")+" "+(A.getAttribute("aria-label")||"")).toLowerCase();for(let T=0;T<m.length;T++)if(E.indexOf(m[T])!==-1)return true;return false}let v=document.querySelectorAll("input[pattern]");for(let A of v){if(f.length>=30)break;let E=A;if(isWidget(E)||isHiddenFromAT(E)||!isVisible(E)||(E.getAttribute("title")||"").trim()||(E.getAttribute("aria-describedby")||"").trim())continue;let C=uniqueSel(E),k=(E.getAttribute("pattern")||"").slice(0,80),I=E.getAttribute("name")||"",P=E.getAttribute("placeholder")||"";f.push({selector:C,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+k+" | name: "+I+" | placeholder: "+P,needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}let b=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let A of b){if(f.length>=30)break;let E=A;if(isWidget(E)||isHiddenFromAT(E)||!isVisible(E))continue;let T=(E.getAttribute("autocomplete")||"").trim().toLowerCase();if(_(E)){if(T==="new-password")continue;let P=uniqueSel(E);f.push({selector:P,attribute:"autocomplete",currentValue:T,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(E.getAttribute("name")||"")+" | id: "+(E.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(E.outerHTML||"").slice(0,300)});continue}if(T)continue;let C=E.form||E.closest("form"),k=p(C),I=uniqueSel(E);f.push({selector:I,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(k?"new/signup/change password form":"login form")+" | name: "+(E.getAttribute("name")||"")+" | id: "+(E.getAttribute("id")||""),needsAI:false,fixValue:k?"new-password":"current-password",outerHtml:(E.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("form"),R=/\*|\brequired\b|\bmandatory\b/i;for(let A of w){if(f.length>=30)break;let E=A;if(isWidget(E)||!isVisible(E))continue;let T=E.querySelectorAll("input[required], select[required], textarea[required]");if(!T.length)continue;let x=0;for(let q of T)isVisible(q)&&x++;if(x===0)continue;let C=E.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),k=0;for(let q of C)isVisible(q)&&k++;if(x>=k||(E.getAttribute("data-asw-required-hint")||"").trim())continue;let I=(E.textContent||"").trim();if(R.test(I))continue;let P=uniqueSel(E);f.push({selector:P,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${x} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(E.outerHTML||"").slice(0,300)});}return f},rh={name:"formAttributes",cap:30,async detect(h){return h.evaluate(M3)}};var O3=()=>{let f=[],y=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(y.length===0)return f;let m='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',p=new Map,_=0;for(let v of y){if(f.length>=50)break;let b;if(v.getAttribute("role")==="heading"){let C=v.getAttribute("aria-level");b=C?parseInt(C,10):2;}else b=parseInt(v.tagName.charAt(1),10);if(isNaN(b)||b<1||b>6)continue;let R=v.closest(m)||document.body,A=p.get(R)??0,E=uniqueSel(v),T=(v.textContent||"").trim().slice(0,80),x=v.outerHTML.slice(0,300);if(b===1&&(_++,_>1&&(f.push({selector:E,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:T,h1Number:_,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:x}),b=2)),A>0&&b>A+1){let C=A+1;f.push({selector:E,attribute:"data-heading-skip",currentValue:String(b),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:T,currentLevel:b,previousLevel:A,expectedLevel:C,suggestion:"Should be h"+C+" (was h"+b+", previous was h"+A+") \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:x});}p.set(R,b);}return f},ah={name:"headingHierarchy",cap:50,async detect(h){return h.evaluate(O3)}};var N3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",y=[],m=new Set;function p(_){let v=_,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(_=>{if(y.length>=50||_.closest(h)||!_.matches("a[href], button, [role=button]")||p(_))return;let v=getComputedStyle(_);if(v.display==="none"||v.visibility==="hidden")return;let b=uniqueSel(_);m.has(b)||(m.add(b),y.push({selector:b,attribute:"tabindex",currentValue:_.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(_=>{if(y.length>=50||_.closest(h)||p(_))return;let v=getComputedStyle(_),b=parseInt(v.width)||0,w=parseInt(v.height)||0;if((b===0||w===0)&&_.getAttribute("aria-hidden")!=="true"){let R=uniqueSel(_);if(m.has(R))return;m.add(R),y.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),y},nh={name:"hiddenInteractive",cap:50,async detect(h){return h.evaluate(N3)}};var q3=()=>{let h=document.documentElement;return h?(h.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_semantic_role",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},ih={name:"htmlLang",async detect(h){return h.evaluate(q3)}};var B3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],p=/^(iframe|embed|widget|frame|content|untitled)$/i,_=document.querySelectorAll("iframe");for(let v of _){if(y.length>=50)break;if(v.closest(h))continue;let b=(v.getAttribute("aria-hidden")||"").trim(),w=(v.getAttribute("role")||"").trim().toLowerCase();if(b==="true"||w==="presentation")continue;let R=getComputedStyle(v);if(v.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let A=(v.getAttribute("title")||"").trim(),E=A.length===0,T=!E&&(A.length<3||p.test(A));if(!E&&!T)continue;let x=(v.getAttribute("src")||"").toLowerCase(),C=uniqueSel(v),k=getNearbyContext(v),I="src: "+x.slice(0,120)+(k.nearbyHeading?" | heading: "+k.nearbyHeading:""),P=false;for(let q of m)if(x.includes(q.pattern)){y.push({selector:C,attribute:"title",currentValue:A,issueType:"missing_label",wcag:"4.1.2",context:I,needsAI:false,fixValue:q.title,outerHtml:v.outerHTML.slice(0,300)}),P=true;break}!P&&E&&y.push({selector:C,attribute:"title",currentValue:A,issueType:"missing_label",wcag:"4.1.2",context:I,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return y},oh={name:"iframeTitle",cap:50,async detect(h){return h.evaluate(B3)}};var H3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],p={email:"email",tel:"tel",password:"current-password"},_=[{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(m.length>=50)break;if(b.closest(h))continue;let w=b,R=(w.getAttribute("type")||"text").toLowerCase();if(f.includes(R)||w.getAttribute("autocomplete")||!isVisible(w))continue;let A="";if(p[R]&&(A=p[R]),!A){let T=(w.getAttribute("name")||"").toLowerCase(),x=(w.getAttribute("id")||"").toLowerCase(),C=(w.getAttribute("placeholder")||"").toLowerCase(),k=T+" "+x+" "+C;for(let I of _)if(k.includes(I.pattern)){A=I.autocomplete;break}}if(!A)continue;let E=uniqueSel(w);m.push({selector:E,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+R+" | name: "+(w.getAttribute("name")||"")+" | id: "+(w.getAttribute("id")||""),needsAI:false,fixValue:A});}return m},sh={name:"inputPurpose",cap:50,async detect(h){return h.evaluate(H3)}};var V3=()=>{let f=[],y={alert:true,alertdialog:true,application:true,article:true,banner:true,blockquote:true,button:true,caption:true,cell:true,checkbox:true,code:true,columnheader:true,combobox:true,command:true,comment:true,complementary:true,composite:true,contentinfo:true,definition:true,deletion:true,dialog:true,directory:true,document:true,emphasis:true,feed:true,figure:true,form:true,generic:true,grid:true,gridcell:true,group:true,heading:true,img:true,input:true,insertion:true,landmark:true,link:true,list:true,listbox:true,listitem:true,log:true,main:true,marquee:true,math:true,menu:true,menubar:true,menuitem:true,menuitemcheckbox:true,menuitemradio:true,meter:true,navigation:true,none:true,note:true,option:true,paragraph:true,presentation:true,progressbar:true,radio:true,radiogroup:true,range:true,region:true,roletype:true,row:true,rowgroup:true,rowheader:true,scrollbar:true,search:true,searchbox:true,section:true,sectionhead:true,select:true,separator:true,slider:true,spinbutton:true,status:true,strong:true,structure:true,subscript:true,suggestion:true,superscript:true,switch:true,tab:true,table:true,tablist:true,tabpanel:true,term:true,textbox:true,time:true,timer:true,toolbar:true,tooltip:true,tree:true,treegrid:true,treeitem:true,widget:true,window:true},m=document.querySelectorAll("[role]");for(let p of m){if(f.length>=20)break;let _=p;if(isWidget(_))continue;let v=(_.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let b=v.split(/\s+/).filter(Boolean);if(b.length===0)continue;let w=true,R="";for(let A=0;A<b.length;A++)if(!y[b[A]]){w=false,R=b[A];break}w||f.push({selector:uniqueSel(_),attribute:"remove_attribute",currentValue:v,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+R+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(_.outerHTML||"").slice(0,300)});}return f},lh={name:"invalidAriaRole",cap:20,async detect(h){return h.evaluate(V3)}};var j3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function p(v){let b=v.getBoundingClientRect();if(b.width===0&&b.height===0)return false;let w=-window.scrollX,R=-window.scrollY,A=document.documentElement,E=getComputedStyle(v).position;if(E==="fixed")return false;let T=E==="absolute";for(let x=v.parentElement;x&&x!==document.body&&x!==A;x=x.parentElement){let C=getComputedStyle(x);if(T){if(C.position==="static")continue;T=false;}if(/auto|scroll/.test(C.overflowX+" "+C.overflowY))return false;let k=C.overflowX==="hidden"||C.overflowX==="clip",I=C.overflowY==="hidden"||C.overflowY==="clip";if(!k&&!I)continue;let P=x.getBoundingClientRect();if(k&&(b.right<=P.left||b.left>=P.right)||I&&(b.bottom<=P.top||b.top>=P.bottom))return true;if(E=C.position,E==="fixed")return false;E==="absolute"&&(T=true);}return b.right<=w||b.bottom<=R||b.left>=w+A.scrollWidth||b.top>=R+A.scrollHeight}let _=document.querySelectorAll(m);for(let v of _){if(y.length>=30)break;if(v.closest(h)||!v.hasAttribute("tabindex"))continue;let b=v.getAttribute("tabindex")||"",w=parseInt(b,10);if(!Number.isFinite(w)||w===0||v.getAttribute("aria-disabled")==="true"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.closest("[hidden]"))continue;let R=v.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(R&&!(R.hasAttribute("open")||R.getAttribute("aria-modal")==="true"||R.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(v)||w<0&&p(v))continue;let A=(v.getAttribute("role")||"").toLowerCase();if(w<0&&v.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let T=typeof uniqueSel=="function"?uniqueSel(v):"",x=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},C,k;w<0?(C="keyboard_trap",k="2.1.1"):(C="focus_order_disruption",k="2.4.3");let I=[];I.push("tabindex: "+w),I.push("tag: "+v.tagName.toLowerCase()),A&&I.push("role: "+A),x.nearbyHeading&&I.push("heading: "+x.nearbyHeading),I.push("parent: "+x.parentTag),y.push({selector:T,attribute:"tabindex",currentValue:String(w),issueType:C,wcag:k,context:I.join(" | "),needsAI:false,fixValue:"0",outerHtml:(v.outerHTML||"").slice(0,300)});}return y},uh={name:"keyboardTrap",cap:30,async detect(h){return h.evaluate(j3)}};var $3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],p=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let _ of Array.from(p)){if(y.length>=40)break;if(_.closest(h)||typeof isVisible=="function"&&!isVisible(_))continue;let v="",b=[],w=[];try{let re=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,ae=/icon|awesome|glyph|material symbols|dashicons/i,ne=!1;try{ne=ae.test(getComputedStyle(_).fontFamily||"");}catch{}let ge=document.createTreeWalker(_,NodeFilter.SHOW_TEXT),ye;for(;ye=ge.nextNode();){let Xe=ye.parentElement;if(!Xe)continue;let Je=(ye.textContent||"").trim();if(!Je||Xe===_&&ne)continue;let He=!1,Me=!1;for(let Ye=Xe;Ye&&Ye!==_;Ye=Ye.parentElement){if(Ye.tagName==="KBD"&&(Me=!0),Ye.getAttribute("aria-hidden")==="true"){He=!0;break}if(re.test(Ye.className||"")||re.test(Ye.id||"")){He=!0;break}try{let Ie=getComputedStyle(Ye);if(Ie.display==="none"||Ie.visibility==="hidden"){He=!0;break}if(parseFloat(Ie.opacity||"1")===0){He=!0;break}if(ae.test(Ie.fontFamily||"")){He=!0;break}}catch{}}!He&&/[\p{L}\p{N}]/u.test(Je)&&w.push({text:Je,kbd:Me});}let Re=0,me=w.length;for(;Re<me&&w[Re].kbd;)Re++;for(;me>Re&&w[me-1].kbd;)me--;let Ee=Re<me?w.slice(Re,me):w;for(let Xe of Ee)b.push(Xe.text);v=b.join(" ").trim().toLowerCase();}catch{v=((_.innerText!=null?_.innerText:_.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,E=(_.getAttribute("aria-label")||"").trim().toLowerCase();if(!E){let re=_.getAttribute("aria-labelledby");re&&(E=(typeof __resolveIdRefs=="function"?__resolveIdRefs(re):"").toLowerCase());}if(!E)continue;let T=v.replace(/\s+/g," ").normalize("NFC"),x=E.replace(/\s+/g," ").normalize("NFC"),C=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,k=(re,ae)=>!re||!A.test(re)||C.test(re)||C.test(ae),I=(re,ae)=>{if(ae<=0)return "";let ne=re.charCodeAt(ae-1);return ne>=56320&&ne<=57343&&ae>=2?re.slice(ae-2,ae):re.charAt(ae-1)},P=(re,ae)=>{let ne=re.codePointAt(ae);return ne===void 0?"":String.fromCodePoint(ne)},q=T.substring(0,40),z=T.length>=40,G=P(q,0),U=I(q,q.length),N=false;for(let re=0;!N;){let ae=x.indexOf(q,re);if(ae<0)break;k(I(x,ae),G)&&(z||k(P(x,ae+q.length),U))&&(N=true),re=ae+1;}if(N)continue;if(b.length>1){let re=true,ae=0;for(let ne of b){let ge=ne.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!ge)continue;let ye=ge.slice(0,40),Re=-1;for(let me=ae;;){let Ee=x.indexOf(ye,me);if(Ee<0)break;let Xe=k(I(x,Ee),P(ye,0)),Je=ye.length>=40||k(P(x,Ee+ye.length),I(ye,ye.length));if(Xe&&Je){Re=Ee;break}me=Ee+1;}if(Re<0){re=false;break}ae=Re+ye.length;}if(re)continue}let j=typeof uniqueSel=="function"?uniqueSel(_):"",K=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},Z=[];Z.push("visible: "+v.slice(0,40)),Z.push("aria-label: "+E.slice(0,60)),K.nearbyHeading&&Z.push("heading: "+K.nearbyHeading),Z.push("parent: "+K.parentTag),y.push({selector:j,attribute:"aria-label",currentValue:E,issueType:"label_in_name",wcag:"2.5.3",context:Z.join(" | "),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}return y},ch={name:"labelInName",cap:40,async detect(h){return h.evaluate($3)}};var z3=()=>{function h(A){let E=A.closest("section,article,div,nav,main,aside,header,footer"),T=E?E.querySelector("h1,h2,h3,h4,h5,h6"):null;return T?(T.textContent||"").trim().slice(0,80):""}let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",y=50,m=[];document.querySelector('main, [role="main"]')||m.push({selector:"body",attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({reason:'page has no <main> or [role="main"] landmark'}),needsAI:true,outerHtml:""});let _=document.querySelectorAll("div, section, ul, ol");for(let A of _){if(m.length>=y)break;if(A.closest(f)||!isVisible(A)||isHiddenFromAT(A)||A.tagName.toLowerCase()==="nav")continue;let E=A.getAttribute("role");if(E&&E!=="navigation")continue;let T=(A.className&&typeof A.className=="string"?A.className:"").toLowerCase(),x=(A.id||"").toLowerCase();if(!(T.includes("nav")||T.includes("menu")||T.includes("navigation")||x.includes("nav")||x.includes("menu")||x.includes("navigation"))||A.closest('nav, [role="navigation"]'))continue;let k=Array.from(A.querySelectorAll('nav, [role="navigation"]')).filter(U=>isVisible(U)&&!isHiddenFromAT(U)),I=Array.from(A.querySelectorAll("a[href]")).filter(U=>!k.some(N=>N.contains(U)));if(I.length<3)continue;let P=A.closest('header, [role="banner"], footer, [role="contentinfo"]'),z=!!P&&Array.from(P.querySelectorAll('nav, [role="navigation"]')).some(U=>!A.contains(U)&&isVisible(U)&&!isHiddenFromAT(U))||k.length>0,G=uniqueSel(A);m.push({selector:G,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:A.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:I.length,classes:T.slice(0,80)}),needsAI:false,fixValue:"navigation",...z?{needsReview:true,reviewReason:k.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:A.outerHTML.slice(0,300)});}let v=document.querySelectorAll('aside, [role="complementary"]'),b=Array.from(v).filter(A=>!A.closest(f)&&isVisible(A)&&!isHiddenFromAT(A));if(b.length>1)for(let A of b){if(m.length>=y)break;let E=A.getAttribute("aria-label")||"",T=A.getAttribute("aria-labelledby")||"",x=A.getAttribute("title")||"";if(E.trim()||T.trim()||x.trim())continue;let C=h(A),k=uniqueSel(A);m.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:A.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:v.length,nearbyHeading:C}),needsAI:true,outerHtml:A.outerHTML.slice(0,300)});}let w=document.querySelectorAll('nav, [role="navigation"]'),R=Array.from(w).filter(A=>!A.closest(f)&&isVisible(A)&&!isHiddenFromAT(A));if(R.length>1)for(let A of R){if(m.length>=y)break;let E=A.getAttribute("aria-label")||"",T=A.getAttribute("aria-labelledby")||"",x=A.getAttribute("title")||"";if(E.trim()||T.trim()||x.trim())continue;let C=h(A),k=uniqueSel(A);m.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:A.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:w.length,nearbyHeading:C}),needsAI:true,outerHtml:A.outerHTML.slice(0,300)});}return m},dh={name:"landmarkRoles",cap:50,async detect(h){return h.evaluate(z3)}};var G3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",y=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],m=[];function p(A){if(!A)return "";let E=A.split("#")[0];return E.length>1&&E.charAt(E.length-1)==="/"&&(E=E.substring(0,E.length-1)),E}function _(A){let E=(A.getAttribute("aria-label")||"").trim();return E||(A.textContent||"").trim().replace(/\s+/g," ")}function v(A){return !!A.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let b={},w=document.querySelectorAll("a[href]");for(let A=0;A<w.length;A++){let E=w[A];if(E.closest(h)||E.getAttribute("aria-hidden")==="true"||!isVisible(E))continue;let T=E.getAttribute("href")||"";if(!T)continue;let x=T.toLowerCase();if(x.charAt(0)==="#"||x.indexOf("javascript:")===0||x.indexOf("mailto:")===0||x.indexOf("tel:")===0)continue;let C=E.href||T,k=p(C);if(!k||v(E))continue;let I=(E.textContent||"").trim(),P=!!E.querySelector("img, svg, picture");if(!I&&P)continue;let q=_(E);if(!q)continue;let z=q.toLowerCase();z===x||z===C.toLowerCase()||(b[k]||(b[k]=[]),b[k].push(E));}let R=Object.keys(b);for(let A=0;A<R.length&&!(m.length>=30);A++){let E=b[R[A]];if(!E||E.length<2)continue;let T={},x="";for(let P=0;P<E.length;P++){let q=_(E[P]),z=q.toLowerCase();T[z]=true,q.length>x.length&&(x=q);}if(Object.keys(T).length<2)continue;let k=x.toLowerCase().trim();if(k.length<5)continue;let I=false;for(let P=0;P<y.length;P++)if(k===y[P]){I=true;break}if(!I)for(let P=0;P<E.length&&!(m.length>=30);P++){let q=E[P],z=_(q);if(z.toLowerCase()===k)continue;let G=uniqueSel(q);m.push({selector:G,attribute:"aria-label",currentValue:z,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+E.length+' link(s) on this page with different text (e.g. "'+x.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:q.outerHTML.slice(0,300)});}}return m},fh={name:"linkConsistency",cap:30,async detect(h){return h.evaluate(G3)}};var W3=()=>{let f=[],y=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},p="";try{p=window.location&&window.location.hostname||"";}catch{p="";}p=(p||"").toLowerCase();function _(C,k){if(!C||!k)return false;if(C===k||C.endsWith("."+k)||k.endsWith("."+C))return true;let I=P=>{let q=P.split(".");if(q.length<=2)return P;let z=q[q.length-1],G=q[q.length-2],U=["co","com","net","org","ac","gov","edu"],N=z.length===2&&U.indexOf(G)>=0?3:2;return q.slice(-N).join(".")};return I(C)===I(k)}function v(C){return C.indexOf("www.")===0?C.slice(4):C}function b(C){if(!C)return "";let k=C.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(C,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function w(C){if(!C)return "";let k=C,I=k.indexOf("?");I>=0&&(k=k.slice(0,I));let P=k.indexOf("#");P>=0&&(k=k.slice(0,P)),k=k.toLowerCase();for(let q=0;q<y.length;q++){let z=y[q];if(k.length>=z.length&&k.slice(k.length-z.length)===z)return z}return ""}function R(C){let k=[],I=(C.getAttribute("aria-label")||"").trim();I&&k.push(I);let P=(C.getAttribute("title")||"").trim();P&&k.push(P);let q=C.getAttribute("aria-labelledby");if(q)try{let z=typeof __resolveIdRefs=="function"?__resolveIdRefs(q):"";z&&k.push(z);}catch{}return k.push((C.textContent||"").trim()),k.join(" ").toLowerCase()}function A(C,k,I){let P="";try{typeof getAccessibleName=="function"&&(P=(getAccessibleName(C)||"").trim());}catch{}let q=(k||I||P||C.textContent||"").replace(/\s+/g," ").trim();return q||(C.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function E(C,k){let P=200-k.length;P<8&&(P=8);let q=C;if(q.length>P){let z=q.slice(0,P),G=z.lastIndexOf(" ");G>P*.6&&(z=z.slice(0,G)),q=z.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (q+k).slice(0,200)}let T=document.querySelectorAll("a"),x=T.length;for(let C=0;C<x&&!(f.length>=50);C++){let k=T[C];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 I=k.getAttribute("href");if(I==null)continue;let P=String(I).trim();if(!P)continue;let q=P.toLowerCase(),z=R(k),G=(k.getAttribute("rel")||"").toLowerCase(),U=uniqueSel(k),N=(k.textContent||"").trim().slice(0,80),j=(k.getAttribute("target")||"").toLowerCase(),K=(k.outerHTML||"").slice(0,300),Z=P==="#",re=q.indexOf("javascript:")===0;if((Z||re)&&(k.getAttribute("role")||"").toLowerCase()!=="button"){let me=k.hasAttribute&&k.hasAttribute("onclick"),Ee=k.hasAttribute&&(k.hasAttribute("data-action")||k.hasAttribute("data-click")||k.hasAttribute("data-toggle")||k.hasAttribute("data-target")),Xe=typeof k.onclick=="function",Je=me||Ee||Xe,He=[];He.push("href: "+P),N&&He.push("text: "+N),He.push(Je?"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"]',Ye=Se=>{if(getComputedStyle(Se).visibility==="hidden")return false;for(let vr=Se;vr&&vr.nodeType===1;vr=vr.parentElement)if(getComputedStyle(vr).display==="none")return false;return true},Ie=Array.prototype.some.call(k.querySelectorAll(Me),Se=>Ye(Se)&&!isHiddenFromAT(Se));Je&&!Ie&&f.push({selector:U,attribute:"role",currentValue:P,issueType:"placeholder_link",wcag:"2.4.4",context:He.join(" | "),needsAI:false,fixValue:"button",outerHtml:K});continue}if(P.charAt(0)==="#"&&P.length>1){let Re=P.slice(1),me=Re;try{me=decodeURIComponent(Re);}catch{me=Re;}let Ee=null;try{Ee=document.getElementById(me);}catch{Ee=null;}if(!Ee)try{Ee=document.querySelector('[name="'+me.replace(/"/g,'\\"')+'"]');}catch{Ee=null;}continue}let ae=w(q);if(ae){let Re=k.hasAttribute&&k.hasAttribute("download"),me=(m[ae]||ae).toLowerCase(),Ee=z.indexOf(ae)>=0||z.indexOf(me)>=0||z.indexOf("download")>=0;if(!Re&&!Ee){let Xe=A(k,(k.getAttribute("aria-label")||"").trim(),""),Je=E(Xe," ("+(m[ae]||ae)+" download)");f.push({selector:U,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ae+" | href: "+P.slice(0,120),needsAI:false,fixValue:Je,outerHtml:K});continue}}let ne=b(P),ge=q.indexOf("http://")===0||q.indexOf("https://")===0||q.indexOf("//")===0,ye=!!ne&&!!p&&!_(v(ne),v(p));if(j==="_blank"){let Re=G.indexOf("noopener")>=0||G.indexOf("noreferrer")>=0,me=z.indexOf("new window")>=0||z.indexOf("new tab")>=0||z.indexOf("opens in")>=0;if(!me){let Ee=(k.getAttribute("aria-label")||"").trim(),Xe="",Je=k.getAttribute("aria-labelledby")||"";if(!Ee&&Je)try{typeof __resolveIdRefs=="function"&&(Xe=(__resolveIdRefs(Je)||"").trim());}catch{}let He=A(k,Ee,Xe),Me=E(He," (opens in new window)"),Ye=[];Re||Ye.push("missing rel=noopener"),me||Ye.push('missing "new window" hint'),Ye.push("href: "+P.slice(0,120)),f.push({selector:U,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ye.join(" | "),needsAI:false,fixValue:Me,outerHtml:K});continue}}if(ye&&ge){let Re=G.indexOf("external")>=0,me=z.indexOf("external")>=0||z.indexOf("opens in")>=0||z.indexOf("new window")>=0||z.indexOf("new tab")>=0;if(!Re&&!me){let Ee=(k.getAttribute("aria-label")||"").trim(),Xe="",Je=k.getAttribute("aria-labelledby")||"";if(!Ee&&Je)try{typeof __resolveIdRefs=="function"&&(Xe=(__resolveIdRefs(Je)||"").trim());}catch{}let He=A(k,Ee,Xe),Me=E(He," (external link)");f.push({selector:U,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+ne+" (page: "+p+") | href: "+P.slice(0,120),needsAI:false,fixValue:Me,outerHtml:K});}}}return f},ph={name:"linkWarnings",cap:50,async detect(h){return h.evaluate(W3)}};var U3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",y=[],m=new Set,p=document.querySelectorAll('main, [role="main"]'),_=[];return p.forEach(v=>{let b=getComputedStyle(v);b.display!=="none"&&b.visibility!=="hidden"&&_.push(v);}),p.forEach(v=>{if(y.length>=10||v.closest(h)||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")||_.some(E=>E!==v&&E.getAttribute("aria-hidden")!=="true"))return;let R=v.parentElement;for(;R&&R!==document.body&&R!==document.documentElement;){if(R.getAttribute("aria-hidden")==="true")return;R=R.parentElement;}let A=uniqueSel(v);m.has(A)||(m.add(A),y.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)}));}),y},mh={name:"mainContentHidden",cap:10,async detect(h){return h.evaluate(U3)}};var X3=()=>{let f=[];function y(v){return !!(!v||isWidget(v)||(v.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(v){return (v.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let v of p){if(f.length>=10)break;let b=v;if(y(b))continue;let w=b.hasAttribute("controls"),R=b.hasAttribute("autoplay"),A=b.hasAttribute("muted"),E=typeof isVisible=="function"?isVisible(b):true;if(!w&&E&&(f.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:m(b)}),f.length>=10))break;R&&!A&&f.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:m(b)});}let _=document.querySelectorAll("audio");for(let v of _){if(f.length>=10)break;let b=v;if(y(b))continue;let w=b.hasAttribute("controls"),R=b.hasAttribute("autoplay");if(!w&&(f.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:m(b)}),f.length>=10))break;R&&f.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:m(b)});}return f},hh={name:"mediaControls",cap:10,async detect(h){return h.evaluate(X3)}};var Y3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,p=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,_=document.querySelectorAll("img");for(let v of _){if(y.length>=50)break;if(v.closest(h))continue;let b=v.getAttribute("src")||"",w=v.getAttribute("alt");if(b.startsWith("data:"))continue;let R=v.naturalWidth||v.width,A=v.naturalHeight||v.height;if(R<=3&&A<=3&&R>0&&A>0||R<=2&&A<=2)continue;let E=v.getBoundingClientRect();if(E.width<=2&&E.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let T=(v.getAttribute("aria-label")||"").trim(),x=(v.getAttribute("aria-labelledby")||"").trim();if(T||x)continue;let C=v.getBoundingClientRect(),k=C.width>0&&C.width<=30&&C.height<=30,I=!!v.closest('a, button, [role="button"], [role="link"]');if(k&&!I&&w===null){let U=uniqueSel(v);y.push({selector:U,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(C.width)+"x"+Math.round(C.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(w===null){let U=uniqueSel(v),N=getNearbyContext(v),j=[],K=v.closest("figure");if(K){let ae=K.querySelector("figcaption");ae&&j.push("figcaption: "+(ae.textContent||"").trim().slice(0,80));}N.nearbyHeading&&j.push("heading: "+N.nearbyHeading);let Z=v.closest("a");if(Z){let ae=Z.getAttribute("href")||"",ne=(Z.textContent||"").trim().replace(/\s+/g," ");ne&&j.push("link text: "+ne.slice(0,60)),ae&&j.push("link href: "+ae.slice(0,80));}b&&j.push("src: "+b.slice(0,120)),j.push("parent: "+N.parentTag);let re=b;try{re=new URL(b,document.baseURI).href;}catch{}y.push({selector:U,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:re,outerHtml:v.outerHTML.slice(0,300)});continue}let P=(w||"").trim();if(P==="")continue;let q=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(P),z=m.test(P),G=p.test(P);if(q||z||G){let U=uniqueSel(v),N=getNearbyContext(v),j=[];N.nearbyHeading&&j.push("heading: "+N.nearbyHeading),b&&j.push("src: "+b.slice(0,120)),j.push("parent: "+N.parentTag);let K=b;try{K=new URL(b,document.baseURI).href;}catch{}y.push({selector:U,attribute:"alt",currentValue:P,issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:K,outerHtml:v.outerHTML.slice(0,300)});}}return y},gh={name:"missingAlt",cap:50,async detect(h){return h.evaluate(Y3)}};var K3=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image"],y=["wpnonce","_token","csrf","nonce","captcha"],p=[],_=document.querySelectorAll("input, select, textarea");for(let v of _){if(p.length>=50)break;if(v.closest(h))continue;let b=v,w=b.getAttribute("type")||b.tagName.toLowerCase();if(f.includes(w.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 E=b.getAttribute("id")||"",T=b.getAttribute("name")||"",x=(E+" "+T).toLowerCase();if(y.some(U=>x.includes(U)))continue;let C=false;if(E){let U=document.querySelector('label[for="'+CSS.escape(E)+'"]');U&&(U.textContent||"").trim()&&(C=true);}if(!C){let U=b.closest("label");U&&(U.textContent||"").trim()&&(C=true);}if(!C&&(b.getAttribute("aria-label")||"").trim()&&(C=true),!C){let U=b.getAttribute("aria-labelledby");U&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(U)&&(C=true);}if(!C&&(b.getAttribute("title")||"").trim()&&(C=true),C)continue;let k=uniqueSel(b),I=getNearbyContext(b),P=(b.getAttribute("placeholder")||"").trim(),q=b.closest("form"),z=q&&(q.getAttribute("id")||q.getAttribute("action"))||"",G=[];P&&G.push("placeholder: "+P),T&&G.push("name: "+T),w&&G.push("type: "+w),z&&G.push("form: "+z.slice(0,60)),I.nearbyHeading&&G.push("heading: "+I.nearbyHeading),G.push("parent: "+I.parentTag),p.push({selector:k,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:G.join(" | "),needsAI:true,outerHtml:b.outerHTML.slice(0,300)});}return p},vh={name:"missingLabels",cap:50,async detect(h){return h.evaluate(K3)}};var J3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",f='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',y=["onclick","data-action","ng-click","@click","v-on:click"],m=C=>{if(getComputedStyle(C).visibility==="hidden")return false;for(let k=C;k&&k.nodeType===1;k=k.parentElement)if(getComputedStyle(k).display==="none")return false;return true},p=C=>Array.prototype.some.call(C.querySelectorAll("a:not([href])"),k=>m(k)&&!isHiddenFromAT(k)&&y.some(I=>k.hasAttribute(I))),_=C=>Array.prototype.some.call(C.querySelectorAll(f),k=>m(k)&&!isHiddenFromAT(k)),b=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(C=>{if(b.length>=50||C.closest(h)||!isVisible(C)||isHiddenFromAT(C)||_(C)||p(C))return;let k=C.getAttribute("role");if(k==="button"||k==="link"||k==="tab"||k==="menuitem"||k==="checkbox"||k==="radio")return;let I=uniqueSel(C),P=C.outerHTML.slice(0,300);b.push({selector:I,attribute:"role",currentValue:k||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),hasOnclick:true,currentTabindex:C.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:P}),C.getAttribute("tabindex")===null&&b.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:P});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(C=>{if(b.length>=50||C.closest(h)||!isVisible(C)||isHiddenFromAT(C)||C.getAttribute("role"))return;let I=C.hasAttribute("onclick"),P=C.getAttribute("data-action")||C.getAttribute("ng-click")||C.getAttribute("@click")||C.getAttribute("v-on:click");if(!I&&!P||_(C))return;let q=uniqueSel(C),z=C.outerHTML.slice(0,300);b.push({selector:q,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:C.getAttribute("href")||"",hasOnclick:I}),needsAI:false,fixValue:"button",outerHtml:z});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(C=>{if(b.length>=50||C.closest(h)||!isVisible(C)||isHiddenFromAT(C)||C.getAttribute("role"))return;let I=C.getAttribute("href")||"",P=false;if(I.startsWith("#")&&I.length>1){if(I.charAt(1)==="/")return;let U=I.slice(1);if(document.getElementById(U))return;try{if(document.querySelector('[name="'+CSS.escape(U)+'"]'))return}catch{}P=true;}let q=I.startsWith("javascript:")||C.hasAttribute("onclick")||C.getAttribute("data-action")||C.getAttribute("ng-click")||C.getAttribute("@click")||C.getAttribute("v-on:click")||C.hasAttribute("aria-haspopup")||C.hasAttribute("aria-expanded")||C.hasAttribute("aria-controls"),z=P&&!q;if(_(C))return;let G=uniqueSel(C);b.push({selector:G,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:I,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:C.outerHTML.slice(0,300),...z?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(C=>{if(b.length>=50||C.closest(h)||!isVisible(C)||isHiddenFromAT(C))return;let k=(C.className&&typeof C.className=="string"?C.className:"").toLowerCase(),I=(C.id||"").toLowerCase();if(!k.includes("breadcrumb")&&!k.includes("crumb")&&!I.includes("breadcrumb")&&!I.includes("crumb"))return;let P=C.querySelectorAll("a");if(P.length<2)return;let q=(C.getAttribute("aria-label")||"").toLowerCase(),z=C.getAttribute("role");if(q.includes("breadcrumb")||q.includes("crumb")||z==="navigation"&&q)return;let G=uniqueSel(C);b.push({selector:G,attribute:"aria-label",currentValue:q,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:P.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:C.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(C=>{if(b.length>=50||C.closest(h)||!isVisible(C)||isHiddenFromAT(C))return;let k=(C.className&&typeof C.className=="string"?C.className:"").toLowerCase(),I=(C.id||"").toLowerCase();if(!k.includes("search")&&!I.includes("search")||!C.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let q=C.getAttribute("role");if(q==="search"||C.closest('[role="search"]')||C.querySelector('[role="search"]')||Array.prototype.some.call(C.querySelectorAll("form, section, div"),U=>{let N=(U.className&&typeof U.className=="string"?U.className:"").toLowerCase(),j=(U.id||"").toLowerCase();return !N.includes("search")&&!j.includes("search")||U.getAttribute("role")==="search"?false:!!U.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let G=uniqueSel(C);b.push({selector:G,attribute:"role",currentValue:q||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:C.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(C=>{if(C.closest(h))return;let k=C.getAttribute("role")||"menu",I=Array.from(C.querySelectorAll("a")).filter(q=>{if(!isVisible(q)||isHiddenFromAT(q))return false;let z=q.getAttribute("role");return z!=="menuitem"&&z!=="menuitemcheckbox"&&z!=="menuitemradio"});if(I.length===0)return;let P=uniqueSel(C);b.push({selector:P,attribute:"role",currentValue:k,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),reason:`${I.length} link(s) inside role="${k}" without menuitem roles`,sample:I.slice(0,3).map(q=>(q.textContent||"").trim().slice(0,40))}),message:`container role="${k}" holds ${I.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:C.outerHTML.slice(0,300)});}),b},bh={name:"missingRoles",cap:50,async detect(h){return h.evaluate(J3)}};var Z3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],m={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},p=_=>{let v=R=>{let A=R.tagName.toLowerCase(),E=R.parentElement;if(!E)return A;let T=Array.from(E.children).filter(x=>x.tagName===R.tagName);return T.length>1?`${A}:nth-of-type(${T.indexOf(R)+1})`:A},b=[],w=_;for(;w&&w!==document.body&&w!==document.documentElement;)b.unshift(v(w)),w=w.parentElement;return b.length?b.join(" > "):_.tagName.toLowerCase()};for(let[_,v]of Object.entries(m)){let b=Array.from(document.querySelectorAll(v));b=b.filter(w=>!w.closest(h)),b=b.filter(w=>typeof isVisible=="function"?isVisible(w):true),b=b.filter(w=>w.getAttribute("aria-hidden")!=="true"),!(b.length<2)&&b.forEach(w=>{if(y.length>=30||(w.getAttribute("aria-label")||"").trim()||(w.getAttribute("title")||"").trim())return;let R=w.getAttribute("aria-labelledby");if(R&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(R))return;let A=typeof uniqueSel=="function"?uniqueSel(w):p(w),E=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""},T=w.querySelector("h1, h2, h3, h4, h5, h6"),x=T?(T.textContent||"").trim().slice(0,60):"";y.push({selector:A,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${_} | total: ${b.length} | inner-heading: ${x} | nearby: ${E.nearbyHeading||""}`,needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});});}return y},yh={name:"multipleLandmarks",cap:30,async detect(h){return h.evaluate(Z3)}};var Q3=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],m={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[p,_]of Object.entries(m))document.querySelectorAll(_).forEach(b=>{if(y.length>=30||b.closest(h)||typeof isVisible=="function"&&!isVisible(b))return;let w=b.parentElement,R=null;for(;w&&w!==document.body;){if(w.matches(_)){R=w;break}w=w.parentElement;}if((p==="banner"||p==="contentinfo")&&b.closest("article, section, aside, main, nav")||!R||b.getAttribute("aria-label")?.trim()||b.getAttribute("aria-labelledby")?.trim())return;let A=typeof uniqueSel=="function"?uniqueSel(b):"",E=typeof getNearbyContext=="function"?getNearbyContext(b):{nearbyHeading:""};y.push({selector:A,attribute:"role",currentValue:b.getAttribute("role")||b.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${b.tagName.toLowerCase()} | heading: ${E.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(b.outerHTML||"").slice(0,300)});});return y},wh={name:"nestedLandmarks",cap:30,async detect(h){return h.evaluate(Q3)}};var eI=()=>{let f=[],y=A=>typeof parseCssColor=="function"?parseCssColor(A):null,m=(A,E,T)=>typeof relLuminance=="function"?relLuminance(A,E,T):0,_=(A,E)=>typeof contrastRatio=="function"?contrastRatio(A,E):1;function v(A){let E=A.parentElement,T=0;for(;E&&E!==document.documentElement&&T<6;){let x=getComputedStyle(E).backgroundColor||"",C=y(x);if(C&&C[3]>.5)return [C[0],C[1],C[2]];E=E.parentElement,T++;}return [255,255,255]}function b(A,E,T){return "#"+[A,E,T].map(x=>{let C=Math.max(0,Math.min(255,Math.round(x))).toString(16);return C.length===1?"0"+C:C}).join("")}function w(A,E,T){let C=m(E[0],E[1],E[2])>.5,k=0,I=1,P=null;for(let q=0;q<20;q++){let z=(k+I)/2,G=C?[A[0]*(1-z),A[1]*(1-z),A[2]*(1-z)]:[A[0]+(255-A[0])*z,A[1]+(255-A[1])*z,A[2]+(255-A[2])*z];_(G,E)>=T?(P=[Math.round(G[0]),Math.round(G[1]),Math.round(G[2])],I=z):k=z;}return P}let R=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let A of R){if(f.length>=30)break;if(isWidget(A)||isHiddenFromAT(A)||!isVisible(A))continue;let E=getComputedStyle(A),T=v(A),x=y(E.backgroundColor||""),C=y(E.borderTopColor||""),k=parseFloat(E.borderTopWidth||"0"),I=(E.borderTopStyle||"").toLowerCase(),P=k>0&&I!=="none"&&I!=="hidden",q=A.tagName.toLowerCase(),z=q==="input"||q==="select"||q==="textarea",G=P&&C&&C[3]>.5?_([C[0],C[1],C[2]],T):null,U=x&&x[3]>.5?_([x[0],x[1],x[2]],T):null,N=G===null&&U===null?null:Math.max(G??0,U??0),j=null,K=false,Z="";if(z)N!==null?(j=N,N<3&&(K=true)):(K=true,j=1);else {let He=false,Me=document.createTreeWalker(A,4),Ye=Me.nextNode();for(;Ye;){if((Ye.textContent||"").trim()&&Ye.parentElement&&isVisible(Ye.parentElement)){He=true;break}Ye=Me.nextNode();}if(He)continue;let Se=Array.from(A.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),vr=new Map,Gn=ue=>{let At=ue.getBoundingClientRect();if(At.width*At.height===0)return "absent";let Gt=parseFloat(getComputedStyle(A).opacity||"1");for(let Wt=ue;Wt&&Wt!==A;Wt=Wt.parentElement){let gt=getComputedStyle(Wt);if(gt.display==="none")return "absent";if(gt.visibility==="hidden"||parseFloat(gt.opacity||"1")===0)return "hidden-at-rest";Gt*=parseFloat(gt.opacity||"1");}return vr.set(ue,Gt),"painted"},Wn=Se.map(Gn),lr=Se.filter((ue,At)=>Wn[At]==="painted"),aa=lr.length>0,ja=!aa&&Wn.includes("hidden-at-rest"),zt=ue=>{let At=(ue.tagName||"").toLowerCase();if(At==="img"||At==="picture"||At==="canvas"||At==="svg"&&ue.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Gt=[];if(At==="svg"){let gt=ue.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let Qt of [gt,ue]){if(!Qt)continue;let tt=getComputedStyle(Qt),Hr=1;for(let We=Qt;We&&We!==ue;We=We.parentElement||We.parentNode)Hr*=parseFloat(getComputedStyle(We).opacity||"1");let na=We=>Number.isFinite(parseFloat(We))?parseFloat(We):1;if(tt.fill&&tt.fill!=="none"&&!tt.fill.startsWith("url")&&Gt.push({color:tt.fill,alpha:Hr*na(tt.fillOpacity)}),tt.stroke&&tt.stroke!=="none"&&!tt.stroke.startsWith("url")&&parseFloat(tt.strokeWidth||"0")>0&&Gt.push({color:tt.stroke,alpha:Hr*na(tt.strokeOpacity)}),Gt.length)break}}else ((ue.textContent||"").trim()||getComputedStyle(ue,"::before").content!=="none")&&Gt.push({color:getComputedStyle(ue).color,alpha:1});let Wt=null;for(let gt of Gt){let Qt=y(gt.color);if(!Qt)continue;let tt=Qt[3]*gt.alpha*(vr.get(ue)??1),Hr=[Qt[0]*tt+T[0]*(1-tt),Qt[1]*tt+T[1]*(1-tt),Qt[2]*tt+T[2]*(1-tt)],na=_(Hr,T);(Wt===null||na>Wt)&&(Wt=na);}return Wt};if(aa&&lr.map(zt).some(At=>At!==null&&At>=3))continue;let kt=false,Fr=E.position;if((Fr==="absolute"||Fr==="fixed")&&A.parentElement){let ue=A.getBoundingClientRect(),At=A.parentElement.getBoundingClientRect(),Gt=At.width*At.height;Gt>0&&ue.width*ue.height/Gt>=.85&&(kt=true);}if(aa||kt||ja){if(K=true,j=P&&C&&C[3]>.5?_([C[0],C[1],C[2]],T):1,j>=3)continue;Z=aa?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ja?"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?(j=N,N<3&&(K=true)):(K=true,j=1);}if(!K)continue;let re=C&&C[3]>.5?[C[0],C[1],C[2]]:x&&x[3]>.5?[x[0],x[1],x[2]]:[128,128,128],ae=w(re,T,3);if(!ae)continue;let ne=b(ae[0],ae[1],ae[2]),ge=b(T[0],T[1],T[2]),ye="border: 1px solid "+ne+" !important;",Re=uniqueSel(A),me=A.tagName.toLowerCase(),Ee=N===null&&!P?"invisible (no border, no fill: 1.00:1)":j?j.toFixed(2)+":1":"not measurable",Xe=me==="input"||me==="select"||me==="textarea"?me+" field":me,Je=Z?"non-text contrast: "+Xe+" boundary is "+Ee+" against "+ge+" (needs 3:1) \u2014 "+Z:"non-text contrast: "+Xe+" boundary (border and fill) is "+Ee+" against "+ge+", needs 3:1 \u2014 e.g. border-color "+ne;f.push({selector:Re,message:Je,attribute:"style",currentValue:j?j.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:me+" bg="+ge+" ratio="+(j?j.toFixed(2):"?")+" needs=3",needsAI:false,...Z?{needsReview:true,reviewReason:Z}:{fixValue:ye},outerHtml:A.outerHTML.slice(0,200)});}return f},xh={name:"nonTextContrast",cap:30,async detect(h){return h.evaluate(eI)}};var tI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let _ of Array.from(p)){if(y.length>=20)break;if(_.closest(h))continue;let v=_.getAttribute("onfocus")||"";if(!v||!m.test(v))continue;let b=typeof uniqueSel=="function"?uniqueSel(_):"",w=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("tag: "+_.tagName.toLowerCase()),R.push("onfocus: "+v.slice(0,100)),w.nearbyHeading&&R.push("heading: "+w.nearbyHeading),R.push("parent: "+w.parentTag),y.push({selector:b,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:R.join(" | "),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}return y},Dh={name:"onFocus",cap:20,async detect(h){return h.evaluate(tI)}};var rI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",m=[],p=new Set,_=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(m.length>=30||b.closest(h))return;let w=b.tagName;if(w==="BODY"||w==="HTML"||!isVisible(b)||isHiddenFromAT(b)||b.hasAttribute("tabindex"))return;let R=b.getAttribute("role");if(R&&_.has(R))return;let A=getComputedStyle(b),E=A.overflowY,T=A.overflowX,x=E==="auto"||E==="scroll",C=T==="auto"||T==="scroll";if(!x&&!C)return;let k=x&&b.scrollHeight-b.clientHeight>50,I=C&&b.scrollWidth-b.clientWidth>50;if(!k&&!I||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 q=uniqueSel(b);if(p.has(q))return;p.add(q);let{nearbyHeading:z}=getNearbyContext(b),G="";if(z)G=z;else {let j=(typeof b.className=="string"?b.className:"").toLowerCase(),K=(b.id||"").toLowerCase();j.includes("code")||j.includes("snippet")||w==="PRE"||w==="CODE"?G="Code block":j.includes("terms")||j.includes("tos")||j.includes("legal")?G="Terms and conditions":j.includes("chat")||j.includes("message")?G="Chat messages":j.includes("table")||j.includes("data")?G="Data table":K?G=K.replace(/[-_]/g," "):G="Scrollable content";}let U=(b.outerHTML||"").slice(0,300);m.push({selector:q,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:w.toLowerCase(),overflowY:x?E:void 0,overflowX:C?T: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:U}),R||m.push({selector:q,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:w.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:U}),b.getAttribute("aria-label")||b.getAttribute("aria-labelledby")||m.push({selector:q,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:w.toLowerCase(),labelHint:G,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:U});}),m},_h={name:"scrollableFocus",cap:30,async detect(h){return h.evaluate(rI)}};var aI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",y=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],m=[],p=document.querySelectorAll("b, i");for(let _=0;_<p.length&&!(m.length>=30);_++){let v=p[_];if(v.closest(h)||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 T=false;for(let x=0;x<y.length;x++)if(b.indexOf(y[x])!==-1){T=true;break}if(T)continue}let w=(v.textContent||"").trim();if(!w)continue;let R=v.tagName.toLowerCase(),A=R==="b"?"strong":"em",E=uniqueSel(v);m.push({selector:E,attribute:"tagName",currentValue:R,fixValue:A,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+R+'> used for "'+w.slice(0,60)+'". Replace with <'+A+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:v.outerHTML.slice(0,300)});}return m},Ah={name:"semanticEmphasis",cap:30,async detect(h){return h.evaluate(aI)}};var nI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=[],y=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],m=false;for(let E of y){let T=document.querySelector(E);if(T&&!T.closest(h)){m=true;break}}if(!m){let E=document.querySelectorAll('a[href^="#"]');for(let T of E){if(T.closest(h))continue;let x=(T.textContent||"").toLowerCase();if(x.includes("skip")&&(x.includes("main")||x.includes("content")||x.includes("nav"))){m=true;break}}}if(m||Array.from(document.querySelectorAll('main, [role="main"]')).filter(E=>{let T=getComputedStyle(E);if(T.display==="none"||T.visibility==="hidden"||E.closest('[hidden], [aria-hidden="true"]'))return false;let x=E.getBoundingClientRect();return x.width>0&&x.height>0}).length===1)return f;let _="",v=document.querySelector('main[id], [role="main"][id]');if(v&&v.getAttribute("id"))_=v.getAttribute("id");else {let E=document.querySelector("h1[id]");if(E&&E.getAttribute("id"))_=E.getAttribute("id");else {let T=["main-content","maincontent","main","content","skip-content"];for(let x of T)if(document.getElementById(x)){_=x;break}}}let b=_==="",w=_||"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="#'+w+'" class="wa-skip-link">Skip to main content</a>';return f.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context: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 #"+w,needsAI:false,fixValue:A,...b?{manualFix:true}:{}}),f},Eh={name:"skipLink",async detect(h){return h.evaluate(nI)}};var iI=()=>{let y=[],m=document.querySelectorAll("*"),p=0;for(let _ of Array.from(m)){if(p++>5e3||y.length>=20)break;if(_.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(_))continue;let b=getComputedStyle(_).backgroundImage||"";if(!b||b==="none"||!b.includes("url("))continue;let w=b.match(/url\((['"]?)(.*?)\1\)/);if(!w)continue;let R=w[2];if(!R||R.startsWith("data:")&&R.length<256)continue;let A=_.getBoundingClientRect();if(A.width<32||A.height<32)continue;let E=_.tagName.toLowerCase(),T=_.getAttribute("role")||"",x=E==="a"||E==="button"||T==="button"||T==="link"||_.closest("a,button,[role=button],[role=link]")!==null,C=(_.textContent||"").trim().length>0,k=!!_.getAttribute("aria-label"),I=!!_.getAttribute("aria-labelledby"),P=!!_.getAttribute("title"),q=!!_.querySelector('img[alt]:not([alt=""])');if(_.closest('[aria-hidden="true"]')){let j=_.closest("a[href]");if(!!j&&Array.from(document.querySelectorAll("a[href]")).some(Z=>Z!==j&&Z.href===j.href&&!Z.closest('[aria-hidden="true"]')))continue}if(k||I||P||q||C||!x)continue;let z=_.closest("a,button,[role=button],[role=link]");if(z&&z!==_){let j=(z.textContent||"").trim(),K=z.getAttribute("aria-label")||z.getAttribute("title")||"",Z=z.getAttribute("aria-labelledby"),re=!!z.querySelector('img[alt]:not([alt=""])');if(j||K.trim()||Z||re)continue}let G=R;try{G=new URL(R,location.href).toString();}catch{continue}let U=typeof uniqueSel=="function"?uniqueSel(_):"",N=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:E,nearbyHeading:""};y.push({selector:U,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${G.slice(0,140)} | tag: ${E} | role: ${T||"(none)"} | parent: ${N.parentTag}${N.nearbyHeading?" | heading: "+N.nearbyHeading:""}`,needsAI:true,imageSrc:G,outerHtml:(_.outerHTML||"").slice(0,300)});}return y},Ch={name:"backgroundImages",cap:20,async detect(h){return h.evaluate(iI)}},oI=()=>{let h=[],f=Array.from(document.querySelectorAll("h1")),y=f.filter(m=>{if(m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||m.getClientRects().length===0)return false;let p=getComputedStyle(m).visibility;return p==="hidden"||p==="collapse"?false:(m.textContent||"").trim().length>0});if(y.length===0)h.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${f.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(y.length>1)for(let m=1;m<y.length&&m<5;m++){let p=y[m],_=typeof uniqueSel=="function"?uniqueSel(p):"";h.push({selector:_,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${y.length} <h1> elements on page. Text: ${JSON.stringify((p.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(p.outerHTML||"").slice(0,200)});}return h},Sh={name:"h1Presence",async detect(h){return h.evaluate(oI)}},sI=()=>{let f=[],y=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let m of Array.from(y)){if(f.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m)||(m.textContent||"").trim().length>0)continue;let _=m.getAttribute("aria-label");if(_&&_.trim()||m.getAttribute("aria-labelledby")||m.getAttribute("aria-hidden")==="true")continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:v,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${m.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(m.outerHTML||"").slice(0,200)});}return f},kh={cap:15,name:"emptyHeadings",async detect(h){return h.evaluate(sI)}},lI=()=>{let f=[],y=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let m of Array.from(y)){if(f.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m))continue;let p=(m.getAttribute("role")||"").toLowerCase();if(p==="button")continue;let _=(m.textContent||"").trim();if(!_)continue;let v=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:v,attribute:"role",currentValue:p||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(_.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Th={cap:15,name:"javascriptLinks",async detect(h){return h.evaluate(lI)}};var uI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[];return document.querySelectorAll("svg").forEach(p=>{if(y.length>=50||p.closest(h)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let v=p.getAttribute("role");if(v==="presentation"||v==="none"||p.closest('[aria-hidden="true"]'))return;let b=p.getAttribute("aria-label")||"",w=p.getAttribute("aria-labelledby")||"",R=p.querySelector("title"),A=R?(R.textContent||"").trim():"";if(b.trim()||w.trim()||A)return;let E=p.getBoundingClientRect(),T=E.width<=16&&E.height<=16;if(E.width<=4||E.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let x=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(x){if(x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let K=getAccessibleName(x),Z=x.cloneNode(true);Z.querySelectorAll("svg").forEach(ae=>ae.remove());let re=(Z.textContent||"").trim().replace(/\s+/g," ");if(K&&re.length>0)return}else {if(T)return;let K=p.parentElement;if(K&&(K.textContent||"").trim().replace(/\s+/g," ").length>3)return}let C=uniqueSel(p),k=getNearbyContext(x||p),I=x&&x.getAttribute("href")||"",P=(x||p).outerHTML.slice(0,300),q=p.getAttribute("class")||"",z=p.getAttribute("data-icon")||"",G=x||p,U=G&&G!==p&&G.getAttribute("class")||"",N=typeof lookupIconLabel=="function"?lookupIconLabel(String(q),z,"")||lookupIconLabel(String(U),"",""):null,j=x?uniqueSel(x):C;y.push({selector:j,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(x||p).tagName?(x||p).tagName.toLowerCase():"svg",href:I,nearbyHeading:k.nearbyHeading,parentRole:k.parentRole,svgClasses:q,iconLib:N||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!N,fixValue:N||void 0,outerHtml:P});}),y},Fh={name:"svgNames",cap:50,async detect(h){return h.evaluate(uI)}};var cI=()=>{let y=[],m=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),p=m;function _(w,R){let A=Array.from(w.getClientRects()).filter(C=>C.height>0);if(!A.length)return false;let E=document.createTreeWalker(R,NodeFilter.SHOW_TEXT),T,x=0;for(;(T=E.nextNode())&&x<400;){x++;let C=T.parentElement;if(!C||w.contains(T)||!/[\p{L}\p{N}]{2,}/u.test(T.textContent||"")||C.closest(p))continue;let k=document.createRange();k.selectNodeContents(T);for(let I of Array.from(k.getClientRects()))if(!(I.width===0||I.height===0)){for(let P of A)if(Math.min(P.bottom,I.bottom)-Math.max(P.top,I.top)>Math.min(P.height,I.height)/2)return true}}return false}let v=document.querySelectorAll(m),b=[];for(let w of v){if(typeof isWidget=="function"&&isWidget(w)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(w)||typeof isVisible=="function"&&!isVisible(w)||!w.offsetParent&&w.tagName!=="BODY")continue;let R=w.getBoundingClientRect();R.width===0&&R.height===0||b.push({el:w,rect:R});}for(let{el:w,rect:R}of b){if(y.length>=50)break;let A=R.width,E=R.height;if(A>=24&&E>=24)continue;let T=w.parentElement;if(T&&getComputedStyle(w).display==="inline"){if(Array.from(T.childNodes).some(K=>K.nodeType===3&&(K.textContent||"").trim().length>3))continue;let j=T;for(;j&&j!==document.body&&getComputedStyle(j).display.startsWith("inline");)j=j.parentElement;if(j&&_(w,j))continue}let x=false,C=R.left+R.width/2,k=R.top+R.height/2;for(let N of b){if(N.el===w||N.el.contains(w)||w.contains(N.el))continue;if(N.rect.width<24||N.rect.height<24){let K=N.rect.left+N.rect.width/2,Z=N.rect.top+N.rect.height/2;if(Math.hypot(C-K,k-Z)<24){x=true;break}}else {let K=Math.max(N.rect.left-C,0,C-N.rect.right),Z=Math.max(N.rect.top-k,0,k-N.rect.bottom);if(Math.hypot(K,Z)<12){x=true;break}}}if(!x&&A>=1&&E>=1)continue;let P=Math.max(0,24-E),z=Math.ceil(P/2),G=[];G.push("min-width:24px"),G.push("min-height:24px"),G.push("display:inline-block"),G.push("box-sizing:border-box"),z>0&&G.push("padding-top:"+z+"px"),z>0&&G.push("padding-bottom:"+z+"px");let U=typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase();y.push({selector:U,attribute:"style",currentValue:Math.round(A)+"x"+Math.round(E)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${w.tagName.toLowerCase()} is ${Math.round(A)}x${Math.round(E)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:G.join(";")+";",outerHtml:w.outerHTML.slice(0,200)});}return y},Rh={name:"targetSize",cap:50,async detect(h){return h.evaluate(cI)}};var dI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,p=document.querySelectorAll('[style*="important" i]');for(let _ of Array.from(p)){if(y.length>=30)break;if(_.closest(h))continue;let v=_.getAttribute("style")||"";if(!m.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 w=typeof uniqueSel=="function"?uniqueSel(_):"",R=typeof getNearbyContext=="function"?getNearbyContext(_):{parentTag:_.tagName.toLowerCase(),nearbyHeading:""},A=[];A.push("blocked: "+b.join(",")),A.push("tag: "+_.tagName.toLowerCase()),R.nearbyHeading&&A.push("heading: "+R.nearbyHeading),A.push("parent: "+R.parentTag),y.push({selector:w,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:A.join(" | "),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}return y},Ih={name:"textSpacing",cap:30,async detect(h){return h.evaluate(dI)}};var fI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of m){if(y.length>=50)break;if(p.closest(h)||!isVisible(p))continue;let _=p,v=(_.getAttribute("aria-label")||"").trim(),b=_.getAttribute("aria-labelledby"),w=(_.getAttribute("title")||"").trim(),R=(_.getAttribute("value")||"").trim(),A=(_.textContent||"").trim().replace(/\s+/g," "),E="";b&&(E=typeof __resolveIdRefs=="function"?__resolveIdRefs(b):"");let T=_.querySelector('img[alt]:not([alt=""])'),x=_.querySelector("svg title"),C=_.querySelector("svg[aria-label]");if(!!(v||E||w||R||A||T||x||C))continue;let I=uniqueSel(_),P=getNearbyContext(_),q=_.closest("form"),z=q&&(q.getAttribute("id")||q.getAttribute("name"))||"",G=_.className||"",U=_.querySelector('i, svg, span[class*="icon"]'),N=U&&U.className||"",j=U&&U.getAttribute("data-icon")||"",K=U?(U.textContent||"").trim():"",Z=typeof lookupIconLabel=="function"?lookupIconLabel(String(N),j,K):null,re=!Z&&typeof lookupIconLabel=="function"?lookupIconLabel(String(G),"",""):null,ae=Z||re,ne=[];z&&ne.push("form: "+z),P.nearbyHeading&&ne.push("heading: "+P.nearbyHeading),N&&ne.push("icon: "+String(N).slice(0,80)),G&&ne.push("class: "+String(G).slice(0,80)),ne.push("parent: "+P.parentTag),ae&&ne.push("icon-lib: "+ae),y.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ne.join(" | "),needsAI:!ae,fixValue:ae||void 0,outerHtml:_.outerHTML.slice(0,300)});}return y},Lh={name:"unlabeledButtons",cap:50,async detect(h){return h.evaluate(fI)}};var pI=()=>{let h=new Set(ALWAYS_VAGUE_WORDS),f=new Set(CONTEXT_VAGUE_WORDS),y={};function m(N,j){if(isWidget(N)||!isVisible(N))return;let K=getAccessibleName(N);if(!K)return;let Z=(j?"b:":"a:")+K.toLowerCase().trim();y[Z]=(y[Z]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(N=>m(N,true)),document.querySelectorAll("a[href]").forEach(N=>m(N,false));let p=isIconClassToken,_=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function v(N,j){return _.test(N)?1:j}let b=50,w=[];function R(N){if((N.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let K=N.querySelectorAll("i, span, em");for(let Z of K)if((typeof Z.className=="string"?Z.className:"").split(/\s+/).some(p))return true;return false}function A(N){let j=N.className||"";return typeof j!="string"?false:j.split(/\s+/).some(p)}function E(N,j){if(w.length>=b||isWidget(N)||!isVisible(N))return;let K=getAccessibleName(N);if(!K)return;let Z=K.toLowerCase().trim(),re=false,ae=K.length>=2&&/^[A-Z][A-Z0-9]+$/.test(K.trim()),ne=!j&&/^[[(]?\d{1,4}[\])]?$/.test(K.trim());if(K.length<v(K,3)&&!ae&&!ne)re=true;else if(h.has(Z))re=true;else if(f.has(Z)&&(y[(j?"b:":"a:")+Z]||0)>=2){let Ee=(N.getAttribute("aria-label")||"").trim().toLowerCase(),Xe=!!N.getAttribute("aria-labelledby")||!!Ee&&Ee!==Z,Je=N.querySelector&&N.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),He=Je?(Je.textContent||"").trim().toLowerCase():"";!Xe&&!(Je&&He!==Z)&&(re=true);}else (R(N)||A(N)&&K.length===0)&&(N.getAttribute("aria-label")||N.getAttribute("aria-labelledby")||N.querySelector&&N.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(re=true));if(!re)return;let ge=getNearbyContext(N),ye=uniqueSel(N),Re=N.getAttribute("href")||"",me=N.outerHTML.slice(0,300);w.push({selector:ye,attribute:"aria-label",currentValue:(N.getAttribute("aria-label")||"").trim(),message:(j?"weak button name: ":"weak link name: ")+(N.getAttribute("aria-label")||N.getAttribute("aria-labelledby")?`"${K}" is too generic for a control \u2014 add distinguishing context`:`text "${K}" is too generic for a control \u2014 add distinguishing context`),issueType:j?"weak_button_name":"weak_link_name",wcag:j?"4.1.2":"2.4.4",context:JSON.stringify({currentText:K,href:Re,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(N=>E(N,true)),document.querySelectorAll("a[href]").forEach(N=>E(N,false));let T=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,x=/^(iframe|embed|widget|frame|content|untitled)$/i,C=/^(skip|go|→|\->|main|content)$/i,k=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 I(N){return !!(!N||N.getAttribute("aria-hidden")==="true"||N.closest('[aria-hidden="true"]'))}function P(N,j,K,Z,re,ae){if(w.length>=b)return;let ne=uniqueSel(N),ge=(N.outerHTML||"").slice(0,300);w.push({selector:ne,attribute:j,currentValue:K,issueType:Z,wcag:re,context:JSON.stringify(ae),needsAI:true,outerHtml:ge});}let q=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let N=0;N<q.length&&!(w.length>=b);N++){let j=q[N];if(!j||isWidget(j)||I(j)||!isVisible(j))continue;let K=getAccessibleName(j);if(!K)continue;let Z=K.toLowerCase().trim(),re=Z.split(/\s+/).filter(Boolean),ae=false;if((K.length<v(K,3)||re.length===1&&(h.has(Z)||k.has(Z))||/^page\s*\d+$/i.test(Z)||/^section\s*\d+$/i.test(Z)||/^chapter\s*\d+$/i.test(Z)||/^[^\p{L}\p{N}]+$/u.test(K))&&(ae=true),!ae)continue;let ne=getNearbyContext(j);P(j,"textContent",K,"weak_heading","2.4.6",{currentText:K,tag:j.tagName.toLowerCase(),nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag,parentRole:ne.parentRole});}let z=document.querySelectorAll("iframe");for(let N=0;N<z.length&&!(w.length>=b);N++){let j=z[N];if(!j||isWidget(j)||I(j))continue;let K=getComputedStyle(j);if(j.getClientRects().length===0||K.visibility==="hidden"||K.visibility==="collapse"||(j.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let Z=(j.getAttribute("title")||"").trim();if(!Z)continue;let re=Z.toLowerCase(),ae=false;if((Z.length<v(Z,3)||x.test(re)||h.has(re))&&(ae=true),!ae)continue;let ne=(j.getAttribute("src")||"").slice(0,120),ge=getNearbyContext(j);P(j,"title",Z,"weak_iframe_title","4.1.2",{currentTitle:Z,src:ne,nearbyHeading:ge.nearbyHeading,parentTag:ge.parentTag});}if(w.length<b){let N=document.querySelector("head > title, title"),j=(document.title||"").trim();if(N&&j){let K=j.toLowerCase(),Z=false;(j.length<v(j,5)||T.test(K)||/^untitled/i.test(j))&&(Z=true),Z&&w.push({selector:"title",attribute:"textContent",currentValue:j,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:j,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(N.outerHTML||"").slice(0,300)});}}let G=document.querySelectorAll("svg");for(let N=0;N<G.length&&!(w.length>=b);N++){let j=G[N];if(!j||isWidget(j)||I(j)||j.getAttribute("role")==="presentation"||j.getAttribute("role")==="none"||!isVisible(j))continue;let K=j.querySelector("title"),Z=K?(K.textContent||"").trim():"",re=(j.getAttribute("aria-label")||"").trim(),ae=re||Z;if(!ae)continue;let ne=ae.toLowerCase(),ge=false;if((ae.length<v(ae,3)||h.has(ne)||/^(icon|svg|image|graphic|logo)$/i.test(ae))&&(ge=true),!ge)continue;let ye=j.closest('a, button, [role="button"], [role="link"]'),Re=getNearbyContext(j);P(j,re?"aria-label":"title",ae,"weak_svg_name","1.1.1",{currentName:ae,svgClasses:j.getAttribute("class")||"",parentTag:ye?ye.tagName.toLowerCase():Re.parentTag,parentHref:ye&&ye.getAttribute("href")||"",nearbyHeading:Re.nearbyHeading});}let U=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 N=0;N<U.length&&!(w.length>=b);N++){let j=U[N];if(!j||isWidget(j)||I(j))continue;let K=getAccessibleName(j);if(!K)continue;let Z=K.toLowerCase().trim(),re=false;if((K.length<v(K,4)||C.test(Z)||Z==="skip"||Z==="skip link"||Z==="jump")&&(re=true),!re)continue;let ae=j.getAttribute("href")||"";w.push({selector:uniqueSel(j),attribute:"textContent",currentValue:K,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:K,href:ae}),needsAI:false,fixValue:"Skip to main content",outerHtml:(j.outerHTML||"").slice(0,300)});}return w},Ph={name:"weakNames",cap:50,async detect(h){return h.evaluate(pI)}};var mI=()=>{let f=[],y=document.querySelector('meta[name="viewport"]');if(y){let p=(y.getAttribute("content")||"").trim(),_=p.toLowerCase(),v=false,b=[];(_.indexOf("user-scalable=no")>=0||_.indexOf("user-scalable=0")>=0)&&(v=true,b.push("user-scalable=no blocks pinch-zoom"));let w=_.match(/maximum-scale\s*=\s*([\d.]+)/);w&&parseFloat(w[1])<2&&(v=true,b.push("maximum-scale="+w[1]+" (<2)")),v&&f.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+b.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<m.length&&!(f.length>=5);p++){let _=m[p];if(_.el)try{let b=(getComputedStyle(_.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(b==="none"||b==="pinch-zoom")&&f.push({selector:_.selector,attribute:"style",currentValue:"touch-action: "+b,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+b+" on <"+_.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return f},Mh={name:"zoomUnlock",cap:5,async detect(h){return h.evaluate(mI)}};var hI=()=>{let h=[],f=document.querySelectorAll('main *, [role="main"] *, body > div *'),y=new Set,m=Math.min(f.length,200);for(let p=0;p<m;p++){let _=f[p];if(y.has(_)||!_.offsetParent)continue;y.add(_);let v=getComputedStyle(_),b=parseInt(v.order||"0",10),w=v.position;if(b>=3){let R=_.getBoundingClientRect();if(R.width>0&&R.height>0){let A=(_.textContent?.trim().length||0)>10,E=!!_.querySelector("a, button, input, select, textarea");(A||E)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.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(w==="absolute"){if(!!!_.querySelector("a, button, input, select, textarea"))continue;let A=_.parentElement;if(!A||A.children.length<=2)continue;let E=_.getBoundingClientRect(),T=A.getBoundingClientRect();(E.top<T.top-100||E.left<T.left-300)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${w}, displaced ${Math.round(Math.abs(E.top-T.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return h},Oh={name:"meaningfulSequence",async detect(h){return h.evaluate(hI)}};var Nh={name:"sensoryCharacteristics",async detect(h){let f=await h.evaluate(()=>{let m=[],p=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),_=Math.min(p.length,300);for(let v=0;v<_;v++){let b=p[v];if(!b.offsetParent||b.children.length>3)continue;let w=b.textContent?.trim()||"";w.length<15||w.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(w)&&m.push({text:w,selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase()});}return m.slice(0,20)});if(f.length===0)return [];let y=[];for(let{text:m,selector:p}of f){m.toLowerCase();let v=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(m)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(m),b=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(m)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m),w=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(m)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(m),R=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m);if(v||b||w||R){let A=v?"shape":b?"position":w?"color":"size";y.push({selector:p,attribute:"data-sensory-review",currentValue:m.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${A} alone: "${m.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return y}};var gI=()=>{let h=[];for(let f of document.styleSheets)try{for(let y of f.cssRules)if(y instanceof CSSMediaRule){let m=y.conditionText||y.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(m))for(let p of y.cssRules){let _=p.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(_)&&h.push({selector:"html",attribute:"data-orientation-lock",currentValue:m,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${m}" hides or rotates content. Content must not be restricted to a single orientation.`,needsAI:!1,fixValue:"Remove orientation-dependent display:none/visibility:hidden rules"});}}}catch{}return h},qh={name:"orientation",async detect(h){return h.evaluate(gI)}};var vI=()=>{let h=[],f=document.querySelectorAll("img");for(let y of f){if(!y.offsetParent||y.width<50||y.height<20||y.complete&&y.naturalWidth===0)continue;let m=y.src||y.getAttribute("data-src")||"",p=m.indexOf(","),_=(m.toLowerCase().startsWith("data:")&&p!==-1?m.slice(0,p):m).toLowerCase(),v=y.getAttribute("alt")||"",b=y.getAttribute("role")||"";if(y.getAttribute("aria-hidden")==="true"||!!y.closest('[aria-hidden="true"]')||b==="presentation"||b==="none"||y.hasAttribute("alt")&&v.trim()==="")continue;let R=y.width>200&&y.height<80&&y.height>15,A=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(_);if(!(A||R)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(_)&&!A)continue;let T=y.closest("a[href]"),x=(()=>{if(!T)return false;let U=T.getAttribute("href")||"";if(U==="/"||U==="")return true;try{let N=new URL(T.href,location.href);return N.origin!==location.origin?!1:!!(N.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(N.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(N.pathname))}catch{return false}})();if(x&&(T.textContent||"").trim().length===0)continue;let k="";if(T&&!x&&(T.textContent||"").trim().length===0)try{let U=new URL(T.href,location.href),N=v.trim().split(/\s+/).filter(Boolean);if(U.origin!==location.origin&&/^https?:$/.test(U.protocol)&&N.length>0&&N.length<=4&&v.trim().length<=40){let j=ne=>ne.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),K=j(v),Z=U.hostname.toLowerCase().split(".").filter(ne=>ne&&ne!=="www"),re=(Z.length>1?Z.slice(0,-1):Z).map(j).filter(Boolean);k=K.length>=3&&(K===j(Z.join(""))||K===re.join("")||re.some(ne=>K===ne||ne.length>=5&&K.startsWith(ne)))?"exempt":"review";}}catch{}let I=!!y.closest('header, [role="banner"], footer, [role="contentinfo"]'),P=y.height>0&&y.height<=120,q=I&&P,z=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,G=q||z.test(_)||z.test(y.className)||z.test(y.id||"");_.includes("icon")||_.includes("avatar")||_.includes("emoji")||h.push({selector:typeof uniqueSel=="function"?uniqueSel(y):"img",attribute:"data-image-of-text",currentValue:_.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${y.width}x${y.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:y.src,...G||k?{needsReview:true,reviewReason:q?"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 h},Bh={name:"imagesOfText",async detect(h){return h.evaluate(vI)}};var Hh={name:"reflow",async detect(h){let f=h;if(!f.setViewport)return [];let y=f.viewport?.()??{width:1280,height:720},m=y.width??1280,p=y.height??720;try{return await f.setViewport({width:320,height:p}),await new Promise(v=>setTimeout(v,500)),await h.evaluate(v=>{let b=[],w=document.querySelectorAll("body *"),R=Math.min(w.length,500);for(let A=0;A<R;A++){let E=w[A];if(!E.offsetParent)continue;let T=E.tagName.toLowerCase();if(T==="script"||T==="style"||T==="noscript")continue;let x=E.getBoundingClientRect();x.right>v+5&&x.width>v*1.1&&b.push({selector:typeof uniqueSel=="function"?uniqueSel(E):T,attribute:"style",currentValue:`${Math.round(x.width)}px wide at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(x.width)}px wide and overflows the ${v}px viewport by ${Math.round(x.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 f.setViewport({width:m,height:p}).catch(()=>{});}}};var bI=()=>{let h=[],f=document.querySelectorAll("video");for(let m of f){if(m.autoplay&&!m.muted&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(m):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(m.offsetParent!==null&&getComputedStyle(m).display!=="none"))continue;let _=m.getBoundingClientRect();if(_.width===0&&_.height===0||m.error)continue;let v=/mute|unmute|sound|volume|audio|play|pause/i,b=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let x=m.parentElement?.parentElement||null,C=0;x&&!b&&C<3;x=x.parentElement,C++)b=Array.from(x.querySelectorAll('button, [role="button"]')).some(k=>v.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!b)continue;let w=m.querySelectorAll("track"),R=Array.from(w).find(x=>x.kind==="captions"||x.kind==="subtitles"),A=Array.from(w).find(x=>x.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let T=typeof uniqueSel=="function"?uniqueSel(m):"video";R||h.push({selector:T,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),A||h.push({selector:T,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let y=document.querySelectorAll("audio");for(let m of y){let p=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||h.push({selector:p,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),m.autoplay&&!m.muted&&h.push({selector:p,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return h},Vh={name:"mediaAlternatives",cap:50,async detect(h){return (await h.evaluate(bI)).slice(0,50)}};var yI=()=>{let h=[],f=document.querySelector('meta[http-equiv="refresh"]');if(f){let I=f.getAttribute("content")||"",P=parseInt(I,10);!isNaN(P)&&P>0&&P<72e3&&h.push({selector:`meta[http-equiv="refresh"][content*="${I.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:I,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${P}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let y=document.querySelectorAll("[accesskey]");for(let I of y){let P=I.getAttribute("accesskey")||"";if(P.length===1){let q=typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase();h.push({selector:q,attribute:"accesskey",currentValue:P,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${P}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let m=document.querySelectorAll("select");for(let I of m){let P=I.hasAttribute("onchange"),q=I.getAttribute("onchange")||"";if(P&&/submit|location|href|navigate|window\./i.test(q)){let z=typeof uniqueSel=="function"?uniqueSel(I):"select";h.push({selector:z,attribute:"onchange",currentValue:q.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let p=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let I of p)if(!(I.hasAttribute("onclick")||I.hasAttribute("onkeydown")||I.hasAttribute("onkeyup"))){let q=typeof uniqueSel=="function"?uniqueSel(I):I.tagName.toLowerCase();h.push({selector:q,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 _=document.querySelectorAll("[onmousedown]");for(let I of _){let P=I.hasAttribute("onmouseup"),q=I.tagName.toLowerCase();if(!P&&q!=="a"&&q!=="button"&&q!=="input"){let z=typeof uniqueSel=="function"?uniqueSel(I):q;h.push({selector:z,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 I of v){let P=I.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(P)){h.push({selector:"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let b=document.querySelectorAll("form"),w='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',R=/\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,E=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,T=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,x=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,C=/\b(?:save|update|change)\b/i,k=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let I of b){let P=Array.from(I.querySelectorAll(w)),q=Me=>[Me.getAttribute("name"),Me.id,Me.getAttribute("autocomplete"),Me.getAttribute("placeholder"),Me.getAttribute("aria-label")].join(" "),z=Array.from(I.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(" . "),G=P.some(Me=>R.test(q(Me)))||Array.from(I.querySelectorAll("iframe")).some(Me=>A.test((Me.getAttribute("title")||"")+" "+(Me.getAttribute("name")||""))),U=P.some(Me=>/signature/i.test(q(Me))),N=G||E.test(z),j=T.test(z),K=U||x.test(z),Z=P.length>0&&P.some(Me=>(Me.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(q(Me)))&&P.every(Me=>{let Ye=Me.tagName.toLowerCase()==="input"?(Me.getAttribute("type")||"text").toLowerCase():Me.tagName.toLowerCase();return Ye==="email"||Ye==="checkbox"||Ye==="tel"?true:Ye==="text"||Ye==="search"?k.test(q(Me)+" "+(Me.closest("label")?.textContent||"")):false}),re=(I.textContent||"").toLowerCase(),ae=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(re),ne=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(re),ge=/delete.*account|remove.*data|cancel.*account/i.test(re),ye=N||j||K,Re=Z&&(C.test(z)||ge),me=!ye&&(!Z&&(ae||ne||ge)||Re);if(!ye&&!me)continue;let Ee=!!I.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Xe=!!I.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(Ee||Xe)continue;let Je=typeof uniqueSel=="function"?uniqueSel(I):"form",He=ye?N?"financial":j?"data-deletion":"legal":Re?ge?"data-deletion":"data-modification":ae?"financial":ne?"legal":"data-deletion";h.push({selector:Je,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:Re&&ge?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":Re?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${He} topics but its controls show no ${He} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return h},jh={name:"timingAndInput",async detect(h){return h.evaluate(yI)}};var wI=()=>{let h=[],f=k=>k.replace(/\/$/,"").replace(/\.html?$/,""),y=f(location.pathname),m=new Set;for(let k of Array.from(document.querySelectorAll("a[href]"))){let I;try{I=new URL(k.getAttribute("href")||"",location.href);}catch{continue}I.origin!==location.origin||f(I.pathname)===y||/\.(pdf|zip|docx?|xlsx?|pptx?|png|jpe?g|gif|svg|mp4|mp3)$/i.test(I.pathname)||m.add(f(I.pathname));}let p=5,_=!!document.querySelector('nav, [role="navigation"]')||m.size>=p,b=Array.from(document.querySelectorAll('button, a[href], [role="button"], [role="link"], [role="searchbox"], [role="combobox"]')).some(k=>{let I=k.cloneNode(true);return I.querySelectorAll("kbd").forEach(q=>q.remove()),[k.getAttribute("aria-label")||"",k.getAttribute("title")||"",I.textContent||""].some(q=>/^\s*(quick\s+|site\s+)?search(\s*(\u2026|\.\.\.)|\s+(docs|documentation|the site|this site))?\s*$/i.test(q))})||!!document.querySelector('input[type="search"], [role="search"], search, form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),w=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),R=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),A=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),E=[_,b,w,R,A].filter(Boolean).length;if(E<2&&document.querySelectorAll("a[href]").length>20){let k=[];b||k.push("search"),w||k.push("sitemap link"),R||k.push("breadcrumbs");let I=m.size<p;h.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${E} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${E} way(s) to navigate and links to ${m.size} other page(s) on this site. WCAG requires multiple ways to locate pages in a set (e.g., navigation + search, or navigation + sitemap). Consider adding: ${k.join(", ")}.`,needsAI:false,fixValue:`Add ${k[0]||"additional navigation method"}`,...I?{needsReview:true,reviewReason:`links to only ${m.size} other page(s) on this site \u2014 may be a single-page site, which 2.4.5 (a set of pages) does not cover`}:{}});}let T=document.querySelectorAll('nav, [role="navigation"]');for(let k of T){if(!k.offsetParent||k.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||k.parentElement?.closest('nav, [role="navigation"]'))continue;let I=k.getBoundingClientRect();if(I.top<=window.innerHeight)continue;let P=typeof uniqueSel=="function"?uniqueSel(k):"nav";h.push({selector:P,attribute:"data-nav-position",currentValue:`top: ${Math.round(I.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 x=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let k of x){if(!k.offsetParent)continue;let I=k.getBoundingClientRect();if(I.width<1||I.height<1||!(k.textContent||"").trim()&&!k.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(k).backgroundImage==="none")continue;let P=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();h.push({selector:P,attribute:"data-flashing",currentValue:k.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 C=document.querySelectorAll('img[src*=".gif"]');for(let k of C){if(!k.offsetParent||k.width<25||k.height<25)continue;let I=k.getBoundingClientRect();if(I.width>100&&I.height>100){let P=typeof uniqueSel=="function"?uniqueSel(k):"img";h.push({selector:P,attribute:"data-animated-gif",currentValue:(k.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return h},$h={name:"navigationAndWayfinding",async detect(h){return h.evaluate(wI)}};var zh={name:"flashDetection",async detect(h){let f=[];if(!h.screenshot)return f;let m=await h.evaluate(()=>{let A=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(A){let E=document.querySelectorAll("*");for(let T of E)T.style.removeProperty("animation-play-state"),T.style.removeProperty("transition");}return A}),p=8,_=120,v=9,b=3,w=[];for(let R=0;R<p;R++){let A=await h.evaluate(E=>{let T=window.innerWidth,x=window.innerHeight,C=3,k=3,I=[];for(let P=0;P<k;P++)for(let q=0;q<C;q++){let z=Math.floor((q+.5)*(T/C)),G=Math.floor((P+.5)*(x/k)),U=document.elementFromPoint(z,G);if(!U){I.push(0);continue}let j=getComputedStyle(U).backgroundColor||"rgba(0,0,0,0)",K=typeof parseCssColor=="function"?parseCssColor(j):null;if(!K){I.push(0);continue}let Z=.2126*K[0]+.7152*K[1]+.0722*K[2];I.push(Z);}return I},v);w.push(A),R<p-1&&await new Promise(E=>setTimeout(E,_));}m&&await h.evaluate(()=>{let R=document.querySelectorAll("*");for(let A of R)A.style.setProperty("animation-play-state","paused","important"),A.style.setProperty("transition","none","important");});for(let R=0;R<v;R++){let A=0,E=w[0][R],T=null;for(let k=1;k<p;k++){let I=w[k][R];if(Math.abs(I-E)>25){let q=I>E?"up":"down";T&&q!==T&&A++,T=q;}E=I;}let x=p*_/1e3,C=A/x;if(C>=b){let k=R%3,I=Math.floor(R/3);f.push({selector:"body",attribute:"data-flash-detected",currentValue:`${C.toFixed(1)} flashes/sec in region (${k},${I})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${C.toFixed(1)} times/second in screen region (row ${I}, 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 f}};var Gh={name:"reducedMotion",async detect(h){let f=[],y=await h.evaluate(()=>{let m=false,p=false;for(let v of document.styleSheets)try{for(let b of v.cssRules){let w=b.cssText||"";/animation|transition|@keyframes/i.test(w)&&!/prefers-reduced-motion/.test(w)&&(m=!0),b instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(b.conditionText||b.media?.mediaText||"")&&(p=!0);}}catch{}let _=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return _.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:p,animatedCount:_.length}});return y.hasAnimations&&!y.hasReducedMotionQuery&&f.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${y.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),f}};var OI=[Ph,bh,ah,Fh,H1,B1,dh,oh,nh,ih,Rh,U1,xh,Z1,Lh,vh,Q1,K1,Eh,V1,gh,sh,J1,Y1,ph,rh,hh,lh,uh,Mh,$1,fh,Ah,z1,G1,ch,Dh,Ih,wh,W1,yh,X1,Ch,Sh,kh,Th,j1,mh,_h,Oh,Nh,qh,Bh,Hh,Vh,jh,$h,zh,Gh];async function Zh(h,f,y,m){let p=f??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:x,ACCESSIBLE_NAME_JS:C,WIDGET_SKIP_JS:k,IS_HIDDEN_FROM_AT_JS:I,IS_TRACKING_PIXEL_JS:P,NEARBY_CONTEXT_JS:q}=await Promise.resolve().then(()=>(lu(),su)),{ICON_LABELS_JS:z}=await Promise.resolve().then(()=>(Uh(),Wh)),{COLOR_MATH_JS:G}=await Promise.resolve().then(()=>(Yh(),Xh)),N=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
-
`+[
|
|
382
|
-
`);try{await h.addScriptTag({content:N});}catch{await h.evaluate(`(0,eval)(${JSON.stringify(N)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(y??[]).push("color:kernel-injection-failed");}let _=[];try{let{detectPlatform:T,applyPlatformTemplates:x}=await Promise.resolve().then(()=>(Jh(),Kh)),C=await T(h);_=await x(h,C);}catch{}let v=await Promise.allSettled(OI.map(async T=>{try{let x=await T.detect(h);return T.cap&&x.length>=T.cap&&p.push({detector:T.name,cap:T.cap}),x}catch{return []}})),b=[];for(let T of [th,eh])try{let x=await T.detect(h);T.cap&&x.length>=T.cap&&p.push({detector:T.name,cap:T.cap}),b=b.concat(x);}catch{}let w=[...v.flatMap(T=>T.status==="fulfilled"?T.value:[]),...b],R=[..._,...w],A=NI(R),E=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return A.filter(T=>{let x=T.selector.toLowerCase();return x.trim()?!E.some(C=>x.includes(C)):false})}function NI(h){let f=new Set;return h.filter(y=>{let m=`${y.selector}::${y.issueType}`;return f.has(m)?false:(f.add(m),true)})}var Qh="1.6.0";async function rg(h,f){try{let{AxeBuilder:y}=await import('@axe-core/playwright');return await new y({page:h}).withTags(f).analyze()}catch{return qI(h,f)}}async function qI(h,f){let y=await Promise.resolve().then(()=>b3(tg())),m=y.source??y.default?.source;if(!m)throw new Error("axe-core source unavailable");return await h.addScriptTag({content:m}),await h.evaluate(_=>new Promise((v,b)=>{let w=window;if(!w.axe)return b(new Error("axe-core not loaded"));w.axe.run(document,{runOnly:{type:"tag",values:_},resultTypes:["violations","incomplete"]}).then(v).catch(b);}),f)}function cu(h){let f=[],y=[];for(let m of h)m.confidence==="needs_review"||HI(m)?y.push(m):f.push(BI(m));return {verdicts:f,undecided:y}}function BI(h){if(h.confidence===void 0&&h.reviewReason===void 0)return h;let{confidence:f,reviewReason:y,...m}=h;return m}function HI(h){let f=(h.type||"").toLowerCase(),y=h.wcag||"",m=h.html||"",p=(h.message||"").toLowerCase();if((f==="contrast_insufficient"||f==="color-contrast"||y==="1.4.3"||y==="1.4.11")&&VI(m))return "background uses gradient or image";if(f==="image_of_text"||y==="1.4.5"){let _=ag(m,"src").toLowerCase();_.startsWith("data:")&&(_=_.split(",")[0]);let v=ag(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(_))return "brand imagery";if(v.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(v))return "branded imagery"}return (f==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function VI(h){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(h)}function ag(h,f){let y=new RegExp(`\\b${f}\\s*=\\s*"([^"]*)"`,"i"),m=h.match(y);return m?m[1]:""}var jI=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),$I="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function zI(h){let{selectors:f,maxBoxes:y,maxW:m,maxH:p,maxArea:_}=h,v=document.documentElement.scrollWidth,b=document.documentElement.scrollHeight,w=document.createElement("canvas");w.width=w.height=1;let R=w.getContext("2d",{willReadFrequently:true}),A=I=>{try{R.clearRect(0,0,1,1),R.fillStyle="#000",R.fillStyle=I,R.fillRect(0,0,1,1);let P=R.getImageData(0,0,1,1).data;return [P[0],P[1],P[2],P[3]]}catch{return null}},E={},T=document.querySelectorAll("video,canvas,iframe,embed,object");if(T.length>200){for(let I of f)E[I]=null;return E}let x=Array.from(T).map(I=>I.getBoundingClientRect()),C=window.scrollX,k=window.scrollY;for(let I of f){E[I]=null;let P=null;try{P=document.querySelector(I);}catch{continue}if(!P)continue;let q=getComputedStyle(P);if(q.visibility!=="visible"||q.display==="none"||q.webkitBackgroundClip==="text"||q.backgroundClip==="text")continue;let z=false,G=0;for(let me=P;me;me=me.parentElement){if(++G>64){z=true;break}let Ee=getComputedStyle(me);parseFloat(Ee.opacity)<1&&(z=true),(Ee.transform!=="none"||Ee.mixBlendMode!=="normal"||Ee.filter!=="none")&&(z=true);}if(z)continue;let U=A(q.color);if(!U||U[3]<255)continue;let N=parseFloat(q.fontSize),j=parseInt(q.fontWeight,10)>=700,K=N>=24||j&&N>=18.66,Z=[],re=P.getBoundingClientRect();if(re.height>p*y||re.width>m*2)continue;let ae=document.createTreeWalker(P,NodeFilter.SHOW_TEXT),ne,ge=0,ye=false;for(;!ye&&(ne=ae.nextNode());){if(++ge>50){ye=true;break}if(ne.parentElement!==P)continue;let me=ne.textContent||"";if(me.length>2e3){ye=true;break}if(!me.trim())continue;let Ee=document.createRange();Ee.selectNodeContents(ne);let Xe=Ee.getClientRects();if(Xe.length>y){ye=true;break}for(let Je=0;Je<Xe.length;Je++){let He=Xe[Je];if(!(He.width<2||He.height<2)&&(Z.push({x:Math.round(He.left+C),y:Math.round(He.top+k),w:Math.max(1,Math.round(He.width)),h:Math.max(1,Math.round(He.height))}),Z.length>y)){ye=true;break}}}ye||Z.length===0||Z.length>y||Z.some(me=>me.w>m||me.h>p||me.w*me.h>_||me.x<0||me.y<0||me.x+me.w>v||me.y+me.h>b)||Z.some(me=>x.some(Ee=>me.x<Ee.right+C&&me.x+me.w>Ee.left+C&&me.y<Ee.bottom+k&&me.y+me.h>Ee.top+k))||(E[I]={fg:`rgb(${U[0]},${U[1]},${U[2]})`,threshold:K?3:4.5,boxes:Z});}return E}async function GI(h){let{b64:f,fg:y}=h,m=atob(f),p=new Uint8Array(m.length);for(let I=0;I<m.length;I++)p[I]=m.charCodeAt(I);let _=await createImageBitmap(new Blob([p],{type:"image/png"})),v=document.createElement("canvas");v.width=_.width,v.height=_.height;let b=v.getContext("2d",{willReadFrequently:true});b.drawImage(_,0,0);let w=b.getImageData(0,0,v.width,v.height).data,R=I=>{let P=I/255;return P<=.03928?P/12.92:Math.pow((P+.055)/1.055,2.4)},A=(I,P,q)=>.2126*R(I)+.7152*R(P)+.0722*R(q),E=y.match(/\d+/g).map(Number),T=A(E[0],E[1],E[2]),x=Math.max(1,Math.floor(Math.sqrt(v.width*v.height/1500))),C=0,k=0;for(let I=0;I<v.height;I+=x)for(let P=0;P<v.width;P+=x){let q=(I*v.width+P)*4;if(w[q+3]<255)continue;let z=A(w[q],w[q+1],w[q+2]),G=Math.max(T,z),U=Math.min(T,z),N=(G+.05)/(U+.05);N>C&&(C=N),k++;}return k===0?-1:C}var So=class extends Error{};function Bn(h,f){let y=f-Date.now();if(y<=0)return Promise.reject(new So("pixel pass deadline"));let m,p=new Promise((_,v)=>{m=setTimeout(()=>v(new So("pixel pass deadline")),y);});return Promise.race([h,p]).finally(()=>clearTimeout(m))}async function WI(h,f){let y=h.screenshot;if(typeof y!="function"||f.length===0)return [];let m=Array.from(new Set(f)).slice(0,60),p=[],_=false,v=Date.now()+8e3;try{await Bn(h.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),v);let b=await Bn(h.evaluate(zI,{selectors:m,maxBoxes:3,maxW:1200,maxH:300,maxArea:2e5}),v);await Bn(h.evaluate(R=>{let A=document.createElement("style");A.setAttribute("data-wa-contrast-probe",""),A.textContent=R,document.documentElement.appendChild(A);},$I),v),_=!0;let w=0;for(let R of m){let A=b[R];if(!A)continue;if(Date.now()>v||w+A.boxes.length>120)break;let E=0,T=!0;for(let x of A.boxes){w++;let C=await Bn(y.call(h,{clip:{x:x.x,y:x.y,width:x.w,height:x.h},fullPage:!0,type:"png",animations:"disabled"}),v),k=typeof Buffer<"u"?Buffer.from(C).toString("base64"):"",I=await Bn(h.evaluate(GI,{b64:k,fg:A.fg}),v);if(I<0){T=!1;break}I>E&&(E=I);}T&&p.push({selector:R,fail:E<A.threshold*.97,bestRatio:E,threshold:A.threshold,fg:A.fg});}}catch(b){process.env.WA_DEBUG_PIXELS&&console.error("pixel judge failed",b);}finally{if(_)try{await Promise.race([h.evaluate(()=>document.querySelectorAll("style[data-wa-contrast-probe]").forEach(b=>b.remove())),new Promise(b=>setTimeout(b,1e3))]);}catch{}}return p}function UI(h,f){let{confidence:y,reviewReason:m,...p}=h;return {...p,id:h.id.replace("axe-incomplete-","axe-"),impact:"serious",message:`contrast: ${f.fg} text on its rendered background is at best ${f.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${f.threshold}:1`}}async function ng(h,f,y){let m=f.filter(w=>w.wcag!=="1.4.3"||!w.selector?false:w.source==="axe-core"?jI.has(y.get(w.id)??""):w.type==="contrast_insufficient"&&/gradient or image/.test(w.reviewReason??""));if(m.length===0)return [];let p=await WI(h,m.map(w=>w.selector));process.env.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${m.length} candidates, ${p.length} measured, ${p.filter(w=>w.fail).length} fail`);let _=new Map(p.filter(w=>w.fail).map(w=>[w.selector,w])),v=[],b=new Set;for(let w of m){let R=_.get(w.selector);!R||b.has(w.selector)||(b.add(w.selector),v.push(UI(w,R)));}return v}async function XI(h){let f=C=>({verdict:"drop",why:C}),y=null;try{y=document.querySelector(h.selector);}catch{return f("bad selector")}if(!y||y.tagName!=="VIDEO")return f("not a video");let m=getComputedStyle(y),p=y.getBoundingClientRect();if(m.display==="none"||m.visibility==="hidden"||y.closest("[hidden]")||p.width<100||p.height<50)return f("not visible/large enough");if(y.error)return f("failed load");let _=y.currentSrc||y.getAttribute("src")||y.querySelector("source")?.getAttribute("src")||"";if(!_||/^(blob|data|about|javascript):/i.test(_)||/\.(m3u8|mpd)(\?|$)/i.test(_))return f("no direct src / MSE");let v=y.hasAttribute("muted")||y.muted,b=y.hasAttribute("controls"),w=y.hasAttribute("autoplay")||y.autoplay,R=y.hasAttribute("loop")||y.loop,A=b||w&&!v;if(!A){let C=/play|pause|mute|unmute|sound|volume/i;for(let k=y.parentElement,I=0;k&&I<3&&!A;k=k.parentElement,I++)A=Array.from(k.querySelectorAll('button, [role="button"]')).some(P=>C.test((P.getAttribute("aria-label")||"")+" "+(P.getAttribute("title")||"")+" "+(P.textContent||"")));}if(!A)return f("not user-playable");if(v&&R&&!b)return f("decorative loop");if(y.hasAttribute("muted")&&!b&&!w)return f("muted");if(Number.isFinite(y.duration)&&y.duration>0&&y.duration<5)return f("under 5s");await new Promise(C=>setTimeout(C,2e3));for(let C of Array.from(y.querySelectorAll("track"))){let k=(C.getAttribute("kind")||"subtitles").toLowerCase();if((k==="captions"||k==="subtitles")&&C.getAttribute("src"))return f("has caption track")}let E=y.textTracks;for(let C=0;E&&C<E.length;C++)if(E[C].kind==="captions"||E[C].kind==="subtitles")return f("has text track");let T=y,x=null;if(typeof T.mozHasAudio=="boolean"?x=T.mozHasAudio:T.audioTracks&&typeof T.audioTracks.length=="number"&&(x=T.audioTracks.length>0?true:null),x===null&&typeof T.webkitAudioDecodedByteCount=="number"&&T.webkitAudioDecodedByteCount>0&&(x=true),x===null)try{let C=new AbortController,k=setTimeout(()=>C.abort(),h.fetchMs),I=await fetch(_,{headers:{Range:"bytes=0-"+(h.rangeBytes-1)},signal:C.signal}),P=new Uint8Array(h.rangeBytes),q=0,z=I.body?I.body.getReader():null;if(z)try{for(;q<h.rangeBytes;){let{done:N,value:j}=await z.read();if(N||!j)break;let K=Math.min(j.length,h.rangeBytes-q);P.set(j.subarray(0,K),q),q+=K;}}finally{try{await z.cancel();}catch{}}clearTimeout(k);let G=(N,j=0)=>{e:for(let K=j;K<=q-N.length;K++){for(let Z=0;Z<N.length;Z++)if(P[K+Z]!==N[Z])continue e;return K}return -1},U=N=>Array.from(N).map(j=>j.charCodeAt(0));G(U("ftyp"))>=0&&G(U("moov"))>=0?x=G(U("hdlr"))>=0&&G(U("soun"))>=0:P[0]===26&&P[1]===69&&P[2]===223&&P[3]===163&&G([22,84,174,107])>=0&&(x=G([131,129,2])>=0);}catch{x=null;}return x!==true?f(x===false?"silent":"audio unknowable"):{verdict:"violation"}}async function ig(h,f){let y=f.filter(_=>_.type==="missing_captions"&&/^<video\b/i.test(_.html??"")&&_.selector).slice(0,10);if(y.length===0)return [];let m=[],p=Date.now()+1e4;try{await h.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let _ of y){if(Date.now()>p)break;let v=p-Date.now(),b,w=await Promise.race([h.evaluate(XI,{selector:_.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(R=>{b=setTimeout(()=>R(null),v);})]).finally(()=>b&&clearTimeout(b));if(!w)break;if(w.verdict==="violation"){let{confidence:R,reviewReason:A,...E}=_;m.push({...E,id:_.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return m}function lg(){let h=p=>{let _=p.getBoundingClientRect();if(_.width===0||_.height===0)return false;let v=window.getComputedStyle(p);return v.visibility!=="hidden"&&v.display!=="none"&&v.opacity!=="0"},f=Array.from(document.querySelectorAll('input[type="password"]')),y=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(h).map(p=>(p.value||p.textContent||"").trim().toLowerCase()).filter(p=>p.length>0&&p.length<40),m=Array.from(document.querySelectorAll("button, a")).filter(h).filter(p=>/sign in with|continue with|log in with/i.test(p.textContent||"")).length;return {passwordFields:f.length,visiblePasswordFields:f.filter(h).length,submitLabels:y,oauthButtons:m,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var YI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,KI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function og(h){try{let f=new URL(h).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(f)}catch{return false}}function ug(h,f,y){if(og(f))return null;let m=sg(f)!==sg(y),p=h.submitLabels.some(E=>YI.test(E)),_=KI.test(h.headingText),v=og(y),b=[];v&&b.push("url"),p&&b.push("submit"),_&&b.push("heading"),m&&b.push("redirected");let w=h.visiblePasswordFields>0,R=h.oauthButtons>0&&h.bodyTextLength<600&&h.formCount<=1;if(!w&&!R||b.length<2)return null;let A=`${w?"password-field":"oauth-only"}+${b.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${y}. 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:y}}function sg(h){try{let f=new URL(h);return `${f.origin}${f.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return h.toLowerCase()}}gu();async function hL(h){try{return await h.evaluate(()=>{let f=(document.title||"").toLowerCase(),y=[["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[_,v]of y)if(f.includes(_))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!1};let m=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[_,v]of m)if(document.querySelector(_))return {vendor:v,signal:`marker:${_}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let p=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[_,v]of p)if(f.includes(_))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function gL(h){try{return await h.evaluate(()=>{let f=document.querySelectorAll("body *").length;if(f>250)return null;let y=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of y)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:f}}catch{}let m=(document.title||"").toLowerCase();return m.includes("captcha")||m.includes("security check")||m.includes("bot verification")?{signal:`title:"${document.title}"`,elements:f}:null})}catch{return null}}async function vL(h,f){let y=await hL(h),m=typeof f=="number"&&f>=400,p=y&&(!y.needsCorroboration||m)?y:null;if(!p&&!m)return null;let _=[];return p&&_.push(`served a ${p.vendor} bot-challenge / interstitial page`),m&&_.push(`main document returned HTTP ${f}`),{reason:`Scan did not reach the real page \u2014 the target ${_.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...p?{vendor:p.vendor}:{},...typeof f=="number"?{status:f}:{},...p?{signal:p.signal}:m?{signal:`status:${f}`}:{}}}async function zn(h,f){let y=typeof h=="string",m={wcagTags:du,includeAxe:true,deep:false,dismissModals:y,...f},p,_,v,b;if(y){v=h.startsWith("http")?h:`https://${h}`;let w=typeof m.viewport=="string"?Co[m.viewport]??Co.desktop:m.viewport??Co.desktop;_=await(await import('playwright')).chromium.launch({headless:m.browser?.headless??true}),p=await(await _.newContext({viewport:w})).newPage();let E=await p.goto(v,{waitUntil:"domcontentloaded",timeout:m.browser?.timeout??3e4});b=typeof E?.status=="function"?E.status():void 0;}else p=h,v=p.url(),b=m.mainStatus;if(m.dismissModals)try{let{dismissModals:w}=await Promise.resolve().then(()=>(mg(),pg));await w(p);}catch{}if(m.settle!==false)try{let{waitForRenderSettle:w}=await Promise.resolve().then(()=>(To(),ko));await w(p,typeof m.settle=="number"?m.settle:void 0);}catch{}try{try{let U=await p.evaluate(lg),N=ug(U,v,typeof p.url=="function"?p.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 w=await vL(p,b);if(w)return {url:v,timestamp:new Date().toISOString(),blocked:w,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let R=[],A=new Map,E=[],T=[],x=await gL(p);x&&T.push(`challenge:suspected-interstitial (${x.signal}; ${x.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let C=await Zh(p,E,T);if(R.push(...C.map(fg)),m.includeAxe)try{let U=await rg(p,cg(m.wcagTags??du,m.level));for(let N of U.violations)for(let j of N.nodes)R.push({id:`axe-${N.id}-${$n(jn(j.target))}`,source:"axe-core",type:N.id,wcag:mu(N.tags),level:hu(N.tags),impact:fu(N.impact),message:N.help,selector:jn(j.target),html:j.html?.slice(0,300)});for(let N of U.incomplete??[])for(let j of N.nodes){let K=`axe-incomplete-${N.id}-${$n(jn(j.target))}`,Z=j.any?.[0]?.data?.messageKey;Z&&A.set(K,Z),R.push({id:K,source:"axe-core",type:N.id,wcag:mu(N.tags),level:hu(N.tags),impact:fu(N.impact),message:N.help,selector:jn(j.target),html:j.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch{}try{let{runHtmlcs:U}=await Promise.resolve().then(()=>(wg(),yg)),N=await U(p);R.push(...N);}catch{}let{deduplicateIssues:k}=await Promise.resolve().then(()=>(Ro(),Fo)),I=cu(R),P=k(I.verdicts);try{let{pruneInvisibleContrast:U}=await Promise.resolve().then(()=>(To(),ko));P=await U(p,P);}catch{}try{let{pruneHiddenIframeIssues:U}=await Promise.resolve().then(()=>(To(),ko));P=await U(p,P);}catch{}try{let{dedupeByElementIdentity:U}=await Promise.resolve().then(()=>(Ro(),Fo));P=await U(p,P);}catch{}if(m.deep&&m.deepApiKey)try{let U=await bL(v,P,m);P.push(...U);}catch{}if(m.rootSelector)try{let{scopeIssuesToRoot:U}=await Promise.resolve().then(()=>(bu(),vu)),N=await U(p,P,m.rootSelector);P=N.issues,N.warning&&T.push(N.warning);}catch{}P=dg(P,m.level??"AA");let q=cu(P),z=q.verdicts;try{let U=[...I.undecided,...q.undecided];if(m.rootSelector){let{scopeIssuesToRoot:Z}=await Promise.resolve().then(()=>(bu(),vu));U=(await Z(p,U,m.rootSelector)).issues;}let N=await ng(p,U,A),j=await ig(p,U),K=[...N,...j];if(K.length){let{deduplicateIssues:Z}=await Promise.resolve().then(()=>(Ro(),Fo));z=Z([...z,...K]);}}catch{}let G={url:v,timestamp:new Date().toISOString(),engine:Qh,issues:z,incomplete:[],...E.length?{truncated:E}:{},...T.length?{engineWarnings:T}:{},summary:pu(z)};if(m.review!==!1&&m.deepApiKey)try{G=await yL(G,m);}catch{}return G}finally{_&&await _.close();}}async function bL(h,f,y){let m=y.deepApiUrl||"https://api.webability.io",p=await fetch(`${m}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${y.deepApiKey}`},body:JSON.stringify({url:h,standardIssues:f.slice(0,30).map(({source:v,...b})=>b)})});return p.ok?((await p.json()).issues??[]).map((v,b)=>({id:`deep-${b}-${$n(v.selector||v.element||"")}`,source:"deep-analysis",type:`wcag-${v.wcag}`,wcag:v.wcag,level:"AA",impact:v.severity==="High"?"critical":v.severity==="Medium"?"serious":"moderate",message:v.message,selector:v.selector||v.element||""})):[]}function xg(h){let f=h.fix?.attribute??"";return !!h.fix?.needsManualReview&&f!=="style"&&!f.startsWith("data-")}async function yL(h,f){let y=f.deepApiUrl||"https://api.webability.io",m=h.issues.filter(xg);if(m.length===0)return h;try{let p=await fetch(`${y}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.deepApiKey}`},body:JSON.stringify({url:h.url,issues:m.slice(0,30).map(({source:w,...R})=>R)})});if(!p.ok)return h;let _=await p.json();if(!_.confirmed_ids)return h;let v=new Set(_.confirmed_ids),b=h.issues.filter(w=>!xg(w)||v.has(w.id));return {...h,issues:b,summary:pu(b)}}catch{return h}}function _g(h){return {...h,issues:h.issues.map(({source:f,...y})=>y)}}async function wL(h,f){return _g(await zn(h,{...f,dismissModals:false}))}var Dg=class{page;options;snapshots=[];observer=false;constructor(f,y){this.page=f,this.options=y??{};}async analyze(f){return wL(this.page,{...this.options,...f})}async start(f){this.snapshots=[],this.observer=true;let y={...this.options,...f},m=await zn(this.page,{...y,dismissModals:false});this.snapshots.push(m),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let p=await zn(this.page,{...y,dismissModals:!1});this.snapshots.push(p);}catch{}}),await this.page.evaluate(()=>{let p=new MutationObserver(()=>{window.__webabilityOnMutation?.();});p.observe(document.body,{childList:true,subtree:true}),window.__webabilityObserver=p;});}async stop(){this.observer=false,await this.page.evaluate(()=>{window.__webabilityObserver?.disconnect();}).catch(()=>{});let f=await zn(this.page,{...this.options,dismissModals:false});this.snapshots.push(f);let y=new Map;for(let _ of this.snapshots)for(let v of _.issues)y.set(v.id,v);let m=Array.from(y.values()),p={url:f.url,timestamp:f.timestamp,issues:m,incomplete:[],summary:{total:m.length,critical:m.filter(_=>_.impact==="critical").length,serious:m.filter(_=>_.impact==="serious").length,moderate:m.filter(_=>_.impact==="moderate").length,minor:m.filter(_=>_.impact==="minor").length,incomplete:0}};return this.snapshots=[],_g(p)}};/*! Bundled license information:
|
|
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.
|
|
383
|
+
|
|
384
|
+
Rules:
|
|
385
|
+
- 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
|
+
- 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
|
+
- 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
|
+
- 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.
|
|
389
|
+
- 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
|
+
- Be strict: "pass" only when confident the finding is not a real barrier.
|
|
391
|
+
|
|
392
|
+
Respond with ONLY a JSON array, one object per item, same ids:
|
|
393
|
+
[{"id": "...", "verdict": "pass" | "violation", "reason": "one sentence", "fix": {"attribute": "...", "value": "..."}}]
|
|
394
|
+
Omit "fix" for passes.`;function NL(f){let d=f.items.map(({screenshot:g,...h})=>({...h,...g?{screenshot:"attached (crop, same order)"}:{}}));return `Page: ${f.url}
|
|
395
|
+
Conformance level: ${f.level}
|
|
396
|
+
|
|
397
|
+
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:
|
|
383
399
|
|
|
384
400
|
axe-core/axe.js:
|
|
385
401
|
(*! axe v4.11.3
|
|
@@ -393,4 +409,4 @@ axe-core/axe.js:
|
|
|
393
409
|
* distribute or in any file that contains substantial portions of this source
|
|
394
410
|
* code.
|
|
395
411
|
*)
|
|
396
|
-
*/exports.WebAbility=
|
|
412
|
+
*/exports.WebAbility=Vg;exports.a11yCheck=pP;
|