@webability/core 1.3.1 → 1.4.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/README.md +52 -0
- package/dist/dom.cjs +23 -23
- package/dist/dom.d.cts +1 -1
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +23 -23
- package/dist/index.cjs +38 -38
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +38 -38
- package/dist/playwright.cjs +396 -0
- package/dist/playwright.d.cts +20 -0
- package/dist/playwright.d.ts +20 -0
- package/dist/playwright.js +396 -0
- package/dist/{types-10iqML3X.d.cts → types-CznpCIVi.d.cts} +9 -0
- package/dist/{types-10iqML3X.d.ts → types-CznpCIVi.d.ts} +9 -0
- package/package.json +18 -13
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var gR=Object.create;var Kl=Object.defineProperty;var vR=Object.getOwnPropertyDescriptor;var bR=Object.getOwnPropertyNames;var yR=Object.getPrototypeOf,wR=Object.prototype.hasOwnProperty;var Rr=(f,p)=>()=>(f&&(p=f(f=0)),p);var xR=(f,p)=>()=>(p||f((p={exports:{}}).exports,p),p.exports),Ir=(f,p)=>{for(var b in p)Kl(f,b,{get:p[b],enumerable:true});},DR=(f,p,b,h)=>{if(p&&typeof p=="object"||typeof p=="function")for(let m of bR(p))!wR.call(f,m)&&m!==b&&Kl(f,m,{get:()=>p[m],enumerable:!(h=vR(p,m))||h.enumerable});return f};var _R=(f,p,b)=>(b=f!=null?gR(yR(f)):{},DR(Kl(b,"default",{value:f,enumerable:true}),f));var Jl={};Ir(Jl,{ACCESSIBLE_NAME_JS:()=>FI,IS_HIDDEN_FROM_AT_JS:()=>II,IS_TRACKING_PIXEL_JS:()=>LI,IS_VISIBLE_JS:()=>TI,NEARBY_CONTEXT_JS:()=>PI,UNIQUE_SELECTOR_JS:()=>kI,WIDGET_SKIP_JS:()=>RI});var kI,TI,FI,RI,II,LI,PI,Zl=Rr(()=>{kI=`
|
|
2
2
|
function __isUnique(sel) {
|
|
3
3
|
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
4
|
}
|
|
@@ -152,7 +152,7 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
152
152
|
// (an empty selector is unactionable downstream).
|
|
153
153
|
return candidate || full || __tagWithClass(el);
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,TI=`
|
|
156
156
|
function isVisible(el) {
|
|
157
157
|
if (!el) return false;
|
|
158
158
|
const s = getComputedStyle(el);
|
|
@@ -175,7 +175,7 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
175
175
|
if (/rect\\(\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*\\)/.test(s.clip || '')) return false;
|
|
176
176
|
return true;
|
|
177
177
|
}
|
|
178
|
-
`,
|
|
178
|
+
`,FI=`
|
|
179
179
|
// aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
|
|
180
180
|
// the whole attribute with getElementById silently failed on multi-ID
|
|
181
181
|
// references (bug existed in 7 copies across detectors \u2014 now one kernel).
|
|
@@ -226,13 +226,13 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
226
226
|
var title = el.getAttribute('title') || '';
|
|
227
227
|
return title.trim();
|
|
228
228
|
}
|
|
229
|
-
`,
|
|
229
|
+
`,RI=`
|
|
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
|
+
`,II=`
|
|
236
236
|
function isHiddenFromAT(el) {
|
|
237
237
|
if (!el) return false;
|
|
238
238
|
if (el.getAttribute('aria-hidden') === 'true') return true;
|
|
@@ -249,7 +249,7 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
249
249
|
}
|
|
250
250
|
return false;
|
|
251
251
|
}
|
|
252
|
-
`,
|
|
252
|
+
`,LI=`
|
|
253
253
|
function isTrackingPixel(img) {
|
|
254
254
|
const w = img.naturalWidth || img.width || 0;
|
|
255
255
|
const h = img.naturalHeight || img.height || 0;
|
|
@@ -260,7 +260,7 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
260
260
|
if (src.includes('pixel') || src.includes('beacon') || src.includes('tracker') || src.includes('analytics') || src.includes('adsrvr') || src.includes('doubleclick') || src.includes('facebook.com/tr')) return true;
|
|
261
261
|
return false;
|
|
262
262
|
}
|
|
263
|
-
`,
|
|
263
|
+
`,PI=`
|
|
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,7 +287,7 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
287
287
|
|
|
288
288
|
return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
|
|
289
289
|
}
|
|
290
|
-
`;});var
|
|
290
|
+
`;});var Yh={};Ir(Yh,{ICON_LABELS_JS:()=>qI,ICON_LABELS_JSON:()=>NI,lookupIconLabel:()=>OI});function OI(f,p="",b=""){let h=[];if(f)for(let m of f.split(/\s+/)){if(!m)continue;let y=m.toLowerCase().replace(MI,"").replace(/^icon-/,"");y&&y!==m.toLowerCase()&&h.push(y);}if(p&&h.push(p.toLowerCase().trim()),b){let m=b.trim().toLowerCase();m.length<30&&/^[a-z_-]+$/.test(m)&&h.push(m.replace(/_/g,"-"));}for(let m of h)if(Pa[m])return Pa[m];for(let m of h)for(let y of m.split("-"))if(Pa[y])return Pa[y];return null}var Pa,MI,NI,qI,Kh=Rr(()=>{Pa={times:"Close",x:"Close","x-lg":"Close","x-circle":"Close","x-mark":"Close",close:"Close","close-circle":"Close",clear:"Clear",cancel:"Cancel",dismiss:"Dismiss","chevron-right":"Next","arrow-right":"Next","caret-right":"Next","angle-right":"Next","chevron-left":"Previous","arrow-left":"Previous","caret-left":"Previous","angle-left":"Previous","chevron-up":"Collapse","arrow-up":"Up","caret-up":"Collapse","angle-up":"Collapse","chevron-down":"Expand","arrow-down":"Down","caret-down":"Expand","angle-down":"Expand",menu:"Menu",bars:"Menu",hamburger:"Menu",list:"Menu",grid:"Grid view",th:"Grid view",search:"Search","magnifying-glass":"Search",magnify:"Search",zoom:"Zoom",user:"User profile",person:"User profile",profile:"User profile","account-circle":"User profile",cart:"Shopping cart","shopping-cart":"Shopping cart",basket:"Shopping cart",bag:"Shopping bag",heart:"Favorite",bookmark:"Bookmark",star:"Rate",home:"Home",house:"Home",gear:"Settings",cog:"Settings",settings:"Settings",tool:"Tools",trash:"Delete","trash-can":"Delete",delete:"Delete",edit:"Edit",pencil:"Edit",pen:"Edit",plus:"Add",add:"Add","plus-circle":"Add",minus:"Remove","minus-circle":"Remove",check:"Confirm","check-circle":"Confirm",checkmark:"Confirm",info:"Information","info-circle":"Information",question:"Help","question-circle":"Help",help:"Help",warning:"Warning",exclamation:"Warning","exclamation-triangle":"Warning",alert:"Alert","external-link":"Open in new tab","external-link-alt":"Open in new tab","box-arrow-up-right":"Open in new tab",download:"Download",upload:"Upload",share:"Share","share-alt":"Share",copy:"Copy",clipboard:"Copy to clipboard",print:"Print",save:"Save",envelope:"Email",email:"Email",mail:"Email",at:"Email",phone:"Phone",telephone:"Phone",mobile:"Mobile phone",location:"Location","map-marker":"Location","map-pin":"Location","geo-alt":"Location",calendar:"Calendar","calendar-alt":"Calendar",clock:"Time",stopwatch:"Timer",eye:"Show","eye-slash":"Hide","eye-off":"Hide",lock:"Lock",unlock:"Unlock",padlock:"Lock",filter:"Filter",sliders:"Adjust",sort:"Sort","sort-alpha-down":"Sort ascending","sort-alpha-up":"Sort descending",refresh:"Refresh",reload:"Refresh",sync:"Refresh","arrows-rotate":"Refresh",play:"Play","play-circle":"Play",pause:"Pause",stop:"Stop","volume-up":"Volume up","volume-down":"Volume down","volume-mute":"Mute",mute:"Mute",speaker:"Audio",twitter:"Twitter","x-twitter":"X (Twitter)","square-x-twitter":"X (Twitter)",facebook:"Facebook","facebook-f":"Facebook","facebook-square":"Facebook","square-facebook":"Facebook","facebook-messenger":"Facebook Messenger",instagram:"Instagram","square-instagram":"Instagram",linkedin:"LinkedIn","linkedin-in":"LinkedIn","square-linkedin":"LinkedIn",youtube:"YouTube","youtube-square":"YouTube","square-youtube":"YouTube",github:"GitHub","github-alt":"GitHub",gitlab:"GitLab",bitbucket:"Bitbucket",tiktok:"TikTok",pinterest:"Pinterest","pinterest-p":"Pinterest","square-pinterest":"Pinterest",rss:"RSS feed","rss-square":"RSS feed",snapchat:"Snapchat","snapchat-ghost":"Snapchat",reddit:"Reddit","reddit-alien":"Reddit",discord:"Discord",slack:"Slack",whatsapp:"WhatsApp",telegram:"Telegram","telegram-plane":"Telegram",vimeo:"Vimeo","vimeo-v":"Vimeo",twitch:"Twitch",tumblr:"Tumblr",medium:"Medium",dribbble:"Dribbble",behance:"Behance",flickr:"Flickr",threads:"Threads",mastodon:"Mastodon",bluesky:"Bluesky",meetup:"Meetup",weibo:"Weibo",wechat:"WeChat",line:"Line",viber:"Viber",skype:"Skype",microsoft:"Microsoft",apple:"Apple",google:"Google","google-plus":"Google+",yelp:"Yelp",tripadvisor:"TripAdvisor",spotify:"Spotify",soundcloud:"SoundCloud",amazon:"Amazon",etsy:"Etsy",ebay:"eBay","arrow-up-right-from-square":"Open in new tab","square-arrow-up-right":"Open in new tab","up-right-from-square":"Open in new tab",back:"Back",forward:"Forward",return:"Return",reply:"Reply","reply-all":"Reply all","forward-arrow":"Forward",redo:"Redo",undo:"Undo","undo-alt":"Undo","rotate-left":"Undo","rotate-right":"Redo",expand:"Expand","expand-arrows-alt":"Expand",compress:"Collapse",minimize:"Minimize",maximize:"Maximize",fullscreen:"Enter fullscreen","fullscreen-exit":"Exit fullscreen",move:"Move",arrows:"Move","arrows-alt":"Move",drag:"Drag",grip:"Drag handle","grip-vertical":"Drag handle","grip-lines":"Drag handle",ellipsis:"More actions","ellipsis-v":"More actions","ellipsis-vertical":"More actions","ellipsis-h":"More actions","ellipsis-horizontal":"More actions","more-vert":"More actions","more-horiz":"More actions","more-vertical":"More actions","more-horizontal":"More actions","dots-vertical":"More actions","three-dots":"More actions","three-dots-vertical":"More actions","play-fill":"Play","pause-fill":"Pause","stop-fill":"Stop","play-pause":"Play/pause",backward:"Rewind","forward-step":"Next track","backward-step":"Previous track","fast-forward":"Fast forward",rewind:"Rewind","skip-forward":"Skip forward","skip-backward":"Skip backward","skip-next":"Next track","skip-previous":"Previous track",volume:"Volume","volume-off":"Mute","volume-x":"Mute","speaker-mute":"Mute",headphones:"Audio",microphone:"Microphone",mic:"Microphone","mic-off":"Mute microphone","microphone-slash":"Mute microphone",video:"Video","video-camera":"Video",camera:"Camera","camera-retro":"Camera",picture:"Picture",image:"Image",images:"Images",photo:"Photo",film:"Video",record:"Record",broadcast:"Broadcast","chevron-right-circle":"Next","chevron-left-circle":"Previous","double-arrow-right":"Next","double-arrow-left":"Previous","angles-right":"Next","angles-left":"Previous","angles-up":"Collapse","angles-down":"Expand",send:"Send","paper-plane":"Send",submit:"Submit",paperclip:"Attach file",attach:"Attach","file-attachment":"Attach file",signature:"Signature","pen-to-square":"Edit","pencil-square":"Edit","pencil-alt":"Edit","square-pen":"Edit",file:"File","file-alt":"Text file","file-text":"Text file","file-lines":"Text file","file-pdf":"PDF document","file-word":"Word document","file-excel":"Excel spreadsheet","file-powerpoint":"PowerPoint presentation","file-zip":"ZIP archive","file-archive":"Archive","file-image":"Image file","file-video":"Video file","file-audio":"Audio file","file-code":"Code file","file-csv":"CSV file",folder:"Folder","folder-open":"Open folder",book:"Book","book-open":"Book",newspaper:"News","bookmark-fill":"Bookmark","cart-plus":"Add to cart","cart-check":"Added to cart","cart-arrow-down":"Add to cart",truck:"Shipping",box:"Package",gift:"Gift",tag:"Tag",tags:"Tags",percent:"Discount","credit-card":"Credit card",wallet:"Wallet",money:"Money","money-bill":"Money","dollar-sign":"Price","euro-sign":"Price","pound-sign":"Price",receipt:"Receipt",store:"Store",shop:"Shop","basket-plus":"Add to basket","heart-fill":"Favorited","star-fill":"Rated","thumbs-up":"Like","thumbs-down":"Dislike",like:"Like",dislike:"Dislike",comment:"Comment",comments:"Comments",chat:"Chat","chat-bubble":"Chat",message:"Message","message-circle":"Message","message-square":"Message",bell:"Notifications","bell-fill":"Notifications",notifications:"Notifications",inbox:"Inbox",archive:"Archive",flag:"Flag",pin:"Pin","pin-fill":"Pinned",thumbtack:"Pin","sign-in":"Sign in","sign-in-alt":"Sign in","sign-out":"Sign out","sign-out-alt":"Sign out","log-in":"Log in","log-out":"Log out",logout:"Log out",login:"Log in","user-plus":"Add user","user-minus":"Remove user","user-circle":"User profile","user-avatar":"User avatar",users:"Users",key:"Password",shield:"Security","shield-check":"Security verified","id-card":"ID card","id-badge":"ID badge","universal-access":"Accessibility","accessible-icon":"Accessibility",wheelchair:"Wheelchair access",braille:"Braille","sign-language":"Sign language","closed-captioning":"Captions",cc:"Captions",sun:"Light mode",moon:"Dark mode",contrast:"Contrast",palette:"Theme",brush:"Theme",globe:"Global",earth:"Global",map:"Map",compass:"Compass",directions:"Directions",route:"Route",navigation:"Navigation",crosshairs:"Locate",spinner:"Loading",loader:"Loading",loading:"Loading","circle-notch":"Loading",hourglass:"Waiting","clock-fill":"Time","check-square":"Confirm","square-check":"Confirm","circle-check":"Confirm","circle-x":"Close",ban:"Blocked",block:"Block","times-circle":"Close",xmark:"Close","xmark-circle":"Close",columns:"Columns view",rows:"Rows view",layout:"Layout",sidebar:"Sidebar","sidebar-toggle":"Toggle sidebar","panel-left":"Left panel","panel-right":"Right panel","list-view":"List view","grid-view":"Grid view",wifi:"Wi-Fi","wifi-off":"Wi-Fi off",bluetooth:"Bluetooth",signal:"Signal",battery:"Battery","battery-full":"Battery full",plug:"Plug",power:"Power","power-off":"Power off","chart-bar":"Bar chart","chart-line":"Line chart","chart-pie":"Pie chart","chart-area":"Area chart","bar-chart":"Bar chart","line-chart":"Line chart","pie-chart":"Pie chart",analytics:"Analytics",statistics:"Statistics","trending-up":"Trending up","trending-down":"Trending down"},MI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;NI=JSON.stringify(Pa),qI=`
|
|
291
291
|
var __ICON_LABELS = ${JSON.stringify(Pa)};
|
|
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) {
|
|
@@ -317,7 +317,7 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
317
317
|
}
|
|
318
318
|
return null;
|
|
319
319
|
}
|
|
320
|
-
`;});var
|
|
320
|
+
`;});var Jh={};Ir(Jh,{COLOR_MATH_JS:()=>BI});var BI,Zh=Rr(()=>{BI=`
|
|
321
321
|
var __colorCtx;
|
|
322
322
|
function parseCssColor(str) {
|
|
323
323
|
if (!str) return null;
|
|
@@ -354,38 +354,38 @@ var fR=Object.create;var Yu=Object.defineProperty;var pR=Object.getOwnPropertyDe
|
|
|
354
354
|
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
355
355
|
return (hi + 0.05) / (lo + 0.05);
|
|
356
356
|
}
|
|
357
|
-
`;});var
|
|
358
|
-
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 gt,Ft=true,Wt=false;return {s:function(){ie=ie.call(G);},n:function(){var Mt=ie.next();return Ft=Mt.done,Mt},e:function(Mt){Wt=true,gt=Mt;},f:function(){try{Ft||ie.return==null||ie.return();}finally{if(Wt)throw gt}}}}function qn(G,X){if(G){if(typeof G=="string")return Bn(G,X);var ie={}.toString.call(G).slice(8,-1);return ie==="Object"&&G.constructor&&(ie=G.constructor.name),ie==="Map"||ie==="Set"?Array.from(G):ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie)?Bn(G,X):void 0}}function Bn(G,X){(X==null||X>G.length)&&(X=G.length);for(var ie=0,ve=Array(X);ie<X;ie++)ve[ie]=G[ie];return ve}function ee(G){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},ee(G)}((function(G,X,ie,ve,Qe,gt,Ft,Wt,Et,Mt,Ba){var Eg=Object.create,Va=Object.defineProperty,Cg=Object.getPrototypeOf,Sg=Object.prototype.hasOwnProperty,kg=Object.getOwnPropertyNames,Tg=Object.getOwnPropertyDescriptor,Fg=function(t,r,a){return r in t?Va(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Rg=function(t){return Va(t,"__esModule",{value:true})},M=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},nr=function(t,r){for(var a in r)Va(t,a,{get:r[a],enumerable:true});},Ig=function(t,r,a){if(r&&ee(r)==="object"||typeof r=="function"){var n=et(kg(r)),i;try{var o=function(){var u=i.value;!Sg.call(t,u)&&u!=="default"&&Va(t,u,{get:function(){return r[u]},enumerable:!(a=Tg(r,u))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},fr=function(t){return Ig(Rg(Va(t!=null?Eg(Cg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},bl=function(t,r,a){return Fg(t,ee(r)!=="symbol"?r+"":r,a),a},Lg=M(function(e,t){(function(r,a){ee(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(W){var re=ee(W);return W!==null&&(re==="object"||re==="function")}function a(W){return typeof W=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(re){return Object.prototype.toString.call(re)==="[object Array]"};var i=n,o=0,s=void 0,u=void 0,l=function(re,se){U[o]=re,U[o+1]=se,o+=2,o===2&&(u?u(K):fe());};function c(W){u=W;}function d(W){l=W;}var h=typeof p<"u"?p:void 0,D=h||{},S=D.MutationObserver||D.WebKitMutationObserver,T=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",I=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function L(){return function(){return process.nextTick(K)}}function P(){return typeof s<"u"?function(){s(K);}:B()}function O(){var W=0,re=new S(K),se=g.createTextNode("");return re.observe(se,{characterData:true}),function(){se.data=W=++W%2;}}function N(){var W=new MessageChannel;return W.port1.onmessage=K,function(){return W.port2.postMessage(0)}}function B(){var W=setTimeout;return function(){return W(K,1)}}var U=new Array(1e3);function K(){for(var W=0;W<o;W+=2){var re=U[W],se=U[W+1];re(se),U[W]=void 0,U[W+1]=void 0;}o=0;}function te(){try{var W=Function("return this")().require("vertx");return s=W.runOnLoop||W.runOnContext,P()}catch{return B()}}var fe=void 0;T?fe=L():S?fe=O():I?fe=N():h===void 0?fe=te():fe=B();function J(W,re){var se=this,xe=new this.constructor(pe);xe[le]===void 0&&ot(xe);var Me=se._state;if(Me){var He=arguments[Me-1];l(function(){return rt(Me,xe,He,se._result)});}else ze(se,xe,W,re);return xe}function ne(W){var re=this;if(W&&ee(W)==="object"&&W.constructor===re)return W;var se=new re(pe);return ge(se,W),se}var le=Math.random().toString(36).substring(2);function pe(){}var Ee=void 0,Le=1,we=2;function Fe(){return new TypeError("You cannot resolve a promise with itself")}function oe(){return new TypeError("A promises callback cannot return that same promise.")}function Ae(W,re,se,xe){try{W.call(re,se,xe);}catch(Me){return Me}}function $(W,re,se){l(function(xe){var Me=false,He=Ae(se,re,function(At){Me||(Me=true,re!==At?ge(xe,At):ye(xe,At));},function(At){Me||(Me=true,De(xe,At));},"Settle: "+(xe._label||" unknown promise"));!Me&&He&&(Me=true,De(xe,He));},W);}function he(W,re){re._state===Le?ye(W,re._result):re._state===we?De(W,re._result):ze(re,void 0,function(se){return ge(W,se)},function(se){return De(W,se)});}function ae(W,re,se){re.constructor===W.constructor&&se===J&&re.constructor.resolve===ne?he(W,re):se===void 0?ye(W,re):a(se)?$(W,re,se):ye(W,re);}function ge(W,re){if(W===re)De(W,Fe());else if(r(re)){var se=void 0;try{se=re.then;}catch(xe){De(W,xe);return}ae(W,re,se);}else ye(W,re);}function Ie(W){W._onerror&&W._onerror(W._result),Je(W);}function ye(W,re){W._state===Ee&&(W._result=re,W._state=Le,W._subscribers.length!==0&&l(Je,W));}function De(W,re){W._state===Ee&&(W._state=we,W._result=re,l(Ie,W));}function ze(W,re,se,xe){var Me=W._subscribers,He=Me.length;W._onerror=null,Me[He]=re,Me[He+Le]=se,Me[He+we]=xe,He===0&&W._state&&l(Je,W);}function Je(W){var re=W._subscribers,se=W._state;if(re.length!==0){for(var xe=void 0,Me=void 0,He=W._result,At=0;At<re.length;At+=3)xe=re[At],Me=re[At+se],xe?rt(se,xe,Me,He):Me(He);W._subscribers.length=0;}}function rt(W,re,se,xe){var Me=a(se),He=void 0,At=void 0,La=true;if(Me){try{He=se(xe);}catch(go){La=false,At=go;}if(re===He){De(re,oe());return}}else He=xe;re._state!==Ee||(Me&&La?ge(re,He):La===false?De(re,At):W===Le?ye(re,He):W===we&&De(re,He));}function mt(W,re){try{re(function(xe){ge(W,xe);},function(xe){De(W,xe);});}catch(se){De(W,se);}}var xt=0;function yt(){return xt++}function ot(W){W[le]=xt++,W._state=void 0,W._result=void 0,W._subscribers=[];}function Ia(){return new Error("Array Methods must be provided an Array")}var Tt=(function(){function W(re,se){this._instanceConstructor=re,this.promise=new re(pe),this.promise[le]||ot(this.promise),i(se)?(this.length=se.length,this._remaining=se.length,this._result=new Array(this.length),this.length===0?ye(this.promise,this._result):(this.length=this.length||0,this._enumerate(se),this._remaining===0&&ye(this.promise,this._result))):De(this.promise,Ia());}return W.prototype._enumerate=function(se){for(var xe=0;this._state===Ee&&xe<se.length;xe++)this._eachEntry(se[xe],xe);},W.prototype._eachEntry=function(se,xe){var Me=this._instanceConstructor,He=Me.resolve;if(He===ne){var At=void 0,La=void 0,go=false;try{At=se.then;}catch(Xu){go=true,La=Xu;}if(At===J&&se._state!==Ee)this._settledAt(se._state,xe,se._result);else if(typeof At!="function")this._remaining--,this._result[xe]=se;else if(Me===dt){var Wu=new Me(pe);go?De(Wu,La):ae(Wu,se,At),this._willSettleAt(Wu,xe);}else this._willSettleAt(new Me(function(Xu){return Xu(se)}),xe);}else this._willSettleAt(He(se),xe);},W.prototype._settledAt=function(se,xe,Me){var He=this.promise;He._state===Ee&&(this._remaining--,se===we?De(He,Me):this._result[xe]=Me),this._remaining===0&&ye(He,this._result);},W.prototype._willSettleAt=function(se,xe){var Me=this;ze(se,void 0,function(He){return Me._settledAt(Le,xe,He)},function(He){return Me._settledAt(we,xe,He)});},W})();function st(W){return new Tt(this,W).promise}function Dt(W){var re=this;return i(W)?new re(function(se,xe){for(var Me=W.length,He=0;He<Me;He++)re.resolve(W[He]).then(se,xe);}):new re(function(se,xe){return xe(new TypeError("You must pass an array to race."))})}function ht(W){var re=this,se=new re(pe);return De(se,W),se}function Lt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Pt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var dt=(function(){function W(re){this[le]=yt(),this._result=this._state=void 0,this._subscribers=[],pe!==re&&(typeof re!="function"&&Lt(),this instanceof W?mt(this,re):Pt());}return W.prototype.catch=function(se){return this.then(null,se)},W.prototype.finally=function(se){var xe=this,Me=xe.constructor;return a(se)?xe.then(function(He){return Me.resolve(se()).then(function(){return He})},function(He){return Me.resolve(se()).then(function(){throw He})}):xe.then(se,se)},W})();dt.prototype.then=J,dt.all=st,dt.race=Dt,dt.resolve=ne,dt.reject=ht,dt._setScheduler=c,dt._setAsap=d,dt._asap=l;function Ze(){var W=void 0;if(typeof v<"u")W=v;else if(typeof self<"u")W=self;else try{W=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var re=W.Promise;if(re){var se=null;try{se=Object.prototype.toString.call(re.resolve());}catch{}if(se==="[object Promise]"&&!re.cast)return}W.Promise=dt;}return dt.polyfill=Ze,dt.Promise=dt,dt});}),Pg=M(function(e){var t=1e5,r=(function(){var $=Object.prototype.toString,he=Object.prototype.hasOwnProperty;return {Class:function(ge){return $.call(ge).replace(/^\[object *|\]$/g,"")},HasProperty:function(ge,Ie){return Ie in ge},HasOwnProperty:function(ge,Ie){return he.call(ge,Ie)},IsCallable:function(ge){return typeof ge=="function"},ToInt32:function(ge){return ge>>0},ToUint32:function(ge){return ge>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,u=Math.pow,l=Math.round;function c($,he,ae){return $<he?he:$>ae?ae:$}var d=Object.getOwnPropertyNames||function($){if($!==Object($))throw new TypeError("Object.getOwnPropertyNames called on non-object");var he=[],ae;for(ae in $)r.HasOwnProperty($,ae)&&he.push(ae);return he},h;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?h=Object.defineProperty:h=function(he,ae,ge){if(!he===Object(he))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(ge,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(he,ae,ge.get),r.HasProperty(ge,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(he,ae,ge.set),r.HasProperty(ge,"value")&&(he[ae]=ge.value),he};function D($){if(d&&h){var he=d($),ae;for(ae=0;ae<he.length;ae+=1)h($,he[ae],{value:$[he[ae]],writable:false,enumerable:false,configurable:false});}}function S($){if(!h)return;if($.length>t)throw new RangeError("Array too large for polyfill");function he(ge){h($,ge,{get:function(){return $._getter(ge)},set:function(ye){$._setter(ge,ye);},enumerable:true,configurable:false});}var ae;for(ae=0;ae<$.length;ae+=1)he(ae);}function T($,he){var ae=32-he;return $<<ae>>ae}function I($,he){var ae=32-he;return $<<ae>>>ae}function L($){return [$&255]}function P($){return T($[0],8)}function O($){return [$&255]}function N($){return I($[0],8)}function B($){return $=l(Number($)),[$<0?0:$>255?255:$&255]}function U($){return [$>>8&255,$&255]}function K($){return T($[0]<<8|$[1],16)}function te($){return [$>>8&255,$&255]}function fe($){return I($[0]<<8|$[1],16)}function J($){return [$>>24&255,$>>16&255,$>>8&255,$&255]}function ne($){return T($[0]<<24|$[1]<<16|$[2]<<8|$[3],32)}function le($){return [$>>24&255,$>>16&255,$>>8&255,$&255]}function pe($){return I($[0]<<24|$[1]<<16|$[2]<<8|$[3],32)}function Ee($,he,ae){var ge=(1<<he-1)-1,Ie,ye,De,ze,Je,rt,mt;function xt(yt){var ot=i(yt),Ia=yt-ot;return Ia<.5?ot:Ia>.5||ot%2?ot+1:ot}for($!==$?(ye=(1<<he)-1,De=u(2,ae-1),Ie=0):$===1/0||$===-1/0?(ye=(1<<he)-1,De=0,Ie=$<0?1:0):$===0?(ye=0,De=0,Ie=1/$===-1/0?1:0):(Ie=$<0,$=n($),$>=u(2,1-ge)?(ye=s(i(o($)/a),1023),De=xt($/u(2,ye)*u(2,ae)),De/u(2,ae)>=2&&(ye=ye+1,De=1),ye>ge?(ye=(1<<he)-1,De=0):(ye=ye+ge,De=De-u(2,ae))):(ye=0,De=xt($/u(2,1-ge-ae)))),Je=[],ze=ae;ze;ze-=1)Je.push(De%2?1:0),De=i(De/2);for(ze=he;ze;ze-=1)Je.push(ye%2?1:0),ye=i(ye/2);for(Je.push(Ie?1:0),Je.reverse(),rt=Je.join(""),mt=[];rt.length;)mt.push(parseInt(rt.substring(0,8),2)),rt=rt.substring(8);return mt}function Le($,he,ae){var ge=[],Ie,ye,De,ze,Je,rt,mt,xt;for(Ie=$.length;Ie;Ie-=1)for(De=$[Ie-1],ye=8;ye;ye-=1)ge.push(De%2?1:0),De=De>>1;return ge.reverse(),ze=ge.join(""),Je=(1<<he-1)-1,rt=parseInt(ze.substring(0,1),2)?-1:1,mt=parseInt(ze.substring(1,1+he),2),xt=parseInt(ze.substring(1+he),2),mt===(1<<he)-1?xt===0?rt*(1/0):NaN:mt>0?rt*u(2,mt-Je)*(1+xt/u(2,ae)):xt!==0?rt*u(2,-(Je-1))*(xt/u(2,ae)):rt<0?-0:0}function we($){return Le($,11,52)}function Fe($){return Ee($,11,52)}function oe($){return Le($,8,23)}function Ae($){return Ee($,8,23)}((function(){function $(yt){if(yt=r.ToInt32(yt),yt<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=yt,this._bytes=[],this._bytes.length=yt;var ot;for(ot=0;ot<this.byteLength;ot+=1)this._bytes[ot]=0;D(this);}e.ArrayBuffer=e.ArrayBuffer||$;function he(){}function ae(yt,ot,Ia){var Tt;return Tt=function(Dt,ht,Lt){var Pt,dt,Ze,W;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Lt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new $(this.byteLength),this.byteOffset=0;}else if(ee(arguments[0])==="object"&&arguments[0].constructor===Tt)for(Pt=arguments[0],this.length=Pt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new $(this.byteLength),this.byteOffset=0,Ze=0;Ze<this.length;Ze+=1)this._setter(Ze,Pt._getter(Ze));else if(ee(arguments[0])==="object"&&!(arguments[0]instanceof $||r.Class(arguments[0])==="ArrayBuffer"))for(dt=arguments[0],this.length=r.ToUint32(dt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new $(this.byteLength),this.byteOffset=0,Ze=0;Ze<this.length;Ze+=1)W=dt[Ze],this._setter(Ze,Number(W));else if(ee(arguments[0])==="object"&&(arguments[0]instanceof $||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Dt,this.byteOffset=r.ToUint32(ht),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(Lt),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=Tt,D(this),S(this);},Tt.prototype=new he,Tt.prototype.BYTES_PER_ELEMENT=yt,Tt.prototype._pack=ot,Tt.prototype._unpack=Ia,Tt.BYTES_PER_ELEMENT=yt,Tt.prototype._getter=function(st){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(st=r.ToUint32(st),!(st>=this.length)){for(var Dt=[],ht=0,Lt=this.byteOffset+st*this.BYTES_PER_ELEMENT;ht<this.BYTES_PER_ELEMENT;ht+=1,Lt+=1)Dt.push(this.buffer._bytes[Lt]);return this._unpack(Dt)}},Tt.prototype.get=Tt.prototype._getter,Tt.prototype._setter=function(st,Dt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(st=r.ToUint32(st),st<this.length){var ht=this._pack(Dt),Lt,Pt;for(Lt=0,Pt=this.byteOffset+st*this.BYTES_PER_ELEMENT;Lt<this.BYTES_PER_ELEMENT;Lt+=1,Pt+=1)this.buffer._bytes[Pt]=ht[Lt];}},Tt.prototype.set=function(st,Dt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var ht,Lt,Pt,dt,Ze,W,re,se,xe,Me;if(ee(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(ht=arguments[0],Pt=r.ToUint32(arguments[1]),Pt+ht.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(se=this.byteOffset+Pt*this.BYTES_PER_ELEMENT,xe=ht.length*this.BYTES_PER_ELEMENT,ht.buffer===this.buffer){for(Me=[],Ze=0,W=ht.byteOffset;Ze<xe;Ze+=1,W+=1)Me[Ze]=ht.buffer._bytes[W];for(Ze=0,re=se;Ze<xe;Ze+=1,re+=1)this.buffer._bytes[re]=Me[Ze];}else for(Ze=0,W=ht.byteOffset,re=se;Ze<xe;Ze+=1,W+=1,re+=1)this.buffer._bytes[re]=ht.buffer._bytes[W];}else if(ee(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Lt=arguments[0],dt=r.ToUint32(Lt.length),Pt=r.ToUint32(arguments[1]),Pt+dt>this.length)throw new RangeError("Offset plus length of array is out of range");for(Ze=0;Ze<dt;Ze+=1)W=Lt[Ze],this._setter(Pt+Ze,Number(W));}else throw new TypeError("Unexpected argument type(s)")},Tt.prototype.subarray=function(st,Dt){st=r.ToInt32(st),Dt=r.ToInt32(Dt),arguments.length<1&&(st=0),arguments.length<2&&(Dt=this.length),st<0&&(st=this.length+st),Dt<0&&(Dt=this.length+Dt),st=c(st,0,this.length),Dt=c(Dt,0,this.length);var ht=Dt-st;return ht<0&&(ht=0),new this.constructor(this.buffer,this.byteOffset+st*this.BYTES_PER_ELEMENT,ht)},Tt}var ge=ae(1,L,P),Ie=ae(1,O,N),ye=ae(1,B,N),De=ae(2,U,K),ze=ae(2,te,fe),Je=ae(4,J,ne),rt=ae(4,le,pe),mt=ae(4,Ae,oe),xt=ae(8,Fe,we);e.Int8Array=e.Int8Array||ge,e.Uint8Array=e.Uint8Array||Ie,e.Uint8ClampedArray=e.Uint8ClampedArray||ye,e.Int16Array=e.Int16Array||De,e.Uint16Array=e.Uint16Array||ze,e.Int32Array=e.Int32Array||Je,e.Uint32Array=e.Uint32Array||rt,e.Float32Array=e.Float32Array||mt,e.Float64Array=e.Float64Array||xt;}))(),(function(){function $(ye,De){return r.IsCallable(ye.get)?ye.get(De):ye[De]}var he=(function(){var ye=new e.Uint16Array([4660]),De=new e.Uint8Array(ye.buffer);return $(De,0)===18})();function ae(ye,De,ze){if(arguments.length===0)ye=new e.ArrayBuffer(0);else if(!(ye instanceof e.ArrayBuffer||r.Class(ye)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=ye||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(De),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(ze),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 ge(ye){return function(De,ze){if(De=r.ToUint32(De),De+ye.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");De+=this.byteOffset;var Je=new e.Uint8Array(this.buffer,De,ye.BYTES_PER_ELEMENT),rt=[],mt;for(mt=0;mt<ye.BYTES_PER_ELEMENT;mt+=1)rt.push($(Je,mt));return !!ze==!!he&&rt.reverse(),$(new ye(new e.Uint8Array(rt).buffer),0)}}ae.prototype.getUint8=ge(e.Uint8Array),ae.prototype.getInt8=ge(e.Int8Array),ae.prototype.getUint16=ge(e.Uint16Array),ae.prototype.getInt16=ge(e.Int16Array),ae.prototype.getUint32=ge(e.Uint32Array),ae.prototype.getInt32=ge(e.Int32Array),ae.prototype.getFloat32=ge(e.Float32Array),ae.prototype.getFloat64=ge(e.Float64Array);function Ie(ye){return function(De,ze,Je){if(De=r.ToUint32(De),De+ye.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var rt=new ye([ze]),mt=new e.Uint8Array(rt.buffer),xt=[],yt,ot;for(yt=0;yt<ye.BYTES_PER_ELEMENT;yt+=1)xt.push($(mt,yt));!!Je==!!he&&xt.reverse(),ot=new e.Uint8Array(this.buffer,De,ye.BYTES_PER_ELEMENT),ot.set(xt);}}ae.prototype.setUint8=Ie(e.Uint8Array),ae.prototype.setInt8=Ie(e.Int8Array),ae.prototype.setUint16=Ie(e.Uint16Array),ae.prototype.setInt16=Ie(e.Int16Array),ae.prototype.setUint32=Ie(e.Uint32Array),ae.prototype.setInt32=Ie(e.Int32Array),ae.prototype.setFloat32=Ie(e.Float32Array),ae.prototype.setFloat64=Ie(e.Float64Array),e.DataView=e.DataView||ae;})();}),Mg=M(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,u,l){a?Object.defineProperty(s,u,{configurable:true,writable:true,value:l}):s[u]=l;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",u("_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 h=c[this._id];return h&&h[0]===c?(h[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 "+ee(c))}function u(c){return c+"_"+l()+"."+l()}function l(){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 p<"u"?p:typeof v<"u"?v:e);}),ir=M(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":ee(globalThis))=="object"&&globalThis)||r((typeof p>"u"?"undefined":ee(p))=="object"&&p)||r((typeof self>"u"?"undefined":ee(self))=="object"&&self)||r((typeof v>"u"?"undefined":ee(v))=="object"&&v)||r(ee(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),or=M(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Vn=M(function(e,t){var r=or();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Og=M(function(e,t){var r=Vn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":ee(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),Xt=M(function(e,t){var r=Vn(),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)}};}),Hn=M(function(e,t){var r=Xt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),yl=M(function(e,t){var r=Hn(),a=Xt();t.exports=function(n){if(r(n)==="Function")return a(n)};}),qt=M(function(e,t){var r=(typeof g>"u"?"undefined":ee(g))=="object"&&g.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),pr=M(function(e,t){var r=or();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),Zr=M(function(e,t){var r=Vn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),wl=M(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=M(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Ng=M(function(e,t){var r=Xt(),a=or(),n=Hn(),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;}),xo=M(function(e,t){t.exports=function(r){return r==null};}),$n=M(function(e,t){var r=xo(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ha=M(function(e,t){var r=Ng(),a=$n();t.exports=function(n){return r(a(n))};}),Lr=M(function(e,t){var r=qt();t.exports=function(a){return ee(a)=="object"?a!==null:r(a)};}),ja=M(function(e,t){t.exports={};}),Do=M(function(e,t){var r=ja(),a=ir(),n=qt(),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]};}),qg=M(function(e,t){var r=Xt();t.exports=r({}.isPrototypeOf);}),Bg=M(function(e,t){var r=ir(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Vg=M(function(e,t){var r=ir(),a=Bg(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,s=o&&o.v8,u,l;s&&(u=s.split("."),l=u[0]>0&&u[0]<4?1:+(u[0]+u[1])),!l&&a&&(u=a.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=a.match(/Chrome\/(\d+)/),u&&(l=+u[1]))),t.exports=l;}),xl=M(function(e,t){var r=Vg(),a=or(),n=ir(),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});}),Dl=M(function(e,t){var r=xl();t.exports=r&&!Symbol.sham&&ee(Symbol.iterator)=="symbol";}),_l=M(function(e,t){var r=Do(),a=qt(),n=qg(),i=Dl(),o=Object;t.exports=i?function(s){return ee(s)=="symbol"}:function(s){var u=r("Symbol");return a(u)&&n(u.prototype,o(s))};}),Al=M(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),zn=M(function(e,t){var r=qt(),a=Al(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),_o=M(function(e,t){var r=zn(),a=xo();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Hg=M(function(e,t){var r=Zr(),a=qt(),n=Lr(),i=TypeError;t.exports=function(o,s){var u,l;if(s==="string"&&a(u=o.toString)&&!n(l=r(u,o))||a(u=o.valueOf)&&!n(l=r(u,o))||s!=="string"&&a(u=o.toString)&&!n(l=r(u,o)))return l;throw new i("Can't convert object to primitive value")};}),Ao=M(function(e,t){t.exports=true;}),jg=M(function(e,t){var r=ir(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),Gn=M(function(e,t){var r=Ao(),a=ir(),n=jg(),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"});}),El=M(function(e,t){var r=Gn();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Eo=M(function(e,t){var r=$n(),a=Object;t.exports=function(n){return a(r(n))};}),_r=M(function(e,t){var r=Xt(),a=Eo(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Cl=M(function(e,t){var r=Xt(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Ar=M(function(e,t){var r=ir(),a=El(),n=_r(),i=Cl(),o=xl(),s=Dl(),u=r.Symbol,l=a("wks"),c=s?u.for||u:u&&u.withoutSetter||i;t.exports=function(d){return n(l,d)||(l[d]=o&&n(u,d)?u[d]:c("Symbol."+d)),l[d]};}),$g=M(function(e,t){var r=Zr(),a=Lr(),n=_l(),i=_o(),o=Hg(),s=Ar(),u=TypeError,l=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var h=i(c,l),D;if(h){if(d===void 0&&(d="default"),D=r(h,c,d),!a(D)||n(D))return D;throw new u("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),Sl=M(function(e,t){var r=$g(),a=_l();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),kl=M(function(e,t){var r=ir(),a=Lr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),Tl=M(function(e,t){var r=pr(),a=or(),n=kl();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),zg=M(function(e){var t=pr(),r=Zr(),a=wl(),n=jn(),i=Ha(),o=Sl(),s=_r(),u=Tl(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(d,h){if(d=i(d),h=o(h),u)try{return l(d,h)}catch{}if(s(d,h))return n(!r(a.f,d,h),d[h])};}),Gg=M(function(e,t){var r=or(),a=qt(),n=/#|\.prototype\./,i=function(d,h){var D=s[o(d)];return D===l?true:D===u?false:a(h)?r(h):!!h},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i;}),Fl=M(function(e,t){var r=yl(),a=zn(),n=Vn(),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)}};}),Rl=M(function(e,t){var r=pr(),a=or();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),pa=M(function(e,t){var r=Lr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),Un=M(function(e){var t=pr(),r=Tl(),a=Rl(),n=pa(),i=Sl(),o=TypeError,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?a?function(D,S,T){if(n(D),S=i(S),n(T),typeof D=="function"&&S==="prototype"&&"value"in T&&d in T&&!T[d]){var I=u(D,S);I&&I[d]&&(D[S]=T.value,T={configurable:c in T?T[c]:I[c],enumerable:l in T?T[l]:I[l],writable:false});}return s(D,S,T)}:s:function(D,S,T){if(n(D),S=i(S),n(T),r)try{return s(D,S,T)}catch{}if("get"in T||"set"in T)throw new o("Accessors not supported");return "value"in T&&(D[S]=T.value),D};}),$a=M(function(e,t){var r=pr(),a=Un(),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};}),Wn=M(function(e,t){var r=ir(),a=Og(),n=yl(),i=qt(),o=zg().f,s=Gg(),u=ja(),l=Fl(),c=$a(),d=_r();Gn();var h=function(S){var T=function(L,P,O){if(this instanceof T){switch(arguments.length){case 0:return new S;case 1:return new S(L);case 2:return new S(L,P)}return new S(L,P,O)}return a(S,this,arguments)};return T.prototype=S.prototype,T};t.exports=function(D,S){var T=D.target,I=D.global,L=D.stat,P=D.proto,O=I?r:L?r[T]:r[T]&&r[T].prototype,N=I?u:u[T]||c(u,T,{})[T],B=N.prototype,U,K,te,fe,J,ne,le,pe,Ee;for(fe in S)U=s(I?fe:T+(L?".":"#")+fe,D.forced),K=!U&&O&&d(O,fe),ne=N[fe],K&&(D.dontCallGetSet?(Ee=o(O,fe),le=Ee&&Ee.value):le=O[fe]),J=K&&le?le:S[fe],!(!U&&!P&&ee(ne)==ee(J))&&(D.bind&&K?pe=l(J,r):D.wrap&&K?pe=h(J):P&&i(J)?pe=n(J):pe=J,(D.sham||J&&J.sham||ne&&ne.sham)&&c(pe,"sham",true),c(N,fe,pe),P&&(te=T+"Prototype",d(u,te)||c(u,te,{}),c(u[te],fe,J),D.real&&B&&(U||!B[fe])&&c(B,fe,J)));};}),Ug=M(function(){var e=Wn(),t=_r();e({target:"Object",stat:true},{hasOwn:t});}),Wg=M(function(e,t){Ug();var r=ja();t.exports=r.Object.hasOwn;}),Xg=M(function(e,t){var r=Wg();t.exports=r;}),Yg=M(function(e,t){var r=Xg();t.exports=r;}),Co=M(function(e,t){var r=El(),a=Cl(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Kg=M(function(e,t){var r=or();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),So=M(function(e,t){var r=_r(),a=qt(),n=Eo(),i=Co(),o=Kg(),s=i("IE_PROTO"),u=Object,l=u.prototype;t.exports=o?u.getPrototypeOf:function(c){var d=n(c);if(r(d,s))return d[s];var h=d.constructor;return a(h)&&d instanceof h?h.prototype:d instanceof u?l:null};}),Jg=M(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)};}),ko=M(function(e,t){var r=Jg();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),Zg=M(function(e,t){var r=ko(),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)};}),Qg=M(function(e,t){var r=ko(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Il=M(function(e,t){var r=Qg();t.exports=function(a){return r(a.length)};}),ev=M(function(e,t){var r=Ha(),a=Zg(),n=Il(),i=function(s){return function(u,l,c){var d=r(u),h=n(d);if(h===0)return !s&&-1;var D=a(c,h),S;if(s&&l!==l){for(;h>D;)if(S=d[D++],S!==S)return true}else for(;h>D;D++)if((s||D in d)&&d[D]===l)return s||D||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),To=M(function(e,t){t.exports={};}),tv=M(function(e,t){var r=Xt(),a=_r(),n=Ha(),i=ev().indexOf,o=To(),s=r([].push);t.exports=function(u,l){var c=n(u),d=0,h=[],D;for(D in c)!a(o,D)&&a(c,D)&&s(h,D);for(;l.length>d;)a(c,D=l[d++])&&(~i(h,D)||s(h,D));return h};}),Ll=M(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Pl=M(function(e,t){var r=tv(),a=Ll();t.exports=Object.keys||function(i){return r(i,a)};}),rv=M(function(e,t){var r=pr(),a=or(),n=Xt(),i=So(),o=Pl(),s=Ha(),u=wl().f,l=n(u),c=n([].push),d=r&&a(function(){var D=Object.create(null);return D[2]=2,!l(D,2)}),h=function(S){return function(T){for(var I=s(T),L=o(I),P=d&&i(I)===null,O=L.length,N=0,B=[],U;O>N;)U=L[N++],(!r||(P?U in I:l(I,U)))&&c(B,S?[U,I[U]]:I[U]);return B}};t.exports={entries:h(true),values:h(false)};}),av=M(function(){var e=Wn(),t=rv().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),nv=M(function(e,t){av();var r=ja();t.exports=r.Object.values;}),iv=M(function(e,t){var r=nv();t.exports=r;}),ov=M(function(e,t){var r=iv();t.exports=r;}),Fo=M(function(e,t){var r=Ar(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),Xn=M(function(e,t){var r=Fo(),a=qt(),n=Hn(),i=Ar(),o=i("toStringTag"),s=Object,u=n((function(){return arguments})())==="Arguments",l=function(d,h){try{return d[h]}catch{}};t.exports=r?n:function(c){var d,h,D;return c===void 0?"Undefined":c===null?"Null":typeof(h=l(d=s(c),o))=="string"?h:u?n(d):(D=n(d))==="Object"&&a(d.callee)?"Arguments":D};}),Ml=M(function(e,t){var r=Xn(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),sv=M(function(e,t){var r=Xt(),a=ko(),n=Ml(),i=$n(),o=r("".charAt),s=r("".charCodeAt),u=r("".slice),l=function(d){return function(h,D){var S=n(i(h)),T=a(D),I=S.length,L,P;return T<0||T>=I?d?"":void 0:(L=s(S,T),L<55296||L>56319||T+1===I||(P=s(S,T+1))<56320||P>57343?d?o(S,T):L:d?u(S,T,T+2):(L-55296<<10)+(P-56320)+65536)}};t.exports={codeAt:l(false),charAt:l(true)};}),uv=M(function(e,t){var r=ir(),a=qt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),lv=M(function(e,t){var r=uv(),a=ir(),n=Lr(),i=$a(),o=_r(),s=Gn(),u=Co(),l=To(),c="Object already initialized",d=a.TypeError,h=a.WeakMap,D,S,T,I=function(B){return T(B)?S(B):D(B,{})},L=function(B){return function(U){var K;if(!n(U)||(K=S(U)).type!==B)throw new d("Incompatible receiver, "+B+" required");return K}};r||s.state?(P=s.state||(s.state=new h),P.get=P.get,P.has=P.has,P.set=P.set,D=function(B,U){if(P.has(B))throw new d(c);return U.facade=B,P.set(B,U),U},S=function(B){return P.get(B)||{}},T=function(B){return P.has(B)}):(O=u("state"),l[O]=true,D=function(B,U){if(o(B,O))throw new d(c);return U.facade=B,i(B,O,U),U},S=function(B){return o(B,O)?B[O]:{}},T=function(B){return o(B,O)});var P,O;t.exports={set:D,get:S,has:T,enforce:I,getterFor:L};}),cv=M(function(e,t){var r=pr(),a=_r(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),s=o&&function(){}.name==="something",u=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:u};}),dv=M(function(e){var t=pr(),r=Rl(),a=Un(),n=pa(),i=Ha(),o=Pl();e.f=t&&!r?Object.defineProperties:function(u,l){n(u);for(var c=i(l),d=o(l),h=d.length,D=0,S;h>D;)a.f(u,S=d[D++],c[S]);return u};}),fv=M(function(e,t){var r=Do();t.exports=r("document","documentElement");}),Ol=M(function(e,t){var r=pa(),a=dv(),n=Ll(),i=To(),o=fv(),s=kl(),u=Co(),l=">",c="<",d="prototype",h="script",D=u("IE_PROTO"),S=function(){},T=function(B){return c+h+l+B+c+"/"+h+l},I=function(B){B.write(T("")),B.close();var U=B.parentWindow.Object;return B=null,U},L=function(){var B=s("iframe"),U="java"+h+":",K;return B.style.display="none",o.appendChild(B),B.src=String(U),K=B.contentWindow.document,K.open(),K.write(T("document.F=Object")),K.close(),K.F},P,O=function(){try{P=new ActiveXObject("htmlfile");}catch{}O=typeof g<"u"?g.domain&&P?I(P):L():I(P);for(var B=n.length;B--;)delete O[d][n[B]];return O()};i[D]=true,t.exports=Object.create||function(B,U){var K;return B!==null?(S[d]=r(B),K=new S,S[d]=null,K[D]=B):K=O(),U===void 0?K:a.f(K,U)};}),Nl=M(function(e,t){var r=$a();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),ql=M(function(e,t){var r=or(),a=qt(),n=Lr(),i=Ol(),o=So(),s=Nl(),u=Ar(),l=Ao(),c=u("iterator"),d=false,h,D,S;[].keys&&(S=[].keys(),"next"in S?(D=o(o(S)),D!==Object.prototype&&(h=D)):d=true);var T=!n(h)||r(function(){var I={};return h[c].call(I)!==I});T?h={}:l&&(h=i(h)),a(h[c])||s(h,c,function(){return this}),t.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:d};}),pv=M(function(e,t){var r=Fo(),a=Xn();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),Bl=M(function(e,t){var r=Fo(),a=Un().f,n=$a(),i=_r(),o=pv(),s=Ar(),u=s("toStringTag");t.exports=function(l,c,d,h){var D=d?l:l&&l.prototype;D&&(i(D,u)||a(D,u,{configurable:true,value:c}),h&&!r&&n(D,"toString",o));};}),Yn=M(function(e,t){t.exports={};}),mv=M(function(e,t){var r=ql().IteratorPrototype,a=Ol(),n=jn(),i=Bl(),o=Yn(),s=function(){return this};t.exports=function(u,l,c,d){var h=l+" Iterator";return u.prototype=a(r,{next:n(+!d,c)}),i(u,h,false,true),o[h]=s,u};}),hv=M(function(e,t){var r=Xt(),a=zn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),gv=M(function(e,t){var r=Lr();t.exports=function(a){return r(a)||a===null};}),vv=M(function(e,t){var r=gv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),bv=M(function(e,t){var r=hv(),a=Lr(),n=$n(),i=vv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},u;try{u=r(Object.prototype,"__proto__","set"),u(s,[]),o=s instanceof Array;}catch{}return function(c,d){return n(c),i(d),a(c)&&(o?u(c,d):c.__proto__=d),c}})():void 0);}),yv=M(function(e,t){var r=Wn(),a=Zr(),n=Ao(),i=cv(),o=qt(),s=mv(),u=So(),l=bv(),c=Bl(),d=$a(),h=Nl(),D=Ar(),S=Yn(),T=ql(),I=i.PROPER,L=i.CONFIGURABLE,P=T.IteratorPrototype,O=T.BUGGY_SAFARI_ITERATORS,N=D("iterator"),B="keys",U="values",K="entries",te=function(){return this};t.exports=function(fe,J,ne,le,pe,Ee,Le){s(ne,J,le);var we=function(ze){if(ze===pe&&he)return he;if(!O&&ze&&ze in Ae)return Ae[ze];switch(ze){case B:return function(){return new ne(this,ze)};case U:return function(){return new ne(this,ze)};case K:return function(){return new ne(this,ze)}}return function(){return new ne(this)}},Fe=J+" Iterator",oe=false,Ae=fe.prototype,$=Ae[N]||Ae["@@iterator"]||pe&&Ae[pe],he=!O&&$||we(pe),ae=J==="Array"&&Ae.entries||$,ge,Ie,ye;if(ae&&(ge=u(ae.call(new fe)),ge!==Object.prototype&&ge.next&&(!n&&u(ge)!==P&&(l?l(ge,P):o(ge[N])||h(ge,N,te)),c(ge,Fe,true,true),n&&(S[Fe]=te))),I&&pe===U&&$&&$.name!==U&&(!n&&L?d(Ae,"name",U):(oe=true,he=function(){return a($,this)})),pe)if(Ie={values:we(U),keys:Ee?he:we(B),entries:we(K)},Le)for(ye in Ie)(O||oe||!(ye in Ae))&&h(Ae,ye,Ie[ye]);else r({target:J,proto:true,forced:O||oe},Ie);return (!n||Le)&&Ae[N]!==he&&h(Ae,N,he,{name:pe}),S[J]=he,Ie};}),wv=M(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),xv=M(function(){var e=sv().charAt,t=Ml(),r=lv(),a=yv(),n=wv(),i="String Iterator",o=r.set,s=r.getterFor(i);a(String,"String",function(u){o(this,{type:i,string:t(u),index:0});},function(){var l=s(this),c=l.string,d=l.index,h;return d>=c.length?n(void 0,true):(h=e(c,d),l.index+=h.length,n(h,false))});}),Dv=M(function(e,t){var r=Zr(),a=pa(),n=_o();t.exports=function(i,o,s){var u,l;a(i);try{if(u=n(i,"return"),!u){if(o==="throw")throw s;return s}u=r(u,i);}catch(c){l=true,u=c;}if(o==="throw")throw s;if(l)throw u;return a(u),s};}),_v=M(function(e,t){var r=pa(),a=Dv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(u){a(n,"throw",u);}};}),Av=M(function(e,t){var r=Ar(),a=Yn(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Ev=M(function(e,t){var r=Xt(),a=qt(),n=Gn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Cv=M(function(e,t){var r=Xt(),a=or(),n=qt(),i=Xn(),o=Do(),s=Ev(),u=function(){},l=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),h=!c.test(u),D=function(I){if(!n(I))return false;try{return l(u,[],I),!0}catch{return false}},S=function(I){if(!n(I))return false;switch(i(I)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return h||!!d(c,s(I))}catch{return true}};S.sham=true,t.exports=!l||a(function(){var T;return D(D.call)||!D(Object)||!D(function(){T=true;})||T})?S:D;}),Sv=M(function(e,t){var r=pr(),a=Un(),n=jn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),kv=M(function(e,t){var r=Hn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),Tv=M(function(e,t){var r=pr(),a=kv(),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,u){if(a(s)&&!i(s,"length").writable)throw new n("Cannot set read only .length");return s.length=u}:function(s,u){return s.length=u};}),Vl=M(function(e,t){var r=Xn(),a=_o(),n=xo(),i=Yn(),o=Ar(),s=o("iterator");t.exports=function(u){if(!n(u))return a(u,s)||a(u,"@@iterator")||i[r(u)]};}),Fv=M(function(e,t){var r=Zr(),a=zn(),n=pa(),i=Al(),o=Vl(),s=TypeError;t.exports=function(u,l){var c=arguments.length<2?o(u):l;if(a(c))return n(r(c,u));throw new s(i(u)+" is not iterable")};}),Rv=M(function(e,t){var r=Fl(),a=Zr(),n=Eo(),i=_v(),o=Av(),s=Cv(),u=Il(),l=Sv(),c=Tv(),d=Fv(),h=Vl(),D=Array;t.exports=function(T){var I=n(T),L=s(this),P=arguments.length,O=P>1?arguments[1]:void 0,N=O!==void 0;N&&(O=r(O,P>2?arguments[2]:void 0));var B=h(I),U=0,K,te,fe,J,ne,le;if(B&&!(this===D&&o(B)))for(te=L?new this:[],J=d(I,B),ne=J.next;!(fe=a(ne,J)).done;U++)le=N?i(J,O,[fe.value,U],true):fe.value,l(te,U,le);else for(K=u(I),te=L?new this(K):D(K);K>U;U++)le=N?O(I[U],U):I[U],l(te,U,le);return c(te,U),te};}),Iv=M(function(e,t){var r=Ar(),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,u){try{if(!u&&!n)return !1}catch{return false}var l=false;try{var c={};c[a]=function(){return {next:function(){return {done:l=!0}}}},s(c);}catch{}return l};}),Lv=M(function(){var e=Wn(),t=Rv(),r=Iv(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Pv=M(function(e,t){xv(),Lv();var r=ja();t.exports=r.Array.from;}),Mv=M(function(e,t){var r=Pv();t.exports=r;}),Hl=M(function(e,t){var r=Mv();t.exports=r;}),jl=M(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,u="",l=0;l<s;){var c=o.charAt(l);if(e.identSpecialChars[c])u+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||l!==0&&c>="0"&&c<="9")u+=c;else {var d=c.charCodeAt(0);if((d&63488)===55296){var h=o.charCodeAt(l++);if((d&64512)!==55296||(h&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(h&1023)+65536;}u+="\\"+d.toString(16)+" ";}l++;}return u}e.escapeIdentifier=n;function i(o){for(var s=o.length,u="",l=0,c;l<s;){var d=o.charAt(l);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),u+=d,l++;}return '"'+u+'"'}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 Qh={};Ir(Qh,{applyPlatformTemplates:()=>jI,detectPlatform:()=>HI,isAriaHiddenSafeForTemplate:()=>Ql});function Ql(f){let p=f.trim().split(/[\s>~+]+/),h=p[p.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 VI(){if(Ma)return Ma;try{let f=globalThis.process,p=f?.getBuiltinModule?.("fs"),b=f?.getBuiltinModule?.("path");if(!p||!b)throw new Error("fs unavailable");let h=p.readFileSync(b.join(__dirname,"platformTemplates.json"),"utf-8");return Ma=JSON.parse(h),Ma}catch{return Ma={},Ma}}async function HI(f){return f.evaluate(()=>{let p=[],b=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),m=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (b.includes("shopify")||b.includes("cdn.shopify.com")||window.Shopify)&&p.push("shopify"),(m.includes("wordpress")||b.includes("wp-content")||b.includes("wp-includes"))&&p.push("wordpress"),(b.includes("civicplus")||b.includes("civicalerts")||b.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&p.push("civicplus"),(b.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&p.push("finalsite"),(b.includes("dealersocket")||b.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&p.push("dealer"),(b.includes("wix.com")||b.includes("wixsite.com"))&&p.push("wix"),(b.includes("squarespace")||m.includes("squarespace"))&&p.push("squarespace"),(b.includes("webflow")||m.includes("webflow"))&&p.push("webflow"),p.push("universal"),p.push("universal_iframe"),p})}async function jI(f,p,b="scan"){let h=VI(),m=[];for(let v of p)h[v]&&m.push(...h[v]);return m.length?b==="manifest"?m.filter(v=>v.attribute==="aria-hidden"&&v.value==="true"?Ql(v.selector):true).map(v=>({selector:v.selector,attribute:v.attribute,currentValue:"",issueType:v.attribute==="alt"?"missing_alt":v.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:v.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${v.platform} (template)`,needsAI:false,fixValue:v.value})):(await f.evaluate(v=>{let w=[];for(let _ of v)try{let E=document.querySelectorAll(_.selector);if(E.length>0){let x=!1;for(let A of E){let k=A.getAttribute(_.attribute)||"";if(_.attribute==="alt"&&A.getAttribute("alt")===null)x=!0;else if(_.attribute==="alt"&&k===""&&_.value==="")x=!0;else if(_.attribute==="aria-label"&&!k)x=!0;else if(_.attribute==="title"&&!k)x=!0;else if(_.attribute==="role"&&k!==_.value)x=!0;else if(_.attribute==="aria-level"&&!A.getAttribute("aria-level"))x=!0;else if(_.attribute==="aria-hidden"&&A.getAttribute("aria-hidden")!=="true"){let C=A.tagName.toLowerCase(),F=C==="a"&&A.hasAttribute("href")||C==="button"||C==="input"||C==="select"||C==="textarea"||Number(A.getAttribute("tabindex")??-1)>=0;C!=="body"&&C!=="html"&&!F&&(x=!0);}if(x)break}x&&w.push({selector:_.selector,attribute:_.attribute,value:_.value,platform:_.platform,matchCount:E.length});}}catch{}return w},m.filter(v=>!(v.attribute==="aria-hidden"&&v.value==="true")||Ql(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 Ma,eg=Rr(()=>{Ma=null;});var ag=xR((rg,Mn)=>{(function f(p){var b=p,h=p.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof Mn>"u"?"undefined":te(Mn))==="object"&&Mn.exports&&typeof f.toString=="function"&&(m.source="("+f.toString()+')(typeof window === "object" ? window : this);',Mn.exports=m),typeof p.getComputedStyle=="function"&&(p.axe=m);var v=["precision","format","inGamut"],w=["space"],_=["algorithm"],E=["method"],x=["maxDeltaE","deltaEMethod","steps","maxSteps"],A=["node"],k=["relatedNodes"],C=["node"],F=["variant"],R=["matches"],O=["chromium"],V=["noImplicit"],$=["noPresentational"],z=["node"],H=["environmentData"],ee=["environmentData"],U=["environmentData"],Y=["environmentData"],re=["environmentData"];function Q(G){return bu(G)||mu(G)||Bn(G)||vu()}function fe(G){var K=typeof Map=="function"?new Map:void 0;return fe=function(be){if(be===null||!ce(be))return be;if(typeof be!="function")throw new TypeError("Super expression must either be null or a function");if(K!==void 0){if(K.has(be))return K.get(be);K.set(be,et);}function et(){return Fe(be,arguments,wt(this).constructor)}return et.prototype=Object.create(be.prototype,{constructor:{value:et,enumerable:false,writable:true,configurable:true}}),Tt(et,be)},fe(G)}function ce(G){try{return Function.toString.call(G).indexOf("[native code]")!==-1}catch{return typeof G=="function"}}function Se(G,K,se){return (K=wu(K))in G?Object.defineProperty(G,K,{value:se,enumerable:true,configurable:true,writable:true}):G[K]=se,G}function Fe(G,K,se){if(nt())return Reflect.construct.apply(null,arguments);var be=[null];be.push.apply(be,K);var et=new(G.bind.apply(G,be));return se&&Tt(et,se.prototype),et}function Ae(G,K){if(G==null)return {};var se,be,et=Ge(G,K);if(Object.getOwnPropertySymbols){var gt=Object.getOwnPropertySymbols(G);for(be=0;be<gt.length;be++)se=gt[be],K.indexOf(se)===-1&&{}.propertyIsEnumerable.call(G,se)&&(et[se]=G[se]);}return et}function Ge(G,K){if(G==null)return {};var se={};for(var be in G)if({}.hasOwnProperty.call(G,be)){if(K.indexOf(be)!==-1)continue;se[be]=G[be];}return se}function Re(G,K,se){return K=wt(K),He(G,nt()?Reflect.construct(K,se||[],wt(G).constructor):K.apply(G,se))}function He(G,K){if(K&&(te(K)=="object"||typeof K=="function"))return K;if(K!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Qe(G)}function Qe(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}function nt(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (nt=function(){return !!G})()}function wt(G){return wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(K){return K.__proto__||Object.getPrototypeOf(K)},wt(G)}function ht(G,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(K&&K.prototype,{constructor:{value:G,writable:true,configurable:true}}),Object.defineProperty(G,"prototype",{writable:false}),K&&Tt(G,K);}function Tt(G,K){return Tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(se,be){return se.__proto__=be,se},Tt(G,K)}function Me(){return Me=Object.assign?Object.assign.bind():function(G){for(var K=1;K<arguments.length;K++){var se=arguments[K];for(var be in se)({}).hasOwnProperty.call(se,be)&&(G[be]=se[be]);}return G},Me.apply(null,arguments)}function Ee(G){return Cg(G)||mu(G)||Bn(G)||qn()}function qn(){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 mu(G){if(typeof Symbol<"u"&&G[Symbol.iterator]!=null||G["@@iterator"]!=null)return Array.from(G)}function Cg(G){if(Array.isArray(G))return Vn(G)}function Pr(G,K,se){gu(G,K),K.set(G,se);}function hu(G,K){gu(G,K),K.add(G);}function gu(G,K){if(K.has(G))throw new TypeError("Cannot initialize the same private elements twice on an object")}function tr(G,K){return G.get(fa(G,K))}function Nt(G,K,se){return G.set(fa(G,K),se),se}function fa(G,K,se){if(typeof G=="function"?G===K:G.has(K))return arguments.length<3?K:se;throw new TypeError("Private element is not present on this object")}function he(G,K){return bu(G)||Sg(G,K)||Bn(G,K)||vu()}function vu(){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 Sg(G,K){var se=G==null?null:typeof Symbol<"u"&&G[Symbol.iterator]||G["@@iterator"];if(se!=null){var be,et,gt,Ft,Ut=[],At=true,Mt=false;try{if(gt=(se=se.call(G)).next,K===0){if(Object(se)!==se)return;At=!1;}else for(;!(At=(be=gt.call(se)).done)&&(Ut.push(be.value),Ut.length!==K);At=!0);}catch(Ba){Mt=true,et=Ba;}finally{try{if(!At&&se.return!=null&&(Ft=se.return(),Object(Ft)!==Ft))return}finally{if(Mt)throw et}}return Ut}}function bu(G){if(Array.isArray(G))return G}function rr(G,K){if(!(G instanceof K))throw new TypeError("Cannot call a class as a function")}function yu(G,K){for(var se=0;se<K.length;se++){var be=K[se];be.enumerable=be.enumerable||false,be.configurable=true,"value"in be&&(be.writable=true),Object.defineProperty(G,wu(be.key),be);}}function ar(G,K,se){return K&&yu(G.prototype,K),se&&yu(G,se),Object.defineProperty(G,"prototype",{writable:false}),G}function wu(G){var K=kg(G,"string");return te(K)=="symbol"?K:K+""}function kg(G,K){if(te(G)!="object"||!G)return G;var se=G[Symbol.toPrimitive];if(se!==void 0){var be=se.call(G,K);if(te(be)!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return (K==="string"?String:Number)(G)}function tt(G,K){var se=typeof Symbol<"u"&&G[Symbol.iterator]||G["@@iterator"];if(!se){if(Array.isArray(G)||(se=Bn(G))||K){se&&(G=se);var be=0,et=function(){};return {s:et,n:function(){return be>=G.length?{done:true}:{done:false,value:G[be++]}},e:function(Mt){throw Mt},f:et}}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 gt,Ft=true,Ut=false;return {s:function(){se=se.call(G);},n:function(){var Mt=se.next();return Ft=Mt.done,Mt},e:function(Mt){Ut=true,gt=Mt;},f:function(){try{Ft||se.return==null||se.return();}finally{if(Ut)throw gt}}}}function Bn(G,K){if(G){if(typeof G=="string")return Vn(G,K);var se={}.toString.call(G).slice(8,-1);return se==="Object"&&G.constructor&&(se=G.constructor.name),se==="Map"||se==="Set"?Array.from(G):se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se)?Vn(G,K):void 0}}function Vn(G,K){(K==null||K>G.length)&&(K=G.length);for(var se=0,be=Array(K);se<K;se++)be[se]=G[se];return be}function te(G){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},te(G)}((function(G,K,se,be,et,gt,Ft,Ut,At,Mt,Ba){var Tg=Object.create,Va=Object.defineProperty,Fg=Object.getPrototypeOf,Rg=Object.prototype.hasOwnProperty,Ig=Object.getOwnPropertyNames,Lg=Object.getOwnPropertyDescriptor,Pg=function(t,r,a){return r in t?Va(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Mg=function(t){return Va(t,"__esModule",{value:true})},M=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},nr=function(t,r){for(var a in r)Va(t,a,{get:r[a],enumerable:true});},Og=function(t,r,a){if(r&&te(r)==="object"||typeof r=="function"){var n=tt(Ig(r)),i;try{var o=function(){var l=i.value;!Rg.call(t,l)&&l!=="default"&&Va(t,l,{get:function(){return r[l]},enumerable:!(a=Lg(r,l))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},fr=function(t){return Og(Mg(Va(t!=null?Tg(Fg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},xu=function(t,r,a){return Pg(t,te(r)!=="symbol"?r+"":r,a),a},Ng=M(function(e,t){(function(r,a){te(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(X){var ne=te(X);return X!==null&&(ne==="object"||ne==="function")}function a(X){return typeof X=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(ne){return Object.prototype.toString.call(ne)==="[object Array]"};var i=n,o=0,s=void 0,l=void 0,u=function(ne,ue){W[o]=ne,W[o+1]=ue,o+=2,o===2&&(l?l(J):pe());};function c(X){l=X;}function d(X){u=X;}var g=typeof p<"u"?p:void 0,D=g||{},S=D.MutationObserver||D.WebKitMutationObserver,T=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",I=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function L(){return function(){return process.nextTick(J)}}function P(){return typeof s<"u"?function(){s(J);}:B()}function N(){var X=0,ne=new S(J),ue=h.createTextNode("");return ne.observe(ue,{characterData:true}),function(){ue.data=X=++X%2;}}function q(){var X=new MessageChannel;return X.port1.onmessage=J,function(){return X.port2.postMessage(0)}}function B(){var X=setTimeout;return function(){return X(J,1)}}var W=new Array(1e3);function J(){for(var X=0;X<o;X+=2){var ne=W[X],ue=W[X+1];ne(ue),W[X]=void 0,W[X+1]=void 0;}o=0;}function ae(){try{var X=Function("return this")().require("vertx");return s=X.runOnLoop||X.runOnContext,P()}catch{return B()}}var pe=void 0;T?pe=L():S?pe=N():I?pe=q():g===void 0?pe=ae():pe=B();function Z(X,ne){var ue=this,xe=new this.constructor(me);xe[de]===void 0&&st(xe);var Oe=ue._state;if(Oe){var je=arguments[Oe-1];u(function(){return at(Oe,xe,je,ue._result)});}else ze(ue,xe,X,ne);return xe}function oe(X){var ne=this;if(X&&te(X)==="object"&&X.constructor===ne)return X;var ue=new ne(me);return ve(ue,X),ue}var de=Math.random().toString(36).substring(2);function me(){}var Ce=void 0,Pe=1,we=2;function Te(){return new TypeError("You cannot resolve a promise with itself")}function le(){return new TypeError("A promises callback cannot return that same promise.")}function _e(X,ne,ue,xe){try{X.call(ne,ue,xe);}catch(Oe){return Oe}}function j(X,ne,ue){u(function(xe){var Oe=false,je=_e(ue,ne,function(_t){Oe||(Oe=true,ne!==_t?ve(xe,_t):ye(xe,_t));},function(_t){Oe||(Oe=true,De(xe,_t));},"Settle: "+(xe._label||" unknown promise"));!Oe&&je&&(Oe=true,De(xe,je));},X);}function ge(X,ne){ne._state===Pe?ye(X,ne._result):ne._state===we?De(X,ne._result):ze(ne,void 0,function(ue){return ve(X,ue)},function(ue){return De(X,ue)});}function ie(X,ne,ue){ne.constructor===X.constructor&&ue===Z&&ne.constructor.resolve===oe?ge(X,ne):ue===void 0?ye(X,ne):a(ue)?j(X,ne,ue):ye(X,ne);}function ve(X,ne){if(X===ne)De(X,Te());else if(r(ne)){var ue=void 0;try{ue=ne.then;}catch(xe){De(X,xe);return}ie(X,ne,ue);}else ye(X,ne);}function Le(X){X._onerror&&X._onerror(X._result),Je(X);}function ye(X,ne){X._state===Ce&&(X._result=ne,X._state=Pe,X._subscribers.length!==0&&u(Je,X));}function De(X,ne){X._state===Ce&&(X._state=we,X._result=ne,u(Le,X));}function ze(X,ne,ue,xe){var Oe=X._subscribers,je=Oe.length;X._onerror=null,Oe[je]=ne,Oe[je+Pe]=ue,Oe[je+we]=xe,je===0&&X._state&&u(Je,X);}function Je(X){var ne=X._subscribers,ue=X._state;if(ne.length!==0){for(var xe=void 0,Oe=void 0,je=X._result,_t=0;_t<ne.length;_t+=3)xe=ne[_t],Oe=ne[_t+ue],xe?at(ue,xe,Oe,je):Oe(je);X._subscribers.length=0;}}function at(X,ne,ue,xe){var Oe=a(ue),je=void 0,_t=void 0,La=true;if(Oe){try{je=ue(xe);}catch(vo){La=false,_t=vo;}if(ne===je){De(ne,le());return}}else je=xe;ne._state!==Ce||(Oe&&La?ve(ne,je):La===false?De(ne,_t):X===Pe?ye(ne,je):X===we&&De(ne,je));}function pt(X,ne){try{ne(function(xe){ve(X,xe);},function(xe){De(X,xe);});}catch(ue){De(X,ue);}}var xt=0;function yt(){return xt++}function st(X){X[de]=xt++,X._state=void 0,X._result=void 0,X._subscribers=[];}function Ia(){return new Error("Array Methods must be provided an Array")}var kt=(function(){function X(ne,ue){this._instanceConstructor=ne,this.promise=new ne(me),this.promise[de]||st(this.promise),i(ue)?(this.length=ue.length,this._remaining=ue.length,this._result=new Array(this.length),this.length===0?ye(this.promise,this._result):(this.length=this.length||0,this._enumerate(ue),this._remaining===0&&ye(this.promise,this._result))):De(this.promise,Ia());}return X.prototype._enumerate=function(ue){for(var xe=0;this._state===Ce&&xe<ue.length;xe++)this._eachEntry(ue[xe],xe);},X.prototype._eachEntry=function(ue,xe){var Oe=this._instanceConstructor,je=Oe.resolve;if(je===oe){var _t=void 0,La=void 0,vo=false;try{_t=ue.then;}catch(Yl){vo=true,La=Yl;}if(_t===Z&&ue._state!==Ce)this._settledAt(ue._state,xe,ue._result);else if(typeof _t!="function")this._remaining--,this._result[xe]=ue;else if(Oe===dt){var Xl=new Oe(me);vo?De(Xl,La):ie(Xl,ue,_t),this._willSettleAt(Xl,xe);}else this._willSettleAt(new Oe(function(Yl){return Yl(ue)}),xe);}else this._willSettleAt(je(ue),xe);},X.prototype._settledAt=function(ue,xe,Oe){var je=this.promise;je._state===Ce&&(this._remaining--,ue===we?De(je,Oe):this._result[xe]=Oe),this._remaining===0&&ye(je,this._result);},X.prototype._willSettleAt=function(ue,xe){var Oe=this;ze(ue,void 0,function(je){return Oe._settledAt(Pe,xe,je)},function(je){return Oe._settledAt(we,xe,je)});},X})();function lt(X){return new kt(this,X).promise}function Dt(X){var ne=this;return i(X)?new ne(function(ue,xe){for(var Oe=X.length,je=0;je<Oe;je++)ne.resolve(X[je]).then(ue,xe);}):new ne(function(ue,xe){return xe(new TypeError("You must pass an array to race."))})}function mt(X){var ne=this,ue=new ne(me);return De(ue,X),ue}function Lt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Pt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var dt=(function(){function X(ne){this[de]=yt(),this._result=this._state=void 0,this._subscribers=[],me!==ne&&(typeof ne!="function"&&Lt(),this instanceof X?pt(this,ne):Pt());}return X.prototype.catch=function(ue){return this.then(null,ue)},X.prototype.finally=function(ue){var xe=this,Oe=xe.constructor;return a(ue)?xe.then(function(je){return Oe.resolve(ue()).then(function(){return je})},function(je){return Oe.resolve(ue()).then(function(){throw je})}):xe.then(ue,ue)},X})();dt.prototype.then=Z,dt.all=lt,dt.race=Dt,dt.resolve=oe,dt.reject=mt,dt._setScheduler=c,dt._setAsap=d,dt._asap=u;function Ze(){var X=void 0;if(typeof b<"u")X=b;else if(typeof self<"u")X=self;else try{X=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var ne=X.Promise;if(ne){var ue=null;try{ue=Object.prototype.toString.call(ne.resolve());}catch{}if(ue==="[object Promise]"&&!ne.cast)return}X.Promise=dt;}return dt.polyfill=Ze,dt.Promise=dt,dt});}),qg=M(function(e){var t=1e5,r=(function(){var j=Object.prototype.toString,ge=Object.prototype.hasOwnProperty;return {Class:function(ve){return j.call(ve).replace(/^\[object *|\]$/g,"")},HasProperty:function(ve,Le){return Le in ve},HasOwnProperty:function(ve,Le){return ge.call(ve,Le)},IsCallable:function(ve){return typeof ve=="function"},ToInt32:function(ve){return ve>>0},ToUint32:function(ve){return ve>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(j,ge,ie){return j<ge?ge:j>ie?ie:j}var d=Object.getOwnPropertyNames||function(j){if(j!==Object(j))throw new TypeError("Object.getOwnPropertyNames called on non-object");var ge=[],ie;for(ie in j)r.HasOwnProperty(j,ie)&&ge.push(ie);return ge},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(ge,ie,ve){if(!ge===Object(ge))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(ve,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(ge,ie,ve.get),r.HasProperty(ve,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(ge,ie,ve.set),r.HasProperty(ve,"value")&&(ge[ie]=ve.value),ge};function D(j){if(d&&g){var ge=d(j),ie;for(ie=0;ie<ge.length;ie+=1)g(j,ge[ie],{value:j[ge[ie]],writable:false,enumerable:false,configurable:false});}}function S(j){if(!g)return;if(j.length>t)throw new RangeError("Array too large for polyfill");function ge(ve){g(j,ve,{get:function(){return j._getter(ve)},set:function(ye){j._setter(ve,ye);},enumerable:true,configurable:false});}var ie;for(ie=0;ie<j.length;ie+=1)ge(ie);}function T(j,ge){var ie=32-ge;return j<<ie>>ie}function I(j,ge){var ie=32-ge;return j<<ie>>>ie}function L(j){return [j&255]}function P(j){return T(j[0],8)}function N(j){return [j&255]}function q(j){return I(j[0],8)}function B(j){return j=u(Number(j)),[j<0?0:j>255?255:j&255]}function W(j){return [j>>8&255,j&255]}function J(j){return T(j[0]<<8|j[1],16)}function ae(j){return [j>>8&255,j&255]}function pe(j){return I(j[0]<<8|j[1],16)}function Z(j){return [j>>24&255,j>>16&255,j>>8&255,j&255]}function oe(j){return T(j[0]<<24|j[1]<<16|j[2]<<8|j[3],32)}function de(j){return [j>>24&255,j>>16&255,j>>8&255,j&255]}function me(j){return I(j[0]<<24|j[1]<<16|j[2]<<8|j[3],32)}function Ce(j,ge,ie){var ve=(1<<ge-1)-1,Le,ye,De,ze,Je,at,pt;function xt(yt){var st=i(yt),Ia=yt-st;return Ia<.5?st:Ia>.5||st%2?st+1:st}for(j!==j?(ye=(1<<ge)-1,De=l(2,ie-1),Le=0):j===1/0||j===-1/0?(ye=(1<<ge)-1,De=0,Le=j<0?1:0):j===0?(ye=0,De=0,Le=1/j===-1/0?1:0):(Le=j<0,j=n(j),j>=l(2,1-ve)?(ye=s(i(o(j)/a),1023),De=xt(j/l(2,ye)*l(2,ie)),De/l(2,ie)>=2&&(ye=ye+1,De=1),ye>ve?(ye=(1<<ge)-1,De=0):(ye=ye+ve,De=De-l(2,ie))):(ye=0,De=xt(j/l(2,1-ve-ie)))),Je=[],ze=ie;ze;ze-=1)Je.push(De%2?1:0),De=i(De/2);for(ze=ge;ze;ze-=1)Je.push(ye%2?1:0),ye=i(ye/2);for(Je.push(Le?1:0),Je.reverse(),at=Je.join(""),pt=[];at.length;)pt.push(parseInt(at.substring(0,8),2)),at=at.substring(8);return pt}function Pe(j,ge,ie){var ve=[],Le,ye,De,ze,Je,at,pt,xt;for(Le=j.length;Le;Le-=1)for(De=j[Le-1],ye=8;ye;ye-=1)ve.push(De%2?1:0),De=De>>1;return ve.reverse(),ze=ve.join(""),Je=(1<<ge-1)-1,at=parseInt(ze.substring(0,1),2)?-1:1,pt=parseInt(ze.substring(1,1+ge),2),xt=parseInt(ze.substring(1+ge),2),pt===(1<<ge)-1?xt===0?at*(1/0):NaN:pt>0?at*l(2,pt-Je)*(1+xt/l(2,ie)):xt!==0?at*l(2,-(Je-1))*(xt/l(2,ie)):at<0?-0:0}function we(j){return Pe(j,11,52)}function Te(j){return Ce(j,11,52)}function le(j){return Pe(j,8,23)}function _e(j){return Ce(j,8,23)}((function(){function j(yt){if(yt=r.ToInt32(yt),yt<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=yt,this._bytes=[],this._bytes.length=yt;var st;for(st=0;st<this.byteLength;st+=1)this._bytes[st]=0;D(this);}e.ArrayBuffer=e.ArrayBuffer||j;function ge(){}function ie(yt,st,Ia){var kt;return kt=function(Dt,mt,Lt){var Pt,dt,Ze,X;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Lt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new j(this.byteLength),this.byteOffset=0;}else if(te(arguments[0])==="object"&&arguments[0].constructor===kt)for(Pt=arguments[0],this.length=Pt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new j(this.byteLength),this.byteOffset=0,Ze=0;Ze<this.length;Ze+=1)this._setter(Ze,Pt._getter(Ze));else if(te(arguments[0])==="object"&&!(arguments[0]instanceof j||r.Class(arguments[0])==="ArrayBuffer"))for(dt=arguments[0],this.length=r.ToUint32(dt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new j(this.byteLength),this.byteOffset=0,Ze=0;Ze<this.length;Ze+=1)X=dt[Ze],this._setter(Ze,Number(X));else if(te(arguments[0])==="object"&&(arguments[0]instanceof j||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=Dt,this.byteOffset=r.ToUint32(mt),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(Lt),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=kt,D(this),S(this);},kt.prototype=new ge,kt.prototype.BYTES_PER_ELEMENT=yt,kt.prototype._pack=st,kt.prototype._unpack=Ia,kt.BYTES_PER_ELEMENT=yt,kt.prototype._getter=function(lt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(lt=r.ToUint32(lt),!(lt>=this.length)){for(var Dt=[],mt=0,Lt=this.byteOffset+lt*this.BYTES_PER_ELEMENT;mt<this.BYTES_PER_ELEMENT;mt+=1,Lt+=1)Dt.push(this.buffer._bytes[Lt]);return this._unpack(Dt)}},kt.prototype.get=kt.prototype._getter,kt.prototype._setter=function(lt,Dt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(lt=r.ToUint32(lt),lt<this.length){var mt=this._pack(Dt),Lt,Pt;for(Lt=0,Pt=this.byteOffset+lt*this.BYTES_PER_ELEMENT;Lt<this.BYTES_PER_ELEMENT;Lt+=1,Pt+=1)this.buffer._bytes[Pt]=mt[Lt];}},kt.prototype.set=function(lt,Dt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var mt,Lt,Pt,dt,Ze,X,ne,ue,xe,Oe;if(te(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(mt=arguments[0],Pt=r.ToUint32(arguments[1]),Pt+mt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ue=this.byteOffset+Pt*this.BYTES_PER_ELEMENT,xe=mt.length*this.BYTES_PER_ELEMENT,mt.buffer===this.buffer){for(Oe=[],Ze=0,X=mt.byteOffset;Ze<xe;Ze+=1,X+=1)Oe[Ze]=mt.buffer._bytes[X];for(Ze=0,ne=ue;Ze<xe;Ze+=1,ne+=1)this.buffer._bytes[ne]=Oe[Ze];}else for(Ze=0,X=mt.byteOffset,ne=ue;Ze<xe;Ze+=1,X+=1,ne+=1)this.buffer._bytes[ne]=mt.buffer._bytes[X];}else if(te(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Lt=arguments[0],dt=r.ToUint32(Lt.length),Pt=r.ToUint32(arguments[1]),Pt+dt>this.length)throw new RangeError("Offset plus length of array is out of range");for(Ze=0;Ze<dt;Ze+=1)X=Lt[Ze],this._setter(Pt+Ze,Number(X));}else throw new TypeError("Unexpected argument type(s)")},kt.prototype.subarray=function(lt,Dt){lt=r.ToInt32(lt),Dt=r.ToInt32(Dt),arguments.length<1&&(lt=0),arguments.length<2&&(Dt=this.length),lt<0&&(lt=this.length+lt),Dt<0&&(Dt=this.length+Dt),lt=c(lt,0,this.length),Dt=c(Dt,0,this.length);var mt=Dt-lt;return mt<0&&(mt=0),new this.constructor(this.buffer,this.byteOffset+lt*this.BYTES_PER_ELEMENT,mt)},kt}var ve=ie(1,L,P),Le=ie(1,N,q),ye=ie(1,B,q),De=ie(2,W,J),ze=ie(2,ae,pe),Je=ie(4,Z,oe),at=ie(4,de,me),pt=ie(4,_e,le),xt=ie(8,Te,we);e.Int8Array=e.Int8Array||ve,e.Uint8Array=e.Uint8Array||Le,e.Uint8ClampedArray=e.Uint8ClampedArray||ye,e.Int16Array=e.Int16Array||De,e.Uint16Array=e.Uint16Array||ze,e.Int32Array=e.Int32Array||Je,e.Uint32Array=e.Uint32Array||at,e.Float32Array=e.Float32Array||pt,e.Float64Array=e.Float64Array||xt;}))(),(function(){function j(ye,De){return r.IsCallable(ye.get)?ye.get(De):ye[De]}var ge=(function(){var ye=new e.Uint16Array([4660]),De=new e.Uint8Array(ye.buffer);return j(De,0)===18})();function ie(ye,De,ze){if(arguments.length===0)ye=new e.ArrayBuffer(0);else if(!(ye instanceof e.ArrayBuffer||r.Class(ye)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=ye||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(De),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(ze),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 ve(ye){return function(De,ze){if(De=r.ToUint32(De),De+ye.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");De+=this.byteOffset;var Je=new e.Uint8Array(this.buffer,De,ye.BYTES_PER_ELEMENT),at=[],pt;for(pt=0;pt<ye.BYTES_PER_ELEMENT;pt+=1)at.push(j(Je,pt));return !!ze==!!ge&&at.reverse(),j(new ye(new e.Uint8Array(at).buffer),0)}}ie.prototype.getUint8=ve(e.Uint8Array),ie.prototype.getInt8=ve(e.Int8Array),ie.prototype.getUint16=ve(e.Uint16Array),ie.prototype.getInt16=ve(e.Int16Array),ie.prototype.getUint32=ve(e.Uint32Array),ie.prototype.getInt32=ve(e.Int32Array),ie.prototype.getFloat32=ve(e.Float32Array),ie.prototype.getFloat64=ve(e.Float64Array);function Le(ye){return function(De,ze,Je){if(De=r.ToUint32(De),De+ye.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var at=new ye([ze]),pt=new e.Uint8Array(at.buffer),xt=[],yt,st;for(yt=0;yt<ye.BYTES_PER_ELEMENT;yt+=1)xt.push(j(pt,yt));!!Je==!!ge&&xt.reverse(),st=new e.Uint8Array(this.buffer,De,ye.BYTES_PER_ELEMENT),st.set(xt);}}ie.prototype.setUint8=Le(e.Uint8Array),ie.prototype.setInt8=Le(e.Int8Array),ie.prototype.setUint16=Le(e.Uint16Array),ie.prototype.setInt16=Le(e.Int16Array),ie.prototype.setUint32=Le(e.Uint32Array),ie.prototype.setInt32=Le(e.Int32Array),ie.prototype.setFloat32=Le(e.Float32Array),ie.prototype.setFloat64=Le(e.Float64Array),e.DataView=e.DataView||ie;})();}),Bg=M(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 "+te(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 p<"u"?p:typeof b<"u"?b:e);}),ir=M(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":te(globalThis))=="object"&&globalThis)||r((typeof p>"u"?"undefined":te(p))=="object"&&p)||r((typeof self>"u"?"undefined":te(self))=="object"&&self)||r((typeof b>"u"?"undefined":te(b))=="object"&&b)||r(te(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),or=M(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Hn=M(function(e,t){var r=or();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Vg=M(function(e,t){var r=Hn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":te(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),Xt=M(function(e,t){var r=Hn(),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)}};}),jn=M(function(e,t){var r=Xt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),Du=M(function(e,t){var r=jn(),a=Xt();t.exports=function(n){if(r(n)==="Function")return a(n)};}),qt=M(function(e,t){var r=(typeof h>"u"?"undefined":te(h))=="object"&&h.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),pr=M(function(e,t){var r=or();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),Zr=M(function(e,t){var r=Hn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),_u=M(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;}),$n=M(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Hg=M(function(e,t){var r=Xt(),a=or(),n=jn(),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;}),Do=M(function(e,t){t.exports=function(r){return r==null};}),zn=M(function(e,t){var r=Do(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ha=M(function(e,t){var r=Hg(),a=zn();t.exports=function(n){return r(a(n))};}),Mr=M(function(e,t){var r=qt();t.exports=function(a){return te(a)=="object"?a!==null:r(a)};}),ja=M(function(e,t){t.exports={};}),_o=M(function(e,t){var r=ja(),a=ir(),n=qt(),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]};}),jg=M(function(e,t){var r=Xt();t.exports=r({}.isPrototypeOf);}),$g=M(function(e,t){var r=ir(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),zg=M(function(e,t){var r=ir(),a=$g(),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;}),Au=M(function(e,t){var r=zg(),a=or(),n=ir(),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});}),Eu=M(function(e,t){var r=Au();t.exports=r&&!Symbol.sham&&te(Symbol.iterator)=="symbol";}),Cu=M(function(e,t){var r=_o(),a=qt(),n=jg(),i=Eu(),o=Object;t.exports=i?function(s){return te(s)=="symbol"}:function(s){var l=r("Symbol");return a(l)&&n(l.prototype,o(s))};}),Su=M(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Gn=M(function(e,t){var r=qt(),a=Su(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),Ao=M(function(e,t){var r=Gn(),a=Do();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Gg=M(function(e,t){var r=Zr(),a=qt(),n=Mr(),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")};}),Eo=M(function(e,t){t.exports=true;}),Wg=M(function(e,t){var r=ir(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),Wn=M(function(e,t){var r=Eo(),a=ir(),n=Wg(),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"});}),ku=M(function(e,t){var r=Wn();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Co=M(function(e,t){var r=zn(),a=Object;t.exports=function(n){return a(r(n))};}),_r=M(function(e,t){var r=Xt(),a=Co(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Tu=M(function(e,t){var r=Xt(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Ar=M(function(e,t){var r=ir(),a=ku(),n=_r(),i=Tu(),o=Au(),s=Eu(),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]};}),Ug=M(function(e,t){var r=Zr(),a=Mr(),n=Cu(),i=Ao(),o=Gg(),s=Ar(),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)};}),Fu=M(function(e,t){var r=Ug(),a=Cu();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),Ru=M(function(e,t){var r=ir(),a=Mr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),Iu=M(function(e,t){var r=pr(),a=or(),n=Ru();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),Xg=M(function(e){var t=pr(),r=Zr(),a=_u(),n=$n(),i=Ha(),o=Fu(),s=_r(),l=Iu(),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])};}),Yg=M(function(e,t){var r=or(),a=qt(),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;}),Lu=M(function(e,t){var r=Du(),a=Gn(),n=Hn(),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)}};}),Pu=M(function(e,t){var r=pr(),a=or();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),pa=M(function(e,t){var r=Mr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),Un=M(function(e){var t=pr(),r=Iu(),a=Pu(),n=pa(),i=Fu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?a?function(D,S,T){if(n(D),S=i(S),n(T),typeof D=="function"&&S==="prototype"&&"value"in T&&d in T&&!T[d]){var I=l(D,S);I&&I[d]&&(D[S]=T.value,T={configurable:c in T?T[c]:I[c],enumerable:u in T?T[u]:I[u],writable:false});}return s(D,S,T)}:s:function(D,S,T){if(n(D),S=i(S),n(T),r)try{return s(D,S,T)}catch{}if("get"in T||"set"in T)throw new o("Accessors not supported");return "value"in T&&(D[S]=T.value),D};}),$a=M(function(e,t){var r=pr(),a=Un(),n=$n();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),Xn=M(function(e,t){var r=ir(),a=Vg(),n=Du(),i=qt(),o=Xg().f,s=Yg(),l=ja(),u=Lu(),c=$a(),d=_r();Wn();var g=function(S){var T=function(L,P,N){if(this instanceof T){switch(arguments.length){case 0:return new S;case 1:return new S(L);case 2:return new S(L,P)}return new S(L,P,N)}return a(S,this,arguments)};return T.prototype=S.prototype,T};t.exports=function(D,S){var T=D.target,I=D.global,L=D.stat,P=D.proto,N=I?r:L?r[T]:r[T]&&r[T].prototype,q=I?l:l[T]||c(l,T,{})[T],B=q.prototype,W,J,ae,pe,Z,oe,de,me,Ce;for(pe in S)W=s(I?pe:T+(L?".":"#")+pe,D.forced),J=!W&&N&&d(N,pe),oe=q[pe],J&&(D.dontCallGetSet?(Ce=o(N,pe),de=Ce&&Ce.value):de=N[pe]),Z=J&&de?de:S[pe],!(!W&&!P&&te(oe)==te(Z))&&(D.bind&&J?me=u(Z,r):D.wrap&&J?me=g(Z):P&&i(Z)?me=n(Z):me=Z,(D.sham||Z&&Z.sham||oe&&oe.sham)&&c(me,"sham",true),c(q,pe,me),P&&(ae=T+"Prototype",d(l,ae)||c(l,ae,{}),c(l[ae],pe,Z),D.real&&B&&(W||!B[pe])&&c(B,pe,Z)));};}),Kg=M(function(){var e=Xn(),t=_r();e({target:"Object",stat:true},{hasOwn:t});}),Jg=M(function(e,t){Kg();var r=ja();t.exports=r.Object.hasOwn;}),Zg=M(function(e,t){var r=Jg();t.exports=r;}),Qg=M(function(e,t){var r=Zg();t.exports=r;}),So=M(function(e,t){var r=ku(),a=Tu(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),ev=M(function(e,t){var r=or();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),ko=M(function(e,t){var r=_r(),a=qt(),n=Co(),i=So(),o=ev(),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};}),tv=M(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)};}),To=M(function(e,t){var r=tv();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),rv=M(function(e,t){var r=To(),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)};}),av=M(function(e,t){var r=To(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Mu=M(function(e,t){var r=av();t.exports=function(a){return r(a.length)};}),nv=M(function(e,t){var r=Ha(),a=rv(),n=Mu(),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)};}),Fo=M(function(e,t){t.exports={};}),iv=M(function(e,t){var r=Xt(),a=_r(),n=Ha(),i=nv().indexOf,o=Fo(),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};}),Ou=M(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Nu=M(function(e,t){var r=iv(),a=Ou();t.exports=Object.keys||function(i){return r(i,a)};}),ov=M(function(e,t){var r=pr(),a=or(),n=Xt(),i=ko(),o=Nu(),s=Ha(),l=_u().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(T){for(var I=s(T),L=o(I),P=d&&i(I)===null,N=L.length,q=0,B=[],W;N>q;)W=L[q++],(!r||(P?W in I:u(I,W)))&&c(B,S?[W,I[W]]:I[W]);return B}};t.exports={entries:g(true),values:g(false)};}),sv=M(function(){var e=Xn(),t=ov().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),lv=M(function(e,t){sv();var r=ja();t.exports=r.Object.values;}),uv=M(function(e,t){var r=lv();t.exports=r;}),cv=M(function(e,t){var r=uv();t.exports=r;}),Ro=M(function(e,t){var r=Ar(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),Yn=M(function(e,t){var r=Ro(),a=qt(),n=jn(),i=Ar(),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};}),qu=M(function(e,t){var r=Yn(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),dv=M(function(e,t){var r=Xt(),a=To(),n=qu(),i=zn(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(d){return function(g,D){var S=n(i(g)),T=a(D),I=S.length,L,P;return T<0||T>=I?d?"":void 0:(L=s(S,T),L<55296||L>56319||T+1===I||(P=s(S,T+1))<56320||P>57343?d?o(S,T):L:d?l(S,T,T+2):(L-55296<<10)+(P-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),fv=M(function(e,t){var r=ir(),a=qt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),pv=M(function(e,t){var r=fv(),a=ir(),n=Mr(),i=$a(),o=_r(),s=Wn(),l=So(),u=Fo(),c="Object already initialized",d=a.TypeError,g=a.WeakMap,D,S,T,I=function(B){return T(B)?S(B):D(B,{})},L=function(B){return function(W){var J;if(!n(W)||(J=S(W)).type!==B)throw new d("Incompatible receiver, "+B+" required");return J}};r||s.state?(P=s.state||(s.state=new g),P.get=P.get,P.has=P.has,P.set=P.set,D=function(B,W){if(P.has(B))throw new d(c);return W.facade=B,P.set(B,W),W},S=function(B){return P.get(B)||{}},T=function(B){return P.has(B)}):(N=l("state"),u[N]=true,D=function(B,W){if(o(B,N))throw new d(c);return W.facade=B,i(B,N,W),W},S=function(B){return o(B,N)?B[N]:{}},T=function(B){return o(B,N)});var P,N;t.exports={set:D,get:S,has:T,enforce:I,getterFor:L};}),mv=M(function(e,t){var r=pr(),a=_r(),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};}),hv=M(function(e){var t=pr(),r=Pu(),a=Un(),n=pa(),i=Ha(),o=Nu();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};}),gv=M(function(e,t){var r=_o();t.exports=r("document","documentElement");}),Bu=M(function(e,t){var r=pa(),a=hv(),n=Ou(),i=Fo(),o=gv(),s=Ru(),l=So(),u=">",c="<",d="prototype",g="script",D=l("IE_PROTO"),S=function(){},T=function(B){return c+g+u+B+c+"/"+g+u},I=function(B){B.write(T("")),B.close();var W=B.parentWindow.Object;return B=null,W},L=function(){var B=s("iframe"),W="java"+g+":",J;return B.style.display="none",o.appendChild(B),B.src=String(W),J=B.contentWindow.document,J.open(),J.write(T("document.F=Object")),J.close(),J.F},P,N=function(){try{P=new ActiveXObject("htmlfile");}catch{}N=typeof h<"u"?h.domain&&P?I(P):L():I(P);for(var B=n.length;B--;)delete N[d][n[B]];return N()};i[D]=true,t.exports=Object.create||function(B,W){var J;return B!==null?(S[d]=r(B),J=new S,S[d]=null,J[D]=B):J=N(),W===void 0?J:a.f(J,W)};}),Vu=M(function(e,t){var r=$a();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),Hu=M(function(e,t){var r=or(),a=qt(),n=Mr(),i=Bu(),o=ko(),s=Vu(),l=Ar(),u=Eo(),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 T=!n(g)||r(function(){var I={};return g[c].call(I)!==I});T?g={}:u&&(g=i(g)),a(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:d};}),vv=M(function(e,t){var r=Ro(),a=Yn();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),ju=M(function(e,t){var r=Ro(),a=Un().f,n=$a(),i=_r(),o=vv(),s=Ar(),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));};}),Kn=M(function(e,t){t.exports={};}),bv=M(function(e,t){var r=Hu().IteratorPrototype,a=Bu(),n=$n(),i=ju(),o=Kn(),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};}),yv=M(function(e,t){var r=Xt(),a=Gn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),wv=M(function(e,t){var r=Mr();t.exports=function(a){return r(a)||a===null};}),xv=M(function(e,t){var r=wv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),Dv=M(function(e,t){var r=yv(),a=Mr(),n=zn(),i=xv();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);}),_v=M(function(e,t){var r=Xn(),a=Zr(),n=Eo(),i=mv(),o=qt(),s=bv(),l=ko(),u=Dv(),c=ju(),d=$a(),g=Vu(),D=Ar(),S=Kn(),T=Hu(),I=i.PROPER,L=i.CONFIGURABLE,P=T.IteratorPrototype,N=T.BUGGY_SAFARI_ITERATORS,q=D("iterator"),B="keys",W="values",J="entries",ae=function(){return this};t.exports=function(pe,Z,oe,de,me,Ce,Pe){s(oe,Z,de);var we=function(ze){if(ze===me&&ge)return ge;if(!N&&ze&&ze in _e)return _e[ze];switch(ze){case B:return function(){return new oe(this,ze)};case W:return function(){return new oe(this,ze)};case J:return function(){return new oe(this,ze)}}return function(){return new oe(this)}},Te=Z+" Iterator",le=false,_e=pe.prototype,j=_e[q]||_e["@@iterator"]||me&&_e[me],ge=!N&&j||we(me),ie=Z==="Array"&&_e.entries||j,ve,Le,ye;if(ie&&(ve=l(ie.call(new pe)),ve!==Object.prototype&&ve.next&&(!n&&l(ve)!==P&&(u?u(ve,P):o(ve[q])||g(ve,q,ae)),c(ve,Te,true,true),n&&(S[Te]=ae))),I&&me===W&&j&&j.name!==W&&(!n&&L?d(_e,"name",W):(le=true,ge=function(){return a(j,this)})),me)if(Le={values:we(W),keys:Ce?ge:we(B),entries:we(J)},Pe)for(ye in Le)(N||le||!(ye in _e))&&g(_e,ye,Le[ye]);else r({target:Z,proto:true,forced:N||le},Le);return (!n||Pe)&&_e[q]!==ge&&g(_e,q,ge,{name:me}),S[Z]=ge,Le};}),Av=M(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),Ev=M(function(){var e=dv().charAt,t=qu(),r=pv(),a=_v(),n=Av(),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))});}),Cv=M(function(e,t){var r=Zr(),a=pa(),n=Ao();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};}),Sv=M(function(e,t){var r=pa(),a=Cv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),kv=M(function(e,t){var r=Ar(),a=Kn(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Tv=M(function(e,t){var r=Xt(),a=qt(),n=Wn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Fv=M(function(e,t){var r=Xt(),a=or(),n=qt(),i=Yn(),o=_o(),s=Tv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),g=!c.test(l),D=function(I){if(!n(I))return false;try{return u(l,[],I),!0}catch{return false}},S=function(I){if(!n(I))return false;switch(i(I)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!d(c,s(I))}catch{return true}};S.sham=true,t.exports=!u||a(function(){var T;return D(D.call)||!D(Object)||!D(function(){T=true;})||T})?S:D;}),Rv=M(function(e,t){var r=pr(),a=Un(),n=$n();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),Iv=M(function(e,t){var r=jn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),Lv=M(function(e,t){var r=pr(),a=Iv(),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};}),$u=M(function(e,t){var r=Yn(),a=Ao(),n=Do(),i=Kn(),o=Ar(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),Pv=M(function(e,t){var r=Zr(),a=Gn(),n=pa(),i=Su(),o=$u(),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")};}),Mv=M(function(e,t){var r=Lu(),a=Zr(),n=Co(),i=Sv(),o=kv(),s=Fv(),l=Mu(),u=Rv(),c=Lv(),d=Pv(),g=$u(),D=Array;t.exports=function(T){var I=n(T),L=s(this),P=arguments.length,N=P>1?arguments[1]:void 0,q=N!==void 0;q&&(N=r(N,P>2?arguments[2]:void 0));var B=g(I),W=0,J,ae,pe,Z,oe,de;if(B&&!(this===D&&o(B)))for(ae=L?new this:[],Z=d(I,B),oe=Z.next;!(pe=a(oe,Z)).done;W++)de=q?i(Z,N,[pe.value,W],true):pe.value,u(ae,W,de);else for(J=l(I),ae=L?new this(J):D(J);J>W;W++)de=q?N(I[W],W):I[W],u(ae,W,de);return c(ae,W),ae};}),Ov=M(function(e,t){var r=Ar(),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};}),Nv=M(function(){var e=Xn(),t=Mv(),r=Ov(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),qv=M(function(e,t){Ev(),Nv();var r=ja();t.exports=r.Array.from;}),Bv=M(function(e,t){var r=qv();t.exports=r;}),zu=M(function(e,t){var r=Bv();t.exports=r;}),Gu=M(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:`
|
|
361
361
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
362
|
-
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),
|
|
363
|
-
`||c==="\r"||c==="\f";)P=true,n++,c=a.charAt(n);return P}function S(){var P=T();if(n<l)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return P}function T(){var P=I();if(!P)return null;var O=P;for(c=a.charAt(n);c===",";){if(n++,D(),O.type!=="selectors"&&(O={type:"selectors",selectors:[P]}),P=I(),!P)throw Error('Rule expected after ",".');O.selectors.push(P);}return O}function I(){D();var P={type:"ruleSet"},O=L();if(!O)return null;for(var N=P;O&&(O.type="rule",N.rule=O,N=O,D(),c=a.charAt(n),!(n>=l||c===","||c===")"));)if(s[c]){var B=c;if(n++,D(),O=L(),!O)throw Error('Rule expected after "'+B+'".');O.nestingOperator=B;}else O=L(),O&&(O.nestingOperator=null);return P}function L(){for(var P=null;n<l;)if(c=a.charAt(n),c==="*")n++,(P=P||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(P=P||{}).tagName=h();else if(c===".")n++,P=P||{},(P.classNames=P.classNames||[]).push(h());else if(c==="#")n++,(P=P||{}).id=h();else if(c==="["){n++,D();var O={name:h()};if(D(),c==="]")n++;else {var N="";if(o[c]&&(N=c,n++,c=a.charAt(n)),n>=l)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');O.operator=N+"=",n++,D();var B="";if(O.valueType="string",c==='"')B=d('"',t.doubleQuotesEscapeChars);else if(c==="'")B=d("'",t.singleQuoteEscapeChars);else if(u&&c==="$")n++,B=h(),O.valueType="substitute";else {for(;n<l&&c!=="]";)B+=c,n++,c=a.charAt(n);B=B.trim();}if(D(),n>=l)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,O.value=B;}P=P||{},(P.attrs=P.attrs||[]).push(O);}else if(c===":"){n++;var U=h(),K={name:U};if(c==="("){n++;var te="";if(D(),i[U]==="selector")K.valueType="selector",te=T();else {if(K.valueType=i[U]||"string",c==='"')te=d('"',t.doubleQuotesEscapeChars);else if(c==="'")te=d("'",t.singleQuoteEscapeChars);else if(u&&c==="$")n++,te=h(),K.valueType="substitute";else {for(;n<l&&c!==")";)te+=c,n++,c=a.charAt(n);te=te.trim();}D();}if(n>=l)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,K.value=te;}P=P||{},(P.pseudos=P.pseudos||[]).push(K);}else break;return P}return S()}e.parseCssSelector=r;}),Nv=M(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=jl();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;}),qv=M(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Ov(),r=Nv(),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,u=i;s<u.length;s++){var l=u[s];this.pseudos[l]="selector";}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.pseudos[l];}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.pseudos[l]="numeric";}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.pseudos[l];}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.ruleNestingOperators[l]=true;}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.ruleNestingOperators[l];}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.attrEqualityMods[l]=true;}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.attrEqualityMods[l];}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;}),Bv=M(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":ee(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{p.globalThis=(function(){if(typeof self<"u")return self;if(typeof p<"u")return p;if(typeof v<"u")return v;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},l=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(l,function(d){return u[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,u,l){return (typeof u=="string"?u:u.toString()).replace(s.define||n,function(c,d,h,D){return d.indexOf("def.")===0&&(d=d.substring(4)),d in l||(h===":"?(s.defineParams&&D.replace(s.defineParams,function(S,T,I){l[d]={arg:T,text:I};}),d in l||(l[d]=D)):new Function("def","def['"+d+"']="+D)(l)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(D,S,T,I){if(l[T]&&l[T].arg&&I){var L=(T+":"+I).replace(/'|\\/g,"_");return l.__exp=l.__exp||{},l.__exp[L]=l[T].text.replace(new RegExp("(^|[^\\w$])"+l[T].arg+"([^\\w$])","g"),"$1"+I+"$2"),S+"def.__exp['"+L+"']"}}));var h=new Function("def","return "+d)(l);return h&&i(s,h,l)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,u,l){u=u||r.templateSettings;var c=u.append?a.append:a.split,d,h=0,D,S=u.use||u.define?i(u,s,l||{}):s;S=("var out='"+(u.strip?S.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):S).replace(/'|\\/g,"\\$&").replace(u.interpolate||n,function(T,I){return c.start+o(I)+c.end}).replace(u.encode||n,function(T,I){return d=true,c.startencode+o(I)+c.end}).replace(u.conditional||n,function(T,I,L){return I?L?"';}else if("+o(L)+"){out+='":"';}else{out+='":L?"';if("+o(L)+"){out+='":"';}out+='"}).replace(u.iterate||n,function(T,I,L,P){return I?(h+=1,D=P||"i"+h,I=o(I),"';var arr"+h+"="+I+";if(arr"+h+"){var "+L+","+D+"=-1,l"+h+"=arr"+h+".length-1;while("+D+"<l"+h+"){"+L+"=arr"+h+"["+D+"+=1];out+='"):"';} } out+='"}).replace(u.evaluate||n,function(T,I){return "';"+o(I)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!u.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(u.doNotSkipEncoded)),S="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(u.doNotSkipEncoded||"")+"));"+S);try{return new Function(u.varname,S)}catch(T){throw typeof console<"u"&&console.log("Could not create a template function: "+S),T}},r.compile=function(s,u){return r.template(s,null,u)};})();}),Vv=M(function(e,t){t.exports=function(){};}),Qr=M(function(e,t){var r=Vv()();t.exports=function(a){return a!==r&&a!==null};}),$l=M(function(e,t){var r=Qr(),a=Array.prototype.forEach,n=Object.create,i=function(s,u){var l;for(l in s)u[l]=s[l];};t.exports=function(o){var s=n(null);return a.call(arguments,function(u){r(u)&&i(Object(u),s);}),s};}),Hv=M(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),jv=M(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),$v=M(function(e,t){t.exports=Hv()()?Math.sign:jv();}),zv=M(function(e,t){var r=$v(),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)))};}),ea=M(function(e,t){var r=zv(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),zl=M(function(e,t){var r=ea();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)};}),Pr=M(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),ma=M(function(e,t){var r=Qr();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),Gv=M(function(e,t){var r=Pr(),a=ma(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(u,l){return function(c,d){var h,D=arguments[2],S=arguments[3];return c=Object(a(c)),r(d),h=o(c),S&&h.sort(typeof S=="function"?n.call(S,c):void 0),typeof u!="function"&&(u=h[u]),i.call(u,h,function(T,I){return s.call(c,T)?i.call(d,D,c[T],T,c,I):l})}};}),Kn=M(function(e,t){t.exports=Gv()("forEach");}),ta=M(function(){}),Uv=M(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=M(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Xv=M(function(e,t){var r=Qr(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Yv=M(function(e,t){t.exports=Wv()()?Object.keys:Xv();}),Kv=M(function(e,t){var r=Yv(),a=ma(),n=Math.max;t.exports=function(i,o){var s,u,l=n(arguments.length,2),c;for(i=Object(a(i)),c=function(h){try{i[h]=o[h];}catch(D){s||(s=D);}},u=1;u<l;++u)o=arguments[u],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Gl=M(function(e,t){t.exports=Uv()()?Object.assign:Kv();}),Jv=M(function(e,t){var r=Qr(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[ee(n)]||false};}),Zv=M(function(e,t){var r=Gl(),a=Jv(),n=Qr(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),u=arguments[1],l=arguments[2];return n(l)||a(u)&&(l=u,u=null),n(l)&&r(s,l),n(u)&&(s.code=u),i&&i(s,t.exports),s};}),Ul=M(function(e,t){var r=ma(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,u){var l,c=Object(r(u));if(s=Object(r(s)),i(c).forEach(function(d){try{a(s,d,n(u,d));}catch(h){l=h;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(u,d));}catch(h){l=h;}}),l!==void 0)throw l;return s};}),Wl=M(function(e,t){var r=ea(),a=function(l,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(u,l){return l=r(l),u.length===l?u:(n.value=l,i(u,"length",n))}):(s=Ul(),o=(function(){var u=[];return function(l){var c,d=0;if(u[l])return u[l];for(c=[];l--;)c.push("a"+(++d).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(u,l){var c;if(l=r(l),u.length===l)return u;c=o(l)(u);try{s(c,u);}catch{}return c});}),Xl=M(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),Qv=M(function(e,t){var r=Xl(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,ee(n)):false};}),eb=M(function(e,t){var r=Qv();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),tb=M(function(e,t){var r=eb();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)};}),rb=M(function(e,t){var r=tb(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),ab=M(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),nb=M(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),ib=M(function(e,t){t.exports=ab()()?String.prototype.contains:nb();}),ra=M(function(e,t){var r=Xl(),a=rb(),n=Gl(),i=$l(),o=ib(),s=t.exports=function(u,l){var c,d,h,D,S;return arguments.length<2||typeof u!="string"?(D=l,l=u,u=null):D=arguments[2],r(u)?(c=o.call(u,"c"),d=o.call(u,"e"),h=o.call(u,"w")):(c=h=true,d=false),S={value:l,configurable:c,enumerable:d,writable:h},D?n(i(D),S):S};s.gs=function(u,l,c){var d,h,D,S;return typeof u!="string"?(D=c,c=l,l=u,u=null):D=arguments[3],r(l)?a(l)?r(c)?a(c)||(D=c,c=void 0):c=void 0:(D=l,l=c=void 0):l=void 0,r(u)?(d=o.call(u,"c"),h=o.call(u,"e")):(d=true,h=false),S={get:l,set:c,configurable:d,enumerable:h},D?n(i(D),S):S};}),ob=M(function(e,t){var r=ra(),a=Pr(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,u=Object.defineProperties,l=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},d,h,D,S,T,I,L;d=function(O,N){var B;return a(N),l.call(this,"__ee__")?B=this.__ee__:(B=c.value=o(null),s(this,"__ee__",c),c.value=null),B[O]?ee(B[O])==="object"?B[O].push(N):B[O]=[B[O],N]:B[O]=N,this},h=function(O,N){var B,U;return a(N),U=this,d.call(this,O,B=function(){D.call(U,O,B),n.call(N,this,arguments);}),B.__eeOnceListener__=N,this},D=function(O,N){var B,U,K,te;if(a(N),!l.call(this,"__ee__"))return this;if(B=this.__ee__,!B[O])return this;if(U=B[O],ee(U)==="object")for(te=0;K=U[te];++te)(K===N||K.__eeOnceListener__===N)&&(U.length===2?B[O]=U[te?0:1]:U.splice(te,1));else (U===N||U.__eeOnceListener__===N)&&delete B[O];return this},S=function(O){var N,B,U,K,te;if(l.call(this,"__ee__")&&(K=this.__ee__[O],!!K))if(ee(K)==="object"){for(B=arguments.length,te=new Array(B-1),N=1;N<B;++N)te[N-1]=arguments[N];for(K=K.slice(),N=0;U=K[N];++N)n.call(U,this,te);}else switch(arguments.length){case 1:i.call(K,this);break;case 2:i.call(K,this,arguments[1]);break;case 3:i.call(K,this,arguments[1],arguments[2]);break;default:for(B=arguments.length,te=new Array(B-1),N=1;N<B;++N)te[N-1]=arguments[N];n.call(K,this,te);}},T={on:d,once:h,off:D,emit:S},I={on:r(d),once:r(h),off:r(D),emit:r(S)},L=u({},I),t.exports=e=function(O){return O==null?o(L):u(Object(O),I)},e.methods=T;}),sb=M(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"))};}),ub=M(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ee(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),lb=M(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ee(self))==="object"&&self)return self;if((typeof p>"u"?"undefined":ee(p))==="object"&&p)return p;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__;}})();}),Jn=M(function(e,t){t.exports=ub()()?globalThis:lb();}),cb=M(function(e,t){var r=Jn(),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[ee(n.iterator)]||!a[ee(n.toPrimitive)]||!a[ee(n.toStringTag)])};}),db=M(function(e,t){t.exports=function(r){return r?ee(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Yl=M(function(e,t){var r=db();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),fb=M(function(e,t){var r=ra(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var u=0,l,c;o[s+(u||"")];)++u;return s+=u||"",o[s]=true,l="@@"+s,n(i,l,r.gs(null,function(d){c||(c=true,n(this,l,r(d)),c=false);})),l};}),pb=M(function(e,t){var r=ra(),a=Jn().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"))})};}),mb=M(function(e,t){var r=ra(),a=Yl(),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})})};}),hb=M(function(e,t){var r=ra(),a=Yl(),n=Jn().Symbol,i=fb(),o=pb(),s=mb(),u=Object.create,l=Object.defineProperties,c=Object.defineProperty,d,h,D;if(typeof n=="function")try{String(n()),D=!0;}catch{}else n=null;h=function(T){if(this instanceof h)throw new TypeError("Symbol is not a constructor");return d(T)},t.exports=d=function S(T){var I;if(this instanceof S)throw new TypeError("Symbol is not a constructor");return D?n(T):(I=u(h.prototype),T=T===void 0?"":String(T),l(I,{__description__:r("",T),__name__:r("",i(T))}))},o(d),s(d),l(h.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),l(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 ee(S)==="symbol"?S:S.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(h.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(h.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]));}),gb=M(function(e,t){t.exports=cb()()?Jn().Symbol:hb();}),vb=M(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),bb=M(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))};}),yb=M(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&ee(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),wb=M(function(e,t){var r=gb().iterator,a=vb(),n=bb(),i=ea(),o=Pr(),s=ma(),u=Qr(),l=yb(),c=Array.isArray,d=Function.prototype.call,h={configurable:true,enumerable:true,writable:true,value:null},D=Object.defineProperty;t.exports=function(S){var T=arguments[1],I=arguments[2],L,P,O,N,B,U,K,te,fe,J;if(S=Object(s(S)),u(T)&&o(T),!this||this===Array||!n(this)){if(!T){if(a(S))return B=S.length,B!==1?Array.apply(null,S):(N=new Array(1),N[0]=S[0],N);if(c(S)){for(N=new Array(B=S.length),P=0;P<B;++P)N[P]=S[P];return N}}N=[];}else L=this;if(!c(S)){if((fe=S[r])!==void 0){for(K=o(fe).call(S),L&&(N=new L),te=K.next(),P=0;!te.done;)J=T?d.call(T,I,te.value,P):te.value,L?(h.value=J,D(N,P,h)):N[P]=J,te=K.next(),++P;B=P;}else if(l(S)){for(B=S.length,L&&(N=new L),P=0,O=0;P<B;++P)J=S[P],P+1<B&&(U=J.charCodeAt(0),U>=55296&&U<=56319&&(J+=S[++P])),J=T?d.call(T,I,J,O):J,L?(h.value=J,D(N,O,h)):N[O]=J,++O;B=O;}}if(B===void 0)for(B=i(S.length),L&&(N=new L(B)),P=0;P<B;++P)J=T?d.call(T,I,S[P],P):S[P],L?(h.value=J,D(N,P,h)):N[P]=J;return L&&(h.value=null,N.length=B),N};}),Ro=M(function(e,t){t.exports=sb()()?Array.from:wb();}),xb=M(function(e,t){var r=Ro(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),Db=M(function(e,t){var r=xb(),a=Qr(),n=Pr(),i=Array.prototype.slice,o;o=function(u){return this.map(function(l,c){return l?l(u[c]):u[c]}).concat(i.call(u,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(u){a(u)&&n(u);}),o.bind(s)};}),_b=M(function(e,t){var r=Pr();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))};}),Ab=M(function(e,t){var r=Zv(),a=Wl(),n=ra(),i=ob().methods,o=Db(),s=_b(),u=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,h=i.on,D=i.emit;t.exports=function(S,T,I){var L=c(null),P,O,N,B,U,K,te,fe,J,ne,le,pe,Ee,Le,we;return T!==false?O=T:isNaN(S.length)?O=1:O=S.length,I.normalizer&&(ne=s(I.normalizer),N=ne.get,B=ne.set,U=ne.delete,K=ne.clear),I.resolvers!=null&&(we=o(I.resolvers)),N?Le=a(function(Fe){var oe,Ae,$=arguments;if(we&&($=we($)),oe=N($),oe!==null&&hasOwnProperty.call(L,oe))return le&&P.emit("get",oe,$,this),L[oe];if($.length===1?Ae=l.call(S,this,$[0]):Ae=u.call(S,this,$),oe===null){if(oe=N($),oe!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");oe=B($);}else if(hasOwnProperty.call(L,oe))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[oe]=Ae,pe&&P.emit("set",oe,null,Ae),Ae},O):T===0?Le=function(){var oe;if(hasOwnProperty.call(L,"data"))return le&&P.emit("get","data",arguments,this),L.data;if(arguments.length?oe=u.call(S,this,arguments):oe=l.call(S,this),hasOwnProperty.call(L,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return L.data=oe,pe&&P.emit("set","data",null,oe),oe}:Le=function(oe){var Ae,$=arguments,he;if(we&&($=we(arguments)),he=String($[0]),hasOwnProperty.call(L,he))return le&&P.emit("get",he,$,this),L[he];if($.length===1?Ae=l.call(S,this,$[0]):Ae=u.call(S,this,$),hasOwnProperty.call(L,he))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[he]=Ae,pe&&P.emit("set",he,null,Ae),Ae},P={original:S,memoized:Le,profileName:I.profileName,get:function(oe){return we&&(oe=we(oe)),N?N(oe):String(oe[0])},has:function(oe){return hasOwnProperty.call(L,oe)},delete:function(oe){var Ae;hasOwnProperty.call(L,oe)&&(U&&U(oe),Ae=L[oe],delete L[oe],Ee&&P.emit("delete",oe,Ae));},clear:function(){var oe=L;K&&K(),L=c(null),P.emit("clear",oe);},on:function(oe,Ae){return oe==="get"?le=true:oe==="set"?pe=true:oe==="delete"&&(Ee=true),h.call(this,oe,Ae)},emit:D,updateEnv:function(){S=P.original;}},N?te=a(function(Fe){var oe,Ae=arguments;we&&(Ae=we(Ae)),oe=N(Ae),oe!==null&&P.delete(oe);},O):T===0?te=function(){return P.delete("data")}:te=function(oe){return we&&(oe=we(arguments)[0]),P.delete(oe)},fe=a(function(){var Fe,oe=arguments;return T===0?L.data:(we&&(oe=we(oe)),N?Fe=N(oe):Fe=String(oe[0]),L[Fe])}),J=a(function(){var Fe,oe=arguments;return T===0?P.has("data"):(we&&(oe=we(oe)),N?Fe=N(oe):Fe=String(oe[0]),Fe===null?false:P.has(Fe))}),d(Le,{__memoized__:n(true),delete:n(te),clear:n(P.clear),_get:n(fe),_has:n(J)}),P};}),Eb=M(function(e,t){var r=Pr(),a=Kn(),n=ta(),i=Ab(),o=zl();t.exports=function s(u){var l,c,d;if(r(u),l=Object(arguments[1]),l.async&&l.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(u,"__memoized__")&&!l.force?u:(c=o(l.length,u.length,l.async&&n.async),d=i(u,c,l),a(n,function(h,D){l[D]&&h(l[D],d,l);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),Cb=M(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};}),Sb=M(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 ""}};}),kb=M(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Tb=M(function(e,t){t.exports=function(r){return r!==r};}),Fb=M(function(e,t){t.exports=kb()()?Number.isNaN:Tb();}),Io=M(function(e,t){var r=Fb(),a=ea(),n=ma(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,u=Math.floor;t.exports=function(l){var c,d,h,D;if(!r(l))return i.apply(this,arguments);for(d=a(n(this).length),h=arguments[1],isNaN(h)?h=0:h>=0?h=u(h):h=a(this.length)-u(s(h)),c=h;c<d;++c)if(o.call(this,c)&&(D=this[c],r(D)))return c;return -1};}),Rb=M(function(e,t){var r=Io(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(u){var l=0,c=i,d,h=u.length;if(h===0)return c[h]||null;if(c=c[h]){for(;l<h-1;){if(d=r.call(c[0],u[l]),d===-1)return null;c=c[1][d],++l;}return d=r.call(c[0],u[l]),d===-1?null:c[1][d]||null}return null},set:function(u){var l=0,c=i,d,h=u.length;if(h===0)c[h]=++n;else {for(c[h]||(c[h]=[[],[]]),c=c[h];l<h-1;)d=r.call(c[0],u[l]),d===-1&&(d=c[0].push(u[l])-1,c[1].push([[],[]])),c=c[1][d],++l;d=r.call(c[0],u[l]),d===-1&&(d=c[0].push(u[l])-1),c[1][d]=++n;}return o[n]=u,n},delete:function(u){var l=0,c=i,d,h=o[u],D=h.length,S=[];if(D===0)delete c[D];else if(c=c[D]){for(;l<D-1;){if(d=r.call(c[0],h[l]),d===-1)return;S.push(c,d),c=c[1][d],++l;}if(d=r.call(c[0],h[l]),d===-1)return;for(u=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[u];},clear:function(){i=[],o=a(null);}}};}),Ib=M(function(e,t){var r=Io();t.exports=function(){var a=0,n=[],i=[];return {get:function(s){var u=r.call(n,s[0]);return u===-1?null:i[u]},set:function(s){return n.push(s[0]),i.push(++a),a},delete:function(s){var u=r.call(i,s);u!==-1&&(n.splice(u,1),i.splice(u,1));},clear:function(){n=[],i=[];}}};}),Lb=M(function(e,t){var r=Io(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(l){for(var c=0,d=o,h;c<n-1;){if(h=r.call(d[0],l[c]),h===-1)return null;d=d[1][h],++c;}return h=r.call(d[0],l[c]),h===-1?null:d[1][h]||null},set:function(l){for(var c=0,d=o,h;c<n-1;)h=r.call(d[0],l[c]),h===-1&&(h=d[0].push(l[c])-1,d[1].push([[],[]])),d=d[1][h],++c;return h=r.call(d[0],l[c]),h===-1&&(h=d[0].push(l[c])-1),d[1][h]=++i,s[i]=l,i},delete:function(l){for(var c=0,d=o,h,D=[],S=s[l];c<n-1;){if(h=r.call(d[0],S[c]),h===-1)return;D.push(d,h),d=d[1][h],++c;}if(h=r.call(d[0],S[c]),h!==-1){for(l=d[1][h],d[0].splice(h,1),d[1].splice(h,1);!d[0].length&&D.length;)h=D.pop(),d=D.pop(),d[0].splice(h,1),d[1].splice(h,1);delete s[l];}},clear:function(){o=[[],[]],s=a(null);}}};}),Kl=M(function(e,t){var r=Pr(),a=Kn(),n=Function.prototype.call;t.exports=function(i,o){var s={},u=arguments[2];return r(o),a(i,function(l,c,d,h){s[c]=n.call(o,u,l,c,d,h);}),s};}),Lo=M(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=g.createTextNode(""),s,u,l=0;return new i(function(){var c;if(s)u&&(s=u.concat(s));else {if(!u)return;s=u;}if(u=s,s=null,typeof u=="function"){c=u,u=null,c();return}for(o.data=l=++l%2;u;)c=u.shift(),u.length||(u=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=l=++l%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ee(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof g>"u"?"undefined":ee(g))==="object"&&g){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":ee(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Pb=M(function(){var e=Ro(),t=Kl(),r=Ul(),a=Wl(),n=Lo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;ta().async=function(u,l){var c=s(null),d=s(null),h=l.memoized,D=l.original,S,T,I;l.memoized=a(function(L){var P=arguments,O=P[P.length-1];return typeof O=="function"&&(S=O,P=i.call(P,0,-1)),h.apply(T=this,I=P)},h);try{r(l.memoized,h);}catch{}l.on("get",function(L){var P,O,N;if(S){if(c[L]){typeof c[L]=="function"?c[L]=[c[L],S]:c[L].push(S),S=null;return}P=S,O=T,N=I,S=T=I=null,n(function(){var B;hasOwnProperty.call(d,L)?(B=d[L],l.emit("getasync",L,N,O),o.call(P,B.context,B.args)):(S=P,T=O,I=N,h.apply(O,N));});}}),l.original=function(){var L,P,O,N;return S?(L=e(arguments),P=function B(U){var K,te,fe=B.id;if(fe==null){n(o.bind(B,this,arguments));return}if(delete B.id,K=c[fe],delete c[fe],!!K)return te=e(arguments),l.has(fe)&&(U?l.delete(fe):(d[fe]={context:this,args:te},l.emit("setasync",fe,typeof K=="function"?1:K.length))),typeof K=="function"?N=o.call(K,this,te):K.forEach(function(J){N=o.call(J,this,te);},this),N},O=S,S=T=I=null,L.push(P),N=o.call(D,this,L),P.cb=O,S=P,N):o.call(D,this,arguments)},l.on("set",function(L){if(!S){l.delete(L);return}c[L]?typeof c[L]=="function"?c[L]=[c[L],S.cb]:c[L].push(S.cb):c[L]=S.cb,delete S.cb,S.id=L,S=null;}),l.on("delete",function(L){var P;hasOwnProperty.call(c,L)||d[L]&&(P=d[L],delete d[L],l.emit("deleteasync",L,i.call(P.args,1)));}),l.on("clear",function(){var L=d;d=s(null),l.emit("clearasync",t(L,function(P){return i.call(P.args,1)}));});};}),Mb=M(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};}),Jl=M(function(e,t){t.exports=function(r){return typeof r=="function"};}),Ob=M(function(e,t){var r=Jl();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Nb=M(function(e,t){var r=ma(),a=Ob();t.exports=function(n){return a(r(n))};}),qb=M(function(e,t){var r=Jl();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),Bb=M(function(e,t){var r=qb(),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};}),Zl=M(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(ee(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Vb=M(function(){var e=Kl(),t=Mb(),r=Nb(),a=Bb(),n=Zl(),i=Lo(),o=Object.create,s=t("then","then:finally","done","done:finally");ta().promise=function(u,l){var c=o(null),d=o(null),h=o(null);if(u===true)u=null;else if(u=r(u),!s[u])throw new TypeError("'"+a(u)+"' is not valid promise mode");l.on("set",function(D,S,T){var I=false;if(!n(T)){d[D]=T,l.emit("setasync",D,1);return}c[D]=1,h[D]=T;var L=function(U){var K=c[D];if(I)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.`);K&&(delete c[D],d[D]=U,l.emit("setasync",D,K));},P=function(){I=true,c[D]&&(delete c[D],delete h[D],l.delete(D));},O=u;if(O||(O="then"),O==="then"){var N=function(){i(P);};T=T.then(function(B){i(L.bind(this,B));},N),typeof T.finally=="function"&&T.finally(N);}else if(O==="done"){if(typeof T.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");T.done(L,P);}else if(O==="done:finally"){if(typeof T.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof T.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");T.done(L),T.finally(P);}}),l.on("get",function(D,S,T){var I;if(c[D]){++c[D];return}I=h[D];var L=function(){l.emit("getasync",D,S,T);};n(I)?typeof I.done=="function"?I.done(L):I.then(function(){i(L);}):L();}),l.on("delete",function(D){if(delete h[D],c[D]){delete c[D];return}if(hasOwnProperty.call(d,D)){var S=d[D];delete d[D],l.emit("deleteasync",D,[S]);}}),l.on("clear",function(){var D=d;d=o(null),c=o(null),h=o(null),l.emit("clearasync",e(D,function(S){return [S]}));});};}),Hb=M(function(){var e=Pr(),t=Kn(),r=ta(),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(l,c){a.call(n,null,c);}),i.on("clearasync",function(u){t(u,function(l,c){s(c,l);});});return}i.on("delete",s=function(l,c){n(c);}),i.on("clear",function(u){t(u,function(l,c){s(c,l);});});};}),jb=M(function(e,t){t.exports=2147483647;}),$b=M(function(e,t){var r=ea(),a=jb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),zb=M(function(){var e=Ro(),t=Kn(),r=Lo(),a=Zl(),n=$b(),i=ta(),o=Function.prototype,s=Math.max,u=Math.min,l=Object.create;i.maxAge=function(c,d,h){var D,S,T,I;c=n(c),c&&(D=l(null),S=h.async&&i.async||h.promise&&i.promise?"async":"",d.on("set"+S,function(L){D[L]=setTimeout(function(){d.delete(L);},c),typeof D[L].unref=="function"&&D[L].unref(),I&&(I[L]&&I[L]!=="nextTick"&&clearTimeout(I[L]),I[L]=setTimeout(function(){delete I[L];},T),typeof I[L].unref=="function"&&I[L].unref());}),d.on("delete"+S,function(L){clearTimeout(D[L]),delete D[L],I&&(I[L]!=="nextTick"&&clearTimeout(I[L]),delete I[L]);}),h.preFetch&&(h.preFetch===true||isNaN(h.preFetch)?T=.333:T=s(u(Number(h.preFetch),1),0),T&&(I={},T=(1-T)*c,d.on("get"+S,function(L,P,O){I[L]||(I[L]="nextTick",r(function(){var N;I[L]==="nextTick"&&(delete I[L],d.delete(L),h.async&&(P=e(P),P.push(o)),N=d.memoized.apply(O,P),h.promise&&a(N)&&(typeof N.done=="function"?N.done(o,o):N.then(o,o)));}));}))),d.on("clear"+S,function(){t(D,function(L){clearTimeout(L);}),D={},I&&(t(I,function(L){L!=="nextTick"&&clearTimeout(L);}),I={});}));};}),Gb=M(function(e,t){var r=ea(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,u=a(null),l=a(null),c=0,d;return i=r(i),{hit:function(D){var S=l[D],T=++c;if(u[T]=D,l[D]=T,!S)return ++o,o<=i?void 0:(D=u[s],d(D),D);if(delete u[S],s===S)for(;!n.call(u,++s););},delete:d=function(D){var S=l[D];if(S&&(delete u[S],delete l[D],--o,s===S)){if(!o){c=0,s=1;return}for(;!n.call(u,++s););}},clear:function(){o=0,s=1,u=a(null),l=a(null),c=0;}}};}),Ub=M(function(){var e=ea(),t=Gb(),r=ta();r.max=function(a,n,i){var o,s,u;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,u=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,u),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),Wb=M(function(){var e=ra(),t=ta(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var s,u;s=r(null),u=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+u,function(l,c){s[l]=c||1;}),i.on("get"+u,function(l){++s[l];}),i.on("delete"+u,function(l){delete s[l];}),i.on("clear"+u,function(){s={};}),a(i.memoized,{deleteRef:e(function(){var l=i.get(arguments);return l===null||!s[l]?null:--s[l]?false:(i.delete(l),true)}),getRefCount:e(function(){var l=i.get(arguments);return l===null||!s[l]?0:s[l]})});};}),Xb=M(function(e,t){var r=$l(),a=zl(),n=Eb();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=Cb():s>1&&(o.normalizer=Sb()(s)):s===false?o.normalizer=Rb()():s===1?o.normalizer=Ib()():o.normalizer=Lb()(s))),o.async&&Pb(),o.promise&&Vb(),o.dispose&&Hb(),o.maxAge&&zb(),o.max&&Ub(),o.refCounter&&Wb(),n(i,o)};}),Yb=[{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"}],sr={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"])};Yb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;sr[t]=r,sr[t+"_PRIO"]=a,sr[t+"_GROUP"]=n,sr.results[a]=r,sr.resultGroups[a]=n,sr.resultGroupMap[r]=n;}),Object.freeze(sr.results),Object.freeze(sr.resultGroups),Object.freeze(sr.resultGroupMap),Object.freeze(sr);var qe=sr;function Kb(){(typeof console>"u"?"undefined":ee(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var aa=Kb,Jb=/[\t\r\n\f]/g,Zb=(function(){function e(){rr(this,e),this.parent=void 0;}return ar(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(Jb," ").indexOf(n)>=0}}])})(),Ct=Zb,Po={};nr(Po,{DqElement:function(){return Zt},RuleError:function(){return ro},aggregate:function(){return Zn},aggregateChecks:function(){return tc},aggregateNodeResults:function(){return rc},aggregateResult:function(){return ac},areStylesSet:function(){return iy},assert:function(){return Ue},checkHelper:function(){return us},clone:function(){return Er},closest:function(){return jt},collectResultsFromFrames:function(){return Ud},contains:function(){return Cr},convertSelector:function(){return wi},cssParser:function(){return Cd},deepMerge:function(){return xs},escapeSelector:function(){return pt},extendMetaData:function(){return Ds},filterHtmlAttrs:function(){return um},finalizeRuleResult:function(){return za},findBy:function(){return cn},getAllChecks:function(){return Ei},getAncestry:function(){return yi},getBaseLang:function(){return da},getCheckMessage:function(){return A2},getCheckOption:function(){return Ki},getElementSource:function(){return Ad},getEnvironmentData:function(){return Ur},getFlattenedTree:function(){return cu},getFrameContexts:function(){return H2},getFriendlyUriEnd:function(){return oc},getNodeAttributes:function(){return Wa},getNodeFromTree:function(){return Ve},getPreloadConfig:function(){return nm},getRootNode:function(){return dn},getRule:function(){return jp},getScroll:function(){return Tr},getScrollState:function(){return z2},getSelector:function(){return os},getSelectorData:function(){return bi},getShadowSelector:function(){return as},getStandards:function(){return G2},getStyleSheetFactory:function(){return Gp},getXpath:function(){return _d},injectStyle:function(){return X2},isArrayLike:function(){return hu},isContextObject:function(){return gu},isContextProp:function(){return Zi},isContextSpec:function(){return Up},isHidden:function(){return Y2},isHtmlElement:function(){return bu},isLabelledFramesSelector:function(){return vu},isLabelledShadowDomSelector:function(){return Qi},isNodeInContext:function(){return yu},isShadowRoot:function(){return Si},isValidLang:function(){return no},isXHTML:function(){return rn},matchAncestry:function(){return wu},matches:function(){return cs},matchesExpression:function(){return ba},matchesSelector:function(){return ha},memoize:function(){return nt},mergeResults:function(){return Ci},nodeLookup:function(){return Ge},nodeSerializer:function(){return Qt},nodeSorter:function(){return xu},objectHasOwn:function(){return yr},parseCrossOriginStylesheet:function(){return _u},parseSameOriginStylesheet:function(){return Yp},parseStylesheet:function(){return Du},parseTabindex:function(){return wr},performanceTimer:function(){return Ye},pollyfillElementsFromPoint:function(){return Kp},preload:function(){return rm},preloadCssom:function(){return Zp},preloadMedia:function(){return tm},processMessage:function(){return mu},publishMetaData:function(){return eo},querySelectorAll:function(){return Ut},querySelectorAllFilter:function(){return xr},queue:function(){return hr},respondable:function(){return cr},ruleShouldRun:function(){return sm},select:function(){return Au},sendCommandToFrame:function(){return jd},serializeError:function(){return to},setScrollState:function(){return kA},shadowSelect:function(){return TA},shadowSelectAll:function(){return Eu},shouldPreload:function(){return am},toArray:function(){return ic},tokenList:function(){return Ot},uniqueArray:function(){return Cn},uuid:function(){return Lw},validInputTypes:function(){return ao},validLangs:function(){return pm}});function Qb(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 Zn=Qb,ey=qe.CANTTELL_PRIO,ty=qe.FAIL_PRIO,Qn=[];Qn[qe.PASS_PRIO]=true,Qn[qe.CANTTELL_PRIO]=null,Qn[qe.FAIL_PRIO]=false;var Ql=["any","all","none"];function ec(e,t){return Ql.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function ry(e){var t=Object.assign({},e);ec(t,function(n,i){var o=typeof n.result>"u"?-1:Qn.indexOf(n.result);n.priority=o!==-1?o:qe.CANTTELL_PRIO,i==="none"&&(n.priority===qe.PASS_PRIO?n.priority=qe.FAIL_PRIO:n.priority===qe.FAIL_PRIO&&(n.priority=qe.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 Ql.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)});}),[ey,ty].includes(t.priority)?t.impact=Zn(qe.impact,a):t.impact=null,ec(t,function(n){delete n.result,delete n.priority;}),t.result=qe.results[t.priority],delete t.priority,t}var tc=ry;function za(e){var t=m._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,rc(e.nodes)),delete e.nodes,e}function ay(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return tc(i);if(Array.isArray(i.node))return za(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Zn(qe.results,r,t.result);}else t.result="inapplicable";qe.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=qe.resultGroupMap[i.result];t[o].push(i);});var a=qe.FAIL_GROUP;if(t[a].length===0&&(a=qe.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Zn(qe.impact,n)||null;}else t.impact=null;return t}var rc=ay;function Mo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),qe.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function ny(e){var t={};return qe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Mo(t,r,qe.CANTTELL_GROUP):r.result===qe.NA?Mo(t,r,qe.NA_GROUP):qe.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Mo(t,r,a);});}),t}var ac=ny;function nc(e,t,r){var a=p.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:nc(e.parentNode,t,r)}var iy=nc;function oy(e,t){if(!e)throw new Error(t)}var Ue=oy;function sy(e){return Array.prototype.slice.call(e)}var ic=sy;function uy(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 pt=uy;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 Ga(e,t){return [e.substring(0,t),e.substring(t)]}function Ua(e){return e.replace(/\s+$/,"")}function cy(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var u=Ga(e,e.indexOf("#")),l=me(u,2);e=l[0],s=l[1];}if(e.includes("?")){var c=Ga(e,e.indexOf("?")),d=me(c,2);e=d[0],o=d[1];}if(e.includes("://")){var h=e.split("://"),D=me(h,2);r=D[0],e=D[1];var S=Ga(e,e.indexOf("/")),T=me(S,2);a=T[0],e=T[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var I=Ga(e,e.indexOf("/")),L=me(I,2);a=L[0],e=L[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var P=Ga(a,a.indexOf(":")),O=me(P,2);a=O[0],n=O[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function dy(){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=cy(e),o=i.path,s=i.domain,u=i.hash,l=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(u)return l&&(l+u).length<=n?Ua(l+u):l.length<2&&u.length>2&&u.length<=n?Ua(u):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+l&&s&&r&&s!==r&&(s+o).length<=n)return Ua(s+o);var c=l.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||l.length>2)&&l.length<=n&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!ly(l))return Ua(l)}}var oc=dy;function fy(e){return e.attributes instanceof p.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Wa=fy,py=(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}})(),ha=py,sc={};nr(sc,{ArrayFrom:function(){return vd.default},Colorjs:function(){return tt},CssSelectorParser:function(){return uc.CssSelectorParser},doT:function(){return Mr.default},emojiRegexText:function(){return Oo},memoize:function(){return lc.default}});var my=fr(Lg()),hy=fr(Pg());fr(Mg());var gy=fr(Yg()),vy=fr(ov()),by=fr(Hl());"hasOwn"in Object||(Object.hasOwn=gy.default),"values"in Object||(Object.values=vy.default),"Promise"in p||my.default.polyfill(),"Uint32Array"in p||(p.Uint32Array=hy.Uint32Array),p.Uint32Array&&("some"in p.Uint32Array.prototype||Object.defineProperty(p.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in p.Uint32Array.prototype||Object.defineProperty(p.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=by.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}),p.Node&&!("isConnected"in p.Node.prototype)&&Object.defineProperty(p.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var uc=fr(qv()),Mr=fr(Bv()),Oo=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},lc=fr(Xb());function vt(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(u){return u[s]})}),i=e.map(function(o){return n.map(function(s){var u=0;if(!Array.isArray(o)){var l=et(s),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;u+=o*d;}}catch(D){l.e(D);}finally{l.f();}return u}for(var h=0;h<o.length;h++)u+=o[h]*(s[h]||0);return u})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function Xa(e){return Or(e)==="string"}function Or(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ei(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 cc(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 dc(e){return e[e.length-1]}function ti(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function fc(e,t,r){return (r-e)/(t-e)}function No(e,t,r){return ti(t[0],t[1],fc(e[0],e[1],r))}function pc(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 yy=Object.freeze({__proto__:null,isString:Xa,type:Or,toPrecision:ei,parseFunction:cc,last:dc,interpolate:ti,interpolateInv:fc,mapRange:No,parseCoordGrammar:pc,multiplyMatrices:vt}),wy=(function(){function e(){rr(this,e);}return ar(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);});}}])})(),Nr=new wy,mr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},ur={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function qo(e){return Array.isArray(e)?e:ur[e]}function ri(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=qo(e),t=qo(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(Nr.run("chromatic-adaptation-start",n),n.M||(n.W1===ur.D65&&n.W2===ur.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===ur.D50&&n.W2===ur.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Nr.run("chromatic-adaptation-end",n),n.M)return vt(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var xy=75e-6,lr=(G=new WeakSet,X=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,u;rr(this,e),fl(this,G),Ir(this,X,void 0),this.id=t.id,this.name=t.name,this.base=t.base?lr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var l=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=l;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=qo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var h=this.formats[d];h.type||(h.type="function"),h.name||(h.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&&!((u=this.formats)!==null&&u!==void 0&&u.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Nt(X,this,fa(G,this,Dy).call(this).reverse()),Nr.run("colorspace-init-end",this);}return ar(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?xy: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,u){var l=o[u];if(l.type!=="angle"&&l.range){if(Number.isNaN(s))return true;var c=me(l.range,2),d=c[0],h=c[1];return (d===void 0||s>=d-i)&&(h===void 0||s<=h+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(ee(r)==="object")return r=fa(G,this,mc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=fa(G,this,mc).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=lr.get(r),this===r)return a;a=a.map(function(h){return Number.isNaN(h)?0:h});for(var i=tr(X,this),o=tr(X,r),s,u,l=0;l<i.length&&i[l]===o[l];l++)s=i[l],u=l;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>u;c--)a=i[c].toBase(a);for(var d=u+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=lr.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(lr.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=et(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 lr)return r;var a=Or(r);if(a==="string"){var n=lr.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 lr.get.apply(lr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=Or(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),u=me(s,2);i=u[0],o=u[1];}else i=void 0,o=r;else if(Array.isArray(r)){var l=me(r,2);i=l[0],o=l[1];}else i=r.space,o=r.coordId;if(i=lr.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=Or(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Pe({space:i,id:c[0],index:o},c[1])}i=lr.get(i);var d=o.toLowerCase(),h=0;for(var D in i.coords){var S,T=i.coords[D];if(D.toLowerCase()===d||((S=T.name)===null||S===void 0?void 0:S.toLowerCase())===d)return Pe({space:i,id:D,index:h},T);h++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function mc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=pc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=me(r,2);n[0];var o=n[1],s=e.coordGrammar[a][0],u=o.range||o.refRange,l=s.range,c="";return s=="<percentage>"?(l=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:u,toRange:l,suffix:c}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],s=o.fromRange,u=o.toRange,l=o.suffix;return s&&u&&(n=No(s,u,n)),n=ei(n,a),l&&(n+=l),n})};}return e}function Dy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Te=lr;bl(Te,"registry",{}),bl(Te,"DEFAULT_FORMAT",{type:"functions",name:"color"});var Yt=new Te({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"]}),Bt=(function(e){function t(r){var a,n;if(rr(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=Yt),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var u=vt(r.toXYZ_M,s);return n.white!==n.base.white&&(u=ri(n.white,n.base.white,u)),u}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=ri(n.base.white,n.white,s),vt(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=ke(this,t,[r])}return wt(t,e),ar(t)})(Te);function hc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Nr.run("parse-start",r),r.color)return r.color;if(r.parsed=cc(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=et(Te.all),s;try{var u=function(){var fe=s.value,J=fe.getFormat("color");if(J){var ne;if(n===J.id||(ne=J.ids)!==null&&ne!==void 0&&ne.includes(n)){var le=Object.keys(fe.coords).length,pe=Array(le).fill(0);return pe.forEach(function(Ee,Le){return pe[Le]=r.parsed.args[Le]||0}),{v:{spaceId:fe.id,coords:pe,alpha:i}}}}},l;for(o.s();!(s=o.n()).done;)if(l=u(),l)return l.v}catch(te){o.e(te);}finally{o.f();}var c="";if(n in Te.registry){var d,h=(d=Te.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;h&&(c="Did you mean color(".concat(h,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var D=et(Te.all),S;try{var T=function(){var fe=S.value,J=fe.getFormat(a);if(J&&J.type==="function"){var ne=1;(J.lastAlpha||dc(r.parsed.args).alpha)&&(ne=r.parsed.args.pop());var le=r.parsed.args;return J.coordGrammar&&Object.entries(fe.coords).forEach(function(pe,Ee){var Le,we=me(pe,2),Fe=we[0],oe=we[1],Ae=J.coordGrammar[Ee],$=(Le=le[Ee])===null||Le===void 0?void 0:Le.type;if(Ae=Ae.find(function(Ie){return Ie==$}),!Ae){var he=oe.name||Fe;throw new TypeError("".concat($," not allowed for ").concat(he," in ").concat(a,"()"))}var ae=Ae.range;$==="<percentage>"&&(ae||(ae=[0,1]));var ge=oe.range||oe.refRange;ae&&ge&&(le[Ee]=No(ae,ge,le[Ee]));}),{v:{spaceId:fe.id,coords:le,alpha:ne}}}},I;for(D.s();!(S=D.n()).done;)if(I=T(),I)return I.v}catch(te){D.e(te);}finally{D.f();}}}else {var L=et(Te.all),P;try{for(L.s();!(P=L.n()).done;){var O=P.value;for(var N in O.formats){var B=O.formats[N];if(B.type==="custom"&&!(B.test&&!B.test(r.str))){var U=B.parse(r.str);if(U){var K;return (K=U.alpha)!==null&&K!==void 0||(U.alpha=1),U}}}}}catch(te){L.e(te);}finally{L.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function Ke(e){if(!e)throw new TypeError("Empty color reference");Xa(e)&&(e=hc(e));var t=e.space||e.spaceId;return t instanceof Te||(e.space=Te.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Ya(e,t){return t=Te.get(t),t.from(e)}function Kt(e,t){var r=Te.resolveCoord(t,e.space),a=r.space,n=r.index,i=Ya(e,a);return i[n]}function gc(e,t,r){return t=Te.get(t),e.coords=t.to(e.space,r),e}function qr(e,t,r){if(e=Ke(e),arguments.length===2&&Or(arguments[1])==="object"){var a=arguments[1];for(var n in a)qr(e,n,a[n]);}else {typeof r=="function"&&(r=r(Kt(e,t)));var i=Te.resolveCoord(t,e.space),o=i.space,s=i.index,u=Ya(e,o);u[s]=r,gc(e,o,u);}return e}var Bo=new Te({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Yt,fromBase:function(t){return ri(Yt.white,"D50",t)},toBase:function(t){return ri("D50",Yt.white,t)},formats:{color:{}}}),_y=216/24389,vc=24/116,ai=24389/27,Vo=ur.D50,Ht=new Te({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Vo,base:Bo,fromBase:function(t){var r=t.map(function(n,i){return n/Vo[i]}),a=r.map(function(n){return n>_y?Math.cbrt(n):(ai*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]>vc?Math.pow(r[0],3):(116*r[0]-16)/ai,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/ai,r[2]>vc?Math.pow(r[2],3):(116*r[2]-16)/ai];return a.map(function(n,i){return n*Vo[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function ni(e){return (e%360+360)%360}function Ay(e,t){if(e==="raw")return t;var r=t.map(ni),a=me(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 Ka=new Te({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:Ht,fromBase:function(t){var r=me(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)),ni(o)]},toBase:function(t){var r=me(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>"]}}}),bc=Math.pow(25,7),ii=Math.PI,yc=180/ii,ga=ii/180;function Ho(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,u=s===void 0?1:s,l=Ht.from(e),c=me(l,3),d=c[0],h=c[1],D=c[2],S=Ka.from(Ht,[d,h,D])[1],T=Ht.from(t),I=me(T,3),L=I[0],P=I[1],O=I[2],N=Ka.from(Ht,[L,P,O])[1];S<0&&(S=0),N<0&&(N=0);var B=(S+N)/2,U=Math.pow(B,7),K=.5*(1-Math.sqrt(U/(U+bc))),te=(1+K)*h,fe=(1+K)*P,J=Math.sqrt(Math.pow(te,2)+Math.pow(D,2)),ne=Math.sqrt(Math.pow(fe,2)+Math.pow(O,2)),le=te===0&&D===0?0:Math.atan2(D,te),pe=fe===0&&O===0?0:Math.atan2(O,fe);le<0&&(le+=2*ii),pe<0&&(pe+=2*ii),le*=yc,pe*=yc;var Ee=L-d,Le=ne-J,we=pe-le,Fe=le+pe,oe=Math.abs(we),Ae;J*ne===0?Ae=0:oe<=180?Ae=we:we>180?Ae=we-360:we<-180?Ae=we+360:console.log("the unthinkable has happened");var $=2*Math.sqrt(ne*J)*Math.sin(Ae*ga/2),he=(d+L)/2,ae=(J+ne)/2,ge=Math.pow(ae,7),Ie;J*ne===0?Ie=Fe:oe<=180?Ie=Fe/2:Fe<360?Ie=(Fe+360)/2:Ie=(Fe-360)/2;var ye=Math.pow(he-50,2),De=1+.015*ye/Math.sqrt(20+ye),ze=1+.045*ae,Je=1;Je-=.17*Math.cos((Ie-30)*ga),Je+=.24*Math.cos(2*Ie*ga),Je+=.32*Math.cos((3*Ie+6)*ga),Je-=.2*Math.cos((4*Ie-63)*ga);var rt=1+.015*ae*Je,mt=30*Math.exp(-1*Math.pow((Ie-275)/25,2)),xt=2*Math.sqrt(ge/(ge+bc)),yt=-1*Math.sin(2*mt*ga)*xt,ot=Math.pow(Ee/(n*De),2);return ot+=Math.pow(Le/(o*ze),2),ot+=Math.pow($/(u*rt),2),ot+=yt*(Le/(o*ze))*($/(u*rt)),Math.sqrt(ot)}var Ey=75e-6;function Ja(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?Ey:a;e=Ke(e),t=Te.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function Za(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Br(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?mr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(Xa(arguments[1])&&(i=arguments[1]),i=Te.get(i),Ja(e,i,{epsilon:0}))return e;var o=Jt(e,i);if(a!=="clip"&&!Ja(e,i)){var s=Br(Za(o),{method:"clip",space:i});if(Ho(e,s)>2){for(var u=Te.resolveCoord(a),l=u.space,c=u.id,d=Jt(o,l),h=u.range||u.refRange,D=h[0],S=.01,T=D,I=Kt(d,c);I-T>S;){var L=Za(d);L=Br(L,{space:i,method:"clip"});var P=Ho(d,L);P-2<S?T=Kt(d,c):I=Kt(d,c),qr(d,c,(T+I)/2);}o=Jt(d,i);}else o=s;}if(a==="clip"||!Ja(o,i,{epsilon:0})){var O=Object.values(i.coords).map(function(N){return N.range||[]});o.coords=o.coords.map(function(N,B){var U=me(O[B],2),K=U[0],te=U[1];return K!==void 0&&(N=Math.max(K,N)),te!==void 0&&(N=Math.min(N,te)),N});}return i!==e.space&&(o=Jt(o,e.space)),e.coords=o.coords,e}Br.returns="color";function Jt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=Ke(e),t=Te.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Br(i)),i}Jt.returns="color";function oi(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?mr.precision:n,o=a.format,s=o===void 0?"default":o,u=a.inGamut,l=u===void 0?true:u,c=be(a,b),d;e=Ke(e);var h=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:Te.DEFAULT_FORMAT,l||(l=s.toGamut);var D=e.coords;if(D=D.map(function(N){return N||0}),l&&!Ja(e)&&(D=Br(Za(e),l===true?void 0:l).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(D,e.alpha,c);else throw new TypeError("format ".concat(h," 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(N){return ei(N,i)}));var T=Se(D);if(S==="color"){var I,L=s.id||((I=s.ids)===null||I===void 0?void 0:I[0])||e.space.id;T.unshift(L);}var P=e.alpha;i!==null&&(P=ei(P,i));var O=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(P):"";d="".concat(S,"(").concat(T.join(s.commas?", ":" ")).concat(O,")");}return d}var Cy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Sy=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],si=new Bt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Cy,fromXYZ_M:Sy,formats:{color:{}}}),ui=1.09929682680944,wc=.018053968510807,xc=new Bt({id:"rec2020",name:"REC.2020",base:si,toBase:function(t){return t.map(function(r){return r<wc*4.5?r/4.5:Math.pow((r+ui-1)/ui,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=wc?ui*Math.pow(r,.45)-(ui-1):4.5*r})},formats:{color:{}}}),ky=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Ty=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Dc=new Bt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:ky,fromXYZ_M:Ty}),Fy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Ry=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],_c=new Bt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Fy,fromXYZ_M:Ry,formats:{color:{}}}),Ac={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]},Ec=Array(3).fill("<percentage> | <number>[0, 255]"),Cc=Array(3).fill("<number>[0, 255]"),Qa=new Bt({id:"srgb",name:"sRGB",base:_c,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:Ec},rgb_number:{name:"rgb",commas:true,coords:Cc,noAlpha:true},color:{},rgba:{coords:Ec,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Cc},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(u){return Math.round(u*255)});var o=i&&t.every(function(u){return u%17===0}),s=t.map(function(u){return o?(u/17).toString(16):u.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=Ac.black,r.alpha=0):r.coords=Ac[t],r.coords)return r}}}}),Sc=new Bt({id:"p3",name:"P3",base:Dc,fromBase:Qa.fromBase,toBase:Qa.toBase,formats:{color:{id:"display-p3"}}});if(mr.display_space=Qa,typeof CSS<"u"&&(ie=CSS)!==null&&ie!==void 0&&ie.supports)for(var jo=0,kc=[Ht,xc,Sc];jo<kc.length;jo++){var $o=kc[jo],Iy=$o.getMinCoords(),Ly={space:$o,coords:Iy,alpha:1},Py=oi(Ly);if(CSS.supports("color",Py)){mr.display_space=$o;break}}function My(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?mr.display_space:a,i=be(r,x),o=oi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!mr.display_space)o=new String(o),o.color=e;else {var s=Jt(e,n);o=new String(oi(s,i)),o.color=s;}return o}function Tc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Te.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,s){var u=n[s];return isNaN(o)||isNaN(u)?i:i+Math.pow(u-o,2)},0))}function Oy(e,t){return e=Ke(e),t=Ke(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Vr(e){return Kt(e,[Yt,"y"])}function Fc(e,t){qr(e,[Yt,"y"],t);}function Ny(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Vr(this)},set:function(r){Fc(this,r);}});}var qy=Object.freeze({__proto__:null,getLuminance:Vr,setLuminance:Fc,register:Ny});function By(e,t){e=Ke(e),t=Ke(t);var r=Math.max(Vr(e),0),a=Math.max(Vr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var Vy=.56,Hy=.57,jy=.62,$y=.65,Rc=.022,zy=1.414,Gy=.1,Uy=5e-4,Wy=1.14,Ic=.027,Xy=1.14;function Lc(e){return e>=Rc?e:e+Math.pow(Rc-e,zy)}function va(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Yy(e,t){t=Ke(t),e=Ke(e);var r,a,n,i,o,s;t=Jt(t,"srgb");var u=me(t.coords,3);i=u[0],o=u[1],s=u[2];var l=va(i)*.2126729+va(o)*.7151522+va(s)*.072175;e=Jt(e,"srgb");var c=me(e.coords,3);i=c[0],o=c[1],s=c[2];var d=va(i)*.2126729+va(o)*.7151522+va(s)*.072175,h=Lc(l),D=Lc(d),S=D>h;return Math.abs(D-h)<Uy?a=0:S?(r=Math.pow(D,Vy)-Math.pow(h,Hy),a=r*Wy):(r=Math.pow(D,$y)-Math.pow(h,jy),a=r*Xy),Math.abs(a)<Gy?n=0:a>0?n=a-Ic:n=a+Ic,n*100}function Ky(e,t){e=Ke(e),t=Ke(t);var r=Math.max(Vr(e),0),a=Math.max(Vr(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 Jy=5e4;function Zy(e,t){e=Ke(e),t=Ke(t);var r=Math.max(Vr(e),0),a=Math.max(Vr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?Jy:(r-a)/a}function Qy(e,t){e=Ke(e),t=Ke(t);var r=Kt(e,[Ht,"l"]),a=Kt(t,[Ht,"l"]);return Math.abs(r-a)}var e0=216/24389,Pc=24/116,li=24389/27,zo=ur.D65,Go=new Te({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:zo,base:Yt,fromBase:function(t){var r=t.map(function(n,i){return n/zo[i]}),a=r.map(function(n){return n>e0?Math.cbrt(n):(li*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]>Pc?Math.pow(r[0],3):(116*r[0]-16)/li,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/li,r[2]>Pc?Math.pow(r[2],3):(116*r[2]-16)/li];return a.map(function(n,i){return n*zo[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Uo=Math.pow(5,.5)*.5+.5;function t0(e,t){e=Ke(e),t=Ke(t);var r=Kt(e,[Go,"l"]),a=Kt(t,[Go,"l"]),n=Math.abs(Math.pow(r,Uo)-Math.pow(a,Uo)),i=Math.pow(n,1/Uo)*Math.SQRT2-40;return i<7.5?0:i}var ci=Object.freeze({__proto__:null,contrastWCAG21:By,contrastAPCA:Yy,contrastMichelson:Ky,contrastWeber:Zy,contrastLstar:Qy,contrastDeltaPhi:t0});function r0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Xa(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=be(a,A);if(!n){var o=Object.keys(ci).map(function(u){return u.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=Ke(e),t=Ke(t);for(var s in ci)if("contrast"+n.toLowerCase()===s.toLowerCase())return ci[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Mc(e){var t=Ya(e,Yt),r=me(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 Oc(e){var t=Ya(e,Yt),r=me(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function a0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Mc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Oc(this)}});}var n0=Object.freeze({__proto__:null,uv:Mc,xy:Oc,register:a0});function i0(e,t){return Tc(e,t,"lab")}var o0=Math.PI,Nc=o0/180;function s0(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=Ht.from(e),u=me(s,3),l=u[0],c=u[1],d=u[2],h=Ka.from(Ht,[l,c,d]),D=me(h,3),S=D[1],T=D[2],I=Ht.from(t),L=me(I,3),P=L[0],O=L[1],N=L[2],B=Ka.from(Ht,[P,O,N])[1];S<0&&(S=0),B<0&&(B=0);var U=l-P,K=S-B,te=c-O,fe=d-N,J=Math.pow(te,2)+Math.pow(fe,2)-Math.pow(K,2),ne=.511;l>=16&&(ne=.040975*l/(1+.01765*l));var le=.0638*S/(1+.0131*S)+.638,pe;Number.isNaN(T)&&(T=0),T>=164&&T<=345?pe=.56+Math.abs(.2*Math.cos((T+168)*Nc)):pe=.36+Math.abs(.4*Math.cos((T+35)*Nc));var Ee=Math.pow(S,4),Le=Math.sqrt(Ee/(Ee+1900)),we=le*(Le*pe+1-Le),Fe=Math.pow(U/(n*ne),2);return Fe+=Math.pow(K/(o*le),2),Fe+=J/Math.pow(we,2),Math.sqrt(Fe)}var qc=203,Wo=new Te({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:Yt,fromBase:function(t){return t.map(function(r){return Math.max(r*qc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/qc,0)})}}),di=1.15,fi=.66,Bc=2610/Math.pow(2,14),u0=Math.pow(2,14)/2610,Vc=3424/Math.pow(2,12),Hc=2413/Math.pow(2,7),jc=2392/Math.pow(2,7),l0=1.7*2523/Math.pow(2,5),$c=Math.pow(2,5)/(1.7*2523),pi=-0.56,Xo=16295499532821565e-27,c0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],d0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],f0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],p0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],zc=new Te({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:Wo,fromBase:function(t){var r=me(t,3),a=r[0],n=r[1],i=r[2],o=di*a-(di-1)*i,s=fi*n-(fi-1)*a,u=vt(c0,[o,s,i]),l=u.map(function(I){var L=Vc+Hc*Math.pow(I/1e4,Bc),P=1+jc*Math.pow(I/1e4,Bc);return Math.pow(L/P,l0)}),c=vt(f0,l),d=me(c,3),h=d[0],D=d[1],S=d[2],T=(1+pi)*h/(1+pi*h)-Xo;return [T,D,S]},toBase:function(t){var r=me(t,3),a=r[0],n=r[1],i=r[2],o=(a+Xo)/(1+pi-pi*(a+Xo)),s=vt(p0,[o,n,i]),u=s.map(function(I){var L=Vc-Math.pow(I,$c),P=jc*Math.pow(I,$c)-Hc,O=1e4*Math.pow(L/P,u0);return O}),l=vt(d0,u),c=me(l,3),d=c[0],h=c[1],D=c[2],S=(d+(di-1)*D)/di,T=(h+(fi-1)*S)/fi;return [S,T,D]},formats:{color:{}}}),Yo=new Te({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:zc,fromBase:function(t){var r=me(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)),ni(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 m0(e,t){var r=Yo.from(e),a=me(r,3),n=a[0],i=a[1],o=a[2],s=Yo.from(t),u=me(s,3),l=u[0],c=u[1],d=u[2],h=n-l,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,T=2*Math.sqrt(i*c)*Math.sin(S/2*(Math.PI/180));return Math.sqrt(Math.pow(h,2)+Math.pow(D,2)+Math.pow(T,2))}var Gc=3424/4096,Uc=2413/128,Wc=2392/128,Xc=2610/16384,h0=2523/32,g0=16384/2610,Yc=32/2523,v0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],b0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],y0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],w0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Ko=new Te({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:Wo,fromBase:function(t){var r=vt(v0,t);return x0(r)},toBase:function(t){var r=D0(t);return vt(w0,r)},formats:{color:{}}});function x0(e){var t=e.map(function(r){var a=Gc+Uc*Math.pow(r/1e4,Xc),n=1+Wc*Math.pow(r/1e4,Xc);return Math.pow(a/n,h0)});return vt(b0,t)}function D0(e){var t=vt(y0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,Yc)-Gc,0),i=Uc-Wc*Math.pow(a,Yc);return 1e4*Math.pow(n/i,g0)});return r}function _0(e,t){var r=Ko.from(e),a=me(r,3),n=a[0],i=a[1],o=a[2],s=Ko.from(t),u=me(s,3),l=u[0],c=u[1],d=u[2];return 720*Math.sqrt(Math.pow(n-l,2)+.25*Math.pow(i-c,2)+Math.pow(o-d,2))}var A0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],E0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],C0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],S0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],mi=new Te({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:Yt,fromBase:function(t){var r=vt(A0,t),a=r.map(function(n){return Math.cbrt(n)});return vt(C0,a)},toBase:function(t){var r=vt(S0,t),a=r.map(function(n){return Math.pow(n,3)});return vt(E0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function k0(e,t){var r=mi.from(e),a=me(r,3),n=a[0],i=a[1],o=a[2],s=mi.from(t),u=me(s,3),l=u[0],c=u[1],d=u[2],h=n-l,D=i-c,S=o-d;return Math.sqrt(Math.pow(h,2)+Math.pow(D,2)+Math.pow(S,2))}var Jo=Object.freeze({__proto__:null,deltaE76:i0,deltaECMC:s0,deltaE2000:Ho,deltaEJz:m0,deltaEITP:_0,deltaEOK:k0});function en(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Xa(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?mr.deltaE:n,o=be(a,E);e=Ke(e),t=Ke(t);for(var s in Jo)if("deltae"+i.toLowerCase()===s.toLowerCase())return Jo[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Te.get("oklch","lch"),a=[r,"l"];return qr(e,a,function(n){return n*(1+t)})}function F0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Te.get("oklch","lch"),a=[r,"l"];return qr(e,a,function(n){return n*(1-t)})}var R0=Object.freeze({__proto__:null,lighten:T0,darken:F0});function Kc(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=[Ke(e),Ke(t)];if(e=n[0],t=n[1],Or(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,u=o.outputSpace,l=o.premultiplied,c=tn(e,t,{space:s,outputSpace:u,premultiplied:l});return c(r)}function Jc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(Zo(e)){a=e,r=t;var n=me(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,u=i.steps,l=u===void 0?2:u,c=i.maxSteps,d=c===void 0?1e3:c,h=be(i,w);if(!a){var D=[Ke(e),Ke(t)];e=D[0],t=D[1],a=tn(e,t,h);}var S=en(e,t),T=o>0?Math.max(l,Math.ceil(S/o)+1):l,I=[];if(d!==void 0&&(T=Math.min(T,d)),T===1)I=[{p:.5,color:a(.5)}];else {var L=1/(T-1);I=Array.from({length:T},function(te,fe){var J=fe*L;return {p:J,color:a(J)}});}if(o>0)for(var P=I.reduce(function(te,fe,J){if(J===0)return 0;var ne=en(fe.color,I[J-1].color,s);return Math.max(te,ne)},0);P>o;){P=0;for(var O=1;O<I.length&&I.length<d;O++){var N=I[O-1],B=I[O],U=(B.p+N.p)/2,K=a(U);P=Math.max(P,en(K,N.color),en(K,B.color)),I.splice(O,0,{p:U,color:a(U)}),O++;}}return I=I.map(function(te){return te.color}),I}function tn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Zo(e)){var a=e,n=t;return tn.apply(void 0,Se(a.rangeArgs.colors).concat([Pe({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,u=r.premultiplied;e=Ke(e),t=Ke(t),e=Za(e),t=Za(t);var l={colors:[e,t],options:r};if(i?i=Te.get(i):i=Te.registry[mr.interpolationSpace]||e.space,o=o?Te.get(o):i,e=Jt(e,i),t=Jt(t,i),e=Br(e),t=Br(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],h=[Kt(e,d),Kt(t,d)],D=h[0],S=h[1],T=Ay(c,[D,S]),I=me(T,2);D=I[0],S=I[1],qr(e,d,D),qr(t,d,S);}return u&&(e.coords=e.coords.map(function(L){return L*e.alpha}),t.coords=t.coords.map(function(L){return L*t.alpha})),Object.assign(function(L){L=s?s(L):L;var P=e.coords.map(function(B,U){var K=t.coords[U];return ti(B,K,L)}),O=ti(e.alpha,t.alpha,L),N={space:i,coords:P,alpha:O};return u&&(N.coords=N.coords.map(function(B){return B/O})),o!==i&&(N=Jt(N,o)),N},{rangeArgs:l})}function Zo(e){return Or(e)==="function"&&!!e.rangeArgs}mr.interpolationSpace="lab";function I0(e){e.defineFunction("mix",Kc,{returns:"color"}),e.defineFunction("range",tn,{returns:"function<color>"}),e.defineFunction("steps",Jc,{returns:"array<color>"});}var L0=Object.freeze({__proto__:null,mix:Kc,steps:Jc,range:tn,isRange:Zo,register:I0}),Zc=new Te({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:Qa,fromBase:function(t){var r=Math.max.apply(Math,Se(t)),a=Math.min.apply(Math,Se(t)),n=me(t,3),i=n[0],o=n[1],s=n[2],u=NaN,l=0,c=(a+r)/2,d=r-a;if(d!==0){switch(l=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:u=(o-s)/d+(o<s?6:0);break;case o:u=(s-i)/d+2;break;case s:u=(i-o)/d+4;}u=u*60;}return [u,l*100,c*100]},toBase:function(t){var r=me(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 u=(s+a/30)%12,l=n*Math.min(i,1-i);return i-l*Math.max(-1,Math.min(u-3,9-u,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}}}),Qc=new Te({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:Zc,fromBase:function(t){var r=me(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=me(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}}}),P0=new Te({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:Qc,fromBase:function(t){var r=me(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=me(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 u=1-i,l=u===0?0:1-n/u;return [a,l*100,u*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),M0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],O0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],ed=new Bt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:M0,fromXYZ_M:O0}),N0=new Bt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:ed,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),q0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],B0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],td=new Bt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Bo,toXYZ_M:q0,fromXYZ_M:B0}),V0=1/512,H0=16/512,j0=new Bt({id:"prophoto",name:"ProPhoto",base:td,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>=V0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),$0=new Te({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:mi,fromBase:function(t){var r=me(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)),ni(o)]},toBase:function(t){var r=me(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>"]}}}),rd=203,ad=2610/Math.pow(2,14),z0=Math.pow(2,14)/2610,G0=2523/Math.pow(2,5),nd=Math.pow(2,5)/2523,id=3424/Math.pow(2,12),od=2413/Math.pow(2,7),sd=2392/Math.pow(2,7),U0=new Bt({id:"rec2100pq",name:"REC.2100-PQ",base:si,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,nd)-id,0)/(od-sd*Math.pow(r,nd)),z0);return a*1e4/rd})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*rd/1e4,0),n=id+od*Math.pow(a,ad),i=1+sd*Math.pow(a,ad);return Math.pow(n/i,G0)})},formats:{color:{id:"rec2100-pq"}}}),ud=.17883277,ld=.28466892,cd=.55991073,Qo=3.7743,W0=new Bt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:si,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Qo:Math.exp((r-cd)/ud+ld)/12*Qo})},fromBase:function(t){return t.map(function(r){return r/=Qo,r<=1/12?Math.sqrt(3*r):ud*Math.log(12*r-ld)+cd})},formats:{color:{id:"rec2100-hlg"}}}),dd={};Nr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=fd(e.W1,e.W2,e.options.method));}),Nr.add("chromatic-adaptation-end",function(e){e.M||(e.M=fd(e.W1,e.W2,e.options.method));});function hi(e){var t=e.id;e.toCone_M;e.fromCone_M;dd[t]=arguments[0];}function fd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=dd[r],n=vt(a.toCone_M,e),i=me(n,3),o=i[0],s=i[1],u=i[2],l=vt(a.toCone_M,t),c=me(l,3),d=c[0],h=c[1],D=c[2],S=[[d/o,0,0],[0,h/s,0],[0,0,D/u]],T=vt(S,a.toCone_M),I=vt(a.fromCone_M,T);return I}hi({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]]}),hi({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]]}),hi({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]]}),hi({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(ur,{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]}),ur.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var X0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],Y0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],pd=new Bt({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:ur.ACES,toXYZ_M:X0,fromXYZ_M:Y0,formats:{color:{}}}),gi=Math.pow(2,-16),es=-0.35828683,vi=(Math.log2(65504)+9.72)/17.52,K0=new Bt({id:"acescc",name:"ACEScc",coords:{r:{range:[es,vi],name:"Red"},g:{range:[es,vi],name:"Green"},b:{range:[es,vi],name:"Blue"}},referred:"scene",base:pd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-gi)*2:a<vi?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(gi)+9.72)/17.52:r<gi?(Math.log2(gi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),md=Object.freeze({__proto__:null,XYZ_D65:Yt,XYZ_D50:Bo,XYZ_ABS_D65:Wo,Lab_D65:Go,Lab:Ht,LCH:Ka,sRGB_Linear:_c,sRGB:Qa,HSL:Zc,HWB:P0,HSV:Qc,P3_Linear:Dc,P3:Sc,A98RGB_Linear:ed,A98RGB:N0,ProPhoto_Linear:td,ProPhoto:j0,REC_2020_Linear:si,REC_2020:xc,OKLab:mi,OKLCH:$0,Jzazbz:zc,JzCzHz:Yo,ICTCP:Ko,REC_2100_PQ:U0,REC_2100_HLG:W0,ACEScg:pd,ACEScc:K0}),tt=(ve=new WeakMap,(function(){function e(){var t=this;rr(this,e),Ir(this,ve,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=Ke(n[0]));var o,s,u;r?(o=r.space||r.spaceId,s=r.coords,u=r.alpha):(o=n[0],s=n[1],u=n[2]),Nt(ve,this,Te.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=u<1?u:1;for(var l=0;l<this.coords.length;l++)this.coords[l]==="NaN"&&(this.coords[l]=NaN);var c=function(D){Object.defineProperty(t,D,{get:function(){return t.get(D)},set:function(T){return t.set(D,T)}});};for(var d in tr(ve,this).coords)c(d);}return ar(e,[{key:"space",get:function(){return tr(ve,this)}},{key:"spaceId",get:function(){return tr(ve,this).id}},{key:"clone",value:function(){return new tt(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=My.apply(void 0,[this].concat(a));return i.color=new tt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof tt)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 Ne(tt,[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,u=function(){var c=a.apply(void 0,arguments);if(s==="color")c=tt.get(c);else if(s==="function<color>"){var d=c;c=function(){var D=d.apply(void 0,arguments);return tt.get(D)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(h){return tt.get(h)}));return c};r in tt||(tt[r]=u),o&&(tt.prototype[r]=function(){for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return u.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)tt.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(tt);else for(var a in r)tt.defineFunction(a,r[a]);}}])})());tt.defineFunctions({get:Kt,getAll:Ya,set:qr,setAll:gc,to:Jt,equals:Oy,inGamut:Ja,toGamut:Br,distance:Tc,toString:oi}),Object.assign(tt,{util:yy,hooks:Nr,WHITES:ur,Space:Te,spaces:Te.registry,parse:hc,defaults:mr});for(var ts=0,hd=Object.keys(md);ts<hd.length;ts++){var J0=hd[ts];Te.register(md[J0]);}for(var gd in Te.registry)rs(gd,Te.registry[gd]);Nr.add("colorspace-init-end",function(e){var t;rs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){rs(r,e);});});function rs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(tt.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,u){try{return Te.resolveCoord([t,u]),!0}catch{}return Reflect.has(s,u)},get:function(s,u,l){if(u&&ee(u)!=="symbol"&&!(u in s)){var c=Te.resolveCoord([t,u]),d=c.index;if(d>=0)return s[d]}return Reflect.get(s,u,l)},set:function(s,u,l,c){if(u&&ee(u)!=="symbol"&&!(u in s)||u>=0){var d=Te.resolveCoord([t,u]),h=d.index;if(h>=0)return s[h]=l,n.setAll(e,s),true}return Reflect.set(s,u,l,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}tt.extend(Jo),tt.extend({deltaE:en}),tt.extend(R0),tt.extend({contrast:r0}),tt.extend(n0),tt.extend(qy),tt.extend(L0),tt.extend(ci);var vd=fr(Hl());Mr.default.templateSettings.strip=false,m._memoizedFns=[];function Z0(e){var t=(0, lc.default)(e);return m._memoizedFns.push(t),t}var nt=Z0,Q0=nt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),rn=Q0;function as(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||g;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 ew=["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"],tw=31,rw=/([\\"])/g,aw=/(\r\n|\r|\n)/g;function ns(e){return e.replace(rw,"\\$1").replace(aw,"\\a ")}function bd(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=oc(e.getAttribute(r));n?a=pt(t.name)+'$="'+ns(n)+'"':a=pt(t.name)+'="'+ns(e.getAttribute(r))+'"';}else a=pt(r)+'="'+ns(t.value)+'"';return a}function is(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function yd(e){return !ew.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<tw)}function bi(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 u=s.nodeName;t.tags[u]?t.tags[u]++:t.tags[u]=1,s.classList&&Array.from(s.classList).forEach(function(l){var c=pt(l);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(Wa(s)).filter(yd).forEach(function(l){var c=bd(s,l);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 nw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=pt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(is)}function iw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&ha(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function ow(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||g,r="#"+pt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function wd(e){var t=rn(g);return pt(t?e.localName:e.nodeName.toLowerCase())}function sw(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Wa(e)).filter(yd).forEach(function(i){var o=bd(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(is)}function uw(e,t){var r="",a,n=nw(e,t),i=sw(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=wd(e)):(a=n.concat(i),a.sort(is),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=wd(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(!m._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=ow(e);s||(s=uw(e,m._selectorData),s+=iw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>qe.selectorSimilarFilterLimit?o=dw(r,i):o=o.filter(function(u){return ha(u,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 cw(e,t){return as(lw,e,t)}var os=nt(cw),dw=nt(function(e,t){return Array.from(e.querySelectorAll(t))});function xd(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?xd(r)+" > "+t+n:t+n}function yi(e,t){return as(xd,e,t)}function Dd(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=Dd(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&&pt(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 fw(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function pw(e){var t=Dd(e);return fw(t)}var _d=pw,an={},mw={set:function(t,r){hw(t),an[t]=r;},get:function(t,r){if(gw(r),t in an)return an[t];if(typeof r=="function"){var a=r();return Ue(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),an[t]}},clear:function(){an={};}};function hw(e){Ue(typeof e=="string","key must be a string, "+ee(e)+" given"),Ue(e!=="","key must not be empty");}function gw(e){Ue(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ee(e)+" given");}var Oe=mw;function vw(e,t){var r=t||e;return Oe.get("nodeMap")?Oe.get("nodeMap").get(r):null}var Ve=vw;function Ad(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 ss(s,a)}var u=bw(e);return u.length>a?yw(e,{maxLength:a,attrLimit:i}):u}function bw(e){var t=e.outerHTML;return !t&&typeof p.XMLSerializer=="function"&&(t=new p.XMLSerializer().serializeToString(e)),t||""}function yw(e,t){var r=t.maxLength,a=t.attrLimit,n=rn(e.ownerDocument||g)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Wa(e)).map(function(S){var T=S.name,I=S.value;return {name:T,value:I}}),o=i.reduce(function(S,T){var I=T.name,L=T.value;return S+I.length+L.length+4},0);2+n.length+o>r&&i.forEach(function(S){S.name=ss(S.name,a),S.value=ss(S.value,a);});var s="<".concat(n),u=">",l=" ...>",c=et(i),d;try{for(c.s();!(d=c.n()).done;){var h=d.value,D=" ".concat(h.name,'="').concat(h.value,'"');if(s.length+D.length>r-l.length){u=l;continue}s+=D;}}catch(S){c.e(S);}finally{c.f();}return s+u}function ss(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Ed="DqElm.RunOptions",na=nt(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Oe.get(Ed))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Ct?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ve(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,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Ad(this._element);}return this});na.prototype={get selector(){return this.spec.selector||[os(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[yi(this.element)]},get xpath(){return this.spec.xpath||[_d(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}},na.fromFrame=function(t,r,a){var n=na.mergeSpecs(t,a);return new na(a.element,r,n)},na.mergeSpecs=function(t,r){return Pe({},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})},na.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Oe.set(Ed,{elementRef:r,absolutePaths:a});};var Zt=na;function ww(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){p.Node&&(i instanceof p.Node||i instanceof Ct?i=[i]:i=ic(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ct&&(o=o.actualNode),o instanceof p.Node){var s=new Zt(o);e.relatedNodes.push(s);}}));}}}var us=ww;function Er(e){return ls(e,new Map)}function ls(e,t){var r,a;if(e===null||ee(e)!=="object"||(r=p)!==null&&r!==void 0&&r.Node&&e instanceof p.Node||(a=p)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof p.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(ls(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ls(e[o],t);return i}var nn=new uc.CssSelectorParser;nn.registerSelectorPseudos("not"),nn.registerSelectorPseudos("is"),nn.registerNestingOperators(">"),nn.registerAttrEqualityMods("^","$","*","~");var Cd=nn;function cs(e,t){var r=wi(t);return r.some(function(a){return ba(e,a)})}function xw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Dw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function _w(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function Aw(e,t){return !t.id||e.props.id===t.id}function Ew(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return ba(e,a)});if(r.name==="is")return r.expressions.some(function(a){return ba(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Sd(e,t){return xw(e,t)&&Dw(e,t)&&_w(e,t)&&Aw(e,t)&&Ew(e,t)}var on=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),ds=/\\/g;function Cw(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("^"+on(a));break;case "$=":i=new RegExp(on(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+on(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+on(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 Sw(e){if(e)return e.map(function(t){return t=t.replace(ds,""),{value:t,regexp:new RegExp("(^|\\s)"+on(t)+"(\\s|$)")}})}function kw(e){if(e)return e.map(function(t){var r;return ["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=kd(r)),{name:t.name,expressions:r,value:t.value}})}function kd(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:Cw(a.attrs),classes:Sw(a.classNames),pseudos:kw(a.pseudos)}),a=a.rule;return r})}function wi(e){var t=Cd.parse(e);return t=t.selectors?t.selectors:[t],kd(t)}function Td(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=Sd(e,i);!o&&a&&e.parent;)e=e.parent,o=Sd(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&&Td(e.parent,t,r-1,i.combinator===" ");}return o}function ba(e,t,r){return Td(e,t,t.length-1,r)}function Tw(e,t){for(;e;){if(cs(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var jt=Tw;function xi(){}function fs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Fw(){var e=[],t=0,r=0,a=xi,n=false,i,o=function(D){i=D,setTimeout(function(){i!=null&&aa("Uncaught error (of queue)",i);},1);},s=o;function u(h){return function(D){e[h]=D,r-=1,!r&&a!==xi&&(n=true,a(e));}}function l(h){return a=xi,s(h),e}function c(){for(var h=e.length;t<h;t++){var D=e[t];try{D.call(null,u(t),l);}catch(S){l(S);}}}var d={defer:function(D){if(ee(D)==="object"&&D.then&&D.catch){var S=D;D=function(I,L){S.then(I).catch(L);};}if(fs(D),i===void 0){if(n)throw new Error("Queue already completed");return e.push(D),++r,c(),d}},then:function(D){if(fs(D),a!==xi)throw new Error("queue `then` already set");return i||(a=D,r||(n=true,a(e))),d},catch:function(D){if(fs(D),s!==o)throw new Error("queue `catch` already set");return i?(D(i),i=null):s=D,d},abort:l};return d}var hr=Fw,ya,wa,ps=p.crypto||p.msCrypto;if(!wa&&ps&&ps.getRandomValues){var Fd=new Uint8Array(16);wa=function(){return ps.getRandomValues(Fd),Fd};}if(!wa){var Rd=new Array(16);wa=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Rd[t]=r>>>((t&3)<<3)&255;return Rd};}for(var Id=typeof p.Buffer=="function"?p.Buffer:Array,ms=[],Ld={},xa=0;xa<256;xa++)ms[xa]=(xa+256).toString(16).substr(1),Ld[ms[xa]]=xa;function Rw(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++]=Ld[i]);});n<16;)t[a+n++]=0;return t}function hs(e,t){var r=t||0,a=ms;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 Hr=wa(),Iw=[Hr[0]|1,Hr[1],Hr[2],Hr[3],Hr[4],Hr[5]],Pd=(Hr[6]<<8|Hr[7])&16383,gs=0,vs=0;function Md(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Pd,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:vs+1,u=o-gs+(s-vs)/1e4;if(u<0&&e.clockseq==null&&(i=i+1&16383),(u<0||o>gs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");gs=o,vs=s,Pd=i,o+=122192928e5;var l=((o&268435455)*1e4+s)%4294967296;n[a++]=l>>>24&255,n[a++]=l>>>16&255,n[a++]=l>>>8&255,n[a++]=l&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||Iw,h=0;h<6;h++)n[a+h]=d[h];return t||hs(n)}function ia(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Id(16):null,e=null),e=e||{};var n=e.random||(e.rng||wa)();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||hs(n)}ya=ia,ya.v1=Md,ya.v4=ia,ya.parse=Rw,ya.unparse=hs,ya.BufferClass=Id,m._uuid=Md();var Lw=ia,Pw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Mw(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:Od()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Ow(e){var t;try{t=JSON.parse(e);}catch{return}if(Nw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=ee(t.error)==="object"?qw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Nw(e){return e!==null&&ee(e)==="object"&&typeof e.channelId=="string"&&e.source===Od()}function qw(e){var t=e.message||"Unknown error occurred",r=Pw.includes(e.name)?e.name:"Error",a=p[r]||Error;return e.stack&&(t+=`
|
|
365
|
-
`+e.stack.replace(e.message,"")),new a(t)}function Od(){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 bs(e){qd(e),Ue(p.parent===e,"Source of the response must be the parent window.");}function Nd(e){qd(e),Ue(e.parent===p,"Respondable target must be a frame in the current window");}function qd(e){Ue(p!==e,"Messages can not be sent to the same window.");}var sn={};function Bw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Ue(!Object.prototype.hasOwnProperty.call(sn,e),"A replyHandler already exists for this message channel."),sn[e]={replyHandler:t,sendToParent:r};}function Vw(e){return Object.prototype.hasOwnProperty.call(sn,e)?sn[e]:void 0}function Hw(e){delete sn[e];}var Di=[];function ys(){var e="".concat(ia(),":").concat(ia());return Di.includes(e)?ys():(Di.push(e),e)}function jw(e){return Di.includes(e)?false:(Di.push(e),true)}function ws(e,t,r,a){if(r?bs(e):Nd(e),t.message instanceof Error&&!r)return m.log(t.message),false;var n=Mw(Pe({messageId:ys()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&Bw(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 $w(e,t,r){if(!e.parent!==p)return m.log(t);try{ws(e,{topic:null,channelId:r,message:t,messageId:ys(),keepalive:!0},!0);}catch(a){return m.log(a)}}function Bd(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};ws(e,s,r,o);}}function zw(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Gw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Ow(a)||{},o=i.channelId,s=i.message,u=i.messageId;if(!zw(r)||!jw(u))return;if(s instanceof Error&&n.parent!==p)return m.log(s),!1;try{if(i.topic){var l=Bd(n,o);bs(n),t(i,l);}else Uw(n,i);}catch(c){$w(n,c,o);}}catch(c){return m.log(c),false}}function Uw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Vw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?bs(e):Nd(e);var u=Bd(e,r,s);!n&&r&&Hw(r);try{o(a,n,u);}catch(l){m.log(l),u(l,n);}}}var Ww={open:function(t){if(typeof p.addEventListener=="function"){var r=function(n){Gw(n,t);};return p.addEventListener("message",r,false),function(){p.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof p.addEventListener!="function"?false:ws(t,r,false,a)}};function Vd(e){e.updateMessenger(Ww);}var _i,Hd,Ai={};function cr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(ia(),":").concat(ia()),keepalive:a};return Hd(e,i,n)}function Xw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Ai,r)?Ai[r]:void 0;if(i)try{i(a,n,t);}catch(o){m.log(o),t(o,n);}}cr.updateMessenger=function(t){var r=t.open,a=t.post;Ue(typeof r=="function","open callback must be a function"),Ue(typeof a=="function","post callback must be a function"),_i&&_i();var n=r(Xw);n?(Ue(typeof n=="function","open callback must return a cleanup function"),_i=n):_i=null,Hd=a;},cr.subscribe=function(t,r){Ue(typeof r=="function","Subscriber callback must be a function"),Ue(!Object.prototype.hasOwnProperty.call(Ai,t),"Topic ".concat(t," is already registered to.")),Ai[t]=r;},cr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;return !!t.frameElement},Vd(cr);function jd(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){aa("Frame does not have a content window",e),r(null);return}if(s===0){$d(e,t,r,a);return}var u=setTimeout(function(){u=setTimeout(function(){t.debug?a(zd("No response from frame",e)):r(null);},0);},s);cr(o,"axe.ping",null,void 0,function(){clearTimeout(u),$d(e,t,r,a);});}function $d(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,u=setTimeout(function(){a(zd("Axe in frame timed out",e));},o);cr(s,"axe.start",t,void 0,function(l){clearTimeout(u),l instanceof Error?a(l):r(l);});}function zd(e,t){var r;return m._tree&&(r=os(t)),new Error(e+": "+(r||t))}var un=null,ln={update:function(t){Ue(ee(t)==="object","serializer must be an object"),un=t;},toSpec:function(t){return ln.dqElmToSpec(new Zt(t))},dqElmToSpec:function(t,r){var a;return t instanceof Zt?(r&&(t=Yw(t,r)),typeof((a=un)===null||a===void 0?void 0:a.toSpec)=="function"?un.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=un)===null||a===void 0?void 0:a.mergeSpecs)=="function"?un.mergeSpecs(t,r):Zt.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Pe({},r,{nodes:ln.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=be(r,_);n.node=ln.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(u){var l=u.relatedNodes,c=be(u,k);return c.relatedNodes=l.map(ln.dqElmToSpec),c});}return n})}},Qt=ln;function Yw(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new Zt(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 Kw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Ei=Kw;function Jw(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&ee(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var cn=Jw;function Zw(e,t,r){e.forEach(function(a){a.node=Qt.mergeSpecs(a.node,r);var n=Ei(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return Qt.mergeSpecs(o,r)});});});}function Qw(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Gd(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 ex(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function tx(e,t){var r=[];return e.forEach(function(a){var n=ex(a);if(!(!n||!n.length)){var i=rx(a);n.forEach(function(o){o.nodes&&i&&Zw(o.nodes,t,i);var s=cn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Qw(s.nodes,o.nodes),o.error){var u;(u=s.error)!==null&&u!==void 0||(s.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return Gd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Gd(){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 Ci=tx;function rx(e){return e.frameElement?Qt.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Ud(e,t,r,a,n,i){t=Pe({},t,{elementRef:false});var o=hr(),s=e.frames;s.forEach(function(u){var l=u.node,c=be(u,C);o.defer(function(d,h){var D={options:t,command:r,parameter:a,context:c};function S(T){return d(T?{results:T,frameElement:l}:null)}jd(l,D,S,h);});}),o.then(function(u){n(Ci(u,t));}).catch(i);}function Cr(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 Wd(){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||ee(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ee(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Wd(e[s],n[s]);}}),e}var xs=Wd;function ax(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 Ds=ax,nx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function ix(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(nx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Si=ix,_s={};nr(_s,{createGrid:function(){return mn},findElmsInContext:function(){return Xd},findNearbyElms:function(){return Mi},findUp:function(){return _a},findUpVirtual:function(){return Da},focusDisabled:function(){return Ls},getComposedParent:function(){return St},getElementByReference:function(){return Ms},getElementCoordinates:function(){return Cs},getElementStack:function(){return Ff},getModalDialog:function(){return Ef},getNodeGrid:function(){return Pi},getOverflowHiddenAncestors:function(){return fn},getRootNode:function(){return Rt},getScrollOffset:function(){return cf},getTabbableElements:function(){return Rf},getTargetRects:function(){return Ni},getTargetSize:function(){return If},getTextElementStack:function(){return Qs},getViewportSize:function(){return ki},getVisibleChildTextRects:function(){return Zs},hasContent:function(){return zi},hasContentVirtual:function(){return Dn},hasLangText:function(){return tu},idrefs:function(){return gr},insertedIntoFocusOrder:function(){return xp},isCurrentPageLink:function(){return Ps},isFixedPosition:function(){return Ti},isFocusable:function(){return bt},isHTML5:function(){return Ap},isHiddenForEveryone:function(){return jr},isHiddenWithCSS:function(){return I_},isInTabOrder:function(){return er},isInTextBlock:function(){return ru},isInert:function(){return Oi},isModalOpen:function(){return _n},isMultiline:function(){return Cp},isNativelyFocusable:function(){return qs},isNode:function(){return j_},isOffscreen:function(){return Fi},isOpaque:function(){return Z_},isSkipLink:function(){return iu},isVisible:function(){return n2},isVisibleOnScreen:function(){return $t},isVisibleToScreenReaders:function(){return lt},isVisualContent:function(){return eu},reduceToElementsBelowFloating:function(){return Sp},shadowElementsFromPoint:function(){return s2},urlPropsFromAttribute:function(){return p2},visuallyContains:function(){return kp},visuallyOverlaps:function(){return ou},visuallySort:function(){return Os}});function ox(e){var t=e.getRootNode&&e.getRootNode()||g;return t===e&&(t=g),t}var dn=ox,Rt=dn;function sx(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=pt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Rt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var Xd=sx;function ux(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&&!ha(r,t)&&r!==g.documentElement);return !r||!ha(r,t)?null:r}var Da=ux;function lx(e,t){return Da(Ve(e),t)}var _a=lx;function As(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 Yd=nt(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Yd(t.parent))}),fn=Yd,cx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,dx=/(\w+)\((\d+)/;function Kd(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Jd(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function Zd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Qd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function ef(e){return e.attr("aria-hidden")==="true"}function tf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function rf(e){var t=Tr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function af(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=fn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!fx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!As(i,s)})}function nf(e){var t=e.getComputedStylePropertyValue("clip").match(cx),r=e.getComputedStylePropertyValue("clip-path").match(dx);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 Es(e,t){var r=jt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=dn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Ut(m._tree,'img[usemap="#'.concat(pt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function of(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 fx(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var px=[Jd,Zd,Qd,of];function jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Ge(e).vNode,r?sf(e,n):uf(e,n)}var sf=nt(function(t,r){return Kd(t)?true:t.actualNode?!!(px.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),uf=nt(function(t,r){return sf(t,r)?true:t.parent?uf(t.parent,true):false});function lf(e){if(e.assignedSlot)return lf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var St=lf;function mx(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 cf=mx;function hx(e){var t=cf(g),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 Cs=hx;function gx(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 ki=gx;function Ti(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Ge(e),n=a.vNode;return n?r?df(n):ff(n):false}var df=nt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),ff=nt(function(t){return df(t)?true:t.parent?ff(t.parent):false});function vx(e,t){for(e=St(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=St(e);}return true}function bx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Ge(e),n=a.domNode;if(n){var i=g.documentElement,o=p.getComputedStyle(n),s=p.getComputedStyle(g.body||i).getPropertyValue("direction"),u=Ti(n),l=u?n.getBoundingClientRect():Cs(n);if(l.top===0&&l.bottom===0||l.left===0&&l.right===0)return false;if(l.bottom<=0&&(vx(n,l.bottom)||o.position==="absolute"))return true;var c=ki(p);if(u&&l.top>=c.height)return true;var d=Math.max(i.scrollWidth,c.width);return !!((u||s==="rtl")&&l.left>=d||(u||s==="ltr")&&l.right<=0)}}var Fi=bx,yx=[tf,rf,af,nf,Fi];function $t(e){return e=Ge(e).vNode,Ss(e)}var Ss=nt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Es(t,Ss):jr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&yx.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?Ss(t.parent,true):true});function ks(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 p.DOMRect(i,r,a-i,n-r)}function Ri(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 pf={};nr(pf,{getBoundingRect:function(){return ks},getIntersectionRect:function(){return Ii},getOffset:function(){return hf},getRectCenter:function(){return pn},hasVisualOverlap:function(){return Ts},isPointInRect:function(){return Ri},rectHasMinimumSize:function(){return Sr},rectsOverlap:function(){return As},splitRects:function(){return Fs}});function Ii(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 p.DOMRect(r,n,a-r,i-n)}function pn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new p.DOMPoint(t+a/2,r+n/2)}var mf=.05;function Sr(e,t){var r=t.width,a=t.height;return r+mf>=e&&a+mf>=e}function hf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Ni(e),n=Ni(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=pn(o),u=et(n),l;try{for(u.s();!(l=u.n()).done;){var c=l.value;if(Ri(s,c))return 0;var d=wx(s,c),h=gf(s,d);i=Math.min(i,h);}}catch(L){u.e(L);}finally{u.f();}var D=If(t);if(Sr(r*2,D))return i;var S=n.reduce(ks),T=pn(S),I=gf(s,T)-r;return Math.max(0,Math.min(i,I))},1/0)}function wx(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 gf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ts(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:Os(e,t)>0}function Fs(e,t){var r=Array.isArray(e)?e:[e],a=et(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(u,l){return u.concat(xx(l,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 xx(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,u=[];if(Li(t.top,r,n)&&s&&u.push({top:r,left:a,bottom:t.top,right:i}),Li(t.right,a,i)&&o&&u.push({top:r,left:t.right,bottom:n,right:i}),Li(t.bottom,r,n)&&s&&u.push({top:t.bottom,right:i,bottom:n,left:a}),Li(t.left,a,i)&&o&&u.push({top:r,left:a,bottom:n,right:t.left}),u.length===0){if(_x(e,t))return [];u.push(e);}return u.map(Dx)}var Li=function(t,r,a){return t>r&&t<a};function Dx(e){return new p.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function _x(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var vf=0,Ax=.1,bf=.2,yf=.3,Rs=0;function mn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Oe.get("gridCreated")&&!r)return qe.gridSize;if(Oe.set("gridCreated",true),!r){var a=Ve(g.documentElement);if(a||(a=new su(g.documentElement)),Rs=0,a._stackingOrder=[Df(vf,Rs++,null)],t??(t=new Is),_f(t,a),Tr(a.actualNode)){var n=new Is(a);a._subGrid=n;}}for(var i=g.createTreeWalker(e,p.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ve(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ve(o.assignedSlot):o.parentElement?r=Ve(o.parentElement):o.parentNode&&Ve(o.parentNode)&&(r=Ve(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=Ex(s,r,Rs++);var u=kx(s,r),l=u?u._subGrid:t;if(Tr(s.actualNode)){var c=new Is(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&$t(o)&&_f(l,s),Si(o)&&mn(o.shadowRoot,l,s),o=i.nextNode();}return qe.gridSize}function wf(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 u=e.getComputedStylePropertyValue("clip-path");if(u&&u!=="none")return true;var l=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(l!=="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 h=e.getComputedStylePropertyValue("will-change");if(h==="transform"||h==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var D=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(D)||a!=="auto"&&xf(t))}function xf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Ex(e,t,r){var a=t._stackingOrder.slice();if(wf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [vf,bf,yf].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Cx(e,t);return i!==null&&a.push(Df(i,r,e)),a}function Df(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Cx(e,t){var r=Sx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?yf:e.getComputedStylePropertyValue("float")!=="none"?bf:wf(e,t)?Ax:null:parseInt(r)}function Sx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!xf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function kx(e,t){for(var r=null,a=[e];t;){if(Tr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=Ve(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function _f(e,t){var r=fn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,u){return s&&Ii(s,u.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 Is=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return ar(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/qe.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Ue(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),u=this.toGridIndex(i);Ue(Ri({y:s,x:u},this.boundaries),"Element midpoint exceeds the grid bounds");var l=(a=this.cells[s-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=l[u-l._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,s=n.top,u=n.bottom;this.boundaries&&(r=ks(this.boundaries,r)),this.boundaries=r,Af(this.cells,s,u,function(l,c){Af(l,i,o,function(d,h){a(d,{row:c,col:h});});});}},{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 p.DOMRect(o,a,n-o,i-a)}}])})();function Af(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,u=o;u<=s;u++){var l,c;(c=e[l=u])!==null&&c!==void 0||(e[l]=[]),a(e[u],u+e._negativeIndex);}}function Pi(e){mn();var t=Ge(e),r=t.vNode;return r._grid}function Mi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Pi(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Ti(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(u){var l=et(u),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===Ti(d)&&s.push(d);}}catch(h){l.e(h);}finally{l.f();}}),s}var Tx=nt(function(){var t;if(!m._tree)return null;var r=xr(m._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=g.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&$t(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=g.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=Fx(n))!==null&&i!==void 0?i:{},s=o.vNode,u=o.rect;if(!s)return false;var l=g.elementsFromPoint(u.left+1,u.top+1);return !l.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Ef=Tx;function Fx(e){mn();var t=m._tree[0]._grid,r=new p.DOMRect(0,0,p.innerWidth,p.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 u=o[s],l=u.boundingClientRect,c=Ii(l,r);if(u.props.nodeName!=="html"&&u!==e&&u.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:u,rect:c}}}}}function Oi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Cf(e,a):Sf(e,a)}var Cf=nt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=Ef();if(a&&!Cr(a,t))return true}return false}),Sf=nt(function(t,r){return Cf(t,r)?true:t.parent?Sf(t.parent,true):false}),Rx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Ix(e){return Rx.includes(e)}function Lx(e){var t=Ge(e),r=t.vNode;if(Ix(r.props.nodeName)&&r.hasAttr("disabled")||Oi(r))return true;for(var a=r.parent,n=[],i=false;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=true),a=a.parent;}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?jr(r):false}var Ls=Lx,Px=/^\/\#/,Mx=/^#[!/]/;function Ps(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Px.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Mx.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=p.location)===null||t===void 0?void 0:t.origin)!="string"||p.location.origin.indexOf("://")===-1)return null;var u=p.location.origin+p.location.pathname,l;return i?l="".concat(n,"//").concat(i).concat(o?":".concat(o):""):l=p.location.origin,s?l+=(s[0]!=="/"?"/":"")+s:l+=p.location.pathname,l===u}function Ox(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Ps(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=g.getElementById(r);return a||(a=g.getElementsByName(r),a.length?a[0]:null)}var Ms=Ox;function Os(e,t){mn();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(I){return I.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(I){return I.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=p.Node,u=s.DOCUMENT_POSITION_FOLLOWING,l=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,d=n.compareDocumentPosition(i),h=d&u?1:-1,D=d&l||d&c,S=kf(e),T=kf(t);return S===T||D?h:T-S}function kf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Tf(e)?1:0}function Tf(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=Tf(e.parent);return e._isFloated=r,r}function Ns(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=pn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(l){return l.clientRects.some(function(c){var d=c.left,h=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(h+c.height)&&o>=Math.floor(h)})}),u=e.container;return u&&(s=Ns(u._grid,u.boundingClientRect,true).concat(s)),r||(s=s.sort(Os).map(function(l){return l.actualNode}).concat(g.documentElement).filter(function(l,c,d){return d.indexOf(l)===c})),s}function Nx(e){var t=Pi(e);if(!t)return [];var r=Ve(e).boundingClientRect;return Ns(t,r)}var Ff=Nx;function qx(e){var t=Ut(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=wr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var Rf=qx;function Bx(e){var t=Ge(e),r=t.vNode;if(!r||Ls(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 !Ut(r,"summary").length}return false}var qs=Bx;function bt(e){var t=Ge(e),r=t.vNode;if(r.props.nodeType!==1||Ls(r))return false;if(qs(r))return true;var a=wr(r.attr("tabindex"));return a!==null}function er(e){var t=Ge(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=wr(r.attr("tabindex"));return a<=-1?false:bt(r)}var Ni=nt(Vx);function Vx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=Mi(e).filter(function(i){return Ts(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 Fs(r,n)}function Hx(e,t){return Cr(e,t)&&!er(t)}var If=nt(jx);function jx(e,t){var r=Ni(e);return $x(r,t)}function $x(e,t){return e.reduce(function(r,a){var n=Sr(t,r),i=Sr(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 hn={};nr(hn,{accessibleText:function(){return oa},accessibleTextVirtual:function(){return kt},autocomplete:function(){return ua},formControlValue:function(){return lp},formControlValueMethods:function(){return Us},hasUnicode:function(){return Ys},isHumanInterpretable:function(){return Js},isIconLigature:function(){return Ks},isValidAutocomplete:function(){return gp},label:function(){return y_},labelText:function(){return Ws},labelVirtual:function(){return ji},nativeElementType:function(){return x_},nativeTextAlternative:function(){return dp},nativeTextMethods:function(){return cp},removeUnicode:function(){return xn},sanitize:function(){return Re},subtreeText:function(){return Gr},titleText:function(){return Bi},unsupported:function(){return Qf},visible:function(){return vp},visibleTextNodes:function(){return D_},visibleVirtual:function(){return br}});function zx(e,t){e=e.actualNode||e;try{var r=Rt(e),a=[],n=e.getAttribute(t);if(n){n=Ot(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 gr=zx;function Gx(e,t){var r=Ve(e);return kt(r,t)}var oa=Gx;function Ux(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ge(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=gr(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=oa(o,Pe({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var gn=Ux;function vn(e){var t=Ge(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}},Lf=Wx,Xx={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"]}},Pf=Xx,Yx={"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"]}},Kx=Yx,Jx={"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}},Zx=Jx,Qx={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"]}},eD=Qx,tD={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]},rD=tD,Mf={ariaAttrs:Lf,ariaRoles:Pe({},Pf,Kx,Zx),htmlElms:eD,cssColors:rD},Aa=Pe({},Mf);function aD(e){Object.keys(Aa).forEach(function(t){e[t]&&(Aa[t]=xs(Aa[t],e[t]));});}function nD(){Object.keys(Aa).forEach(function(e){Aa[e]=Mf[e];});}var We=Aa;function iD(e){var t=We.ariaRoles[e];return t?!!t.unsupported:false}var Bs=iD;function oD(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=We.ariaRoles[e],o=Bs(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var bn=oD;function sD(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 Ct?e:Ve(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Ot(i):[i],s=o.find(function(u){return !n&&u.substr(0,4)==="doc-"?false:bn(u,{allowAbstract:a})});return s||null}var je=sD;function uD(e){return Object.keys(We.htmlElms).filter(function(t){var r=We.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 Vs=uD;function lD(){return Oe.get("globalAriaAttrs",function(){return Object.keys(We.ariaAttrs).filter(function(e){return We.ariaAttrs[e].global})})}var $r=lD;function cD(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,u=i.length;s<u;s++)for(var l=0;l<i[s].colSpan;l++){for(var c=i[s].getAttribute("rowspan"),d=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,h=0;h<d;h++){for(t[a+h]=t[a+h]||[];t[a+h][o];)o++;t[a+h][o]=i[s];}o++;}}return t}var kr=nt(cD);function dD(e,t){var r,a;for(t||(t=kr(_a(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var qi=nt(dD);function Hs(e){var t=Ge(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=je(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=kr(_a(a,"table")),s=qi(a,o),u=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(u)return "col";var l=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return l?"row":"auto"}function fD(e){return ["col","auto"].indexOf(Hs(e))!==-1}var Ea=fD;function pD(e){return ["row","auto"].includes(Hs(e))}var Ca=pD;function mD(e){return e?e.replace(/\r\n/g,`
|
|
366
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Re=mD,Of=function(){return Oe.get("sectioningContentSelector",function(){return Vs("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Nf=function(){return Oe.get("sectioningContentPlusMainSelector",function(){return Of()+" , main:not([role]), [role=main]"})};function js(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Re(gn(e))||Re(vn(e))||a&&e?.props.nodeType===1&&Re(e.attr("title")))}var hD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return jt(t.parent,Of())&&!js(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=jt(t,Nf());return r?null:"contentinfo"},form:function(t){return js(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=jt(t,Nf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=$r().find(function(n){return t.hasAttr(n)});return r&&!a&&!bt(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=gr(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 js(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=jt(t,"table"),a=je(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Ea(t))return "columnheader";if(Ca(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},$s=hD;function gD(e,t){var r=ee(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 sa=gD;function vD(e,t){return sa(!!kt(e),t)}var qf=vD;function bD(e,t){var r=ee(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 sa(e(a),t[a])})}var zs=bD;function yD(e,t){return e=Ge(e).vNode,zs(function(r){return e.attr(r)},t)}var Bf=yD;function Vf(e,t){return !!t(e)}function wD(e,t){return sa(je(e),t)}var Hf=wD;function xD(e,t){return sa(vr(e),t)}var jf=xD;function DD(e,t){return e=Ge(e).vNode,sa(e.props.nodeName,t)}var $f=DD;function _D(e,t){return e=Ge(e).vNode,zs(function(r){return e.props[r]},t)}var zf=_D;function AD(e,t){return sa(Be(e),t)}var Gf=AD,Uf={hasAccessibleName:qf,attributes:Bf,condition:Vf,explicitRole:Hf,implicitRole:jf,nodeName:$f,properties:zf,semanticRole:Gf};function Wf(e,t){return e=Ge(e).vNode,Array.isArray(t)?t.some(function(r){return Wf(e,r)}):typeof t=="string"?cs(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 Xf=Wf;function ED(e,t){return Xf(e,t)}var zt=ED;zt.hasAccessibleName=qf,zt.attributes=Bf,zt.condition=Vf,zt.explicitRole=Hf,zt.fromDefinition=Xf,zt.fromFunction=zs,zt.fromPrimative=sa,zt.implicitRole=jf,zt.nodeName=$f,zt.properties=zf,zt.semanticRole=Gf;var yn=zt;function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=We.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=be(n,F);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var u=i[s],l=u.matches,c=be(u,R),d=Array.isArray(l)?l:[l],h=0;h<d.length&&a;h++)if(d[h].hasOwnProperty("hasAccessibleName"))return n;if(yn(e,l))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=CD;function SD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Ct?e:Ve(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=$s[n];if(!i&&r){var o=zr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var vr=SD,kD={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 Yf(e,t){var r=kD[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=je(e.parent,t);return ["none","presentation"].includes(a)&&!Jf(e.parent)?a:a?null:Yf(e.parent,t)}function Kf(e,t){var r=t.chromium,a=be(t,q),n=vr(e,{chromium:r});if(!n)return null;var i=Yf(e,a);return i||n}function Jf(e){var t=$r().some(function(r){return e.hasAttr(r)});return t||bt(e)}function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=be(t,V),n=Ge(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=je(i,a);return o?["presentation","none"].includes(o)&&Jf(i)?r?null:Kf(i,a):o:r?null:Kf(i,a)}function FD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=be(t,z),n=TD(e,a);return r&&["presentation","none"].includes(n)?null:n}var Be=FD,RD=["iframe"];function ID(e){var t=Ge(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!zt(r,RD)&&["none","presentation"].includes(Be(r))?"":r.attr("title")}var Bi=ID;function LD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ct?e:Ve(e),e.props.nodeType!==1)return false;var a=Be(e),n=We.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var Zf=LD;function PD(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=gr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.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 wn=PD,Qf={accessibleNameFromFieldValue:["progressbar"]};function lt(e){return e=Ge(e).vNode,Gs(e)}var Gs=nt(function(t,r){return ef(t)||Oi(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Es(t,Gs):jr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Gs(t.parent,true):true});function ep(e,t,r){var a=Ge(e),n=a.vNode,i=t?lt:$t,o=!e.actualNode||e.actualNode&&i(e),s=n.children.map(function(u){var l=u.props,c=l.nodeType,d=l.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return ep(u,t)}).join("");return Re(s)}var br=ep,MD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function OD(e){e=e instanceof Ct?e:Ve(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!MD.includes((e.attr("type")||"").toLowerCase())}var tp=OD;function ND(e){e=e instanceof Ct?e:Ve(e);var t=e.props.nodeName;return t==="select"}var rp=ND;function qD(e){var t=je(e);return t==="textbox"}var ap=qD;function BD(e){var t=je(e);return t==="listbox"}var np=BD;function VD(e){var t=je(e);return t==="combobox"}var ip=VD,HD=["progressbar","scrollbar","slider","spinbutton"];function jD(e){var t=je(e);return HD.includes(t)}var op=jD,sp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Us={nativeTextboxValue:zD,nativeSelectValue:GD,ariaTextboxValue:UD,ariaListboxValue:up,ariaComboboxValue:WD,ariaRangeValue:XD};function $D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Qf.accessibleNameFromFieldValue||[],n=Be(e);if(t.startNode===e||!sp.includes(n)||a.includes(n))return "";var i=Object.keys(Us).map(function(s){return Us[s]}),o=i.reduce(function(s,u){return s||u(e,t)},"");return t.debug&&aa(o||"{empty-value}",r,t),o}function zD(e){var t=Ge(e),r=t.vNode;return tp(r)&&r.props.value||""}function GD(e){var t=Ge(e),r=t.vNode;if(!rp(r))return "";var a=Ut(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return br(i)}).join(" ")||""}function UD(e){var t=Ge(e),r=t.vNode,a=t.domNode;return ap(r)?!a||a&&!jr(a)?br(r,true):a.textContent:""}function up(e,t){var r=Ge(e),a=r.vNode;if(!np(a))return "";var n=wn(a).filter(function(i){return Be(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":kt(n[0],t)}function WD(e,t){var r=Ge(e),a=r.vNode;if(!ip(a))return "";var n=wn(a).filter(function(i){return Be(i)==="listbox"})[0];return n?up(n,t):""}function XD(e){var t=Ge(e),r=t.vNode;if(!op(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var lp=$D;function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=kt.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=Be(e),u=zr(e,{noMatchAccessibleName:true}),l=u.contentTypes;if(r(e,t)||e.props.nodeType!==1||l!=null&&l.includes("embedded")||sp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Zf(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Pe({subtreeDescendant:c},t);}return wn(e).reduce(function(d,h){return JD(d,h,t)},"")}var KD=Vs("phrasing").concat(["#text"]);function JD(e,t,r){var a=t.props.nodeName,n=kt(t,r);return n?(KD.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Gr=YD;function ZD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=kt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Pe({inControlContext:true},t),n=QD(e),i=jt(e,"label"),o;return i?(o=[].concat(Se(n),[i.actualNode]),o.sort(xu)):o=n,o.map(function(s){return oa(s,a)}).filter(function(s){return s!==""}).join(" ")}function QD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Xd({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Ws=ZD,e_={submit:"Submit",image:"Submit",reset:"Reset",button:""},t_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return e_[t.props.type]||""},tableCaptionText:Vi.bind(null,"caption"),figureText:Vi.bind(null,"figcaption"),svgTitleText:Vi.bind(null,"title"),fieldsetLegendText:Vi.bind(null,"legend"),altText:Xs.bind(null,"alt"),tableSummaryText:Xs.bind(null,"summary"),titleText:Bi,subtreeText:Gr,labelText:Ws,singleSpace:function(){return " "},placeholderText:Xs.bind(null,"placeholder")};function Xs(e,t){return t.attr(e)||""}function Vi(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?"":oa(i,r)}var cp=t_;function dp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Be(e)))return "";var a=r_(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(n||"{empty-value}",r,t),n}function r_(e){var t=zr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return cp[a]})}function fp(){return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function pp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function mp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function hp(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function a_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Oo().test(e))),a&&(i||(i=fp().test(e)||mp().test(e)||hp().test(e))),n&&(i||(i=pp().test(e))),i}var Ys=a_;function Ks(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(!Re(a)||Ys(a,{emoji:true,nonBmp:true}))return false;var n=Oe.get("canvasContext",function(){return g.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Oe.get("fonts",function(){return {}}),s=p.getComputedStyle(e.parent.actualNode),u=s.getPropertyValue("font-family");o[u]||(o[u]={occurrences:0,numLigatures:0});var l=o[u];if(l.occurrences>=r){if(l.numLigatures/l.occurrences===1)return true;if(l.numLigatures===0)return false}l.occurrences++;var c=30,d="".concat(c,"px ").concat(u);n.font=d;var h=a.charAt(0),D=n.measureText(h).width;if(D===0)return l.numLigatures++,true;if(D<30){var S=30/D;D*=S,c*=S,d="".concat(c,"px ").concat(u);}i.width=D,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(h,0,0);var T=new Uint32Array(n.getImageData(0,0,D,c).data.buffer);if(!T.some(function(U){return U}))return l.numLigatures++,true;n.clearRect(0,0,D,c),n.fillText(a,0,0);var I=new Uint32Array(n.getImageData(0,0,D,c).data.buffer),L=T.reduce(function(U,K,te){return K===0&&I[te]===0||K!==0&&I[te]!==0?U:++U},0),P=a.split("").reduce(function(U,K){return U+n.measureText(K).width},0),O=n.measureText(a).width,N=L/T.length,B=1-O/P;return N>=t&&B>=t?(l.numLigatures++,true):false}function kt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=s_(e,t),i_(e,t)||o_(e,t))return "";var r=[gn,vn,dp,lp,Gr,n_,Bi],a=r.reduce(function(n,i){return t.startNode===e&&(n=Re(n)),n!==""?n:i(e,t)},"");return t.debug&&m.log(a||"{empty-value}",e.actualNode,t),a}function n_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function i_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!lt(e)}function o_(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:Ks(e,n,i)}function s_(e,t){return t.startNode||(t=Pe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Pe({includeHidden:!lt(e)},t)),t}kt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function u_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Oo(),"")),a&&(e=e.replace(fp(),"").replace(mp(),"").replace(hp(),"")),n&&(e=e.replace(pp(),"")),e}var xn=u_;function l_(e){return c_(e)||d_(e)||f_(e)||p_(e)?0:1}function c_(e){return Re(e).length===0}function d_(e){return e.length===1&&e.match(/\D/)}function f_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function p_(e){var t=xn(e,{emoji:true,nonBmp:true,punctuations:true});return !Re(t)}var Js=l_,ua={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 m_(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,u=t.qualifiers,l=u===void 0?[]:u,c=t.standaloneTerms,d=c===void 0?[]:c,h=t.qualifiedTerms,D=h===void 0?[]:h,S=t.ignoredValues,T=S===void 0?[]:S;if(e=e.toLowerCase().trim(),i=i.concat(ua.stateTerms),i.includes(e)||e==="")return true;l=l.concat(ua.qualifiers),s=s.concat(ua.locations),d=d.concat(ua.standaloneTerms),D=D.concat(ua.qualifiedTerms);var I=e.split(/\s+/g);if(I[I.length-1]==="webauthn"&&(I.pop(),I.length===0)||!a&&(I[0].length>8&&I[0].substr(0,8)==="section-"&&I.shift(),s.includes(I[0])&&I.shift(),l.includes(I[0])&&(I.shift(),d=[]),I.length!==1))return false;var L=I[I.length-1];if(!T.includes(L))return d.includes(L)||D.includes(L)}var gp=m_;function h_(e){var t,r;return e.attr("aria-labelledby")&&(t=gr(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=Ve(a);return n?br(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Re(r),r))?r:null}var Hi=h_;function g_(e,t,r){return e=Ve(e),br(e,t,r)}var vp=g_;function v_(e){var t,r,a;if(r=Hi(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=pt(e.attr("id"));if(a=Rt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&vp(t,true),r)return r}return t=jt(e,"label"),r=t&&br(t,true),r||null}var ji=v_;function b_(e){return e=Ve(e),ji(e)}var y_=b_,w_=[{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"]}],x_=w_;function bp(e){var t=$t(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(bp(a));}),r}var D_=bp,__=nt(function(t){var r=Ve(t),a=r.boundingClientRect,n=[],i=fn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Re(o.nodeValue)==="")){var s=A_(o);E_(s,a)||n.push.apply(n,Se(yp(s,i)));}}),n.length?n:yp([a],i)}),Zs=__;function A_(e){var t=g.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function E_(e,t){return e.some(function(r){var a=pn(r);return !Ri(a,t)})}function yp(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&&Ii(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function C_(e){var t=Pi(e);if(!t)return [];var r=Zs(e);return r.map(function(a){return Ns(t,a)})}var Qs=C_,S_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function k_(e){var t=Ge(e),r=t.vNode,a=m.commons.aria.getExplicitRole(r);if(a)return S_.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 eu=k_,T_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function $i(e){return T_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function wp(e,t,r){return $i(e)||eu(e.actualNode)||!r&&!!Hi(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&wp(a)})}var Dn=wp;function F_(e,t,r){return e=Ve(e),Dn(e,t,r)}var zi=F_;function tu(e){return typeof e.children>"u"||$i(e)?true:e.props.nodeType===1&&eu(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&tu(t)&&!jr(t)})}function R_(e){var t=wr(e.getAttribute("tabindex"));return t>-1&&bt(e)&&!qs(e)}var xp=R_;function Dp(e,t){var r=Ge(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=_p(n,t)),a._isHiddenWithCSS):_p(n,t)}function _p(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=p.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=St(e);return o&&!n.includes(i)?Dp(o,i):false}var I_=Dp;function L_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Ap=L_;function P_(e){var t;(e instanceof Ct||(t=p)!==null&&t!==void 0&&t.Node&&e instanceof p.Node)&&(e=m.commons.aria.getRole(e));var r=We.ariaRoles[e];return r?.type||null}var dr=P_,M_=["block","list-item","table","flex","grid"],O_=["inline-block","inline-flex","inline-grid"];function N_(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=Ge(e),o=i.vNode,s=i.domNode;if(au(s)||!n&&q_(o))return false;var u=B_(s),l="",c="",d=0;return Ep(u,function(h){if(h===u.actualNode)return true;if(d===2)return false;if(h.nodeType===3&&(l+=h.nodeValue),h.nodeType===1){var D=(h.nodeName||"").toUpperCase();h===s&&(d=1);var S=au(h);if((S||["BR","HR"].includes(D))&&(d===0?(l="",c=""):d=2),S||h.style.display==="none"||h.style.overflow==="hidden"||!["",null,"none"].includes(h.style.float)||!["",null,"relative"].includes(h.style.position))return false;if(dr(h)==="widget")return c+=h.textContent,false}}),l=Re(l),r?l.length!==0:(c=Re(c),l.length>c.length)}var ru=N_;function au(e){var t=Ge(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return M_.includes(a)||a.substr(0,6)==="table-"}function q_(e){var t=e.getComputedStylePropertyValue("display");return O_.includes(t)}function Ep(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Ep(r,t)});}function B_(e){for(var t=St(e);t&&!au(t);)t=St(t);return Ve(t)}function V_(e){e=e||{};var t=e.modalPercent||.75;if(Oe.get("isModalOpen"))return Oe.get("isModalOpen");var r=xr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",$t);if(r.length)return Oe.set("isModalOpen",true),true;for(var a=ki(p),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,u=[{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}],l=u.map(function(D){return Array.from(g.elementsFromPoint(D.x,D.y))}),c=function(){var S=l[h].find(function(T){var I=p.getComputedStyle(T);return parseInt(I.width,10)>=n&&parseInt(I.height,10)>=i&&I.getPropertyValue("pointer-events")!=="none"&&(I.position==="absolute"||I.position==="fixed")});if(S&&l.every(function(T){return T.includes(S)}))return Oe.set("isModalOpen",true),{v:true}},d,h=0;h<l.length;h++)if(d=c(),d)return d.v;Oe.set("isModalOpen",void 0);}var _n=V_;function Cp(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=et(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(u){i.e(u);}finally{i.f();}return false}function H_(e){return e instanceof p.Node}var j_=H_,nu="color.incompleteData",$_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Oe.get(nu,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Oe.get(nu);return r?.[t]},clear:function(){Oe.set(nu,{});}},it=$_;function z_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return it.set("bgColor","imgNode"),true;t=t||p.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);it.set("bgColor",o?"bgGradient":"bgImage");}return i}var Gi=z_,G_=/^#[0-9a-f]{3,8}$/i,U_=/hsl\(\s*([-\d.]+)(rad|turn)/,An=(Qe=new WeakMap,gt=new WeakMap,Ft=new WeakMap,Wt=new WeakMap,Et=new WeakMap,Mt=new WeakMap,Ba=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),fl(this,Ba),Ir(this,Qe,void 0),Ir(this,gt,void 0),Ir(this,Ft,void 0),Ir(this,Wt,void 0),Ir(this,Et,void 0),Ir(this,Mt,void 0),t instanceof An){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 ar(e,[{key:"r",get:function(){return tr(Qe,this)},set:function(r){Nt(Qe,this,r),Nt(Wt,this,Math.round(Sa(r,0,1)*255));}},{key:"g",get:function(){return tr(gt,this)},set:function(r){Nt(gt,this,r),Nt(Et,this,Math.round(Sa(r,0,1)*255));}},{key:"b",get:function(){return tr(Ft,this)},set:function(r){Nt(Ft,this,r),Nt(Mt,this,Math.round(Sa(r,0,1)*255));}},{key:"red",get:function(){return tr(Wt,this)},set:function(r){Nt(Qe,this,r/255),Nt(Wt,this,Sa(r,0,255));}},{key:"green",get:function(){return tr(Et,this)},set:function(r){Nt(gt,this,r/255),Nt(Et,this,Sa(r,0,255));}},{key:"blue",get:function(){return tr(Mt,this)},set:function(r){Nt(Ft,this,r/255),Nt(Mt,this,Sa(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(U_,function(i,o,s){var u=o+s;switch(s){case "rad":return i.replace(u,X_(o));case "turn":return i.replace(u,Y_(o))}});try{var a;"Prototype"in p&&"Version"in p.Prototype&&(a=Array.from,Array.from=vd.default);var n=new tt(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 it.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(G_)||[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 fa(Ba,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 An(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=me(i,3),s=o[0],u=o[1],l=o[2];return l.value>s.value?(u.value=(u.value-s.value)*r/(l.value-s.value),l.value=r):u.value=l.value=0,s.value=0,a[l.name]=l.value,a[s.name]=s.value,a[u.name]=u.value,a}},{key:"clip",value:function(){var r=new An(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 An(this);return t.r+=e,t.g+=e,t.b+=e,t}var ct=An;function Sa(e,t,r){return Math.min(Math.max(t,e),r)}function X_(e){return e*180/Math.PI}function Y_(e){return e*360}function K_(e){var t=new ct;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var la=K_;function J_(e){var t=p.getComputedStyle(e);return Gi(e,t)||la(t).alpha===1}var Z_=J_;function iu(e){if(!e.href)return false;var t=Oe.get("firstPageLink",Q_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Q_(){var e;return p.location.origin?e=Ut(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Ps(t.actualNode)}):e=Ut(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var e2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,t2=/(\w+)\((\d+)/;function r2(e){var t=e.getPropertyValue("clip").match(e2),r=e.getPropertyValue("clip-path").match(t2);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 a2(e,t,r){var a=_a(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Rt(e);if(!i||i.nodeType!==9)return false;var o=Ut(m._tree,'img[usemap="#'.concat(pt(n),'"]'));return !o||!o.length?false:o.some(function(s){var u=s.actualNode;return Ui(u,t,r)})}function Ui(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Ct?e:Ve(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=p.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,u=o.DOCUMENT_FRAGMENT_NODE,l=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(l===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&l===u&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return false}if(!e){var h=n.parent,D=true;return h&&(D=Ui(h,t,true)),n&&(n[i]=D),D}var S=p.getComputedStyle(e,null);if(S===null)return false;if(c==="area")return a2(e,t,r);if(S.getPropertyValue("display")==="none")return false;var T=parseInt(S.getPropertyValue("height")),I=parseInt(S.getPropertyValue("width")),L=Tr(e),P=L&&T===0,O=L&&I===0,N=S.getPropertyValue("position")==="absolute"&&(T<2||I<2)&&S.getPropertyValue("overflow")==="hidden";if(!t&&(r2(S)||S.getPropertyValue("opacity")==="0"||P||O||N)||!r&&(S.getPropertyValue("visibility")==="hidden"||!t&&Fi(e)))return false;var B=e.assignedSlot?e.assignedSlot:e.parentNode,U=false;return B&&(U=Ui(B,t,true)),n&&(n[i]=U),U}var n2=Ui;function i2(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=p.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var Sp=i2;function kp(e,t){var r=Tp(t);do{var a=Tp(e);if(a===r||a===t)return o2(e,t);e=a;}while(e);return false}function Tp(e){for(var t=Ve(e),r=t.parent;r;){if(Tr(r.actualNode))return r.actualNode;r=r.parent;}}function o2(e,t){var r=p.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 p.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 Fp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g,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 Rt(n)===r}).reduce(function(n,i){if(Si(i)){var o=Fp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&kp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var s2=Fp;function u2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=g.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=c2(i),s=o.pathname,u=o.filename;return {protocol:n,hostname:a.hostname,port:l2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:d2(a.search),hash:f2(a.hash),filename:u}}}function l2(e){var t=["443","80"];return t.includes(e)?"":e}function c2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function d2(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=me(i,2),s=o[0],u=o[1],l=u===void 0?"":u;t[decodeURIComponent(s)]=decodeURIComponent(l);}return t}function f2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=me(r,1),n=a[0];return n==="#"?"":e}var p2=u2;function m2(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=p.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof p.HTMLBodyElement||t instanceof p.HTMLHtmlElement:true}var ou=m2,Rp=0,h2=(function(e){function t(r,a,n){var i;if(rr(this,t),i=ke(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Rp=0),i.nodeIndex=Rp++,i._isHidden=null,i._cache={},i._isXHTML=rn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),ao().includes(o)||(o="text"),i._type=o;}return Oe.get("nodeMap")&&Oe.get("nodeMap").set(r,i),i}return wt(t,e),ar(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 p.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=p.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=bt(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Rf(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}}])})(Ct),su=h2;function g2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ot=g2,ca=" [idsMap]";function Ip(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(u){return Lp(u)}))return;var o=new Set;t.forEach(function(u){var l,c=v2(u,a,n);c==null||(l=c.nodes)===null||l===void 0||l.forEach(function(d){c.isComplexSelector&&!ba(d,u)||o.add(d);});});var s=[];return o.forEach(function(u){return s.push(u)}),r&&(s=s.filter(r)),s.sort(function(u,l){return u.nodeIndex-l.nodeIndex})}}function v2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Lp(a))n=t["*"];else {if(a.id){var o;if(!t[ca]||!Object.hasOwn(t[ca],a.id)||!((o=t[ca][a.id])!==null&&o!==void 0&&o.length))return;n=t[ca][a.id].filter(function(T){return T.shadowId===r});}if(a.tag&&a.tag!=="*"){var s;if(!((s=t[a.tag])!==null&&s!==void 0&&s.length))return;var u=t[a.tag];n=n?uu(u,n):u;}if(a.classes){var l;if(!((l=t["[class]"])!==null&&l!==void 0&&l.length))return;var c=t["[class]"];n=n?uu(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var h,D=a.attributes[d];if(D.type==="attrValue"&&(i=true),!((h=t["[".concat(D.key,"]")])!==null&&h!==void 0&&h.length))return;var S=t["[".concat(D.key,"]")];n=n?uu(S,n):S;}}return {nodes:n,isComplexSelector:i}}function Lp(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function uu(e,t){return e.filter(function(r){return t.includes(r)})}function Wi(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Pp(e,t){e.props.nodeType===1&&(Wi(e.props.nodeName,e,t),Wi("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[ca]=t[ca]||{},Ot(e.attr(r)).forEach(function(a){Wi(a,e,t[ca]);})),Wi("[".concat(r,"]"),e,t);}));}var lu;function cu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.documentElement,t=arguments.length>1?arguments[1]:void 0;lu=false;var r={};Oe.set("nodeMap",new WeakMap),Oe.set("selectorMap",r);var a=Mp(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=lu,a}function b2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function du(e,t,r){var a=new su(e,t,r);return Pp(a,Oe.get("selectorMap")),a}function Xi(e,t,r){var a=[];return e.forEach(function(n){var i=Mp(n,r,t);i&&a.push.apply(a,Se(i));}),a}function Mp(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Si(e))return lu=true,a=du(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=Xi(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),Xi(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=b2(e));p.getComputedStyle(e);return Xi(n,r,t)}if(e.nodeType===g.ELEMENT_NODE)return a=du(e,r,t),n=Array.from(e.childNodes),a.children=Xi(n,a,t),[a];if(e.nodeType===g.TEXT_NODE)return [du(e,r)]}function y2(e){return e?e.trim().split("-")[0].toLowerCase():""}var da=y2;function w2(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=m._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","\\":"\\",'"':'"'};}),Vv=M(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Gu();function r(a,n,i,o,s,l){var u=a.length,c="";function d(P,N){var q="";for(n++,c=a.charAt(n);n<u;){if(c===P)return n++,q;if(c==="\\"){n++,c=a.charAt(n);var B=void 0;if(c===P)q+=P;else if((B=N[c])!==void 0)q+=B;else if(t.isHex(c)){var W=c;for(n++,c=a.charAt(n);t.isHex(c);)W+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),q+=String.fromCharCode(parseInt(W,16));continue}else q+=c;}else q+=c;n++,c=a.charAt(n);}return q}function g(){var P="";for(c=a.charAt(n);n<u;){if(t.isIdent(c))P+=c;else if(c==="\\"){if(n++,n>=u)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])P+=c;else if(t.isHex(c)){var N=c;for(n++,c=a.charAt(n);t.isHex(c);)N+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),P+=String.fromCharCode(parseInt(N,16));continue}else P+=c;}else return P;n++,c=a.charAt(n);}return P}function D(){c=a.charAt(n);for(var P=false;c===" "||c===" "||c===`
|
|
363
|
+
`||c==="\r"||c==="\f";)P=true,n++,c=a.charAt(n);return P}function S(){var P=T();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return P}function T(){var P=I();if(!P)return null;var N=P;for(c=a.charAt(n);c===",";){if(n++,D(),N.type!=="selectors"&&(N={type:"selectors",selectors:[P]}),P=I(),!P)throw Error('Rule expected after ",".');N.selectors.push(P);}return N}function I(){D();var P={type:"ruleSet"},N=L();if(!N)return null;for(var q=P;N&&(N.type="rule",q.rule=N,q=N,D(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var B=c;if(n++,D(),N=L(),!N)throw Error('Rule expected after "'+B+'".');N.nestingOperator=B;}else N=L(),N&&(N.nestingOperator=null);return P}function L(){for(var P=null;n<u;)if(c=a.charAt(n),c==="*")n++,(P=P||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(P=P||{}).tagName=g();else if(c===".")n++,P=P||{},(P.classNames=P.classNames||[]).push(g());else if(c==="#")n++,(P=P||{}).id=g();else if(c==="["){n++,D();var N={name:g()};if(D(),c==="]")n++;else {var q="";if(o[c]&&(q=c,n++,c=a.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');N.operator=q+"=",n++,D();var B="";if(N.valueType="string",c==='"')B=d('"',t.doubleQuotesEscapeChars);else if(c==="'")B=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,B=g(),N.valueType="substitute";else {for(;n<u&&c!=="]";)B+=c,n++,c=a.charAt(n);B=B.trim();}if(D(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,N.value=B;}P=P||{},(P.attrs=P.attrs||[]).push(N);}else if(c===":"){n++;var W=g(),J={name:W};if(c==="("){n++;var ae="";if(D(),i[W]==="selector")J.valueType="selector",ae=T();else {if(J.valueType=i[W]||"string",c==='"')ae=d('"',t.doubleQuotesEscapeChars);else if(c==="'")ae=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,ae=g(),J.valueType="substitute";else {for(;n<u&&c!==")";)ae+=c,n++,c=a.charAt(n);ae=ae.trim();}D();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,J.value=ae;}P=P||{},(P.pseudos=P.pseudos||[]).push(J);}else break;return P}return S()}e.parseCssSelector=r;}),Hv=M(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Gu();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;}),jv=M(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Vv(),r=Hv(),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;}),$v=M(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":te(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{p.globalThis=(function(){if(typeof self<"u")return self;if(typeof p<"u")return p;if(typeof b<"u")return b;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(d){return l[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||n,function(c,d,g,D){return d.indexOf("def.")===0&&(d=d.substring(4)),d in u||(g===":"?(s.defineParams&&D.replace(s.defineParams,function(S,T,I){u[d]={arg:T,text:I};}),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,T,I){if(u[T]&&u[T].arg&&I){var L=(T+":"+I).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[L]=u[T].text.replace(new RegExp("(^|[^\\w$])"+u[T].arg+"([^\\w$])","g"),"$1"+I+"$2"),S+"def.__exp['"+L+"']"}}));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(T,I){return c.start+o(I)+c.end}).replace(l.encode||n,function(T,I){return d=true,c.startencode+o(I)+c.end}).replace(l.conditional||n,function(T,I,L){return I?L?"';}else if("+o(L)+"){out+='":"';}else{out+='":L?"';if("+o(L)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(T,I,L,P){return I?(g+=1,D=P||"i"+g,I=o(I),"';var arr"+g+"="+I+";if(arr"+g+"){var "+L+","+D+"=-1,l"+g+"=arr"+g+".length-1;while("+D+"<l"+g+"){"+L+"=arr"+g+"["+D+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(T,I){return "';"+o(I)+"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(T){throw typeof console<"u"&&console.log("Could not create a template function: "+S),T}},r.compile=function(s,l){return r.template(s,null,l)};})();}),zv=M(function(e,t){t.exports=function(){};}),Qr=M(function(e,t){var r=zv()();t.exports=function(a){return a!==r&&a!==null};}),Wu=M(function(e,t){var r=Qr(),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};}),Gv=M(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Wv=M(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Uv=M(function(e,t){t.exports=Gv()()?Math.sign:Wv();}),Xv=M(function(e,t){var r=Uv(),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)))};}),ea=M(function(e,t){var r=Xv(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Uu=M(function(e,t){var r=ea();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)};}),Or=M(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),ma=M(function(e,t){var r=Qr();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),Yv=M(function(e,t){var r=Or(),a=ma(),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(T,I){return s.call(c,T)?i.call(d,D,c[T],T,c,I):u})}};}),Jn=M(function(e,t){t.exports=Yv()("forEach");}),ta=M(function(){}),Kv=M(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")};}),Jv=M(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Zv=M(function(e,t){var r=Qr(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Qv=M(function(e,t){t.exports=Jv()()?Object.keys:Zv();}),eb=M(function(e,t){var r=Qv(),a=ma(),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};}),Xu=M(function(e,t){t.exports=Kv()()?Object.assign:eb();}),tb=M(function(e,t){var r=Qr(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[te(n)]||false};}),rb=M(function(e,t){var r=Xu(),a=tb(),n=Qr(),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};}),Yu=M(function(e,t){var r=ma(),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};}),Ku=M(function(e,t){var r=ea(),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=Yu(),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});}),Ju=M(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),ab=M(function(e,t){var r=Ju(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,te(n)):false};}),nb=M(function(e,t){var r=ab();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),ib=M(function(e,t){var r=nb();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)};}),ob=M(function(e,t){var r=ib(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),sb=M(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),lb=M(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),ub=M(function(e,t){t.exports=sb()()?String.prototype.contains:lb();}),ra=M(function(e,t){var r=Ju(),a=ob(),n=Xu(),i=Wu(),o=ub(),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};}),cb=M(function(e,t){var r=ra(),a=Or(),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,T,I,L;d=function(N,q){var B;return a(q),u.call(this,"__ee__")?B=this.__ee__:(B=c.value=o(null),s(this,"__ee__",c),c.value=null),B[N]?te(B[N])==="object"?B[N].push(q):B[N]=[B[N],q]:B[N]=q,this},g=function(N,q){var B,W;return a(q),W=this,d.call(this,N,B=function(){D.call(W,N,B),n.call(q,this,arguments);}),B.__eeOnceListener__=q,this},D=function(N,q){var B,W,J,ae;if(a(q),!u.call(this,"__ee__"))return this;if(B=this.__ee__,!B[N])return this;if(W=B[N],te(W)==="object")for(ae=0;J=W[ae];++ae)(J===q||J.__eeOnceListener__===q)&&(W.length===2?B[N]=W[ae?0:1]:W.splice(ae,1));else (W===q||W.__eeOnceListener__===q)&&delete B[N];return this},S=function(N){var q,B,W,J,ae;if(u.call(this,"__ee__")&&(J=this.__ee__[N],!!J))if(te(J)==="object"){for(B=arguments.length,ae=new Array(B-1),q=1;q<B;++q)ae[q-1]=arguments[q];for(J=J.slice(),q=0;W=J[q];++q)n.call(W,this,ae);}else switch(arguments.length){case 1:i.call(J,this);break;case 2:i.call(J,this,arguments[1]);break;case 3:i.call(J,this,arguments[1],arguments[2]);break;default:for(B=arguments.length,ae=new Array(B-1),q=1;q<B;++q)ae[q-1]=arguments[q];n.call(J,this,ae);}},T={on:d,once:g,off:D,emit:S},I={on:r(d),once:r(g),off:r(D),emit:r(S)},L=l({},I),t.exports=e=function(N){return N==null?o(L):l(Object(N),I)},e.methods=T;}),db=M(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"))};}),fb=M(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":te(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),pb=M(function(e,t){var r=function(){if((typeof self>"u"?"undefined":te(self))==="object"&&self)return self;if((typeof p>"u"?"undefined":te(p))==="object"&&p)return p;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__;}})();}),Zn=M(function(e,t){t.exports=fb()()?globalThis:pb();}),mb=M(function(e,t){var r=Zn(),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[te(n.iterator)]||!a[te(n.toPrimitive)]||!a[te(n.toStringTag)])};}),hb=M(function(e,t){t.exports=function(r){return r?te(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Zu=M(function(e,t){var r=hb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),gb=M(function(e,t){var r=ra(),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};}),vb=M(function(e,t){var r=ra(),a=Zn().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"))})};}),bb=M(function(e,t){var r=ra(),a=Zu(),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})})};}),yb=M(function(e,t){var r=ra(),a=Zu(),n=Zn().Symbol,i=gb(),o=vb(),s=bb(),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(T){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return d(T)},t.exports=d=function S(T){var I;if(this instanceof S)throw new TypeError("Symbol is not a constructor");return D?n(T):(I=l(g.prototype),T=T===void 0?"":String(T),u(I,{__description__:r("",T),__name__:r("",i(T))}))},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 te(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]));}),wb=M(function(e,t){t.exports=mb()()?Zn().Symbol:yb();}),xb=M(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),Db=M(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))};}),_b=M(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&te(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),Ab=M(function(e,t){var r=wb().iterator,a=xb(),n=Db(),i=ea(),o=Or(),s=ma(),l=Qr(),u=_b(),c=Array.isArray,d=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},D=Object.defineProperty;t.exports=function(S){var T=arguments[1],I=arguments[2],L,P,N,q,B,W,J,ae,pe,Z;if(S=Object(s(S)),l(T)&&o(T),!this||this===Array||!n(this)){if(!T){if(a(S))return B=S.length,B!==1?Array.apply(null,S):(q=new Array(1),q[0]=S[0],q);if(c(S)){for(q=new Array(B=S.length),P=0;P<B;++P)q[P]=S[P];return q}}q=[];}else L=this;if(!c(S)){if((pe=S[r])!==void 0){for(J=o(pe).call(S),L&&(q=new L),ae=J.next(),P=0;!ae.done;)Z=T?d.call(T,I,ae.value,P):ae.value,L?(g.value=Z,D(q,P,g)):q[P]=Z,ae=J.next(),++P;B=P;}else if(u(S)){for(B=S.length,L&&(q=new L),P=0,N=0;P<B;++P)Z=S[P],P+1<B&&(W=Z.charCodeAt(0),W>=55296&&W<=56319&&(Z+=S[++P])),Z=T?d.call(T,I,Z,N):Z,L?(g.value=Z,D(q,N,g)):q[N]=Z,++N;B=N;}}if(B===void 0)for(B=i(S.length),L&&(q=new L(B)),P=0;P<B;++P)Z=T?d.call(T,I,S[P],P):S[P],L?(g.value=Z,D(q,P,g)):q[P]=Z;return L&&(g.value=null,q.length=B),q};}),Io=M(function(e,t){t.exports=db()()?Array.from:Ab();}),Eb=M(function(e,t){var r=Io(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),Cb=M(function(e,t){var r=Eb(),a=Qr(),n=Or(),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)};}),Sb=M(function(e,t){var r=Or();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))};}),kb=M(function(e,t){var r=rb(),a=Ku(),n=ra(),i=cb().methods,o=Cb(),s=Sb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,g=i.on,D=i.emit;t.exports=function(S,T,I){var L=c(null),P,N,q,B,W,J,ae,pe,Z,oe,de,me,Ce,Pe,we;return T!==false?N=T:isNaN(S.length)?N=1:N=S.length,I.normalizer&&(oe=s(I.normalizer),q=oe.get,B=oe.set,W=oe.delete,J=oe.clear),I.resolvers!=null&&(we=o(I.resolvers)),q?Pe=a(function(Te){var le,_e,j=arguments;if(we&&(j=we(j)),le=q(j),le!==null&&hasOwnProperty.call(L,le))return de&&P.emit("get",le,j,this),L[le];if(j.length===1?_e=u.call(S,this,j[0]):_e=l.call(S,this,j),le===null){if(le=q(j),le!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");le=B(j);}else if(hasOwnProperty.call(L,le))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[le]=_e,me&&P.emit("set",le,null,_e),_e},N):T===0?Pe=function(){var le;if(hasOwnProperty.call(L,"data"))return de&&P.emit("get","data",arguments,this),L.data;if(arguments.length?le=l.call(S,this,arguments):le=u.call(S,this),hasOwnProperty.call(L,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return L.data=le,me&&P.emit("set","data",null,le),le}:Pe=function(le){var _e,j=arguments,ge;if(we&&(j=we(arguments)),ge=String(j[0]),hasOwnProperty.call(L,ge))return de&&P.emit("get",ge,j,this),L[ge];if(j.length===1?_e=u.call(S,this,j[0]):_e=l.call(S,this,j),hasOwnProperty.call(L,ge))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[ge]=_e,me&&P.emit("set",ge,null,_e),_e},P={original:S,memoized:Pe,profileName:I.profileName,get:function(le){return we&&(le=we(le)),q?q(le):String(le[0])},has:function(le){return hasOwnProperty.call(L,le)},delete:function(le){var _e;hasOwnProperty.call(L,le)&&(W&&W(le),_e=L[le],delete L[le],Ce&&P.emit("delete",le,_e));},clear:function(){var le=L;J&&J(),L=c(null),P.emit("clear",le);},on:function(le,_e){return le==="get"?de=true:le==="set"?me=true:le==="delete"&&(Ce=true),g.call(this,le,_e)},emit:D,updateEnv:function(){S=P.original;}},q?ae=a(function(Te){var le,_e=arguments;we&&(_e=we(_e)),le=q(_e),le!==null&&P.delete(le);},N):T===0?ae=function(){return P.delete("data")}:ae=function(le){return we&&(le=we(arguments)[0]),P.delete(le)},pe=a(function(){var Te,le=arguments;return T===0?L.data:(we&&(le=we(le)),q?Te=q(le):Te=String(le[0]),L[Te])}),Z=a(function(){var Te,le=arguments;return T===0?P.has("data"):(we&&(le=we(le)),q?Te=q(le):Te=String(le[0]),Te===null?false:P.has(Te))}),d(Pe,{__memoized__:n(true),delete:n(ae),clear:n(P.clear),_get:n(pe),_has:n(Z)}),P};}),Tb=M(function(e,t){var r=Or(),a=Jn(),n=ta(),i=kb(),o=Uu();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)};}),Fb=M(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};}),Rb=M(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 ""}};}),Ib=M(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Lb=M(function(e,t){t.exports=function(r){return r!==r};}),Pb=M(function(e,t){t.exports=Ib()()?Number.isNaN:Lb();}),Lo=M(function(e,t){var r=Pb(),a=ea(),n=ma(),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};}),Mb=M(function(e,t){var r=Lo(),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);}}};}),Ob=M(function(e,t){var r=Lo();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=[];}}};}),Nb=M(function(e,t){var r=Lo(),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);}}};}),Qu=M(function(e,t){var r=Or(),a=Jn(),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};}),Po=M(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=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":te(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof h>"u"?"undefined":te(h))==="object"&&h){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":te(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),qb=M(function(){var e=Io(),t=Qu(),r=Yu(),a=Ku(),n=Po(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;ta().async=function(l,u){var c=s(null),d=s(null),g=u.memoized,D=u.original,S,T,I;u.memoized=a(function(L){var P=arguments,N=P[P.length-1];return typeof N=="function"&&(S=N,P=i.call(P,0,-1)),g.apply(T=this,I=P)},g);try{r(u.memoized,g);}catch{}u.on("get",function(L){var P,N,q;if(S){if(c[L]){typeof c[L]=="function"?c[L]=[c[L],S]:c[L].push(S),S=null;return}P=S,N=T,q=I,S=T=I=null,n(function(){var B;hasOwnProperty.call(d,L)?(B=d[L],u.emit("getasync",L,q,N),o.call(P,B.context,B.args)):(S=P,T=N,I=q,g.apply(N,q));});}}),u.original=function(){var L,P,N,q;return S?(L=e(arguments),P=function B(W){var J,ae,pe=B.id;if(pe==null){n(o.bind(B,this,arguments));return}if(delete B.id,J=c[pe],delete c[pe],!!J)return ae=e(arguments),u.has(pe)&&(W?u.delete(pe):(d[pe]={context:this,args:ae},u.emit("setasync",pe,typeof J=="function"?1:J.length))),typeof J=="function"?q=o.call(J,this,ae):J.forEach(function(Z){q=o.call(Z,this,ae);},this),q},N=S,S=T=I=null,L.push(P),q=o.call(D,this,L),P.cb=N,S=P,q):o.call(D,this,arguments)},u.on("set",function(L){if(!S){u.delete(L);return}c[L]?typeof c[L]=="function"?c[L]=[c[L],S.cb]:c[L].push(S.cb):c[L]=S.cb,delete S.cb,S.id=L,S=null;}),u.on("delete",function(L){var P;hasOwnProperty.call(c,L)||d[L]&&(P=d[L],delete d[L],u.emit("deleteasync",L,i.call(P.args,1)));}),u.on("clear",function(){var L=d;d=s(null),u.emit("clearasync",t(L,function(P){return i.call(P.args,1)}));});};}),Bb=M(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};}),ec=M(function(e,t){t.exports=function(r){return typeof r=="function"};}),Vb=M(function(e,t){var r=ec();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Hb=M(function(e,t){var r=ma(),a=Vb();t.exports=function(n){return a(r(n))};}),jb=M(function(e,t){var r=ec();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),$b=M(function(e,t){var r=jb(),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};}),tc=M(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(te(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),zb=M(function(){var e=Qu(),t=Bb(),r=Hb(),a=$b(),n=tc(),i=Po(),o=Object.create,s=t("then","then:finally","done","done:finally");ta().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,T){var I=false;if(!n(T)){d[D]=T,u.emit("setasync",D,1);return}c[D]=1,g[D]=T;var L=function(W){var J=c[D];if(I)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.`);J&&(delete c[D],d[D]=W,u.emit("setasync",D,J));},P=function(){I=true,c[D]&&(delete c[D],delete g[D],u.delete(D));},N=l;if(N||(N="then"),N==="then"){var q=function(){i(P);};T=T.then(function(B){i(L.bind(this,B));},q),typeof T.finally=="function"&&T.finally(q);}else if(N==="done"){if(typeof T.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");T.done(L,P);}else if(N==="done:finally"){if(typeof T.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof T.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");T.done(L),T.finally(P);}}),u.on("get",function(D,S,T){var I;if(c[D]){++c[D];return}I=g[D];var L=function(){u.emit("getasync",D,S,T);};n(I)?typeof I.done=="function"?I.done(L):I.then(function(){i(L);}):L();}),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]}));});};}),Gb=M(function(){var e=Or(),t=Jn(),r=ta(),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);});});};}),Wb=M(function(e,t){t.exports=2147483647;}),Ub=M(function(e,t){var r=ea(),a=Wb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),Xb=M(function(){var e=Io(),t=Jn(),r=Po(),a=tc(),n=Ub(),i=ta(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,d,g){var D,S,T,I;c=n(c),c&&(D=u(null),S=g.async&&i.async||g.promise&&i.promise?"async":"",d.on("set"+S,function(L){D[L]=setTimeout(function(){d.delete(L);},c),typeof D[L].unref=="function"&&D[L].unref(),I&&(I[L]&&I[L]!=="nextTick"&&clearTimeout(I[L]),I[L]=setTimeout(function(){delete I[L];},T),typeof I[L].unref=="function"&&I[L].unref());}),d.on("delete"+S,function(L){clearTimeout(D[L]),delete D[L],I&&(I[L]!=="nextTick"&&clearTimeout(I[L]),delete I[L]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?T=.333:T=s(l(Number(g.preFetch),1),0),T&&(I={},T=(1-T)*c,d.on("get"+S,function(L,P,N){I[L]||(I[L]="nextTick",r(function(){var q;I[L]==="nextTick"&&(delete I[L],d.delete(L),g.async&&(P=e(P),P.push(o)),q=d.memoized.apply(N,P),g.promise&&a(q)&&(typeof q.done=="function"?q.done(o,o):q.then(o,o)));}));}))),d.on("clear"+S,function(){t(D,function(L){clearTimeout(L);}),D={},I&&(t(I,function(L){L!=="nextTick"&&clearTimeout(L);}),I={});}));};}),Yb=M(function(e,t){var r=ea(),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],T=++c;if(l[T]=D,u[D]=T,!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;}}};}),Kb=M(function(){var e=ea(),t=Yb(),r=ta();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));};}),Jb=M(function(){var e=ra(),t=ta(),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]})});};}),Zb=M(function(e,t){var r=Wu(),a=Uu(),n=Tb();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=Fb():s>1&&(o.normalizer=Rb()(s)):s===false?o.normalizer=Mb()():s===1?o.normalizer=Ob()():o.normalizer=Nb()(s))),o.async&&qb(),o.promise&&zb(),o.dispose&&Gb(),o.maxAge&&Xb(),o.max&&Kb(),o.refCounter&&Jb(),n(i,o)};}),Qb=[{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"}],sr={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"])};Qb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;sr[t]=r,sr[t+"_PRIO"]=a,sr[t+"_GROUP"]=n,sr.results[a]=r,sr.resultGroups[a]=n,sr.resultGroupMap[r]=n;}),Object.freeze(sr.results),Object.freeze(sr.resultGroups),Object.freeze(sr.resultGroupMap),Object.freeze(sr);var qe=sr;function ey(){(typeof console>"u"?"undefined":te(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var aa=ey,ty=/[\t\r\n\f]/g,ry=(function(){function e(){rr(this,e),this.parent=void 0;}return ar(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(ty," ").indexOf(n)>=0}}])})(),Et=ry,Mo={};nr(Mo,{DqElement:function(){return Zt},RuleError:function(){return ao},aggregate:function(){return Qn},aggregateChecks:function(){return nc},aggregateNodeResults:function(){return ic},aggregateResult:function(){return oc},areStylesSet:function(){return uy},assert:function(){return Ue},checkHelper:function(){return us},clone:function(){return Er},closest:function(){return jt},collectResultsFromFrames:function(){return Yd},contains:function(){return Cr},convertSelector:function(){return xi},cssParser:function(){return Td},deepMerge:function(){return Ds},escapeSelector:function(){return ft},extendMetaData:function(){return _s},filterHtmlAttrs:function(){return dm},finalizeRuleResult:function(){return za},findBy:function(){return cn},getAllChecks:function(){return Ci},getAncestry:function(){return wi},getBaseLang:function(){return da},getCheckMessage:function(){return k2},getCheckOption:function(){return Ji},getElementSource:function(){return Sd},getEnvironmentData:function(){return Xr},getFlattenedTree:function(){return dl},getFrameContexts:function(){return G2},getFriendlyUriEnd:function(){return uc},getNodeAttributes:function(){return Ua},getNodeFromTree:function(){return Ve},getPreloadConfig:function(){return sm},getRootNode:function(){return dn},getRule:function(){return Gp},getScroll:function(){return Tr},getScrollState:function(){return X2},getSelector:function(){return ss},getSelectorData:function(){return yi},getShadowSelector:function(){return ns},getStandards:function(){return Y2},getStyleSheetFactory:function(){return Xp},getXpath:function(){return Cd},injectStyle:function(){return Z2},isArrayLike:function(){return gl},isContextObject:function(){return vl},isContextProp:function(){return Qi},isContextSpec:function(){return Yp},isHidden:function(){return Q2},isHtmlElement:function(){return yl},isLabelledFramesSelector:function(){return bl},isLabelledShadowDomSelector:function(){return eo},isNodeInContext:function(){return wl},isShadowRoot:function(){return ki},isValidLang:function(){return io},isXHTML:function(){return rn},matchAncestry:function(){return xl},matches:function(){return ds},matchesExpression:function(){return ba},matchesSelector:function(){return ha},memoize:function(){return it},mergeResults:function(){return Si},nodeLookup:function(){return We},nodeSerializer:function(){return Qt},nodeSorter:function(){return Dl},objectHasOwn:function(){return yr},parseCrossOriginStylesheet:function(){return Al},parseSameOriginStylesheet:function(){return Zp},parseStylesheet:function(){return _l},parseTabindex:function(){return wr},performanceTimer:function(){return Ye},pollyfillElementsFromPoint:function(){return Qp},preload:function(){return im},preloadCssom:function(){return tm},preloadMedia:function(){return nm},processMessage:function(){return hl},publishMetaData:function(){return to},querySelectorAll:function(){return Wt},querySelectorAllFilter:function(){return xr},queue:function(){return hr},respondable:function(){return cr},ruleShouldRun:function(){return cm},select:function(){return El},sendCommandToFrame:function(){return Gd},serializeError:function(){return ro},setScrollState:function(){return IA},shadowSelect:function(){return LA},shadowSelectAll:function(){return Cl},shouldPreload:function(){return om},toArray:function(){return lc},tokenList:function(){return Ot},uniqueArray:function(){return Cn},uuid:function(){return Nw},validInputTypes:function(){return no},validLangs:function(){return gm}});function ay(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 Qn=ay,ny=qe.CANTTELL_PRIO,iy=qe.FAIL_PRIO,ei=[];ei[qe.PASS_PRIO]=true,ei[qe.CANTTELL_PRIO]=null,ei[qe.FAIL_PRIO]=false;var rc=["any","all","none"];function ac(e,t){return rc.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function oy(e){var t=Object.assign({},e);ac(t,function(n,i){var o=typeof n.result>"u"?-1:ei.indexOf(n.result);n.priority=o!==-1?o:qe.CANTTELL_PRIO,i==="none"&&(n.priority===qe.PASS_PRIO?n.priority=qe.FAIL_PRIO:n.priority===qe.FAIL_PRIO&&(n.priority=qe.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 rc.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)});}),[ny,iy].includes(t.priority)?t.impact=Qn(qe.impact,a):t.impact=null,ac(t,function(n){delete n.result,delete n.priority;}),t.result=qe.results[t.priority],delete t.priority,t}var nc=oy;function za(e){var t=m._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,ic(e.nodes)),delete e.nodes,e}function sy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return nc(i);if(Array.isArray(i.node))return za(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Qn(qe.results,r,t.result);}else t.result="inapplicable";qe.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=qe.resultGroupMap[i.result];t[o].push(i);});var a=qe.FAIL_GROUP;if(t[a].length===0&&(a=qe.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Qn(qe.impact,n)||null;}else t.impact=null;return t}var ic=sy;function Oo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),qe.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function ly(e){var t={};return qe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Oo(t,r,qe.CANTTELL_GROUP):r.result===qe.NA?Oo(t,r,qe.NA_GROUP):qe.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Oo(t,r,a);});}),t}var oc=ly;function sc(e,t,r){var a=p.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:sc(e.parentNode,t,r)}var uy=sc;function cy(e,t){if(!e)throw new Error(t)}var Ue=cy;function dy(e){return Array.prototype.slice.call(e)}var lc=dy;function fy(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 ft=fy;function py(){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 Ga(e,t){return [e.substring(0,t),e.substring(t)]}function Wa(e){return e.replace(/\s+$/,"")}function my(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=Ga(e,e.indexOf("#")),u=he(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=Ga(e,e.indexOf("?")),d=he(c,2);e=d[0],o=d[1];}if(e.includes("://")){var g=e.split("://"),D=he(g,2);r=D[0],e=D[1];var S=Ga(e,e.indexOf("/")),T=he(S,2);a=T[0],e=T[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var I=Ga(e,e.indexOf("/")),L=he(I,2);a=L[0],e=L[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var P=Ga(a,a.indexOf(":")),N=he(P,2);a=N[0],n=N[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function hy(){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=my(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?Wa(u+l):u.length<2&&l.length>2&&l.length<=n?Wa(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return Wa(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})?/)&&!py(u))return Wa(u)}}var uc=hy;function gy(e){return e.attributes instanceof p.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Ua=gy,vy=(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}})(),ha=vy,cc={};nr(cc,{ArrayFrom:function(){return wd.default},Colorjs:function(){return rt},CssSelectorParser:function(){return dc.CssSelectorParser},doT:function(){return Nr.default},emojiRegexText:function(){return No},memoize:function(){return fc.default}});var by=fr(Ng()),yy=fr(qg());fr(Bg());var wy=fr(Qg()),xy=fr(cv()),Dy=fr(zu());"hasOwn"in Object||(Object.hasOwn=wy.default),"values"in Object||(Object.values=xy.default),"Promise"in p||by.default.polyfill(),"Uint32Array"in p||(p.Uint32Array=yy.Uint32Array),p.Uint32Array&&("some"in p.Uint32Array.prototype||Object.defineProperty(p.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in p.Uint32Array.prototype||Object.defineProperty(p.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=Dy.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}),p.Node&&!("isConnected"in p.Node.prototype)&&Object.defineProperty(p.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var dc=fr(jv()),Nr=fr($v()),No=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},fc=fr(Zb());function vt(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=tt(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 Xa(e){return qr(e)==="string"}function qr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ti(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 pc(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 mc(e){return e[e.length-1]}function ri(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function hc(e,t,r){return (r-e)/(t-e)}function qo(e,t,r){return ri(t[0],t[1],hc(e[0],e[1],r))}function gc(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 _y=Object.freeze({__proto__:null,isString:Xa,type:qr,toPrecision:ti,parseFunction:pc,last:mc,interpolate:ri,interpolateInv:hc,mapRange:qo,parseCoordGrammar:gc,multiplyMatrices:vt}),Ay=(function(){function e(){rr(this,e);}return ar(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);});}}])})(),Br=new Ay,mr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},lr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Bo(e){return Array.isArray(e)?e:lr[e]}function ai(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Bo(e),t=Bo(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(Br.run("chromatic-adaptation-start",n),n.M||(n.W1===lr.D65&&n.W2===lr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===lr.D50&&n.W2===lr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Br.run("chromatic-adaptation-end",n),n.M)return vt(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ey=75e-6,ur=(G=new WeakSet,K=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;rr(this,e),hu(this,G),Pr(this,K,void 0),this.id=t.id,this.name=t.name,this.base=t.base?ur.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=Bo(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,Nt(K,this,fa(G,this,Cy).call(this).reverse()),Br.run("colorspace-init-end",this);}return ar(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?Ey: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=he(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(te(r)==="object")return r=fa(G,this,vc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=fa(G,this,vc).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=ur.get(r),this===r)return a;a=a.map(function(g){return Number.isNaN(g)?0:g});for(var i=tr(K,this),o=tr(K,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=ur.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 Ee(new Set(Object.values(ur.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=tt(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 ur)return r;var a=qr(r);if(a==="string"){var n=ur.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 ur.get.apply(ur,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=qr(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),l=he(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=he(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=ur.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=qr(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Me({space:i,id:c[0],index:o},c[1])}i=ur.get(i);var d=o.toLowerCase(),g=0;for(var D in i.coords){var S,T=i.coords[D];if(D.toLowerCase()===d||((S=T.name)===null||S===void 0?void 0:S.toLowerCase())===d)return Me({space:i,id:D,index:g},T);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function vc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=gc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=he(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=qo(s,l,n)),n=ti(n,a),u&&(n+=u),n})};}return e}function Cy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ke=ur;xu(ke,"registry",{}),xu(ke,"DEFAULT_FORMAT",{type:"functions",name:"color"});var Yt=new ke({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"]}),Bt=(function(e){function t(r){var a,n;if(rr(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=Yt),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=vt(r.toXYZ_M,s);return n.white!==n.base.white&&(l=ai(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=ai(n.base.white,n.white,s),vt(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=Re(this,t,[r])}return ht(t,e),ar(t)})(ke);function bc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Br.run("parse-start",r),r.color)return r.color;if(r.parsed=pc(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=tt(ke.all),s;try{var l=function(){var pe=s.value,Z=pe.getFormat("color");if(Z){var oe;if(n===Z.id||(oe=Z.ids)!==null&&oe!==void 0&&oe.includes(n)){var de=Object.keys(pe.coords).length,me=Array(de).fill(0);return me.forEach(function(Ce,Pe){return me[Pe]=r.parsed.args[Pe]||0}),{v:{spaceId:pe.id,coords:me,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(ae){o.e(ae);}finally{o.f();}var c="";if(n in ke.registry){var d,g=(d=ke.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=tt(ke.all),S;try{var T=function(){var pe=S.value,Z=pe.getFormat(a);if(Z&&Z.type==="function"){var oe=1;(Z.lastAlpha||mc(r.parsed.args).alpha)&&(oe=r.parsed.args.pop());var de=r.parsed.args;return Z.coordGrammar&&Object.entries(pe.coords).forEach(function(me,Ce){var Pe,we=he(me,2),Te=we[0],le=we[1],_e=Z.coordGrammar[Ce],j=(Pe=de[Ce])===null||Pe===void 0?void 0:Pe.type;if(_e=_e.find(function(Le){return Le==j}),!_e){var ge=le.name||Te;throw new TypeError("".concat(j," not allowed for ").concat(ge," in ").concat(a,"()"))}var ie=_e.range;j==="<percentage>"&&(ie||(ie=[0,1]));var ve=le.range||le.refRange;ie&&ve&&(de[Ce]=qo(ie,ve,de[Ce]));}),{v:{spaceId:pe.id,coords:de,alpha:oe}}}},I;for(D.s();!(S=D.n()).done;)if(I=T(),I)return I.v}catch(ae){D.e(ae);}finally{D.f();}}}else {var L=tt(ke.all),P;try{for(L.s();!(P=L.n()).done;){var N=P.value;for(var q in N.formats){var B=N.formats[q];if(B.type==="custom"&&!(B.test&&!B.test(r.str))){var W=B.parse(r.str);if(W){var J;return (J=W.alpha)!==null&&J!==void 0||(W.alpha=1),W}}}}}catch(ae){L.e(ae);}finally{L.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function Ke(e){if(!e)throw new TypeError("Empty color reference");Xa(e)&&(e=bc(e));var t=e.space||e.spaceId;return t instanceof ke||(e.space=ke.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Ya(e,t){return t=ke.get(t),t.from(e)}function Kt(e,t){var r=ke.resolveCoord(t,e.space),a=r.space,n=r.index,i=Ya(e,a);return i[n]}function yc(e,t,r){return t=ke.get(t),e.coords=t.to(e.space,r),e}function Vr(e,t,r){if(e=Ke(e),arguments.length===2&&qr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Vr(e,n,a[n]);}else {typeof r=="function"&&(r=r(Kt(e,t)));var i=ke.resolveCoord(t,e.space),o=i.space,s=i.index,l=Ya(e,o);l[s]=r,yc(e,o,l);}return e}var Vo=new ke({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Yt,fromBase:function(t){return ai(Yt.white,"D50",t)},toBase:function(t){return ai("D50",Yt.white,t)},formats:{color:{}}}),Sy=216/24389,wc=24/116,ni=24389/27,Ho=lr.D50,Ht=new ke({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ho,base:Vo,fromBase:function(t){var r=t.map(function(n,i){return n/Ho[i]}),a=r.map(function(n){return n>Sy?Math.cbrt(n):(ni*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]>wc?Math.pow(r[0],3):(116*r[0]-16)/ni,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/ni,r[2]>wc?Math.pow(r[2],3):(116*r[2]-16)/ni];return a.map(function(n,i){return n*Ho[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function ii(e){return (e%360+360)%360}function ky(e,t){if(e==="raw")return t;var r=t.map(ii),a=he(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 Ka=new ke({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:Ht,fromBase:function(t){var r=he(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)),ii(o)]},toBase:function(t){var r=he(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>"]}}}),xc=Math.pow(25,7),oi=Math.PI,Dc=180/oi,ga=oi/180;function jo(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=Ht.from(e),c=he(u,3),d=c[0],g=c[1],D=c[2],S=Ka.from(Ht,[d,g,D])[1],T=Ht.from(t),I=he(T,3),L=I[0],P=I[1],N=I[2],q=Ka.from(Ht,[L,P,N])[1];S<0&&(S=0),q<0&&(q=0);var B=(S+q)/2,W=Math.pow(B,7),J=.5*(1-Math.sqrt(W/(W+xc))),ae=(1+J)*g,pe=(1+J)*P,Z=Math.sqrt(Math.pow(ae,2)+Math.pow(D,2)),oe=Math.sqrt(Math.pow(pe,2)+Math.pow(N,2)),de=ae===0&&D===0?0:Math.atan2(D,ae),me=pe===0&&N===0?0:Math.atan2(N,pe);de<0&&(de+=2*oi),me<0&&(me+=2*oi),de*=Dc,me*=Dc;var Ce=L-d,Pe=oe-Z,we=me-de,Te=de+me,le=Math.abs(we),_e;Z*oe===0?_e=0:le<=180?_e=we:we>180?_e=we-360:we<-180?_e=we+360:console.log("the unthinkable has happened");var j=2*Math.sqrt(oe*Z)*Math.sin(_e*ga/2),ge=(d+L)/2,ie=(Z+oe)/2,ve=Math.pow(ie,7),Le;Z*oe===0?Le=Te:le<=180?Le=Te/2:Te<360?Le=(Te+360)/2:Le=(Te-360)/2;var ye=Math.pow(ge-50,2),De=1+.015*ye/Math.sqrt(20+ye),ze=1+.045*ie,Je=1;Je-=.17*Math.cos((Le-30)*ga),Je+=.24*Math.cos(2*Le*ga),Je+=.32*Math.cos((3*Le+6)*ga),Je-=.2*Math.cos((4*Le-63)*ga);var at=1+.015*ie*Je,pt=30*Math.exp(-1*Math.pow((Le-275)/25,2)),xt=2*Math.sqrt(ve/(ve+xc)),yt=-1*Math.sin(2*pt*ga)*xt,st=Math.pow(Ce/(n*De),2);return st+=Math.pow(Pe/(o*ze),2),st+=Math.pow(j/(l*at),2),st+=yt*(Pe/(o*ze))*(j/(l*at)),Math.sqrt(st)}var Ty=75e-6;function Ja(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?Ty:a;e=Ke(e),t=ke.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function Za(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Hr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?mr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(Xa(arguments[1])&&(i=arguments[1]),i=ke.get(i),Ja(e,i,{epsilon:0}))return e;var o=Jt(e,i);if(a!=="clip"&&!Ja(e,i)){var s=Hr(Za(o),{method:"clip",space:i});if(jo(e,s)>2){for(var l=ke.resolveCoord(a),u=l.space,c=l.id,d=Jt(o,u),g=l.range||l.refRange,D=g[0],S=.01,T=D,I=Kt(d,c);I-T>S;){var L=Za(d);L=Hr(L,{space:i,method:"clip"});var P=jo(d,L);P-2<S?T=Kt(d,c):I=Kt(d,c),Vr(d,c,(T+I)/2);}o=Jt(d,i);}else o=s;}if(a==="clip"||!Ja(o,i,{epsilon:0})){var N=Object.values(i.coords).map(function(q){return q.range||[]});o.coords=o.coords.map(function(q,B){var W=he(N[B],2),J=W[0],ae=W[1];return J!==void 0&&(q=Math.max(J,q)),ae!==void 0&&(q=Math.min(q,ae)),q});}return i!==e.space&&(o=Jt(o,e.space)),e.coords=o.coords,e}Hr.returns="color";function Jt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=Ke(e),t=ke.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Hr(i)),i}Jt.returns="color";function si(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?mr.precision:n,o=a.format,s=o===void 0?"default":o,l=a.inGamut,u=l===void 0?true:l,c=Ae(a,v),d;e=Ke(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:ke.DEFAULT_FORMAT,u||(u=s.toGamut);var D=e.coords;if(D=D.map(function(q){return q||0}),u&&!Ja(e)&&(D=Hr(Za(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(q){return ti(q,i)}));var T=Ee(D);if(S==="color"){var I,L=s.id||((I=s.ids)===null||I===void 0?void 0:I[0])||e.space.id;T.unshift(L);}var P=e.alpha;i!==null&&(P=ti(P,i));var N=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(P):"";d="".concat(S,"(").concat(T.join(s.commas?", ":" ")).concat(N,")");}return d}var Fy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Ry=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],li=new Bt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Fy,fromXYZ_M:Ry,formats:{color:{}}}),ui=1.09929682680944,_c=.018053968510807,Ac=new Bt({id:"rec2020",name:"REC.2020",base:li,toBase:function(t){return t.map(function(r){return r<_c*4.5?r/4.5:Math.pow((r+ui-1)/ui,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=_c?ui*Math.pow(r,.45)-(ui-1):4.5*r})},formats:{color:{}}}),Iy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Ly=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Ec=new Bt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Iy,fromXYZ_M:Ly}),Py=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],My=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Cc=new Bt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Py,fromXYZ_M:My,formats:{color:{}}}),Sc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},kc=Array(3).fill("<percentage> | <number>[0, 255]"),Tc=Array(3).fill("<number>[0, 255]"),Qa=new Bt({id:"srgb",name:"sRGB",base:Cc,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:kc},rgb_number:{name:"rgb",commas:true,coords:Tc,noAlpha:true},color:{},rgba:{coords:kc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Tc},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=Sc.black,r.alpha=0):r.coords=Sc[t],r.coords)return r}}}}),Fc=new Bt({id:"p3",name:"P3",base:Ec,fromBase:Qa.fromBase,toBase:Qa.toBase,formats:{color:{id:"display-p3"}}});if(mr.display_space=Qa,typeof CSS<"u"&&(se=CSS)!==null&&se!==void 0&&se.supports)for(var $o=0,Rc=[Ht,Ac,Fc];$o<Rc.length;$o++){var zo=Rc[$o],Oy=zo.getMinCoords(),Ny={space:zo,coords:Oy,alpha:1},qy=si(Ny);if(CSS.supports("color",qy)){mr.display_space=zo;break}}function By(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?mr.display_space:a,i=Ae(r,w),o=si(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!mr.display_space)o=new String(o),o.color=e;else {var s=Jt(e,n);o=new String(si(s,i)),o.color=s;}return o}function Ic(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=ke.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 Vy(e,t){return e=Ke(e),t=Ke(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function jr(e){return Kt(e,[Yt,"y"])}function Lc(e,t){Vr(e,[Yt,"y"],t);}function Hy(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return jr(this)},set:function(r){Lc(this,r);}});}var jy=Object.freeze({__proto__:null,getLuminance:jr,setLuminance:Lc,register:Hy});function $y(e,t){e=Ke(e),t=Ke(t);var r=Math.max(jr(e),0),a=Math.max(jr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var zy=.56,Gy=.57,Wy=.62,Uy=.65,Pc=.022,Xy=1.414,Yy=.1,Ky=5e-4,Jy=1.14,Mc=.027,Zy=1.14;function Oc(e){return e>=Pc?e:e+Math.pow(Pc-e,Xy)}function va(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Qy(e,t){t=Ke(t),e=Ke(e);var r,a,n,i,o,s;t=Jt(t,"srgb");var l=he(t.coords,3);i=l[0],o=l[1],s=l[2];var u=va(i)*.2126729+va(o)*.7151522+va(s)*.072175;e=Jt(e,"srgb");var c=he(e.coords,3);i=c[0],o=c[1],s=c[2];var d=va(i)*.2126729+va(o)*.7151522+va(s)*.072175,g=Oc(u),D=Oc(d),S=D>g;return Math.abs(D-g)<Ky?a=0:S?(r=Math.pow(D,zy)-Math.pow(g,Gy),a=r*Jy):(r=Math.pow(D,Uy)-Math.pow(g,Wy),a=r*Zy),Math.abs(a)<Yy?n=0:a>0?n=a-Mc:n=a+Mc,n*100}function e0(e,t){e=Ke(e),t=Ke(t);var r=Math.max(jr(e),0),a=Math.max(jr(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 t0=5e4;function r0(e,t){e=Ke(e),t=Ke(t);var r=Math.max(jr(e),0),a=Math.max(jr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?t0:(r-a)/a}function a0(e,t){e=Ke(e),t=Ke(t);var r=Kt(e,[Ht,"l"]),a=Kt(t,[Ht,"l"]);return Math.abs(r-a)}var n0=216/24389,Nc=24/116,ci=24389/27,Go=lr.D65,Wo=new ke({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Go,base:Yt,fromBase:function(t){var r=t.map(function(n,i){return n/Go[i]}),a=r.map(function(n){return n>n0?Math.cbrt(n):(ci*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]>Nc?Math.pow(r[0],3):(116*r[0]-16)/ci,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/ci,r[2]>Nc?Math.pow(r[2],3):(116*r[2]-16)/ci];return a.map(function(n,i){return n*Go[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Uo=Math.pow(5,.5)*.5+.5;function i0(e,t){e=Ke(e),t=Ke(t);var r=Kt(e,[Wo,"l"]),a=Kt(t,[Wo,"l"]),n=Math.abs(Math.pow(r,Uo)-Math.pow(a,Uo)),i=Math.pow(n,1/Uo)*Math.SQRT2-40;return i<7.5?0:i}var di=Object.freeze({__proto__:null,contrastWCAG21:$y,contrastAPCA:Qy,contrastMichelson:e0,contrastWeber:r0,contrastLstar:a0,contrastDeltaPhi:i0});function o0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Xa(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Ae(a,_);if(!n){var o=Object.keys(di).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=Ke(e),t=Ke(t);for(var s in di)if("contrast"+n.toLowerCase()===s.toLowerCase())return di[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function qc(e){var t=Ya(e,Yt),r=he(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 Bc(e){var t=Ya(e,Yt),r=he(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function s0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return qc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Bc(this)}});}var l0=Object.freeze({__proto__:null,uv:qc,xy:Bc,register:s0});function u0(e,t){return Ic(e,t,"lab")}var c0=Math.PI,Vc=c0/180;function d0(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=Ht.from(e),l=he(s,3),u=l[0],c=l[1],d=l[2],g=Ka.from(Ht,[u,c,d]),D=he(g,3),S=D[1],T=D[2],I=Ht.from(t),L=he(I,3),P=L[0],N=L[1],q=L[2],B=Ka.from(Ht,[P,N,q])[1];S<0&&(S=0),B<0&&(B=0);var W=u-P,J=S-B,ae=c-N,pe=d-q,Z=Math.pow(ae,2)+Math.pow(pe,2)-Math.pow(J,2),oe=.511;u>=16&&(oe=.040975*u/(1+.01765*u));var de=.0638*S/(1+.0131*S)+.638,me;Number.isNaN(T)&&(T=0),T>=164&&T<=345?me=.56+Math.abs(.2*Math.cos((T+168)*Vc)):me=.36+Math.abs(.4*Math.cos((T+35)*Vc));var Ce=Math.pow(S,4),Pe=Math.sqrt(Ce/(Ce+1900)),we=de*(Pe*me+1-Pe),Te=Math.pow(W/(n*oe),2);return Te+=Math.pow(J/(o*de),2),Te+=Z/Math.pow(we,2),Math.sqrt(Te)}var Hc=203,Xo=new ke({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:Yt,fromBase:function(t){return t.map(function(r){return Math.max(r*Hc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Hc,0)})}}),fi=1.15,pi=.66,jc=2610/Math.pow(2,14),f0=Math.pow(2,14)/2610,$c=3424/Math.pow(2,12),zc=2413/Math.pow(2,7),Gc=2392/Math.pow(2,7),p0=1.7*2523/Math.pow(2,5),Wc=Math.pow(2,5)/(1.7*2523),mi=-0.56,Yo=16295499532821565e-27,m0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],h0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],g0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],v0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Uc=new ke({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:Xo,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o=fi*a-(fi-1)*i,s=pi*n-(pi-1)*a,l=vt(m0,[o,s,i]),u=l.map(function(I){var L=$c+zc*Math.pow(I/1e4,jc),P=1+Gc*Math.pow(I/1e4,jc);return Math.pow(L/P,p0)}),c=vt(g0,u),d=he(c,3),g=d[0],D=d[1],S=d[2],T=(1+mi)*g/(1+mi*g)-Yo;return [T,D,S]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o=(a+Yo)/(1+mi-mi*(a+Yo)),s=vt(v0,[o,n,i]),l=s.map(function(I){var L=$c-Math.pow(I,Wc),P=Gc*Math.pow(I,Wc)-zc,N=1e4*Math.pow(L/P,f0);return N}),u=vt(h0,l),c=he(u,3),d=c[0],g=c[1],D=c[2],S=(d+(fi-1)*D)/fi,T=(g+(pi-1)*S)/pi;return [S,T,D]},formats:{color:{}}}),Ko=new ke({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:Uc,fromBase:function(t){var r=he(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)),ii(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 b0(e,t){var r=Ko.from(e),a=he(r,3),n=a[0],i=a[1],o=a[2],s=Ko.from(t),l=he(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,T=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(T,2))}var Xc=3424/4096,Yc=2413/128,Kc=2392/128,Jc=2610/16384,y0=2523/32,w0=16384/2610,Zc=32/2523,x0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],D0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],_0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],A0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Jo=new ke({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:Xo,fromBase:function(t){var r=vt(x0,t);return E0(r)},toBase:function(t){var r=C0(t);return vt(A0,r)},formats:{color:{}}});function E0(e){var t=e.map(function(r){var a=Xc+Yc*Math.pow(r/1e4,Jc),n=1+Kc*Math.pow(r/1e4,Jc);return Math.pow(a/n,y0)});return vt(D0,t)}function C0(e){var t=vt(_0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,Zc)-Xc,0),i=Yc-Kc*Math.pow(a,Zc);return 1e4*Math.pow(n/i,w0)});return r}function S0(e,t){var r=Jo.from(e),a=he(r,3),n=a[0],i=a[1],o=a[2],s=Jo.from(t),l=he(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 k0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],T0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],F0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],R0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],hi=new ke({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:Yt,fromBase:function(t){var r=vt(k0,t),a=r.map(function(n){return Math.cbrt(n)});return vt(F0,a)},toBase:function(t){var r=vt(R0,t),a=r.map(function(n){return Math.pow(n,3)});return vt(T0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function I0(e,t){var r=hi.from(e),a=he(r,3),n=a[0],i=a[1],o=a[2],s=hi.from(t),l=he(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 Zo=Object.freeze({__proto__:null,deltaE76:u0,deltaECMC:d0,deltaE2000:jo,deltaEJz:b0,deltaEITP:S0,deltaEOK:I0});function en(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Xa(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?mr.deltaE:n,o=Ae(a,E);e=Ke(e),t=Ke(t);for(var s in Zo)if("deltae"+i.toLowerCase()===s.toLowerCase())return Zo[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function L0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ke.get("oklch","lch"),a=[r,"l"];return Vr(e,a,function(n){return n*(1+t)})}function P0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ke.get("oklch","lch"),a=[r,"l"];return Vr(e,a,function(n){return n*(1-t)})}var M0=Object.freeze({__proto__:null,lighten:L0,darken:P0});function Qc(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=[Ke(e),Ke(t)];if(e=n[0],t=n[1],qr(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=tn(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function ed(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(Qo(e)){a=e,r=t;var n=he(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=Ae(i,x);if(!a){var D=[Ke(e),Ke(t)];e=D[0],t=D[1],a=tn(e,t,g);}var S=en(e,t),T=o>0?Math.max(u,Math.ceil(S/o)+1):u,I=[];if(d!==void 0&&(T=Math.min(T,d)),T===1)I=[{p:.5,color:a(.5)}];else {var L=1/(T-1);I=Array.from({length:T},function(ae,pe){var Z=pe*L;return {p:Z,color:a(Z)}});}if(o>0)for(var P=I.reduce(function(ae,pe,Z){if(Z===0)return 0;var oe=en(pe.color,I[Z-1].color,s);return Math.max(ae,oe)},0);P>o;){P=0;for(var N=1;N<I.length&&I.length<d;N++){var q=I[N-1],B=I[N],W=(B.p+q.p)/2,J=a(W);P=Math.max(P,en(J,q.color),en(J,B.color)),I.splice(N,0,{p:W,color:a(W)}),N++;}}return I=I.map(function(ae){return ae.color}),I}function tn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Qo(e)){var a=e,n=t;return tn.apply(void 0,Ee(a.rangeArgs.colors).concat([Me({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=Ke(e),t=Ke(t),e=Za(e),t=Za(t);var u={colors:[e,t],options:r};if(i?i=ke.get(i):i=ke.registry[mr.interpolationSpace]||e.space,o=o?ke.get(o):i,e=Jt(e,i),t=Jt(t,i),e=Hr(e),t=Hr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],g=[Kt(e,d),Kt(t,d)],D=g[0],S=g[1],T=ky(c,[D,S]),I=he(T,2);D=I[0],S=I[1],Vr(e,d,D),Vr(t,d,S);}return l&&(e.coords=e.coords.map(function(L){return L*e.alpha}),t.coords=t.coords.map(function(L){return L*t.alpha})),Object.assign(function(L){L=s?s(L):L;var P=e.coords.map(function(B,W){var J=t.coords[W];return ri(B,J,L)}),N=ri(e.alpha,t.alpha,L),q={space:i,coords:P,alpha:N};return l&&(q.coords=q.coords.map(function(B){return B/N})),o!==i&&(q=Jt(q,o)),q},{rangeArgs:u})}function Qo(e){return qr(e)==="function"&&!!e.rangeArgs}mr.interpolationSpace="lab";function O0(e){e.defineFunction("mix",Qc,{returns:"color"}),e.defineFunction("range",tn,{returns:"function<color>"}),e.defineFunction("steps",ed,{returns:"array<color>"});}var N0=Object.freeze({__proto__:null,mix:Qc,steps:ed,range:tn,isRange:Qo,register:O0}),td=new ke({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:Qa,fromBase:function(t){var r=Math.max.apply(Math,Ee(t)),a=Math.min.apply(Math,Ee(t)),n=he(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=he(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}}}),rd=new ke({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:td,fromBase:function(t){var r=he(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=he(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}}}),q0=new ke({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:rd,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=he(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>"]}}}),B0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],V0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],ad=new Bt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:B0,fromXYZ_M:V0}),H0=new Bt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:ad,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"}}}),j0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],$0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],nd=new Bt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Vo,toXYZ_M:j0,fromXYZ_M:$0}),z0=1/512,G0=16/512,W0=new Bt({id:"prophoto",name:"ProPhoto",base:nd,toBase:function(t){return t.map(function(r){return r<G0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=z0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),U0=new ke({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:hi,fromBase:function(t){var r=he(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)),ii(o)]},toBase:function(t){var r=he(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>"]}}}),id=203,od=2610/Math.pow(2,14),X0=Math.pow(2,14)/2610,Y0=2523/Math.pow(2,5),sd=Math.pow(2,5)/2523,ld=3424/Math.pow(2,12),ud=2413/Math.pow(2,7),cd=2392/Math.pow(2,7),K0=new Bt({id:"rec2100pq",name:"REC.2100-PQ",base:li,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,sd)-ld,0)/(ud-cd*Math.pow(r,sd)),X0);return a*1e4/id})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*id/1e4,0),n=ld+ud*Math.pow(a,od),i=1+cd*Math.pow(a,od);return Math.pow(n/i,Y0)})},formats:{color:{id:"rec2100-pq"}}}),dd=.17883277,fd=.28466892,pd=.55991073,es=3.7743,J0=new Bt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:li,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*es:Math.exp((r-pd)/dd+fd)/12*es})},fromBase:function(t){return t.map(function(r){return r/=es,r<=1/12?Math.sqrt(3*r):dd*Math.log(12*r-fd)+pd})},formats:{color:{id:"rec2100-hlg"}}}),md={};Br.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=hd(e.W1,e.W2,e.options.method));}),Br.add("chromatic-adaptation-end",function(e){e.M||(e.M=hd(e.W1,e.W2,e.options.method));});function gi(e){var t=e.id;e.toCone_M;e.fromCone_M;md[t]=arguments[0];}function hd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=md[r],n=vt(a.toCone_M,e),i=he(n,3),o=i[0],s=i[1],l=i[2],u=vt(a.toCone_M,t),c=he(u,3),d=c[0],g=c[1],D=c[2],S=[[d/o,0,0],[0,g/s,0],[0,0,D/l]],T=vt(S,a.toCone_M),I=vt(a.fromCone_M,T);return I}gi({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]]}),gi({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]]}),gi({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]]}),gi({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(lr,{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]}),lr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var Z0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],Q0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],gd=new Bt({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:lr.ACES,toXYZ_M:Z0,fromXYZ_M:Q0,formats:{color:{}}}),vi=Math.pow(2,-16),ts=-0.35828683,bi=(Math.log2(65504)+9.72)/17.52,ew=new Bt({id:"acescc",name:"ACEScc",coords:{r:{range:[ts,bi],name:"Red"},g:{range:[ts,bi],name:"Green"},b:{range:[ts,bi],name:"Blue"}},referred:"scene",base:gd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-vi)*2:a<bi?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(vi)+9.72)/17.52:r<vi?(Math.log2(vi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),vd=Object.freeze({__proto__:null,XYZ_D65:Yt,XYZ_D50:Vo,XYZ_ABS_D65:Xo,Lab_D65:Wo,Lab:Ht,LCH:Ka,sRGB_Linear:Cc,sRGB:Qa,HSL:td,HWB:q0,HSV:rd,P3_Linear:Ec,P3:Fc,A98RGB_Linear:ad,A98RGB:H0,ProPhoto_Linear:nd,ProPhoto:W0,REC_2020_Linear:li,REC_2020:Ac,OKLab:hi,OKLCH:U0,Jzazbz:Uc,JzCzHz:Ko,ICTCP:Jo,REC_2100_PQ:K0,REC_2100_HLG:J0,ACEScg:gd,ACEScc:ew}),rt=(be=new WeakMap,(function(){function e(){var t=this;rr(this,e),Pr(this,be,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=Ke(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]),Nt(be,this,ke.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(T){return t.set(D,T)}});};for(var d in tr(be,this).coords)c(d);}return ar(e,[{key:"space",get:function(){return tr(be,this)}},{key:"spaceId",get:function(){return tr(be,this).id}},{key:"clone",value:function(){return new rt(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=By.apply(void 0,[this].concat(a));return i.color=new rt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof rt)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 Fe(rt,[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=rt.get(c);else if(s==="function<color>"){var d=c;c=function(){var D=d.apply(void 0,arguments);return rt.get(D)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(g){return rt.get(g)}));return c};r in rt||(rt[r]=l),o&&(rt.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)rt.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(rt);else for(var a in r)rt.defineFunction(a,r[a]);}}])})());rt.defineFunctions({get:Kt,getAll:Ya,set:Vr,setAll:yc,to:Jt,equals:Vy,inGamut:Ja,toGamut:Hr,distance:Ic,toString:si}),Object.assign(rt,{util:_y,hooks:Br,WHITES:lr,Space:ke,spaces:ke.registry,parse:bc,defaults:mr});for(var rs=0,bd=Object.keys(vd);rs<bd.length;rs++){var tw=bd[rs];ke.register(vd[tw]);}for(var yd in ke.registry)as(yd,ke.registry[yd]);Br.add("colorspace-init-end",function(e){var t;as(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){as(r,e);});});function as(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(rt.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 ke.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&te(l)!=="symbol"&&!(l in s)){var c=ke.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&&te(l)!=="symbol"&&!(l in s)||l>=0){var d=ke.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});}rt.extend(Zo),rt.extend({deltaE:en}),rt.extend(M0),rt.extend({contrast:o0}),rt.extend(l0),rt.extend(jy),rt.extend(N0),rt.extend(di);var wd=fr(zu());Nr.default.templateSettings.strip=false,m._memoizedFns=[];function rw(e){var t=(0, fc.default)(e);return m._memoizedFns.push(t),t}var it=rw,aw=it(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),rn=aw;function ns(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||h;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 nw=["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"],iw=31,ow=/([\\"])/g,sw=/(\r\n|\r|\n)/g;function is(e){return e.replace(ow,"\\$1").replace(sw,"\\a ")}function xd(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=uc(e.getAttribute(r));n?a=ft(t.name)+'$="'+is(n)+'"':a=ft(t.name)+'="'+is(e.getAttribute(r))+'"';}else a=ft(r)+'="'+is(t.value)+'"';return a}function os(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Dd(e){return !nw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<iw)}function yi(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=ft(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(Ua(s)).filter(Dd).forEach(function(u){var c=xd(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 lw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=ft(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(os)}function uw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&ha(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function cw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||h,r="#"+ft(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function _d(e){var t=rn(h);return ft(t?e.localName:e.nodeName.toLowerCase())}function dw(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Ua(e)).filter(Dd).forEach(function(i){var o=xd(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(os)}function fw(e,t){var r="",a,n=lw(e,t),i=dw(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=_d(e)):(a=n.concat(i),a.sort(os),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=_d(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 pw(e,t,r){if(!m._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=cw(e);s||(s=fw(e,m._selectorData),s+=uw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>qe.selectorSimilarFilterLimit?o=hw(r,i):o=o.filter(function(l){return ha(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 mw(e,t){return ns(pw,e,t)}var ss=it(mw),hw=it(function(e,t){return Array.from(e.querySelectorAll(t))});function Ad(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?Ad(r)+" > "+t+n:t+n}function wi(e,t){return ns(Ad,e,t)}function Ed(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=Ed(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&&ft(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 gw(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function vw(e){var t=Ed(e);return gw(t)}var Cd=vw,an={},bw={set:function(t,r){yw(t),an[t]=r;},get:function(t,r){if(ww(r),t in an)return an[t];if(typeof r=="function"){var a=r();return Ue(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),an[t]}},clear:function(){an={};}};function yw(e){Ue(typeof e=="string","key must be a string, "+te(e)+" given"),Ue(e!=="","key must not be empty");}function ww(e){Ue(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+te(e)+" given");}var Ne=bw;function xw(e,t){var r=t||e;return Ne.get("nodeMap")?Ne.get("nodeMap").get(r):null}var Ve=xw;function Sd(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 ls(s,a)}var l=Dw(e);return l.length>a?_w(e,{maxLength:a,attrLimit:i}):l}function Dw(e){var t=e.outerHTML;return !t&&typeof p.XMLSerializer=="function"&&(t=new p.XMLSerializer().serializeToString(e)),t||""}function _w(e,t){var r=t.maxLength,a=t.attrLimit,n=rn(e.ownerDocument||h)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Ua(e)).map(function(S){var T=S.name,I=S.value;return {name:T,value:I}}),o=i.reduce(function(S,T){var I=T.name,L=T.value;return S+I.length+L.length+4},0);2+n.length+o>r&&i.forEach(function(S){S.name=ls(S.name,a),S.value=ls(S.value,a);});var s="<".concat(n),l=">",u=" ...>",c=tt(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 ls(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var kd="DqElm.RunOptions",na=it(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Ne.get(kd))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Et?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ve(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,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Sd(this._element);}return this});na.prototype={get selector(){return this.spec.selector||[ss(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[wi(this.element)]},get xpath(){return this.spec.xpath||[Cd(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}},na.fromFrame=function(t,r,a){var n=na.mergeSpecs(t,a);return new na(a.element,r,n)},na.mergeSpecs=function(t,r){return Me({},t,{selector:[].concat(Ee(r.selector),Ee(t.selector)),ancestry:[].concat(Ee(r.ancestry),Ee(t.ancestry)),xpath:[].concat(Ee(r.xpath),Ee(t.xpath)),nodeIndexes:[].concat(Ee(r.nodeIndexes),Ee(t.nodeIndexes)),fromFrame:true})},na.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Ne.set(kd,{elementRef:r,absolutePaths:a});};var Zt=na;function Aw(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){p.Node&&(i instanceof p.Node||i instanceof Et?i=[i]:i=lc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Et&&(o=o.actualNode),o instanceof p.Node){var s=new Zt(o);e.relatedNodes.push(s);}}));}}}var us=Aw;function Er(e){return cs(e,new Map)}function cs(e,t){var r,a;if(e===null||te(e)!=="object"||(r=p)!==null&&r!==void 0&&r.Node&&e instanceof p.Node||(a=p)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof p.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(cs(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=cs(e[o],t);return i}var nn=new dc.CssSelectorParser;nn.registerSelectorPseudos("not"),nn.registerSelectorPseudos("is"),nn.registerNestingOperators(">"),nn.registerAttrEqualityMods("^","$","*","~");var Td=nn;function ds(e,t){var r=xi(t);return r.some(function(a){return ba(e,a)})}function Ew(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function Cw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Sw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function kw(e,t){return !t.id||e.props.id===t.id}function Tw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return ba(e,a)});if(r.name==="is")return r.expressions.some(function(a){return ba(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Fd(e,t){return Ew(e,t)&&Cw(e,t)&&Sw(e,t)&&kw(e,t)&&Tw(e,t)}var on=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),fs=/\\/g;function Fw(e){if(e)return e.map(function(t){var r=t.name.replace(fs,""),a=(t.value||"").replace(fs,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+on(a));break;case "$=":i=new RegExp(on(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+on(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+on(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 Rw(e){if(e)return e.map(function(t){return t=t.replace(fs,""),{value:t,regexp:new RegExp("(^|\\s)"+on(t)+"(\\s|$)")}})}function Iw(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=Rd(r)),{name:t.name,expressions:r,value:t.value}})}function Rd(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:Fw(a.attrs),classes:Rw(a.classNames),pseudos:Iw(a.pseudos)}),a=a.rule;return r})}function xi(e){var t=Td.parse(e);return t=t.selectors?t.selectors:[t],Rd(t)}function Id(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=Fd(e,i);!o&&a&&e.parent;)e=e.parent,o=Fd(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&&Id(e.parent,t,r-1,i.combinator===" ");}return o}function ba(e,t,r){return Id(e,t,t.length-1,r)}function Lw(e,t){for(;e;){if(ds(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var jt=Lw;function Di(){}function ps(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Pw(){var e=[],t=0,r=0,a=Di,n=false,i,o=function(D){i=D,setTimeout(function(){i!=null&&aa("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(D){e[g]=D,r-=1,!r&&a!==Di&&(n=true,a(e));}}function u(g){return a=Di,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(te(D)==="object"&&D.then&&D.catch){var S=D;D=function(I,L){S.then(I).catch(L);};}if(ps(D),i===void 0){if(n)throw new Error("Queue already completed");return e.push(D),++r,c(),d}},then:function(D){if(ps(D),a!==Di)throw new Error("queue `then` already set");return i||(a=D,r||(n=true,a(e))),d},catch:function(D){if(ps(D),s!==o)throw new Error("queue `catch` already set");return i?(D(i),i=null):s=D,d},abort:u};return d}var hr=Pw,ya,wa,ms=p.crypto||p.msCrypto;if(!wa&&ms&&ms.getRandomValues){var Ld=new Uint8Array(16);wa=function(){return ms.getRandomValues(Ld),Ld};}if(!wa){var Pd=new Array(16);wa=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Pd[t]=r>>>((t&3)<<3)&255;return Pd};}for(var Md=typeof p.Buffer=="function"?p.Buffer:Array,hs=[],Od={},xa=0;xa<256;xa++)hs[xa]=(xa+256).toString(16).substr(1),Od[hs[xa]]=xa;function Mw(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++]=Od[i]);});n<16;)t[a+n++]=0;return t}function gs(e,t){var r=t||0,a=hs;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 $r=wa(),Ow=[$r[0]|1,$r[1],$r[2],$r[3],$r[4],$r[5]],Nd=($r[6]<<8|$r[7])&16383,vs=0,bs=0;function qd(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Nd,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:bs+1,l=o-vs+(s-bs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>vs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");vs=o,bs=s,Nd=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||Ow,g=0;g<6;g++)n[a+g]=d[g];return t||gs(n)}function ia(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Md(16):null,e=null),e=e||{};var n=e.random||(e.rng||wa)();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||gs(n)}ya=ia,ya.v1=qd,ya.v4=ia,ya.parse=Mw,ya.unparse=gs,ya.BufferClass=Md,m._uuid=qd();var Nw=ia,qw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Bw(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:Bd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Vw(e){var t;try{t=JSON.parse(e);}catch{return}if(Hw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=te(t.error)==="object"?jw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Hw(e){return e!==null&&te(e)==="object"&&typeof e.channelId=="string"&&e.source===Bd()}function jw(e){var t=e.message||"Unknown error occurred",r=qw.includes(e.name)?e.name:"Error",a=p[r]||Error;return e.stack&&(t+=`
|
|
365
|
+
`+e.stack.replace(e.message,"")),new a(t)}function Bd(){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 ys(e){Hd(e),Ue(p.parent===e,"Source of the response must be the parent window.");}function Vd(e){Hd(e),Ue(e.parent===p,"Respondable target must be a frame in the current window");}function Hd(e){Ue(p!==e,"Messages can not be sent to the same window.");}var sn={};function $w(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Ue(!Object.prototype.hasOwnProperty.call(sn,e),"A replyHandler already exists for this message channel."),sn[e]={replyHandler:t,sendToParent:r};}function zw(e){return Object.prototype.hasOwnProperty.call(sn,e)?sn[e]:void 0}function Gw(e){delete sn[e];}var _i=[];function ws(){var e="".concat(ia(),":").concat(ia());return _i.includes(e)?ws():(_i.push(e),e)}function Ww(e){return _i.includes(e)?false:(_i.push(e),true)}function xs(e,t,r,a){if(r?ys(e):Vd(e),t.message instanceof Error&&!r)return m.log(t.message),false;var n=Bw(Me({messageId:ws()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&$w(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 Uw(e,t,r){if(!e.parent!==p)return m.log(t);try{xs(e,{topic:null,channelId:r,message:t,messageId:ws(),keepalive:!0},!0);}catch(a){return m.log(a)}}function jd(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};xs(e,s,r,o);}}function Xw(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Yw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Vw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Xw(r)||!Ww(l))return;if(s instanceof Error&&n.parent!==p)return m.log(s),!1;try{if(i.topic){var u=jd(n,o);ys(n),t(i,u);}else Kw(n,i);}catch(c){Uw(n,c,o);}}catch(c){return m.log(c),false}}function Kw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=zw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?ys(e):Vd(e);var l=jd(e,r,s);!n&&r&&Gw(r);try{o(a,n,l);}catch(u){m.log(u),l(u,n);}}}var Jw={open:function(t){if(typeof p.addEventListener=="function"){var r=function(n){Yw(n,t);};return p.addEventListener("message",r,false),function(){p.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof p.addEventListener!="function"?false:xs(t,r,false,a)}};function $d(e){e.updateMessenger(Jw);}var Ai,zd,Ei={};function cr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(ia(),":").concat(ia()),keepalive:a};return zd(e,i,n)}function Zw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Ei,r)?Ei[r]:void 0;if(i)try{i(a,n,t);}catch(o){m.log(o),t(o,n);}}cr.updateMessenger=function(t){var r=t.open,a=t.post;Ue(typeof r=="function","open callback must be a function"),Ue(typeof a=="function","post callback must be a function"),Ai&&Ai();var n=r(Zw);n?(Ue(typeof n=="function","open callback must return a cleanup function"),Ai=n):Ai=null,zd=a;},cr.subscribe=function(t,r){Ue(typeof r=="function","Subscriber callback must be a function"),Ue(!Object.prototype.hasOwnProperty.call(Ei,t),"Topic ".concat(t," is already registered to.")),Ei[t]=r;},cr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;return !!t.frameElement},$d(cr);function Gd(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){aa("Frame does not have a content window",e),r(null);return}if(s===0){Wd(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a(Ud("No response from frame",e)):r(null);},0);},s);cr(o,"axe.ping",null,void 0,function(){clearTimeout(l),Wd(e,t,r,a);});}function Wd(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(Ud("Axe in frame timed out",e));},o);cr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?a(u):r(u);});}function Ud(e,t){var r;return m._tree&&(r=ss(t)),new Error(e+": "+(r||t))}var ln=null,un={update:function(t){Ue(te(t)==="object","serializer must be an object"),ln=t;},toSpec:function(t){return un.dqElmToSpec(new Zt(t))},dqElmToSpec:function(t,r){var a;return t instanceof Zt?(r&&(t=Qw(t,r)),typeof((a=ln)===null||a===void 0?void 0:a.toSpec)=="function"?ln.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=ln)===null||a===void 0?void 0:a.mergeSpecs)=="function"?ln.mergeSpecs(t,r):Zt.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Me({},r,{nodes:un.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=Ae(r,A);n.node=un.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=Ae(l,k);return c.relatedNodes=u.map(un.dqElmToSpec),c});}return n})}},Qt=un;function Qw(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new Zt(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 ex(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Ci=ex;function tx(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&te(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var cn=tx;function rx(e,t,r){e.forEach(function(a){a.node=Qt.mergeSpecs(a.node,r);var n=Ci(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return Qt.mergeSpecs(o,r)});});});}function ax(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Xd(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(Ee(t)));return}}e.push.apply(e,Ee(t));}function nx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function ix(e,t){var r=[];return e.forEach(function(a){var n=nx(a);if(!(!n||!n.length)){var i=ox(a);n.forEach(function(o){o.nodes&&i&&rx(o.nodes,t,i);var s=cn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&ax(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 Xd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Xd(){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 Si=ix;function ox(e){return e.frameElement?Qt.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Yd(e,t,r,a,n,i){t=Me({},t,{elementRef:false});var o=hr(),s=e.frames;s.forEach(function(l){var u=l.node,c=Ae(l,C);o.defer(function(d,g){var D={options:t,command:r,parameter:a,context:c};function S(T){return d(T?{results:T,frameElement:u}:null)}Gd(u,D,S,g);});}),o.then(function(l){n(Si(l,t));}).catch(i);}function Cr(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 Kd(){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||te(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||te(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Kd(e[s],n[s]);}}),e}var Ds=Kd;function sx(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 _s=sx,lx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function ux(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(lx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var ki=ux,As={};nr(As,{createGrid:function(){return mn},findElmsInContext:function(){return Jd},findNearbyElms:function(){return Oi},findUp:function(){return _a},findUpVirtual:function(){return Da},focusDisabled:function(){return Ps},getComposedParent:function(){return Ct},getElementByReference:function(){return Os},getElementCoordinates:function(){return Ss},getElementStack:function(){return Lf},getModalDialog:function(){return kf},getNodeGrid:function(){return Mi},getOverflowHiddenAncestors:function(){return fn},getRootNode:function(){return Rt},getScrollOffset:function(){return pf},getTabbableElements:function(){return Pf},getTargetRects:function(){return qi},getTargetSize:function(){return Mf},getTextElementStack:function(){return el},getViewportSize:function(){return Ti},getVisibleChildTextRects:function(){return Qs},hasContent:function(){return Gi},hasContentVirtual:function(){return Dn},hasLangText:function(){return rl},idrefs:function(){return gr},insertedIntoFocusOrder:function(){return Ap},isCurrentPageLink:function(){return Ms},isFixedPosition:function(){return Fi},isFocusable:function(){return bt},isHTML5:function(){return Sp},isHiddenForEveryone:function(){return zr},isHiddenWithCSS:function(){return O_},isInTabOrder:function(){return er},isInTextBlock:function(){return al},isInert:function(){return Ni},isModalOpen:function(){return _n},isMultiline:function(){return Tp},isNativelyFocusable:function(){return Bs},isNode:function(){return W_},isOffscreen:function(){return Ri},isOpaque:function(){return r2},isSkipLink:function(){return ol},isVisible:function(){return l2},isVisibleOnScreen:function(){return $t},isVisibleToScreenReaders:function(){return ut},isVisualContent:function(){return tl},reduceToElementsBelowFloating:function(){return Fp},shadowElementsFromPoint:function(){return d2},urlPropsFromAttribute:function(){return v2},visuallyContains:function(){return Rp},visuallyOverlaps:function(){return sl},visuallySort:function(){return Ns}});function cx(e){var t=e.getRootNode&&e.getRootNode()||h;return t===e&&(t=h),t}var dn=cx,Rt=dn;function dx(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=ft(r);return t.nodeType===9||t.nodeType===11?o=t:o=Rt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var Jd=dx;function fx(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&&!ha(r,t)&&r!==h.documentElement);return !r||!ha(r,t)?null:r}var Da=fx;function px(e,t){return Da(Ve(e),t)}var _a=px;function Es(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 Zd=it(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Zd(t.parent))}),fn=Zd,mx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,hx=/(\w+)\((\d+)/;function Qd(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function ef(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function tf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function rf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function af(e){return e.attr("aria-hidden")==="true"}function nf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function of(e){var t=Tr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function sf(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=fn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!gx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Es(i,s)})}function lf(e){var t=e.getComputedStylePropertyValue("clip").match(mx),r=e.getComputedStylePropertyValue("clip-path").match(hx);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 Cs(e,t){var r=jt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=dn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Wt(m._tree,'img[usemap="#'.concat(ft(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function uf(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 gx(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var vx=[ef,tf,rf,uf];function zr(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=We(e).vNode,r?cf(e,n):df(e,n)}var cf=it(function(t,r){return Qd(t)?true:t.actualNode?!!(vx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),df=it(function(t,r){return cf(t,r)?true:t.parent?df(t.parent,true):false});function ff(e){if(e.assignedSlot)return ff(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Ct=ff;function bx(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return {left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return {left:e.scrollLeft,top:e.scrollTop}}var pf=bx;function yx(e){var t=pf(h),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 Ss=yx;function wx(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 Ti=wx;function Fi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=We(e),n=a.vNode;return n?r?mf(n):hf(n):false}var mf=it(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),hf=it(function(t){return mf(t)?true:t.parent?hf(t.parent):false});function xx(e,t){for(e=Ct(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Ct(e);}return true}function Dx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=We(e),n=a.domNode;if(n){var i=h.documentElement,o=p.getComputedStyle(n),s=p.getComputedStyle(h.body||i).getPropertyValue("direction"),l=Fi(n),u=l?n.getBoundingClientRect():Ss(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(xx(n,u.bottom)||o.position==="absolute"))return true;var c=Ti(p);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 Ri=Dx,_x=[nf,of,sf,lf,Ri];function $t(e){return e=We(e).vNode,ks(e)}var ks=it(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Cs(t,ks):zr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&_x.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?ks(t.parent,true):true});function Ts(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 p.DOMRect(i,r,a-i,n-r)}function Ii(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 gf={};nr(gf,{getBoundingRect:function(){return Ts},getIntersectionRect:function(){return Li},getOffset:function(){return bf},getRectCenter:function(){return pn},hasVisualOverlap:function(){return Fs},isPointInRect:function(){return Ii},rectHasMinimumSize:function(){return Sr},rectsOverlap:function(){return Es},splitRects:function(){return Rs}});function Li(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 p.DOMRect(r,n,a-r,i-n)}function pn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new p.DOMPoint(t+a/2,r+n/2)}var vf=.05;function Sr(e,t){var r=t.width,a=t.height;return r+vf>=e&&a+vf>=e}function bf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=qi(e),n=qi(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=pn(o),l=tt(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Ii(s,c))return 0;var d=Ax(s,c),g=yf(s,d);i=Math.min(i,g);}}catch(L){l.e(L);}finally{l.f();}var D=Mf(t);if(Sr(r*2,D))return i;var S=n.reduce(Ts),T=pn(S),I=yf(s,T)-r;return Math.max(0,Math.min(i,I))},1/0)}function Ax(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 yf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Fs(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:Ns(e,t)>0}function Rs(e,t){var r=Array.isArray(e)?e:[e],a=tt(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(l,u){return l.concat(Ex(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 Ex(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(Pi(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),Pi(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),Pi(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),Pi(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(Sx(e,t))return [];l.push(e);}return l.map(Cx)}var Pi=function(t,r,a){return t>r&&t<a};function Cx(e){return new p.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Sx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var wf=0,kx=.1,xf=.2,Df=.3,Is=0;function mn(){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(Ne.get("gridCreated")&&!r)return qe.gridSize;if(Ne.set("gridCreated",true),!r){var a=Ve(h.documentElement);if(a||(a=new ll(h.documentElement)),Is=0,a._stackingOrder=[Ef(wf,Is++,null)],t??(t=new Ls),Cf(t,a),Tr(a.actualNode)){var n=new Ls(a);a._subGrid=n;}}for(var i=h.createTreeWalker(e,p.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ve(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ve(o.assignedSlot):o.parentElement?r=Ve(o.parentElement):o.parentNode&&Ve(o.parentNode)&&(r=Ve(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=Tx(s,r,Is++);var l=Ix(s,r),u=l?l._subGrid:t;if(Tr(s.actualNode)){var c=new Ls(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&$t(o)&&Cf(u,s),ki(o)&&mn(o.shadowRoot,u,s),o=i.nextNode();}return qe.gridSize}function _f(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"&&Af(t))}function Af(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Tx(e,t,r){var a=t._stackingOrder.slice();if(_f(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [wf,xf,Df].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Fx(e,t);return i!==null&&a.push(Ef(i,r,e)),a}function Ef(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Fx(e,t){var r=Rx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Df:e.getComputedStylePropertyValue("float")!=="none"?xf:_f(e,t)?kx:null:parseInt(r)}function Rx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Af(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Ix(e,t){for(var r=null,a=[e];t;){if(Tr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=Ve(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Cf(e,t){var r=fn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&Li(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 Ls=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return ar(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/qe.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Ue(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);Ue(Ii({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=Ts(this.boundaries,r)),this.boundaries=r,Sf(this.cells,s,l,function(u,c){Sf(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 p.DOMRect(o,a,n-o,i-a)}}])})();function Sf(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 Mi(e){mn();var t=We(e),r=t.vNode;return r._grid}function Oi(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Mi(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Fi(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(l){var u=tt(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===Fi(d)&&s.push(d);}}catch(g){u.e(g);}finally{u.f();}}),s}var Lx=it(function(){var t;if(!m._tree)return null;var r=xr(m._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=h.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&$t(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=h.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=Px(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=h.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),kf=Lx;function Px(e){mn();var t=m._tree[0]._grid,r=new p.DOMRect(0,0,p.innerWidth,p.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=Li(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Ni(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Tf(e,a):Ff(e,a)}var Tf=it(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=kf();if(a&&!Cr(a,t))return true}return false}),Ff=it(function(t,r){return Tf(t,r)?true:t.parent?Ff(t.parent,true):false}),Mx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Ox(e){return Mx.includes(e)}function Nx(e){var t=We(e),r=t.vNode;if(Ox(r.props.nodeName)&&r.hasAttr("disabled")||Ni(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?zr(r):false}var Ps=Nx,qx=/^\/\#/,Bx=/^#[!/]/;function Ms(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(qx.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Bx.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=p.location)===null||t===void 0?void 0:t.origin)!="string"||p.location.origin.indexOf("://")===-1)return null;var l=p.location.origin+p.location.pathname,u;return i?u="".concat(n,"//").concat(i).concat(o?":".concat(o):""):u=p.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=p.location.pathname,u===l}function Vx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Ms(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=h.getElementById(r);return a||(a=h.getElementsByName(r),a.length?a[0]:null)}var Os=Vx;function Ns(e,t){mn();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(I){return I.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(I){return I.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=p.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=Rf(e),T=Rf(t);return S===T||D?g:T-S}function Rf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:If(e)?1:0}function If(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=If(e.parent);return e._isFloated=r,r}function qs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=pn(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=qs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Ns).map(function(u){return u.actualNode}).concat(h.documentElement).filter(function(u,c,d){return d.indexOf(u)===c})),s}function Hx(e){var t=Mi(e);if(!t)return [];var r=Ve(e).boundingClientRect;return qs(t,r)}var Lf=Hx;function jx(e){var t=Wt(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=wr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var Pf=jx;function $x(e){var t=We(e),r=t.vNode;if(!r||Ps(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 !Wt(r,"summary").length}return false}var Bs=$x;function bt(e){var t=We(e),r=t.vNode;if(r.props.nodeType!==1||Ps(r))return false;if(Bs(r))return true;var a=wr(r.attr("tabindex"));return a!==null}function er(e){var t=We(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=wr(r.attr("tabindex"));return a<=-1?false:bt(r)}var qi=it(zx);function zx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=Oi(e).filter(function(i){return Fs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!Gx(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 Rs(r,n)}function Gx(e,t){return Cr(e,t)&&!er(t)}var Mf=it(Wx);function Wx(e,t){var r=qi(e);return Ux(r,t)}function Ux(e,t){return e.reduce(function(r,a){var n=Sr(t,r),i=Sr(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 hn={};nr(hn,{accessibleText:function(){return oa},accessibleTextVirtual:function(){return St},autocomplete:function(){return la},formControlValue:function(){return fp},formControlValueMethods:function(){return Us},hasUnicode:function(){return Ks},isHumanInterpretable:function(){return Zs},isIconLigature:function(){return Js},isValidAutocomplete:function(){return yp},label:function(){return __},labelText:function(){return Xs},labelVirtual:function(){return $i},nativeElementType:function(){return E_},nativeTextAlternative:function(){return mp},nativeTextMethods:function(){return pp},removeUnicode:function(){return xn},sanitize:function(){return Ie},subtreeText:function(){return Ur},titleText:function(){return Vi},unsupported:function(){return rp},visible:function(){return wp},visibleTextNodes:function(){return C_},visibleVirtual:function(){return br}});function Xx(e,t){e=e.actualNode||e;try{var r=Rt(e),a=[],n=e.getAttribute(t);if(n){n=Ot(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 gr=Xx;function Yx(e,t){var r=Ve(e);return St(r,t)}var oa=Yx;function Kx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=We(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=gr(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=oa(o,Me({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var gn=Kx;function vn(e){var t=We(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Jx={"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}},Of=Jx,Zx={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"]}},Nf=Zx,Qx={"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"]}},eD=Qx,tD={"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}},rD=tD,aD={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"]}},nD=aD,iD={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},oD=iD,qf={ariaAttrs:Of,ariaRoles:Me({},Nf,eD,rD),htmlElms:nD,cssColors:oD},Aa=Me({},qf);function sD(e){Object.keys(Aa).forEach(function(t){e[t]&&(Aa[t]=Ds(Aa[t],e[t]));});}function lD(){Object.keys(Aa).forEach(function(e){Aa[e]=qf[e];});}var Xe=Aa;function uD(e){var t=Xe.ariaRoles[e];return t?!!t.unsupported:false}var Vs=uD;function cD(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=Xe.ariaRoles[e],o=Vs(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var bn=cD;function dD(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 Et?e:Ve(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Ot(i):[i],s=o.find(function(l){return !n&&l.substr(0,4)==="doc-"?false:bn(l,{allowAbstract:a})});return s||null}var $e=dD;function fD(e){return Object.keys(Xe.htmlElms).filter(function(t){var r=Xe.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 Hs=fD;function pD(){return Ne.get("globalAriaAttrs",function(){return Object.keys(Xe.ariaAttrs).filter(function(e){return Xe.ariaAttrs[e].global})})}var Gr=pD;function mD(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 kr=it(mD);function hD(e,t){var r,a;for(t||(t=kr(_a(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Bi=it(hD);function js(e){var t=We(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=$e(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=kr(_a(a,"table")),s=Bi(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 gD(e){return ["col","auto"].indexOf(js(e))!==-1}var Ea=gD;function vD(e){return ["row","auto"].includes(js(e))}var Ca=vD;function bD(e){return e?e.replace(/\r\n/g,`
|
|
366
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ie=bD,Bf=function(){return Ne.get("sectioningContentSelector",function(){return Hs("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Vf=function(){return Ne.get("sectioningContentPlusMainSelector",function(){return Bf()+" , main:not([role]), [role=main]"})};function $s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Ie(gn(e))||Ie(vn(e))||a&&e?.props.nodeType===1&&Ie(e.attr("title")))}var yD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return jt(t.parent,Bf())&&!$s(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=jt(t,Vf());return r?null:"contentinfo"},form:function(t){return $s(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=jt(t,Vf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Gr().find(function(n){return t.hasAttr(n)});return r&&!a&&!bt(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=gr(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 $s(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=jt(t,"table"),a=$e(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Ea(t))return "columnheader";if(Ca(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},zs=yD;function wD(e,t){var r=te(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 sa=wD;function xD(e,t){return sa(!!St(e),t)}var Hf=xD;function DD(e,t){var r=te(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 sa(e(a),t[a])})}var Gs=DD;function _D(e,t){return e=We(e).vNode,Gs(function(r){return e.attr(r)},t)}var jf=_D;function $f(e,t){return !!t(e)}function AD(e,t){return sa($e(e),t)}var zf=AD;function ED(e,t){return sa(vr(e),t)}var Gf=ED;function CD(e,t){return e=We(e).vNode,sa(e.props.nodeName,t)}var Wf=CD;function SD(e,t){return e=We(e).vNode,Gs(function(r){return e.props[r]},t)}var Uf=SD;function kD(e,t){return sa(Be(e),t)}var Xf=kD,Yf={hasAccessibleName:Hf,attributes:jf,condition:$f,explicitRole:zf,implicitRole:Gf,nodeName:Wf,properties:Uf,semanticRole:Xf};function Kf(e,t){return e=We(e).vNode,Array.isArray(t)?t.some(function(r){return Kf(e,r)}):typeof t=="string"?ds(e,t):Object.keys(t).every(function(r){if(!Yf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Yf[r],n=t[r];return a(e,n)})}var Jf=Kf;function TD(e,t){return Jf(e,t)}var zt=TD;zt.hasAccessibleName=Hf,zt.attributes=jf,zt.condition=$f,zt.explicitRole=zf,zt.fromDefinition=Jf,zt.fromFunction=Gs,zt.fromPrimative=sa,zt.implicitRole=Gf,zt.nodeName=Wf,zt.properties=Uf,zt.semanticRole=Xf;var yn=zt;function FD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=Xe.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=Ae(n,F);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=Ae(l,R),d=Array.isArray(u)?u:[u],g=0;g<d.length&&a;g++)if(d[g].hasOwnProperty("hasAccessibleName"))return n;if(yn(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 Wr=FD;function RD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Et?e:Ve(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=zs[n];if(!i&&r){var o=Wr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var vr=RD,ID={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 Zf(e,t){var r=ID[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=$e(e.parent,t);return ["none","presentation"].includes(a)&&!ep(e.parent)?a:a?null:Zf(e.parent,t)}function Qf(e,t){var r=t.chromium,a=Ae(t,O),n=vr(e,{chromium:r});if(!n)return null;var i=Zf(e,a);return i||n}function ep(e){var t=Gr().some(function(r){return e.hasAttr(r)});return t||bt(e)}function LD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Ae(t,V),n=We(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=$e(i,a);return o?["presentation","none"].includes(o)&&ep(i)?r?null:Qf(i,a):o:r?null:Qf(i,a)}function PD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Ae(t,$),n=LD(e,a);return r&&["presentation","none"].includes(n)?null:n}var Be=PD,MD=["iframe"];function OD(e){var t=We(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!zt(r,MD)&&["none","presentation"].includes(Be(r))?"":r.attr("title")}var Vi=OD;function ND(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Et?e:Ve(e),e.props.nodeType!==1)return false;var a=Be(e),n=Xe.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var tp=ND;function qD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=gr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.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(Ee(i),Ee(n))}return Ee(r)}var wn=qD,rp={accessibleNameFromFieldValue:["progressbar"]};function ut(e){return e=We(e).vNode,Ws(e)}var Ws=it(function(t,r){return af(t)||Ni(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Cs(t,Ws):zr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Ws(t.parent,true):true});function ap(e,t,r){var a=We(e),n=a.vNode,i=t?ut:$t,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 ap(l,t)}).join("");return Ie(s)}var br=ap,BD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function VD(e){e=e instanceof Et?e:Ve(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!BD.includes((e.attr("type")||"").toLowerCase())}var np=VD;function HD(e){e=e instanceof Et?e:Ve(e);var t=e.props.nodeName;return t==="select"}var ip=HD;function jD(e){var t=$e(e);return t==="textbox"}var op=jD;function $D(e){var t=$e(e);return t==="listbox"}var sp=$D;function zD(e){var t=$e(e);return t==="combobox"}var lp=zD,GD=["progressbar","scrollbar","slider","spinbutton"];function WD(e){var t=$e(e);return GD.includes(t)}var up=WD,cp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Us={nativeTextboxValue:XD,nativeSelectValue:YD,ariaTextboxValue:KD,ariaListboxValue:dp,ariaComboboxValue:JD,ariaRangeValue:ZD};function UD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=rp.accessibleNameFromFieldValue||[],n=Be(e);if(t.startNode===e||!cp.includes(n)||a.includes(n))return "";var i=Object.keys(Us).map(function(s){return Us[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&aa(o||"{empty-value}",r,t),o}function XD(e){var t=We(e),r=t.vNode;return np(r)&&r.props.value||""}function YD(e){var t=We(e),r=t.vNode;if(!ip(r))return "";var a=Wt(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return br(i)}).join(" ")||""}function KD(e){var t=We(e),r=t.vNode,a=t.domNode;return op(r)?!a||a&&!zr(a)?br(r,true):a.textContent:""}function dp(e,t){var r=We(e),a=r.vNode;if(!sp(a))return "";var n=wn(a).filter(function(i){return Be(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":St(n[0],t)}function JD(e,t){var r=We(e),a=r.vNode;if(!lp(a))return "";var n=wn(a).filter(function(i){return Be(i)==="listbox"})[0];return n?dp(n,t):""}function ZD(e){var t=We(e),r=t.vNode;if(!up(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var fp=UD;function QD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=St.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=Be(e),l=Wr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||cp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!tp(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Me({subtreeDescendant:c},t);}return wn(e).reduce(function(d,g){return t_(d,g,t)},"")}var e_=Hs("phrasing").concat(["#text"]);function t_(e,t,r){var a=t.props.nodeName,n=St(t,r);return n?(e_.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Ur=QD;function r_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=St.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Me({inControlContext:true},t),n=a_(e),i=jt(e,"label"),o;return i?(o=[].concat(Ee(n),[i.actualNode]),o.sort(Dl)):o=n,o.map(function(s){return oa(s,a)}).filter(function(s){return s!==""}).join(" ")}function a_(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Jd({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Xs=r_,n_={submit:"Submit",image:"Submit",reset:"Reset",button:""},i_={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return n_[t.props.type]||""},tableCaptionText:Hi.bind(null,"caption"),figureText:Hi.bind(null,"figcaption"),svgTitleText:Hi.bind(null,"title"),fieldsetLegendText:Hi.bind(null,"legend"),altText:Ys.bind(null,"alt"),tableSummaryText:Ys.bind(null,"summary"),titleText:Vi,subtreeText:Ur,labelText:Xs,singleSpace:function(){return " "},placeholderText:Ys.bind(null,"placeholder")};function Ys(e,t){return t.attr(e)||""}function Hi(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?"":oa(i,r)}var pp=i_;function mp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Be(e)))return "";var a=o_(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(n||"{empty-value}",r,t),n}function o_(e){var t=Wr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return pp[a]})}function hp(){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 gp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function vp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function bp(){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 s_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=No().test(e))),a&&(i||(i=hp().test(e)||vp().test(e)||bp().test(e))),n&&(i||(i=gp().test(e))),i}var Ks=s_;function Js(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(!Ie(a)||Ks(a,{emoji:true,nonBmp:true}))return false;var n=Ne.get("canvasContext",function(){return h.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Ne.get("fonts",function(){return {}}),s=p.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 T=new Uint32Array(n.getImageData(0,0,D,c).data.buffer);if(!T.some(function(W){return W}))return u.numLigatures++,true;n.clearRect(0,0,D,c),n.fillText(a,0,0);var I=new Uint32Array(n.getImageData(0,0,D,c).data.buffer),L=T.reduce(function(W,J,ae){return J===0&&I[ae]===0||J!==0&&I[ae]!==0?W:++W},0),P=a.split("").reduce(function(W,J){return W+n.measureText(J).width},0),N=n.measureText(a).width,q=L/T.length,B=1-N/P;return q>=t&&B>=t?(u.numLigatures++,true):false}function St(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=d_(e,t),u_(e,t)||c_(e,t))return "";var r=[gn,vn,mp,fp,Ur,l_,Vi],a=r.reduce(function(n,i){return t.startNode===e&&(n=Ie(n)),n!==""?n:i(e,t)},"");return t.debug&&m.log(a||"{empty-value}",e.actualNode,t),a}function l_(e){return e.props.nodeType!==3?"":e.props.nodeValue}function u_(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!ut(e)}function c_(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:Js(e,n,i)}function d_(e,t){return t.startNode||(t=Me({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Me({includeHidden:!ut(e)},t)),t}St.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function f_(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(No(),"")),a&&(e=e.replace(hp(),"").replace(vp(),"").replace(bp(),"")),n&&(e=e.replace(gp(),"")),e}var xn=f_;function p_(e){return m_(e)||h_(e)||g_(e)||v_(e)?0:1}function m_(e){return Ie(e).length===0}function h_(e){return e.length===1&&e.match(/\D/)}function g_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function v_(e){var t=xn(e,{emoji:true,nonBmp:true,punctuations:true});return !Ie(t)}var Zs=p_,la={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 b_(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,T=S===void 0?[]:S;if(e=e.toLowerCase().trim(),i=i.concat(la.stateTerms),i.includes(e)||e==="")return true;u=u.concat(la.qualifiers),s=s.concat(la.locations),d=d.concat(la.standaloneTerms),D=D.concat(la.qualifiedTerms);var I=e.split(/\s+/g);if(I[I.length-1]==="webauthn"&&(I.pop(),I.length===0)||!a&&(I[0].length>8&&I[0].substr(0,8)==="section-"&&I.shift(),s.includes(I[0])&&I.shift(),u.includes(I[0])&&(I.shift(),d=[]),I.length!==1))return false;var L=I[I.length-1];if(!T.includes(L))return d.includes(L)||D.includes(L)}var yp=b_;function y_(e){var t,r;return e.attr("aria-labelledby")&&(t=gr(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=Ve(a);return n?br(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ie(r),r))?r:null}var ji=y_;function w_(e,t,r){return e=Ve(e),br(e,t,r)}var wp=w_;function x_(e){var t,r,a;if(r=ji(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=ft(e.attr("id"));if(a=Rt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&wp(t,true),r)return r}return t=jt(e,"label"),r=t&&br(t,true),r||null}var $i=x_;function D_(e){return e=Ve(e),$i(e)}var __=D_,A_=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],E_=A_;function xp(e){var t=$t(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(xp(a));}),r}var C_=xp,S_=it(function(t){var r=Ve(t),a=r.boundingClientRect,n=[],i=fn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ie(o.nodeValue)==="")){var s=k_(o);T_(s,a)||n.push.apply(n,Ee(Dp(s,i)));}}),n.length?n:Dp([a],i)}),Qs=S_;function k_(e){var t=h.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function T_(e,t){return e.some(function(r){var a=pn(r);return !Ii(a,t)})}function Dp(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&&Li(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function F_(e){var t=Mi(e);if(!t)return [];var r=Qs(e);return r.map(function(a){return qs(t,a)})}var el=F_,R_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function I_(e){var t=We(e),r=t.vNode,a=m.commons.aria.getExplicitRole(r);if(a)return R_.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 tl=I_,L_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function zi(e){return L_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function _p(e,t,r){return zi(e)||tl(e.actualNode)||!r&&!!ji(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&_p(a)})}var Dn=_p;function P_(e,t,r){return e=Ve(e),Dn(e,t,r)}var Gi=P_;function rl(e){return typeof e.children>"u"||zi(e)?true:e.props.nodeType===1&&tl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&rl(t)&&!zr(t)})}function M_(e){var t=wr(e.getAttribute("tabindex"));return t>-1&&bt(e)&&!Bs(e)}var Ap=M_;function Ep(e,t){var r=We(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=Cp(n,t)),a._isHiddenWithCSS):Cp(n,t)}function Cp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=p.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=Ct(e);return o&&!n.includes(i)?Ep(o,i):false}var O_=Ep;function N_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Sp=N_;function q_(e){var t;(e instanceof Et||(t=p)!==null&&t!==void 0&&t.Node&&e instanceof p.Node)&&(e=m.commons.aria.getRole(e));var r=Xe.ariaRoles[e];return r?.type||null}var dr=q_,B_=["block","list-item","table","flex","grid"],V_=["inline-block","inline-flex","inline-grid"];function H_(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=We(e),o=i.vNode,s=i.domNode;if(nl(s)||!n&&j_(o))return false;var l=$_(s),u="",c="",d=0;return kp(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=nl(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(dr(g)==="widget")return c+=g.textContent,false}}),u=Ie(u),r?u.length!==0:(c=Ie(c),u.length>c.length)}var al=H_;function nl(e){var t=We(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return B_.includes(a)||a.substr(0,6)==="table-"}function j_(e){var t=e.getComputedStylePropertyValue("display");return V_.includes(t)}function kp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return kp(r,t)});}function $_(e){for(var t=Ct(e);t&&!nl(t);)t=Ct(t);return Ve(t)}function z_(e){e=e||{};var t=e.modalPercent||.75;if(Ne.get("isModalOpen"))return Ne.get("isModalOpen");var r=xr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",$t);if(r.length)return Ne.set("isModalOpen",true),true;for(var a=Ti(p),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(h.elementsFromPoint(D.x,D.y))}),c=function(){var S=u[g].find(function(T){var I=p.getComputedStyle(T);return parseInt(I.width,10)>=n&&parseInt(I.height,10)>=i&&I.getPropertyValue("pointer-events")!=="none"&&(I.position==="absolute"||I.position==="fixed")});if(S&&u.every(function(T){return T.includes(S)}))return Ne.set("isModalOpen",true),{v:true}},d,g=0;g<u.length;g++)if(d=c(),d)return d.v;Ne.set("isModalOpen",void 0);}var _n=z_;function Tp(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=tt(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 G_(e){return e instanceof p.Node}var W_=G_,il="color.incompleteData",U_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Ne.get(il,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Ne.get(il);return r?.[t]},clear:function(){Ne.set(il,{});}},ot=U_;function X_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ot.set("bgColor","imgNode"),true;t=t||p.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ot.set("bgColor",o?"bgGradient":"bgImage");}return i}var Wi=X_,Y_=/^#[0-9a-f]{3,8}$/i,K_=/hsl\(\s*([-\d.]+)(rad|turn)/,An=(et=new WeakMap,gt=new WeakMap,Ft=new WeakMap,Ut=new WeakMap,At=new WeakMap,Mt=new WeakMap,Ba=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),hu(this,Ba),Pr(this,et,void 0),Pr(this,gt,void 0),Pr(this,Ft,void 0),Pr(this,Ut,void 0),Pr(this,At,void 0),Pr(this,Mt,void 0),t instanceof An){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 ar(e,[{key:"r",get:function(){return tr(et,this)},set:function(r){Nt(et,this,r),Nt(Ut,this,Math.round(Sa(r,0,1)*255));}},{key:"g",get:function(){return tr(gt,this)},set:function(r){Nt(gt,this,r),Nt(At,this,Math.round(Sa(r,0,1)*255));}},{key:"b",get:function(){return tr(Ft,this)},set:function(r){Nt(Ft,this,r),Nt(Mt,this,Math.round(Sa(r,0,1)*255));}},{key:"red",get:function(){return tr(Ut,this)},set:function(r){Nt(et,this,r/255),Nt(Ut,this,Sa(r,0,255));}},{key:"green",get:function(){return tr(At,this)},set:function(r){Nt(gt,this,r/255),Nt(At,this,Sa(r,0,255));}},{key:"blue",get:function(){return tr(Mt,this)},set:function(r){Nt(Ft,this,r/255),Nt(Mt,this,Sa(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(K_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,Z_(o));case "turn":return i.replace(l,Q_(o))}});try{var a;"Prototype"in p&&"Version"in p.Prototype&&(a=Array.from,Array.from=wd.default);var n=new rt(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 ot.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(Y_)||[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 fa(Ba,this,J_).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 An(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=he(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 An(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 J_(e){var t=new An(this);return t.r+=e,t.g+=e,t.b+=e,t}var ct=An;function Sa(e,t,r){return Math.min(Math.max(t,e),r)}function Z_(e){return e*180/Math.PI}function Q_(e){return e*360}function e2(e){var t=new ct;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var ua=e2;function t2(e){var t=p.getComputedStyle(e);return Wi(e,t)||ua(t).alpha===1}var r2=t2;function ol(e){if(!e.href)return false;var t=Ne.get("firstPageLink",a2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function a2(){var e;return p.location.origin?e=Wt(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Ms(t.actualNode)}):e=Wt(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var n2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,i2=/(\w+)\((\d+)/;function o2(e){var t=e.getPropertyValue("clip").match(n2),r=e.getPropertyValue("clip-path").match(i2);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 s2(e,t,r){var a=_a(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Rt(e);if(!i||i.nodeType!==9)return false;var o=Wt(m._tree,'img[usemap="#'.concat(ft(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Ui(l,t,r)})}function Ui(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Et?e:Ve(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=p.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=Ui(g,t,true)),n&&(n[i]=D),D}var S=p.getComputedStyle(e,null);if(S===null)return false;if(c==="area")return s2(e,t,r);if(S.getPropertyValue("display")==="none")return false;var T=parseInt(S.getPropertyValue("height")),I=parseInt(S.getPropertyValue("width")),L=Tr(e),P=L&&T===0,N=L&&I===0,q=S.getPropertyValue("position")==="absolute"&&(T<2||I<2)&&S.getPropertyValue("overflow")==="hidden";if(!t&&(o2(S)||S.getPropertyValue("opacity")==="0"||P||N||q)||!r&&(S.getPropertyValue("visibility")==="hidden"||!t&&Ri(e)))return false;var B=e.assignedSlot?e.assignedSlot:e.parentNode,W=false;return B&&(W=Ui(B,t,true)),n&&(n[i]=W),W}var l2=Ui;function u2(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=p.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var Fp=u2;function Rp(e,t){var r=Ip(t);do{var a=Ip(e);if(a===r||a===t)return c2(e,t);e=a;}while(e);return false}function Ip(e){for(var t=Ve(e),r=t.parent;r;){if(Tr(r.actualNode))return r.actualNode;r=r.parent;}}function c2(e,t){var r=p.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 p.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 Lp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h,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 Rt(n)===r}).reduce(function(n,i){if(ki(i)){var o=Lp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Rp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var d2=Lp;function f2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=h.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=m2(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:p2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:h2(a.search),hash:g2(a.hash),filename:l}}}function p2(e){var t=["443","80"];return t.includes(e)?"":e}function m2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function h2(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=he(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function g2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=he(r,1),n=a[0];return n==="#"?"":e}var v2=f2;function b2(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=p.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof p.HTMLBodyElement||t instanceof p.HTMLHtmlElement:true}var sl=b2,Pp=0,y2=(function(e){function t(r,a,n){var i;if(rr(this,t),i=Re(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Pp=0),i.nodeIndex=Pp++,i._isHidden=null,i._cache={},i._isXHTML=rn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),no().includes(o)||(o="text"),i._type=o;}return Ne.get("nodeMap")&&Ne.get("nodeMap").set(r,i),i}return ht(t,e),ar(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 p.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=p.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=bt(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Pf(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}}])})(Et),ll=y2;function w2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Ot=w2,ca=" [idsMap]";function Mp(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 Op(l)}))return;var o=new Set;t.forEach(function(l){var u,c=x2(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(d){c.isComplexSelector&&!ba(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 x2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Op(a))n=t["*"];else {if(a.id){var o;if(!t[ca]||!Object.hasOwn(t[ca],a.id)||!((o=t[ca][a.id])!==null&&o!==void 0&&o.length))return;n=t[ca][a.id].filter(function(T){return T.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?ul(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?ul(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?ul(S,n):S;}}return {nodes:n,isComplexSelector:i}}function Op(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function ul(e,t){return e.filter(function(r){return t.includes(r)})}function Xi(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Np(e,t){e.props.nodeType===1&&(Xi(e.props.nodeName,e,t),Xi("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[ca]=t[ca]||{},Ot(e.attr(r)).forEach(function(a){Xi(a,e,t[ca]);})),Xi("[".concat(r,"]"),e,t);}));}var cl;function dl(){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={};Ne.set("nodeMap",new WeakMap),Ne.set("selectorMap",r);var a=qp(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=cl,a}function D2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function fl(e,t,r){var a=new ll(e,t,r);return Np(a,Ne.get("selectorMap")),a}function Yi(e,t,r){var a=[];return e.forEach(function(n){var i=qp(n,r,t);i&&a.push.apply(a,Ee(i));}),a}function qp(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(ki(e))return cl=true,a=fl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=Yi(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),Yi(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=D2(e));p.getComputedStyle(e);return Yi(n,r,t)}if(e.nodeType===h.ELEMENT_NODE)return a=fl(e,r,t),n=Array.from(e.childNodes),a.children=Yi(n,a,t),[a];if(e.nodeType===h.TEXT_NODE)return [fl(e,r)]}function _2(e){return e?e.trim().split("-")[0].toLowerCase():""}var da=_2;function A2(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=m._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(`
|
|
367
367
|
|
|
368
|
-
`)}var
|
|
369
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Hp(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof p.Node)if(i.documentElement instanceof p.Node)r.push(e.flatTree[0]);else if(i.host instanceof p.Node){var o=Array.from(i.children).map(function(u){return Ve(u)});r.push.apply(r,Se(o));}else r.push(Ve(i));else if(i&&i.length)if(i.length>1)O2(e,t,i);else {var s=Eu(i[0]);r.push.apply(r,Se(s.map(function(u){return Ve(u)})));}}return r.filter(function(u){return u})}function O2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Eu(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Bp(i,e),e.frames.push(o)),o[t].push(r);});}function Ji(e,t){var r,a,n,i,o=this;e=Er(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=ee((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=F2(e),this.flatTree=t??cu(V2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Hp(this,"include"),this.exclude=Hp(this,"exclude"),Au("frame, iframe",this).forEach(function(s){yu(s,o)&&N2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=q2(this),this.frames.forEach(function(s){s.page=o.page;})),B2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(xu);}function N2(e,t){!lt(t)||cn(e.frames,"node",t)||e.frames.push(Bp(t,e));}function q2(e){var t=e.include;return t.length===1&&t[0].actualNode===g.documentElement}function B2(e){if(e.include.length===0&&e.frames.length===0){var t=cr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function V2(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 p.Element)return i.ownerDocument.documentElement;if(i instanceof p.Document)return i.documentElement}return g.documentElement}function H2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Ji(e),a=r.frames;return a.map(function(n){var i=n.node,o=be(n,j);o.initiator=false;var s=yi(i);return {frameSelector:s,frameContext:o}})}function jp(e){var t=m._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 j2(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=p.getComputedStyle(e),i=$p(n,"overflow-x"),o=$p(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function $p(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Tr=nt(j2);function zp(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Tr(r);return a&&t.push(a),t.concat(zp(r))},[])}function $2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,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(zp(g.body))}var z2=$2;function G2(){return Er(We)}function U2(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,u=t.isLink,l=u===void 0?false:u,c=e.createElement("style");if(l){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 Gp=U2,Gt;function W2(e){if(Gt&&Gt.parentNode)return Gt.styleSheet===void 0?Gt.appendChild(g.createTextNode(e)):Gt.styleSheet.cssText+=e,Gt;if(e){var t=g.head||g.getElementsByTagName("head")[0];return Gt=g.createElement("style"),Gt.type="text/css",Gt.styleSheet===void 0?Gt.appendChild(g.createTextNode(e)):Gt.styleSheet.cssText=e,t.appendChild(Gt),Gt}}var X2=W2;function hu(e){return !!e&&ee(e)==="object"&&typeof e.length=="number"&&!(e instanceof p.Node)}function yr(e,t){return !e||ee(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Up(e){return gu(e)||Zi(e)}function gu(e){return ["include","exclude"].some(function(t){return yr(e,t)&&Zi(e[t])})}function Zi(e){return typeof e=="string"||e instanceof p.Node||vu(e)||Qi(e)||hu(e)}function vu(e){return yr(e,"fromFrames")}function Qi(e){return yr(e,"fromShadowDom")}function Wp(e,t){var r=Ve(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=p.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=Wp(n,true);return r&&(r._isHidden=i),i}var Y2=Wp;function K2(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:!!We.htmlElms[a]}var bu=K2;function yu(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 Cr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Cr(c,e)});if(s.length===0)return true;var u=Xp(o),l=Xp(s);return Cr(l,u)}function Xp(e){var t,r=et(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Cr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function wu(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 J2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var xu=J2;function Ge(e){return e instanceof Ct?{vNode:e,domNode:e.actualNode}:{vNode:Ve(e),domNode:e}}function Z2(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)}),u=s.map(function(c,d){var h=[].concat(Se(r),[d]),D=/^https?:\/\/|^\/\//i.test(c);return _u(c,t,h,a,D)}),l=i.filter(function(c){return c.type!==3});return l.length&&u.push(Promise.resolve(t.convertDataToStylesheet({data:l.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)}var Yp=Z2;function Q2(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=eA(e);return i?Yp(e,t,r,a,n):_u(e.href,t,r,a,true)}function eA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Du=Q2;function tA(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new p.XMLHttpRequest;s.open("GET",e),s.timeout=qe.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(u){if(u.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 Du(o.sheet,t,r,a,o.isCrossOrigin)})}var _u=tA;function rA(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var wr=rA,aA=(function(){function e(){if(p.performance&&p.performance)return p.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=p.performance)!==null&&i!==void 0&&i.mark&&p.performance.mark(n);},measure:function(n,i,o){var s,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=p.performance)!==null&&s!==void 0&&s.measure){try{p.performance.measure(n,i,o);}catch(l){this._log(l);}u||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,u=function(T){return Array.isArray(T)?T[T.length-1]:T},l=function(T){i._log("Measure "+T.name+" took "+T.duration+"ms");};if(!(!((o=p.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=p.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=u(p.performance.getEntriesByName("mark_axe_start"))||u(p.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=p.performance.getEntriesByType("measure").filter(function(S){return S.startTime>=c.startTime}),h=0;h<d.length;++h){var D=d[h];if(D.name===n){l(D);return}else n||l(D);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=p.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 u=0,l=o;u<l.length;u++){var c=l[u];p.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){aa(n);}}})(),Ye=aA;function Kp(){if(g.elementsFromPoint)return g.elementsFromPoint;if(g.msElementsFromPoint)return g.msElementsFromPoint;var e=(function(){var n=g.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=g.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,u,l=[],c=[];for(g.head.appendChild(a);(o=g.elementFromPoint(n,i))&&l.indexOf(o)===-1;)l.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(l.indexOf(g.documentElement)<l.length-1&&(l.splice(l.indexOf(g.documentElement),1),l.push(g.documentElement)),s=c.length;u=c[--s];)l[s].style.setProperty(t,u.value?u.value:"",u.priority);return g.head.removeChild(a),l}}typeof p.addEventListener=="function"&&(g.elementsFromPoint=Kp());function nA(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Cn=nA;function Jp(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 iA(e,t,r){for(var a=Oe.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=Jp(i,t,null,e[0].shadowId,a.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var u,l,c=o.vNodes[o.vNodesIndex++],d=null,h=null,D=(((u=o.anyLevel)===null||u===void 0?void 0:u.length)||0)+(((l=o.thisLevel)===null||l===void 0?void 0:l.length)||0),S=false,T=0;T<D;T++){var I,L,P,O=T<(((I=o.anyLevel)===null||I===void 0?void 0:I.length)||0)?o.anyLevel[T]:o.thisLevel[T-(((L=o.anyLevel)===null||L===void 0?void 0:L.length)||0)];if((!O[0].id||c.shadowId===o.parentShadowId)&&ba(c,O[0]))if(O.length===1)!S&&(!r||r(c))&&(s.push(c),S=true);else {var N=O.slice(1);if([" ",">"].includes(N[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+O[1].combinator);N[0].combinator===">"?(d=d||[]).push(N):(h=h||[]).push(N);}(!O[0].id||c.shadowId===o.parentShadowId)&&(P=o.anyLevel)!==null&&P!==void 0&&P.includes(O)&&(h=h||[]).push(O);}for(c.children&&c.children.length&&(n.push(o),o=Jp(c.children,h,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function oA(e,t,r){e=Array.isArray(e)?e:[e];var a=wi(t),n=Ip(e,a,r);return n||iA(e,a,r)}var xr=oA;function sA(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=uA(r);if(!a.length)return Promise.resolve();var n=g.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Gp(n);return lA(a,i).then(function(o){return Qp(o)})}var Zp=sA;function uA(e){var t=[],r=xr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:dn(a.actualNode)}});return Cn(r,[])}function lA(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=cA(i,o,t);if(!s)return Promise.all(r);var u=n+1,l={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:u},c=[],d=Promise.all(s.map(function(h,D){var S=[u,D];return Du(h,l,S,c)}));r.push(d);}),Promise.all(r)}function Qp(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(Qp(r)):t.concat(r)},[])}function cA(e,t,r){var a;return e.nodeType===11&&t?a=dA(e,r):a=fA(e),mA(a)}function dA(e,t){return Array.from(e.children).filter(pA).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 fA(e){return Array.from(e.styleSheets).filter(function(t){return t.media?em(t.media.mediaText):false})}function pA(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&&em(e.media)}function em(e){return e?!e.toUpperCase().includes("PRINT"):true}function mA(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function hA(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=xr(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 gA(i)}))}var tm=hA;function gA(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function rm(e){var t={cssom:Zp,media:tm};return am(e)?new Promise(function(r,a){var n=nm(e),i=n.assets,o=n.timeout,s=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(u){return t[u](e).then(function(l){return ce({},u,l)})})).then(function(u){var l=u.reduce(function(c,d){return Pe({},c,d)},{});clearTimeout(s),r(l);}).catch(function(u){clearTimeout(s),a(u);});}):Promise.resolve()}function vA(e){return ee(e)==="object"&&Array.isArray(e.assets)}function am(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:vA(e.preload)}function nm(e){var t=qe.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=Cn(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 eo(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},a=cn(m._audit.rules,"id",e.id)||{};e.tags=Er(a.tags||[]);var n=im(t,true,a),i=im(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Ds(e,Er(r[e.id]||{}));}function bA(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:pu()}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 im(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?(ee(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=bA(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=mu(o.message,a.data)),Ds(a,o);}}function yA(e,t){return xr(e,t)}var Ut=yA;function om(e,t){var r,a,n=m._audit&&m._audit.tagExclude?m._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 wA(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?om(e,a.values):om(e,[])}var sm=wA;function um(e,t){if(!t)return e;var r=e.cloneNode(false),a=Wa(r);if(r.nodeType===1){var n=r.outerHTML;r=Oe.get(n,function(){return lm(r,a,e,t)});}else r=lm(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(um(i,t));}),r}function lm(e,t,r,a){return t&&(e=g.createElement(e.nodeName),Array.from(t).forEach(function(n){xA(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function xA(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:ha(e,r[t])}function Au(e,t){var r=[],a;if(m._selectCache)for(var n=0,i=m._selectCache.length;n<i;n++){var o=m._selectCache[n];if(o.selector===e)return o.result}for(var s=DA(t.include),u=_A(t),l=0;l<s.length;l++){a=s[l];var c=xr(a,e,u);r=AA(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function DA(e){return e.reduce(function(t,r){return (!t.length||!Cr(t[t.length-1],r))&&t.push(r),t},[])}function _A(e){return !e.exclude||e.exclude.length===0?null:function(t){return yu(t,e)}}function AA(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 to(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ee(e)!=="object"||e===null)return {message:String(e)};var r={},a=et(qe.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(ee(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?to(e.cause,t+1):"..."),r}var EA=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,u=r.errorNode;return rr(this,t),n=ke(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=to(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),u&&(n.errorNode=u),n}return wt(t,e),ar(t)})(Q(Error)),ro=EA;function CA(e,t,r){if(e===p)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function SA(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return CA(r,a,n)});}var kA=SA;function TA(e){var t=Array.isArray(e)?Se(e):[e];return cm(t,g)}function cm(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?cm(e,a.shadowRoot):null}function Eu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g,r=Array.isArray(e)?Se(e):[e];return e.length===0?[]:dm(r,t)}function dm(e,t){var r=Y(e),a=r[0],n=Bn(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=et(i),u;try{for(s.s();!(u=s.n()).done;){var l=u.value;l!=null&&l.shadowRoot&&o.push.apply(o,Se(dm(n,l.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function FA(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var ao=FA,fm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 RA(e){for(var t=fm;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 pm(e){e=Array.isArray(e)?e:fm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(pm(r).map(function(i){return n+i})):t.push(n);}),t}var no=RA,IA=(function(e){function t(r){var a;return rr(this,t),a=ke(this,t),a._props=PA(r),a._attrs=MA(r),a}return wt(t,e),ar(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)}}])})(Ct),Cu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},mm={},LA=Object.keys(Cu);LA.forEach(function(e){mm[Cu[e]]=e;});function PA(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:mm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Cu[e.nodeName])!==null&&r!==void 0?r:1;Ue(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Ue(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(),ao().includes(o)||(o="text"));var s=Pe({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function MA(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(Ue(ee(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 hm=IA;function OA(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),a=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(l){a.push(l),o();};try{m.plugins[i].cleanup(o,s);}catch(u){s(u);}});});var n=m.utils.getFlattenedTree(g.body);m.utils.querySelectorAll(n,"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){a.length===0?e(i):t(a);}).catch(t);}var gm=OA,Sn={},vm;function bm(e){return Sn.hasOwnProperty(e)}function Su(e){return typeof e=="string"&&Sn[e]?Sn[e]:typeof e=="function"?e:vm}function NA(e,t,r){Sn[e]=t,r&&(vm=t);}function qA(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 a=r.split("-"),n=me(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),u=me(s,3),l=u[0],c=u[1],d=u[2],h=m.version.split("-"),D=me(h,2),S=D[0],T=D[1],I=S.split(".").map(Number),L=me(I,3),P=L[0],O=L[1],N=L[2];if(l!==P||O<c||O===c&&N<d||l===P&&c===O&&d===N&&o&&o!==T)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||bm(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(U){if(!U.id)throw new TypeError("Configured check ".concat(JSON.stringify(U)," is invalid. Checks must be an object with at least an id property"));t.addCheck(U);});}var B=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(U){if(!U.id)throw new TypeError("Configured rule ".concat(JSON.stringify(U)," is invalid. Rules must be an object with at least an id property"));B.push(U.id),t.addRule(U);});}if(e.disableOtherRules&&t.rules.forEach(function(U){B.includes(U.id)===false&&(U.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&&aD(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(qe.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var BA=qA;function VA(e){cr.updateMessenger(e);}function HA(e){e=e||[];var t=e.length?m._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):m._audit.rules,r=m._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 jA=HA;function $A(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Dn(r)){var n=p.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=St(e),o=i&&p.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var zA=$A,ym={};nr(ym,{getAllCells:function(){return ku},getCellPosition:function(){return qi},getHeaders:function(){return io},getScope:function(){return Hs},isColumnHeader:function(){return Ea},isDataCell:function(){return xm},isDataTable:function(){return oo},isHeader:function(){return KA},isRowHeader:function(){return Ca},toArray:function(){return kr},toGrid:function(){return kr},traverse:function(){return Tu}});function GA(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 ku=GA;function wm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Ca:Ea,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),u=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,l=u-1,c=t.y+l,d=t.x+o,h=e==="row"?t.y:0,D=e==="row"?0:t.x,S,T=[],I=c;I>=h&&!S;I--)for(var L=d;L>=D;L--){var P=r[I]?r[I][L]:void 0;if(P){var O=m.utils.getNodeFromTree(P);if(O[a]){S=O[a];break}T.push(P);}}return S=(S||[]).concat(T.filter(n)),T.forEach(function(N){var B=m.utils.getNodeFromTree(N);B[a]=S;}),S}function UA(e,t){if(e.getAttribute("headers")){var r=gr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=kr(_a(e,"table")));var a=qi(e,t),n=wm("row",a,t),i=wm("col",a,t);return [].concat(n,i).reverse()}var io=UA;function WA(e){if(!e.children.length&&!e.textContent.trim())return false;var t=je(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var xm=WA;function XA(e){var t=je(e);if((t==="presentation"||t==="none")&&!bt(e))return false;if(e.getAttribute("contenteditable")==="true"||_a(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||dr(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,u=false,l=0;l<i;l++){o=e.rows[l];for(var c=0,d=o.cells.length;c<d;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!u&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(u=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(je(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var h=e.rows[Math.ceil(i/2)];if(h.cells.length===1&&h.cells[0].colSpan===1)return false;if(h.cells.length>=5||u)return true;for(var D,S,T=0;T<i;T++){if(o=e.rows[T],D&&D!==p.getComputedStyle(o).getPropertyValue("background-color")||(D=p.getComputedStyle(o).getPropertyValue("background-color"),S&&S!==p.getComputedStyle(o).getPropertyValue("background-image")))return true;S=p.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Cs(e).width>ki(p).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var oo=XA;function YA(e){if(Ea(e)||Ca(e))return true;if(e.getAttribute("id")){var t=pt(e.getAttribute("id"));return !!g.querySelector('[headers~="'.concat(t,'"]'))}return false}var KA=YA;function Dm(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=Dm(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function JA(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 Dm(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Tu=JA,_m={};nr(_m,{allowedAttr:function(){return Am},arialabelText:function(){return vn},arialabelledbyText:function(){return gn},getAccessibleRefs:function(){return Fu},getElementUnallowedRoles:function(){return Sm},getExplicitRole:function(){return je},getImplicitRole:function(){return vr},getOwnedVirtual:function(){return wn},getRole:function(){return Be},getRoleType:function(){return dr},getRolesByType:function(){return lE},getRolesWithNameFromContents:function(){return fE},implicitNodes:function(){return mE},implicitRole:function(){return vr},isAccessibleRef:function(){return so},isAriaRoleAllowedOnElement:function(){return Cm},isComboboxPopup:function(){return Iu},isUnsupportedRole:function(){return Bs},isValidRole:function(){return bn},label:function(){return Rm},labelVirtual:function(){return Hi},lookupTable:function(){return Tm},namedFromContents:function(){return Zf},requiredAttr:function(){return Im},requiredContext:function(){return Lu},requiredOwned:function(){return Pu},validateAttr:function(){return uo},validateAttrValue:function(){return Lm}});function ZA(e){var t=We.ariaRoles[e],r=Se($r());return t&&(t.allowedAttrs&&r.push.apply(r,Se(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Se(t.requiredAttrs))),r}var Am=ZA,QA=/^idrefs?$/;function Em(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=Re(e.getAttribute(i)||"");if(o){var s=et(Ot(o)),u;try{for(s.s();!(u=s.n()).done;){var l=u.value;t.has(l)?t.get(l).push(e):t.set(l,[e]);}}catch(d){s.e(d);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Em(e.childNodes[c],t,r);}function eE(e){var t;e=e.actualNode||e;var r=Rt(e);r=r.documentElement||r;var a=Oe.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(We.ariaAttrs).filter(function(o){var s=We.ariaAttrs[o].type;return QA.test(s)});Em(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Fu=eE;function tE(e,t){var r=e instanceof Ct?e:Ve(e),a=vr(r),n=zr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Cm=tE,rE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],aE={header:"banner",footer:"contentinfo"};function nE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Ot(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return bn(a)})}function iE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ge(e),a=r.vNode;if(!bu(a))return [];var n=a.props.nodeName,i=vr(a)||aE[n],o=nE(a);return o.filter(function(s){return !oE(s,a,t,i)})}function oE(e,t,r,a){return r&&e===a?true:rE.includes(e)&&dr(e)!==a?false:Cm(t,e)}var Sm=iE;function sE(e){return Object.keys(We.ariaRoles).filter(function(t){return We.ariaRoles[t].type===e})}var ka=sE;function uE(e){return ka(e)}var lE=uE;function cE(){return Oe.get("ariaRolesNameFromContent",function(){return Object.keys(We.ariaRoles).filter(function(e){return We.ariaRoles[e].nameFromContent})})}var Ru=cE;function dE(){return Ru()}var fE=dE,km=function(t){return t===null},It=function(t){return t!==null},Fr={};Fr.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}},Fr.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"],Fr.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:It}}]},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:It}}]},"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:It}}]},"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:It}}]},"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:It}}]},"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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Fr.implicitHtmlRole=$s,Fr.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:It}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:It}},{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"]}],Fr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:km}},{nodeName:"img",attributes:{alt:km}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Fr.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=m.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=m.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}},Fr.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 Tm=Fr;function pE(e){var t=null,r=Tm.role[e];return r&&r.implicit&&(t=Er(r.implicit)),t}var mE=pE;function hE(e){return !!Fu(e).length}var so=hE;function Iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Be(e);if(r??(r=Lf["aria-haspopup"].values),!r.includes(a))return false;var n=gE(e);if(Fm(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=dn(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(Fm)}var Fm=function(t){return t&&Be(t)==="combobox"};function gE(e){for(;e=e.parent;)if(Be(e,{noPresentational:true})!==null)return e;return null}function vE(e){return e=Ve(e),Hi(e)}var Rm=vE;function bE(e){var t=We.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Se(t.requiredAttrs)}var Im=bE;function yE(e){var t=We.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Se(t.requiredContext)}var Lu=yE;function wE(e){var t=We.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Se(t.requiredOwned)}var Pu=wE;function xE(e,t){e=e instanceof Ct?e:Ve(e);var r,a,n=e.attr(t),i=We.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=Ot(n),a.reduce(function(u,l){return u&&i.values.includes(l)},a.length!==0);case "idref":try{var o=Rt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return gr(e,t).some(function(u){return !!u});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 Lm=xE;function DE(e){var t=We.ariaAttrs[e];return !!t}var uo=DE;function _E(e){var t=ku(e),r=this,a=[];t.forEach(function(s){var u=s.getAttribute("headers");u&&(a=a.concat(u.split(/\s+/)));var l=s.getAttribute("aria-labelledby");l&&(a=a.concat(l.split(/\s+/)));});var n=t.filter(function(s){return Re(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(je(s))!==-1}),i=kr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var u=qi(s,i),l=false;Ea(s)&&(l=Tu("down",u,i).find(function(c){return !Ea(c)&&io(c,i).includes(s)})),!l&&Ca(s)&&(l=Tu("right",u,i).find(function(c){return !Ca(c)&&io(c,i).includes(s)})),l||r.relatedNodes(s),o=o&&l;}}),o?true:void 0}var AE=_E,kn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Pm=kn[0],Mm=kn[1],Om=kn[2],Mu=kn[3];function EE(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]=Be(o));}var u=ce(ce(ce(ce({},Om,new Set),Pm,new Set),Mm,new Set),Mu,new Set);t.forEach(function(h){if(!(!h.hasAttribute("headers")||!lt(h))){var D=h.getAttribute("headers").trim();if(!D){u[Mu].add(h);return}var S=h.getAttribute("id"),T=Ot(D);T.forEach(function(I){S&&I===S?u[Om].add(h):r[I]?["columnheader","rowheader"].includes(r[I])||u[Mm].add(h):u[Pm].add(h);});}});var l=et(kn),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;if(u[d].size>0)return this.relatedNodes(Se(u[d])),d===Mu?void 0:(this.data({messageKey:d}),!1)}}catch(h){l.e(h);}finally{l.f();}return true}function CE(e){var t=[],r=ku(e),a=kr(e);return r.forEach(function(n){if(zi(n)&&xm(n)&&!Rm(n)){var i=io(n,a).some(function(o){return o!==null&&!!zi(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var SE=CE;function kE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var TE=kE,FE=RE;function RE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(IE),i=n?Re(Gr(n)):false;return !i||!a?false:Re(a).toLowerCase()===Re(i).toLowerCase()}}function IE(e){return e.props.nodeName==="caption"}function LE(e){return Ap(g)?e.nodeName.toUpperCase()==="TH":true}var PE=LE;function ME(e){var t=kr(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 OE=ME;function NE(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=Gr(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var qE=NE,Nm={};nr(Nm,{getAriaRolesByType:function(){return ka},getAriaRolesSupportingNameFromContent:function(){return Ru},getElementSpec:function(){return zr},getElementsByContentType:function(){return Vs},getGlobalAriaAttrs:function(){return $r},implicitHtmlRoles:function(){return $s}});function BE(e,t,r){var a=je(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=Be(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=$r().some(function(u){return r.hasAttr(u)}),o=bt(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function VE(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=VE;function jE(e){return $t(e)}var $E=jE;function zE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,u=t.noImportant,l=t.multiLineOnly;if(!u&&e.style.getPropertyPriority(r)!=="important"||l&&!Cp(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(Pe({value:d},c)),true;var h=GE(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Pe({value:h},c)),typeof h=="number")return (typeof n!="number"||h>=n)&&(typeof i!="number"||h<=i)}function GE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=p.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var u=parseFloat(i.getPropertyValue("font-size")),l=Math.round(s/u*100)/100;return isNaN(l)?o:l}function UE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var WE=UE;function XE(){}var YE=XE;function KE(){var e=g.title;return !!Re(e)}var JE=KE;function ZE(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 QE=ZE;function eC(e,t,r){try{return !!Re(gn(r))}catch{return}}var tC=eC;function rC(e,t,r){return !!Re(vn(r))}var aC=rC;function nC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Rt(e),a=Array.from(r.querySelectorAll('[id="'.concat(pt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var iC=nC;function oC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var sC=oC;function uC(e,t,r){var a=Re(r.attr("title")).toLowerCase();return this.data(a),true}var lC=uC;function cC(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 dC=cC;function fC(e){var t=Ms(e,"href");return t?lt(t)||void 0:false}var pC=fC,mC=["alert","log","status"];function hC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Oe.get("regionlessNodes",function(){return gC(t)});return !a.includes(r)}function gC(e){var t=qm(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==g.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function qm(e,t){var r=e.actualNode;if(Be(e)==="button"||bC(e,t)||["iframe","frame"].includes(e.props.nodeName)||iu(e.actualNode)&&Ms(e.actualNode,"href")||!lt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==g.body&&zi(r,true)&&!vC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return qm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function vC(e){return ["none","presentation"].includes(Be(e))&&!$i(e)}function bC(e,t){var r=e.actualNode,a=Be(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=ka("landmark");return !!(["assertive","polite"].includes(n)||mC.includes(a)||i.includes(a)||t.regionMatcher&&yn(e,t.regionMatcher))}function yC(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=et(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(wu(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 wC=yC;function xC(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 DC(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 Ou(e){var t=p.getComputedStyle(DC(e));return {fontWeight:xC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Bm(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 _C(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(I){return I.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(I){return I.nodeName.toUpperCase()==="P"}),u=Ou(e),l=o?Ou(o):null,c=s?Ou(s):null,d=t.passLength,h=t.failLength,D=e.textContent.trim().length,S=o?.textContent.trim().length;if(D>S*d||!l||!Bm(u,l,i))return true;var T=Da(r,"blockquote");if(!(T&&T.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Bm(u,c,i))&&!(D>S*h))return false}var AC=_C,EC=/[;,\s]/,CC=/^[0-9.]+$/;function SC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(EC),u=me(s,1),l=u[0];if(!l.match(CC))return true;var c=parseFloat(l);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function kC(e,t,r){var a=Ut(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var TC=kC,Vm={};nr(Vm,{aria:function(){return _m},color:function(){return Hm},dom:function(){return _s},forms:function(){return Qm},matches:function(){return yn},math:function(){return pf},standards:function(){return Nm},table:function(){return ym},text:function(){return hn},utils:function(){return Po}});var Hm={};nr(Hm,{Color:function(){return ct},centerPointOfRect:function(){return RC},elementHasImage:function(){return Gi},elementIsDistinct:function(){return $m},filteredRectStack:function(){return MC},flattenColors:function(){return Dr},flattenShadowColors:function(){return qu},getBackgroundColor:function(){return Fn},getBackgroundStack:function(){return Bu},getContrast:function(){return Ta},getForegroundColor:function(){return fo},getOwnBackgroundColor:function(){return la},getRectStack:function(){return zm},getStackingContext:function(){return Hu},getStrokeColorsFromShadows:function(){return Vu},getTextShadowColors:function(){return co},hasValidContrastRatio:function(){return a5},incompleteData:function(){return it},parseTextShadows:function(){return Wm},stackingContextToColor:function(){return Tn}});function FC(e){if(!(e.left>p.innerWidth)&&!(e.top>p.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),p.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),p.innerHeight-1);return {x:t,y:r}}}var RC=FC;function jm(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function IC(e,t){var r=p.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,u){var l=new ct;return l.parseString(r.getPropertyValue(u+"-color")),s||r.getPropertyValue(u+"-style")!=="none"&&parseFloat(r.getPropertyValue(u+"-width"))>0&&l.alpha!==0},false);if(a)return true;var n=p.getComputedStyle(t);if(jm(r)[0]!==jm(n)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,u){return s||r.getPropertyValue(u)!==n.getPropertyValue(u)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var $m=IC;function LC(e){var t=Ff(e),r=Qs(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var zm=LC;function PC(e){var t=zm(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(u,l){return u===s[l]})||r.includes(e);}}),a?t[0]:(it.set("bgColor","elmPartiallyObscuring"),null)}return it.set("bgColor","outsideViewport"),null}var MC=PC,OC=["hue","saturation","color","luminosity"],Gm={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 Dr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=qC(t,e,r),n=Nu(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Nu(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Nu(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=NC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new ct(n,i,o,s);var u=Math.round(n/s),l=Math.round(i/s),c=Math.round(o/s);return new ct(u,l,c,s)}function Nu(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function NC(e,t,r){return Math.min(Math.max(t,e),r)}function qC(e,t,r){if(OC.includes(r))return Gm[r](e,t);var a=new ct;return ["r","g","b"].forEach(function(n){a[n]=Gm[r](e[n],t[n]);}),a}function qu(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 ct(a,n,i,o)}function Bu(e){for(var t=Qs(e).map(function(n){return n=Sp(n,e),n=BC(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return it.set("bgColor","bgOverlap"),null;if(r!==0&&!VC(a,t[0]))return it.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function BC(e){var t=e.indexOf(g.body),r=e,a=la(p.getComputedStyle(g.documentElement));if(t>1&&a.alpha===0&&!Gi(g.documentElement)){t>1&&(r.splice(t,1),r.push(g.body));var n=r.indexOf(g.documentElement);n>0&&(r.splice(n,1),r.push(g.documentElement));}return r}function VC(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,lo=.5,jC=1.5,Um=["top","right","bottom","left"];function Vu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=$C(e),i=Object.entries(n).map(function(o){var s=me(o,2),u=s[0],l=s[1],c=Um.filter(function(d){return l[d].length!==0}).length;return {colorStr:u,sides:l,edgeCount:c}});return !a&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(zC).filter(function(o){return o!==null})}function $C(e){var t={},r=et(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 u=t[o],l=me(s,2),c=l[0],d=l[1];c>lo?u.right.push(c):-c>lo&&u.left.push(-c),d>lo?u.bottom.push(d):-d>lo&&u.top.push(-d);}}catch(h){r.e(h);}finally{r.f();}return t}function zC(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new ct;n.parseString(t);var i=0,o=true;return Um.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(u){return u>jC}));}),o||(n.alpha=1-Math.pow(HC,i)),n}function Wm(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)Ue(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Ue(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]===",")Ue(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 u=s.pixels;u.length===2&&u.push(0);}),a}function co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=p.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var u=o.getPropertyValue("font-size"),l=parseInt(u);Ue(isNaN(l)===false,"Unable to determine font-size value ".concat(u));var c=[],d=Wm(s),h=et(d),D;try{for(h.s();!(D=h.n()).done;){var S=D.value,T=S.colorStr||o.getPropertyValue("color"),I=me(S.pixels,3),L=I[0],P=I[1],O=I[2],N=O===void 0?0:O;if(!(a&&N>=l*a)){if(r&&N<l*r){c.push({colorStr:T,pixels:S.pixels});continue}if(c.length>0){var B=Vu(c,{ignoreEdgeCount:n});if(B===null)return null;i.push.apply(i,Se(B)),c.splice(0,c.length);}var U=GC({colorStr:T,offsetX:L,offsetY:P,blurRadius:N,fontSize:l});i.push(U);}}}catch(te){h.e(te);}finally{h.f();}if(c.length>0){var K=Vu(c,{ignoreEdgeCount:n});if(K===null)return null;i.push.apply(i,Se(K));}return i}function GC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new ct(0,0,0,0);var o=new ct;return o.parseString(t),o.alpha*=UC(n,i),o}function UC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Hu(e,t){var r=Ve(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Bu(e),t.forEach(function(i){var o,s=Ve(i),u=YC(s),l=s._stackingOrder.filter(function(h){var D=h.vNode;return !!D});l.forEach(function(h,D){var S,T=h.vNode,I=(S=l[D-1])===null||S===void 0?void 0:S.vNode,L=Ym(n,T,I);D===0&&!n.get(T)&&a.unshift(L),n.set(T,L);});var c=(o=l[l.length-1])===null||o===void 0?void 0:o.vNode,d=Ym(n,s,c);l.length||a.unshift(d),d.bgColor=u;}),r._stackingContext=a,a}function Tn(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,Xm()),n=Dr(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 ct?r=e:r=Tn(e).color;var a=Tn(t).color;return Dr(a,r,t.blendMode)}function Xm(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new ct(0,0,0,0),blendMode:XC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function XC(e){return e||void 0}function Ym(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Xm(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function YC(e){var t=new ct;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Fn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=Ve(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,Se(n.bgElms)),it.set("bgColor",n.incompleteData),n.bgColor;var i=KC(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:it.get("bgColor")},i}function KC(e,t,r){var a,n,i=Bu(e);if(!i)return null;var o=Zs(e),s=(a=co(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(qu)}]);for(var u=0;u<i.length;u++){var l=i[u],c=p.getComputedStyle(l);if(Gi(l,c))return t.push(l),null;var d=void 0;try{if(d=la(c),d.alpha===0)continue}catch(T){if(T&&it.get("colorParse"))return null;throw T}if(c.getPropertyValue("display")!=="inline"&&!Km(l,o))return t.push(l),it.set("bgColor","elmPartiallyObscured"),null;if(t.push(l),d.alpha===1)break}var h=Hu(e,i);s=h.map(Tn).concat(s);var D=JC(e,i.includes(g.body));if((n=s).unshift.apply(n,Se(D)),s.length===0)return new ct(255,255,255,1);var S=s.reduce(function(T,I){return Dr(I.color,T.color instanceof ct?T.color:T,I.blendMode)});return Dr(S.color instanceof ct?S.color:S,new ct(255,255,255,1))}function Km(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=p.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),u=parseInt(i.getPropertyValue("padding-right"),10),l=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof p.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+u,n=r.top+e.scrollHeight+l+c),t.every(function(d){return d.top>=r.top&&d.bottom<=n&&d.left>=r.left&&d.right<=a})}function Jm(e){return e||void 0}function JC(e,t){var r=[];if(!t){var a=g.documentElement,n=g.body,i=p.getComputedStyle(a),o=p.getComputedStyle(n),s=la(i),u=la(o),l=u.alpha!==0&&Km(n,e.getBoundingClientRect());(u.alpha!==0&&s.alpha===0||l&&u.alpha!==1)&&r.unshift({color:u,blendMode:Jm(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!l||l&&u.alpha!==1)&&r.unshift({color:s,blendMode:Jm(i.getPropertyValue("mix-blend-mode"))});}return r}function ZC(e,t){if(!t||!e)return null;t.alpha<1&&(t=Dr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Ta=ZC;function fo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=p.getComputedStyle(e),i=[function(){return e5(n,a)},function(){return QC(n)},function(){return co(e,{minRatio:0})}],o=[];try{for(var s=0,u=i;s<u.length;s++){var l=u[s],c=l();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(T){if(T&&it.get("colorParse"))return null;throw T}var d=o.reduce(function(T,I){return Dr(T,I)});if(r??(r=Fn(e,[])),r===null){var h=it.get("bgColor");return it.set("fgColor",h),null}var D=Hu(e),S=Zm(D,e);return Dr(t5(d,S,D),new ct(255,255,255,1))}function QC(e){return new ct().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function e5(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 ct().parseString(s)}function t5(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(Tn);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,u){return Dr(u.color,s.color instanceof ct?s.color:s)},{color:new ct(0,0,0,0),blendMode:"normal"});e=Dr(e,o),t=t.ancestor;}return e}function Zm(e,t){var r=et(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=Zm(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function r5(e,t,r,a){var n=Ta(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 a5=r5,Qm={};nr(Qm,{isAriaCombobox:function(){return ip},isAriaListbox:function(){return np},isAriaRange:function(){return op},isAriaTextbox:function(){return ap},isDisabled:function(){return Rn},isNativeSelect:function(){return rp},isNativeTextbox:function(){return tp}});var n5=["fieldset","button","select","input","textarea"];function e1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return n5.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=e1(e.parent):t=false,e._isDisabled=t,t}var Rn=e1;function i5(e,t,r){var a=hn.accessibleTextVirtual(r),n=hn.sanitize(hn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:_s.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var o5=i5;function t1(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 ee(o)!==ee(s)?false:ee(o)==="object"||ee(s)==="object"?t1(o,s):o===s});return n}function s5(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 u,l=t[s],c=l.data,d=c.name,h=c.urlProps;if(a[d])return 1;var D=t.filter(function(T,I){var L=T.data;return L.name===d&&I!==s}),S=D.every(function(T){var I=T.data;return t1(I.urlProps,h)});D.length&&!S&&(l.result=void 0),l.relatedNodes=[],(u=l.relatedNodes).push.apply(u,Se(D.map(function(T){return T.relatedNodes[0]}))),a[d]=D,r.push(l);},i=0;i<t.length;i++)n(i);return r}var u5=s5;function l5(e){var t=Be(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=me(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 c5(){var e=Oe.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=xr(m._tree[0],t,lt);return e=r.map(function(a){return {ancestry:[yi(a.actualNode)],level:l5(a)}}),this.data({headingOrder:e}),Oe.set("headingOrder",r),true}var d5=c5;function f5(e){var t=m5(e);return e.forEach(function(r){r.result=p5(r,t);}),e}function p5(e,t){var r,a,n,i,o=r1(t,e.node.ancestry),s=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,u=(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-u<=1}function m5(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(h5,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function h5(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=a1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return v5(s,n)}),o=g5(e,n);return o===-1?e.push.apply(e,Se(i)):e.splice.apply(e,[o,0].concat(Se(i))),e}function g5(e,t){for(;t.length;){var r=r1(e,t);if(r!==-1)return r;t=a1(t,1);}return -1}function r1(e,t){return e.findIndex(function(r){return wu(r.ancestry,t)})}function v5(e,t){var r=t.concat(e.ancestry);return Pe({},e,{ancestry:r})}function a1(e,t){return e.slice(0,e.length-t)}function b5(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Sr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Sr.bind(null,a),o=Mi(r),s=y5(r,o),u=w5(r,o),l=u.fullyObscuringElms,c=u.partialObscuringElms;if(s.length&&(l.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(In(s));return}if(l.length)return this.relatedNodes(In(l)),this.data({messageKey:"obscured"}),true;var d=er(r)?false:void 0;if(!i(n))return this.data(Pe({minSize:a},po(n))),d;var h=_5(c);if(!h.length)return this.data(Pe({minSize:a},po(n))),true;var D=x5(r,h,a);if(!D){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(D)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(In(s));return}var S=h.every(er),T="partiallyObscured".concat(S?"":"NonTabbable");return this.data(Pe({messageKey:T,minSize:a},po(D))),this.relatedNodes(In(h)),S?d:void 0}return this.data(Pe({minSize:a},po(D||n))),this.relatedNodes(In(h)),true}function y5(e,t){return t.filter(function(r){return !n1(r,e)&&i1(e,r)})}function w5(e,t){var r=[],a=[],n=et(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!i1(e,o)&&Ts(e,o)&&A5(o)!=="none"&&(n1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function x5(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=Fs(a,n);}catch{return null}return D5(i,r)}function D5(e,t){return e.reduce(function(r,a){var n=Sr(t,r),i=Sr(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 _5(e){return e.filter(function(t){return dr(t)==="widget"&&bt(t)})}function n1(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 A5(e){return e.getComputedStylePropertyValue("pointer-events")}function po(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function i1(e,t){return Cr(e,t)&&!er(t)}function In(e){return e.map(function(t){var r=t.actualNode;return r})}var E5=.05;function C5(e,t,r){var a=t?.minOffset||24;if(Sr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=et(Mi(r,a)),s;try{for(o.s();!(s=o.n()).done;){var u=s.value;if(!(dr(u)!=="widget"||!bt(u))){var l=null;try{l=hf(r,u,a/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}l!==null&&(l=S5(l)*2,!(l+E5>=a)&&(i=Math.min(i,l),n.push(u)));}}}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(er)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),er(r)?false:void 0}function S5(e){return Math.round(e*10)/10}function k5(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,s=o===void 0?false:o,u=r.attr("content")||"";if(!u)return true;var l=u.split(/[;,]/).reduce(function(d,h){var D=h.trim();if(!D)return d;var S=D.split("="),T=me(S,2),I=T[0],L=T[1];if(!I||!L)return d;var P=I.toLowerCase().trim(),O=L.toLowerCase().trim();return P==="maximum-scale"&&O==="yes"&&(O=1),P==="maximum-scale"&&parseFloat(O)<0||(d[P]=O),d},{});if(s&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<s)return true;if(!s&&l["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(l["user-scalable"]);return !s&&l["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):l["maximum-scale"]&&parseFloat(l["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var T5=k5;function F5(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,s=t||{},u=s.degreeThreshold,l=u===void 0?0:u;if(!o||!o.length)return;for(var c=false,d=[],h=I(o),D=function(){var ne=T[S],le=h[ne],pe=le.root,Ee=le.rules,Le=Ee.filter(L);if(!Le.length)return 1;Le.forEach(function(we){var Fe=we.cssRules;Array.from(Fe).forEach(function(oe){var Ae=P(oe);if(Ae&&oe.selectorText.toUpperCase()!=="HTML"){var $=Array.from(pe.querySelectorAll(oe.selectorText))||[];d=d.concat($);}c=c||Ae;});});},S=0,T=Object.keys(h);S<T.length;S++)D();if(!c)return true;return d.length&&this.relatedNodes(d),false;function I(J){return J.reduce(function(ne,le){var pe=le.sheet,Ee=le.root,Le=le.shadowId,we=Le||"topDocument";if(ne[we]||(ne[we]={root:Ee,rules:[]}),!pe||!pe.cssRules)return ne;var Fe=Array.from(pe.cssRules);return ne[we].rules=ne[we].rules.concat(Fe),ne},{})}function L(J){var ne=J.type,le=J.cssText;return ne!==4?false:/orientation:\s*landscape/i.test(le)||/orientation:\s*portrait/i.test(le)}function P(J){var ne=J.selectorText,le=J.style;if(!ne||le.length<=0)return false;var pe=le.transform||le.webkitTransform||le.msTransform||false;if(!pe&&!le.rotate)return false;var Ee=O(pe),Le=N("rotate",le.rotate),we=Ee+Le;return !we||(we=Math.abs(we),Math.abs(we-180)%180<=l)?false:Math.abs(we-90)%90<=l}function O(J){if(!J)return 0;var ne=J.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ne)return 0;var le=me(ne,3),pe=le[1],Ee=le[2];return N(pe,Ee)}function N(J,ne){switch(J){case "rotate":case "rotateZ":return B(ne);case "rotate3d":var le=ne.split(",").map(function(we){return we.trim()}),pe=me(le,4),Ee=pe[2],Le=pe[3];return parseInt(Ee)===0?void 0:B(Le);case "matrix":case "matrix3d":return U(ne);default:return 0}}function B(J){var ne=J.match(/(deg|grad|rad|turn)/)||[],le=me(ne,1),pe=le[0];if(!pe)return 0;var Ee=parseFloat(J.replace(pe,""));switch(pe){case "rad":return K(Ee);case "grad":return te(Ee);case "turn":return fe(Ee);default:return parseInt(Ee)}}function U(J){var ne=J.split(",");if(ne.length<=6){var le=me(ne,2),pe=le[0],Ee=le[1],Le=Math.atan2(parseFloat(Ee),parseFloat(pe));return K(Le)}var we=parseFloat(ne[8]),Fe=Math.asin(we),oe=Math.cos(Fe),Ae=Math.acos(parseFloat(ne[0])/oe);return K(Ae)}function K(J){return Math.round(J*(180/Math.PI))}function te(J){return J=J%400,J<0&&(J+=400),Math.round(J/400*360)}function fe(J){return Math.round(360/(1/J))}}var R5=F5;function I5(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(l){if(!l.currentSrc)return 0;var c=s(l.currentSrc);return c?c.length===1?Math.abs(l.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(l.duration-(l.currentTime||0))}function s(l){var c=l.match(/#t=(.*)/);if(c){var d=me(c,2),h=d[1],D=h.split(",");return D.map(function(S){return /:/.test(S)?u(S):parseFloat(S)})}}function u(l){for(var c=l.split(":"),d=0,h=1;c.length>0;)d+=h*parseInt(c.pop(),10),h*=60;return parseFloat(d)}}var L5=I5;function P5(e,t){return t.isViolation?false:void 0}var M5=P5,o1=" > ";function O5(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(o1);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(o1);return t[i]&&(t[i].result=true),false})}var N5=O5;function q5(e,t,r){var a=Ut(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var B5=q5;function V5(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 H5=V5;function j5(e,t,r){var a=false,n=false,i=true,o=[],s=[],u=[];return r.children.forEach(function(l){var c=l.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!lt(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",h=Be(l),D=h==="listitem";!d&&!D&&o.push(c),d&&!D&&(s.push(c),u.includes(h)||u.push(h)),D&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:u.join(", ")}),true)}var $5=j5;function z5(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,u){var l=u.actualNode;return l.nodeName.toUpperCase()==="DIV"&&Be(l)===null?s.concat(u.children):s.concat(u)},[]),o=i.reduce(function(s,u){var l=u.actualNode,c=l.nodeName.toUpperCase();if(l.nodeType===1&<(l)){var d=je(l);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||s.badNodes.push(l));}else l.nodeType===3&&l.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function G5(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=je(a);return ["presentation","none","list"].includes(i)?true:i&&bn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function U5(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=s1(r.children);i.length;){var o,s=i.shift(),u=s.vChild,l=s.nested;if(t.divGroups&&!l&&X5(u)){if(!u.children)return;var c=s1(u.children,true);i.push.apply(i,Se(c));continue}var d=W5(u,l,t);d&&(n.includes(d)||n.push(d),(u==null||(o=u.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(u.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function W5(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,u=s.nodeName,l=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(l===3&&c.trim()!=="")return d+"#text";if(l!==1||!lt(e))return false;var h=je(e);return h?n.includes(h)?false:d+"[role=".concat(h,"]"):o.includes(u)?false:d+u}function X5(e){return e.props.nodeName==="div"&&je(e)===null}function s1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function Y5(e){var t=St(e),r=t.nodeName.toUpperCase(),a=je(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=St(t),r=t.nodeName.toUpperCase(),a=je(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var K5=Y5;function J5(e,t,r){var a=da(r.attr("lang")),n=da(r.attr("xml:lang"));return a===n}var Z5=J5;function Q5(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=da(i),s=t.value?!t.value.map(da).includes(o):!no(o);(o!==""&&s||i!==""&&!Re(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!tu(r)?false:(this.data(a),true)}var eS=Q5;function ju(e){return (e||"").trim()!==""}function tS(e,t,r){var a=typeof g<"u"?rn(g):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&ju(r.attr("xml:lang"))&&!ju(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return ju(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var rS=tS;function aS(e,t,r){var a=Be(e),n=kt(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var nS=aS;function iS(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 oS=iS;function sS(e,t,r){var a=ji(r),n=Bi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var uS=sS;function lS(e){var t=pt(e.getAttribute("id")),r=e.parentNode,a=Rt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !jr(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return lt(s)});if(i.length>1)return;var o=gr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var cS=lS;function dS(e,t){var r=u1(t),a=u1(e);return !r||!a?false:r.includes(a)}function u1(e){var t=xn(e,{emoji:true,nonBmp:true,punctuations:true});return Re(t)}function fS(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=oa(e).toLowerCase(),s=Re(Gr(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(Js(o)<1||Js(s)<1))return dS(s,o)}var pS=fS;function mS(e,t,r){try{var a=jt(r,"label");if(a){var n=Re(kt(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var hS=mS;function gS(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Rt(e),n=pt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!lt(i)){var o;try{o=kt(r).trim();}catch{return}var s=o==="";return s}}return false}var vS=gS;function bS(e,t,r){var a=ji(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=gr(e,"aria-describedby");n=i.map(function(o){return o?oa(o):""}).join("");}return Re(n)===Re(a)}var yS=bS;function wS(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Rt(r.actualNode),i=pt(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($t(s)){var u=Re(oa(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:u}),!!u}else return !0})}catch{return}}}var xS=wS;function DS(e,t,r){if(["none","presentation"].includes(Be(r)))return false;var a=jt(r,t.parentSelector);if(!a)return false;var n=br(a,true).toLowerCase();return n===""?false:n===kt(r).toLowerCase()}var _S=DS;function AS(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var ES=AS;function CS(e,t,r){var a=wr(r.attr("tabindex"));return a===null||a<=0}var SS=CS;function kS(e,t,r){if(r.children)try{var a=l1(r);if(!a.length)return !0;var n=a.filter(TS);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function l1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){dr(r)==="widget"&&bt(r)?t.push(r):t.push.apply(t,Se(l1(r)));}),t}function TS(e){var t=wr(e.attr("tabindex"));return t!==null&&t<0}function FS(e){var t=ka("landmark"),r=St(e),a=Be(e);for(this.data({role:a});r;){var n=je(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=vr(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=St(r);}return true}var RS=FS;function IS(e,t,r){if(r.children)try{return !r.children.some(function(a){return c1(a)})}catch{return}}function c1(e){if(er(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 c1(t)})}function LS(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||_n()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),u=parseInt(o.getComputedStylePropertyValue("width")),l=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(u===0||l===0)&&s==="none"})?void 0:false}var PS=LS;function MS(e,t,r){if(!er(r))return false;try{return !kt(r)}catch{return}}var OS=MS;function NS(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(_n()){this.relatedNodes(a);return}return true}var qS=NS;function BS(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return er(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=jt(r.parent,"[contenteditable]");return o?a(o):false}}var VS=BS;function HS(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||_n()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),u=parseInt(o.getComputedStylePropertyValue("width")),l=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(u===0||l===0)&&s==="none"})?void 0:false}var jS=HS;function $S(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 zS=$S;function GS(e,t,r){return jr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var US=GS;function WS(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 XS=WS;function YS(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(Oe.get(a)){this.data("ignored");return}Oe.set(a,true);var n=xr(m._tree[0],t.selector,function(i){return lt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Da(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return Be(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var KS=YS;function JS(e){return e.filter(function(t){return t.data!=="ignored"})}var ZS=JS;function QS(e,t,r){return yn(r,t.matcher)}var ek=QS;function tk(e,t,r){try{return Re(Gr(r))!==""}catch{return}}function rk(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&&_n())return true;var a=xr(r,t.selector,function(n){return lt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var ak=rk;function nk(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var ik=nk;function ok(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=!Re(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var sk=ok;function uk(e,t,r){var a=r.attr("autocomplete")||"";return gp(a,t)}var lk=uk;function ck(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};ee(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()}),u=s[s.length-1];if(ua.stateTerms.includes(u))return true;var l=i[u],c=r.hasAttr("type")?Re(r.attr("type")).toLowerCase():"text";return c=ao().includes(c)?c:"text",typeof l>"u"?c==="text":l.includes(c)}var dk=ck,fk=["block","list-item","table","flex","grid","inline-block"];function pk(e){if(d1(e))return false;for(var t=St(e);t&&t.nodeType===1&&!d1(t);)t=St(t);if(t){if(this.relatedNodes([t]),$m(e,t))return true;if(mk(e)){this.data({messageKey:"pseudoContent"});return}return false}}function d1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return fk.indexOf(t)!==-1||t.substr(0,6)==="table-"}function mk(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=p.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function f1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var hk=["block","list-item","table","flex","grid","inline-block"];function p1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return hk.indexOf(t)!==-1||t.substr(0,6)==="table-"}function gk(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(p1(e))return false;for(var n=St(e);n&&n.nodeType===1&&!p1(n);)n=St(n);if(n){this.relatedNodes([n]);var i=fo(e),o=fo(n),s=Fn(e),u=Fn(n),l=i&&o?f1(i,o):void 0;if(l&&(l=Math.floor(l*100)/100),l&&l>=r)return true;var c=s&&u?f1(s,u):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,h=(d=it.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:h}),it.clear();return}if(l)return a&&l===1&&c===1?true:l===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:u?u.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var vk=gk;function bk(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,u=t.largeTextPt,l=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!$t(e))return this.data({messageKey:"hidden"}),true;var h=br(r,false,true);if(a&&wk(h)){this.data({messageKey:"nonBmp"});return}var D=p.getComputedStyle(e),S=parseFloat(D.getPropertyValue("font-size")),T=D.getPropertyValue("font-weight"),I=parseFloat(T)>=o||T==="bold",L=Math.ceil(S*72)/96,P=I&&L<s||!I&&L<u,O=P?l.normal:l.large,N=O.expected,B=O.minThreshold,U=O.maxThreshold,K=yk(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(K){this.data({fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:I?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:N+":1"}),this.relatedNodes(K.actualNode);return}var te=co(e,{minRatio:.001,maxRatio:c});if(te===null){this.data({messageKey:"complexTextShadows"});return}var fe=[],J=Fn(e,fe,c),ne=fo(e,false,J,t),le=null,pe=null,Ee=null;if(te.length===0)le=Ta(J,ne);else if(ne&&J){Ee=[].concat(Se(te),[J]).reduce(qu);var Le=Ta(J,ne),we=Ta(J,Ee),Fe=Ta(Ee,ne);le=Math.max(Le,we,Fe),le!==Le&&(pe=we>Fe?"shadowOnBgColor":"fgOnShadowColor");}var oe=le>N;if(typeof B=="number"&&(typeof le!="number"||le<B)||typeof U=="number"&&(typeof le!="number"||le>U))return this.data({contrastRatio:le}),true;var Ae=Math.floor(le*100)/100,$,he;J===null?it.get("colorParse")?($="colorParse",he=it.get("colorParse")):$=it.get("bgColor"):oe||($=pe),ne===null&&it.get("colorParse")&&($="colorParse",he=it.get("colorParse"));var ae=Ae===1,ge=h.length===1;if(ae?$=it.set("bgColor","equalRatio"):!oe&&ge&&!n&&($="shortTextContent"),this.data({fgColor:ne?ne.toHexString():void 0,bgColor:J?J.toHexString():void 0,contrastRatio:Ae,fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:I?"bold":"normal",messageKey:$,expectedContrastRatio:N+":1",shadowColor:Ee?Ee.toHexString():void 0,colorParse:he}),ne===null||J===null||ae||ge&&!n&&!oe){$=null,it.clear(),this.relatedNodes(fe);return}return oe||this.relatedNodes(fe),oe}function yk(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 u=m1(e.actualNode,":before"),l=m1(e.actualNode,":after");if(u+l>s)return e}while(e=e.parent)}}var m1=nt(function(t,r){var a=p.getComputedStyle(t,r),n=function(u,l){return a.getPropertyValue(u)===l};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||la(a).alpha===0&&n("background-image","none"))return 0;var i=h1(a.getPropertyValue("width")),o=h1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function wk(e){var t={nonBmp:true},r=Ys(e,t),a=Re(xn(e,t))==="";return r&&a}function h1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=me(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 xk={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},Dk={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 _k(e){var t=e.nodeName.toUpperCase();return xk[t]||false}function Ak(e,t){var r=je(e);return r&&(Dk[r]||t.roles.includes(r))||false}function Ek(e,t){return Ak(e,t)||_k(e)}var Ck=Ek;function Sk(e,t,r){var a=Be(r,{dpub:true,fallback:true}),n=Bs(a);return n&&this.data(a),n}var kk=Sk;function Tk(e,t,r){var a=Be(r,{noImplicit:true});this.data(a);var n,i;try{n=Re(Ws(r)).toLowerCase(),i=Re(kt(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var Fk=Tk;function Rk(e,t,r){return bt(r)}var Ik=Rk;function Lk(e,t,r){var a=Ot(r.attr("role")),n=a.every(function(i){return !bn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var Pk=Lk;function Mk(e,t,r){var a=je(r);if(a===null)return false;var n=dr(a);return n==="widget"||n==="composite"}var Ok=Mk;function Nk(e,t,r){var a=$r().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var qk=Nk;function Bk(e,t){var r=vr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function Vk(e,t,r){var a=Ot(r.attr("role"));return a.length<=1?false:Bk(r,a)?void 0:true}var Hk=Vk;function jk(e,t,r){var a=Be(r,{dpub:true,fallback:true}),n=We.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function $k(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Re(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Re(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function zk(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Re(kt(r))!==""}catch{return}}function Gk(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,s=["aria-errormessage"],u={"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=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(l){if(!(s.includes(l)||t.includes(l)||!o.test(l))){var c,d=r.attr(l);try{c=Lm(r,l);}catch{a="".concat(l,'="').concat(d,'"'),n="idrefs";return}(!u[l]||u[l](c))&&!c&&(d===""&&!Uk(l)?(a=l,n="empty"):i.push("".concat(l,'="').concat(d,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function Uk(e){var t;return ((t=We.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function Wk(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)&&!uo(i)&&a.push(i);}),a.length?(this.data(a),false):true}var Xk=Wk;function Yk(e,t,r){var a=r.attrNames.filter(function(n){var i=We.ariaAttrs[n];if(!uo(n))return false;var o=i.unsupported;return ee(o)!=="object"?!!o:!yn(e,o.exceptions)});return a.length?(this.data(a),true):false}var Kk=Yk;function Jk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=Be(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var Zk=Jk;function g1(e,t,r,a){var n=je(e);if(r||(r=Lu(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=Be(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(u){return u!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function Qk(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=pt(e.getAttribute("id")),n=Rt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function eT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=g1(r,a);if(!n)return true;var i=Qk(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=g1(Ve(i[o]),a,n,true),!n)return true}return this.data(n),false}var tT=eT;function rT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=je(r,{dpub:true}),i=Pu(n);if(i===null)return true;var o=aT(r,i),s=o.filter(function(l){var c=l.role,d=l.vNode;return d.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(l){var c=l.vNode;return c}));var u=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:u,values:s.map(function(l){var c=l.vNode,d=l.attr;return oT(c,d)}).filter(function(l,c,d){return d.indexOf(l)===c}).join(", ")}),false}if(nT(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(sT)))return false}function aT(e,t){for(var r,a=[],n=wn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!lt(r))return 1;var s=Be(r,{noPresentational:true}),u=iT(r),l=!!u||bt(r);if(!s&&!l||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,Se(r.children));else if(s||l){var c=u||"tabindex";a.push({role:s,attr:c,vNode:r});}};r=n.shift();)i();return a}function nT(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function iT(e){return $r().find(function(t){return e.hasAttr(t)})}function oT(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=je(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function sT(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Dn(t,false,true)}function uT(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=je(a),i=a.attrNames,o=Im(n);if(Array.isArray(r[n])&&(o=Cn(r[n],o)),!n||!i.length||!o.length||lT(a,n)||dT(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=zr(a),u=o.filter(function(l){return !a.attr(l)&&!cT(s,l)});return u.length?(this.data(u),false):true}function lT(e,t){return t==="separator"&&!bt(e)}function cT(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function dT(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function fT(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=Be(r,{chromium:true,fallback:true}),o=pT(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Re(r.attr(c))!=="":false});if(s.length===0)return false;var u=i!==null?"hasRole":"noRole";u+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:u,prohibited:s});var l=Gr(r,{subtreeDescendant:true});if(Re(l)==="")return true}function pT(e,t,r,a){var n=We.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||v1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var v1=nt(function(t){if(t){var r=Be(t,{noPresentational:true,chromium:true});return r?dr(r):v1(t.parent)}});function mT(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var hT=mT;function gT(e,t,r){return r.attr("aria-hidden")!=="true"}var vT=gT;function bT(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(u){if(u.trim()==="")return We.ariaAttrs["aria-errormessage"].allowEmpty;var l=Ot(u);if(l.length>1)return this.data({messageKey:"unsupported",values:l}),false;var c;try{c=u&&gr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:l});return}if(c){if(!lt(c))return this.data({messageKey:"hidden",values:l}),false;var d=Ot(r.attr("aria-describedby"));return je(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||l.some(function(h){return d.includes(h)})}}return t.indexOf(a)===-1&&n?(this.data(Ot(a)),s.call(this,a)):true}function b1(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=yT(i),u=s&&Be(s);if(!u||u==="treegrid")return true;var l="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:l,invalidAttrs:o,ownerRole:u}),false}function yT(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return jt(e,t)}}function y1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=xT(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=wT(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function wT(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function xT(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var w1={row:b1,checkbox:y1};function DT(e,t,r){var a=Be(r);return w1[a]?w1[a].call(this,e,t,r):true}function _T(e,t,r){return r.attr("aria-busy")==="true"}function AT(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(l){return l.toLowerCase()}).includes(s))return true;var u=Sm(r,n);return u.length?(this.data(u),lt(r)?false:void 0):true}var ET=AT;function CT(e,t,r){var a=[],n=Be(r),i=Am(n);Array.isArray(t[n])&&(i=Cn(t[n].concat(i)));var o=et(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var u=s.value;uo(u)&&!i.includes(u)&&!ST(u,r.attr(u),r)&&a.push(u);}}catch(l){o.e(l);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(l){return l+'="'+r.attr(l)+'"'})),!(!n&&!bu(r)&&!bt(r)))return false}function ST(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function kT(e,t,r){var a=zr(r);if(!a.allowedAriaAttrs)return true;var n=je(r);if(n)return true;var i=a.allowedAriaAttrs,o=$r(),s=[],u=et(r.attrNames),l;try{for(u.s();!(l=u.n()).done;){var c=l.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(h){u.e(h);}finally{u.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(h){return h+'="'+r.attr(h)+'"'}).join(", ")}),false}function TT(e,t,r){var a=Ot(r.attr("role")).filter(function(n){return dr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var FT=TT;function RT(e){var t=da(e.getAttribute("lang")),r=da(e.getAttribute("xml:lang"));return no(t)&&no(r)}var IT=RT;function LT(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var PT=LT;function MT(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!jt(t,"svg")}catch{return false}}var $u=MT;function OT(e,t){return NT.every(function(r){return r(e,t)})}var NT=[function(e,t){return x1(t)},function(e,t){return qT(t)},function(e,t){return !$u(e,t)},function(e,t){return bt(t)},function(e,t){return er(t)||!BT(t)},function(e){return !ru(e,{noLengthCompare:true,includeInlineBlock:true})}];function x1(e){return dr(e)==="widget"}function qT(e){return e.props.nodeName!=="area"}var BT=nt(function e(t){return t!=null&&t.parent?x1(t.parent)&&er(t.parent)?true:e(t.parent):false});function VT(e,t){var r=Be(t);return ["treegrid","grid","table"].includes(r)}function HT(e,t){var r=t.parent;if(r.props.nodeName!=="details"||jT(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function jT(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function $T(e){return iu(e)&&Fi(e)}var zT=$T;function GT(e,t){return Tr(e,13)!==void 0&&Iu(t)===false&&UT(t)}function UT(e){var t=e.boundingClientRect;return Ut(e,"*").some(function(r){if(!Dn(r,true,true))return false;var a=[];if($i(r)){var n;(n=a).push.apply(n,Se(WT(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 WT(e){var t=g.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function XT(e,t){return vr(t,{chromiumRoles:true})!==null}var YT=XT;function KT(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 JT=KT;function ZT(e,t){var r=je(t);if(!r||["none","presentation"].includes(r))return true;var a=Pf[r]||{},n=a.accessibleNameRequired;return !!(n||bt(t))}var D1=ZT,QT=function(t,r){return [D1,e3].every(function(a){return a(t,r)})};function e3(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 t3(e,t){return t.props.nodeName!=="html"}var r3=t3;function a3(e,t){return !t.attr("role")}var n3=a3;function i3(e,t){var r=wr(t.attr("tabindex"));return r===null||r>=0}var o3=i3;function s3(e,t){var r=zr(t),a=r.namingMethods;return !(a&&a.length!==0||je(t)==="combobox"&&Ut(t,'input:not([type="hidden"])').length||Iu(t,{popupRoles:["listbox"]}))}var u3=s3;function l3(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var c3=l3;function d3(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var f3=d3;function p3(e,t){var r=Be(t);return r?!!We.ariaRoles[r].childrenPresentational:false}var m3=p3;function h3(e){var t=Re(e.innerText),r=je(e);return r&&r!=="link"||!t||!$t(e)?false:ru(e)}var g3=h3;function v3(e){return !oo(e)&&!bt(e)}var b3=v3;function y3(e,t){return w3(t)&<(t)}function w3(e){var t=ka("landmark"),r=Be(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=kt(e);return !!n}return t.indexOf(r)>=0||r==="region"}function x3(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Da(t,r)}var D3=x3;function _3(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 A3=_3;function E3(e,t){var r=Be(e);if(!r)return false;var a=ka("widget"),n=a.includes(r);if(!n)return false;var i=Ru();return !(!i.includes(r)||!Re(vn(t))&&!Re(gn(e))||!Re(br(t)))}var C3=E3;function S3(e,t){return $t(t)}function k3(e){return $t(e)}function T3(e,t,r){return r.initiator}var _1=T3;function F3(e){return xp(e)}var R3=F3;function I3(e,t){var r=!!kt(t);if(!r)return false;var a=Be(e);return !(a&&a!=="link")}var L3=I3;function P3(e,t){return !$u(e,t)}var M3=P3;function O3(e,t){return Be(t)==="heading"}function N3(e,t){return vr(t,{chromium:true})!==null}var q3=N3;function B3(e){var t=e.getAttribute("title");return !!Re(t)}var V3=B3;function H3(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 j3=H3;function $3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(pt(t),'"]'),a=Array.from(Rt(e).querySelectorAll(r));return !so(e)&&a.every(function(n){return !bt(n)})}var z3=$3;function G3(e){return so(e)}var U3=G3;function W3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(pt(t),'"]'),a=Array.from(Rt(e).querySelectorAll(r));return !so(e)&&a.some(bt)}var X3=W3;function Y3(e){return oo(e)}var K3=Y3;function J3(e){if(oo(e)){var t=kr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var Z3=J3;function Q3(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)||Rn(t)||Oi(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=p.getComputedStyle(e),u=parseInt(s.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!ou(l,e))return false}return true}var c=Da(t,"label");if(a==="label"||c){var d=c||e,h=c?Ve(c):t;if(d.htmlFor){var D=Rt(d),S=D.getElementById(d.htmlFor),T=S&&Ve(S);if(T&&Rn(T))return false}var I='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',L=Ut(h,I)[0];if(L&&Rn(L))return false}for(var P=[],O=t;O;){if(O.props.id){var N=Fu(O).filter(function(ne){return Ot(ne.getAttribute("aria-labelledby")||"").includes(O.props.id)}).map(function(ne){return Ve(ne)});P.push.apply(P,Se(N));}O=O.parent;}if(P.length>0&&P.every(Rn)||!rF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var B=g.createRange(),U=t.children,K=0;K<U.length;K++){var te=U[K];te.actualNode.nodeType===3&&Re(te.actualNode.nodeValue)!==""&&B.selectNodeContents(te.actualNode);}var fe=Array.from(B.getClientRects()),J=fn(t);return fe.some(function(ne){var le=ou(ne,e);if(!J.length)return le;var pe=J.some(function(Ee){return As(ne,Ee.boundingClientRect)});return le&&pe})}var eF=Q3,tF={emoji:true,nonBmp:false,punctuations:true};function rF(e){var t=br(e,false,true);return t===""||xn(t,tF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Ks(r)})}function aF(e,t,r){return _1(e,t,r)?!!e.querySelector("a[href]"):true}var nF=aF;function iF(e,t){var r=t.attr("autocomplete");if(!r||Re(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=je(t),u=wr(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var l=We.ariaRoles[s];if(l===void 0||l.type!=="widget")return false}return !(u<0&&t.actualNode&&!$t(t)&&!lt(t))}var oF=iF;function sF(e,t){var r=je(t);return !!Lu(r)}var uF=sF;function lF(e,t){var r=je(t,{dpub:true});return !!Pu(r)}var cF=lF;function A1(e){return e?e.getAttribute("aria-hidden")==="true"?false:A1(St(e)):true}function dF(e){return A1(St(e))}var fF=dF;function pF(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var mF=pF;function hF(e,t){return je(t,{dpub:true,fallback:true})!==null}var gF=hF;function vF(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 bF=vF,yF={"abstractrole-evaluate":FT,"accesskeys-after":XS,"accesskeys-evaluate":US,"alt-space-value-evaluate":ES,"aria-allowed-attr-elm-evaluate":kT,"aria-allowed-attr-evaluate":CT,"aria-allowed-attr-matches":bF,"aria-allowed-role-evaluate":ET,"aria-allowed-role-matches":gF,"aria-busy-evaluate":_T,"aria-conditional-attr-evaluate":DT,"aria-conditional-checkbox-attr-evaluate":y1,"aria-conditional-row-attr-evaluate":b1,"aria-errormessage-evaluate":bT,"aria-has-attr-matches":mF,"aria-hidden-body-evaluate":vT,"aria-hidden-focus-matches":fF,"aria-label-evaluate":aC,"aria-labelledby-evaluate":tC,"aria-level-evaluate":hT,"aria-prohibited-attr-evaluate":fT,"aria-required-attr-evaluate":uT,"aria-required-children-evaluate":rT,"aria-required-children-matches":cF,"aria-required-parent-evaluate":tT,"aria-required-parent-matches":uF,"aria-roledescription-evaluate":Zk,"aria-unsupported-attr-evaluate":Kk,"aria-valid-attr-evaluate":Xk,"aria-valid-attr-value-evaluate":Gk,"attr-non-space-content-evaluate":sk,"autocomplete-appropriate-evaluate":dk,"autocomplete-matches":oF,"autocomplete-valid-evaluate":lk,"avoid-inline-spacing-evaluate":QE,"braille-label-equivalent-evaluate":zk,"braille-roledescription-equivalent-evaluate":$k,"bypass-matches":nF,"caption-evaluate":B5,"caption-faked-evaluate":OE,"color-contrast-evaluate":bk,"color-contrast-matches":eF,"css-orientation-lock-evaluate":R5,"data-table-large-matches":Z3,"data-table-matches":K3,"deprecatedrole-evaluate":jk,"dlitem-evaluate":K5,"doc-has-title-evaluate":JE,"duplicate-id-active-matches":X3,"duplicate-id-after":sC,"duplicate-id-aria-matches":U3,"duplicate-id-evaluate":iC,"duplicate-id-misc-matches":z3,"duplicate-img-label-evaluate":_S,"exists-evaluate":YE,"explicit-evaluate":xS,"fallbackrole-evaluate":Hk,"focusable-content-evaluate":zS,"focusable-disabled-evaluate":jS,"focusable-element-evaluate":VS,"focusable-modal-open-evaluate":qS,"focusable-no-name-evaluate":OS,"focusable-not-tabbable-evaluate":PS,"frame-focusable-content-evaluate":IS,"frame-focusable-content-matches":j3,"frame-tested-after":N5,"frame-tested-evaluate":M5,"frame-title-has-text-matches":V3,"has-alt-evaluate":WE,"has-descendant-after":ik,"has-descendant-evaluate":ak,"has-global-aria-attribute-evaluate":qk,"has-implicit-chromium-role-matches":q3,"has-lang-evaluate":rS,"has-text-content-evaluate":tk,"has-widget-role-evaluate":Ok,"heading-matches":O3,"heading-order-after":f5,"heading-order-evaluate":d5,"help-same-as-label-evaluate":yS,"hidden-content-evaluate":zA,"hidden-explicit-label-evaluate":vS,"html-namespace-matches":M3,"html5-scope-evaluate":PE,"identical-links-same-purpose-after":u5,"identical-links-same-purpose-evaluate":o5,"identical-links-same-purpose-matches":L3,"implicit-evaluate":hS,"inline-style-property-evaluate":zE,"inserted-into-focus-order-matches":R3,"internal-link-present-evaluate":TC,"invalid-children-evaluate":U5,"invalidrole-evaluate":Pk,"is-element-focusable-evaluate":Ik,"is-initiator-matches":_1,"is-on-screen-evaluate":$E,"is-visible-matches":k3,"is-visible-on-screen-matches":S3,"label-content-name-mismatch-evaluate":pS,"label-content-name-mismatch-matches":C3,"label-matches":A3,"landmark-has-body-context-matches":D3,"landmark-is-top-level-evaluate":RS,"landmark-is-unique-after":oS,"landmark-is-unique-evaluate":nS,"landmark-unique-matches":y3,"layout-table-matches":b3,"link-in-text-block-evaluate":vk,"link-in-text-block-matches":g3,"link-in-text-block-style-evaluate":pk,"listitem-evaluate":G5,"matches-definition-evaluate":ek,"meta-refresh-evaluate":SC,"meta-viewport-scale-evaluate":T5,"multiple-label-evaluate":cS,"nested-interactive-matches":m3,"no-autoplay-audio-evaluate":L5,"no-autoplay-audio-matches":f3,"no-empty-role-matches":c3,"no-explicit-name-required-matches":D1,"no-focusable-content-evaluate":kS,"no-implicit-explicit-label-evaluate":Fk,"no-naming-method-matches":u3,"no-negative-tabindex-matches":o3,"no-role-matches":n3,"non-empty-if-present-evaluate":HE,"not-html-matches":r3,"object-is-loaded-matches":QT,"only-dlitems-evaluate":z5,"only-listitems-evaluate":$5,"p-as-heading-evaluate":AC,"p-as-heading-matches":JT,"page-no-duplicate-after":ZS,"page-no-duplicate-evaluate":KS,"presentation-role-conflict-matches":YT,"presentational-role-evaluate":BE,"region-after":wC,"region-evaluate":hC,"same-caption-summary-evaluate":FE,"scope-value-evaluate":TE,"scrollable-region-focusable-matches":GT,"skip-link-evaluate":pC,"skip-link-matches":zT,"structured-dlitems-evaluate":H5,"summary-interactive-matches":HT,"svg-namespace-matches":$u,"svg-non-empty-title-evaluate":qE,"tabindex-evaluate":SS,"table-or-grid-role-matches":VT,"target-offset-evaluate":C5,"target-size-evaluate":b5,"td-has-header-evaluate":SE,"td-headers-attr-evaluate":EE,"th-has-data-cells-evaluate":AE,"title-only-evaluate":uS,"unique-frame-title-after":dC,"unique-frame-title-evaluate":lC,"unsupportedrole-evaluate":kk,"valid-lang-evaluate":eS,"valid-scrollable-semantics-evaluate":Ck,"widget-not-inline-matches":OT,"window-is-top-matches":PT,"xml-lang-mismatch-evaluate":Z5,"xml-lang-mismatch-matches":IT},mo=yF;function wF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var zu=wF;function Gu(e){if(typeof e=="string"){if(mo[e])return mo[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 E1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ee(e)!=="object")&&(e={value:e}),e}function Fa(e){e&&(this.id=e.id,this.configure(e));}Fa.prototype.enabled=true,Fa.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 u=new zu(this),l=us(u,r,n,i),c;try{c=this.evaluate.call(l,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=Qt.toSpec(t)),i(d);return}l.isAsync||(u.result=c,n(u));}else n(null);},Fa.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),u=new zu(this),l=us(u);l.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(l,t.actualNode,s,t,a);}catch(d){throw t&&t.actualNode&&(d.errorNode=Qt.toSpec(t)),d}return u.result=c,u},Fa.prototype.configure=function(t){var r=this;(!t.evaluate||mo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=E1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Gu(t[a])});},Fa.prototype.getOptions=function(t){return this._internalCheck?xs(this.options,E1(t||{})):t||this.options};var C1=Fa;function xF(e){this.id=e.id,this.result=qe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var ho=xF;function Vt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Ue(qe.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=Gu(e.matches));}Vt.prototype.matches=function(){return true},Vt.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&&Ye.mark(a);var s=Au(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Ye.mark(i),s=s.filter(function(u){return lt(u)}),r.performanceTimer&&(Ye.mark(o),Ye.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Ye.mark(n),Ye.measure("rule_"+this.id+"#gather",a,n)),s},Vt.prototype.runChecks=function(t,r,a,n,i,o){var s=this,u=hr();this[t].forEach(function(l){var c=s._audit.checks[l.id||l],d=Ki(c,s.id,a);u.defer(function(h,D){c.run(r,d,n,h,function(S){D(new ro({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new Zt(r),error:S}));});});}),u.then(function(l){l=l.filter(function(c){return c}),i({type:t,results:l});}).catch(o);},Vt.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(s){var u=i._audit.checks[s.id||s],l=Ki(u,i.id,a);o.push(u.runSync(r,l,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},Vt.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=hr(),s=new ho(this),u;try{u=this.gatherAndMatchNodes(t,a);}catch(l){i(l);return}a.performanceTimer&&this._logGatherPerformance(u),u.forEach(function(l){o.defer(function(c,d){var h=hr();["any","all","none"].forEach(function(D){h.defer(function(S,T){r.runChecks(D,l,a,t,S,T);});}),h.then(function(D){var S=S1(D);S&&(S.node=new Zt(l),s.nodes.push(S),r.reviewOnFail&&(["any","all"].forEach(function(T){S[T].forEach(function(I){I.result===false&&(I.result=void 0);});}),S.none.forEach(function(T){T.result===true&&(T.result=void 0);}))),c();}).catch(function(D){return d(D)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(l){a.performanceTimer&&r._logRulePerformance(),i(l);});},Vt.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new ho(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(l){s.push(r.runChecksSync(l,o,a,t));});var u=S1(s);u&&(u.node=o.actualNode?new Zt(o):null,n.nodes.push(u),r.reviewOnFail&&(["any","all"].forEach(function(l){u[l].forEach(function(c){c.result===false&&(c.result=void 0);});}),u.none.forEach(function(l){l.result===true&&(l.result=void 0);})));}),a.performanceTimer&&this._logRulePerformance(),n},Vt.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;},Vt.prototype._logGatherPerformance=function(t){aa("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(Ye.timeElapsed(),"ms")),Ye.mark(this._markChecksStart);},Vt.prototype._logRulePerformance=function(){Ye.mark(this._markChecksEnd),Ye.mark(this._markEnd),Ye.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Ye.measure("rule_"+this.id,this._markStart,this._markEnd);};function S1(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}}Vt.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&&Ye.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(u){throw new ro({ruleId:a.id,method:"#matches",errorNode:new Zt(s),error:u})}}),r.performanceTimer&&(Ye.mark(i),Ye.measure("rule_"+this.id+"#matches",n,i)),o};function DF(e){return Ei(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function _F(e,t){var r=[];return e.forEach(function(a){var n=Ei(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function AF(e){return e.filter(function(t){return t.filtered!==true})}function EF(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=AF(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}Vt.prototype.after=function(t,r){var a=this,n=DF(this);return n.forEach(function(i){var o=_F(t.nodes,i.id),s=Ki(i,a.id,r),u;try{u=i.after(o,s.options);}catch(c){var l;throw new ro({ruleId:a.id,method:"".concat(i.id,"#after"),errorNode:(l=t.nodes)===null||l===void 0||(l=l[0])===null||l===void 0?void 0:l.node,error:c})}a.reviewOnFail&&u.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===false,h=a.none.includes(c.id)&&c.result===true;(d||h)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,u.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=EF(t),t},Vt.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=Gu(t.matches)),t.impact&&(Ue(qe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Ra=/\{\{.+?\}\}/g,CF=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=We,this._init(),this._defaultLocale=null;}return ar(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,u=s.pass,l=s.fail,c=s.incomplete;r.checks[i]={pass:u,fail:l,incomplete:c};}for(var d=Object.keys(this.data.rules),h=0;h<d.length;h++){var D=d[h],S=this.data.rules[D],T=S.description,I=S.help;r.rules[D]={description:T,help:I};}for(var L=Object.keys(this.data.failureSummaries),P=0;P<L.length;P++){var O=L[P],N=this.data.failureSummaries[O],B=N.failureMessage;r.failureSummaries[O]={failureMessage:B};}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]=kF(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]=TF(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]=FF(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=RF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=T1();this.allowedOrigins=[];var n=et(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===qe.allOrigins){this.allowedOrigins=["*"];return}else o!==qe.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=SF(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,F1(r.rules,this,"addRule"),F1(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 Vt(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;ee(a)==="object"&&(this.data.checks[r.id]=a,ee(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 C1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),Zt.setRunOptions(a),m._selectCache=[];var o=IF(this.rules,r,a),s=o.now,u=o.later,l=hr();s.forEach(function(h){l.defer(R1(h,r,a));});var c=hr();u.length&&c.defer(function(h){rm(a).then(function(D){return h(D)}).catch(function(D){console.warn("Couldn't load preload assets: ",D),h(void 0);});});var d=hr();d.defer(l),d.defer(c),d.then(function(h){var D=h.pop();if(D&&D.length){var S=D[0];S&&(r=Pe({},r,S));}var T=h[0];if(!u.length){m._selectCache=void 0,n(T.filter(function(L){return !!L}));return}var I=hr();u.forEach(function(L){var P=R1(L,r,a);I.defer(P);}),I.then(function(L){m._selectCache=void 0,n(T.concat(L).filter(function(P){return !!P}));}).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=cn(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 I1(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(ee(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 u=r.runOnly;if(u.value&&!u.values&&(u.values=u.value,delete u.value),!Array.isArray(u.values)||u.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(u.type))u.type="rule",u.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(u.type)){u.type="tag";var l=u.values.filter(function(c){return !n.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});l.length!==0&&m.log("Could not find tags `"+l.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(u.type,"'"))}return ee(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=(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"||a&&o.helpUrl===L1(a,i.id,n))&&(o.helpUrl=L1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),k1=CF;function T1(){if(p.origin&&p.origin!=="null")return p.origin;if(p.location&&p.location.origin&&p.location.origin!=="null")return p.location.origin}function SF(e){var t;if(e?(t=Er(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=T1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Pe({checks:{},rules:{}},t.data),t}function F1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var kF=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Ra.test(a)&&(a=Mr.default.compile(a)),typeof n=="string"&&Ra.test(n)&&(n=Mr.default.compile(n)),Pe({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:ee(t.messages.incomplete)==="object"?Pe({},t.messages.incomplete,r.incomplete):r.incomplete}})},TF=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Ra.test(a)&&(a=Mr.default.compile(a)),typeof n=="string"&&Ra.test(n)&&(n=Mr.default.compile(n)),Pe({},t,{help:a||t.help,description:n||t.description})},FF=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Ra.test(a)&&(a=Mr.default.compile(a)),Pe({},t,{failureMessage:a||t.failureMessage})},RF=function(t,r){return typeof r=="string"&&Ra.test(r)&&(r=Mr.default.compile(r)),r||t};function IF(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return sm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function R1(e,t,r){return r.performanceTimer&&Ye.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(I1(e,i));});}}function I1(e,t){var r=t.errorNode,a=to(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new Zt(g.documentElement);return Object.assign(new ho(e),{error:a,result:qe.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function L1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return qe.helpUrlBase+a+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function P1(e){var t=p&&"Node"in p&&"NodeList"in p,r=!!g;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Oe.set("globalDocumentSet",true),g=e.ownerDocument),t||(Oe.set("globalWindowSet",true),p=g.defaultView);}}function LF(){Oe.get("globalDocumentSet")&&(Oe.set("globalDocumentSet",false),g=null),Oe.get("globalWindowSet")&&(Oe.set("globalWindowSet",false),p=null);}function PF(){LF(),m._memoizedFns.forEach(function(e){return e.clear()}),Oe.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var Xr=PF;function M1(e,t,r,a){try{e=new Ji(e),m._tree=e.flatTree,m._selectorData=bi(e.flatTree);}catch(o){return Xr(),a(o)}var n=hr(),i=m._audit;t.performanceTimer&&Ye.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&&Ye.auditEnd();var s=Ci(o.map(function(u){return {results:u}}));e.initiator&&(t.performanceTimer&&Ye.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(Ye.mark("auditAfterEnd"),Ye.measure("audit.after","auditAfterStart","auditAfterEnd"),Ye.logMeasures("audit.after")),s.forEach(eo),s=s.map(za));try{r(s,Xr);}catch(u){Xr(),aa(u);}}catch(u){Xr(),a(u);}}).catch(function(o){Xr(),a(o);});}function MF(e){m._audit=new k1(e);}function OF(e,t,r){var a=r,n=function(u){u instanceof Error||(u=new Error(u)),r(u);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[g]);var o=e&&e.options||{};switch(e.command){case "rules":return M1(i,o,function(s,u){s=Qt.mapRawResults(s),a(s),u();},n);case "cleanup-plugin":return gm(a,n);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}p.top!==p&&(cr.subscribe("axe.start",OF),cr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Ln(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}Ln.prototype.run=function(){return this._run.apply(this,arguments)},Ln.prototype.collect=function(){return this._collect.apply(this,arguments)},Ln.prototype.cleanup=function(t){var r=m.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Ln.prototype.add=function(t){this._registry[t.id]=t;};function NF(e){m.plugins[e.id]=new Ln(e);}var qF=NF;function BF(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),nD();}var VF=BF;function HF(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 Ct||(t=new hm(t));var a=jp(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);eo(i),za(i);var o=ac([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(u){u.failureSummary=fu(u);})}),Pe({},Ur(),o,{toolOptions:r})}function O1(e){var t,r,a,n=me(e,3),i=n[0],o=n[1],s=n[2],u=new TypeError("axe.run arguments are invalid");if(!Up(i)){if(s!==void 0)throw u;s=o,o=i,i=g;}if(ee(o)!=="object"){if(s!==void 0)throw u;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw u;return o=Er(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Uu=function(){};function jF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];P1(t[0]);var a=O1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?Uu:o,u=$F(s),l=u.thenable,c=u.resolve,d=u.reject;try{Ue(m._audit,"No audit configured"),Ue(!m._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 GF(S,s)}m._running=true,i.performanceTimer&&Ye.start();function h(S,T){var I=function(O){i.performanceTimer&&(Ye.mark("reporterEnd"),Ye.measure("reporter","reporterStart","reporterEnd"),Ye.logMeasures("reporter"),Ye.end()),m._running=false,T();try{c(O);}catch(N){m.log(N);}},L=function(O){m._running=false,T();try{d(O);}catch(N){m.log(N);}};try{i.performanceTimer&&Ye.mark("reporterStart"),zF(S,i,I,L);}catch(P){L(P);}}function D(S){i.performanceTimer&&Ye.end(),m._running=false,s(S),d(S);}return m._runRules(n,i,h,D),l}function $F(e){var t,r,a;return typeof Promise=="function"&&e===Uu?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 zF(e,t,r,a){var n=Su(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function GF(e,t){if(typeof t=="function"&&t!==Uu){t(e.message);return}throw e}function UF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=O1(t),n=a.options,i=a.context;Ue(m._audit,"Axe is not configured. Audit is missing."),Ue(!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 Ji(i,m._tree);return m._tree=o.flatTree,m._selectorData=bi(o.flatTree),m._running=true,n.elementRef=false,new Promise(function(s,u){m._audit.run(o,n,s,u);}).then(function(s){s=Qt.mapRawResults(s);var u=o.frames.map(function(c){var d=c.node;return Qt.toSpec(d)}),l;return o.initiator&&(l=Ur()),m._running=false,Xr(),{results:s,frames:u,environmentData:l}}).catch(function(s){return m._running=false,Xr(),Promise.reject(s)})}function WF(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Er(n);var i=e.find(function(u){return u.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",XF(e);var s=Ci(e);return s=m._audit.after(s,n),s.forEach(eo),s=s.map(za),KF(s,Pe({environmentData:o},n))}function XF(e){var t=[],r=et(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=YF(n);t.unshift.apply(t,Se(o));}}}catch(s){r.e(s);}finally{r.f();}}function YF(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return Qt.mergeSpecs(a,r)}):t}function KF(e,t){return new Promise(function(r,a){var n=Su(t.reporter);n(e,t,r,a);})}function JF(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ee(e.documentElement)==="object"&&ee(e.defaultView)==="object"&&(e=e.documentElement),P1(e),m._tree=cu(e),m._selectorData=bi(m._tree),m._tree[0]}var ZF=JF,QF=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=be(n,H);a(Pe({},Ur(i),{toolOptions:o},En(t,r)));},eR=QF,tR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=be(n,Z);r.resultTypes=["violations"];var s=En(t,r),u=s.violations;a(Pe({},Ur(i),{toolOptions:o,violations:u}));},rR=tR,aR=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=Pe({},i),s=["passes","violations","incomplete","inapplicable"],u=0,l=s;u<l.length;u++){var c=l[u];o[c]=Qt.mapRawNodeResults(o[c]);}return o});a(n);},N1=aR,nR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=be(n,de);N1(t,o,function(s){var u=Ur(i);a({raw:s,env:u});});},iR=nR,oR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=be(n,_e),s=En(t,r),u=function(c){c.nodes.forEach(function(d){d.failureSummary=fu(d);});};s.incomplete.forEach(u),s.violations.forEach(u),a(Pe({},Ur(i),{toolOptions:o},s));},sR=oR,uR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=be(n,Ce),s=En(t,r);a(Pe({},Ur(i),{toolOptions:o},s));},lR=uR,cR={base:{Audit:k1,CheckResult:zu,Check:C1,Context:Ji,RuleResult:ho,Rule:Vt,metadataFunctionMap:mo},public:{reporters:Sn},helpers:{failureSummary:fu,incompleteFallbackMessage:pu,processAggregate:En},utils:{setDefaultFrameMessenger:Vd,cacheNodeSelectors:Pp,getNodesMatchingExpression:Ip,convertSelector:wi},commons:{dom:{nativelyHidden:Kd,displayHidden:Jd,visibilityHidden:Zd,contentVisibiltyHidden:Qd,ariaHidden:ef,opacityHidden:tf,scrollHidden:rf,overflowHidden:af,clipHidden:nf,areaHidden:Es,detailsHidden:of}}},dR=cR;m._thisWillBeDeletedDoNotUse=dR,m.constants=qe,m.log=aa,m.AbstractVirtualNode=Ct,m.SerialVirtualNode=hm,m.VirtualNode=su,m._cache=Oe,m.imports=sc,m.cleanup=gm,m.configure=BA,m.frameMessenger=VA,m.getRules=jA,m._load=MF,m.plugins={},m.registerPlugin=qF,m.hasReporter=bm,m.getReporter=Su,m.addReporter=NA,m.reset=VF,m._runRules=M1,m.runVirtualRule=HF,m.run=jF,m.setup=ZF,m.teardown=Xr,m.runPartial=UF,m.finishRun=WF,m.commons=Vm,m.utils=Po,m.addReporter("na",eR),m.addReporter("no-passes",rR),m.addReporter("rawEnv",iR),m.addReporter("raw",N1),m.addReporter("v1",sR),m.addReporter("v2",lR,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(X){var ie="Fix any of the following:",ve=X;if(ve)for(var Qe,gt=-1,Ft=ve.length-1;gt<Ft;)Qe=ve[gt+=1],ie+=`
|
|
371
|
-
`+
|
|
368
|
+
`)}var pl=A2;function ml(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Bp=qe.resultGroups;function En(e,t){var r=m.utils.aggregateResult(e);return Bp.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]]);}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){if(te(i.node)==="object"){var o=Vp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,E2(i,t),i})),Bp.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n});}),r}function E2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){return Vp(n,t)});});});}function Vp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=Qt.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined";}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n: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 C2=/\$\{\s?data\s?\}/g;function Ki(e,t){if(typeof t=="string")return e.replace(C2,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n);}return e}function Hp(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 Ki(r,t)}return Ki(e,t)}if(typeof e=="string")return Ki(e,t);if(typeof t=="string"){var a=e[t];return Ki(a,t)}var n=e.default||ml();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),Hp(n,t)}}var hl=Hp;function S2(e,t,r){var a=m._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return hl(a.messages[t],r)}var k2=S2;function T2(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var Ji=T2;function Xr(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p;return t&&te(t)==="object"?t:te(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:F2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function F2(e){if(!e.navigator||te(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=R2(e)||{},i=n.angle,o=n.type;return {userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function R2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function jp(e,t){var r=t.focusable,a=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&I2(e),size:L2(e),page:a}}function I2(e){var t=wr(e.getAttribute("tabindex"));return t===null||t>=0}function L2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r;}return {width:t,height:r}}function P2(e){if(vl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Yr(!yr(e,"fromFrames"),"fromFrames"+t),Yr(!yr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(Qi(e))e={include:e,exclude:[]};else return {include:[h],exclude:[]};var r=$p(e.include);r.length===0&&r.push(h);var a=$p(e.exclude);return {include:r,exclude:a}}function $p(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];gl(e)||(e=[e]);for(var r=0;r<e.length;r++){var a=M2(e[r]);a&&t.push(a);}return t}function M2(e){return e instanceof p.Node?e:typeof e=="string"?[e]:(bl(e)?(N2(e),e=e.fromFrames):eo(e)&&(e=[e]),O2(e))}function O2(e){if(Array.isArray(e)){var t=[],r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;if(eo(n)&&(q2(n),n=n.fromShadowDom),typeof n!="string"&&!B2(n))return;t.push(n);}}catch(i){r.e(i);}finally{r.f();}return t}}function N2(e){Yr(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Yr(e.fromFrames.every(function(t){return !yr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),Yr(!yr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function q2(e){Yr(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Yr(e.fromShadowDom.every(function(t){return !yr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),Yr(e.fromShadowDom.every(function(t){return !yr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function B2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function Yr(e,t){Ue(e,"Invalid context; ".concat(t,`
|
|
369
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function zp(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof p.Node)if(i.documentElement instanceof p.Node)r.push(e.flatTree[0]);else if(i.host instanceof p.Node){var o=Array.from(i.children).map(function(l){return Ve(l)});r.push.apply(r,Ee(o));}else r.push(Ve(i));else if(i&&i.length)if(i.length>1)V2(e,t,i);else {var s=Cl(i[0]);r.push.apply(r,Ee(s.map(function(l){return Ve(l)})));}}return r.filter(function(l){return l})}function V2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Cl(a);n.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 Zi(e,t){var r,a,n,i,o=this;e=Er(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=te((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=P2(e),this.flatTree=t??dl(z2(e)),this.exclude=e.exclude,this.include=e.include,this.include=zp(this,"include"),this.exclude=zp(this,"exclude"),El("frame, iframe",this).forEach(function(s){wl(s,o)&&H2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=j2(this),this.frames.forEach(function(s){s.page=o.page;})),$2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Dl);}function H2(e,t){!ut(t)||cn(e.frames,"node",t)||e.frames.push(jp(t,e));}function j2(e){var t=e.include;return t.length===1&&t[0].actualNode===h.documentElement}function $2(e){if(e.include.length===0&&e.frames.length===0){var t=cr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function z2(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 p.Element)return i.ownerDocument.documentElement;if(i instanceof p.Document)return i.documentElement}return h.documentElement}function G2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Zi(e),a=r.frames;return a.map(function(n){var i=n.node,o=Ae(n,z);o.initiator=false;var s=wi(i);return {frameSelector:s,frameContext:o}})}function Gp(e){var t=m._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 W2(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=p.getComputedStyle(e),i=Wp(n,"overflow-x"),o=Wp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Wp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Tr=it(W2);function Up(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Tr(r);return a&&t.push(a),t.concat(Up(r))},[])}function U2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,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(Up(h.body))}var X2=U2;function Y2(){return Er(Xe)}function K2(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 Xp=K2,Gt;function J2(e){if(Gt&&Gt.parentNode)return Gt.styleSheet===void 0?Gt.appendChild(h.createTextNode(e)):Gt.styleSheet.cssText+=e,Gt;if(e){var t=h.head||h.getElementsByTagName("head")[0];return Gt=h.createElement("style"),Gt.type="text/css",Gt.styleSheet===void 0?Gt.appendChild(h.createTextNode(e)):Gt.styleSheet.cssText=e,t.appendChild(Gt),Gt}}var Z2=J2;function gl(e){return !!e&&te(e)==="object"&&typeof e.length=="number"&&!(e instanceof p.Node)}function yr(e,t){return !e||te(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Yp(e){return vl(e)||Qi(e)}function vl(e){return ["include","exclude"].some(function(t){return yr(e,t)&&Qi(e[t])})}function Qi(e){return typeof e=="string"||e instanceof p.Node||bl(e)||eo(e)||gl(e)}function bl(e){return yr(e,"fromFrames")}function eo(e){return yr(e,"fromShadowDom")}function Kp(e,t){var r=Ve(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=p.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=Kp(n,true);return r&&(r._isHidden=i),i}var Q2=Kp;function eA(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:!!Xe.htmlElms[a]}var yl=eA;function wl(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 Cr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Cr(c,e)});if(s.length===0)return true;var l=Jp(o),u=Jp(s);return Cr(u,l)}function Jp(e){var t,r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Cr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function xl(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 tA(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Dl=tA;function We(e){return e instanceof Et?{vNode:e,domNode:e.actualNode}:{vNode:Ve(e),domNode:e}}function rA(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(Ee(r),[d]),D=/^https?:\/\/|^\/\//i.test(c);return Al(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 Zp=rA;function aA(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=nA(e);return i?Zp(e,t,r,a,n):Al(e.href,t,r,a,true)}function nA(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var _l=aA;function iA(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new p.XMLHttpRequest;s.open("GET",e),s.timeout=qe.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 _l(o.sheet,t,r,a,o.isCrossOrigin)})}var Al=iA;function oA(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var wr=oA,sA=(function(){function e(){if(p.performance&&p.performance)return p.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=p.performance)!==null&&i!==void 0&&i.mark&&p.performance.mark(n);},measure:function(n,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=p.performance)!==null&&s!==void 0&&s.measure){try{p.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(T){return Array.isArray(T)?T[T.length-1]:T},u=function(T){i._log("Measure "+T.name+" took "+T.duration+"ms");};if(!(!((o=p.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=p.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(p.performance.getEntriesByName("mark_axe_start"))||l(p.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=p.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=p.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];p.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){aa(n);}}})(),Ye=sA;function Qp(){if(h.elementsFromPoint)return h.elementsFromPoint;if(h.msElementsFromPoint)return h.msElementsFromPoint;var e=(function(){var n=h.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=h.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(h.head.appendChild(a);(o=h.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(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(a),u}}typeof p.addEventListener=="function"&&(h.elementsFromPoint=Qp());function lA(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Cn=lA;function em(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 uA(e,t,r){for(var a=Ne.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=em(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,T=0;T<D;T++){var I,L,P,N=T<(((I=o.anyLevel)===null||I===void 0?void 0:I.length)||0)?o.anyLevel[T]:o.thisLevel[T-(((L=o.anyLevel)===null||L===void 0?void 0:L.length)||0)];if((!N[0].id||c.shadowId===o.parentShadowId)&&ba(c,N[0]))if(N.length===1)!S&&(!r||r(c))&&(s.push(c),S=true);else {var q=N.slice(1);if([" ",">"].includes(q[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+N[1].combinator);q[0].combinator===">"?(d=d||[]).push(q):(g=g||[]).push(q);}(!N[0].id||c.shadowId===o.parentShadowId)&&(P=o.anyLevel)!==null&&P!==void 0&&P.includes(N)&&(g=g||[]).push(N);}for(c.children&&c.children.length&&(n.push(o),o=em(c.children,g,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function cA(e,t,r){e=Array.isArray(e)?e:[e];var a=xi(t),n=Mp(e,a,r);return n||uA(e,a,r)}var xr=cA;function dA(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=fA(r);if(!a.length)return Promise.resolve();var n=h.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Xp(n);return pA(a,i).then(function(o){return rm(o)})}var tm=dA;function fA(e){var t=[],r=xr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:dn(a.actualNode)}});return Cn(r,[])}function pA(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=mA(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 _l(g,u,S,c)}));r.push(d);}),Promise.all(r)}function rm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(rm(r)):t.concat(r)},[])}function mA(e,t,r){var a;return e.nodeType===11&&t?a=hA(e,r):a=gA(e),bA(a)}function hA(e,t){return Array.from(e.children).filter(vA).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 gA(e){return Array.from(e.styleSheets).filter(function(t){return t.media?am(t.media.mediaText):false})}function vA(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&&am(e.media)}function am(e){return e?!e.toUpperCase().includes("PRINT"):true}function bA(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function yA(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=xr(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 wA(i)}))}var nm=yA;function wA(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function im(e){var t={cssom:tm,media:nm};return om(e)?new Promise(function(r,a){var n=sm(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 Se({},l,u)})})).then(function(l){var u=l.reduce(function(c,d){return Me({},c,d)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),a(l);});}):Promise.resolve()}function xA(e){return te(e)==="object"&&Array.isArray(e.assets)}function om(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:xA(e.preload)}function sm(e){var t=qe.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=Cn(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 to(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},a=cn(m._audit.rules,"id",e.id)||{};e.tags=Er(a.tags||[]);var n=lm(t,true,a),i=lm(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),_s(e,Er(r[e.id]||{}));}function DA(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:ml()}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 lm(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?(te(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=DA(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=hl(o.message,a.data)),_s(a,o);}}function _A(e,t){return xr(e,t)}var Wt=_A;function um(e,t){var r,a,n=m._audit&&m._audit.tagExclude?m._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 AA(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?um(e,a.values):um(e,[])}var cm=AA;function dm(e,t){if(!t)return e;var r=e.cloneNode(false),a=Ua(r);if(r.nodeType===1){var n=r.outerHTML;r=Ne.get(n,function(){return fm(r,a,e,t)});}else r=fm(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(dm(i,t));}),r}function fm(e,t,r,a){return t&&(e=h.createElement(e.nodeName),Array.from(t).forEach(function(n){EA(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function EA(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:ha(e,r[t])}function El(e,t){var r=[],a;if(m._selectCache)for(var n=0,i=m._selectCache.length;n<i;n++){var o=m._selectCache[n];if(o.selector===e)return o.result}for(var s=CA(t.include),l=SA(t),u=0;u<s.length;u++){a=s[u];var c=xr(a,e,l);r=kA(r,c);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function CA(e){return e.reduce(function(t,r){return (!t.length||!Cr(t[t.length-1],r))&&t.push(r),t},[])}function SA(e){return !e.exclude||e.exclude.length===0?null:function(t){return wl(t,e)}}function kA(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 ro(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(te(e)!=="object"||e===null)return {message:String(e)};var r={},a=tt(qe.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(te(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?ro(e.cause,t+1):"..."),r}var TA=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return rr(this,t),n=Re(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=ro(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),l&&(n.errorNode=l),n}return ht(t,e),ar(t)})(fe(Error)),ao=TA;function FA(e,t,r){if(e===p)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function RA(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return FA(r,a,n)});}var IA=RA;function LA(e){var t=Array.isArray(e)?Ee(e):[e];return pm(t,h)}function pm(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?pm(e,a.shadowRoot):null}function Cl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h,r=Array.isArray(e)?Ee(e):[e];return e.length===0?[]:mm(r,t)}function mm(e,t){var r=Q(e),a=r[0],n=Vn(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=tt(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Ee(mm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function PA(){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 no=PA,hm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 MA(e){for(var t=hm;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 gm(e){e=Array.isArray(e)?e:hm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(gm(r).map(function(i){return n+i})):t.push(n);}),t}var io=MA,OA=(function(e){function t(r){var a;return rr(this,t),a=Re(this,t),a._props=qA(r),a._attrs=BA(r),a}return ht(t,e),ar(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)}}])})(Et),Sl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},vm={},NA=Object.keys(Sl);NA.forEach(function(e){vm[Sl[e]]=e;});function qA(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:vm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Sl[e.nodeName])!==null&&r!==void 0?r:1;Ue(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Ue(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(),no().includes(o)||(o="text"));var s=Me({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function BA(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(Ue(te(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 bm=OA;function VA(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),a=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{m.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=m.utils.getFlattenedTree(h.body);m.utils.querySelectorAll(n,"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){a.length===0?e(i):t(a);}).catch(t);}var ym=VA,Sn={},wm;function xm(e){return Sn.hasOwnProperty(e)}function kl(e){return typeof e=="string"&&Sn[e]?Sn[e]:typeof e=="function"?e:wm}function HA(e,t,r){Sn[e]=t,r&&(wm=t);}function jA(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 a=r.split("-"),n=he(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),l=he(s,3),u=l[0],c=l[1],d=l[2],g=m.version.split("-"),D=he(g,2),S=D[0],T=D[1],I=S.split(".").map(Number),L=he(I,3),P=L[0],N=L[1],q=L[2];if(u!==P||N<c||N===c&&q<d||u===P&&c===N&&d===q&&o&&o!==T)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||xm(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(W){if(!W.id)throw new TypeError("Configured check ".concat(JSON.stringify(W)," is invalid. Checks must be an object with at least an id property"));t.addCheck(W);});}var B=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(W){if(!W.id)throw new TypeError("Configured rule ".concat(JSON.stringify(W)," is invalid. Rules must be an object with at least an id property"));B.push(W.id),t.addRule(W);});}if(e.disableOtherRules&&t.rules.forEach(function(W){B.includes(W.id)===false&&(W.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&&sD(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(qe.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var $A=jA;function zA(e){cr.updateMessenger(e);}function GA(e){e=e||[];var t=e.length?m._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):m._audit.rules,r=m._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 WA=GA;function UA(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Dn(r)){var n=p.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=Ct(e),o=i&&p.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var XA=UA,Dm={};nr(Dm,{getAllCells:function(){return Tl},getCellPosition:function(){return Bi},getHeaders:function(){return oo},getScope:function(){return js},isColumnHeader:function(){return Ea},isDataCell:function(){return Am},isDataTable:function(){return so},isHeader:function(){return eE},isRowHeader:function(){return Ca},toArray:function(){return kr},toGrid:function(){return kr},traverse:function(){return Fl}});function YA(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 Tl=YA;function _m(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Ca:Ea,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,T=[],I=c;I>=g&&!S;I--)for(var L=d;L>=D;L--){var P=r[I]?r[I][L]:void 0;if(P){var N=m.utils.getNodeFromTree(P);if(N[a]){S=N[a];break}T.push(P);}}return S=(S||[]).concat(T.filter(n)),T.forEach(function(q){var B=m.utils.getNodeFromTree(q);B[a]=S;}),S}function KA(e,t){if(e.getAttribute("headers")){var r=gr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=kr(_a(e,"table")));var a=Bi(e,t),n=_m("row",a,t),i=_m("col",a,t);return [].concat(n,i).reverse()}var oo=KA;function JA(e){if(!e.children.length&&!e.textContent.trim())return false;var t=$e(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Am=JA;function ZA(e){var t=$e(e);if((t==="presentation"||t==="none")&&!bt(e))return false;if(e.getAttribute("contenteditable")==="true"||_a(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||dr(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($e(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,T=0;T<i;T++){if(o=e.rows[T],D&&D!==p.getComputedStyle(o).getPropertyValue("background-color")||(D=p.getComputedStyle(o).getPropertyValue("background-color"),S&&S!==p.getComputedStyle(o).getPropertyValue("background-image")))return true;S=p.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ss(e).width>Ti(p).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var so=ZA;function QA(e){if(Ea(e)||Ca(e))return true;if(e.getAttribute("id")){var t=ft(e.getAttribute("id"));return !!h.querySelector('[headers~="'.concat(t,'"]'))}return false}var eE=QA;function Em(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=Em(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function tE(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 Em(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Fl=tE,Cm={};nr(Cm,{allowedAttr:function(){return Sm},arialabelText:function(){return vn},arialabelledbyText:function(){return gn},getAccessibleRefs:function(){return Rl},getElementUnallowedRoles:function(){return Fm},getExplicitRole:function(){return $e},getImplicitRole:function(){return vr},getOwnedVirtual:function(){return wn},getRole:function(){return Be},getRoleType:function(){return dr},getRolesByType:function(){return pE},getRolesWithNameFromContents:function(){return gE},implicitNodes:function(){return bE},implicitRole:function(){return vr},isAccessibleRef:function(){return lo},isAriaRoleAllowedOnElement:function(){return Tm},isComboboxPopup:function(){return Ll},isUnsupportedRole:function(){return Vs},isValidRole:function(){return bn},label:function(){return Pm},labelVirtual:function(){return ji},lookupTable:function(){return Im},namedFromContents:function(){return tp},requiredAttr:function(){return Mm},requiredContext:function(){return Pl},requiredOwned:function(){return Ml},validateAttr:function(){return uo},validateAttrValue:function(){return Om}});function rE(e){var t=Xe.ariaRoles[e],r=Ee(Gr());return t&&(t.allowedAttrs&&r.push.apply(r,Ee(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Ee(t.requiredAttrs))),r}var Sm=rE,aE=/^idrefs?$/;function km(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=Ie(e.getAttribute(i)||"");if(o){var s=tt(Ot(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&&km(e.childNodes[c],t,r);}function nE(e){var t;e=e.actualNode||e;var r=Rt(e);r=r.documentElement||r;var a=Ne.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(Xe.ariaAttrs).filter(function(o){var s=Xe.ariaAttrs[o].type;return aE.test(s)});km(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Rl=nE;function iE(e,t){var r=e instanceof Et?e:Ve(e),a=vr(r),n=Wr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Tm=iE,oE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],sE={header:"banner",footer:"contentinfo"};function lE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Ot(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return bn(a)})}function uE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=We(e),a=r.vNode;if(!yl(a))return [];var n=a.props.nodeName,i=vr(a)||sE[n],o=lE(a);return o.filter(function(s){return !cE(s,a,t,i)})}function cE(e,t,r,a){return r&&e===a?true:oE.includes(e)&&dr(e)!==a?false:Tm(t,e)}var Fm=uE;function dE(e){return Object.keys(Xe.ariaRoles).filter(function(t){return Xe.ariaRoles[t].type===e})}var ka=dE;function fE(e){return ka(e)}var pE=fE;function mE(){return Ne.get("ariaRolesNameFromContent",function(){return Object.keys(Xe.ariaRoles).filter(function(e){return Xe.ariaRoles[e].nameFromContent})})}var Il=mE;function hE(){return Il()}var gE=hE,Rm=function(t){return t===null},It=function(t){return t!==null},Fr={};Fr.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}},Fr.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"],Fr.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:It}}]},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:It}}]},"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:It}}]},"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:It}}]},"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:It}}]},"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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},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:It}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Fr.implicitHtmlRole=zs,Fr.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:It}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:It}},{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"]}],Fr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Rm}},{nodeName:"img",attributes:{alt:Rm}},{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"]}],Fr.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=m.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=m.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}},Fr.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 Im=Fr;function vE(e){var t=null,r=Im.role[e];return r&&r.implicit&&(t=Er(r.implicit)),t}var bE=vE;function yE(e){return !!Rl(e).length}var lo=yE;function Ll(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Be(e);if(r??(r=Of["aria-haspopup"].values),!r.includes(a))return false;var n=wE(e);if(Lm(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=dn(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(Lm)}var Lm=function(t){return t&&Be(t)==="combobox"};function wE(e){for(;e=e.parent;)if(Be(e,{noPresentational:true})!==null)return e;return null}function xE(e){return e=Ve(e),ji(e)}var Pm=xE;function DE(e){var t=Xe.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Ee(t.requiredAttrs)}var Mm=DE;function _E(e){var t=Xe.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Ee(t.requiredContext)}var Pl=_E;function AE(e){var t=Xe.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Ee(t.requiredOwned)}var Ml=AE;function EE(e,t){e=e instanceof Et?e:Ve(e);var r,a,n=e.attr(t),i=Xe.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=Ot(n),a.reduce(function(l,u){return l&&i.values.includes(u)},a.length!==0);case "idref":try{var o=Rt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return gr(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 Om=EE;function CE(e){var t=Xe.ariaAttrs[e];return !!t}var uo=CE;function SE(e){var t=Tl(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 Ie(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf($e(s))!==-1}),i=kr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=Bi(s,i),u=false;Ea(s)&&(u=Fl("down",l,i).find(function(c){return !Ea(c)&&oo(c,i).includes(s)})),!u&&Ca(s)&&(u=Fl("right",l,i).find(function(c){return !Ca(c)&&oo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var kE=SE,kn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Nm=kn[0],qm=kn[1],Bm=kn[2],Ol=kn[3];function TE(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]=Be(o));}var l=Se(Se(Se(Se({},Bm,new Set),Nm,new Set),qm,new Set),Ol,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!ut(g))){var D=g.getAttribute("headers").trim();if(!D){l[Ol].add(g);return}var S=g.getAttribute("id"),T=Ot(D);T.forEach(function(I){S&&I===S?l[Bm].add(g):r[I]?["columnheader","rowheader"].includes(r[I])||l[qm].add(g):l[Nm].add(g);});}});var u=tt(kn),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l[d].size>0)return this.relatedNodes(Ee(l[d])),d===Ol?void 0:(this.data({messageKey:d}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function FE(e){var t=[],r=Tl(e),a=kr(e);return r.forEach(function(n){if(Gi(n)&&Am(n)&&!Pm(n)){var i=oo(n,a).some(function(o){return o!==null&&!!Gi(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var RE=FE;function IE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var LE=IE,PE=ME;function ME(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(OE),i=n?Ie(Ur(n)):false;return !i||!a?false:Ie(a).toLowerCase()===Ie(i).toLowerCase()}}function OE(e){return e.props.nodeName==="caption"}function NE(e){return Sp(h)?e.nodeName.toUpperCase()==="TH":true}var qE=NE;function BE(e){var t=kr(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 VE=BE;function HE(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=Ur(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var jE=HE,Vm={};nr(Vm,{getAriaRolesByType:function(){return ka},getAriaRolesSupportingNameFromContent:function(){return Il},getElementSpec:function(){return Wr},getElementsByContentType:function(){return Hs},getGlobalAriaAttrs:function(){return Gr},implicitHtmlRoles:function(){return zs}});function $E(e,t,r){var a=$e(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=Be(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=Gr().some(function(l){return r.hasAttr(l)}),o=bt(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function zE(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 GE=zE;function WE(e){return $t(e)}var UE=WE;function XE(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&&!Tp(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(Me({value:d},c)),true;var g=YE(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Me({value:g},c)),typeof g=="number")return (typeof n!="number"||g>=n)&&(typeof i!="number"||g<=i)}function YE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=p.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 KE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var JE=KE;function ZE(){}var QE=ZE;function eC(){var e=h.title;return !!Ie(e)}var tC=eC;function rC(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 aC=rC;function nC(e,t,r){try{return !!Ie(gn(r))}catch{return}}var iC=nC;function oC(e,t,r){return !!Ie(vn(r))}var sC=oC;function lC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Rt(e),a=Array.from(r.querySelectorAll('[id="'.concat(ft(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var uC=lC;function cC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var dC=cC;function fC(e,t,r){var a=Ie(r.attr("title")).toLowerCase();return this.data(a),true}var pC=fC;function mC(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 hC=mC;function gC(e){var t=Os(e,"href");return t?ut(t)||void 0:false}var vC=gC,bC=["alert","log","status"];function yC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Ne.get("regionlessNodes",function(){return wC(t)});return !a.includes(r)}function wC(e){var t=Hm(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,a,n){return n.indexOf(r)===a});return t}function Hm(e,t){var r=e.actualNode;if(Be(e)==="button"||DC(e,t)||["iframe","frame"].includes(e.props.nodeName)||ol(e.actualNode)&&Os(e.actualNode,"href")||!ut(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==h.body&&Gi(r,true)&&!xC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Hm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function xC(e){return ["none","presentation"].includes(Be(e))&&!zi(e)}function DC(e,t){var r=e.actualNode,a=Be(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=ka("landmark");return !!(["assertive","polite"].includes(n)||bC.includes(a)||i.includes(a)||t.regionMatcher&&yn(e,t.regionMatcher))}function _C(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=tt(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(xl(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 AC=_C;function EC(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 CC(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 Nl(e){var t=p.getComputedStyle(CC(e));return {fontWeight:EC(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(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 SC(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(I){return I.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(I){return I.nodeName.toUpperCase()==="P"}),l=Nl(e),u=o?Nl(o):null,c=s?Nl(s):null,d=t.passLength,g=t.failLength,D=e.textContent.trim().length,S=o?.textContent.trim().length;if(D>S*d||!u||!jm(l,u,i))return true;var T=Da(r,"blockquote");if(!(T&&T.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!jm(l,c,i))&&!(D>S*g))return false}var kC=SC,TC=/[;,\s]/,FC=/^[0-9.]+$/;function RC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(TC),l=he(s,1),u=l[0];if(!u.match(FC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function IC(e,t,r){var a=Wt(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var LC=IC,$m={};nr($m,{aria:function(){return Cm},color:function(){return zm},dom:function(){return As},forms:function(){return r1},matches:function(){return yn},math:function(){return gf},standards:function(){return Vm},table:function(){return Dm},text:function(){return hn},utils:function(){return Mo}});var zm={};nr(zm,{Color:function(){return ct},centerPointOfRect:function(){return MC},elementHasImage:function(){return Wi},elementIsDistinct:function(){return Wm},filteredRectStack:function(){return BC},flattenColors:function(){return Dr},flattenShadowColors:function(){return Bl},getBackgroundColor:function(){return Fn},getBackgroundStack:function(){return Vl},getContrast:function(){return Ta},getForegroundColor:function(){return po},getOwnBackgroundColor:function(){return ua},getRectStack:function(){return Um},getStackingContext:function(){return jl},getStrokeColorsFromShadows:function(){return Hl},getTextShadowColors:function(){return fo},hasValidContrastRatio:function(){return sS},incompleteData:function(){return ot},parseTextShadows:function(){return Km},stackingContextToColor:function(){return Tn}});function PC(e){if(!(e.left>p.innerWidth)&&!(e.top>p.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),p.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),p.innerHeight-1);return {x:t,y:r}}}var MC=PC;function Gm(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function OC(e,t){var r=p.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new ct;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(a)return true;var n=p.getComputedStyle(t);if(Gm(r)[0]!==Gm(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 Wm=OC;function NC(e){var t=Lf(e),r=el(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Um=NC;function qC(e){var t=Um(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]:(ot.set("bgColor","elmPartiallyObscuring"),null)}return ot.set("bgColor","outsideViewport"),null}var BC=qC,VC=["hue","saturation","color","luminosity"],Xm={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 Dr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=jC(t,e,r),n=ql(e.red,e.alpha,t.red,t.alpha,a.r*255),i=ql(e.green,e.alpha,t.green,t.alpha,a.g*255),o=ql(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=HC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new ct(n,i,o,s);var l=Math.round(n/s),u=Math.round(i/s),c=Math.round(o/s);return new ct(l,u,c,s)}function ql(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function HC(e,t,r){return Math.min(Math.max(t,e),r)}function jC(e,t,r){if(VC.includes(r))return Xm[r](e,t);var a=new ct;return ["r","g","b"].forEach(function(n){a[n]=Xm[r](e[n],t[n]);}),a}function Bl(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 ct(a,n,i,o)}function Vl(e){for(var t=el(e).map(function(n){return n=Fp(n,e),n=$C(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ot.set("bgColor","bgOverlap"),null;if(r!==0&&!zC(a,t[0]))return ot.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function $C(e){var t=e.indexOf(h.body),r=e,a=ua(p.getComputedStyle(h.documentElement));if(t>1&&a.alpha===0&&!Wi(h.documentElement)){t>1&&(r.splice(t,1),r.push(h.body));var n=r.indexOf(h.documentElement);n>0&&(r.splice(n,1),r.push(h.documentElement));}return r}function zC(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 GC=.54,co=.5,WC=1.5,Ym=["top","right","bottom","left"];function Hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=UC(e),i=Object.entries(n).map(function(o){var s=he(o,2),l=s[0],u=s[1],c=Ym.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(XC).filter(function(o){return o!==null})}function UC(e){var t={},r=tt(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=he(s,2),c=u[0],d=u[1];c>co?l.right.push(c):-c>co&&l.left.push(-c),d>co?l.bottom.push(d):-d>co&&l.top.push(-d);}}catch(g){r.e(g);}finally{r.f();}return t}function XC(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new ct;n.parseString(t);var i=0,o=true;return Ym.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>WC}));}),o||(n.alpha=1-Math.pow(GC,i)),n}function Km(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)Ue(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Ue(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]===",")Ue(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 fo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=p.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);Ue(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],d=Km(s),g=tt(d),D;try{for(g.s();!(D=g.n()).done;){var S=D.value,T=S.colorStr||o.getPropertyValue("color"),I=he(S.pixels,3),L=I[0],P=I[1],N=I[2],q=N===void 0?0:N;if(!(a&&q>=u*a)){if(r&&q<u*r){c.push({colorStr:T,pixels:S.pixels});continue}if(c.length>0){var B=Hl(c,{ignoreEdgeCount:n});if(B===null)return null;i.push.apply(i,Ee(B)),c.splice(0,c.length);}var W=YC({colorStr:T,offsetX:L,offsetY:P,blurRadius:q,fontSize:u});i.push(W);}}}catch(ae){g.e(ae);}finally{g.f();}if(c.length>0){var J=Hl(c,{ignoreEdgeCount:n});if(J===null)return null;i.push.apply(i,Ee(J));}return i}function YC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new ct(0,0,0,0);var o=new ct;return o.parseString(t),o.alpha*=KC(n,i),o}function KC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function jl(e,t){var r=Ve(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Vl(e),t.forEach(function(i){var o,s=Ve(i),l=QC(s),u=s._stackingOrder.filter(function(g){var D=g.vNode;return !!D});u.forEach(function(g,D){var S,T=g.vNode,I=(S=u[D-1])===null||S===void 0?void 0:S.vNode,L=Zm(n,T,I);D===0&&!n.get(T)&&a.unshift(L),n.set(T,L);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,d=Zm(n,s,c);u.length||a.unshift(d),d.bgColor=l;}),r._stackingContext=a,a}function Tn(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(JC,Jm()),n=Dr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function JC(e,t){var r;e instanceof ct?r=e:r=Tn(e).color;var a=Tn(t).color;return Dr(a,r,t.blendMode)}function Jm(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new ct(0,0,0,0),blendMode:ZC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function ZC(e){return e||void 0}function Zm(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Jm(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function QC(e){var t=new ct;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Fn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=Ve(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,Ee(n.bgElms)),ot.set("bgColor",n.incompleteData),n.bgColor;var i=eS(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ot.get("bgColor")},i}function eS(e,t,r){var a,n,i=Vl(e);if(!i)return null;var o=Qs(e),s=(a=fo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(Bl)}]);for(var l=0;l<i.length;l++){var u=i[l],c=p.getComputedStyle(u);if(Wi(u,c))return t.push(u),null;var d=void 0;try{if(d=ua(c),d.alpha===0)continue}catch(T){if(T&&ot.get("colorParse"))return null;throw T}if(c.getPropertyValue("display")!=="inline"&&!Qm(u,o))return t.push(u),ot.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),d.alpha===1)break}var g=jl(e,i);s=g.map(Tn).concat(s);var D=tS(e,i.includes(h.body));if((n=s).unshift.apply(n,Ee(D)),s.length===0)return new ct(255,255,255,1);var S=s.reduce(function(T,I){return Dr(I.color,T.color instanceof ct?T.color:T,I.blendMode)});return Dr(S.color instanceof ct?S.color:S,new ct(255,255,255,1))}function Qm(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=p.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 p.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 e1(e){return e||void 0}function tS(e,t){var r=[];if(!t){var a=h.documentElement,n=h.body,i=p.getComputedStyle(a),o=p.getComputedStyle(n),s=ua(i),l=ua(o),u=l.alpha!==0&&Qm(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:e1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:e1(i.getPropertyValue("mix-blend-mode"))});}return r}function rS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Dr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Ta=rS;function po(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=p.getComputedStyle(e),i=[function(){return nS(n,a)},function(){return aS(n)},function(){return fo(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(T){if(T&&ot.get("colorParse"))return null;throw T}var d=o.reduce(function(T,I){return Dr(T,I)});if(r??(r=Fn(e,[])),r===null){var g=ot.get("bgColor");return ot.set("fgColor",g),null}var D=jl(e),S=t1(D,e);return Dr(iS(d,S,D),new ct(255,255,255,1))}function aS(e){return new ct().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function nS(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 ct().parseString(s)}function iS(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(Tn);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Dr(l.color,s.color instanceof ct?s.color:s)},{color:new ct(0,0,0,0),blendMode:"normal"});e=Dr(e,o),t=t.ancestor;}return e}function t1(e,t){var r=tt(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=t1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function oS(e,t,r,a){var n=Ta(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 sS=oS,r1={};nr(r1,{isAriaCombobox:function(){return lp},isAriaListbox:function(){return sp},isAriaRange:function(){return up},isAriaTextbox:function(){return op},isDisabled:function(){return Rn},isNativeSelect:function(){return ip},isNativeTextbox:function(){return np}});var lS=["fieldset","button","select","input","textarea"];function a1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return lS.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=a1(e.parent):t=false,e._isDisabled=t,t}var Rn=a1;function uS(e,t,r){var a=hn.accessibleTextVirtual(r),n=hn.sanitize(hn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:As.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var cS=uS;function n1(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 te(o)!==te(s)?false:te(o)==="object"||te(s)==="object"?n1(o,s):o===s});return n}function dS(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(T,I){var L=T.data;return L.name===d&&I!==s}),S=D.every(function(T){var I=T.data;return n1(I.urlProps,g)});D.length&&!S&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Ee(D.map(function(T){return T.relatedNodes[0]}))),a[d]=D,r.push(u);},i=0;i<t.length;i++)n(i);return r}var fS=dS;function pS(e){var t=Be(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=he(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 mS(){var e=Ne.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=xr(m._tree[0],t,ut);return e=r.map(function(a){return {ancestry:[wi(a.actualNode)],level:pS(a)}}),this.data({headingOrder:e}),Ne.set("headingOrder",r),true}var hS=mS;function gS(e){var t=bS(e);return e.forEach(function(r){r.result=vS(r,t);}),e}function vS(e,t){var r,a,n,i,o=i1(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 bS(e){e=Ee(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(yS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function yS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=o1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return xS(s,n)}),o=wS(e,n);return o===-1?e.push.apply(e,Ee(i)):e.splice.apply(e,[o,0].concat(Ee(i))),e}function wS(e,t){for(;t.length;){var r=i1(e,t);if(r!==-1)return r;t=o1(t,1);}return -1}function i1(e,t){return e.findIndex(function(r){return xl(r.ancestry,t)})}function xS(e,t){var r=t.concat(e.ancestry);return Me({},e,{ancestry:r})}function o1(e,t){return e.slice(0,e.length-t)}function DS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Sr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Sr.bind(null,a),o=Oi(r),s=_S(r,o),l=AS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(In(s));return}if(u.length)return this.relatedNodes(In(u)),this.data({messageKey:"obscured"}),true;var d=er(r)?false:void 0;if(!i(n))return this.data(Me({minSize:a},mo(n))),d;var g=SS(c);if(!g.length)return this.data(Me({minSize:a},mo(n))),true;var D=ES(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(In(s));return}var S=g.every(er),T="partiallyObscured".concat(S?"":"NonTabbable");return this.data(Me({messageKey:T,minSize:a},mo(D))),this.relatedNodes(In(g)),S?d:void 0}return this.data(Me({minSize:a},mo(D||n))),this.relatedNodes(In(g)),true}function _S(e,t){return t.filter(function(r){return !s1(r,e)&&l1(e,r)})}function AS(e,t){var r=[],a=[],n=tt(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!l1(e,o)&&Fs(e,o)&&kS(o)!=="none"&&(s1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function ES(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=Rs(a,n);}catch{return null}return CS(i,r)}function CS(e,t){return e.reduce(function(r,a){var n=Sr(t,r),i=Sr(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 SS(e){return e.filter(function(t){return dr(t)==="widget"&&bt(t)})}function s1(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 kS(e){return e.getComputedStylePropertyValue("pointer-events")}function mo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function l1(e,t){return Cr(e,t)&&!er(t)}function In(e){return e.map(function(t){var r=t.actualNode;return r})}var TS=.05;function FS(e,t,r){var a=t?.minOffset||24;if(Sr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=tt(Oi(r,a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(dr(l)!=="widget"||!bt(l))){var u=null;try{u=bf(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=RS(u)*2,!(u+TS>=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(er)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),er(r)?false:void 0}function RS(e){return Math.round(e*10)/10}function IS(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("="),T=he(S,2),I=T[0],L=T[1];if(!I||!L)return d;var P=I.toLowerCase().trim(),N=L.toLowerCase().trim();return P==="maximum-scale"&&N==="yes"&&(N=1),P==="maximum-scale"&&parseFloat(N)<0||(d[P]=N),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 LS=IS;function PS(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=I(o),D=function(){var oe=T[S],de=g[oe],me=de.root,Ce=de.rules,Pe=Ce.filter(L);if(!Pe.length)return 1;Pe.forEach(function(we){var Te=we.cssRules;Array.from(Te).forEach(function(le){var _e=P(le);if(_e&&le.selectorText.toUpperCase()!=="HTML"){var j=Array.from(me.querySelectorAll(le.selectorText))||[];d=d.concat(j);}c=c||_e;});});},S=0,T=Object.keys(g);S<T.length;S++)D();if(!c)return true;return d.length&&this.relatedNodes(d),false;function I(Z){return Z.reduce(function(oe,de){var me=de.sheet,Ce=de.root,Pe=de.shadowId,we=Pe||"topDocument";if(oe[we]||(oe[we]={root:Ce,rules:[]}),!me||!me.cssRules)return oe;var Te=Array.from(me.cssRules);return oe[we].rules=oe[we].rules.concat(Te),oe},{})}function L(Z){var oe=Z.type,de=Z.cssText;return oe!==4?false:/orientation:\s*landscape/i.test(de)||/orientation:\s*portrait/i.test(de)}function P(Z){var oe=Z.selectorText,de=Z.style;if(!oe||de.length<=0)return false;var me=de.transform||de.webkitTransform||de.msTransform||false;if(!me&&!de.rotate)return false;var Ce=N(me),Pe=q("rotate",de.rotate),we=Ce+Pe;return !we||(we=Math.abs(we),Math.abs(we-180)%180<=u)?false:Math.abs(we-90)%90<=u}function N(Z){if(!Z)return 0;var oe=Z.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!oe)return 0;var de=he(oe,3),me=de[1],Ce=de[2];return q(me,Ce)}function q(Z,oe){switch(Z){case "rotate":case "rotateZ":return B(oe);case "rotate3d":var de=oe.split(",").map(function(we){return we.trim()}),me=he(de,4),Ce=me[2],Pe=me[3];return parseInt(Ce)===0?void 0:B(Pe);case "matrix":case "matrix3d":return W(oe);default:return 0}}function B(Z){var oe=Z.match(/(deg|grad|rad|turn)/)||[],de=he(oe,1),me=de[0];if(!me)return 0;var Ce=parseFloat(Z.replace(me,""));switch(me){case "rad":return J(Ce);case "grad":return ae(Ce);case "turn":return pe(Ce);default:return parseInt(Ce)}}function W(Z){var oe=Z.split(",");if(oe.length<=6){var de=he(oe,2),me=de[0],Ce=de[1],Pe=Math.atan2(parseFloat(Ce),parseFloat(me));return J(Pe)}var we=parseFloat(oe[8]),Te=Math.asin(we),le=Math.cos(Te),_e=Math.acos(parseFloat(oe[0])/le);return J(_e)}function J(Z){return Math.round(Z*(180/Math.PI))}function ae(Z){return Z=Z%400,Z<0&&(Z+=400),Math.round(Z/400*360)}function pe(Z){return Math.round(360/(1/Z))}}var MS=PS;function OS(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=he(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 NS=OS;function qS(e,t){return t.isViolation?false:void 0}var BS=qS,u1=" > ";function VS(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(u1);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(u1);return t[i]&&(t[i].result=true),false})}var HS=VS;function jS(e,t,r){var a=Wt(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var $S=jS;function zS(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 GS=zS;function WS(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||!ut(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",g=Be(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 US=WS;function XS(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"&&Be(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&&ut(u)){var d=$e(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 YS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=$e(a);return ["presentation","none","list"].includes(i)?true:i&&bn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function KS(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=c1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&ZS(l)){if(!l.children)return;var c=c1(l.children,true);i.push.apply(i,Ee(c));continue}var d=JS(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 JS(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||!ut(e))return false;var g=$e(e);return g?n.includes(g)?false:d+"[role=".concat(g,"]"):o.includes(l)?false:d+l}function ZS(e){return e.props.nodeName==="div"&&$e(e)===null}function c1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function QS(e){var t=Ct(e),r=t.nodeName.toUpperCase(),a=$e(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=Ct(t),r=t.nodeName.toUpperCase(),a=$e(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var e5=QS;function t5(e,t,r){var a=da(r.attr("lang")),n=da(r.attr("xml:lang"));return a===n}var r5=t5;function a5(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=da(i),s=t.value?!t.value.map(da).includes(o):!io(o);(o!==""&&s||i!==""&&!Ie(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!rl(r)?false:(this.data(a),true)}var n5=a5;function $l(e){return (e||"").trim()!==""}function i5(e,t,r){var a=typeof h<"u"?rn(h):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&$l(r.attr("xml:lang"))&&!$l(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return $l(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var o5=i5;function s5(e,t,r){var a=Be(e),n=St(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var l5=s5;function u5(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 c5=u5;function d5(e,t,r){var a=$i(r),n=Vi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var f5=d5;function p5(e){var t=ft(e.getAttribute("id")),r=e.parentNode,a=Rt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !zr(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 ut(s)});if(i.length>1)return;var o=gr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var m5=p5;function h5(e,t){var r=d1(t),a=d1(e);return !r||!a?false:r.includes(a)}function d1(e){var t=xn(e,{emoji:true,nonBmp:true,punctuations:true});return Ie(t)}function g5(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=oa(e).toLowerCase(),s=Ie(Ur(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(Zs(o)<1||Zs(s)<1))return h5(s,o)}var v5=g5;function b5(e,t,r){try{var a=jt(r,"label");if(a){var n=Ie(St(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var y5=b5;function w5(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Rt(e),n=ft(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!ut(i)){var o;try{o=St(r).trim();}catch{return}var s=o==="";return s}}return false}var x5=w5;function D5(e,t,r){var a=$i(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=gr(e,"aria-describedby");n=i.map(function(o){return o?oa(o):""}).join("");}return Ie(n)===Ie(a)}var _5=D5;function A5(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Rt(r.actualNode),i=ft(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($t(s)){var l=Ie(oa(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var E5=A5;function C5(e,t,r){if(["none","presentation"].includes(Be(r)))return false;var a=jt(r,t.parentSelector);if(!a)return false;var n=br(a,true).toLowerCase();return n===""?false:n===St(r).toLowerCase()}var S5=C5;function k5(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var T5=k5;function F5(e,t,r){var a=wr(r.attr("tabindex"));return a===null||a<=0}var R5=F5;function I5(e,t,r){if(r.children)try{var a=f1(r);if(!a.length)return !0;var n=a.filter(L5);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function f1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){dr(r)==="widget"&&bt(r)?t.push(r):t.push.apply(t,Ee(f1(r)));}),t}function L5(e){var t=wr(e.attr("tabindex"));return t!==null&&t<0}function P5(e){var t=ka("landmark"),r=Ct(e),a=Be(e);for(this.data({role:a});r;){var n=$e(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=vr(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=Ct(r);}return true}var M5=P5;function O5(e,t,r){if(r.children)try{return !r.children.some(function(a){return p1(a)})}catch{return}}function p1(e){if(er(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return p1(t)})}function N5(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||_n()?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 q5=N5;function B5(e,t,r){if(!er(r))return false;try{return !St(r)}catch{return}}var V5=B5;function H5(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(_n()){this.relatedNodes(a);return}return true}var j5=H5;function $5(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return er(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=jt(r.parent,"[contenteditable]");return o?a(o):false}}var z5=$5;function G5(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||_n()?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 W5=G5;function U5(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 X5=U5;function Y5(e,t,r){return zr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var K5=Y5;function J5(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 Z5=J5;function Q5(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(Ne.get(a)){this.data("ignored");return}Ne.set(a,true);var n=xr(m._tree[0],t.selector,function(i){return ut(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Da(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return Be(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var ek=Q5;function tk(e){return e.filter(function(t){return t.data!=="ignored"})}var rk=tk;function ak(e,t,r){return yn(r,t.matcher)}var nk=ak;function ik(e,t,r){try{return Ie(Ur(r))!==""}catch{return}}function ok(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&&_n())return true;var a=xr(r,t.selector,function(n){return ut(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var sk=ok;function lk(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var uk=lk;function ck(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=!Ie(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var dk=ck;function fk(e,t,r){var a=r.attr("autocomplete")||"";return yp(a,t)}var pk=fk;function mk(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};te(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(la.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Ie(r.attr("type")).toLowerCase():"text";return c=no().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var hk=mk,gk=["block","list-item","table","flex","grid","inline-block"];function vk(e){if(m1(e))return false;for(var t=Ct(e);t&&t.nodeType===1&&!m1(t);)t=Ct(t);if(t){if(this.relatedNodes([t]),Wm(e,t))return true;if(bk(e)){this.data({messageKey:"pseudoContent"});return}return false}}function m1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return gk.indexOf(t)!==-1||t.substr(0,6)==="table-"}function bk(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=p.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function h1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var yk=["block","list-item","table","flex","grid","inline-block"];function g1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return yk.indexOf(t)!==-1||t.substr(0,6)==="table-"}function wk(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(g1(e))return false;for(var n=Ct(e);n&&n.nodeType===1&&!g1(n);)n=Ct(n);if(n){this.relatedNodes([n]);var i=po(e),o=po(n),s=Fn(e),l=Fn(n),u=i&&o?h1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?h1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,g=(d=ot.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:g}),ot.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 xk=wk;function Dk(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(!$t(e))return this.data({messageKey:"hidden"}),true;var g=br(r,false,true);if(a&&Ak(g)){this.data({messageKey:"nonBmp"});return}var D=p.getComputedStyle(e),S=parseFloat(D.getPropertyValue("font-size")),T=D.getPropertyValue("font-weight"),I=parseFloat(T)>=o||T==="bold",L=Math.ceil(S*72)/96,P=I&&L<s||!I&&L<l,N=P?u.normal:u.large,q=N.expected,B=N.minThreshold,W=N.maxThreshold,J=_k(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(J){this.data({fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:I?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:q+":1"}),this.relatedNodes(J.actualNode);return}var ae=fo(e,{minRatio:.001,maxRatio:c});if(ae===null){this.data({messageKey:"complexTextShadows"});return}var pe=[],Z=Fn(e,pe,c),oe=po(e,false,Z,t),de=null,me=null,Ce=null;if(ae.length===0)de=Ta(Z,oe);else if(oe&&Z){Ce=[].concat(Ee(ae),[Z]).reduce(Bl);var Pe=Ta(Z,oe),we=Ta(Z,Ce),Te=Ta(Ce,oe);de=Math.max(Pe,we,Te),de!==Pe&&(me=we>Te?"shadowOnBgColor":"fgOnShadowColor");}var le=de>q;if(typeof B=="number"&&(typeof de!="number"||de<B)||typeof W=="number"&&(typeof de!="number"||de>W))return this.data({contrastRatio:de}),true;var _e=Math.floor(de*100)/100,j,ge;Z===null?ot.get("colorParse")?(j="colorParse",ge=ot.get("colorParse")):j=ot.get("bgColor"):le||(j=me),oe===null&&ot.get("colorParse")&&(j="colorParse",ge=ot.get("colorParse"));var ie=_e===1,ve=g.length===1;if(ie?j=ot.set("bgColor","equalRatio"):!le&&ve&&!n&&(j="shortTextContent"),this.data({fgColor:oe?oe.toHexString():void 0,bgColor:Z?Z.toHexString():void 0,contrastRatio:_e,fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:I?"bold":"normal",messageKey:j,expectedContrastRatio:q+":1",shadowColor:Ce?Ce.toHexString():void 0,colorParse:ge}),oe===null||Z===null||ie||ve&&!n&&!le){j=null,ot.clear(),this.relatedNodes(pe);return}return le||this.relatedNodes(pe),le}function _k(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=v1(e.actualNode,":before"),u=v1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var v1=it(function(t,r){var a=p.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||ua(a).alpha===0&&n("background-image","none"))return 0;var i=b1(a.getPropertyValue("width")),o=b1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function Ak(e){var t={nonBmp:true},r=Ks(e,t),a=Ie(xn(e,t))==="";return r&&a}function b1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=he(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 Ek={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},Ck={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 Sk(e){var t=e.nodeName.toUpperCase();return Ek[t]||false}function kk(e,t){var r=$e(e);return r&&(Ck[r]||t.roles.includes(r))||false}function Tk(e,t){return kk(e,t)||Sk(e)}var Fk=Tk;function Rk(e,t,r){var a=Be(r,{dpub:true,fallback:true}),n=Vs(a);return n&&this.data(a),n}var Ik=Rk;function Lk(e,t,r){var a=Be(r,{noImplicit:true});this.data(a);var n,i;try{n=Ie(Xs(r)).toLowerCase(),i=Ie(St(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var Pk=Lk;function Mk(e,t,r){return bt(r)}var Ok=Mk;function Nk(e,t,r){var a=Ot(r.attr("role")),n=a.every(function(i){return !bn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var qk=Nk;function Bk(e,t,r){var a=$e(r);if(a===null)return false;var n=dr(a);return n==="widget"||n==="composite"}var Vk=Bk;function Hk(e,t,r){var a=Gr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var jk=Hk;function $k(e,t){var r=vr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function zk(e,t,r){var a=Ot(r.attr("role"));return a.length<=1?false:$k(r,a)?void 0:true}var Gk=zk;function Wk(e,t,r){var a=Be(r,{dpub:true,fallback:true}),n=Xe.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function Uk(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Ie(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ie(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function Xk(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Ie(St(r))!==""}catch{return}}function Yk(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=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=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,d=r.attr(u);try{c=Om(r,u);}catch{a="".concat(u,'="').concat(d,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(d===""&&!Kk(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 Kk(e){var t;return ((t=Xe.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function Jk(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)&&!uo(i)&&a.push(i);}),a.length?(this.data(a),false):true}var Zk=Jk;function Qk(e,t,r){var a=r.attrNames.filter(function(n){var i=Xe.ariaAttrs[n];if(!uo(n))return false;var o=i.unsupported;return te(o)!=="object"?!!o:!yn(e,o.exceptions)});return a.length?(this.data(a),true):false}var eT=Qk;function tT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=Be(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var rT=tT;function y1(e,t,r,a){var n=$e(e);if(r||(r=Pl(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=Be(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 aT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=ft(e.getAttribute("id")),n=Rt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function nT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=y1(r,a);if(!n)return true;var i=aT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=y1(Ve(i[o]),a,n,true),!n)return true}return this.data(n),false}var iT=nT;function oT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=$e(r,{dpub:true}),i=Ml(n);if(i===null)return true;var o=sT(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 cT(c,d)}).filter(function(u,c,d){return d.indexOf(u)===c}).join(", ")}),false}if(lT(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(dT)))return false}function sT(e,t){for(var r,a=[],n=wn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!ut(r))return 1;var s=Be(r,{noPresentational:true}),l=uT(r),u=!!l||bt(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,Ee(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 lT(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function uT(e){return Gr().find(function(t){return e.hasAttr(t)})}function cT(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=$e(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function dT(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Dn(t,false,true)}function fT(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=$e(a),i=a.attrNames,o=Mm(n);if(Array.isArray(r[n])&&(o=Cn(r[n],o)),!n||!i.length||!o.length||pT(a,n)||hT(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Wr(a),l=o.filter(function(u){return !a.attr(u)&&!mT(s,u)});return l.length?(this.data(l),false):true}function pT(e,t){return t==="separator"&&!bt(e)}function mT(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function hT(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function gT(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=Be(r,{chromium:true,fallback:true}),o=vT(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Ie(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=Ur(r,{subtreeDescendant:true});if(Ie(u)==="")return true}function vT(e,t,r,a){var n=Xe.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||w1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var w1=it(function(t){if(t){var r=Be(t,{noPresentational:true,chromium:true});return r?dr(r):w1(t.parent)}});function bT(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var yT=bT;function wT(e,t,r){return r.attr("aria-hidden")!=="true"}var xT=wT;function DT(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 Xe.ariaAttrs["aria-errormessage"].allowEmpty;var u=Ot(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&gr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!ut(c))return this.data({messageKey:"hidden",values:u}),false;var d=Ot(r.attr("aria-describedby"));return $e(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(Ot(a)),s.call(this,a)):true}function x1(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=_T(i),l=s&&Be(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 _T(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return jt(e,t)}}function D1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=ET(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=AT(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function AT(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function ET(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var _1={row:x1,checkbox:D1};function CT(e,t,r){var a=Be(r);return _1[a]?_1[a].call(this,e,t,r):true}function ST(e,t,r){return r.attr("aria-busy")==="true"}function kT(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=Fm(r,n);return l.length?(this.data(l),ut(r)?false:void 0):true}var TT=kT;function FT(e,t,r){var a=[],n=Be(r),i=Sm(n);Array.isArray(t[n])&&(i=Cn(t[n].concat(i)));var o=tt(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;uo(l)&&!i.includes(l)&&!RT(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&&!yl(r)&&!bt(r)))return false}function RT(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function IT(e,t,r){var a=Wr(r);if(!a.allowedAriaAttrs)return true;var n=$e(r);if(n)return true;var i=a.allowedAriaAttrs,o=Gr(),s=[],l=tt(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 LT(e,t,r){var a=Ot(r.attr("role")).filter(function(n){return dr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var PT=LT;function MT(e){var t=da(e.getAttribute("lang")),r=da(e.getAttribute("xml:lang"));return io(t)&&io(r)}var OT=MT;function NT(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var qT=NT;function BT(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!jt(t,"svg")}catch{return false}}var zl=BT;function VT(e,t){return HT.every(function(r){return r(e,t)})}var HT=[function(e,t){return A1(t)},function(e,t){return jT(t)},function(e,t){return !zl(e,t)},function(e,t){return bt(t)},function(e,t){return er(t)||!$T(t)},function(e){return !al(e,{noLengthCompare:true,includeInlineBlock:true})}];function A1(e){return dr(e)==="widget"}function jT(e){return e.props.nodeName!=="area"}var $T=it(function e(t){return t!=null&&t.parent?A1(t.parent)&&er(t.parent)?true:e(t.parent):false});function zT(e,t){var r=Be(t);return ["treegrid","grid","table"].includes(r)}function GT(e,t){var r=t.parent;if(r.props.nodeName!=="details"||WT(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function WT(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function UT(e){return ol(e)&&Ri(e)}var XT=UT;function YT(e,t){return Tr(e,13)!==void 0&&Ll(t)===false&&KT(t)}function KT(e){var t=e.boundingClientRect;return Wt(e,"*").some(function(r){if(!Dn(r,true,true))return false;var a=[];if(zi(r)){var n;(n=a).push.apply(n,Ee(JT(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 JT(e){var t=h.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function ZT(e,t){return vr(t,{chromiumRoles:true})!==null}var QT=ZT;function e3(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 t3=e3;function r3(e,t){var r=$e(t);if(!r||["none","presentation"].includes(r))return true;var a=Nf[r]||{},n=a.accessibleNameRequired;return !!(n||bt(t))}var E1=r3,a3=function(t,r){return [E1,n3].every(function(a){return a(t,r)})};function n3(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 i3(e,t){return t.props.nodeName!=="html"}var o3=i3;function s3(e,t){return !t.attr("role")}var l3=s3;function u3(e,t){var r=wr(t.attr("tabindex"));return r===null||r>=0}var c3=u3;function d3(e,t){var r=Wr(t),a=r.namingMethods;return !(a&&a.length!==0||$e(t)==="combobox"&&Wt(t,'input:not([type="hidden"])').length||Ll(t,{popupRoles:["listbox"]}))}var f3=d3;function p3(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var m3=p3;function h3(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var g3=h3;function v3(e,t){var r=Be(t);return r?!!Xe.ariaRoles[r].childrenPresentational:false}var b3=v3;function y3(e){var t=Ie(e.innerText),r=$e(e);return r&&r!=="link"||!t||!$t(e)?false:al(e)}var w3=y3;function x3(e){return !so(e)&&!bt(e)}var D3=x3;function _3(e,t){return A3(t)&&ut(t)}function A3(e){var t=ka("landmark"),r=Be(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=St(e);return !!n}return t.indexOf(r)>=0||r==="region"}function E3(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Da(t,r)}var C3=E3;function S3(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 k3=S3;function T3(e,t){var r=Be(e);if(!r)return false;var a=ka("widget"),n=a.includes(r);if(!n)return false;var i=Il();return !(!i.includes(r)||!Ie(vn(t))&&!Ie(gn(e))||!Ie(br(t)))}var F3=T3;function R3(e,t){return $t(t)}function I3(e){return $t(e)}function L3(e,t,r){return r.initiator}var C1=L3;function P3(e){return Ap(e)}var M3=P3;function O3(e,t){var r=!!St(t);if(!r)return false;var a=Be(e);return !(a&&a!=="link")}var N3=O3;function q3(e,t){return !zl(e,t)}var B3=q3;function V3(e,t){return Be(t)==="heading"}function H3(e,t){return vr(t,{chromium:true})!==null}var j3=H3;function $3(e){var t=e.getAttribute("title");return !!Ie(t)}var z3=$3;function G3(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 W3=G3;function U3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(ft(t),'"]'),a=Array.from(Rt(e).querySelectorAll(r));return !lo(e)&&a.every(function(n){return !bt(n)})}var X3=U3;function Y3(e){return lo(e)}var K3=Y3;function J3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(ft(t),'"]'),a=Array.from(Rt(e).querySelectorAll(r));return !lo(e)&&a.some(bt)}var Z3=J3;function Q3(e){return so(e)}var eF=Q3;function tF(e){if(so(e)){var t=kr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var rF=tF;function aF(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)||Rn(t)||Ni(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=p.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},!sl(u,e))return false}return true}var c=Da(t,"label");if(a==="label"||c){var d=c||e,g=c?Ve(c):t;if(d.htmlFor){var D=Rt(d),S=D.getElementById(d.htmlFor),T=S&&Ve(S);if(T&&Rn(T))return false}var I='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',L=Wt(g,I)[0];if(L&&Rn(L))return false}for(var P=[],N=t;N;){if(N.props.id){var q=Rl(N).filter(function(oe){return Ot(oe.getAttribute("aria-labelledby")||"").includes(N.props.id)}).map(function(oe){return Ve(oe)});P.push.apply(P,Ee(q));}N=N.parent;}if(P.length>0&&P.every(Rn)||!oF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var B=h.createRange(),W=t.children,J=0;J<W.length;J++){var ae=W[J];ae.actualNode.nodeType===3&&Ie(ae.actualNode.nodeValue)!==""&&B.selectNodeContents(ae.actualNode);}var pe=Array.from(B.getClientRects()),Z=fn(t);return pe.some(function(oe){var de=sl(oe,e);if(!Z.length)return de;var me=Z.some(function(Ce){return Es(oe,Ce.boundingClientRect)});return de&&me})}var nF=aF,iF={emoji:true,nonBmp:false,punctuations:true};function oF(e){var t=br(e,false,true);return t===""||xn(t,iF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Js(r)})}function sF(e,t,r){return C1(e,t,r)?!!e.querySelector("a[href]"):true}var lF=sF;function uF(e,t){var r=t.attr("autocomplete");if(!r||Ie(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=$e(t),l=wr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=Xe.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!$t(t)&&!ut(t))}var cF=uF;function dF(e,t){var r=$e(t);return !!Pl(r)}var fF=dF;function pF(e,t){var r=$e(t,{dpub:true});return !!Ml(r)}var mF=pF;function S1(e){return e?e.getAttribute("aria-hidden")==="true"?false:S1(Ct(e)):true}function hF(e){return S1(Ct(e))}var gF=hF;function vF(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var bF=vF;function yF(e,t){return $e(t,{dpub:true,fallback:true})!==null}var wF=yF;function xF(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 DF=xF,_F={"abstractrole-evaluate":PT,"accesskeys-after":Z5,"accesskeys-evaluate":K5,"alt-space-value-evaluate":T5,"aria-allowed-attr-elm-evaluate":IT,"aria-allowed-attr-evaluate":FT,"aria-allowed-attr-matches":DF,"aria-allowed-role-evaluate":TT,"aria-allowed-role-matches":wF,"aria-busy-evaluate":ST,"aria-conditional-attr-evaluate":CT,"aria-conditional-checkbox-attr-evaluate":D1,"aria-conditional-row-attr-evaluate":x1,"aria-errormessage-evaluate":DT,"aria-has-attr-matches":bF,"aria-hidden-body-evaluate":xT,"aria-hidden-focus-matches":gF,"aria-label-evaluate":sC,"aria-labelledby-evaluate":iC,"aria-level-evaluate":yT,"aria-prohibited-attr-evaluate":gT,"aria-required-attr-evaluate":fT,"aria-required-children-evaluate":oT,"aria-required-children-matches":mF,"aria-required-parent-evaluate":iT,"aria-required-parent-matches":fF,"aria-roledescription-evaluate":rT,"aria-unsupported-attr-evaluate":eT,"aria-valid-attr-evaluate":Zk,"aria-valid-attr-value-evaluate":Yk,"attr-non-space-content-evaluate":dk,"autocomplete-appropriate-evaluate":hk,"autocomplete-matches":cF,"autocomplete-valid-evaluate":pk,"avoid-inline-spacing-evaluate":aC,"braille-label-equivalent-evaluate":Xk,"braille-roledescription-equivalent-evaluate":Uk,"bypass-matches":lF,"caption-evaluate":$S,"caption-faked-evaluate":VE,"color-contrast-evaluate":Dk,"color-contrast-matches":nF,"css-orientation-lock-evaluate":MS,"data-table-large-matches":rF,"data-table-matches":eF,"deprecatedrole-evaluate":Wk,"dlitem-evaluate":e5,"doc-has-title-evaluate":tC,"duplicate-id-active-matches":Z3,"duplicate-id-after":dC,"duplicate-id-aria-matches":K3,"duplicate-id-evaluate":uC,"duplicate-id-misc-matches":X3,"duplicate-img-label-evaluate":S5,"exists-evaluate":QE,"explicit-evaluate":E5,"fallbackrole-evaluate":Gk,"focusable-content-evaluate":X5,"focusable-disabled-evaluate":W5,"focusable-element-evaluate":z5,"focusable-modal-open-evaluate":j5,"focusable-no-name-evaluate":V5,"focusable-not-tabbable-evaluate":q5,"frame-focusable-content-evaluate":O5,"frame-focusable-content-matches":W3,"frame-tested-after":HS,"frame-tested-evaluate":BS,"frame-title-has-text-matches":z3,"has-alt-evaluate":JE,"has-descendant-after":uk,"has-descendant-evaluate":sk,"has-global-aria-attribute-evaluate":jk,"has-implicit-chromium-role-matches":j3,"has-lang-evaluate":o5,"has-text-content-evaluate":ik,"has-widget-role-evaluate":Vk,"heading-matches":V3,"heading-order-after":gS,"heading-order-evaluate":hS,"help-same-as-label-evaluate":_5,"hidden-content-evaluate":XA,"hidden-explicit-label-evaluate":x5,"html-namespace-matches":B3,"html5-scope-evaluate":qE,"identical-links-same-purpose-after":fS,"identical-links-same-purpose-evaluate":cS,"identical-links-same-purpose-matches":N3,"implicit-evaluate":y5,"inline-style-property-evaluate":XE,"inserted-into-focus-order-matches":M3,"internal-link-present-evaluate":LC,"invalid-children-evaluate":KS,"invalidrole-evaluate":qk,"is-element-focusable-evaluate":Ok,"is-initiator-matches":C1,"is-on-screen-evaluate":UE,"is-visible-matches":I3,"is-visible-on-screen-matches":R3,"label-content-name-mismatch-evaluate":v5,"label-content-name-mismatch-matches":F3,"label-matches":k3,"landmark-has-body-context-matches":C3,"landmark-is-top-level-evaluate":M5,"landmark-is-unique-after":c5,"landmark-is-unique-evaluate":l5,"landmark-unique-matches":_3,"layout-table-matches":D3,"link-in-text-block-evaluate":xk,"link-in-text-block-matches":w3,"link-in-text-block-style-evaluate":vk,"listitem-evaluate":YS,"matches-definition-evaluate":nk,"meta-refresh-evaluate":RC,"meta-viewport-scale-evaluate":LS,"multiple-label-evaluate":m5,"nested-interactive-matches":b3,"no-autoplay-audio-evaluate":NS,"no-autoplay-audio-matches":g3,"no-empty-role-matches":m3,"no-explicit-name-required-matches":E1,"no-focusable-content-evaluate":I5,"no-implicit-explicit-label-evaluate":Pk,"no-naming-method-matches":f3,"no-negative-tabindex-matches":c3,"no-role-matches":l3,"non-empty-if-present-evaluate":GE,"not-html-matches":o3,"object-is-loaded-matches":a3,"only-dlitems-evaluate":XS,"only-listitems-evaluate":US,"p-as-heading-evaluate":kC,"p-as-heading-matches":t3,"page-no-duplicate-after":rk,"page-no-duplicate-evaluate":ek,"presentation-role-conflict-matches":QT,"presentational-role-evaluate":$E,"region-after":AC,"region-evaluate":yC,"same-caption-summary-evaluate":PE,"scope-value-evaluate":LE,"scrollable-region-focusable-matches":YT,"skip-link-evaluate":vC,"skip-link-matches":XT,"structured-dlitems-evaluate":GS,"summary-interactive-matches":GT,"svg-namespace-matches":zl,"svg-non-empty-title-evaluate":jE,"tabindex-evaluate":R5,"table-or-grid-role-matches":zT,"target-offset-evaluate":FS,"target-size-evaluate":DS,"td-has-header-evaluate":RE,"td-headers-attr-evaluate":TE,"th-has-data-cells-evaluate":kE,"title-only-evaluate":f5,"unique-frame-title-after":hC,"unique-frame-title-evaluate":pC,"unsupportedrole-evaluate":Ik,"valid-lang-evaluate":n5,"valid-scrollable-semantics-evaluate":Fk,"widget-not-inline-matches":VT,"window-is-top-matches":qT,"xml-lang-mismatch-evaluate":r5,"xml-lang-mismatch-matches":OT},ho=_F;function AF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Gl=AF;function Wl(e){if(typeof e=="string"){if(ho[e])return ho[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function k1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||te(e)!=="object")&&(e={value:e}),e}function Fa(e){e&&(this.id=e.id,this.configure(e));}Fa.prototype.enabled=true,Fa.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 Gl(this),u=us(l,r,n,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=Qt.toSpec(t)),i(d);return}u.isAsync||(l.result=c,n(l));}else n(null);},Fa.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 Gl(this),u=us(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=Qt.toSpec(t)),d}return l.result=c,l},Fa.prototype.configure=function(t){var r=this;(!t.evaluate||ho[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=k1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Wl(t[a])});},Fa.prototype.getOptions=function(t){return this._internalCheck?Ds(this.options,k1(t||{})):t||this.options};var T1=Fa;function EF(e){this.id=e.id,this.result=qe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var go=EF;function Vt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Ue(qe.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=Wl(e.matches));}Vt.prototype.matches=function(){return true},Vt.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&&Ye.mark(a);var s=El(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Ye.mark(i),s=s.filter(function(l){return ut(l)}),r.performanceTimer&&(Ye.mark(o),Ye.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Ye.mark(n),Ye.measure("rule_"+this.id+"#gather",a,n)),s},Vt.prototype.runChecks=function(t,r,a,n,i,o){var s=this,l=hr();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],d=Ji(c,s.id,a);l.defer(function(g,D){c.run(r,d,n,g,function(S){D(new ao({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new Zt(r),error:S}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Vt.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=Ji(l,i.id,a);o.push(l.runSync(r,u,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},Vt.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=hr(),s=new go(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=hr();["any","all","none"].forEach(function(D){g.defer(function(S,T){r.runChecks(D,u,a,t,S,T);});}),g.then(function(D){var S=F1(D);S&&(S.node=new Zt(u),s.nodes.push(S),r.reviewOnFail&&(["any","all"].forEach(function(T){S[T].forEach(function(I){I.result===false&&(I.result=void 0);});}),S.none.forEach(function(T){T.result===true&&(T.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);});},Vt.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new go(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=F1(s);l&&(l.node=o.actualNode?new Zt(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},Vt.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;},Vt.prototype._logGatherPerformance=function(t){aa("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(Ye.timeElapsed(),"ms")),Ye.mark(this._markChecksStart);},Vt.prototype._logRulePerformance=function(){Ye.mark(this._markChecksEnd),Ye.mark(this._markEnd),Ye.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Ye.measure("rule_"+this.id,this._markStart,this._markEnd);};function F1(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}}Vt.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&&Ye.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(l){throw new ao({ruleId:a.id,method:"#matches",errorNode:new Zt(s),error:l})}}),r.performanceTimer&&(Ye.mark(i),Ye.measure("rule_"+this.id+"#matches",n,i)),o};function CF(e){return Ci(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function SF(e,t){var r=[];return e.forEach(function(a){var n=Ci(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function kF(e){return e.filter(function(t){return t.filtered!==true})}function TF(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=kF(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}Vt.prototype.after=function(t,r){var a=this,n=CF(this);return n.forEach(function(i){var o=SF(t.nodes,i.id),s=Ji(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new ao({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=TF(t),t},Vt.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=Wl(t.matches)),t.impact&&(Ue(qe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Ra=/\{\{.+?\}\}/g,FF=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=Xe,this._init(),this._defaultLocale=null;}return ar(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],T=S.description,I=S.help;r.rules[D]={description:T,help:I};}for(var L=Object.keys(this.data.failureSummaries),P=0;P<L.length;P++){var N=L[P],q=this.data.failureSummaries[N],B=q.failureMessage;r.failureSummaries[N]={failureMessage:B};}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]=IF(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]=LF(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]=PF(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=MF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=I1();this.allowedOrigins=[];var n=tt(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===qe.allOrigins){this.allowedOrigins=["*"];return}else o!==qe.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=RF(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,L1(r.rules,this,"addRule"),L1(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 Vt(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;te(a)==="object"&&(this.data.checks[r.id]=a,te(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 T1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),Zt.setRunOptions(a),m._selectCache=[];var o=OF(this.rules,r,a),s=o.now,l=o.later,u=hr();s.forEach(function(g){u.defer(P1(g,r,a));});var c=hr();l.length&&c.defer(function(g){im(a).then(function(D){return g(D)}).catch(function(D){console.warn("Couldn't load preload assets: ",D),g(void 0);});});var d=hr();d.defer(u),d.defer(c),d.then(function(g){var D=g.pop();if(D&&D.length){var S=D[0];S&&(r=Me({},r,S));}var T=g[0];if(!l.length){m._selectCache=void 0,n(T.filter(function(L){return !!L}));return}var I=hr();l.forEach(function(L){var P=P1(L,r,a);I.defer(P);}),I.then(function(L){m._selectCache=void 0,n(T.concat(L).filter(function(P){return !!P}));}).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=cn(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 M1(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(te(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&&m.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return te(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=(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"||a&&o.helpUrl===O1(a,i.id,n))&&(o.helpUrl=O1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),R1=FF;function I1(){if(p.origin&&p.origin!=="null")return p.origin;if(p.location&&p.location.origin&&p.location.origin!=="null")return p.location.origin}function RF(e){var t;if(e?(t=Er(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=I1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Me({checks:{},rules:{}},t.data),t}function L1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var IF=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Ra.test(a)&&(a=Nr.default.compile(a)),typeof n=="string"&&Ra.test(n)&&(n=Nr.default.compile(n)),Me({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:te(t.messages.incomplete)==="object"?Me({},t.messages.incomplete,r.incomplete):r.incomplete}})},LF=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Ra.test(a)&&(a=Nr.default.compile(a)),typeof n=="string"&&Ra.test(n)&&(n=Nr.default.compile(n)),Me({},t,{help:a||t.help,description:n||t.description})},PF=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Ra.test(a)&&(a=Nr.default.compile(a)),Me({},t,{failureMessage:a||t.failureMessage})},MF=function(t,r){return typeof r=="string"&&Ra.test(r)&&(r=Nr.default.compile(r)),r||t};function OF(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return cm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function P1(e,t,r){return r.performanceTimer&&Ye.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(M1(e,i));});}}function M1(e,t){var r=t.errorNode,a=ro(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new Zt(h.documentElement);return Object.assign(new go(e),{error:a,result:qe.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function O1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return qe.helpUrlBase+a+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function N1(e){var t=p&&"Node"in p&&"NodeList"in p,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||(Ne.set("globalDocumentSet",true),h=e.ownerDocument),t||(Ne.set("globalWindowSet",true),p=h.defaultView);}}function NF(){Ne.get("globalDocumentSet")&&(Ne.set("globalDocumentSet",false),h=null),Ne.get("globalWindowSet")&&(Ne.set("globalWindowSet",false),p=null);}function qF(){NF(),m._memoizedFns.forEach(function(e){return e.clear()}),Ne.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var Kr=qF;function q1(e,t,r,a){try{e=new Zi(e),m._tree=e.flatTree,m._selectorData=yi(e.flatTree);}catch(o){return Kr(),a(o)}var n=hr(),i=m._audit;t.performanceTimer&&Ye.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Yd(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&Ye.auditEnd();var s=Si(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&Ye.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(Ye.mark("auditAfterEnd"),Ye.measure("audit.after","auditAfterStart","auditAfterEnd"),Ye.logMeasures("audit.after")),s.forEach(to),s=s.map(za));try{r(s,Kr);}catch(l){Kr(),aa(l);}}catch(l){Kr(),a(l);}}).catch(function(o){Kr(),a(o);});}function BF(e){m._audit=new R1(e);}function VF(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=[h]);var o=e&&e.options||{};switch(e.command){case "rules":return q1(i,o,function(s,l){s=Qt.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return ym(a,n);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}p.top!==p&&(cr.subscribe("axe.start",VF),cr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Ln(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}Ln.prototype.run=function(){return this._run.apply(this,arguments)},Ln.prototype.collect=function(){return this._collect.apply(this,arguments)},Ln.prototype.cleanup=function(t){var r=m.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Ln.prototype.add=function(t){this._registry[t.id]=t;};function HF(e){m.plugins[e.id]=new Ln(e);}var jF=HF;function $F(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),lD();}var zF=$F;function GF(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 Et||(t=new bm(t));var a=Gp(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);to(i),za(i);var o=oc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=pl(l);})}),Me({},Xr(),o,{toolOptions:r})}function B1(e){var t,r,a,n=he(e,3),i=n[0],o=n[1],s=n[2],l=new TypeError("axe.run arguments are invalid");if(!Yp(i)){if(s!==void 0)throw l;s=o,o=i,i=h;}if(te(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Er(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Ul=function(){};function WF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];N1(t[0]);var a=B1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?Ul:o,l=UF(s),u=l.thenable,c=l.resolve,d=l.reject;try{Ue(m._audit,"No audit configured"),Ue(!m._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 YF(S,s)}m._running=true,i.performanceTimer&&Ye.start();function g(S,T){var I=function(N){i.performanceTimer&&(Ye.mark("reporterEnd"),Ye.measure("reporter","reporterStart","reporterEnd"),Ye.logMeasures("reporter"),Ye.end()),m._running=false,T();try{c(N);}catch(q){m.log(q);}},L=function(N){m._running=false,T();try{d(N);}catch(q){m.log(q);}};try{i.performanceTimer&&Ye.mark("reporterStart"),XF(S,i,I,L);}catch(P){L(P);}}function D(S){i.performanceTimer&&Ye.end(),m._running=false,s(S),d(S);}return m._runRules(n,i,g,D),u}function UF(e){var t,r,a;return typeof Promise=="function"&&e===Ul?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 XF(e,t,r,a){var n=kl(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function YF(e,t){if(typeof t=="function"&&t!==Ul){t(e.message);return}throw e}function KF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=B1(t),n=a.options,i=a.context;Ue(m._audit,"Axe is not configured. Audit is missing."),Ue(!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 Zi(i,m._tree);return m._tree=o.flatTree,m._selectorData=yi(o.flatTree),m._running=true,n.elementRef=false,new Promise(function(s,l){m._audit.run(o,n,s,l);}).then(function(s){s=Qt.mapRawResults(s);var l=o.frames.map(function(c){var d=c.node;return Qt.toSpec(d)}),u;return o.initiator&&(u=Xr()),m._running=false,Kr(),{results:s,frames:l,environmentData:u}}).catch(function(s){return m._running=false,Kr(),Promise.reject(s)})}function JF(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Er(n);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",ZF(e);var s=Si(e);return s=m._audit.after(s,n),s.forEach(to),s=s.map(za),eR(s,Me({environmentData:o},n))}function ZF(e){var t=[],r=tt(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=QF(n);t.unshift.apply(t,Ee(o));}}}catch(s){r.e(s);}finally{r.f();}}function QF(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return Qt.mergeSpecs(a,r)}):t}function eR(e,t){return new Promise(function(r,a){var n=kl(t.reporter);n(e,t,r,a);})}function tR(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&te(e.documentElement)==="object"&&te(e.defaultView)==="object"&&(e=e.documentElement),N1(e),m._tree=dl(e),m._selectorData=yi(m._tree),m._tree[0]}var rR=tR,aR=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=Ae(n,H);a(Me({},Xr(i),{toolOptions:o},En(t,r)));},nR=aR,iR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,ee);r.resultTypes=["violations"];var s=En(t,r),l=s.violations;a(Me({},Xr(i),{toolOptions:o,violations:l}));},oR=iR,sR=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=Me({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=Qt.mapRawNodeResults(o[c]);}return o});a(n);},V1=sR,lR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,U);V1(t,o,function(s){var l=Xr(i);a({raw:s,env:l});});},uR=lR,cR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,Y),s=En(t,r),l=function(c){c.nodes.forEach(function(d){d.failureSummary=pl(d);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Me({},Xr(i),{toolOptions:o},s));},dR=cR,fR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,re),s=En(t,r);a(Me({},Xr(i),{toolOptions:o},s));},pR=fR,mR={base:{Audit:R1,CheckResult:Gl,Check:T1,Context:Zi,RuleResult:go,Rule:Vt,metadataFunctionMap:ho},public:{reporters:Sn},helpers:{failureSummary:pl,incompleteFallbackMessage:ml,processAggregate:En},utils:{setDefaultFrameMessenger:$d,cacheNodeSelectors:Np,getNodesMatchingExpression:Mp,convertSelector:xi},commons:{dom:{nativelyHidden:Qd,displayHidden:ef,visibilityHidden:tf,contentVisibiltyHidden:rf,ariaHidden:af,opacityHidden:nf,scrollHidden:of,overflowHidden:sf,clipHidden:lf,areaHidden:Cs,detailsHidden:uf}}},hR=mR;m._thisWillBeDeletedDoNotUse=hR,m.constants=qe,m.log=aa,m.AbstractVirtualNode=Et,m.SerialVirtualNode=bm,m.VirtualNode=ll,m._cache=Ne,m.imports=cc,m.cleanup=ym,m.configure=$A,m.frameMessenger=zA,m.getRules=WA,m._load=BF,m.plugins={},m.registerPlugin=jF,m.hasReporter=xm,m.getReporter=kl,m.addReporter=HA,m.reset=zF,m._runRules=q1,m.runVirtualRule=GF,m.run=WF,m.setup=rR,m.teardown=Kr,m.runPartial=KF,m.finishRun=JF,m.commons=$m,m.utils=Mo,m.addReporter("na",nR),m.addReporter("no-passes",oR),m.addReporter("rawEnv",uR),m.addReporter("raw",V1),m.addReporter("v1",dR),m.addReporter("v2",pR,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(K){var se="Fix any of the following:",be=K;if(be)for(var et,gt=-1,Ft=be.length-1;gt<Ft;)et=be[gt+=1],se+=`
|
|
371
|
+
`+et.split(`
|
|
372
372
|
`).join(`
|
|
373
|
-
`);return
|
|
374
|
-
`+
|
|
373
|
+
`);return se}},none:{failureMessage:function(K){var se="Fix all of the following:",be=K;if(be)for(var et,gt=-1,Ft=be.length-1;gt<Ft;)et=be[gt+=1],se+=`
|
|
374
|
+
`+et.split(`
|
|
375
375
|
`).join(`
|
|
376
|
-
`);return ie}}},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);});var cg={};Kr(cg,{dismissModals:()=>lg});async function lg(f){await f.evaluate(p=>{for(let v of p){let g=document.querySelectorAll(v);for(let m of g)if(m.offsetParent!==null){m.click();return}}},QI),await new Promise(p=>setTimeout(p,500));}var QI,il=Yr(()=>{QI=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var vo={};Kr(vo,{pruneHiddenIframeIssues:()=>aL,pruneInvisibleContrast:()=>rL,waitForRenderSettle:()=>eL});async function eL(f,p=4e3){let v=Date.now()+p;try{await f.waitForLoadState?.("load",{timeout:Math.min(p/2,2e3)});}catch{}let g="";for(;Date.now()<v;){let m;try{m=await f.evaluate(()=>{let y=typeof document.getAnimations=="function"?document.getAnimations():[],b=0;for(let w of y){if(w.playState!=="running")continue;let _;try{_=w.effect?.getComputedTiming?.().iterations;}catch{_=void 0;}_!==1/0&&b++;}let x="",A=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],E=Math.min(A.length,50);for(let w=0;w<E;w++)x+=getComputedStyle(A[w]).opacity+",";return b+"|"+x});}catch{return}if(m.indexOf("0|")===0&&m===g)return;g=m,await new Promise(y=>setTimeout(y,150));}}function dg(f){return tL.has(f.wcag)||/contrast/i.test(f.type||"")}async function rL(f,p){let v=Array.from(new Set(p.filter(y=>dg(y)&&y.selector).map(y=>y.selector))).slice(0,100);if(v.length===0)return p;let g;try{g=await f.evaluate(y=>{let b=[];for(let x of y){let A=null;try{A=document.querySelector(x);}catch{continue}if(!A)continue;let E=getComputedStyle(A),w=A.getBoundingClientRect(),_=E.clipPath&&E.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(E.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(E.clip||""),k=w.width<=1||w.height<=1;(_||k)&&b.push(x);}return b},v);}catch{return p}if(g.length===0)return p;let m=new Set(g);return p.filter(y=>!(dg(y)&&m.has(y.selector)))}async function aL(f,p){let v=Array.from(new Set(p.filter(y=>y.selector).map(y=>y.selector))).slice(0,200);if(v.length===0)return p;let g;try{g=await f.evaluate(y=>{let b=[];for(let x of y){let A=null;try{A=document.querySelector(x);}catch{continue}if(!A||A.tagName!=="IFRAME")continue;let E=getComputedStyle(A),w=A.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse",_=(A.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(w||_)&&b.push(x);}return b},v);}catch{return p}if(g.length===0)return p;let m=new Set(g);return p.filter(y=>!m.has(y.selector))}var tL,bo=Yr(()=>{tL=new Set(["1.4.3","1.4.6","1.4.11"]);});var hg={};Kr(hg,{htmlcsTypeFromCode:()=>pg,runHtmlcs:()=>iL});async function iL(f,p="WCAG2AA"){try{await f.addScriptTag({content:`
|
|
376
|
+
`);return se}}},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:rg);});var fg={};Ir(fg,{dismissModals:()=>dg});async function dg(f){await f.evaluate(p=>{for(let b of p){let h=document.querySelectorAll(b);for(let m of h)if(m.offsetParent!==null){m.click();return}}},aL),await new Promise(p=>setTimeout(p,500));}var aL,su=Rr(()=>{aL=['[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 bo={};Ir(bo,{pruneHiddenIframeIssues:()=>sL,pruneInvisibleContrast:()=>oL,waitForRenderSettle:()=>nL});async function nL(f,p=4e3){let b=Date.now()+p;try{await f.waitForLoadState?.("load",{timeout:Math.min(p/2,2e3)});}catch{}let h="";for(;Date.now()<b;){let m;try{m=await f.evaluate(()=>{let y=typeof document.getAnimations=="function"?document.getAnimations():[],v=0;for(let x of y){if(x.playState!=="running")continue;let A;try{A=x.effect?.getComputedTiming?.().iterations;}catch{A=void 0;}A!==1/0&&v++;}let w="",_=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],E=Math.min(_.length,50);for(let x=0;x<E;x++)w+=getComputedStyle(_[x]).opacity+",";return v+"|"+w});}catch{return}if(m.indexOf("0|")===0&&m===h)return;h=m,await new Promise(y=>setTimeout(y,150));}}function pg(f){return iL.has(f.wcag)||/contrast/i.test(f.type||"")}async function oL(f,p){let b=Array.from(new Set(p.filter(y=>pg(y)&&y.selector).map(y=>y.selector))).slice(0,100);if(b.length===0)return p;let h;try{h=await f.evaluate(y=>{let v=[];for(let w of y){let _=null;try{_=document.querySelector(w);}catch{continue}if(!_)continue;let E=getComputedStyle(_),x=_.getBoundingClientRect(),A=E.clipPath&&E.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(E.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(E.clip||""),k=x.width<=1||x.height<=1;(A||k)&&v.push(w);}return v},b);}catch{return p}if(h.length===0)return p;let m=new Set(h);return p.filter(y=>!(pg(y)&&m.has(y.selector)))}async function sL(f,p){let b=Array.from(new Set(p.filter(y=>y.selector).map(y=>y.selector))).slice(0,200);if(b.length===0)return p;let h;try{h=await f.evaluate(y=>{let v=[];for(let w of y){let _=null;try{_=document.querySelector(w);}catch{continue}if(!_||_.tagName!=="IFRAME")continue;let E=getComputedStyle(_),x=_.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse",A=(_.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(x||A)&&v.push(w);}return v},b);}catch{return p}if(h.length===0)return p;let m=new Set(h);return p.filter(y=>!m.has(y.selector))}var iL,yo=Rr(()=>{iL=new Set(["1.4.3","1.4.6","1.4.11"]);});var vg={};Ir(vg,{htmlcsTypeFromCode:()=>hg,runHtmlcs:()=>uL});async function uL(f,p="WCAG2AA"){try{await f.addScriptTag({content:`
|
|
377
377
|
window.__htmlcsLoaded = false;
|
|
378
378
|
window.__htmlcsResults = [];
|
|
379
|
-
`});try{let{UNIQUE_SELECTOR_JS:m}=await Promise.resolve().then(()=>(
|
|
380
|
-
`+m});}catch{}let v=f;return v.addScriptTag&&await v.addScriptTag({url:nL}).catch(()=>{}),await new Promise(m=>setTimeout(m,1e3)),(await f.evaluate(m=>new Promise(y=>{let b=window;if(!b.HTMLCS){y([]);return}b.HTMLCS.process(m,document,()=>{let A=b.HTMLCS.getMessages().filter(E=>E.type===1).slice(0,50).map(E=>{let w="";try{if(E.element&&E.element.tagName){let _=E.element,k=window.uniqueSel;typeof k=="function"?w=k(_):w=_.className&&typeof _.className=="string"&&_.className.trim()?`${_.tagName.toLowerCase()}.${_.className.trim().split(/\s+/)[0]}`:_.tagName.toLowerCase();}}catch{}return {type:E.type,code:E.code||"",msg:E.msg||"",element:E.element?.outerHTML?.slice(0,150)||"",selector:w}});y(A);});}),p)).map((m,y)=>{let b=mg(m.code);return {id:`htmlcs-${y}-${oL(m.selector)}`,source:"webability",type:pg(m.code),wcag:b,level:"AA",impact:"moderate",message:m.msg.slice(0,200),selector:m.selector,html:m.element}})}catch{return []}}function pg(f){let p=mg(f);if(p&&fg[p])return fg[p];let v=f.split("."),g=v.findIndex(b=>/^\d+_\d+_\d+$/.test(b));return (g>=0?v.slice(g+1):v).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function mg(f){let p=f.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(p)return `${p[3]}.${p[4]}.${p[5]}`;let v=f.match(/(\d+)_(\d+)_(\d+)/);return v?`${v[1]}.${v[2]}.${v[3]}`:""}function oL(f){let p=0;for(let v=0;v<f.length;v++)p=(p<<5)-p+f.charCodeAt(v)|0;return Math.abs(p).toString(36)}var nL,fg,gg=Yr(()=>{nL="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";fg={"1.4.3":"contrast_insufficient"};});var ol={};Kr(ol,{dedupeByElementIdentity:()=>lL,deduplicateIssues:()=>sL});function sL(f){let p=new Map,v=[...f].sort((g,m)=>{let y={webability:0,"axe-core":1,"deep-analysis":2},b=y[g.source]??3,x=y[m.source]??3;return b-x});for(let g of v){let m=uL(g);p.has(m)?!p.get(m).fix?.suggestedValue&&g.fix?.suggestedValue&&p.set(m,g):p.set(m,g);}return Array.from(p.values())}function uL(f){let p=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),v=f.wcag||"";return p&&v?`${p}::${v}`:`${f.type}::${p||f.id}`}async function lL(f,p){if(p.length<2)return p;let v=Array.from(new Set(p.map(E=>E.selector).filter(Boolean))),g;try{g=await f.evaluate(E=>{let w=Array.from(document.querySelectorAll("*")),_=new Map;w.forEach((C,F)=>_.set(C,F));let k={};for(let C of E){let F=null;try{F=document.querySelector(C);}catch{}if(!F){let R=C.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(R!==C)try{F=document.querySelector(R);}catch{}}F&&(k[C]=_.get(F));}return k},v);}catch{return p}let m={webability:0,"axe-core":1,"deep-analysis":2},y=[...p].sort((E,w)=>(m[E.source]??3)-(m[w.source]??3)),b=new Map,x=[];for(let E of y){let w=g[E.selector];if(w===void 0){x.push(E);continue}let _=`${w}::${E.wcag||E.type}`,k=b.get(_);k?!k.fix?.suggestedValue&&E.fix?.suggestedValue&&b.set(_,E):b.set(_,E);}let A=new Set([...b.values(),...x]);return p.filter(E=>A.has(E))}var sl=Yr(()=>{});var wR={weak_button_name:"4.1.2",weak_link_name:"2.4.4",weak_heading:"2.4.6",weak_iframe_title:"4.1.2",weak_page_title:"2.4.2",weak_svg_name:"1.1.1",weak_skip_link:"2.4.1",missing_button_role:"4.1.2",missing_semantic_role:"4.1.2",missing_landmark:"1.3.1",heading_skip:"1.3.1",svg_missing_name:"1.1.1",aria_hidden_focusable:"4.1.2",adjacent_redundant_link:"2.4.4",contrast_insufficient:"1.4.3",non_text_contrast_insufficient:"1.4.11",target_too_small:"2.5.8",focus_not_visible:"2.4.7",empty_link:"2.4.4",unlabeled_button:"4.1.2",missing_label:"1.3.1",decorative_icon:"1.1.1",skip_link:"2.4.1",aria_live:"4.1.3",missing_alt:"1.1.1",identify_input_purpose:"1.3.5",redundant_role:"4.1.2",duplicate_id:"4.1.1",new_window_link:"3.2.5",missing_fieldset_legend:"1.3.1",missing_table_header:"1.3.1",missing_table_caption:"1.3.1",missing_table_scope:"1.3.1",external_link_warning:"3.2.5",download_link_warning:"3.2.5",broken_anchor:"2.4.1",placeholder_link:"2.4.4",missing_aria_required:"3.3.2",missing_pattern_title:"3.3.2",missing_autocomplete:"1.3.5",missing_media_controls:"2.2.2",unsafe_autoplay:"1.4.2",invalid_aria_role:"4.1.2",zoom_restriction:"1.4.4",missing_button_type:"3.2.2",link_consistency:"3.2.4",semantic_emphasis:"1.3.1",keyboard_trap:"2.1.1",focus_order_disruption:"2.4.3",missing_captions:"1.2.2",color_only_link:"1.4.1",label_in_name:"2.5.3",onfocus_context_change:"3.2.1",focus_obscured_by_sticky:"2.4.11",text_spacing_blocked:"1.4.12",nested_landmark:"1.3.1",combobox_name_missing:"4.1.2",landmark_duplicate_unlabeled:"1.3.1",motion_uncontrollable:"2.2.2",auto_refresh:"2.2.1",motion_without_reduced_motion:"2.3.3",flashing_content:"2.3.1",animated_gif_no_pause:"2.2.2",missing_required_indicator:"3.3.2",background_image_unlabeled:"1.1.1",missing_h1:"1.3.1",multiple_h1:"1.3.1",empty_heading:"1.3.1",javascript_link:"2.1.1",broken_aria_reference:"4.1.2",main_content_hidden:"4.1.2",scrollable_not_focusable:"2.1.1",meaningful_sequence:"1.3.2",sensory_characteristic:"1.3.3",orientation_lock:"1.3.4",image_of_text:"1.4.5",reflow_overflow:"1.4.10",missing_audio_description:"1.2.5",missing_transcript:"1.2.1",character_key_shortcut:"2.1.4",on_input_change:"3.2.2",pointer_gesture:"2.5.1",pointer_cancellation:"2.5.2",motion_actuation:"2.5.4",error_prevention_missing:"3.3.4",insufficient_navigation:"2.4.5",inconsistent_navigation:"3.2.3"},Pn={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var xR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],g=new Set;function m(x){let A=(x.textContent||"").trim().replace(/\s+/g,""),E=x.querySelector("img, svg, picture")!==null,w=x.querySelector("i[class], span[class]")!==null;if(A.length>0&&!E&&!w)return false;if(E){let _=x.querySelectorAll("img"),k="";_.forEach(R=>{k+=(R.getAttribute("alt")||"").trim();});let C=A.replace(/\s+/g,""),F=k.replace(/\s+/g,"");return C===""||C===F}return false}function y(x){let A=x.nextElementSibling;for(;A;){if(isVisible(A))return A;A=A.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(x=>{if(v.length>=50||x.closest(f)||!isVisible(x)||g.has(x))return;let A=x.getAttribute("href");if(!A||A==="#")return;let E=y(x);if(!E||E.tagName!=="A"||E.getAttribute("href")!==A||g.has(E)||x.getAttribute("aria-hidden")==="true"||E.getAttribute("aria-hidden")==="true")return;let _=m(x),k=m(E);if(!_&&!k)return;let C=_?x:E,F=_?E:x;g.add(C),g.add(F);let R=uniqueSel(C),q=C.outerHTML.slice(0,300),V=(F.textContent||"").trim().slice(0,80);v.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:A,imageLink:true,adjacentLinkText:V,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:q}),v.push({selector:R,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:A}),needsAI:false,fixValue:"-1",outerHtml:q});}),v},q1={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(xR)}};var DR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",p='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',v=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),g=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,y=[],b=new Set;function x(w){let _=w,k=0;for(;_&&_.nodeType===1&&_!==document.body&&k<20;){try{let C=getComputedStyle(_);if(C.display==="none"||C.visibility==="hidden"||C.visibility==="collapse")return !0}catch{}_=_.parentElement,k++;}return false}function A(w){let _=w.tagName,k=w.getAttribute("tabindex");if(k!==null){let C=parseInt(k,10);if(!isNaN(C)&&C>=0)return true;if(!isNaN(C)&&C<0)return false}return g.has(_)?!(_==="A"&&!w.hasAttribute("href")||w.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(w=>{if(y.length>=m||w.closest(f)||w.closest(p)||w.closest(v)||w.matches(v))return;let _=[];if(A(w)&&_.push(w),w.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(C=>{A(C)&&_.push(C);}),_.length!==0)for(let C of _){if(y.length>=m)return;let F=uniqueSel(C),R=F+"\0tabindex";if(b.has(R))continue;b.add(R);let q=x(C);y.push({selector:F,attribute:"tabindex",currentValue:C.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),parentHidden:w.tagName.toLowerCase(),collapsed:q,suggestion:q?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...q?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},outerHtml:(C.outerHTML||"").slice(0,300)});}}),y},B1={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(DR)}};var _R=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=new Set,m=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function y(b){if(!(b.textContent||"").trim())return true;let A=getComputedStyle(b);return !!(A.display==="none"||A.visibility==="hidden"||A.opacity==="0"||A.maxHeight==="0px"||A.height==="0px"||b.hasAttribute("data-bind")||b.hasAttribute("v-if")||b.hasAttribute("v-show")||b.hasAttribute("ng-if")||b.hasAttribute("ng-show")||b.hasAttribute(":class")||b.hasAttribute("x-show")||b.hasAttribute("x-if")||b.hasAttribute("aria-atomic"))}for(let b of m){if(v.length>=50)break;let x=document.querySelectorAll("*");for(let A of x){if(v.length>=50)break;if(g.has(A)||A.closest(f))continue;let E=A.className&&typeof A.className=="string"?A.className:"",w=A.getAttribute("id")||"";if(!b.regex.test(E)&&!b.regex.test(w)||A.getAttribute("aria-live"))continue;let _=A.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(_)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(E+" "+w)&&!y(A))continue;g.add(A);let C=uniqueSel(A),F=b.regex.test(E)?"class":"id",R=F==="class"?E.slice(0,60):w;v.push({selector:C,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:F+": "+R+" | pattern: "+b.regex.source,needsAI:false,fixValue:b.ariaLive});}}return v},V1={name:"ariaLive",cap:50,async detect(f){return f.evaluate(_R)}};var AR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],g=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(x=>{if(!(v.length>=50)&&!x.closest(f)&&isVisible(x)&&!isHiddenFromAT(x)&&!x.getAttribute("aria-live")&&!x.closest("[aria-live]")&&!x.closest("template"))for(let A of m){let E=x.getAttribute(A);if(!E||!E.trim())continue;let w=E.trim().split(/\s+/).filter(j=>j.length>0);if(w.length===0||!w.every(j=>!document.getElementById(j)))continue;let k=x.getAttribute("aria-label");if(k&&k.trim())continue;let C=getAccessibleName(x);if(C&&C.trim())continue;let F=uniqueSel(x),R=F+"\0"+A;if(g.has(R))continue;g.add(R);let{nearbyHeading:q,parentTag:V,parentRole:z}=getNearbyContext(x);v.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:x.tagName.toLowerCase(),brokenAttr:A,brokenIds:w,nearbyHeading:q,parentTag:V,parentRole:z,suggestion:`All IDs in ${A}="${E}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});}}),v},H1={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(AR)}};var ER=()=>{let p=[],v=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],g=document.querySelectorAll("button");for(let m of g){if(p.length>=50)break;let y=m;if(isWidget(y)||y.hasAttribute("type")||!y.closest("form"))continue;let b=(y.textContent||"").trim().slice(0,60),x=(y.getAttribute("aria-label")||"").trim().slice(0,60),A=b||x||"(no label)",E=A.toLowerCase();v.some(_=>E.includes(_))||p.push({selector:uniqueSel(y),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+A,needsAI:false,fixValue:"button",outerHtml:(y.outerHTML||"").slice(0,300)});}return p},j1={name:"buttonType",cap:50,async detect(f){return f.evaluate(ER)}};var CR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=document.querySelectorAll("video, audio");for(let m of Array.from(g)){if(v.length>=20)break;if(m.closest(f)||typeof isVisible=="function"&&!isVisible(m))continue;if(m.tagName==="VIDEO"){let R=m.hasAttribute("muted")||m.muted,q=m.hasAttribute("autoplay"),V=m.hasAttribute("controls"),z=m.hasAttribute("loop");if(R&&q&&z&&!V)continue}let b=m.querySelectorAll("track"),x=false;for(let R of Array.from(b)){let q=(R.getAttribute("kind")||"").toLowerCase();if(q==="captions"||q==="subtitles"){x=true;break}}if(x)continue;let A=m.currentSrc||m.getAttribute("src")||"";if(A||(A=m.querySelector("source")?.getAttribute("src")||""),!A)continue;let E=A.toLowerCase();if(E.startsWith("blob:")||E.startsWith("data:")||E.startsWith("about:")||E.startsWith("javascript:")||E.endsWith(".m3u8")||E.includes(".m3u8?")||E.endsWith(".mpd")||E.includes(".mpd?"))continue;let w=A;try{w=new URL(A,location.href).toString();}catch{continue}let _=typeof uniqueSel=="function"?uniqueSel(m):"",k=m.getAttribute("title")||m.getAttribute("aria-label")||"",C=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},F=[];F.push("media: "+m.tagName.toLowerCase()),F.push("src: "+w.slice(0,200)),k&&F.push("title: "+k.slice(0,80)),C.nearbyHeading&&F.push("heading: "+C.nearbyHeading),F.push("parent: "+C.parentTag),v.push({selector:_,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:F.join(" | "),needsAI:true,imageSrc:w,outerHtml:(m.outerHTML||"").slice(0,300)});}return v},$1={name:"captions",cap:20,async detect(f){return f.evaluate(CR)}};var SR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]");for(let y of Array.from(m)){if(v.length>=40)break;if(y.closest(f)||y.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(y))continue;let b=y.closest(g);if(!b)continue;let x=(b.textContent||"").trim(),A=(y.textContent||"").trim();if(!A||x.length<A.length+20||y.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let E=getComputedStyle(y),w=getComputedStyle(b);if((E.textDecorationLine||E.textDecoration||"").includes("underline"))continue;let k=parseInt(E.fontWeight||"400",10),C=parseInt(w.fontWeight||"400",10);if(Number.isFinite(k)&&Number.isFinite(C)&&k-C>=300||(E.borderBottomStyle||"none")!=="none"&&(E.borderBottomWidth||"0px")!=="0px"||E.color===w.color)continue;let R=typeof uniqueSel=="function"?uniqueSel(y):"",q=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},V=[];V.push("link: "+A.slice(0,40)),V.push("color: "+E.color),V.push("parent-color: "+w.color),q.nearbyHeading&&V.push("heading: "+q.nearbyHeading),V.push("parent: "+q.parentTag),v.push({selector:R,attribute:"style",currentValue:E.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:V.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(y.outerHTML||"").slice(0,300)});}return v},z1={name:"colorOnly",cap:40,async detect(f){return f.evaluate(SR)}};var kR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],g=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(g).forEach(y=>{if(v.length>=30||y.closest(f)||typeof isVisible=="function"&&!isVisible(y)||y.getAttribute("aria-hidden")==="true"||y.disabled||y.getAttribute("type")==="hidden"||(y.getAttribute("aria-label")||"").trim())return;let b=y.getAttribute("aria-labelledby");if(b){let R=false;for(let q of b.split(/\s+/)){let V=document.getElementById(q);if(V&&(V.textContent||"").trim()){R=true;break}}if(R)return}let x=y.getAttribute("id");if(x){let R=document.querySelector('label[for="'+CSS.escape(x)+'"]');if(R&&(R.textContent||"").trim())return}let A=y.closest("label");if(A&&(A.textContent||"").trim()||(y.getAttribute("title")||"").trim())return;let E=typeof uniqueSel=="function"?uniqueSel(y):"",w=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},_=(y.getAttribute("placeholder")||"").trim(),k=y.getAttribute("name")||"",C=y.getAttribute("role")||y.tagName.toLowerCase(),F=[];F.push("role: "+C),_&&F.push("placeholder: "+_.slice(0,40)),k&&F.push("name: "+k),w.nearbyHeading&&F.push("heading: "+w.nearbyHeading),F.push("parent: "+w.parentTag),v.push({selector:E,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:F.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}),v},G1={name:"comboboxName",cap:30,async detect(f){return f.evaluate(kR)}};var TR=()=>{let p=[],v=C=>typeof parseCssColor=="function"?parseCssColor(C):null,g=(C,F,R)=>typeof relLuminance=="function"?relLuminance(C,F,R):0,m=(C,F)=>typeof contrastRatio=="function"?contrastRatio(C,F):1;function y(C){let F=String(C.backgroundImage||"none");if(F==="none")return false;if(/gradient\(/i.test(F))return true;if(!/url\(/i.test(F))return false;let R=String(C.backgroundRepeat||"").toLowerCase(),q=String(C.backgroundSize||"").toLowerCase(),V=R.split(",").map(j=>j.trim()).some(j=>j!==""&&j!=="no-repeat"),z=/cover|contain|100%/.test(q);return V||z}function b(C){let F=C,R=0;for(;F&&F!==document.documentElement&&R<12;){let q=getComputedStyle(F);if(y(q))return null;let V=v(q.backgroundColor||"");if(V&&V[3]>.5)return [V[0],V[1],V[2]];F=F.parentElement,R++;}return [255,255,255]}function x(C,F,R){return "#"+[C,F,R].map(q=>{let V=Math.max(0,Math.min(255,Math.round(q))).toString(16);return V.length===1?"0"+V:V}).join("")}function A(C,F,R){let V=g(F[0],F[1],F[2])>.5,z=0,j=1,H=null;for(let Z=0;Z<20;Z++){let de=(z+j)/2,_e=V?[C[0]*(1-de),C[1]*(1-de),C[2]*(1-de)]:[C[0]+(255-C[0])*de,C[1]+(255-C[1])*de,C[2]+(255-C[2])*de];m(_e,F)>=R?(H=[Math.round(_e[0]),Math.round(_e[1]),Math.round(_e[2])],j=de):z=de;}return H}let E=document.createTreeWalker(document.body,4),w=new Set,_=[],k=E.nextNode();for(;k;){if((k.textContent||"").trim().length>=2){let F=k.parentElement;F&&!w.has(F)&&(w.add(F),_.push(F));}k=E.nextNode();}for(let C of _){if(p.length>=30)break;if(isWidget(C)||isHiddenFromAT(C)||!isVisible(C))continue;let F=getComputedStyle(C),R=v(F.color||"");if(!R)continue;if(R[3]<.5){let Ne=F.webkitBackgroundClip||F.backgroundClip||"",be=F.backgroundImage||"";if(String(Ne).includes("text")&&/gradient\(/i.test(be)){let $e=Array.from(C.childNodes).filter(ke=>ke.nodeType===3).map(ke=>(ke.textContent||"").trim()).join("");$e&&p.push({selector:uniqueSel(C),attribute:"style",currentValue:"gradient-clipped text",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($e.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:C.outerHTML.slice(0,200)});}continue}let q=b(C),V=parseFloat(F.fontSize||"16"),z=parseInt(F.fontWeight||"400",10),H=V>=24||V>=18.66&&z>=700?3:4.5,Z=Array.from(C.childNodes).filter(Ne=>Ne.nodeType===3).map(Ne=>(Ne.textContent||"").trim()).join("");if(!Z)continue;let de=x(R[0],R[1],R[2]),_e=uniqueSel(C);if(q===null){p.push({selector:_e,attribute:"style",currentValue:de,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+de+" bg=<gradient-or-image> needs="+H+" text="+JSON.stringify(Z.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:C.outerHTML.slice(0,200)});continue}let Ce=m([R[0],R[1],R[2]],q);if(Ce>=H)continue;let Y=A([R[0],R[1],R[2]],q,H);if(!Y)continue;let Q=x(Y[0],Y[1],Y[2]),ue=x(q[0],q[1],q[2]),ce="color:"+Q+" !important;";p.push({selector:_e,attribute:"style",currentValue:de,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+de+" bg="+ue+" ratio="+Ce.toFixed(2)+" needs="+H+" text="+JSON.stringify(Z.slice(0,40)),needsAI:false,fixValue:ce,outerHtml:C.outerHTML.slice(0,200)});}return p},U1={name:"contrast",cap:30,async detect(f){return f.evaluate(TR)}};var FR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],g=document.querySelectorAll("marquee, blink");for(let A of Array.from(g)){if(v.length>=30)break;if(A.closest(f))continue;let E=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();v.push({selector:E,attribute:"aria-hidden",currentValue:A.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${A.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,needsReview:true,reviewReason:`Deprecated ${A.tagName.toLowerCase()} usually contains real content; WCAG 2.2.2 needs a pause/stop control, not aria-hidden which would hide the content from assistive tech.`,fixValue:"true",outerHtml:(A.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let A of Array.from(m)){if(v.length>=30)break;if(A.closest(f))continue;let E=A.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(E)||typeof isVisible=="function"&&!isVisible(A))continue;let w=A.getBoundingClientRect();if(w.width<=40&&w.height<=40)continue;let _=typeof uniqueSel=="function"?uniqueSel(A):"img";v.push({selector:_,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${E.split("/").pop()?.slice(0,60)||E.slice(-60)}`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let A of Array.from(y)){if(v.length>=30)break;let E=(A.getAttribute("content")||"").trim(),w=parseInt((E.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(w)||w<=0||v.push({selector:`meta[http-equiv="refresh"][content*="${E.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:E,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${w}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${w}s time limit before it triggers.`,outerHtml:(A.outerHTML||"").slice(0,200)});}try{let A=!1,E=!1;for(let w of Array.from(document.styleSheets)){let _=null;try{_=w.cssRules;}catch{continue}if(_)for(let k of Array.from(_)){let C=k.cssText||"";if(/animation[^;]*\binfinite\b/i.test(C)&&/(keyframes|animation-name)/i.test(C+" "+(k.name||""))&&(A=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(C)&&(E=!0),k.cssRules)for(let F of Array.from(k.cssRules)){let R=F.cssText||"";/animation[^;]*\binfinite\b/i.test(R)&&(A=!0);}}}A&&!E&&v.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let b=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,x=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let A of Array.from(x)){if(v.length>=30)break;if(A.closest(f))continue;let E=A.className&&typeof A.className=="string"?A.className:"";if(!b.test(E)||typeof isVisible=="function"&&!isVisible(A))continue;let _=getComputedStyle(A).animationDuration,k=9999;if(_){let F=parseFloat(_);Number.isFinite(F)&&(k=/ms/i.test(_)?F:F*1e3);}if(k>333)continue;let C=typeof uniqueSel=="function"?uniqueSel(A):"";v.push({selector:C,attribute:"aria-hidden",currentValue:A.getAttribute("aria-hidden")||"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${k}ms animation-duration \u2014 seizure risk`,needsAI:true,fixValue:"true",outerHtml:(A.outerHTML||"").slice(0,300)});}return v},W1={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(FR)}};var RR=()=>{let p=[];function v(b){let x=(b.getAttribute("role")||"").toLowerCase();return x==="presentation"||x==="none"||(b.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function g(b){if(!b)return 0;let x=b.querySelectorAll("th, td"),A=0;for(let E=0;E<x.length;E++){let w=parseInt(x[E].getAttribute("colspan")||"1",10);A+=isNaN(w)||w<1?1:w;}return A}function m(b){let x=b.querySelectorAll("tr"),A=[];for(let E=0;E<x.length;E++){let w=x[E];w.closest("table")===b&&A.push(w);}return A}let y=document.querySelectorAll("table");for(let b=0;b<y.length&&!(p.length>=30);b++){let x=y[b];if(isWidget(x)||!isVisible(x)||v(x))continue;let A=m(x);if(A.length<=1)continue;let E=A[0],w=g(E);if(w<=1)continue;let _=uniqueSel(x),k=getNearbyContext(x),C=null,F=x.querySelectorAll("caption");for(let Y=0;Y<F.length;Y++)if(F[Y].closest("table")===x){C=F[Y];break}let R=C?(C.textContent||"").trim():"",q=(x.getAttribute("aria-label")||"").trim(),V=(x.getAttribute("title")||"").trim(),z=x.getAttribute("aria-labelledby"),j="";if(z){let Y=z.split(/\s+/);for(let Q=0;Q<Y.length;Q++){let ue=document.getElementById(Y[Q]);ue&&(j+=" "+(ue.textContent||""));}j=j.trim();}(!C||!R)&&!(q||j||V)&&p.length<30&&p.push({selector:_,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:C?"empty <caption>":"no <caption> element",rows:A.length,cols:w,nearbyHeading:k.nearbyHeading,parentTag:k.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)});let Z=null,de=x.querySelectorAll("thead");for(let Y=0;Y<de.length;Y++)if(de[Y].closest("table")===x){Z=de[Y];break}if(Z&&Z.querySelector("tr")!==null||p.length<30&&p.push({selector:_,attribute:"thead",currentValue:Z?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:Z?"<thead> has no <tr>":"no <thead> element",rows:A.length,cols:w,nearbyHeading:k.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(x.outerHTML||"").slice(0,300)}),w>2){let Y=E.querySelectorAll("th, td"),Q=Y.length>0;for(let ue=0;ue<Y.length;ue++)if((Y[ue].tagName||"").toLowerCase()!=="td"){Q=false;break}if(Q)for(let ue=0;ue<Y.length&&!(p.length>=30);ue++){let ce=Y[ue],Ne=uniqueSel(ce),be=(ce.textContent||"").trim().slice(0,60);p.push({selector:Ne,attribute:"role",currentValue:ce.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:be,colIndex:ue,nearbyHeading:k.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(ce.outerHTML||"").slice(0,300)});}}let Ce=x.querySelectorAll("th");for(let Y=0;Y<Ce.length&&!(p.length>=30);Y++){let Q=Ce[Y];if(Q.closest("table")!==x)continue;let ue=(Q.getAttribute("scope")||"").trim().toLowerCase();if(ue==="col"||ue==="row"||ue==="colgroup"||ue==="rowgroup")continue;let ce=Q.closest("tr"),Ne=Q.closest("thead")!==null,be=false;ce&&A.length>0&&A[0]===ce&&(be=true);let $e=false;if(ce){let ut=ce.querySelectorAll("th, td");ut.length>0&&ut[0]===Q&&($e=true);}let ke="col";Ne||be?ke="col":$e&&(ke="row");let Xe=uniqueSel(Q),at=(Q.textContent||"").trim().slice(0,60);p.push({selector:Xe,attribute:"scope",currentValue:ue,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ke,inThead:Ne,firstRow:be,firstCol:$e,headerText:at}),needsAI:false,fixValue:ke,outerHtml:(Q.outerHTML||"").slice(0,300)});}}return p},X1={name:"dataTables",cap:30,async detect(f){return f.evaluate(RR)}};var IR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",v=[],g='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=C=>{try{return !!(C.querySelector&&C.querySelector(g))}catch{return false}},y=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),b=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],x=["spinner","loading","spin","loader","pulse"],A=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let C of A){if(v.length>=50)break;if(C.closest(f)||isHiddenFromAT(C)||!isVisible(C))continue;let F=C.className&&typeof C.className=="string"?C.className.toLowerCase():"";if(!F.split(/\s+/).filter(Boolean).some(j=>y.has(j)||b.some(H=>j.startsWith(H)))||C.closest(g)||m(C))continue;let V=x.some(j=>F.includes(j)),z=uniqueSel(C);v.push({selector:z,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:V?"spinner/loader icon":"icon classes: "+F.slice(0,80),needsAI:false,fixValue:"true",outerHtml:C.outerHTML.slice(0,300)});}let E=document.querySelectorAll("svg");for(let C of E){if(v.length>=50)break;if(C.closest(f)||isHiddenFromAT(C)||!isVisible(C)||C.closest(g)||m(C))continue;let F=C.getAttribute("aria-label")||"",R=C.getAttribute("aria-labelledby")||"",q=C.querySelector("title"),V=q?(q.textContent||"").trim():"",z=C.getAttribute("role");if(F.trim()||R.trim()||V||z==="img")continue;let j=C.getBoundingClientRect(),H=j.width<=16&&j.height<=16,Z=C.parentElement?(C.parentElement.textContent||"").trim().replace(/\s+/g," "):"",de=j.width<=4||j.height<=4,_e=C.getAttribute("preserveAspectRatio")==="none";if(!H&&Z.length<=3&&!de&&!_e)continue;let Ce=uniqueSel(C);v.push({selector:Ce,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:C.outerHTML.slice(0,300)});}let w=C=>C.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(C),_=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let C of _){if(v.length>=50)break;if(C.closest(f)||isHiddenFromAT(C))continue;let F=C.tagName.toLowerCase();if(!(F==="a"||F==="button"||F==="input"||F==="select"||F==="textarea"||C.getAttribute("role")==="button"||C.getAttribute("role")==="link"||C.getAttribute("role")==="tab")||C.hasAttribute("disabled"))continue;let q=C.className&&typeof C.className=="string"?C.className:"",V=q.split(/\s+/).some(w),z=C.getAttribute("aria-disabled")==="true",j=getComputedStyle(C).pointerEvents==="none";if(!z&&!(V&&j))continue;let H=C.getAttribute("tabindex")!=="-1"||m(C),Z=uniqueSel(C);v.push({selector:Z,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+q.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...H?{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:C.outerHTML.slice(0,300)});}let k=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let C of k){if(v.length>=50)break;if(C.closest(f)||isHiddenFromAT(C))continue;let F=C.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(F.length===0)continue;let R=uniqueSel(C);v.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+F.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+F.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:C.outerHTML.slice(0,300)});}return v},Y1={name:"decorativeIcons",cap:50,async detect(f){return f.evaluate(IR)}};var LR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=new Map,m=document.querySelectorAll("[id]");for(let y of m){if(y.closest(f))continue;let b=(y.getAttribute("id")||"").trim();if(!b)continue;let x=g.get(b);x?x.push(y):g.set(b,[y]);}for(let[y,b]of g)if(!(b.length<=1)){if(v.length<50){let x=b[0];v.push({selector:typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase(),attribute:"id",currentValue:y,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+y+'" is shared by '+b.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:(x.outerHTML||"").slice(0,300)});}for(let x=1;x<b.length&&!(v.length>=50);x++){let A=b[x],E=x+1,w=y+"-"+E,_=A.tagName.toLowerCase(),k=A.parentElement,C=_;if(k){let F=Array.from(k.children).filter(q=>q.tagName===A.tagName);if(F.length>1){let q=F.indexOf(A)+1;C=_+":nth-of-type("+q+")";}let R=k.tagName.toLowerCase();if(k.id&&k.id!==y)C="#"+CSS.escape(k.id)+" > "+C;else {let q=k.parentElement;if(q){let V=Array.from(q.children).filter(z=>z.tagName===k.tagName);if(V.length>1){let z=V.indexOf(k)+1;C=R+":nth-of-type("+z+") > "+C;}else C=R+" > "+C;}}}v.push({selector:C,attribute:"id",currentValue:y,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+E+' of id="'+y+'" | tag: <'+_+">",needsAI:false,fixValue:w});}}return v},K1={name:"duplicateIds",cap:50,async detect(f){return f.evaluate(LR)}};var PR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=/^[^\p{L}\p{N}\s]*$/u,v=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,m=[],y=document.querySelectorAll("a");for(let b of y){if(m.length>=50)break;if(b.closest(f)||b.getAttribute("aria-hidden")==="true"||b.getAttribute("role")==="presentation"||b.closest('[aria-hidden="true"]')||!isVisible(b))continue;let x=getAccessibleName(b);if(x&&x.length>0&&!v.test(x)&&!p.test(x))continue;let A=b.querySelectorAll("img[alt]"),E="";for(let H of A){let Z=(H.getAttribute("alt")||"").trim();Z&&(E+=Z+" ");}if(E.trim())continue;let w=b.getAttribute("aria-labelledby");if(w&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(w))continue;let _=uniqueSel(b),k=b.getAttribute("href")||"",C=(b.textContent||"").trim(),F=getNearbyContext(b),R="";C&&v.test(C)?R="[whitespace only]":C&&p.test(C)&&(R=C);let q="",V=true;if(k&&k!=="#"&&!k.startsWith("javascript:")){if(k.startsWith("mailto:")){let H=k.slice(7).split("?")[0];H&&H.includes("@")&&(q="Email "+H,V=false);}else if(k.startsWith("tel:")){let H=k.slice(4);try{H=decodeURIComponent(H);}catch{}H=H.replace(/^\+/,"").trim(),H&&(q="Call "+H,V=false);}}let z=[];b.closest("nav")&&z.push("inside nav"),F.nearbyHeading&&z.push("heading: "+F.nearbyHeading),k&&z.push("href: "+k.slice(0,120)),z.push("parent: "+F.parentTag);let j={selector:_,attribute:"aria-label",currentValue:R,issueType:"empty_link",wcag:"2.4.4",context:z.join(" | "),needsAI:V,outerHtml:b.outerHTML.slice(0,300)};!V&&q&&(j.fixValue=q),m.push(j);}return m},J1={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(PR)}};var MR=()=>{let p=[],v=new Set;function g(w){return (w||"").trim()}function m(w){let _=g(w.getAttribute("aria-label")||"");if(_)return _;let k=w.getAttribute("aria-labelledby");if(k){let F=k.split(/\s+/),R="";for(let q=0;q<F.length;q++){let V=document.getElementById(F[q]);V&&(R+=" "+(V.textContent||""));}if(g(R))return g(R)}let C=g(w.getAttribute("title")||"");return C||""}let y=document.querySelectorAll("fieldset");for(let w=0;w<y.length&&!(p.length>=30);w++){let _=y[w];if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;if(m(_)){v.add(_);continue}let k=null,C=_.querySelectorAll("legend");for(let j=0;j<C.length;j++)if(C[j].closest("fieldset")===_){k=C[j];break}let F=k!==null,R=k?g(k.textContent||""):"";if(F&&R){v.add(_);continue}let q=getNearbyContext(_),V=_.querySelectorAll("input, select, textarea"),z=uniqueSel(_);p.push({selector:z,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:F?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:V.length,nearbyHeading:q.nearbyHeading,parentTag:q.parentTag}),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)}),v.add(_);}let b=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let w=0;w<b.length&&!(p.length>=30);w++){let _=b[w];if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_)||v.has(_))continue;if(m(_)){v.add(_);continue}let k=_.getAttribute("role")||"",C=getNearbyContext(_),F=_.querySelectorAll("input, select, textarea"),R=uniqueSel(_);p.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+k+'" container without accessible name',role:k,controlCount:F.length,nearbyHeading:C.nearbyHeading,parentTag:C.parentTag}),needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)}),v.add(_);}let x={},A=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let w=0;w<A.length;w++){let _=A[w];if(isWidget(_)||!isVisible(_)||isHiddenFromAT(_))continue;let k=_.getAttribute("name")||"";if(!k)continue;let C=_.closest("form"),F=C?C.getAttribute("id")||C.getAttribute("action")||C.tagName:"no-form",R=(_.getAttribute("type")||"").toLowerCase(),q=F+"::"+R+"::"+k;x[q]||(x[q]=[]),x[q].push(_);}let E=Object.keys(x);for(let w=0;w<E.length&&!(p.length>=30);w++){let _=x[E[w]];if(_.length<3)continue;let k=_[0],C=k.closest('fieldset, [role="group"], [role="radiogroup"]'),F=false;if(C){F=true;for(let H=1;H<_.length;H++)if(!C.contains(_[H])){F=false;break}}if(F&&C)continue;let R=k.parentElement;for(;R&&R!==document.body;){let H=true;for(let Z=1;Z<_.length;Z++)if(!R.contains(_[Z])){H=false;break}if(H)break;R=R.parentElement;}if(!R||R===document.body||v.has(R))continue;let q=(k.getAttribute("type")||"").toLowerCase(),V=k.getAttribute("name")||"",z=getNearbyContext(k),j=uniqueSel(R);p.push({selector:j,attribute:"role",currentValue:R.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+q+" group ("+_.length+' inputs share name="'+V+'")',inputType:q,inputCount:_.length,name:V,nearbyHeading:z.nearbyHeading,parentTag:z.parentTag}),needsAI:false,fixValue:q==="radio"?"radiogroup":"group",outerHtml:(R.outerHTML||"").slice(0,300)}),v.add(R);}return p},Z1={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(MR)}};var OR=()=>{let f=[],p=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),v=0;for(let g of Array.from(p)){let m=getComputedStyle(g);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let y=g.getBoundingClientRect();if(y.top>50||y.bottom<=0)continue;let b=Math.round(y.height);b<40||b>240||b>v&&(v=b);}if(v>0){let g=window.scrollX,m=window.scrollY,y=0,b=0;try{let A=[],E=new Set;document.querySelectorAll('a[href^="#"]').forEach(w=>{let _=w.getAttribute("href").slice(1);if(!_)return;let k=document.getElementById(_);k&&!E.has(k)&&(E.add(k),A.push(k));});for(let w of A){if(b>=8)break;let _=getComputedStyle(w);if(_.display==="none"||_.visibility==="hidden")continue;b++,w.scrollIntoView({block:"start"});let k=w.getBoundingClientRect(),C=Math.max(k.height,1);Math.max(0,Math.min(k.bottom,v)-Math.max(k.top,0))/Math.min(C,v)>=.5&&y++;}}catch{}try{window.scrollTo(g,m);}catch{}let x=`scroll-margin-top: ${v+8}px; scroll-padding-top: ${v+8}px;`;b>0&&y>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${v}px \u2014 ${y}/${b} in-page anchor targets land under it on jump`,needsAI:false,fixValue:x}):b===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${v}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:x});}return f},Q1={name:"focusObscured",async detect(f){return f.evaluate(OR)}};var eh={name:"focusVisible",cap:40,async detect(f){let p=typeof f.keyboard?.press=="function";if(p)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(v=>{let m=[],y=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),b=document.querySelectorAll(y),x=document.activeElement;for(let A of b){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(A)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(A)||typeof isVisible=="function"&&!isVisible(A)||!A.offsetParent&&A.tagName!=="BODY")continue;let E=getComputedStyle(A),w=E.outline,_=E.outlineWidth,k=E.outlineStyle,C=E.boxShadow,F=E.border,R=E.backgroundColor;try{A.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==A)continue;let q=getComputedStyle(A),V=q.outline,z=(q.outlineStyle||"").toLowerCase(),j=parseFloat(q.outlineWidth||"0"),H=q.boxShadow,Z=q.border,de=q.backgroundColor,_e=V!==w,Ce=z!=="none"&&z!=="hidden"&&j>0;if(_e&&Ce||H!==C&&H!=="none"&&H!==""||Z!==F||de!==R||parseFloat(_)>0&&k!=="none")continue;let Ne=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();m.push({selector:Ne+":focus-visible",attribute:"style",currentValue:k+" "+_,issueType:"focus_not_visible",wcag:"2.4.7",context:`${A.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:A.outerHTML.slice(0,200),...v?{}:{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{x?x.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return m},p)}};var NR=()=>{let p=[],v=["new","register","signup","sign-up","sign_up","create","change","reset"],g=["confirm","verify","retype","re-type","repeat","again"];function m(_){if(!_)return false;let k=" "+((_.id||"")+" "+(_.className||"")+" "+(_.getAttribute("name")||"")+" "+(_.getAttribute("action")||"")).toLowerCase()+" ";for(let C=0;C<v.length;C++)if(k.indexOf(v[C])!==-1)return true;return false}function y(_){let k=((_.getAttribute("name")||"")+" "+(_.getAttribute("id")||"")+" "+(_.getAttribute("placeholder")||"")+" "+(_.getAttribute("aria-label")||"")).toLowerCase();for(let C=0;C<g.length;C++)if(k.indexOf(g[C])!==-1)return true;return false}let b=document.querySelectorAll("input[required], select[required], textarea[required]");for(let _ of b){if(p.length>=30)break;let k=_;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let C=(k.getAttribute("aria-required")||"").trim().toLowerCase();if(C==="true")continue;let F=uniqueSel(k),R=(k.getAttribute("type")||k.tagName.toLowerCase()||"").toLowerCase();p.push({selector:F,attribute:"aria-required",currentValue:C,issueType:"missing_aria_required",wcag:"3.3.2",context:"required input missing aria-required | type: "+R+" | name: "+(k.getAttribute("name")||""),needsAI:false,fixValue:"true",outerHtml:(k.outerHTML||"").slice(0,300)});}let x=document.querySelectorAll("input[pattern]");for(let _ of x){if(p.length>=30)break;let k=_;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k)||(k.getAttribute("title")||"").trim()||(k.getAttribute("aria-describedby")||"").trim())continue;let R=uniqueSel(k),q=(k.getAttribute("pattern")||"").slice(0,80),V=k.getAttribute("name")||"",z=k.getAttribute("placeholder")||"";p.push({selector:R,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+q+" | name: "+V+" | placeholder: "+z,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}let A=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let _ of A){if(p.length>=30)break;let k=_;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let C=(k.getAttribute("autocomplete")||"").trim().toLowerCase();if(y(k)){if(C==="new-password")continue;let z=uniqueSel(k);p.push({selector:z,attribute:"autocomplete",currentValue:C,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(k.outerHTML||"").slice(0,300)});continue}if(C)continue;let R=k.form||k.closest("form"),q=m(R),V=uniqueSel(k);p.push({selector:V,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(q?"new/signup/change password form":"login form")+" | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:q?"new-password":"current-password",outerHtml:(k.outerHTML||"").slice(0,300)});}let E=document.querySelectorAll("form"),w=/\*|\brequired\b|\bmandatory\b/i;for(let _ of E){if(p.length>=30)break;let k=_;if(isWidget(k)||!isVisible(k))continue;let C=k.querySelectorAll("input[required], select[required], textarea[required]");if(!C.length)continue;let F=0;for(let j of C)isVisible(j)&&F++;if(F===0)continue;let R=k.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),q=0;for(let j of R)isVisible(j)&&q++;if(F>=q||(k.getAttribute("data-asw-required-hint")||"").trim())continue;let V=(k.textContent||"").trim();if(w.test(V))continue;let z=uniqueSel(k);p.push({selector:z,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${F} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return p},th={name:"formAttributes",cap:30,async detect(f){return f.evaluate(NR)}};var qR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],g=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(x=>{if(x.closest(f)||x.getAttribute("aria-hidden")==="true"||x.closest('[aria-hidden="true"]')||x.getClientRects().length===0)return false;let A=getComputedStyle(x).visibility;return !(A==="hidden"||A==="collapse")});if(g.length===0)return v;let m='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',y=new Map,b=0;for(let x of g){if(v.length>=50)break;let A;if(x.getAttribute("role")==="heading"){let R=x.getAttribute("aria-level");A=R?parseInt(R,10):2;}else A=parseInt(x.tagName.charAt(1),10);if(isNaN(A)||A<1||A>6)continue;let w=x.closest(m)||document.body,_=y.get(w)??0,k=uniqueSel(x),C=(x.textContent||"").trim().slice(0,80),F=x.outerHTML.slice(0,300);if(A===1&&(b++,b>1&&(v.push({selector:k,attribute:"aria-level",currentValue:"1",issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"multiple_h1",headingText:C,h1Number:b,suggestion:"Demote to h2 \u2014 only one h1 per page"}),needsAI:false,fixValue:"2",outerHtml:F}),A=2)),_>0&&A>_+1){let R=_+1;v.push({selector:k,attribute:"aria-level",currentValue:String(A),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:C,currentLevel:A,previousLevel:_,expectedLevel:R,suggestion:"Should be h"+R+" (was h"+A+", previous was h"+_+")"}),needsAI:false,fixValue:String(R),outerHtml:F});}y.set(w,A);}return v},rh={name:"headingHierarchy",cap:50,async detect(f){return f.evaluate(qR)}};var BR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",v=[],g=new Set;function m(y){let b=y,x=0;for(;b&&b!==document.body&&x<6;){if(b.getAttribute("aria-hidden")==="true")return true;b=b.parentElement,x++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(y=>{if(v.length>=50||y.closest(f)||!y.matches("a[href], button, [role=button]")||m(y))return;let b=getComputedStyle(y);if(b.display==="none"||b.visibility==="hidden")return;let x=uniqueSel(y);g.has(x)||(g.add(x),v.push({selector:x,attribute:"tabindex",currentValue:y.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(y=>{if(v.length>=50||y.closest(f)||m(y))return;let b=getComputedStyle(y),x=parseInt(b.width)||0,A=parseInt(b.height)||0;if((x===0||A===0)&&y.getAttribute("aria-hidden")!=="true"){let E=uniqueSel(y);if(g.has(E))return;g.add(E),v.push({selector:E,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),v},ah={name:"hiddenInteractive",cap:50,async detect(f){return f.evaluate(BR)}};var VR=()=>{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"}]:[]},nh={name:"htmlLang",async detect(f){return f.evaluate(VR)}};var HR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],m=/^(iframe|embed|widget|frame|content|untitled)$/i,y=document.querySelectorAll("iframe");for(let b of y){if(v.length>=50)break;if(b.closest(f))continue;let x=(b.getAttribute("aria-hidden")||"").trim(),A=(b.getAttribute("role")||"").trim().toLowerCase();if(x==="true"||A==="presentation")continue;let E=getComputedStyle(b);if(b.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse"||(b.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let w=(b.getAttribute("title")||"").trim(),_=w.length===0,k=!_&&(w.length<3||m.test(w));if(!_&&!k)continue;let C=(b.getAttribute("src")||"").toLowerCase(),F=uniqueSel(b),R=getNearbyContext(b),q="src: "+C.slice(0,120)+(R.nearbyHeading?" | heading: "+R.nearbyHeading:""),V=false;for(let z of g)if(C.includes(z.pattern)){v.push({selector:F,attribute:"title",currentValue:w,issueType:"missing_label",wcag:"4.1.2",context:q,needsAI:false,fixValue:z.title,outerHtml:b.outerHTML.slice(0,300)}),V=true;break}!V&&_&&v.push({selector:F,attribute:"title",currentValue:w,issueType:"missing_label",wcag:"4.1.2",context:q,needsAI:true,outerHtml:b.outerHTML.slice(0,300)});}return v},ih={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(HR)}};var jR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],g=[],m={email:"email",tel:"tel",password:"current-password"},y=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],b=document.querySelectorAll("input, select, textarea");for(let x of b){if(g.length>=50)break;if(x.closest(f))continue;let A=x,E=(A.getAttribute("type")||"text").toLowerCase();if(p.includes(E)||A.getAttribute("autocomplete")||!isVisible(A))continue;let w="";if(m[E]&&(w=m[E]),!w){let k=(A.getAttribute("name")||"").toLowerCase(),C=(A.getAttribute("id")||"").toLowerCase(),F=(A.getAttribute("placeholder")||"").toLowerCase(),R=k+" "+C+" "+F;for(let q of y)if(R.includes(q.pattern)){w=q.autocomplete;break}}if(!w)continue;let _=uniqueSel(A);g.push({selector:_,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+E+" | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:w});}return g},oh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(jR)}};var $R=()=>{let p=[],v={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},g=document.querySelectorAll("[role]");for(let m of g){if(p.length>=20)break;let y=m;if(isWidget(y))continue;let b=(y.getAttribute("role")||"").trim().toLowerCase();if(!b)continue;let x=b.split(/\s+/).filter(Boolean);if(x.length===0)continue;let A=true,E="";for(let w=0;w<x.length;w++)if(!v[x[w]]){A=false,E=x[w];break}A||p.push({selector:uniqueSel(y),attribute:"remove_attribute",currentValue:b,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+E+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(y.outerHTML||"").slice(0,300)});}return p},sh={name:"invalidAriaRole",cap:20,async detect(f){return f.evaluate($R)}};var zR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(","),m=document.querySelectorAll(g);for(let y of m){if(v.length>=30)break;if(y.closest(f)||!y.hasAttribute("tabindex"))continue;let b=y.getAttribute("tabindex")||"",x=parseInt(b,10);if(!Number.isFinite(x)||x===0||y.getAttribute("aria-disabled")==="true"||y.getAttribute("aria-hidden")==="true"||y.closest('[aria-hidden="true"]')||y.closest("[hidden]"))continue;let A=y.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(A&&!(A.hasAttribute("open")||A.getAttribute("aria-modal")==="true"||A.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(y))continue;let E=(y.getAttribute("role")||"").toLowerCase();if(x<0&&y.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let _=typeof uniqueSel=="function"?uniqueSel(y):"",k=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},C,F;x<0?(C="keyboard_trap",F="2.1.1"):(C="focus_order_disruption",F="2.4.3");let R=[];R.push("tabindex: "+x),R.push("tag: "+y.tagName.toLowerCase()),E&&R.push("role: "+E),k.nearbyHeading&&R.push("heading: "+k.nearbyHeading),R.push("parent: "+k.parentTag),v.push({selector:_,attribute:"tabindex",currentValue:String(x),issueType:C,wcag:F,context:R.join(" | "),needsAI:false,fixValue:"0",outerHtml:(y.outerHTML||"").slice(0,300)});}return v},uh={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(zR)}};var GR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let y of Array.from(m)){if(v.length>=40)break;if(y.closest(f)||typeof isVisible=="function"&&!isVisible(y))continue;let b="";try{let F=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,R=/icon|awesome|glyph|material symbols|dashicons/i,q=!1;try{q=R.test(getComputedStyle(y).fontFamily||"");}catch{}let V=document.createTreeWalker(y,NodeFilter.SHOW_TEXT),z=[],j;for(;j=V.nextNode();){let H=j.parentElement;if(!H)continue;let Z=(j.textContent||"").trim();if(!Z||H===y&&q)continue;let de=!1;for(let _e=H;_e&&_e!==y;_e=_e.parentElement){if(_e.getAttribute("aria-hidden")==="true"){de=!0;break}if(F.test(_e.className||"")||F.test(_e.id||"")){de=!0;break}try{let Ce=getComputedStyle(_e);if(Ce.display==="none"||Ce.visibility==="hidden"){de=!0;break}if(R.test(Ce.fontFamily||"")){de=!0;break}}catch{}}de||z.push(Z);}b=z.join(" ").trim().toLowerCase();}catch{b=((y.innerText!=null?y.innerText:y.textContent)||"").trim().toLowerCase();}if(!b||b.length<2||!/[\p{L}\p{N}]/u.test(b))continue;let x=(y.getAttribute("aria-label")||"").trim().toLowerCase();if(!x){let F=y.getAttribute("aria-labelledby");F&&(x=(typeof __resolveIdRefs=="function"?__resolveIdRefs(F):"").toLowerCase());}if(!x)continue;let A=b.replace(/\s+/g," "),E=x.replace(/\s+/g," ");if(E.includes(A))continue;let w=A.split(/\s+/).filter(F=>F.length>=3);if(w.length&&w.some(F=>E.includes(F)))continue;let _=typeof uniqueSel=="function"?uniqueSel(y):"",k=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},C=[];C.push("visible: "+b.slice(0,40)),C.push("aria-label: "+x.slice(0,60)),k.nearbyHeading&&C.push("heading: "+k.nearbyHeading),C.push("parent: "+k.parentTag),v.push({selector:_,attribute:"aria-label",currentValue:x,issueType:"label_in_name",wcag:"2.5.3",context:C.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return v},lh={name:"labelInName",cap:40,async detect(f){return f.evaluate(GR)}};var UR=()=>{function f(w){let _=w.closest("section,article,div,nav,main,aside,header,footer"),k=_?_.querySelector("h1,h2,h3,h4,h5,h6"):null;return k?(k.textContent||"").trim().slice(0,80):""}let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",v=50,g=[];document.querySelector('main, [role="main"]')||g.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 y=document.querySelectorAll("div, section, ul, ol");for(let w of y){if(g.length>=v)break;if(w.closest(p)||!isVisible(w)||isHiddenFromAT(w)||w.tagName.toLowerCase()==="nav")continue;let _=w.getAttribute("role");if(_&&_!=="navigation")continue;let k=(w.className&&typeof w.className=="string"?w.className:"").toLowerCase(),C=(w.id||"").toLowerCase();if(!(k.includes("nav")||k.includes("menu")||k.includes("navigation")||C.includes("nav")||C.includes("menu")||C.includes("navigation"))||w.closest('nav, [role="navigation"]'))continue;let R=w.querySelectorAll("a[href]");if(R.length<3)continue;let q=uniqueSel(w);g.push({selector:q,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:w.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:R.length,classes:k.slice(0,80)}),needsAI:false,fixValue:"navigation",outerHtml:w.outerHTML.slice(0,300)});}let b=document.querySelectorAll('aside, [role="complementary"]'),x=Array.from(b).filter(w=>!w.closest(p)&&isVisible(w)&&!isHiddenFromAT(w));if(x.length>1)for(let w of x){if(g.length>=v)break;let _=w.getAttribute("aria-label")||"",k=w.getAttribute("aria-labelledby")||"",C=w.getAttribute("title")||"";if(_.trim()||k.trim()||C.trim())continue;let F=f(w),R=uniqueSel(w);g.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:w.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:b.length,nearbyHeading:F}),needsAI:true,outerHtml:w.outerHTML.slice(0,300)});}let A=document.querySelectorAll('nav, [role="navigation"]'),E=Array.from(A).filter(w=>!w.closest(p)&&isVisible(w)&&!isHiddenFromAT(w));if(E.length>1)for(let w of E){if(g.length>=v)break;let _=w.getAttribute("aria-label")||"",k=w.getAttribute("aria-labelledby")||"",C=w.getAttribute("title")||"";if(_.trim()||k.trim()||C.trim())continue;let F=f(w),R=uniqueSel(w);g.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:w.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:A.length,nearbyHeading:F}),needsAI:true,outerHtml:w.outerHTML.slice(0,300)});}return g},ch={name:"landmarkRoles",cap:50,async detect(f){return f.evaluate(UR)}};var WR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",v=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],g=[];function m(w){if(!w)return "";let _=w.split("#")[0];return _.length>1&&_.charAt(_.length-1)==="/"&&(_=_.substring(0,_.length-1)),_}function y(w){let _=(w.getAttribute("aria-label")||"").trim();return _||(w.textContent||"").trim().replace(/\s+/g," ")}function b(w){return !!w.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let x={},A=document.querySelectorAll("a[href]");for(let w=0;w<A.length;w++){let _=A[w];if(_.closest(f)||_.getAttribute("aria-hidden")==="true"||!isVisible(_))continue;let k=_.getAttribute("href")||"";if(!k)continue;let C=k.toLowerCase();if(C.charAt(0)==="#"||C.indexOf("javascript:")===0||C.indexOf("mailto:")===0||C.indexOf("tel:")===0)continue;let F=_.href||k,R=m(F);if(!R||b(_))continue;let q=(_.textContent||"").trim(),V=!!_.querySelector("img, svg, picture");if(!q&&V)continue;let z=y(_);if(!z)continue;let j=z.toLowerCase();j===C||j===F.toLowerCase()||(x[R]||(x[R]=[]),x[R].push(_));}let E=Object.keys(x);for(let w=0;w<E.length&&!(g.length>=30);w++){let _=x[E[w]];if(!_||_.length<2)continue;let k={},C="";for(let V=0;V<_.length;V++){let z=y(_[V]),j=z.toLowerCase();k[j]=true,z.length>C.length&&(C=z);}if(Object.keys(k).length<2)continue;let R=C.toLowerCase().trim();if(R.length<5)continue;let q=false;for(let V=0;V<v.length;V++)if(R===v[V]){q=true;break}if(!q)for(let V=0;V<_.length&&!(g.length>=30);V++){let z=_[V],j=y(z);if(j.toLowerCase()===R)continue;let H=uniqueSel(z);g.push({selector:H,attribute:"aria-label",currentValue:j,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+_.length+' link(s) on this page with different text (e.g. "'+C.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:z.outerHTML.slice(0,300)});}}return g},dh={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(WR)}};var XR=()=>{let p=[],v=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],g={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},m="";try{m=window.location&&window.location.hostname||"";}catch{m="";}m=(m||"").toLowerCase();function y(F,R){if(!F||!R)return false;if(F===R||F.endsWith("."+R)||R.endsWith("."+F))return true;let q=V=>{let z=V.split(".");if(z.length<=2)return V;let j=z[z.length-1],H=z[z.length-2],Z=["co","com","net","org","ac","gov","edu"],de=j.length===2&&Z.indexOf(H)>=0?3:2;return z.slice(-de).join(".")};return q(F)===q(R)}function b(F){return F.indexOf("www.")===0?F.slice(4):F}function x(F){if(!F)return "";let R=F.toLowerCase();if(R.charAt(0)==="#"||R.charAt(0)==="/"||R.charAt(0)==="?"||R.indexOf("javascript:")===0||R.indexOf("mailto:")===0||R.indexOf("tel:")===0)return "";try{return (new window.URL(F,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function A(F){if(!F)return "";let R=F,q=R.indexOf("?");q>=0&&(R=R.slice(0,q));let V=R.indexOf("#");V>=0&&(R=R.slice(0,V)),R=R.toLowerCase();for(let z=0;z<v.length;z++){let j=v[z];if(R.length>=j.length&&R.slice(R.length-j.length)===j)return j}return ""}function E(F){let R=[],q=(F.getAttribute("aria-label")||"").trim();q&&R.push(q);let V=(F.getAttribute("title")||"").trim();V&&R.push(V);let z=F.getAttribute("aria-labelledby");if(z)try{let j=typeof __resolveIdRefs=="function"?__resolveIdRefs(z):"";j&&R.push(j);}catch{}return R.push((F.textContent||"").trim()),R.join(" ").toLowerCase()}function w(F,R,q){let V="";try{typeof getAccessibleName=="function"&&(V=(getAccessibleName(F)||"").trim());}catch{}let z=(R||q||V||F.textContent||"").replace(/\s+/g," ").trim();return z||(F.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function _(F,R){let V=200-R.length;V<8&&(V=8);let z=F;if(z.length>V){let j=z.slice(0,V),H=j.lastIndexOf(" ");H>V*.6&&(j=j.slice(0,H)),z=j.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (z+R).slice(0,200)}let k=document.querySelectorAll("a"),C=k.length;for(let F=0;F<C&&!(p.length>=50);F++){let R=k[F];if(!R||isWidget(R)||R.getAttribute("aria-hidden")==="true")continue;try{if(R.closest&&R.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(R))continue;let q=R.getAttribute("href");if(q==null)continue;let V=String(q).trim();if(!V)continue;let z=V.toLowerCase(),j=E(R),H=(R.getAttribute("rel")||"").toLowerCase(),Z=uniqueSel(R),de=(R.textContent||"").trim().slice(0,80),_e=(R.getAttribute("target")||"").toLowerCase(),Ce=(R.outerHTML||"").slice(0,300),Y=V==="#",Q=z.indexOf("javascript:")===0;if((Y||Q)&&(R.getAttribute("role")||"").toLowerCase()!=="button"){let ke=R.hasAttribute&&R.hasAttribute("onclick"),Xe=R.hasAttribute&&(R.hasAttribute("data-action")||R.hasAttribute("data-click")||R.hasAttribute("data-toggle")||R.hasAttribute("data-target")),at=typeof R.onclick=="function",ut=ke||Xe||at,ft=[];ft.push("href: "+V),de&&ft.push("text: "+de),ft.push(ut?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation"),ut&&p.push({selector:Z,attribute:"role",currentValue:V,issueType:"placeholder_link",wcag:"2.4.4",context:ft.join(" | "),needsAI:false,fixValue:"button",outerHtml:Ce});continue}if(V.charAt(0)==="#"&&V.length>1){let $e=V.slice(1),ke=$e;try{ke=decodeURIComponent($e);}catch{ke=$e;}let Xe=null;try{Xe=document.getElementById(ke);}catch{Xe=null;}if(!Xe)try{Xe=document.querySelector('[name="'+ke.replace(/"/g,'\\"')+'"]');}catch{Xe=null;}continue}let ue=A(z);if(ue){let $e=R.hasAttribute&&R.hasAttribute("download"),ke=(g[ue]||ue).toLowerCase(),Xe=j.indexOf(ue)>=0||j.indexOf(ke)>=0||j.indexOf("download")>=0;if(!$e&&!Xe){let at=w(R,(R.getAttribute("aria-label")||"").trim(),""),ut=_(at," ("+(g[ue]||ue)+" download)");p.push({selector:Z,attribute:"aria-label",currentValue:(R.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ue+" | href: "+V.slice(0,120),needsAI:false,fixValue:ut,outerHtml:Ce});continue}}let ce=x(V),Ne=z.indexOf("http://")===0||z.indexOf("https://")===0||z.indexOf("//")===0,be=!!ce&&!!m&&!y(b(ce),b(m));if(_e==="_blank"){let $e=H.indexOf("noopener")>=0||H.indexOf("noreferrer")>=0,ke=j.indexOf("new window")>=0||j.indexOf("new tab")>=0||j.indexOf("opens in")>=0;if(!ke){let Xe=(R.getAttribute("aria-label")||"").trim(),at="",ut=R.getAttribute("aria-labelledby")||"";if(!Xe&&ut)try{typeof __resolveIdRefs=="function"&&(at=(__resolveIdRefs(ut)||"").trim());}catch{}let ft=w(R,Xe,at),wt=_(ft," (opens in new window)"),_t=[];$e||_t.push("missing rel=noopener"),ke||_t.push('missing "new window" hint'),_t.push("href: "+V.slice(0,120)),p.push({selector:Z,attribute:"aria-label",currentValue:(R.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:_t.join(" | "),needsAI:false,fixValue:wt,outerHtml:Ce});continue}}if(be&&Ne){let $e=H.indexOf("external")>=0,ke=j.indexOf("external")>=0||j.indexOf("opens in")>=0||j.indexOf("new window")>=0||j.indexOf("new tab")>=0;if(!$e&&!ke){let Xe=(R.getAttribute("aria-label")||"").trim(),at="",ut=R.getAttribute("aria-labelledby")||"";if(!Xe&&ut)try{typeof __resolveIdRefs=="function"&&(at=(__resolveIdRefs(ut)||"").trim());}catch{}let ft=w(R,Xe,at),wt=_(ft," (external link)");p.push({selector:Z,attribute:"aria-label",currentValue:(R.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+ce+" (page: "+m+") | href: "+V.slice(0,120),needsAI:false,fixValue:wt,outerHtml:Ce});}}}return p},fh={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(XR)}};var YR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],g=new Set,m=document.querySelectorAll('main, [role="main"]'),y=[];return m.forEach(b=>{let x=getComputedStyle(b);x.display!=="none"&&x.visibility!=="hidden"&&y.push(b);}),m.forEach(b=>{if(v.length>=10||b.closest(f)||b.getAttribute("aria-hidden")!=="true")return;let x=getComputedStyle(b);if(x.display==="none"||x.visibility==="hidden"||b.closest('[role="dialog"]')||b.closest('[role="alertdialog"]')||b.closest("dialog")||y.some(_=>_!==b&&_.getAttribute("aria-hidden")!=="true"))return;let E=b.parentElement;for(;E&&E!==document.body&&E!==document.documentElement;){if(E.getAttribute("aria-hidden")==="true")return;E=E.parentElement;}let w=uniqueSel(b);g.has(w)||(g.add(w),v.push({selector:w,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:b.tagName.toLowerCase(),role:b.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:(b.outerHTML||"").slice(0,300)}));}),v},ph={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(YR)}};var KR=()=>{let p=[];function v(b){return !!(!b||isWidget(b)||(b.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function g(b){return (b.outerHTML||"").slice(0,300)}let m=document.querySelectorAll("video");for(let b of m){if(p.length>=10)break;let x=b;if(v(x))continue;let A=x.hasAttribute("controls"),E=x.hasAttribute("autoplay"),w=x.hasAttribute("muted"),_=typeof isVisible=="function"?isVisible(x):true;if(!A&&_&&(p.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:g(x)}),p.length>=10))break;E&&!w&&p.push({selector:uniqueSel(x),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:g(x)});}let y=document.querySelectorAll("audio");for(let b of y){if(p.length>=10)break;let x=b;if(v(x))continue;let A=x.hasAttribute("controls"),E=x.hasAttribute("autoplay");if(!A&&(p.push({selector:uniqueSel(x),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:g(x)}),p.length>=10))break;E&&p.push({selector:uniqueSel(x),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:g(x)});}return p},mh={name:"mediaControls",cap:10,async detect(f){return f.evaluate(KR)}};var JR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=/^(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|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,y=document.querySelectorAll("img");for(let b of y){if(v.length>=50)break;if(b.closest(f))continue;let x=b.getAttribute("src")||"",A=b.getAttribute("alt");if(x.startsWith("data:"))continue;let E=b.naturalWidth||b.width,w=b.naturalHeight||b.height;if(E<=3&&w<=3&&E>0&&w>0||E<=2&&w<=2)continue;let _=b.getBoundingClientRect();if(_.width<=2&&_.height<=2||!isVisible(b)||b.getAttribute("role")==="presentation"||b.getAttribute("role")==="none"||b.getAttribute("aria-hidden")==="true"||b.closest('[aria-hidden="true"]'))continue;let k=b.getBoundingClientRect(),C=k.width>0&&k.width<=30&&k.height<=30,F=!!b.closest('a, button, [role="button"], [role="link"]');if(C&&!F&&A===null){let j=uniqueSel(b);v.push({selector:j,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(k.width)+"x"+Math.round(k.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(A===null){let j=uniqueSel(b),H=getNearbyContext(b),Z=[],de=b.closest("figure");if(de){let Y=de.querySelector("figcaption");Y&&Z.push("figcaption: "+(Y.textContent||"").trim().slice(0,80));}H.nearbyHeading&&Z.push("heading: "+H.nearbyHeading);let _e=b.closest("a");if(_e){let Y=_e.getAttribute("href")||"",Q=(_e.textContent||"").trim().replace(/\s+/g," ");Q&&Z.push("link text: "+Q.slice(0,60)),Y&&Z.push("link href: "+Y.slice(0,80));}x&&Z.push("src: "+x.slice(0,120)),Z.push("parent: "+H.parentTag);let Ce=x;try{Ce=new URL(x,document.baseURI).href;}catch{}v.push({selector:j,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:Z.join(" | "),needsAI:true,imageSrc:Ce,outerHtml:b.outerHTML.slice(0,300)});continue}let R=(A||"").trim();if(R==="")continue;let q=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(R),V=g.test(R),z=m.test(R);if(q||V||z){let j=uniqueSel(b),H=getNearbyContext(b),Z=[];H.nearbyHeading&&Z.push("heading: "+H.nearbyHeading),x&&Z.push("src: "+x.slice(0,120)),Z.push("parent: "+H.parentTag);let de=x;try{de=new URL(x,document.baseURI).href;}catch{}v.push({selector:j,attribute:"alt",currentValue:R,issueType:"missing_alt",wcag:"1.1.1",context:Z.join(" | "),needsAI:true,imageSrc:de,outerHtml:b.outerHTML.slice(0,300)});}}return v},hh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(JR)}};var ZR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image"],v=["wpnonce","_token","csrf","nonce","captcha"],m=[],y=document.querySelectorAll("input, select, textarea");for(let b of y){if(m.length>=50)break;if(b.closest(f))continue;let x=b,A=x.getAttribute("type")||x.tagName.toLowerCase();if(p.includes(A.toLowerCase())||!isVisible(x)||x.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(x).display==="none")continue;let _=x.getAttribute("id")||"",k=x.getAttribute("name")||"",C=(_+" "+k).toLowerCase();if(v.some(Z=>C.includes(Z)))continue;let F=false;if(_){let Z=document.querySelector('label[for="'+CSS.escape(_)+'"]');Z&&(Z.textContent||"").trim()&&(F=true);}if(!F){let Z=x.closest("label");Z&&(Z.textContent||"").trim()&&(F=true);}if(!F&&(x.getAttribute("aria-label")||"").trim()&&(F=true),!F){let Z=x.getAttribute("aria-labelledby");Z&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(Z)&&(F=true);}if(!F&&(x.getAttribute("title")||"").trim()&&(F=true),F)continue;let R=uniqueSel(x),q=getNearbyContext(x),V=(x.getAttribute("placeholder")||"").trim(),z=x.closest("form"),j=z&&(z.getAttribute("id")||z.getAttribute("action"))||"",H=[];V&&H.push("placeholder: "+V),k&&H.push("name: "+k),A&&H.push("type: "+A),j&&H.push("form: "+j.slice(0,60)),q.nearbyHeading&&H.push("heading: "+q.nearbyHeading),H.push("parent: "+q.parentTag),m.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:H.join(" | "),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return m},gh={name:"missingLabels",cap:50,async detect(f){return f.evaluate(ZR)}};var QR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",v=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(v.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let w=E.getAttribute("role");if(w==="button"||w==="link"||w==="tab"||w==="menuitem"||w==="checkbox"||w==="radio")return;let _=uniqueSel(E),k=E.outerHTML.slice(0,300);v.push({selector:_,attribute:"role",currentValue:w||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),hasOnclick:true,currentTabindex:E.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:k}),E.getAttribute("tabindex")===null&&v.push({selector:_,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:k});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(E=>{if(v.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let _=E.hasAttribute("onclick"),k=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!_&&!k)return;let C=uniqueSel(E),F=E.outerHTML.slice(0,300);v.push({selector:C,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:E.getAttribute("href")||"",hasOnclick:_}),needsAI:false,fixValue:"button",outerHtml:F});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(E=>{if(v.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let _=E.getAttribute("href")||"";if(_.startsWith("#")&&_.length>1){if(_.charAt(1)==="/")return;let C=_.slice(1);if(document.getElementById(C))return;try{if(document.querySelector('[name="'+CSS.escape(C)+'"]'))return}catch{}}let k=uniqueSel(E);v.push({selector:k,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:_,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("nav, ol, ul").forEach(E=>{if(v.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let w=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),_=(E.id||"").toLowerCase();if(!w.includes("breadcrumb")&&!w.includes("crumb")&&!_.includes("breadcrumb")&&!_.includes("crumb"))return;let k=E.querySelectorAll("a");if(k.length<2)return;let C=(E.getAttribute("aria-label")||"").toLowerCase(),F=E.getAttribute("role");if(C.includes("breadcrumb")||C.includes("crumb")||F==="navigation"&&C)return;let R=uniqueSel(E);v.push({selector:R,attribute:"aria-label",currentValue:C,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:k.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(v.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let w=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),_=(E.id||"").toLowerCase();if(!w.includes("search")&&!_.includes("search")||!E.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let C=E.getAttribute("role");if(C==="search"||E.closest('[role="search"]')||E.querySelector('[role="search"]')||Array.prototype.some.call(E.querySelectorAll("form, section, div"),q=>{let V=(q.className&&typeof q.className=="string"?q.className:"").toLowerCase(),z=(q.id||"").toLowerCase();return !V.includes("search")&&!z.includes("search")||q.getAttribute("role")==="search"?false:!!q.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let R=uniqueSel(E);v.push({selector:R,attribute:"role",currentValue:C||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(E=>{if(E.closest(f))return;E.querySelectorAll("a").forEach(_=>{if(v.length>=50||!isVisible(_)||isHiddenFromAT(_))return;let k=_.getAttribute("role");if(k==="menuitem"||k==="menuitemcheckbox"||k==="menuitemradio")return;let C=uniqueSel(_);v.push({selector:C,attribute:"role",currentValue:k||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",reason:'link inside menu missing role="menuitem"',menuRole:E.getAttribute("role")}),needsAI:false,fixValue:"menuitem",outerHtml:_.outerHTML.slice(0,300)});});}),v},vh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(QR)}};var eI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],g={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},m=y=>{let b=E=>{let w=E.tagName.toLowerCase(),_=E.parentElement;if(!_)return w;let k=Array.from(_.children).filter(C=>C.tagName===E.tagName);return k.length>1?`${w}:nth-of-type(${k.indexOf(E)+1})`:w},x=[],A=y;for(;A&&A!==document.body&&A!==document.documentElement;)x.unshift(b(A)),A=A.parentElement;return x.length?x.join(" > "):y.tagName.toLowerCase()};for(let[y,b]of Object.entries(g)){let x=Array.from(document.querySelectorAll(b));x=x.filter(A=>!A.closest(f)),x=x.filter(A=>typeof isVisible=="function"?isVisible(A):true),x=x.filter(A=>A.getAttribute("aria-hidden")!=="true"),!(x.length<2)&&x.forEach(A=>{if(v.length>=30||(A.getAttribute("aria-label")||"").trim()||(A.getAttribute("title")||"").trim())return;let E=A.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))return;let w=typeof uniqueSel=="function"?uniqueSel(A):m(A),_=typeof getNearbyContext=="function"?getNearbyContext(A):{nearbyHeading:""},k=A.querySelector("h1, h2, h3, h4, h5, h6"),C=k?(k.textContent||"").trim().slice(0,60):"";v.push({selector:w,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${y} | total: ${x.length} | inner-heading: ${C} | nearby: ${_.nearbyHeading||""}`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});});}return v},bh={name:"multipleLandmarks",cap:30,async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],g={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,y]of Object.entries(g))document.querySelectorAll(y).forEach(x=>{if(v.length>=30||x.closest(f)||typeof isVisible=="function"&&!isVisible(x))return;let A=x.parentElement,E=null;for(;A&&A!==document.body;){if(A.matches(y)){E=A;break}A=A.parentElement;}if((m==="banner"||m==="contentinfo")&&x.closest("article, section, aside, main, nav")||!E||x.getAttribute("aria-label")?.trim()||x.getAttribute("aria-labelledby")?.trim())return;let w=typeof uniqueSel=="function"?uniqueSel(x):"",_=typeof getNearbyContext=="function"?getNearbyContext(x):{nearbyHeading:""};v.push({selector:w,attribute:"role",currentValue:x.getAttribute("role")||x.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${x.tagName.toLowerCase()} | heading: ${_.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(x.outerHTML||"").slice(0,300)});});return v},yh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(tI)}};var rI=()=>{let p=[],v=w=>typeof parseCssColor=="function"?parseCssColor(w):null,g=(w,_,k)=>typeof relLuminance=="function"?relLuminance(w,_,k):0,y=(w,_)=>typeof contrastRatio=="function"?contrastRatio(w,_):1;function b(w){let _=w.parentElement,k=0;for(;_&&_!==document.documentElement&&k<6;){let C=getComputedStyle(_).backgroundColor||"",F=v(C);if(F&&F[3]>.5)return [F[0],F[1],F[2]];_=_.parentElement,k++;}return [255,255,255]}function x(w,_,k){return "#"+[w,_,k].map(C=>{let F=Math.max(0,Math.min(255,Math.round(C))).toString(16);return F.length===1?"0"+F:F}).join("")}function A(w,_,k){let F=g(_[0],_[1],_[2])>.5,R=0,q=1,V=null;for(let z=0;z<20;z++){let j=(R+q)/2,H=F?[w[0]*(1-j),w[1]*(1-j),w[2]*(1-j)]:[w[0]+(255-w[0])*j,w[1]+(255-w[1])*j,w[2]+(255-w[2])*j];y(H,_)>=k?(V=[Math.round(H[0]),Math.round(H[1]),Math.round(H[2])],q=j):R=j;}return V}let E=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let w of E){if(p.length>=30)break;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w))continue;let _=getComputedStyle(w),k=b(w),C=v(_.backgroundColor||""),F=v(_.borderTopColor||""),R=parseFloat(_.borderTopWidth||"0"),q=(_.borderTopStyle||"").toLowerCase(),V=R>0&&q!=="none"&&q!=="hidden",z=w.tagName.toLowerCase(),j=z==="input"||z==="select"||z==="textarea",H=null,Z=false,de="";if(j)if(V&&F&&F[3]>.5){let be=y([F[0],F[1],F[2]],k);H=be,be<3&&(Z=true);}else if(C&&C[3]>.5){let be=y([C[0],C[1],C[2]],k);H=be,be<3&&(Z=true);}else Z=true,H=1;else {let be=false,$e=document.createTreeWalker(w,4),ke=$e.nextNode();for(;ke;){if((ke.textContent||"").trim()&&ke.parentElement&&isVisible(ke.parentElement)){be=true;break}ke=$e.nextNode();}if(be)continue;let Xe=w.querySelector('img, svg, picture, canvas, i[class], [class*="icon"]'),at=!!(Xe&&isVisible(Xe)),ut=false,ft=_.position;if((ft==="absolute"||ft==="fixed")&&w.parentElement){let wt=w.getBoundingClientRect(),_t=w.parentElement.getBoundingClientRect(),Pe=_t.width*_t.height;Pe>0&&wt.width*wt.height/Pe>=.85&&(ut=true);}if(at||ut){if(Z=true,H=V&&F&&F[3]>.5?y([F[0],F[1],F[2]],k):1,H>=3)continue;de=at?"control is identified by an image or icon \u2014 verify the graphic itself 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 if(V&&F&&F[3]>.5){let wt=y([F[0],F[1],F[2]],k);H=wt,wt<3&&(Z=true);}else if(C&&C[3]>.5){let wt=y([C[0],C[1],C[2]],k);H=wt,wt<3&&(Z=true);}else Z=true,H=1;}if(!Z)continue;let _e=F&&F[3]>.5?[F[0],F[1],F[2]]:C&&C[3]>.5?[C[0],C[1],C[2]]:[128,128,128],Ce=A(_e,k,3);if(!Ce)continue;let Y=x(Ce[0],Ce[1],Ce[2]),Q=x(k[0],k[1],k[2]),ue="border: 1px solid "+Y+" !important;",ce=uniqueSel(w),Ne=w.tagName.toLowerCase();p.push({selector:ce,attribute:"style",currentValue:H?H.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Ne+" bg="+Q+" ratio="+(H?H.toFixed(2):"?")+" needs=3",needsAI:false,...de?{needsReview:true,reviewReason:de}:{fixValue:ue},outerHtml:w.outerHTML.slice(0,200)});}return p},wh={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(rI)}};var aI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let y of Array.from(m)){if(v.length>=20)break;if(y.closest(f))continue;let b=y.getAttribute("onfocus")||"";if(!b||!g.test(b))continue;let x=typeof uniqueSel=="function"?uniqueSel(y):"",A=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("tag: "+y.tagName.toLowerCase()),E.push("onfocus: "+b.slice(0,100)),A.nearbyHeading&&E.push("heading: "+A.nearbyHeading),E.push("parent: "+A.parentTag),v.push({selector:x,attribute:"onfocus",currentValue:b.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:E.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return v},xh={name:"onFocus",cap:20,async detect(f){return f.evaluate(aI)}};var nI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g={navigation:["nav"],main:["main"],banner:["header"],contentinfo:["footer"],complementary:["aside"],button:["button"],link:["a"],form:["form"],search:["search"],article:["article"],region:["section"],heading:["h1","h2","h3","h4","h5","h6"],list:["ul","ol"],listitem:["li"],img:["img"],table:["table"],row:["tr"],cell:["td"],columnheader:["th"]},m=document.querySelectorAll("[role]");for(let y of m){if(v.length>=50)break;if(y.closest(f))continue;let b=(y.getAttribute("role")||"").trim().toLowerCase();if(!b)continue;let x=y.tagName.toLowerCase(),A=g[b];if(!A||!A.includes(x)||b==="link"&&x==="a"&&!y.hasAttribute("href")||(b==="banner"||b==="contentinfo")&&y.closest("article, section, aside, main, nav")||(b==="region"&&x==="section"||b==="form"&&x==="form")&&!((y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim())||b==="complementary"&&x==="aside"&&y.parentElement&&y.parentElement.closest("article, section, aside, main, nav")&&!((y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim())||(b==="list"||b==="listitem")&&(x==="ul"||x==="ol"||x==="li")&&getComputedStyle(y).listStyleType==="none")continue;let E=uniqueSel(y);v.push({selector:E,attribute:"remove_attribute",currentValue:b,issueType:"redundant_role",wcag:"4.1.2",context:"tag: <"+x+'> already has implicit role "'+b+'"',needsAI:false,fixValue:"role"});}return v},Dh={name:"redundantRoles",cap:50,async detect(f){return f.evaluate(nI)}};var iI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],m=new Set,y=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(x=>{if(g.length>=30||x.closest(f))return;let A=x.tagName;if(A==="BODY"||A==="HTML"||!isVisible(x)||isHiddenFromAT(x)||x.hasAttribute("tabindex"))return;let E=x.getAttribute("role");if(E&&y.has(E))return;let w=getComputedStyle(x),_=w.overflowY,k=w.overflowX,C=_==="auto"||_==="scroll",F=k==="auto"||k==="scroll";if(!C&&!F)return;let R=C&&x.scrollHeight-x.clientHeight>50,q=F&&x.scrollWidth-x.clientWidth>50;if(!R&&!q||x.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 z=uniqueSel(x);if(m.has(z))return;m.add(z);let{nearbyHeading:j}=getNearbyContext(x),H="";if(j)H=j;else {let _e=(typeof x.className=="string"?x.className:"").toLowerCase(),Ce=(x.id||"").toLowerCase();_e.includes("code")||_e.includes("snippet")||A==="PRE"||A==="CODE"?H="Code block":_e.includes("terms")||_e.includes("tos")||_e.includes("legal")?H="Terms and conditions":_e.includes("chat")||_e.includes("message")?H="Chat messages":_e.includes("table")||_e.includes("data")?H="Data table":Ce?H=Ce.replace(/[-_]/g," "):H="Scrollable content";}let Z=(x.outerHTML||"").slice(0,300);g.push({selector:z,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),overflowY:C?_:void 0,overflowX:F?k:void 0,scrollHeight:x.scrollHeight,clientHeight:x.clientHeight,scrollWidth:x.scrollWidth,clientWidth:x.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:Z}),E||g.push({selector:z,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:Z}),x.getAttribute("aria-label")||x.getAttribute("aria-labelledby")||g.push({selector:z,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),labelHint:H,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:Z});}),g},_h={name:"scrollableFocus",cap:30,async detect(f){return f.evaluate(iI)}};var oI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",v=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],g=[],m=document.querySelectorAll("b, i");for(let y=0;y<m.length&&!(g.length>=30);y++){let b=m[y];if(b.closest(f)||b.getAttribute("aria-hidden")==="true"||b.parentElement&&b.parentElement.closest("strong, em"))continue;let x=b.className&&typeof b.className=="string"?b.className.toLowerCase():"";if(x){let k=false;for(let C=0;C<v.length;C++)if(x.indexOf(v[C])!==-1){k=true;break}if(k)continue}let A=(b.textContent||"").trim();if(!A)continue;let E=b.tagName.toLowerCase(),w=E==="b"?"strong":"em",_=uniqueSel(b);g.push({selector:_,attribute:"tagName",currentValue:E,fixValue:w,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+E+'> used for "'+A.slice(0,60)+'". Replace with <'+w+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:b.outerHTML.slice(0,300)});}return g},Ah={name:"semanticEmphasis",cap:30,async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=[],v=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],g=false;for(let w of v){let _=document.querySelector(w);if(_&&!_.closest(f)){g=true;break}}if(!g){let w=document.querySelectorAll('a[href^="#"]');for(let _ of w){if(_.closest(f))continue;let k=(_.textContent||"").toLowerCase();if(k.includes("skip")&&(k.includes("main")||k.includes("content")||k.includes("nav"))){g=true;break}}}if(g)return p;let m="",y=document.querySelector('main[id], [role="main"][id]');if(y&&y.getAttribute("id"))m=y.getAttribute("id");else {let w=document.querySelector("h1[id]");if(w&&w.getAttribute("id"))m=w.getAttribute("id");else {let _=["main-content","maincontent","main","content","skip-content"];for(let k of _)if(document.getElementById(k)){m=k;break}}}let b=m==="",x=m||"main-content",E="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+x+'" class="wa-skip-link">Skip to main content</a>';return p.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 #"+x,needsAI:false,fixValue:E,...b?{needsReview:true,reviewReason:'No element with a referenceable id was found for the skip-link target. Add id="main-content" to the <main> landmark (or point the link at a real anchor) before applying this fix.'}:{}}),p},Eh={name:"skipLink",async detect(f){return f.evaluate(sI)}};var uI=()=>{let v=[],g=document.querySelectorAll("*"),m=0;for(let y of Array.from(g)){if(m++>5e3||v.length>=20)break;if(y.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(y))continue;let x=getComputedStyle(y).backgroundImage||"";if(!x||x==="none"||!x.includes("url("))continue;let A=x.match(/url\((['"]?)(.*?)\1\)/);if(!A)continue;let E=A[2];if(!E||E.startsWith("data:")&&E.length<256)continue;let w=y.getBoundingClientRect();if(w.width<32||w.height<32)continue;let _=y.tagName.toLowerCase(),k=y.getAttribute("role")||"",C=_==="a"||_==="button"||k==="button"||k==="link"||y.closest("a,button,[role=button],[role=link]")!==null,F=(y.textContent||"").trim().length>0,R=!!y.getAttribute("aria-label"),q=!!y.getAttribute("aria-labelledby"),V=!!y.getAttribute("title"),z=!!y.querySelector('img[alt]:not([alt=""])');if(R||q||V||z||F||!C)continue;let j=y.closest("a,button,[role=button],[role=link]");if(j&&j!==y){let _e=(j.textContent||"").trim(),Ce=j.getAttribute("aria-label")||j.getAttribute("title")||"",Y=j.getAttribute("aria-labelledby"),Q=!!j.querySelector('img[alt]:not([alt=""])');if(_e||Ce.trim()||Y||Q)continue}let H=E;try{H=new URL(E,location.href).toString();}catch{continue}let Z=typeof uniqueSel=="function"?uniqueSel(y):"",de=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:_,nearbyHeading:""};v.push({selector:Z,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${H.slice(0,140)} | tag: ${_} | role: ${k||"(none)"} | parent: ${de.parentTag}${de.nearbyHeading?" | heading: "+de.nearbyHeading:""}`,needsAI:true,imageSrc:H,outerHtml:(y.outerHTML||"").slice(0,300)});}return v},Ch={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(uI)}},lI=()=>{let f=[],p=Array.from(document.querySelectorAll("h1")),v=p.filter(g=>{if(g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]')||g.getClientRects().length===0)return false;let m=getComputedStyle(g).visibility;return m==="hidden"||m==="collapse"?false:(g.textContent||"").trim().length>0});if(v.length===0)f.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${p.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(v.length>1)for(let g=1;g<v.length&&g<5;g++){let m=v[g],y=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:y,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${v.length} <h1> elements on page. Text: ${JSON.stringify((m.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Sh={name:"h1Presence",async detect(f){return f.evaluate(lI)}},cI=()=>{let p=[],v=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let g of Array.from(v)){if(p.length>=15)break;if(g.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(g)||(g.textContent||"").trim().length>0)continue;let y=g.getAttribute("aria-label");if(y&&y.trim()||g.getAttribute("aria-labelledby")||g.getAttribute("aria-hidden")==="true")continue;let b=typeof uniqueSel=="function"?uniqueSel(g):"";p.push({selector:b,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${g.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:(g.outerHTML||"").slice(0,200)});}return p},kh={cap:15,name:"emptyHeadings",async detect(f){return f.evaluate(cI)}},dI=()=>{let p=[],v=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let g of Array.from(v)){if(p.length>=15)break;if(g.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(g))continue;let m=(g.getAttribute("role")||"").toLowerCase();if(m==="button")continue;let y=(g.textContent||"").trim();if(!y)continue;let b=typeof uniqueSel=="function"?uniqueSel(g):"";p.push({selector:b,attribute:"role",currentValue:m||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(y.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(g.outerHTML||"").slice(0,200)});}return p},Th={cap:15,name:"javascriptLinks",async detect(f){return f.evaluate(dI)}};var fI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[];return document.querySelectorAll("svg").forEach(m=>{if(v.length>=50||m.closest(f)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let b=m.getAttribute("role");if(b==="presentation"||b==="none"||m.closest('[aria-hidden="true"]'))return;let x=m.getAttribute("aria-label")||"",A=m.getAttribute("aria-labelledby")||"",E=m.querySelector("title"),w=E?(E.textContent||"").trim():"";if(x.trim()||A.trim()||w)return;let _=m.getBoundingClientRect(),k=_.width<=16&&_.height<=16;if(_.width<=4||_.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let C=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(C){if(C.getAttribute("aria-label")?.trim()||C.getAttribute("aria-labelledby")?.trim())return;let Ce=getAccessibleName(C),Y=C.cloneNode(true);Y.querySelectorAll("svg").forEach(ue=>ue.remove());let Q=(Y.textContent||"").trim().replace(/\s+/g," ");if(Ce&&Q.length>0)return}else {if(k)return;let Ce=m.parentElement;if(Ce&&(Ce.textContent||"").trim().replace(/\s+/g," ").length>3)return}let F=uniqueSel(m),R=getNearbyContext(C||m),q=C&&C.getAttribute("href")||"",V=(C||m).outerHTML.slice(0,300),z=m.getAttribute("class")||"",j=m.getAttribute("data-icon")||"",H=C||m,Z=H&&H!==m&&H.getAttribute("class")||"",de=typeof lookupIconLabel=="function"?lookupIconLabel(String(z),j,"")||lookupIconLabel(String(Z),"",""):null,_e=C?uniqueSel(C):F;v.push({selector:_e,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(C||m).tagName?(C||m).tagName.toLowerCase():"svg",href:q,nearbyHeading:R.nearbyHeading,parentRole:R.parentRole,svgClasses:z,iconLib:de||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!de,fixValue:de||void 0,outerHtml:V});}),v},Fh={name:"svgNames",cap:50,async detect(f){return f.evaluate(fI)}};var pI=()=>{let v=[],g=["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=document.querySelectorAll(g),y=[];for(let b of m){if(typeof isWidget=="function"&&isWidget(b)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(b)||typeof isVisible=="function"&&!isVisible(b)||!b.offsetParent&&b.tagName!=="BODY")continue;let x=b.getBoundingClientRect();x.width===0&&x.height===0||y.push({el:b,rect:x});}for(let{el:b,rect:x}of y){if(v.length>=50)break;let A=x.width,E=x.height;if(A>=24&&E>=24)continue;let w=b.parentElement;if(w&&b.tagName==="A"){let H=w.tagName.toLowerCase();if(["p","li","td","th","dd","span","label","figcaption"].includes(H)&&Array.from(w.childNodes).some(de=>de.nodeType===3&&(de.textContent||"").trim().length>3))continue}let _=false,k=x.left+x.width/2,C=x.top+x.height/2;for(let H of y){if(H.el===b||H.el.contains(b)||b.contains(H.el))continue;if(H.rect.width<24||H.rect.height<24){let de=H.rect.left+H.rect.width/2,_e=H.rect.top+H.rect.height/2;if(Math.hypot(k-de,C-_e)<24){_=true;break}}else {let de=Math.max(H.rect.left-k,0,k-H.rect.right),_e=Math.max(H.rect.top-C,0,C-H.rect.bottom);if(Math.hypot(de,_e)<12){_=true;break}}}if(!_&&A>=1&&E>=1)continue;let R=Math.max(0,24-E),V=Math.ceil(R/2),z=[];z.push("min-width:24px"),z.push("min-height:24px"),z.push("display:inline-block"),z.push("box-sizing:border-box"),V>0&&z.push("padding-top:"+V+"px"),V>0&&z.push("padding-bottom:"+V+"px");let j=typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase();v.push({selector:j,attribute:"style",currentValue:Math.round(A)+"x"+Math.round(E)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${b.tagName.toLowerCase()} is ${Math.round(A)}x${Math.round(E)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:z.join(";")+";",outerHtml:b.outerHTML.slice(0,200)});}return v},Rh={name:"targetSize",cap:50,async detect(f){return f.evaluate(pI)}};var mI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,m=document.querySelectorAll('[style*="important" i]');for(let y of Array.from(m)){if(v.length>=30)break;if(y.closest(f))continue;let b=y.getAttribute("style")||"";if(!g.test(b))continue;let x=[];/line-height\s*:[^;!]*!important/i.test(b)&&x.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(b)&&x.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(b)&&x.push("word-spacing");let A=typeof uniqueSel=="function"?uniqueSel(y):"",E=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},w=[];w.push("blocked: "+x.join(",")),w.push("tag: "+y.tagName.toLowerCase()),E.nearbyHeading&&w.push("heading: "+E.nearbyHeading),w.push("parent: "+E.parentTag),v.push({selector:A,attribute:"style",currentValue:b.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:w.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return v},Ih={name:"textSpacing",cap:30,async detect(f){return f.evaluate(mI)}};var hI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of g){if(v.length>=50)break;if(m.closest(f)||!isVisible(m))continue;let y=m,b=(y.getAttribute("aria-label")||"").trim(),x=y.getAttribute("aria-labelledby"),A=(y.getAttribute("title")||"").trim(),E=(y.getAttribute("value")||"").trim(),w=(y.textContent||"").trim().replace(/\s+/g," "),_="";x&&(_=typeof __resolveIdRefs=="function"?__resolveIdRefs(x):"");let k=y.querySelector('img[alt]:not([alt=""])'),C=y.querySelector("svg title"),F=y.querySelector("svg[aria-label]");if(!!(b||_||A||E||w||k||C||F))continue;let q=uniqueSel(y),V=getNearbyContext(y),z=y.closest("form"),j=z&&(z.getAttribute("id")||z.getAttribute("name"))||"",H=y.className||"",Z=y.querySelector('i, svg, span[class*="icon"]'),de=Z&&Z.className||"",_e=Z&&Z.getAttribute("data-icon")||"",Ce=Z?(Z.textContent||"").trim():"",Y=typeof lookupIconLabel=="function"?lookupIconLabel(String(de),_e,Ce):null,Q=!Y&&typeof lookupIconLabel=="function"?lookupIconLabel(String(H),"",""):null,ue=Y||Q,ce=[];j&&ce.push("form: "+j),V.nearbyHeading&&ce.push("heading: "+V.nearbyHeading),de&&ce.push("icon: "+String(de).slice(0,80)),H&&ce.push("class: "+String(H).slice(0,80)),ce.push("parent: "+V.parentTag),ue&&ce.push("icon-lib: "+ue),v.push({selector:q,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:ce.join(" | "),needsAI:!ue,fixValue:ue||void 0,outerHtml:y.outerHTML.slice(0,300)});}return v},Lh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(hI)}};var gI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",p=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),v=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),g={};function m(Y,Q){if(Y.closest(f)||!isVisible(Y))return;let ue=getAccessibleName(Y);if(!ue)return;let ce=(Q?"b:":"a:")+ue.toLowerCase().trim();g[ce]=(g[ce]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(Y=>m(Y,true)),document.querySelectorAll("a[href]").forEach(Y=>m(Y,false));let y=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),b=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function x(Y){let Q=Y.toLowerCase();return y.has(Q)||b.some(ue=>Q.startsWith(ue))}let A=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function E(Y,Q){return A.test(Y)?1:Q}let w=50,_=[];function k(Y){if((Y.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let ue=Y.querySelectorAll("i, span, em");for(let ce of ue)if((typeof ce.className=="string"?ce.className:"").split(/\s+/).some(x))return true;return false}function C(Y){let Q=Y.className||"";return typeof Q!="string"?false:Q.split(/\s+/).some(x)}function F(Y,Q){if(_.length>=w||Y.closest(f)||!isVisible(Y))return;let ue=getAccessibleName(Y);if(!ue)return;let ce=ue.toLowerCase().trim(),Ne=false,be=ue.length>=2&&/^[A-Z][A-Z0-9]+$/.test(ue.trim()),$e=!Q&&/^[[(]?\d{1,4}[\])]?$/.test(ue.trim());if(ue.length<E(ue,3)&&!be&&!$e)Ne=true;else if(p.has(ce))Ne=true;else if(v.has(ce)&&(g[(Q?"b:":"a:")+ce]||0)>=2){let ft=(Y.getAttribute("aria-label")||"").trim().toLowerCase(),wt=!!Y.getAttribute("aria-labelledby")||!!ft&&ft!==ce,_t=Y.querySelector&&Y.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),Pe=_t?(_t.textContent||"").trim().toLowerCase():"";!wt&&!(_t&&Pe!==ce)&&(Ne=true);}else (k(Y)||C(Y)&&ue.length===0)&&(Y.getAttribute("aria-label")||Y.getAttribute("aria-labelledby")||Y.querySelector&&Y.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(Ne=true));if(!Ne)return;let ke=getNearbyContext(Y),Xe=uniqueSel(Y),at=Y.getAttribute("href")||"",ut=Y.outerHTML.slice(0,300);_.push({selector:Xe,attribute:"aria-label",currentValue:(Y.getAttribute("aria-label")||"").trim(),issueType:Q?"weak_button_name":"weak_link_name",wcag:Q?"4.1.2":"2.4.4",context:JSON.stringify({currentText:ue,href:at,nearbyHeading:ke.nearbyHeading,parentTag:ke.parentTag,parentRole:ke.parentRole,cardText:ke.cardText||"",imgAlt:ke.imgAlt||""}),needsAI:true,outerHtml:ut});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(Y=>F(Y,true)),document.querySelectorAll("a[href]").forEach(Y=>F(Y,false));let R=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,q=/^(iframe|embed|widget|frame|content|untitled)$/i,V=/^(skip|go|→|\->|main|content)$/i,z=new Set(["welcome","untitled","title","heading","section","intro","hello","hi","test","lorem","tbd","todo","home"]);function j(Y){return !!(!Y||Y.getAttribute("aria-hidden")==="true"||Y.closest('[aria-hidden="true"]'))}function H(Y,Q,ue,ce,Ne,be){if(_.length>=w)return;let $e=uniqueSel(Y),ke=(Y.outerHTML||"").slice(0,300);_.push({selector:$e,attribute:Q,currentValue:ue,issueType:ce,wcag:Ne,context:JSON.stringify(be),needsAI:true,outerHtml:ke});}let Z=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let Y=0;Y<Z.length&&!(_.length>=w);Y++){let Q=Z[Y];if(!Q||Q.closest(f)||j(Q)||!isVisible(Q))continue;let ue=getAccessibleName(Q);if(!ue)continue;let ce=ue.toLowerCase().trim(),Ne=ce.split(/\s+/).filter(Boolean),be=false;if((ue.length<E(ue,3)||Ne.length===1&&(p.has(ce)||z.has(ce))||/^page\s*\d+$/i.test(ce)||/^section\s*\d+$/i.test(ce)||/^chapter\s*\d+$/i.test(ce)||/^[^\p{L}\p{N}]+$/u.test(ue))&&(be=true),!be)continue;let $e=getNearbyContext(Q);H(Q,"textContent",ue,"weak_heading","2.4.6",{currentText:ue,tag:Q.tagName.toLowerCase(),nearbyHeading:$e.nearbyHeading,parentTag:$e.parentTag,parentRole:$e.parentRole});}let de=document.querySelectorAll("iframe");for(let Y=0;Y<de.length&&!(_.length>=w);Y++){let Q=de[Y];if(!Q||Q.closest(f)||j(Q))continue;let ue=getComputedStyle(Q);if(Q.getClientRects().length===0||ue.visibility==="hidden"||ue.visibility==="collapse"||(Q.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let ce=(Q.getAttribute("title")||"").trim();if(!ce)continue;let Ne=ce.toLowerCase(),be=false;if((ce.length<E(ce,3)||q.test(Ne)||p.has(Ne))&&(be=true),!be)continue;let $e=(Q.getAttribute("src")||"").slice(0,120),ke=getNearbyContext(Q);H(Q,"title",ce,"weak_iframe_title","4.1.2",{currentTitle:ce,src:$e,nearbyHeading:ke.nearbyHeading,parentTag:ke.parentTag});}if(_.length<w){let Y=document.querySelector("head > title, title"),Q=(document.title||"").trim();if(Y&&Q){let ue=Q.toLowerCase(),ce=false;(Q.length<E(Q,5)||R.test(ue)||/^untitled/i.test(Q))&&(ce=true),ce&&_.push({selector:"title",attribute:"textContent",currentValue:Q,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:Q,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(Y.outerHTML||"").slice(0,300)});}}let _e=document.querySelectorAll("svg");for(let Y=0;Y<_e.length&&!(_.length>=w);Y++){let Q=_e[Y];if(!Q||Q.closest(f)||j(Q)||Q.getAttribute("role")==="presentation"||Q.getAttribute("role")==="none"||!isVisible(Q))continue;let ue=Q.querySelector("title"),ce=ue?(ue.textContent||"").trim():"",Ne=(Q.getAttribute("aria-label")||"").trim(),be=Ne||ce;if(!be)continue;let $e=be.toLowerCase(),ke=false;if((be.length<E(be,3)||p.has($e)||/^(icon|svg|image|graphic|logo)$/i.test(be))&&(ke=true),!ke)continue;let Xe=Q.closest('a, button, [role="button"], [role="link"]'),at=getNearbyContext(Q);H(Q,Ne?"aria-label":"title",be,"weak_svg_name","1.1.1",{currentName:be,svgClasses:Q.getAttribute("class")||"",parentTag:Xe?Xe.tagName.toLowerCase():at.parentTag,parentHref:Xe&&Xe.getAttribute("href")||"",nearbyHeading:at.nearbyHeading});}let Ce=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 Y=0;Y<Ce.length&&!(_.length>=w);Y++){let Q=Ce[Y];if(!Q||Q.closest(f)||j(Q))continue;let ue=getAccessibleName(Q);if(!ue)continue;let ce=ue.toLowerCase().trim(),Ne=false;if((ue.length<E(ue,4)||V.test(ce)||ce==="skip"||ce==="skip link"||ce==="jump")&&(Ne=true),!Ne)continue;let be=Q.getAttribute("href")||"";_.push({selector:uniqueSel(Q),attribute:"textContent",currentValue:ue,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:ue,href:be}),needsAI:false,fixValue:"Skip to main content",outerHtml:(Q.outerHTML||"").slice(0,300)});}return _},Ph={name:"weakNames",cap:50,async detect(f){return f.evaluate(gI)}};var vI=()=>{let p=[],v=document.querySelector('meta[name="viewport"]');if(v){let m=(v.getAttribute("content")||"").trim(),y=m.toLowerCase(),b=false,x=[];(y.indexOf("user-scalable=no")>=0||y.indexOf("user-scalable=0")>=0)&&(b=true,x.push("user-scalable=no blocks pinch-zoom"));let A=y.match(/maximum-scale\s*=\s*([\d.]+)/);A&&parseFloat(A[1])<2&&(b=true,x.push("maximum-scale="+A[1]+" (<2)")),b&&p.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+x.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let g=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<g.length&&!(p.length>=5);m++){let y=g[m];if(y.el)try{let x=(getComputedStyle(y.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(x==="none"||x==="pinch-zoom")&&p.push({selector:y.selector,attribute:"style",currentValue:"touch-action: "+x,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+x+" on <"+y.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return p},Mh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(vI)}};var bI=()=>{let f=[],p=document.querySelectorAll('main *, [role="main"] *, body > div *'),v=new Set,g=Math.min(p.length,200);for(let m=0;m<g;m++){let y=p[m];if(v.has(y)||!y.offsetParent)continue;v.add(y);let b=getComputedStyle(y),x=parseInt(b.order||"0",10),A=b.position;if(x>=3){let E=y.getBoundingClientRect();if(E.width>0&&E.height>0){let w=(y.textContent?.trim().length||0)>10,_=!!y.querySelector("a, button, input, select, textarea");(w||_)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${x}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${x} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(A==="absolute"){if(!!!y.querySelector("a, button, input, select, textarea"))continue;let w=y.parentElement;if(!w||w.children.length<=2)continue;let _=y.getBoundingClientRect(),k=w.getBoundingClientRect();(_.top<k.top-100||_.left<k.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${A}, displaced ${Math.round(Math.abs(_.top-k.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},Oh={name:"meaningfulSequence",async detect(f){return f.evaluate(bI)}};var Nh={name:"sensoryCharacteristics",async detect(f){let p=await f.evaluate(()=>{let g=[],m=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),y=Math.min(m.length,300);for(let b=0;b<y;b++){let x=m[b];if(!x.offsetParent||x.children.length>3)continue;let A=x.textContent?.trim()||"";A.length<15||A.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(A)&&g.push({text:A,selector:typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase()});}return g.slice(0,20)});if(p.length===0)return [];let v=[];for(let{text:g,selector:m}of p){g.toLowerCase();let b=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(g)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(g),x=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(g)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(g)&&/\b(click|tap|press|select|find)\b/i.test(g),A=/\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(g)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(g),E=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(g)&&/\b(click|tap|press|select|find)\b/i.test(g);if(b||x||A||E){let w=b?"shape":x?"position":A?"color":"size";v.push({selector:m,attribute:"data-sensory-review",currentValue:g.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${w} alone: "${g.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return v}};var yI=()=>{let f=[];for(let p of document.styleSheets)try{for(let v of p.cssRules)if(v instanceof CSSMediaRule){let g=v.conditionText||v.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(g))for(let m of v.cssRules){let y=m.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(y)&&f.push({selector:"html",attribute:"data-orientation-lock",currentValue:g,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${g}" 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},qh={name:"orientation",async detect(f){return f.evaluate(yI)}};var wI=()=>{let f=[],p=document.querySelectorAll("img");for(let v of p){if(!v.offsetParent||v.width<50||v.height<20)continue;let g=(v.src||v.getAttribute("data-src")||"").toLowerCase(),m=v.getAttribute("alt")||"",y=v.getAttribute("role")||"";if(v.getAttribute("aria-hidden")==="true"||!!v.closest('[aria-hidden="true"]')||y==="presentation"||y==="none"||v.hasAttribute("alt")&&m.trim()==="")continue;let x=v.width>200&&v.height<80&&v.height>15,A=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(g);if(!(A||x)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(g)&&!A)continue;let w=v.closest("a[href]");if((()=>{if(!w)return false;let z=w.getAttribute("href")||"";if(z==="/"||z==="")return true;try{let j=new URL(w.href,location.href);return j.origin!==location.origin?!1:!!(j.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(j.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(j.pathname))}catch{return false}})()&&(w.textContent||"").trim().length===0)continue;let C=!!v.closest('header, [role="banner"], footer, [role="contentinfo"]'),F=v.height>0&&v.height<=120,R=C&&F,q=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,V=R||q.test(g)||q.test(v.className)||q.test(v.id||"");g.includes("icon")||g.includes("avatar")||g.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(v):"img",attribute:"data-image-of-text",currentValue:g.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${v.width}x${v.height}px, alt="${m.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:v.src,...V?{needsReview:true,reviewReason:R?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are 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},Bh={name:"imagesOfText",async detect(f){return f.evaluate(wI)}};var Vh={name:"reflow",async detect(f){let p=f;if(!p.setViewport)return [];let v=p.viewport?.()??{width:1280,height:720},g=v.width??1280,m=v.height??720;try{return await p.setViewport({width:320,height:m}),await new Promise(b=>setTimeout(b,500)),await f.evaluate(b=>{let x=[],A=document.querySelectorAll("body *"),E=Math.min(A.length,500);for(let w=0;w<E;w++){let _=A[w];if(!_.offsetParent)continue;let k=_.tagName.toLowerCase();if(k==="script"||k==="style"||k==="noscript")continue;let C=_.getBoundingClientRect();C.right>b+5&&C.width>b*1.1&&x.push({selector:typeof uniqueSel=="function"?uniqueSel(_):k,attribute:"style",currentValue:`${Math.round(C.width)}px wide at ${b}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(C.width)}px wide and overflows the ${b}px viewport by ${Math.round(C.right-b)}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>b+10&&x.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${b}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${b}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),x},320)}finally{await p.setViewport({width:g,height:m}).catch(()=>{});}}};var xI=()=>{let f=[],p=document.querySelectorAll("video");for(let m of p){if(m.autoplay&&!m.muted&&f.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 b=m.getBoundingClientRect();if(b.width===0&&b.height===0)continue;let x=m.querySelectorAll("track"),A=Array.from(x).find(k=>k.kind==="captions"||k.kind==="subtitles"),E=Array.from(x).find(k=>k.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let _=typeof uniqueSel=="function"?uniqueSel(m):"video";A||f.push({selector:_,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>'}),E||f.push({selector:_,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true});}let v=document.querySelectorAll("audio");for(let m of v){let y=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||f.push({selector:y,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&&f.push({selector:y,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"});}let g=document.querySelectorAll("iframe");for(let m of g){let y=(m.src||"").toLowerCase();if(!y.includes("youtube")&&!y.includes("vimeo")&&!y.includes("dailymotion")&&!y.includes("wistia")||!m.offsetParent||getComputedStyle(m).display==="none")continue;let b=m.getBoundingClientRect();if(b.width===0&&b.height===0)continue;let x=typeof uniqueSel=="function"?uniqueSel(m):"iframe";m.closest("figure, div, section, article")?.querySelector('a[href*="transcript"], [class*="transcript"], [id*="transcript"]')||f.push({selector:x,attribute:"data-video-transcript",currentValue:y.split("/").slice(0,4).join("/"),issueType:"missing_captions",wcag:"1.2.2",context:"Embedded video player detected. Verify captions are enabled in the player settings. Provide a transcript link near the video for users who can't access the player.",needsAI:true});}return f},Hh={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(xI)).slice(0,50)}};var DI=()=>{let f=[],p=document.querySelector('meta[http-equiv="refresh"]');if(p){let A=p.getAttribute("content")||"",E=parseInt(A,10);!isNaN(E)&&E>0&&E<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${A.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:A,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${E}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${E}s time limit before it triggers.`});}let v=document.querySelectorAll("[accesskey]");for(let A of v){let E=A.getAttribute("accesskey")||"";if(E.length===1){let w=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();f.push({selector:w,attribute:"accesskey",currentValue:E,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${E}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let g=document.querySelectorAll("select");for(let A of g){let E=A.hasAttribute("onchange"),w=A.getAttribute("onchange")||"";if(E&&/submit|location|href|navigate|window\./i.test(w)){let _=typeof uniqueSel=="function"?uniqueSel(A):"select";f.push({selector:_,attribute:"onchange",currentValue:w.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 A of m)if(!(A.hasAttribute("onclick")||A.hasAttribute("onkeydown")||A.hasAttribute("onkeyup"))){let w=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();f.push({selector:w,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let y=document.querySelectorAll("[onmousedown]");for(let A of y){let E=A.hasAttribute("onmouseup"),w=A.tagName.toLowerCase();if(!E&&w!=="a"&&w!=="button"&&w!=="input"){let _=typeof uniqueSel=="function"?uniqueSel(A):w;f.push({selector:_,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let b=document.querySelectorAll("script:not([src])");for(let A of b){let E=A.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(E)){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 x=document.querySelectorAll("form");for(let A of x){let E=(A.textContent||"").toLowerCase(),w=/payment|credit card|billing|purchase|order|subscribe|checkout|bank|account number/i.test(E),_=/agree|terms|contract|binding|signature|consent|waiver/i.test(E),k=/delete.*account|remove.*data|unsubscribe|cancel.*account/i.test(E);if(w||_||k){let C=!!A.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),F=!!A.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(!C&&!F){let R=typeof uniqueSel=="function"?uniqueSel(A):"form",q=w?"financial":_?"legal":"data-deletion";f.push({selector:R,attribute:"data-error-prevention",currentValue:q,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${q.charAt(0).toUpperCase()+q.slice(1)} form lacks a confirmation/review step. For ${q} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true});}}}return f},jh={name:"timingAndInput",async detect(f){return f.evaluate(DI)}};var _I=()=>{let f=[],p=!!document.querySelector('nav, [role="navigation"]'),v=!!document.querySelector('input[type="search"], [role="search"], form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),g=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),m=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),y=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),b=[p,v,g,m,y].filter(Boolean).length;if(b<2&&document.querySelectorAll("a[href]").length>20){let w=[];v||w.push("search"),g||w.push("sitemap link"),m||w.push("breadcrumbs"),f.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${b} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${b} way(s) to navigate. WCAG requires multiple ways to locate pages (e.g., navigation + search, or navigation + sitemap). Consider adding: ${w.join(", ")}.`,needsAI:false,fixValue:`Add ${w[0]||"additional navigation method"}`});}let x=document.querySelectorAll('nav, [role="navigation"]');for(let w of x){if(!w.offsetParent||w.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||w.parentElement?.closest('nav, [role="navigation"]'))continue;let _=w.getBoundingClientRect();if(_.top<=window.innerHeight)continue;let k=typeof uniqueSel=="function"?uniqueSel(w):"nav";f.push({selector:k,attribute:"data-nav-position",currentValue:`top: ${Math.round(_.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 A=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let w of A){if(!w.offsetParent)continue;let _=typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase();f.push({selector:_,attribute:"data-flashing",currentValue:w.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 E=document.querySelectorAll('img[src*=".gif"]');for(let w of E){if(!w.offsetParent||w.width<25||w.height<25)continue;let _=w.getBoundingClientRect();if(_.width>100&&_.height>100){let k=typeof uniqueSel=="function"?uniqueSel(w):"img";f.push({selector:k,attribute:"data-animated-gif",currentValue:(w.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},$h={name:"navigationAndWayfinding",async detect(f){return f.evaluate(_I)}};var zh={name:"flashDetection",async detect(f){let p=[];if(!f.screenshot)return p;let g=await f.evaluate(()=>{let w=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(w){let _=document.querySelectorAll("*");for(let k of _)k.style.removeProperty("animation-play-state"),k.style.removeProperty("transition");}return w}),m=8,y=120,b=9,x=3,A=[];for(let E=0;E<m;E++){let w=await f.evaluate(_=>{let k=window.innerWidth,C=window.innerHeight,F=3,R=3,q=[];for(let V=0;V<R;V++)for(let z=0;z<F;z++){let j=Math.floor((z+.5)*(k/F)),H=Math.floor((V+.5)*(C/R)),Z=document.elementFromPoint(j,H);if(!Z){q.push(0);continue}let _e=getComputedStyle(Z).backgroundColor||"rgba(0,0,0,0)",Ce=typeof parseCssColor=="function"?parseCssColor(_e):null;if(!Ce){q.push(0);continue}let Y=.2126*Ce[0]+.7152*Ce[1]+.0722*Ce[2];q.push(Y);}return q},b);A.push(w),E<m-1&&await new Promise(_=>setTimeout(_,y));}g&&await f.evaluate(()=>{let E=document.querySelectorAll("*");for(let w of E)w.style.setProperty("animation-play-state","paused","important"),w.style.setProperty("transition","none","important");});for(let E=0;E<b;E++){let w=0,_=A[0][E],k=null;for(let R=1;R<m;R++){let q=A[R][E];if(Math.abs(q-_)>25){let z=q>_?"up":"down";k&&z!==k&&w++,k=z;}_=q;}let C=m*y/1e3,F=w/C;if(F>=x){let R=E%3,q=Math.floor(E/3);p.push({selector:"body",attribute:"data-flash-detected",currentValue:`${F.toFixed(1)} flashes/sec in region (${R},${q})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${F.toFixed(1)} times/second in screen region (row ${q}, col ${R}). 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 p}};var Gh={name:"reducedMotion",async detect(f){let p=[],v=await f.evaluate(()=>{let g=false,m=false;for(let b of document.styleSheets)try{for(let x of b.cssRules){let A=x.cssText||"";/animation|transition|@keyframes/i.test(A)&&!/prefers-reduced-motion/.test(A)&&(g=!0),x instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(x.conditionText||x.media?.mediaText||"")&&(m=!0);}}catch{}let y=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return y.length>0&&(g=true),{hasAnimations:g,hasReducedMotionQuery:m,animatedCount:y.length}});return v.hasAnimations&&!v.hasReducedMotionQuery&&p.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${v.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; } }"}),p}};var BI=[Ph,vh,rh,Fh,B1,q1,ch,ih,ah,nh,Rh,U1,wh,J1,Lh,gh,Z1,Y1,Eh,V1,hh,oh,Dh,K1,X1,fh,th,mh,sh,uh,Mh,j1,dh,Ah,$1,z1,lh,xh,Ih,yh,G1,bh,W1,Ch,Sh,kh,Th,H1,ph,_h,Oh,Nh,qh,Bh,Vh,Hh,jh,$h,zh,Gh];async function Zu(f,p,v,g){let m=p??[];try{let{UNIQUE_SELECTOR_JS:k,IS_VISIBLE_JS:C,ACCESSIBLE_NAME_JS:F,WIDGET_SKIP_JS:R,IS_HIDDEN_FROM_AT_JS:q,IS_TRACKING_PIXEL_JS:V,NEARBY_CONTEXT_JS:z}=await Promise.resolve().then(()=>(Ju(),Ku)),{ICON_LABELS_JS:j}=await Promise.resolve().then(()=>(Wh(),Uh)),{COLOR_MATH_JS:H}=await Promise.resolve().then(()=>(Yh(),Xh)),de=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
-
`+[k,C,F,R,
|
|
382
|
-
`);try{await f.addScriptTag({content:de});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(de)})`);}}catch(k){console.warn("[webability] helper injection failed:",k.message),(v??[]).push("color:kernel-injection-failed");}let y=[];try{let{detectPlatform:k,applyPlatformTemplates:C}=await Promise.resolve().then(()=>(Zh(),Jh)),F=await k(f);y=await C(f,F);}catch{}let b=await Promise.allSettled(BI.map(async k=>{try{let C=await k.detect(f);return k.cap&&C.length>=k.cap&&m.push({detector:k.name,cap:k.cap}),C}catch{return []}})),x=[];g?.skipFocusMutating&&(v??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");for(let k of g?.skipFocusMutating?[]:[eh,Q1])try{let C=await k.detect(f);k.cap&&C.length>=k.cap&&m.push({detector:k.name,cap:k.cap}),x=x.concat(C);}catch{}let A=[...b.flatMap(k=>k.status==="fulfilled"?k.value:[]),...x],E=[...y,...A],w=HI(E),_=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return w.filter(k=>{let C=k.selector.toLowerCase();return C.trim()?!_.some(F=>C.includes(F)):false})}async function VI(f){try{return await f.evaluate(()=>{let p=getComputedStyle(document.documentElement),v={};for(let A of p)A.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(A)&&(v[A]=p.getPropertyValue(A).trim());let g={},m={},y=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),b=Math.min(y.length,500);for(let A=0;A<b;A++){let E=getComputedStyle(y[A]);if(E.display==="none"||E.visibility==="hidden")continue;let w=E.backgroundColor,_=E.color;w&&w!=="rgba(0, 0, 0, 0)"&&(g[w]=(g[w]||0)+1),_&&(m[_]=(m[_]||0)+1);}let x=A=>Object.entries(A).sort((E,w)=>w[1]-E[1]).slice(0,8).map(([E,w])=>({color:E,count:w}));return {cssVars:v,topBgColors:x(g),topTextColors:x(m)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function HI(f){let p=new Set;return f.filter(v=>{let g=`${v.selector}::${v.issueType}`;return p.has(g)?false:(p.add(g),true)})}var Qh="1.3.1";async function Qu(f,p){try{let{AxeBuilder:v}=await import('@axe-core/playwright');return await new v({page:f}).withTags(p).analyze()}catch{return jI(f,p)}}async function jI(f,p){let v=await Promise.resolve().then(()=>yR(tg())),g=v.source??v.default?.source;if(!g)throw new Error("axe-core source unavailable");return await f.addScriptTag({content:g}),await f.evaluate(y=>new Promise((b,x)=>{let A=window;if(!A.axe)return x(new Error("axe-core not loaded"));A.axe.run(document,{runOnly:{type:"tag",values:y},resultTypes:["violations","incomplete"]}).then(b).catch(x);}),p)}function $I(f){if(f.confidence==="needs_review")return {...f,confidence:"needs_review"};let p=zI(f);return p?{...f,confidence:"needs_review",reviewReason:p}:{...f,confidence:"high"}}function ag(f){let p=[],v=[];for(let g of f){let m=$I(g);m.confidence==="needs_review"?v.push(m):p.push(m);}return {highConfidence:p,needsReview:v}}function zI(f){let p=(f.type||"").toLowerCase(),v=f.wcag||"",g=f.html||"",m=(f.message||"").toLowerCase();if((p==="contrast_insufficient"||p==="color-contrast"||v==="1.4.3"||v==="1.4.11")&&GI(g))return "background uses gradient or image \u2014 contrast cannot be reliably computed";if(p==="image_of_text"||v==="1.4.5"){let y=rg(g,"src").toLowerCase(),b=rg(g,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(y))return "filename pattern suggests marketing/brand imagery, exempt under WCAG 1.4.5";if(b.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(b))return "alt text suggests branded imagery, exempt under WCAG 1.4.5"}return (p==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(g)||/<aside/i.test(g))?"nav lives inside footer/aside \u2014 position variance is expected":""}function GI(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function rg(f,p){let v=new RegExp(`\\b${p}\\s*=\\s*"([^"]*)"`,"i"),g=f.match(v);return g?g[1]:""}function og(){let f=m=>{let y=m.getBoundingClientRect();if(y.width===0||y.height===0)return false;let b=window.getComputedStyle(m);return b.visibility!=="hidden"&&b.display!=="none"&&b.opacity!=="0"},p=Array.from(document.querySelectorAll('input[type="password"]')),v=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),g=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:p.length,visiblePasswordFields:p.filter(f).length,submitLabels:v,oauthButtons:g,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var UI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,WI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function ng(f){try{let p=new URL(f).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(p)}catch{return false}}function sg(f,p,v){if(ng(p))return null;let g=ig(p)!==ig(v),m=f.submitLabels.some(_=>UI.test(_)),y=WI.test(f.headingText),b=ng(v),x=[];b&&x.push("url"),m&&x.push("submit"),y&&x.push("heading"),g&&x.push("redirected");let A=f.visiblePasswordFields>0,E=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!A&&!E||x.length<2)return null;let w=`${A?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${v}. 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:w,finalUrl:v}}function ig(f){try{let p=new URL(f);return `${p.origin}${p.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}var el=["wcag2a","wcag2aa","wcag21aa","wcag22aa"],XI={"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.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.3.1":"A","3.3.2":"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","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"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":"AA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"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"};function YI(f){return XI[f]??"AA"}var KI=new Set(["new_window_link","external_link_warning","download_link_warning"]);function ug(f){let p=KI.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",v=f.attribute==="style",g=v&&f.fixValue?JI(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Nn(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:YI(f.wcag),impact:p,message:ZI(f,g),selector:f.selector,html:f.outerHtml,...f.needsReview?{confidence:"needs_review"}:{},...f.reviewReason?{reviewReason:f.reviewReason}:{},fix:{attribute:f.attribute,currentValue:f.currentValue,suggestedValue:g,needsManualReview:f.needsAI||v||!!f.needsReview}}}function JI(f){let p=f.trim();if(!p)return "";let v=p.endsWith(";"),m=p.split(";").map(y=>{let x=y.toLowerCase().lastIndexOf("!important");return x===-1?y.trim():y.slice(0,x).trim()}).filter(y=>y.length>0);return m.length===0?"":m.join(";")+(v?";":"")}function ZI(f,p){let v=f.issueType.replace(/_/g," "),g=p??f.fixValue;return g?`${v}: set ${f.attribute}="${g}"`:f.currentValue?`${v}: ${f.attribute} is "${f.currentValue}"`:`${v}: missing ${f.attribute}`}function On(f){return Array.isArray(f)?f.flat(1/0).filter(v=>typeof v=="string").join(" >>> "):typeof f=="string"?f:""}function Nn(f){let p=0;for(let v=0;v<f.length;v++)p=(p<<5)-p+f.charCodeAt(v)|0;return Math.abs(p).toString(36)}function tl(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function rl(f,p){return {total:f.length,critical:f.filter(v=>v.impact==="critical").length,serious:f.filter(v=>v.impact==="serious").length,moderate:f.filter(v=>v.impact==="moderate").length,minor:f.filter(v=>v.impact==="minor").length,incomplete:p.length}}function al(f){let p=f.find(g=>/^wcag\d{3,4}$/.test(g));if(!p)return "";let v=p.replace("wcag","");return v.length===3?`${v[0]}.${v[1]}.${v[2]}`:v.length===4?`${v[0]}.${v[1]}.${v.slice(2)}`:""}function nl(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function cL(f){try{return await f.evaluate(()=>{let p=(document.title||"").toLowerCase(),v=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[y,b]of v)if(p.includes(y))return {vendor:b,signal:`title:"${document.title}"`,needsCorroboration:!1};let g=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[y,b]of g)if(document.querySelector(y))return {vendor:b,signal:`marker:${y}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[y,b]of m)if(p.includes(y))return {vendor:b,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function dL(f){try{return await f.evaluate(()=>{let p=document.querySelectorAll("body *").length;if(p>250)return null;let v=['[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 v)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:p}}catch{}let g=(document.title||"").toLowerCase();return g.includes("captcha")||g.includes("security check")||g.includes("bot verification")?{signal:`title:"${document.title}"`,elements:p}:null})}catch{return null}}async function fL(f,p){let v=await cL(f),g=typeof p=="number"&&p>=400,m=v&&(!v.needsCorroboration||g)?v:null;if(!m&&!g)return null;let y=[];return m&&y.push(`served a ${m.vendor} bot-challenge / interstitial page`),g&&y.push(`main document returned HTTP ${p}`),{reason:`Scan did not reach the real page \u2014 the target ${y.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof p=="number"?{status:p}:{},...m?{signal:m.signal}:g?{signal:`status:${p}`}:{}}}async function pL(f,p){let v=typeof f=="string",g={wcagTags:el,includeAxe:true,deep:false,dismissModals:v,...p},m,y,b,x;if(v){b=f.startsWith("http")?f:`https://${f}`;let A=typeof g.viewport=="string"?Pn[g.viewport]??Pn.desktop:g.viewport??Pn.desktop;y=await(await import('playwright')).chromium.launch({headless:g.browser?.headless??true}),m=await(await y.newContext({viewport:A})).newPage();let _=await m.goto(b,{waitUntil:"domcontentloaded",timeout:g.browser?.timeout??3e4});x=typeof _?.status=="function"?_.status():void 0;}else m=f,b=m.url(),x=g.mainStatus;if(g.dismissModals)try{let{dismissModals:A}=await Promise.resolve().then(()=>(il(),cg));await A(m);}catch{}if(g.settle!==false)try{let{waitForRenderSettle:A}=await Promise.resolve().then(()=>(bo(),vo));await A(m,typeof g.settle=="number"?g.settle:void 0);}catch{}try{try{let j=await m.evaluate(og),H=sg(j,b,typeof m.url=="function"?m.url():b);if(H)return {url:b,timestamp:new Date().toISOString(),blocked:{reason:H.reason,signal:`auth-wall:${H.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let A=await fL(m,x);if(A)return {url:b,timestamp:new Date().toISOString(),blocked:A,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let E=[],w=[],_=[],k=await dL(m);k&&_.push(`challenge:suspected-interstitial (${k.signal}; ${k.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let C=await Zu(m,w,_);if(E.push(...C.map(ug)),g.includeAxe)try{let j=await Qu(m,g.wcagTags??el);for(let H of j.violations)for(let Z of H.nodes)E.push({id:`axe-${H.id}-${Nn(On(Z.target))}`,source:"axe-core",type:H.id,wcag:al(H.tags),level:nl(H.tags),impact:tl(H.impact),message:H.help,selector:On(Z.target),html:Z.html?.slice(0,300)});for(let H of j.incomplete??[])for(let Z of H.nodes)E.push({id:`axe-incomplete-${H.id}-${Nn(On(Z.target))}`,source:"axe-core",type:H.id,wcag:al(H.tags),level:nl(H.tags),impact:tl(H.impact),message:H.help,selector:On(Z.target),html:Z.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{}try{let{runHtmlcs:j}=await Promise.resolve().then(()=>(gg(),hg)),H=await j(m);E.push(...H);}catch{}let{deduplicateIssues:F}=await Promise.resolve().then(()=>(sl(),ol)),R=F(E);try{let{pruneInvisibleContrast:j}=await Promise.resolve().then(()=>(bo(),vo));R=await j(m,R);}catch{}try{let{pruneHiddenIframeIssues:j}=await Promise.resolve().then(()=>(bo(),vo));R=await j(m,R);}catch{}try{let{dedupeByElementIdentity:j}=await Promise.resolve().then(()=>(sl(),ol));R=await j(m,R);}catch{}if(g.deep&&g.deepApiKey)try{let j=await mL(b,R,g);R.push(...j);}catch{}let{highConfidence:q,needsReview:V}=ag(R),z={url:b,timestamp:new Date().toISOString(),engine:Qh,issues:q,incomplete:V,...w.length?{truncated:w}:{},..._.length?{engineWarnings:_}:{},summary:rl(q,V)};if(g.review!==!1&&g.deepApiKey)try{z=await hL(z,g);}catch{}return z}finally{y&&await y.close();}}async function mL(f,p,v){let g=v.deepApiUrl||"https://api.webability.io",m=await fetch(`${g}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${v.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:p.slice(0,30).map(({source:b,...x})=>x)})});return m.ok?((await m.json()).issues??[]).map((b,x)=>({id:`deep-${x}-${Nn(b.selector||b.element||"")}`,source:"deep-analysis",type:`wcag-${b.wcag}`,wcag:b.wcag,level:"AA",impact:b.severity==="High"?"critical":b.severity==="Medium"?"serious":"moderate",message:b.message,selector:b.selector||b.element||""})):[]}async function hL(f,p){let v=p.deepApiUrl||"https://api.webability.io",g=y=>y.fix?.needsManualReview&&y.fix?.attribute!=="style",m=f.issues.filter(g);if(m.length===0)return f;try{let y=await fetch(`${v}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.deepApiKey}`},body:JSON.stringify({url:f.url,issues:m.slice(0,30).map(({source:E,...w})=>w)})});if(!y.ok)return f;let b=await y.json();if(!b.confirmed_ids)return f;let x=new Set(b.confirmed_ids),A=f.issues.filter(E=>!g(E)||x.has(E.id));return {...f,issues:A,summary:rl(A,f.incomplete)}}catch{return f}}il();function gL(f){let p={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},v=f.issues.map(g=>`
|
|
379
|
+
`});try{let{UNIQUE_SELECTOR_JS:m}=await Promise.resolve().then(()=>(Zl(),Jl));await f.addScriptTag({content:`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
380
|
+
`+m});}catch{}let b=f;return b.addScriptTag&&await b.addScriptTag({url:lL}).catch(()=>{}),await new Promise(m=>setTimeout(m,1e3)),(await f.evaluate(m=>new Promise(y=>{let v=window;if(!v.HTMLCS){y([]);return}v.HTMLCS.process(m,document,()=>{let _=v.HTMLCS.getMessages().filter(E=>E.type===1).slice(0,50).map(E=>{let x="";try{if(E.element&&E.element.tagName){let A=E.element,k=window.uniqueSel;typeof k=="function"?x=k(A):x=A.className&&typeof A.className=="string"&&A.className.trim()?`${A.tagName.toLowerCase()}.${A.className.trim().split(/\s+/)[0]}`:A.tagName.toLowerCase();}}catch{}return {type:E.type,code:E.code||"",msg:E.msg||"",element:E.element?.outerHTML?.slice(0,150)||"",selector:x}});y(_);});}),p)).map((m,y)=>{let v=gg(m.code);return {id:`htmlcs-${y}-${cL(m.selector)}`,source:"webability",type:hg(m.code),wcag:v,level:"AA",impact:"moderate",message:m.msg.slice(0,200),selector:m.selector,html:m.element}})}catch{return []}}function hg(f){let p=gg(f);if(p&&mg[p])return mg[p];let b=f.split("."),h=b.findIndex(v=>/^\d+_\d+_\d+$/.test(v));return (h>=0?b.slice(h+1):b).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function gg(f){let p=f.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(p)return `${p[3]}.${p[4]}.${p[5]}`;let b=f.match(/(\d+)_(\d+)_(\d+)/);return b?`${b[1]}.${b[2]}.${b[3]}`:""}function cL(f){let p=0;for(let b=0;b<f.length;b++)p=(p<<5)-p+f.charCodeAt(b)|0;return Math.abs(p).toString(36)}var lL,mg,bg=Rr(()=>{lL="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";mg={"1.4.3":"contrast_insufficient"};});var lu={};Ir(lu,{dedupeByElementIdentity:()=>pL,deduplicateIssues:()=>dL});function dL(f){let p=new Map,b=[...f].sort((h,m)=>{let y={webability:0,"axe-core":1,"deep-analysis":2},v=y[h.source]??3,w=y[m.source]??3;return v-w});for(let h of b){let m=fL(h);p.has(m)?!p.get(m).fix?.suggestedValue&&h.fix?.suggestedValue&&p.set(m,h):p.set(m,h);}return Array.from(p.values())}function fL(f){let p=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),b=f.wcag||"";return p&&b?`${p}::${b}`:`${f.type}::${p||f.id}`}async function pL(f,p){if(p.length<2)return p;let b=Array.from(new Set(p.map(E=>E.selector).filter(Boolean))),h;try{h=await f.evaluate(E=>{let x=Array.from(document.querySelectorAll("*")),A=new Map;x.forEach((C,F)=>A.set(C,F));let k={};for(let C of E){let F=null;try{F=document.querySelector(C);}catch{}if(!F){let R=C.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(R!==C)try{F=document.querySelector(R);}catch{}}F&&(k[C]=A.get(F));}return k},b);}catch{return p}let m={webability:0,"axe-core":1,"deep-analysis":2},y=[...p].sort((E,x)=>(m[E.source]??3)-(m[x.source]??3)),v=new Map,w=[];for(let E of y){let x=h[E.selector];if(x===void 0){w.push(E);continue}let A=`${x}::${E.wcag||E.type}`,k=v.get(A);k?!k.fix?.suggestedValue&&E.fix?.suggestedValue&&v.set(A,E):v.set(A,E);}let _=new Set([...v.values(),...w]);return p.filter(E=>_.has(E))}var uu=Rr(()=>{});var yg={};Ir(yg,{scopeIssuesToRoot:()=>mL});async function mL(f,p,b){let h=Array.from(new Set(p.map(y=>y.selector).filter(Boolean))),m;try{m=await f.evaluate(({rootSel:y,sels:v})=>{let w=x=>{try{let k=document.querySelector(x);if(k)return k}catch{}let A=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(A!==x)try{return document.querySelector(A)}catch{return null}return null},_=null;try{_=document.querySelector(y);}catch{return {invalid:!0,matched:!1,within:{}}}if(!_)return {invalid:!1,matched:!1,within:{}};let E={};for(let x of v){let A=w(x);E[x]=A?A===_||_.contains(A):!0;}return {invalid:!1,matched:!0,within:E}},{rootSel:b,sels:h});}catch{return {issues:p,warning:`scope:evaluate-failed (${b}) \u2014 results unfiltered`}}return m.invalid?{issues:p,warning:`scope:invalid-selector (${b}) \u2014 results unfiltered`}:m.matched?{issues:p.filter(y=>y.selector?m.within[y.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${b} matched nothing \u2014 empty result)`}}var wg=Rr(()=>{});var AR={weak_button_name:"4.1.2",weak_link_name:"2.4.4",weak_heading:"2.4.6",weak_iframe_title:"4.1.2",weak_page_title:"2.4.2",weak_svg_name:"1.1.1",weak_skip_link:"2.4.1",missing_button_role:"4.1.2",missing_semantic_role:"4.1.2",missing_landmark:"1.3.1",heading_skip:"1.3.1",svg_missing_name:"1.1.1",aria_hidden_focusable:"4.1.2",adjacent_redundant_link:"2.4.4",contrast_insufficient:"1.4.3",non_text_contrast_insufficient:"1.4.11",target_too_small:"2.5.8",focus_not_visible:"2.4.7",empty_link:"2.4.4",unlabeled_button:"4.1.2",missing_label:"1.3.1",decorative_icon:"1.1.1",skip_link:"2.4.1",aria_live:"4.1.3",missing_alt:"1.1.1",identify_input_purpose:"1.3.5",redundant_role:"4.1.2",duplicate_id:"4.1.1",new_window_link:"3.2.5",missing_fieldset_legend:"1.3.1",missing_table_header:"1.3.1",missing_table_caption:"1.3.1",missing_table_scope:"1.3.1",external_link_warning:"3.2.5",download_link_warning:"3.2.5",broken_anchor:"2.4.1",placeholder_link:"2.4.4",missing_aria_required:"3.3.2",missing_pattern_title:"3.3.2",missing_autocomplete:"1.3.5",missing_media_controls:"2.2.2",unsafe_autoplay:"1.4.2",invalid_aria_role:"4.1.2",zoom_restriction:"1.4.4",missing_button_type:"3.2.2",link_consistency:"3.2.4",semantic_emphasis:"1.3.1",keyboard_trap:"2.1.1",focus_order_disruption:"2.4.3",missing_captions:"1.2.2",color_only_link:"1.4.1",label_in_name:"2.5.3",onfocus_context_change:"3.2.1",focus_obscured_by_sticky:"2.4.11",text_spacing_blocked:"1.4.12",nested_landmark:"1.3.1",combobox_name_missing:"4.1.2",landmark_duplicate_unlabeled:"1.3.1",motion_uncontrollable:"2.2.2",auto_refresh:"2.2.1",motion_without_reduced_motion:"2.3.3",flashing_content:"2.3.1",animated_gif_no_pause:"2.2.2",missing_required_indicator:"3.3.2",background_image_unlabeled:"1.1.1",missing_h1:"1.3.1",multiple_h1:"1.3.1",empty_heading:"1.3.1",javascript_link:"2.1.1",broken_aria_reference:"4.1.2",main_content_hidden:"4.1.2",scrollable_not_focusable:"2.1.1",meaningful_sequence:"1.3.2",sensory_characteristic:"1.3.3",orientation_lock:"1.3.4",image_of_text:"1.4.5",reflow_overflow:"1.4.10",missing_audio_description:"1.2.5",missing_transcript:"1.2.1",character_key_shortcut:"2.1.4",on_input_change:"3.2.2",pointer_gesture:"2.5.1",pointer_cancellation:"2.5.2",motion_actuation:"2.5.4",error_prevention_missing:"3.3.4",insufficient_navigation:"2.4.5",inconsistent_navigation:"3.2.3"},Pn={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var ER=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],h=new Set;function m(w){let _=(w.textContent||"").trim().replace(/\s+/g,""),E=w.querySelector("img, svg, picture")!==null,x=w.querySelector("i[class], span[class]")!==null;if(_.length>0&&!E&&!x)return false;if(E){let A=w.querySelectorAll("img"),k="";A.forEach(R=>{k+=(R.getAttribute("alt")||"").trim();});let C=_.replace(/\s+/g,""),F=k.replace(/\s+/g,"");return C===""||C===F}return false}function y(w){let _=w.nextElementSibling;for(;_;){if(isVisible(_))return _;_=_.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(b.length>=50||w.closest(f)||!isVisible(w)||h.has(w))return;let _=w.getAttribute("href");if(!_||_==="#")return;let E=y(w);if(!E||E.tagName!=="A"||E.getAttribute("href")!==_||h.has(E)||w.getAttribute("aria-hidden")==="true"||E.getAttribute("aria-hidden")==="true")return;let A=m(w),k=m(E);if(!A&&!k)return;let C=A?w:E,F=A?E:w;h.add(C),h.add(F);let R=uniqueSel(C),O=C.outerHTML.slice(0,300),V=(F.textContent||"").trim().slice(0,80);b.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:_,imageLink:true,adjacentLinkText:V,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:O}),b.push({selector:R,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:_}),needsAI:false,fixValue:"-1",outerHtml:O});}),b},H1={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(ER)}};var CR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",p='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',b=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),h=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),m=50,y=[],v=new Set;function w(x){let A=x,k=0;for(;A&&A.nodeType===1&&A!==document.body&&k<20;){try{let C=getComputedStyle(A);if(C.display==="none"||C.visibility==="hidden"||C.visibility==="collapse")return !0}catch{}A=A.parentElement,k++;}return false}function _(x){let A=x.tagName,k=x.getAttribute("tabindex");if(k!==null){let C=parseInt(k,10);if(!isNaN(C)&&C>=0)return true;if(!isNaN(C)&&C<0)return false}return h.has(A)?!(A==="A"&&!x.hasAttribute("href")||x.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(x=>{if(y.length>=m||x.closest(f)||x.closest(p)||x.closest(b)||x.matches(b))return;let A=[];if(_(x)&&A.push(x),x.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(C=>{_(C)&&A.push(C);}),A.length!==0)for(let C of A){if(y.length>=m)return;let F=uniqueSel(C),R=F+"\0tabindex";if(v.has(R))continue;v.add(R);let O=w(C);y.push({selector:F,attribute:"tabindex",currentValue:C.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:C.tagName.toLowerCase(),parentHidden:x.tagName.toLowerCase(),collapsed:O,suggestion:O?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...O?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},outerHtml:(C.outerHTML||"").slice(0,300)});}}),y},j1={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(CR)}};var SR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h=new Set,m=[{regex:/\btoast\b/i,ariaLive:"polite",role:"status"},{regex:/\bsnackbar\b/i,ariaLive:"polite",role:"status"},{regex:/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,ariaLive:"assertive",role:"alert"},{regex:/success[-_]message|success[-_]msg/i,ariaLive:"polite",role:"status"},{regex:/alert[-_]message|alert[-_]banner/i,ariaLive:"assertive",role:"alert"},{regex:/flash[-_]message|flash[-_]notice/i,ariaLive:"polite",role:"status"},{regex:/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,ariaLive:"polite",role:"status"},{regex:/loading[-_]spinner|loading[-_]indicator/i,ariaLive:"polite",role:"status"},{regex:/search[-_]results?[-_]count/i,ariaLive:"polite",role:"status"},{regex:/\blive[-_]region\b/i,ariaLive:"polite",role:"status"},{regex:/notification[-_](bar|area|container|popup|wrapper)/i,ariaLive:"polite",role:"status"},{regex:/status[-_]message/i,ariaLive:"polite",role:"status"}];function y(v){if(!(v.textContent||"").trim())return true;let _=getComputedStyle(v);return !!(_.display==="none"||_.visibility==="hidden"||_.opacity==="0"||_.maxHeight==="0px"||_.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(b.length>=50)break;let w=document.querySelectorAll("*");for(let _ of w){if(b.length>=50)break;if(h.has(_)||_.closest(f))continue;let E=_.className&&typeof _.className=="string"?_.className:"",x=_.getAttribute("id")||"";if(!v.regex.test(E)&&!v.regex.test(x)||_.getAttribute("aria-live"))continue;let A=_.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(A)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(E+" "+x)&&!y(_))continue;h.add(_);let C=uniqueSel(_),F=v.regex.test(E)?"class":"id",R=F==="class"?E.slice(0,60):x;b.push({selector:C,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:F+": "+R+" | pattern: "+v.regex.source,needsAI:false,fixValue:v.ariaLive});}}return b},$1={name:"ariaLive",cap:50,async detect(f){return f.evaluate(SR)}};var kR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],h=new Set,m=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(b.length>=50)&&!w.closest(f)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let _ of m){let E=w.getAttribute(_);if(!E||!E.trim())continue;let x=E.trim().split(/\s+/).filter(z=>z.length>0);if(x.length===0||!x.every(z=>!document.getElementById(z)))continue;let k=w.getAttribute("aria-label");if(k&&k.trim())continue;let C=getAccessibleName(w);if(C&&C.trim())continue;let F=uniqueSel(w),R=F+"\0"+_;if(h.has(R))continue;h.add(R);let{nearbyHeading:O,parentTag:V,parentRole:$}=getNearbyContext(w);b.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:_,brokenIds:x,nearbyHeading:O,parentTag:V,parentRole:$,suggestion:`All IDs in ${_}="${E}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),b},z1={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(kR)}};var TR=()=>{let p=[],b=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],h=document.querySelectorAll("button");for(let m of h){if(p.length>=50)break;let y=m;if(isWidget(y)||y.hasAttribute("type")||!y.closest("form"))continue;let v=(y.textContent||"").trim().slice(0,60),w=(y.getAttribute("aria-label")||"").trim().slice(0,60),_=v||w||"(no label)",E=_.toLowerCase();b.some(A=>E.includes(A))||p.push({selector:uniqueSel(y),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+_,needsAI:false,fixValue:"button",outerHtml:(y.outerHTML||"").slice(0,300)});}return p},G1={name:"buttonType",cap:50,async detect(f){return f.evaluate(TR)}};var FR=()=>{let p=[],b=document.querySelectorAll("video, audio");for(let h of Array.from(b)){if(p.length>=20)break;if(isWidget(h)||typeof isVisible=="function"&&!isVisible(h)||h.error)continue;let m=h.tagName==="VIDEO";if(m){let R=h.hasAttribute("muted")||h.muted,O=h.hasAttribute("autoplay"),V=h.hasAttribute("controls"),$=h.hasAttribute("loop");if(R&&O&&$&&!V)continue}let y=h.querySelectorAll("track"),v=false;for(let R of Array.from(y)){let O=(R.getAttribute("kind")||"").toLowerCase();if(O==="captions"||O==="subtitles"){v=true;break}}if(v)continue;let w=h.currentSrc||h.getAttribute("src")||"";if(w||(w=h.querySelector("source")?.getAttribute("src")||""),!w)continue;let _=w.toLowerCase();if(_.startsWith("blob:")||_.startsWith("data:")||_.startsWith("about:")||_.startsWith("javascript:")||_.endsWith(".m3u8")||_.includes(".m3u8?")||_.endsWith(".mpd")||_.includes(".mpd?"))continue;let E=w;try{E=new URL(w,location.href).toString();}catch{continue}let x=typeof uniqueSel=="function"?uniqueSel(h):"",A=h.getAttribute("title")||h.getAttribute("aria-label")||"",k=typeof getNearbyContext=="function"?getNearbyContext(h):{parentTag:h.tagName.toLowerCase(),nearbyHeading:""},C=[];C.push("media: "+h.tagName.toLowerCase()),C.push("src: "+E.slice(0,200)),A&&C.push("title: "+A.slice(0,80)),k.nearbyHeading&&C.push("heading: "+k.nearbyHeading),C.push("parent: "+k.parentTag);let F=m;p.push({selector:x,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:C.join(" | "),needsAI:true,...F?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:E,outerHtml:(h.outerHTML||"").slice(0,300)});}return p},W1={name:"captions",cap:20,async detect(f){return f.evaluate(FR)}};var RR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h="p, li, blockquote, article, section, main, div",m=document.querySelectorAll("a[href]");for(let y of Array.from(m)){if(b.length>=40)break;if(y.closest(f)||y.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(y))continue;let v=y.closest(h);if(!v)continue;let w=(v.textContent||"").trim(),_=(y.textContent||"").trim();if(!_||w.length<_.length+20||y.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let E=getComputedStyle(y),x=getComputedStyle(v);if((E.textDecorationLine||E.textDecoration||"").includes("underline"))continue;let k=parseInt(E.fontWeight||"400",10),C=parseInt(x.fontWeight||"400",10);if(Number.isFinite(k)&&Number.isFinite(C)&&k-C>=300||(E.borderBottomStyle||"none")!=="none"&&(E.borderBottomWidth||"0px")!=="0px"||E.color===x.color)continue;let R=typeof uniqueSel=="function"?uniqueSel(y):"",O=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},V=[];V.push("link: "+_.slice(0,40)),V.push("color: "+E.color),V.push("parent-color: "+x.color),O.nearbyHeading&&V.push("heading: "+O.nearbyHeading),V.push("parent: "+O.parentTag),b.push({selector:R,attribute:"style",currentValue:E.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:V.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(y.outerHTML||"").slice(0,300)});}return b},U1={name:"colorOnly",cap:40,async detect(f){return f.evaluate(RR)}};var IR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],h=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(h).forEach(y=>{if(b.length>=30||y.closest(f)||typeof isVisible=="function"&&!isVisible(y)||y.getAttribute("aria-hidden")==="true"||y.disabled||y.getAttribute("type")==="hidden"||(y.getAttribute("aria-label")||"").trim())return;let v=y.getAttribute("aria-labelledby");if(v){let R=false;for(let O of v.split(/\s+/)){let V=document.getElementById(O);if(V&&(V.textContent||"").trim()){R=true;break}}if(R)return}let w=y.getAttribute("id");if(w){let R=document.querySelector('label[for="'+CSS.escape(w)+'"]');if(R&&(R.textContent||"").trim())return}let _=y.closest("label");if(_&&(_.textContent||"").trim()||(y.getAttribute("title")||"").trim())return;let E=typeof uniqueSel=="function"?uniqueSel(y):"",x=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},A=(y.getAttribute("placeholder")||"").trim(),k=y.getAttribute("name")||"",C=y.getAttribute("role")||y.tagName.toLowerCase(),F=[];F.push("role: "+C),A&&F.push("placeholder: "+A.slice(0,40)),k&&F.push("name: "+k),x.nearbyHeading&&F.push("heading: "+x.nearbyHeading),F.push("parent: "+x.parentTag),b.push({selector:E,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:F.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}),b},X1={name:"comboboxName",cap:30,async detect(f){return f.evaluate(IR)}};var LR=()=>{let p=[],b=C=>typeof parseCssColor=="function"?parseCssColor(C):null,h=(C,F,R)=>typeof relLuminance=="function"?relLuminance(C,F,R):0,m=(C,F)=>typeof contrastRatio=="function"?contrastRatio(C,F):1;function y(C){let F=String(C.backgroundImage||"none");if(F==="none")return false;if(/gradient\(/i.test(F))return true;if(!/url\(/i.test(F))return false;let R=String(C.backgroundRepeat||"").toLowerCase(),O=String(C.backgroundSize||"").toLowerCase(),V=R.split(",").map(z=>z.trim()).some(z=>z!==""&&z!=="no-repeat"),$=/cover|contain|100%/.test(O);return V||$}function v(C){let F=C,R=0;for(;F&&F!==document.documentElement&&R<12;){let O=getComputedStyle(F);if(y(O))return null;let V=b(O.backgroundColor||"");if(V&&V[3]>.5)return [V[0],V[1],V[2]];F=F.parentElement,R++;}return [255,255,255]}function w(C,F,R){return "#"+[C,F,R].map(O=>{let V=Math.max(0,Math.min(255,Math.round(O))).toString(16);return V.length===1?"0"+V:V}).join("")}function _(C,F,R){let V=h(F[0],F[1],F[2])>.5,$=0,z=1,H=null;for(let ee=0;ee<20;ee++){let U=($+z)/2,Y=V?[C[0]*(1-U),C[1]*(1-U),C[2]*(1-U)]:[C[0]+(255-C[0])*U,C[1]+(255-C[1])*U,C[2]+(255-C[2])*U];m(Y,F)>=R?(H=[Math.round(Y[0]),Math.round(Y[1]),Math.round(Y[2])],z=U):$=U;}return H}let E=document.createTreeWalker(document.body,4),x=new Set,A=[],k=E.nextNode();for(;k;){if((k.textContent||"").trim().length>=2){let F=k.parentElement;F&&!x.has(F)&&(x.add(F),A.push(F));}k=E.nextNode();}for(let C of A){if(p.length>=30)break;if(isWidget(C)||isHiddenFromAT(C)||!isVisible(C))continue;let F=getComputedStyle(C),R=b(F.color||"");if(!R)continue;if(R[3]<.5){let Fe=F.webkitBackgroundClip||F.backgroundClip||"",Ae=F.backgroundImage||"";if(String(Fe).includes("text")&&/gradient\(/i.test(Ae)){let Ge=Array.from(C.childNodes).filter(Re=>Re.nodeType===3).map(Re=>(Re.textContent||"").trim()).join("");Ge&&p.push({selector:uniqueSel(C),attribute:"style",currentValue:"gradient-clipped text",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(Ge.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:C.outerHTML.slice(0,200)});}continue}let O=v(C),V=parseFloat(F.fontSize||"16"),$=parseInt(F.fontWeight||"400",10),H=V>=24||V>=18.66&&$>=700?3:4.5,ee=Array.from(C.childNodes).filter(Fe=>Fe.nodeType===3).map(Fe=>(Fe.textContent||"").trim()).join("");if(!ee)continue;let U=w(R[0],R[1],R[2]),Y=uniqueSel(C);if(O===null){p.push({selector:Y,attribute:"style",currentValue:U,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+U+" bg=<gradient-or-image> needs="+H+" text="+JSON.stringify(ee.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:C.outerHTML.slice(0,200)});continue}let re=m([R[0],R[1],R[2]],O);if(re>=H)continue;let Q=_([R[0],R[1],R[2]],O,H);if(!Q)continue;let fe=w(Q[0],Q[1],Q[2]),ce=w(O[0],O[1],O[2]),Se="color:"+fe+" !important;";p.push({selector:Y,attribute:"style",currentValue:U,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+U+" bg="+ce+" ratio="+re.toFixed(2)+" needs="+H+" text="+JSON.stringify(ee.slice(0,40)),needsAI:false,fixValue:Se,outerHtml:C.outerHTML.slice(0,200)});}return p},Y1={name:"contrast",cap:30,async detect(f){return f.evaluate(LR)}};var PR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],h=document.querySelectorAll("marquee, blink");for(let _ of Array.from(h)){if(b.length>=30)break;if(_.closest(f))continue;let E=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();b.push({selector:E,attribute:"aria-hidden",currentValue:_.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${_.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,needsReview:true,reviewReason:`Deprecated ${_.tagName.toLowerCase()} usually contains real content; WCAG 2.2.2 needs a pause/stop control, not aria-hidden which would hide the content from assistive tech.`,fixValue:"true",outerHtml:(_.outerHTML||"").slice(0,300)});}let m=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let _ of Array.from(m)){if(b.length>=30)break;if(_.closest(f))continue;let E=_.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(E)||typeof isVisible=="function"&&!isVisible(_))continue;let x=_.getBoundingClientRect();if(x.width<=40&&x.height<=40)continue;let A=typeof uniqueSel=="function"?uniqueSel(_):"img";b.push({selector:A,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${E.split("/").pop()?.slice(0,60)||E.slice(-60)}`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let _ of Array.from(y)){if(b.length>=30)break;let E=(_.getAttribute("content")||"").trim(),x=parseInt((E.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(x)||x<=0||b.push({selector:`meta[http-equiv="refresh"][content*="${E.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:E,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${x}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${x}s time limit before it triggers.`,outerHtml:(_.outerHTML||"").slice(0,200)});}try{let _=!1,E=!1;for(let x of Array.from(document.styleSheets)){let A=null;try{A=x.cssRules;}catch{continue}if(A)for(let k of Array.from(A)){let C=k.cssText||"";if(/animation[^;]*\binfinite\b/i.test(C)&&/(keyframes|animation-name)/i.test(C+" "+(k.name||""))&&(_=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(C)&&(E=!0),k.cssRules)for(let F of Array.from(k.cssRules)){let R=F.cssText||"";/animation[^;]*\binfinite\b/i.test(R)&&(_=!0);}}}_&&!E&&b.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let v=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let _ of Array.from(w)){if(b.length>=30)break;if(_.closest(f)||_.tagName==="BODY"||_.tagName==="HTML")continue;let E=_.className&&typeof _.className=="string"?_.className:"";if(!v.test(E)||typeof isVisible=="function"&&!isVisible(_))continue;let A=getComputedStyle(_).animationDuration,k=9999;if(A){let F=parseFloat(A);Number.isFinite(F)&&(k=/ms/i.test(A)?F:F*1e3);}if(k>333)continue;let C=typeof uniqueSel=="function"?uniqueSel(_):"";b.push({selector:C,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${k}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:(_.outerHTML||"").slice(0,300)});}return b},K1={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(PR)}};var MR=()=>{let p=[];function b(v){let w=(v.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(v.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function h(v){if(!v)return 0;let w=v.querySelectorAll("th, td"),_=0;for(let E=0;E<w.length;E++){let x=parseInt(w[E].getAttribute("colspan")||"1",10);_+=isNaN(x)||x<1?1:x;}return _}function m(v){let w=v.querySelectorAll("tr"),_=[];for(let E=0;E<w.length;E++){let x=w[E];x.closest("table")===v&&_.push(x);}return _}let y=document.querySelectorAll("table");for(let v=0;v<y.length&&!(p.length>=30);v++){let w=y[v];if(isWidget(w)||!isVisible(w)||b(w))continue;let _=m(w);if(_.length<=1)continue;let E=_[0],x=h(E);if(x<=1)continue;let A=uniqueSel(w),k=getNearbyContext(w),C=null,F=w.querySelectorAll("caption");for(let Q=0;Q<F.length;Q++)if(F[Q].closest("table")===w){C=F[Q];break}let R=C?(C.textContent||"").trim():"",O=(w.getAttribute("aria-label")||"").trim(),V=(w.getAttribute("title")||"").trim(),$=w.getAttribute("aria-labelledby"),z="";if($){let Q=$.split(/\s+/);for(let fe=0;fe<Q.length;fe++){let ce=document.getElementById(Q[fe]);ce&&(z+=" "+(ce.textContent||""));}z=z.trim();}(!C||!R)&&!(O||z||V)&&p.length<30&&p.push({selector:A,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:C?"empty <caption>":"no <caption> element",rows:_.length,cols:x,nearbyHeading:k.nearbyHeading,parentTag:k.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});let ee=null,U=w.querySelectorAll("thead");for(let Q=0;Q<U.length;Q++)if(U[Q].closest("table")===w){ee=U[Q];break}if(ee&&ee.querySelector("tr")!==null||p.length<30&&p.push({selector:A,attribute:"thead",currentValue:ee?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:ee?"<thead> has no <tr>":"no <thead> element",rows:_.length,cols:x,nearbyHeading:k.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),x>2){let Q=E.querySelectorAll("th, td"),fe=Q.length>0;for(let ce=0;ce<Q.length;ce++)if((Q[ce].tagName||"").toLowerCase()!=="td"){fe=false;break}if(fe)for(let ce=0;ce<Q.length&&!(p.length>=30);ce++){let Se=Q[ce],Fe=uniqueSel(Se),Ae=(Se.textContent||"").trim().slice(0,60);p.push({selector:Fe,attribute:"role",currentValue:Se.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:ce,nearbyHeading:k.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(Se.outerHTML||"").slice(0,300)});}}let re=w.querySelectorAll("th");for(let Q=0;Q<re.length&&!(p.length>=30);Q++){let fe=re[Q];if(fe.closest("table")!==w)continue;let ce=(fe.getAttribute("scope")||"").trim().toLowerCase();if(ce==="col"||ce==="row"||ce==="colgroup"||ce==="rowgroup")continue;let Se=fe.closest("tr"),Fe=fe.closest("thead")!==null,Ae=false;Se&&_.length>0&&_[0]===Se&&(Ae=true);let Ge=false;if(Se){let nt=Se.querySelectorAll("th, td");nt.length>0&&nt[0]===fe&&(Ge=true);}let Re="col";Fe||Ae?Re="col":Ge&&(Re="row");let He=uniqueSel(fe),Qe=(fe.textContent||"").trim().slice(0,60);p.push({selector:He,attribute:"scope",currentValue:ce,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:Re,inThead:Fe,firstRow:Ae,firstCol:Ge,headerText:Qe}),needsAI:false,fixValue:Re,outerHtml:(fe.outerHTML||"").slice(0,300)});}}return p},J1={name:"dataTables",cap:30,async detect(f){return f.evaluate(MR)}};var OR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",b=[],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=C=>{try{return !!(C.querySelector&&C.querySelector(h))}catch{return false}},y=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),v=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],w=["spinner","loading","spin","loader","pulse"],_=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let C of _){if(b.length>=50)break;if(C.closest(f)||isHiddenFromAT(C)||!isVisible(C))continue;let F=C.className&&typeof C.className=="string"?C.className.toLowerCase():"";if(!F.split(/\s+/).filter(Boolean).some(z=>y.has(z)||v.some(H=>z.startsWith(H)))||C.closest(h)||m(C))continue;let V=w.some(z=>F.includes(z)),$=uniqueSel(C);b.push({selector:$,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:V?"spinner/loader icon":"icon classes: "+F.slice(0,80),needsAI:false,fixValue:"true",outerHtml:C.outerHTML.slice(0,300)});}let E=document.querySelectorAll("svg");for(let C of E){if(b.length>=50)break;if(C.closest(f)||isHiddenFromAT(C)||!isVisible(C)||C.closest(h)||m(C))continue;let F=C.getAttribute("aria-label")||"",R=C.getAttribute("aria-labelledby")||"",O=C.querySelector("title"),V=O?(O.textContent||"").trim():"",$=C.getAttribute("role");if(F.trim()||R.trim()||V||$==="img")continue;let z=C.getBoundingClientRect(),H=z.width<=16&&z.height<=16,ee=C.parentElement?(C.parentElement.textContent||"").trim().replace(/\s+/g," "):"",U=z.width<=4||z.height<=4,Y=C.getAttribute("preserveAspectRatio")==="none";if(!H&&ee.length<=3&&!U&&!Y)continue;let re=uniqueSel(C);b.push({selector:re,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:C.outerHTML.slice(0,300)});}let x=C=>C.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(C),A=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let C of A){if(b.length>=50)break;if(C.closest(f)||isHiddenFromAT(C))continue;let F=C.tagName.toLowerCase();if(!(F==="a"||F==="button"||F==="input"||F==="select"||F==="textarea"||C.getAttribute("role")==="button"||C.getAttribute("role")==="link"||C.getAttribute("role")==="tab")||C.hasAttribute("disabled"))continue;let O=C.className&&typeof C.className=="string"?C.className:"",V=O.split(/\s+/).some(x),$=C.getAttribute("aria-disabled")==="true",z=getComputedStyle(C).pointerEvents==="none";if(!$&&!(V&&z))continue;let H=C.getAttribute("tabindex")!=="-1"||m(C),ee=uniqueSel(C);b.push({selector:ee,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+O.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...H?{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:C.outerHTML.slice(0,300)});}let k=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let C of k){if(b.length>=50)break;if(C.closest(f)||isHiddenFromAT(C))continue;let F=C.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(F.length===0)continue;let R=uniqueSel(C);b.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+F.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+F.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:C.outerHTML.slice(0,300)});}return b},Z1={name:"decorativeIcons",cap:50,async detect(f){return f.evaluate(OR)}};var NR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h=new Map,m=document.querySelectorAll("[id]");for(let y of m){if(y.closest(f))continue;let v=(y.getAttribute("id")||"").trim();if(!v)continue;let w=h.get(v);w?w.push(y):h.set(v,[y]);}for(let[y,v]of h)if(!(v.length<=1)){if(b.length<50){let w=v[0];b.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"id",currentValue:y,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+y+'" is shared by '+v.length+" elements; this is the canonical first occurrence (kept \u2014 references resolve here). Later occurrences carry rename fixes.",needsAI:false,needsReview:true,reviewReason:"first occurrence of a duplicated id \u2014 shown for completeness; renaming it would break references, so the fix targets the later occurrences",outerHtml:(w.outerHTML||"").slice(0,300)});}for(let w=1;w<v.length&&!(b.length>=50);w++){let _=v[w],E=w+1,x=y+"-"+E,A=_.tagName.toLowerCase(),k=_.parentElement,C=A;if(k){let F=Array.from(k.children).filter(O=>O.tagName===_.tagName);if(F.length>1){let O=F.indexOf(_)+1;C=A+":nth-of-type("+O+")";}let R=k.tagName.toLowerCase();if(k.id&&k.id!==y)C="#"+CSS.escape(k.id)+" > "+C;else {let O=k.parentElement;if(O){let V=Array.from(O.children).filter($=>$.tagName===k.tagName);if(V.length>1){let $=V.indexOf(k)+1;C=R+":nth-of-type("+$+") > "+C;}else C=R+" > "+C;}}}b.push({selector:C,attribute:"id",currentValue:y,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+E+' of id="'+y+'" | tag: <'+A+">",needsAI:false,fixValue:x});}}return b},Q1={name:"duplicateIds",cap:50,async detect(f){return f.evaluate(NR)}};var qR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=/^[^\p{L}\p{N}\s]*$/u,b=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,m=[],y=document.querySelectorAll("a");for(let v of y){if(m.length>=50)break;if(v.closest(f)||v.getAttribute("aria-hidden")==="true"||v.getAttribute("role")==="presentation"||v.closest('[aria-hidden="true"]')||!isVisible(v))continue;let w=getAccessibleName(v);if(w&&w.length>0&&!b.test(w)&&!p.test(w))continue;let _=v.querySelectorAll("img[alt]"),E="";for(let H of _){let ee=(H.getAttribute("alt")||"").trim();ee&&(E+=ee+" ");}if(E.trim())continue;let x=v.getAttribute("aria-labelledby");if(x&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(x))continue;let A=uniqueSel(v),k=v.getAttribute("href")||"",C=(v.textContent||"").trim(),F=getNearbyContext(v),R="";C&&b.test(C)?R="[whitespace only]":C&&p.test(C)&&(R=C);let O="",V=true;if(k&&k!=="#"&&!k.startsWith("javascript:")){if(k.startsWith("mailto:")){let H=k.slice(7).split("?")[0];H&&H.includes("@")&&(O="Email "+H,V=false);}else if(k.startsWith("tel:")){let H=k.slice(4);try{H=decodeURIComponent(H);}catch{}H=H.replace(/^\+/,"").trim(),H&&(O="Call "+H,V=false);}}let $=[];v.closest("nav")&&$.push("inside nav"),F.nearbyHeading&&$.push("heading: "+F.nearbyHeading),k&&$.push("href: "+k.slice(0,120)),$.push("parent: "+F.parentTag);let z={selector:A,attribute:"aria-label",currentValue:R,issueType:"empty_link",wcag:"2.4.4",context:$.join(" | "),needsAI:V,outerHtml:v.outerHTML.slice(0,300)};!V&&O&&(z.fixValue=O),m.push(z);}return m},eh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(qR)}};var BR=()=>{let p=[],b=new Set;function h(x){return (x||"").trim()}function m(x){let A=h(x.getAttribute("aria-label")||"");if(A)return A;let k=x.getAttribute("aria-labelledby");if(k){let F=k.split(/\s+/),R="";for(let O=0;O<F.length;O++){let V=document.getElementById(F[O]);V&&(R+=" "+(V.textContent||""));}if(h(R))return h(R)}let C=h(x.getAttribute("title")||"");return C||""}let y=document.querySelectorAll("fieldset");for(let x=0;x<y.length&&!(p.length>=30);x++){let A=y[x];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;if(m(A)){b.add(A);continue}let k=null,C=A.querySelectorAll("legend");for(let z=0;z<C.length;z++)if(C[z].closest("fieldset")===A){k=C[z];break}let F=k!==null,R=k?h(k.textContent||""):"";if(F&&R){b.add(A);continue}let O=getNearbyContext(A),V=A.querySelectorAll("input, select, textarea"),$=uniqueSel(A);p.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:F?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:V.length,nearbyHeading:O.nearbyHeading,parentTag:O.parentTag}),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)}),b.add(A);}let v=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let x=0;x<v.length&&!(p.length>=30);x++){let A=v[x];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A)||b.has(A))continue;if(m(A)){b.add(A);continue}let k=A.getAttribute("role")||"",C=getNearbyContext(A),F=A.querySelectorAll("input, select, textarea"),R=uniqueSel(A);p.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+k+'" container without accessible name',role:k,controlCount:F.length,nearbyHeading:C.nearbyHeading,parentTag:C.parentTag}),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)}),b.add(A);}let w={},_=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let x=0;x<_.length;x++){let A=_[x];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;let k=A.getAttribute("name")||"";if(!k)continue;let C=A.closest("form"),F=C?C.getAttribute("id")||C.getAttribute("action")||C.tagName:"no-form",R=(A.getAttribute("type")||"").toLowerCase(),O=F+"::"+R+"::"+k;w[O]||(w[O]=[]),w[O].push(A);}let E=Object.keys(w);for(let x=0;x<E.length&&!(p.length>=30);x++){let A=w[E[x]];if(A.length<3)continue;let k=A[0],C=k.closest('fieldset, [role="group"], [role="radiogroup"]'),F=false;if(C){F=true;for(let H=1;H<A.length;H++)if(!C.contains(A[H])){F=false;break}}if(F&&C)continue;let R=k.parentElement;for(;R&&R!==document.body;){let H=true;for(let ee=1;ee<A.length;ee++)if(!R.contains(A[ee])){H=false;break}if(H)break;R=R.parentElement;}if(!R||R===document.body||b.has(R))continue;let O=(k.getAttribute("type")||"").toLowerCase(),V=k.getAttribute("name")||"",$=getNearbyContext(k),z=uniqueSel(R);p.push({selector:z,attribute:"role",currentValue:R.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+O+" group ("+A.length+' inputs share name="'+V+'")',inputType:O,inputCount:A.length,name:V,nearbyHeading:$.nearbyHeading,parentTag:$.parentTag}),needsAI:false,fixValue:O==="radio"?"radiogroup":"group",outerHtml:(R.outerHTML||"").slice(0,300)}),b.add(R);}return p},th={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(BR)}};var VR=()=>{let f=[],p=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),b=0;for(let h of Array.from(p)){let m=getComputedStyle(h);if(m.display==="none"||m.visibility==="hidden"||m.position!=="sticky"&&m.position!=="fixed")continue;let y=h.getBoundingClientRect();if(y.top>50||y.bottom<=0)continue;let v=Math.round(y.height);v<40||v>240||v>b&&(b=v);}if(b>0){let h=window.scrollX,m=window.scrollY,y=0,v=0;try{let _=[],E=new Set;document.querySelectorAll('a[href^="#"]').forEach(x=>{let A=x.getAttribute("href").slice(1);if(!A)return;let k=document.getElementById(A);k&&!E.has(k)&&(E.add(k),_.push(k));});for(let x of _){if(v>=8)break;let A=getComputedStyle(x);if(A.display==="none"||A.visibility==="hidden")continue;v++,x.scrollIntoView({block:"start"});let k=x.getBoundingClientRect(),C=Math.max(k.height,1);Math.max(0,Math.min(k.bottom,b)-Math.max(k.top,0))/Math.min(C,b)>=.5&&y++;}}catch{}try{window.scrollTo(h,m);}catch{}let w=`scroll-margin-top: ${b+8}px; scroll-padding-top: ${b+8}px;`;v>0&&y>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 ${y}/${v} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):v===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${b}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:w});}return f},rh={name:"focusObscured",async detect(f){return f.evaluate(VR)}};var ah={name:"focusVisible",cap:40,async detect(f){let p=typeof f.keyboard?.press=="function";if(p)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(b=>{let m=[],y=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),v=document.querySelectorAll(y),w=document.activeElement;for(let _ of v){if(m.length>=40)break;if(typeof isWidget=="function"&&isWidget(_)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(_)||typeof isVisible=="function"&&!isVisible(_)||!_.offsetParent&&_.tagName!=="BODY")continue;let E=getComputedStyle(_),x=E.outline,A=E.outlineWidth,k=E.outlineStyle,C=E.boxShadow,F=E.border,R=E.backgroundColor;try{_.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==_)continue;let O=getComputedStyle(_),V=O.outline,$=(O.outlineStyle||"").toLowerCase(),z=parseFloat(O.outlineWidth||"0"),H=O.boxShadow,ee=O.border,U=O.backgroundColor,Y=V!==x,re=$!=="none"&&$!=="hidden"&&z>0;if(Y&&re||H!==C&&H!=="none"&&H!==""||ee!==F||U!==R||parseFloat(A)>0&&k!=="none")continue;let Fe=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();m.push({selector:Fe+":focus-visible",attribute:"style",currentValue:k+" "+A,issueType:"focus_not_visible",wcag:"2.4.7",context:`${_.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:_.outerHTML.slice(0,200),...b?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{w?w.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return m},p)}};var HR=()=>{let p=[],b=["new","register","signup","sign-up","sign_up","create","change","reset"],h=["confirm","verify","retype","re-type","repeat","again"];function m(A){if(!A)return false;let k=" "+((A.id||"")+" "+(A.className||"")+" "+(A.getAttribute("name")||"")+" "+(A.getAttribute("action")||"")).toLowerCase()+" ";for(let C=0;C<b.length;C++)if(k.indexOf(b[C])!==-1)return true;return false}function y(A){let k=((A.getAttribute("name")||"")+" "+(A.getAttribute("id")||"")+" "+(A.getAttribute("placeholder")||"")+" "+(A.getAttribute("aria-label")||"")).toLowerCase();for(let C=0;C<h.length;C++)if(k.indexOf(h[C])!==-1)return true;return false}let v=document.querySelectorAll("input[required], select[required], textarea[required]");for(let A of v){if(p.length>=30)break;let k=A;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let C=(k.getAttribute("aria-required")||"").trim().toLowerCase();if(C==="true")continue;let F=uniqueSel(k),R=(k.getAttribute("type")||k.tagName.toLowerCase()||"").toLowerCase();p.push({selector:F,attribute:"aria-required",currentValue:C,issueType:"missing_aria_required",wcag:"3.3.2",context:"required input missing aria-required | type: "+R+" | name: "+(k.getAttribute("name")||""),needsAI:false,fixValue:"true",outerHtml:(k.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("input[pattern]");for(let A of w){if(p.length>=30)break;let k=A;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k)||(k.getAttribute("title")||"").trim()||(k.getAttribute("aria-describedby")||"").trim())continue;let R=uniqueSel(k),O=(k.getAttribute("pattern")||"").slice(0,80),V=k.getAttribute("name")||"",$=k.getAttribute("placeholder")||"";p.push({selector:R,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+O+" | name: "+V+" | placeholder: "+$,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}let _=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let A of _){if(p.length>=30)break;let k=A;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let C=(k.getAttribute("autocomplete")||"").trim().toLowerCase();if(y(k)){if(C==="new-password")continue;let $=uniqueSel(k);p.push({selector:$,attribute:"autocomplete",currentValue:C,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(k.outerHTML||"").slice(0,300)});continue}if(C)continue;let R=k.form||k.closest("form"),O=m(R),V=uniqueSel(k);p.push({selector:V,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(O?"new/signup/change password form":"login form")+" | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:O?"new-password":"current-password",outerHtml:(k.outerHTML||"").slice(0,300)});}let E=document.querySelectorAll("form"),x=/\*|\brequired\b|\bmandatory\b/i;for(let A of E){if(p.length>=30)break;let k=A;if(isWidget(k)||!isVisible(k))continue;let C=k.querySelectorAll("input[required], select[required], textarea[required]");if(!C.length)continue;let F=0;for(let z of C)isVisible(z)&&F++;if(F===0)continue;let R=k.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),O=0;for(let z of R)isVisible(z)&&O++;if(F>=O||(k.getAttribute("data-asw-required-hint")||"").trim())continue;let V=(k.textContent||"").trim();if(x.test(V))continue;let $=uniqueSel(k);p.push({selector:$,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${F} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return p},nh={name:"formAttributes",cap:30,async detect(f){return f.evaluate(HR)}};var jR=()=>{let p=[],b=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(v=>{if(isWidget(v)||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.getClientRects().length===0)return false;let w=getComputedStyle(v).visibility;return !(w==="hidden"||w==="collapse")});if(b.length===0)return p;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,y=0;for(let v of b){if(p.length>=50)break;let w;if(v.getAttribute("role")==="heading"){let F=v.getAttribute("aria-level");w=F?parseInt(F,10):2;}else w=parseInt(v.tagName.charAt(1),10);if(isNaN(w)||w<1||w>6)continue;let E=v.closest(h)||document.body,x=m.get(E)??0,A=uniqueSel(v),k=(v.textContent||"").trim().slice(0,80),C=v.outerHTML.slice(0,300);if(w===1&&(y++,y>1&&(p.push({selector:A,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:k,h1Number:y,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:C}),w=2)),x>0&&w>x+1){let F=x+1;p.push({selector:A,attribute:"data-heading-skip",currentValue:String(w),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:k,currentLevel:w,previousLevel:x,expectedLevel:F,suggestion:"Should be h"+F+" (was h"+w+", previous was h"+x+") \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:C});}m.set(E,w);}return p},ih={name:"headingHierarchy",cap:50,async detect(f){return f.evaluate(jR)}};var $R=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",b=[],h=new Set;function m(y){let v=y,w=0;for(;v&&v!==document.body&&w<6;){if(v.getAttribute("aria-hidden")==="true")return true;v=v.parentElement,w++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(y=>{if(b.length>=50||y.closest(f)||!y.matches("a[href], button, [role=button]")||m(y))return;let v=getComputedStyle(y);if(v.display==="none"||v.visibility==="hidden")return;let w=uniqueSel(y);h.has(w)||(h.add(w),b.push({selector:w,attribute:"tabindex",currentValue:y.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(y=>{if(b.length>=50||y.closest(f)||m(y))return;let v=getComputedStyle(y),w=parseInt(v.width)||0,_=parseInt(v.height)||0;if((w===0||_===0)&&y.getAttribute("aria-hidden")!=="true"){let E=uniqueSel(y);if(h.has(E))return;h.add(E),b.push({selector:E,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),b},oh={name:"hiddenInteractive",cap:50,async detect(f){return f.evaluate($R)}};var zR=()=>{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"}]:[]},sh={name:"htmlLang",async detect(f){return f.evaluate(zR)}};var GR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],m=/^(iframe|embed|widget|frame|content|untitled)$/i,y=document.querySelectorAll("iframe");for(let v of y){if(b.length>=50)break;if(v.closest(f))continue;let w=(v.getAttribute("aria-hidden")||"").trim(),_=(v.getAttribute("role")||"").trim().toLowerCase();if(w==="true"||_==="presentation")continue;let E=getComputedStyle(v);if(v.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let x=(v.getAttribute("title")||"").trim(),A=x.length===0,k=!A&&(x.length<3||m.test(x));if(!A&&!k)continue;let C=(v.getAttribute("src")||"").toLowerCase(),F=uniqueSel(v),R=getNearbyContext(v),O="src: "+C.slice(0,120)+(R.nearbyHeading?" | heading: "+R.nearbyHeading:""),V=false;for(let $ of h)if(C.includes($.pattern)){b.push({selector:F,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:O,needsAI:false,fixValue:$.title,outerHtml:v.outerHTML.slice(0,300)}),V=true;break}!V&&A&&b.push({selector:F,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:O,needsAI:true,outerHtml:v.outerHTML.slice(0,300)});}return b},lh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(GR)}};var WR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],h=[],m={email:"email",tel:"tel",password:"current-password"},y=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],v=document.querySelectorAll("input, select, textarea");for(let w of v){if(h.length>=50)break;if(w.closest(f))continue;let _=w,E=(_.getAttribute("type")||"text").toLowerCase();if(p.includes(E)||_.getAttribute("autocomplete")||!isVisible(_))continue;let x="";if(m[E]&&(x=m[E]),!x){let k=(_.getAttribute("name")||"").toLowerCase(),C=(_.getAttribute("id")||"").toLowerCase(),F=(_.getAttribute("placeholder")||"").toLowerCase(),R=k+" "+C+" "+F;for(let O of y)if(R.includes(O.pattern)){x=O.autocomplete;break}}if(!x)continue;let A=uniqueSel(_);h.push({selector:A,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+E+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:x});}return h},uh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(WR)}};var UR=()=>{let p=[],b={alert:true,alertdialog:true,application:true,article:true,banner:true,blockquote:true,button:true,caption:true,cell:true,checkbox:true,code:true,columnheader:true,combobox:true,command:true,comment:true,complementary:true,composite:true,contentinfo:true,definition:true,deletion:true,dialog:true,directory:true,document:true,emphasis:true,feed:true,figure:true,form:true,generic:true,grid:true,gridcell:true,group:true,heading:true,img:true,input:true,insertion:true,landmark:true,link:true,list:true,listbox:true,listitem:true,log:true,main:true,marquee:true,math:true,menu:true,menubar:true,menuitem:true,menuitemcheckbox:true,menuitemradio:true,meter:true,navigation:true,none:true,note:true,option:true,paragraph:true,presentation:true,progressbar:true,radio:true,radiogroup:true,range:true,region:true,roletype:true,row:true,rowgroup:true,rowheader:true,scrollbar:true,search:true,searchbox:true,section:true,sectionhead:true,select:true,separator:true,slider:true,spinbutton:true,status:true,strong:true,structure:true,subscript:true,suggestion:true,superscript:true,switch:true,tab:true,table:true,tablist:true,tabpanel:true,term:true,textbox:true,time:true,timer:true,toolbar:true,tooltip:true,tree:true,treegrid:true,treeitem:true,widget:true,window:true},h=document.querySelectorAll("[role]");for(let m of h){if(p.length>=20)break;let y=m;if(isWidget(y))continue;let v=(y.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let w=v.split(/\s+/).filter(Boolean);if(w.length===0)continue;let _=true,E="";for(let x=0;x<w.length;x++)if(!b[w[x]]){_=false,E=w[x];break}_||p.push({selector:uniqueSel(y),attribute:"remove_attribute",currentValue:v,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+E+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(y.outerHTML||"").slice(0,300)});}return p},ch={name:"invalidAriaRole",cap:20,async detect(f){return f.evaluate(UR)}};var XR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],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(","),m=document.querySelectorAll(h);for(let y of m){if(b.length>=30)break;if(y.closest(f)||!y.hasAttribute("tabindex"))continue;let v=y.getAttribute("tabindex")||"",w=parseInt(v,10);if(!Number.isFinite(w)||w===0||y.getAttribute("aria-disabled")==="true"||y.getAttribute("aria-hidden")==="true"||y.closest('[aria-hidden="true"]')||y.closest("[hidden]"))continue;let _=y.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(_&&!(_.hasAttribute("open")||_.getAttribute("aria-modal")==="true"||_.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(y))continue;let E=(y.getAttribute("role")||"").toLowerCase();if(w<0&&y.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let A=typeof uniqueSel=="function"?uniqueSel(y):"",k=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},C,F;w<0?(C="keyboard_trap",F="2.1.1"):(C="focus_order_disruption",F="2.4.3");let R=[];R.push("tabindex: "+w),R.push("tag: "+y.tagName.toLowerCase()),E&&R.push("role: "+E),k.nearbyHeading&&R.push("heading: "+k.nearbyHeading),R.push("parent: "+k.parentTag),b.push({selector:A,attribute:"tabindex",currentValue:String(w),issueType:C,wcag:F,context:R.join(" | "),needsAI:false,fixValue:"0",outerHtml:(y.outerHTML||"").slice(0,300)});}return b},dh={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(XR)}};var YR=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],m=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let y of Array.from(m)){if(b.length>=40)break;if(y.closest(f)||typeof isVisible=="function"&&!isVisible(y))continue;let v="",w=[];try{let Q=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,fe=/icon|awesome|glyph|material symbols|dashicons/i,ce=!1;try{ce=fe.test(getComputedStyle(y).fontFamily||"");}catch{}let Se=document.createTreeWalker(y,NodeFilter.SHOW_TEXT),Fe;for(;Fe=Se.nextNode();){let Ae=Fe.parentElement;if(!Ae)continue;let Ge=(Fe.textContent||"").trim();if(!Ge||Ae===y&&ce)continue;let Re=!1;for(let He=Ae;He&&He!==y;He=He.parentElement){if(He.getAttribute("aria-hidden")==="true"){Re=!0;break}if(Q.test(He.className||"")||Q.test(He.id||"")){Re=!0;break}try{let Qe=getComputedStyle(He);if(Qe.display==="none"||Qe.visibility==="hidden"){Re=!0;break}if(fe.test(Qe.fontFamily||"")){Re=!0;break}}catch{}}Re||w.push(Ge);}v=w.join(" ").trim().toLowerCase();}catch{v=((y.innerText!=null?y.innerText:y.textContent)||"").trim().toLowerCase();}if(!v||!/[\p{L}\p{N}]/u.test(v)||/^\p{L}$/u.test(v))continue;let E=/[\p{L}\p{N}\p{M}]/u,x=(y.getAttribute("aria-label")||"").trim().toLowerCase();if(!x){let Q=y.getAttribute("aria-labelledby");Q&&(x=(typeof __resolveIdRefs=="function"?__resolveIdRefs(Q):"").toLowerCase());}if(!x)continue;let A=v.replace(/\s+/g," ").normalize("NFC"),k=x.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,F=(Q,fe)=>!Q||!E.test(Q)||C.test(Q)||C.test(fe),R=(Q,fe)=>{if(fe<=0)return "";let ce=Q.charCodeAt(fe-1);return ce>=56320&&ce<=57343&&fe>=2?Q.slice(fe-2,fe):Q.charAt(fe-1)},O=(Q,fe)=>{let ce=Q.codePointAt(fe);return ce===void 0?"":String.fromCodePoint(ce)},V=A.substring(0,40),$=A.length>=40,z=O(V,0),H=R(V,V.length),ee=false;for(let Q=0;!ee;){let fe=k.indexOf(V,Q);if(fe<0)break;F(R(k,fe),z)&&($||F(O(k,fe+V.length),H))&&(ee=true),Q=fe+1;}if(ee)continue;if(w.length>1){let Q=true,fe=0;for(let ce of w){let Se=ce.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!Se)continue;let Fe=Se.slice(0,40),Ae=-1;for(let Ge=fe;;){let Re=k.indexOf(Fe,Ge);if(Re<0)break;let He=F(R(k,Re),O(Fe,0)),Qe=Fe.length>=40||F(O(k,Re+Fe.length),R(Fe,Fe.length));if(He&&Qe){Ae=Re;break}Ge=Re+1;}if(Ae<0){Q=false;break}fe=Ae+Fe.length;}if(Q)continue}let U=typeof uniqueSel=="function"?uniqueSel(y):"",Y=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},re=[];re.push("visible: "+v.slice(0,40)),re.push("aria-label: "+x.slice(0,60)),Y.nearbyHeading&&re.push("heading: "+Y.nearbyHeading),re.push("parent: "+Y.parentTag),b.push({selector:U,attribute:"aria-label",currentValue:x,issueType:"label_in_name",wcag:"2.5.3",context:re.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return b},fh={name:"labelInName",cap:40,async detect(f){return f.evaluate(YR)}};var KR=()=>{function f(x){let A=x.closest("section,article,div,nav,main,aside,header,footer"),k=A?A.querySelector("h1,h2,h3,h4,h5,h6"):null;return k?(k.textContent||"").trim().slice(0,80):""}let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",b=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 y=document.querySelectorAll("div, section, ul, ol");for(let x of y){if(h.length>=b)break;if(x.closest(p)||!isVisible(x)||isHiddenFromAT(x)||x.tagName.toLowerCase()==="nav")continue;let A=x.getAttribute("role");if(A&&A!=="navigation")continue;let k=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),C=(x.id||"").toLowerCase();if(!(k.includes("nav")||k.includes("menu")||k.includes("navigation")||C.includes("nav")||C.includes("menu")||C.includes("navigation"))||x.closest('nav, [role="navigation"]'))continue;let R=x.querySelectorAll("a[href]");if(R.length<3)continue;let O=uniqueSel(x);h.push({selector:O,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:R.length,classes:k.slice(0,80)}),needsAI:false,fixValue:"navigation",outerHtml:x.outerHTML.slice(0,300)});}let v=document.querySelectorAll('aside, [role="complementary"]'),w=Array.from(v).filter(x=>!x.closest(p)&&isVisible(x)&&!isHiddenFromAT(x));if(w.length>1)for(let x of w){if(h.length>=b)break;let A=x.getAttribute("aria-label")||"",k=x.getAttribute("aria-labelledby")||"",C=x.getAttribute("title")||"";if(A.trim()||k.trim()||C.trim())continue;let F=f(x),R=uniqueSel(x);h.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:v.length,nearbyHeading:F}),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}let _=document.querySelectorAll('nav, [role="navigation"]'),E=Array.from(_).filter(x=>!x.closest(p)&&isVisible(x)&&!isHiddenFromAT(x));if(E.length>1)for(let x of E){if(h.length>=b)break;let A=x.getAttribute("aria-label")||"",k=x.getAttribute("aria-labelledby")||"",C=x.getAttribute("title")||"";if(A.trim()||k.trim()||C.trim())continue;let F=f(x),R=uniqueSel(x);h.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:_.length,nearbyHeading:F}),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return h},ph={name:"landmarkRoles",cap:50,async detect(f){return f.evaluate(KR)}};var JR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",b=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],h=[];function m(x){if(!x)return "";let A=x.split("#")[0];return A.length>1&&A.charAt(A.length-1)==="/"&&(A=A.substring(0,A.length-1)),A}function y(x){let A=(x.getAttribute("aria-label")||"").trim();return A||(x.textContent||"").trim().replace(/\s+/g," ")}function v(x){return !!x.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},_=document.querySelectorAll("a[href]");for(let x=0;x<_.length;x++){let A=_[x];if(A.closest(f)||A.getAttribute("aria-hidden")==="true"||!isVisible(A))continue;let k=A.getAttribute("href")||"";if(!k)continue;let C=k.toLowerCase();if(C.charAt(0)==="#"||C.indexOf("javascript:")===0||C.indexOf("mailto:")===0||C.indexOf("tel:")===0)continue;let F=A.href||k,R=m(F);if(!R||v(A))continue;let O=(A.textContent||"").trim(),V=!!A.querySelector("img, svg, picture");if(!O&&V)continue;let $=y(A);if(!$)continue;let z=$.toLowerCase();z===C||z===F.toLowerCase()||(w[R]||(w[R]=[]),w[R].push(A));}let E=Object.keys(w);for(let x=0;x<E.length&&!(h.length>=30);x++){let A=w[E[x]];if(!A||A.length<2)continue;let k={},C="";for(let V=0;V<A.length;V++){let $=y(A[V]),z=$.toLowerCase();k[z]=true,$.length>C.length&&(C=$);}if(Object.keys(k).length<2)continue;let R=C.toLowerCase().trim();if(R.length<5)continue;let O=false;for(let V=0;V<b.length;V++)if(R===b[V]){O=true;break}if(!O)for(let V=0;V<A.length&&!(h.length>=30);V++){let $=A[V],z=y($);if(z.toLowerCase()===R)continue;let H=uniqueSel($);h.push({selector:H,attribute:"aria-label",currentValue:z,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+A.length+' link(s) on this page with different text (e.g. "'+C.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:$.outerHTML.slice(0,300)});}}return h},mh={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(JR)}};var ZR=()=>{let p=[],b=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],h={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},m="";try{m=window.location&&window.location.hostname||"";}catch{m="";}m=(m||"").toLowerCase();function y(F,R){if(!F||!R)return false;if(F===R||F.endsWith("."+R)||R.endsWith("."+F))return true;let O=V=>{let $=V.split(".");if($.length<=2)return V;let z=$[$.length-1],H=$[$.length-2],ee=["co","com","net","org","ac","gov","edu"],U=z.length===2&&ee.indexOf(H)>=0?3:2;return $.slice(-U).join(".")};return O(F)===O(R)}function v(F){return F.indexOf("www.")===0?F.slice(4):F}function w(F){if(!F)return "";let R=F.toLowerCase();if(R.charAt(0)==="#"||R.charAt(0)==="/"||R.charAt(0)==="?"||R.indexOf("javascript:")===0||R.indexOf("mailto:")===0||R.indexOf("tel:")===0)return "";try{return (new window.URL(F,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function _(F){if(!F)return "";let R=F,O=R.indexOf("?");O>=0&&(R=R.slice(0,O));let V=R.indexOf("#");V>=0&&(R=R.slice(0,V)),R=R.toLowerCase();for(let $=0;$<b.length;$++){let z=b[$];if(R.length>=z.length&&R.slice(R.length-z.length)===z)return z}return ""}function E(F){let R=[],O=(F.getAttribute("aria-label")||"").trim();O&&R.push(O);let V=(F.getAttribute("title")||"").trim();V&&R.push(V);let $=F.getAttribute("aria-labelledby");if($)try{let z=typeof __resolveIdRefs=="function"?__resolveIdRefs($):"";z&&R.push(z);}catch{}return R.push((F.textContent||"").trim()),R.join(" ").toLowerCase()}function x(F,R,O){let V="";try{typeof getAccessibleName=="function"&&(V=(getAccessibleName(F)||"").trim());}catch{}let $=(R||O||V||F.textContent||"").replace(/\s+/g," ").trim();return $||(F.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function A(F,R){let V=200-R.length;V<8&&(V=8);let $=F;if($.length>V){let z=$.slice(0,V),H=z.lastIndexOf(" ");H>V*.6&&(z=z.slice(0,H)),$=z.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return ($+R).slice(0,200)}let k=document.querySelectorAll("a"),C=k.length;for(let F=0;F<C&&!(p.length>=50);F++){let R=k[F];if(!R||isWidget(R)||R.getAttribute("aria-hidden")==="true")continue;try{if(R.closest&&R.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(R))continue;let O=R.getAttribute("href");if(O==null)continue;let V=String(O).trim();if(!V)continue;let $=V.toLowerCase(),z=E(R),H=(R.getAttribute("rel")||"").toLowerCase(),ee=uniqueSel(R),U=(R.textContent||"").trim().slice(0,80),Y=(R.getAttribute("target")||"").toLowerCase(),re=(R.outerHTML||"").slice(0,300),Q=V==="#",fe=$.indexOf("javascript:")===0;if((Q||fe)&&(R.getAttribute("role")||"").toLowerCase()!=="button"){let Re=R.hasAttribute&&R.hasAttribute("onclick"),He=R.hasAttribute&&(R.hasAttribute("data-action")||R.hasAttribute("data-click")||R.hasAttribute("data-toggle")||R.hasAttribute("data-target")),Qe=typeof R.onclick=="function",nt=Re||He||Qe,wt=[];wt.push("href: "+V),U&&wt.push("text: "+U),wt.push(nt?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let ht='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"]',Tt=Ee=>{let qn=getComputedStyle(Ee);return qn.display!=="none"&&qn.visibility!=="hidden"},Me=Array.prototype.some.call(R.querySelectorAll(ht),Ee=>Tt(Ee)&&!isHiddenFromAT(Ee));nt&&!Me&&p.push({selector:ee,attribute:"role",currentValue:V,issueType:"placeholder_link",wcag:"2.4.4",context:wt.join(" | "),needsAI:false,fixValue:"button",outerHtml:re});continue}if(V.charAt(0)==="#"&&V.length>1){let Ge=V.slice(1),Re=Ge;try{Re=decodeURIComponent(Ge);}catch{Re=Ge;}let He=null;try{He=document.getElementById(Re);}catch{He=null;}if(!He)try{He=document.querySelector('[name="'+Re.replace(/"/g,'\\"')+'"]');}catch{He=null;}continue}let ce=_($);if(ce){let Ge=R.hasAttribute&&R.hasAttribute("download"),Re=(h[ce]||ce).toLowerCase(),He=z.indexOf(ce)>=0||z.indexOf(Re)>=0||z.indexOf("download")>=0;if(!Ge&&!He){let Qe=x(R,(R.getAttribute("aria-label")||"").trim(),""),nt=A(Qe," ("+(h[ce]||ce)+" download)");p.push({selector:ee,attribute:"aria-label",currentValue:(R.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ce+" | href: "+V.slice(0,120),needsAI:false,fixValue:nt,outerHtml:re});continue}}let Se=w(V),Fe=$.indexOf("http://")===0||$.indexOf("https://")===0||$.indexOf("//")===0,Ae=!!Se&&!!m&&!y(v(Se),v(m));if(Y==="_blank"){let Ge=H.indexOf("noopener")>=0||H.indexOf("noreferrer")>=0,Re=z.indexOf("new window")>=0||z.indexOf("new tab")>=0||z.indexOf("opens in")>=0;if(!Re){let He=(R.getAttribute("aria-label")||"").trim(),Qe="",nt=R.getAttribute("aria-labelledby")||"";if(!He&&nt)try{typeof __resolveIdRefs=="function"&&(Qe=(__resolveIdRefs(nt)||"").trim());}catch{}let wt=x(R,He,Qe),ht=A(wt," (opens in new window)"),Tt=[];Ge||Tt.push("missing rel=noopener"),Re||Tt.push('missing "new window" hint'),Tt.push("href: "+V.slice(0,120)),p.push({selector:ee,attribute:"aria-label",currentValue:(R.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Tt.join(" | "),needsAI:false,fixValue:ht,outerHtml:re});continue}}if(Ae&&Fe){let Ge=H.indexOf("external")>=0,Re=z.indexOf("external")>=0||z.indexOf("opens in")>=0||z.indexOf("new window")>=0||z.indexOf("new tab")>=0;if(!Ge&&!Re){let He=(R.getAttribute("aria-label")||"").trim(),Qe="",nt=R.getAttribute("aria-labelledby")||"";if(!He&&nt)try{typeof __resolveIdRefs=="function"&&(Qe=(__resolveIdRefs(nt)||"").trim());}catch{}let wt=x(R,He,Qe),ht=A(wt," (external link)");p.push({selector:ee,attribute:"aria-label",currentValue:(R.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+Se+" (page: "+m+") | href: "+V.slice(0,120),needsAI:false,fixValue:ht,outerHtml:re});}}}return p},hh={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(ZR)}};var QR=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",b=[],h=new Set,m=document.querySelectorAll('main, [role="main"]'),y=[];return m.forEach(v=>{let w=getComputedStyle(v);w.display!=="none"&&w.visibility!=="hidden"&&y.push(v);}),m.forEach(v=>{if(b.length>=10||v.closest(f)||v.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(v);if(w.display==="none"||w.visibility==="hidden"||v.closest('[role="dialog"]')||v.closest('[role="alertdialog"]')||v.closest("dialog")||y.some(A=>A!==v&&A.getAttribute("aria-hidden")!=="true"))return;let E=v.parentElement;for(;E&&E!==document.body&&E!==document.documentElement;){if(E.getAttribute("aria-hidden")==="true")return;E=E.parentElement;}let x=uniqueSel(v);h.has(x)||(h.add(x),b.push({selector:x,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:v.tagName.toLowerCase(),role:v.getAttribute("role")||"",suggestion:'Main content container has aria-hidden="true", hiding the entire page from assistive technology. Set aria-hidden="false" to restore visibility.'}),needsAI:false,fixValue:"false",outerHtml:(v.outerHTML||"").slice(0,300)}));}),b},gh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(QR)}};var eI=()=>{let p=[];function b(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(p.length>=10)break;let w=v;if(b(w))continue;let _=w.hasAttribute("controls"),E=w.hasAttribute("autoplay"),x=w.hasAttribute("muted"),A=typeof isVisible=="function"?isVisible(w):true;if(!_&&A&&(p.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),p.length>=10))break;E&&!x&&p.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:h(w)});}let y=document.querySelectorAll("audio");for(let v of y){if(p.length>=10)break;let w=v;if(b(w))continue;let _=w.hasAttribute("controls"),E=w.hasAttribute("autoplay");if(!_&&(p.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),p.length>=10))break;E&&p.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:h(w)});}return p},vh={name:"mediaControls",cap:10,async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],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|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,y=document.querySelectorAll("img");for(let v of y){if(b.length>=50)break;if(v.closest(f))continue;let w=v.getAttribute("src")||"",_=v.getAttribute("alt");if(w.startsWith("data:"))continue;let E=v.naturalWidth||v.width,x=v.naturalHeight||v.height;if(E<=3&&x<=3&&E>0&&x>0||E<=2&&x<=2)continue;let A=v.getBoundingClientRect();if(A.width<=2&&A.height<=2||!isVisible(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]'))continue;let k=(v.getAttribute("aria-label")||"").trim(),C=(v.getAttribute("aria-labelledby")||"").trim();if(k||C)continue;let F=v.getBoundingClientRect(),R=F.width>0&&F.width<=30&&F.height<=30,O=!!v.closest('a, button, [role="button"], [role="link"]');if(R&&!O&&_===null){let ee=uniqueSel(v);b.push({selector:ee,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(F.width)+"x"+Math.round(F.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(_===null){let ee=uniqueSel(v),U=getNearbyContext(v),Y=[],re=v.closest("figure");if(re){let ce=re.querySelector("figcaption");ce&&Y.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}U.nearbyHeading&&Y.push("heading: "+U.nearbyHeading);let Q=v.closest("a");if(Q){let ce=Q.getAttribute("href")||"",Se=(Q.textContent||"").trim().replace(/\s+/g," ");Se&&Y.push("link text: "+Se.slice(0,60)),ce&&Y.push("link href: "+ce.slice(0,80));}w&&Y.push("src: "+w.slice(0,120)),Y.push("parent: "+U.parentTag);let fe=w;try{fe=new URL(w,document.baseURI).href;}catch{}b.push({selector:ee,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:Y.join(" | "),needsAI:true,imageSrc:fe,outerHtml:v.outerHTML.slice(0,300)});continue}let V=(_||"").trim();if(V==="")continue;let $=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(V),z=h.test(V),H=m.test(V);if($||z||H){let ee=uniqueSel(v),U=getNearbyContext(v),Y=[];U.nearbyHeading&&Y.push("heading: "+U.nearbyHeading),w&&Y.push("src: "+w.slice(0,120)),Y.push("parent: "+U.parentTag);let re=w;try{re=new URL(w,document.baseURI).href;}catch{}b.push({selector:ee,attribute:"alt",currentValue:V,issueType:"missing_alt",wcag:"1.1.1",context:Y.join(" | "),needsAI:true,imageSrc:re,outerHtml:v.outerHTML.slice(0,300)});}}return b},bh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image"],b=["wpnonce","_token","csrf","nonce","captcha"],m=[],y=document.querySelectorAll("input, select, textarea");for(let v of y){if(m.length>=50)break;if(v.closest(f))continue;let w=v,_=w.getAttribute("type")||w.tagName.toLowerCase();if(p.includes(_.toLowerCase())||!isVisible(w)||w.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(w).display==="none")continue;let A=w.getAttribute("id")||"",k=w.getAttribute("name")||"",C=(A+" "+k).toLowerCase();if(b.some(ee=>C.includes(ee)))continue;let F=false;if(A){let ee=document.querySelector('label[for="'+CSS.escape(A)+'"]');ee&&(ee.textContent||"").trim()&&(F=true);}if(!F){let ee=w.closest("label");ee&&(ee.textContent||"").trim()&&(F=true);}if(!F&&(w.getAttribute("aria-label")||"").trim()&&(F=true),!F){let ee=w.getAttribute("aria-labelledby");ee&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(ee)&&(F=true);}if(!F&&(w.getAttribute("title")||"").trim()&&(F=true),F)continue;let R=uniqueSel(w),O=getNearbyContext(w),V=(w.getAttribute("placeholder")||"").trim(),$=w.closest("form"),z=$&&($.getAttribute("id")||$.getAttribute("action"))||"",H=[];V&&H.push("placeholder: "+V),k&&H.push("name: "+k),_&&H.push("type: "+_),z&&H.push("form: "+z.slice(0,60)),O.nearbyHeading&&H.push("heading: "+O.nearbyHeading),H.push("parent: "+O.parentTag),m.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:H.join(" | "),needsAI:true,outerHtml:w.outerHTML.slice(0,300)});}return m},yh={name:"missingLabels",cap:50,async detect(f){return f.evaluate(rI)}};var aI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",b=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let x=E.getAttribute("role");if(x==="button"||x==="link"||x==="tab"||x==="menuitem"||x==="checkbox"||x==="radio")return;let A=uniqueSel(E),k=E.outerHTML.slice(0,300);b.push({selector:A,attribute:"role",currentValue:x||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),hasOnclick:true,currentTabindex:E.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:k}),E.getAttribute("tabindex")===null&&b.push({selector:A,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:k});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let A=E.hasAttribute("onclick"),k=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!A&&!k)return;let C=uniqueSel(E),F=E.outerHTML.slice(0,300);b.push({selector:C,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:E.getAttribute("href")||"",hasOnclick:A}),needsAI:false,fixValue:"button",outerHtml:F});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let A=E.getAttribute("href")||"",k=false;if(A.startsWith("#")&&A.length>1){if(A.charAt(1)==="/")return;let O=A.slice(1);if(document.getElementById(O))return;try{if(document.querySelector('[name="'+CSS.escape(O)+'"]'))return}catch{}k=true;}let C=A.startsWith("javascript:")||E.hasAttribute("onclick")||E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click")||E.hasAttribute("aria-haspopup")||E.hasAttribute("aria-expanded")||E.hasAttribute("aria-controls"),F=k&&!C,R=uniqueSel(E);b.push({selector:R,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:A,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:E.outerHTML.slice(0,300),...F?{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(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let x=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),A=(E.id||"").toLowerCase();if(!x.includes("breadcrumb")&&!x.includes("crumb")&&!A.includes("breadcrumb")&&!A.includes("crumb"))return;let k=E.querySelectorAll("a");if(k.length<2)return;let C=(E.getAttribute("aria-label")||"").toLowerCase(),F=E.getAttribute("role");if(C.includes("breadcrumb")||C.includes("crumb")||F==="navigation"&&C)return;let R=uniqueSel(E);b.push({selector:R,attribute:"aria-label",currentValue:C,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:k.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(b.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let x=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),A=(E.id||"").toLowerCase();if(!x.includes("search")&&!A.includes("search")||!E.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let C=E.getAttribute("role");if(C==="search"||E.closest('[role="search"]')||E.querySelector('[role="search"]')||Array.prototype.some.call(E.querySelectorAll("form, section, div"),O=>{let V=(O.className&&typeof O.className=="string"?O.className:"").toLowerCase(),$=(O.id||"").toLowerCase();return !V.includes("search")&&!$.includes("search")||O.getAttribute("role")==="search"?false:!!O.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let R=uniqueSel(E);b.push({selector:R,attribute:"role",currentValue:C||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(E=>{if(E.closest(f))return;let x=E.getAttribute("role")||"menu",A=Array.from(E.querySelectorAll("a")).filter(C=>{if(!isVisible(C)||isHiddenFromAT(C))return false;let F=C.getAttribute("role");return F!=="menuitem"&&F!=="menuitemcheckbox"&&F!=="menuitemradio"});if(A.length===0)return;let k=uniqueSel(E);b.push({selector:k,attribute:"role",currentValue:x,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:`${A.length} link(s) inside role="${x}" without menuitem roles`,sample:A.slice(0,3).map(C=>(C.textContent||"").trim().slice(0,40))}),message:`container role="${x}" holds ${A.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:E.outerHTML.slice(0,300)});}),b},wh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(aI)}};var nI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],h={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},m=y=>{let v=E=>{let x=E.tagName.toLowerCase(),A=E.parentElement;if(!A)return x;let k=Array.from(A.children).filter(C=>C.tagName===E.tagName);return k.length>1?`${x}:nth-of-type(${k.indexOf(E)+1})`:x},w=[],_=y;for(;_&&_!==document.body&&_!==document.documentElement;)w.unshift(v(_)),_=_.parentElement;return w.length?w.join(" > "):y.tagName.toLowerCase()};for(let[y,v]of Object.entries(h)){let w=Array.from(document.querySelectorAll(v));w=w.filter(_=>!_.closest(f)),w=w.filter(_=>typeof isVisible=="function"?isVisible(_):true),w=w.filter(_=>_.getAttribute("aria-hidden")!=="true"),!(w.length<2)&&w.forEach(_=>{if(b.length>=30||(_.getAttribute("aria-label")||"").trim()||(_.getAttribute("title")||"").trim())return;let E=_.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))return;let x=typeof uniqueSel=="function"?uniqueSel(_):m(_),A=typeof getNearbyContext=="function"?getNearbyContext(_):{nearbyHeading:""},k=_.querySelector("h1, h2, h3, h4, h5, h6"),C=k?(k.textContent||"").trim().slice(0,60):"";b.push({selector:x,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${y} | total: ${w.length} | inner-heading: ${C} | nearby: ${A.nearbyHeading||""}`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});});}return b},xh={name:"multipleLandmarks",cap:30,async detect(f){return f.evaluate(nI)}};var iI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[],h={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[m,y]of Object.entries(h))document.querySelectorAll(y).forEach(w=>{if(b.length>=30||w.closest(f)||typeof isVisible=="function"&&!isVisible(w))return;let _=w.parentElement,E=null;for(;_&&_!==document.body;){if(_.matches(y)){E=_;break}_=_.parentElement;}if((m==="banner"||m==="contentinfo")&&w.closest("article, section, aside, main, nav")||!E||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let x=typeof uniqueSel=="function"?uniqueSel(w):"",A=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};b.push({selector:x,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${m} | tag: ${w.tagName.toLowerCase()} | heading: ${A.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return b},Dh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(iI)}};var oI=()=>{let p=[],b=x=>typeof parseCssColor=="function"?parseCssColor(x):null,h=(x,A,k)=>typeof relLuminance=="function"?relLuminance(x,A,k):0,y=(x,A)=>typeof contrastRatio=="function"?contrastRatio(x,A):1;function v(x){let A=x.parentElement,k=0;for(;A&&A!==document.documentElement&&k<6;){let C=getComputedStyle(A).backgroundColor||"",F=b(C);if(F&&F[3]>.5)return [F[0],F[1],F[2]];A=A.parentElement,k++;}return [255,255,255]}function w(x,A,k){return "#"+[x,A,k].map(C=>{let F=Math.max(0,Math.min(255,Math.round(C))).toString(16);return F.length===1?"0"+F:F}).join("")}function _(x,A,k){let F=h(A[0],A[1],A[2])>.5,R=0,O=1,V=null;for(let $=0;$<20;$++){let z=(R+O)/2,H=F?[x[0]*(1-z),x[1]*(1-z),x[2]*(1-z)]:[x[0]+(255-x[0])*z,x[1]+(255-x[1])*z,x[2]+(255-x[2])*z];y(H,A)>=k?(V=[Math.round(H[0]),Math.round(H[1]),Math.round(H[2])],O=z):R=z;}return V}let E=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let x of E){if(p.length>=30)break;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let A=getComputedStyle(x),k=v(x),C=b(A.backgroundColor||""),F=b(A.borderTopColor||""),R=parseFloat(A.borderTopWidth||"0"),O=(A.borderTopStyle||"").toLowerCase(),V=R>0&&O!=="none"&&O!=="hidden",$=x.tagName.toLowerCase(),z=$==="input"||$==="select"||$==="textarea",H=null,ee=false,U="";if(z)if(V&&F&&F[3]>.5){let Ae=y([F[0],F[1],F[2]],k);H=Ae,Ae<3&&(ee=true);}else if(C&&C[3]>.5){let Ae=y([C[0],C[1],C[2]],k);H=Ae,Ae<3&&(ee=true);}else ee=true,H=1;else {let Ae=false,Ge=document.createTreeWalker(x,4),Re=Ge.nextNode();for(;Re;){if((Re.textContent||"").trim()&&Re.parentElement&&isVisible(Re.parentElement)){Ae=true;break}Re=Ge.nextNode();}if(Ae)continue;let He=x.querySelector('img, svg, picture, canvas, i[class], [class*="icon"]'),Qe=!!(He&&isVisible(He)),nt=false,wt=A.position;if((wt==="absolute"||wt==="fixed")&&x.parentElement){let ht=x.getBoundingClientRect(),Tt=x.parentElement.getBoundingClientRect(),Me=Tt.width*Tt.height;Me>0&&ht.width*ht.height/Me>=.85&&(nt=true);}if(Qe||nt){if(ee=true,H=V&&F&&F[3]>.5?y([F[0],F[1],F[2]],k):1,H>=3)continue;U=Qe?"control is identified by an image or icon \u2014 verify the graphic itself 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 if(V&&F&&F[3]>.5){let ht=y([F[0],F[1],F[2]],k);H=ht,ht<3&&(ee=true);}else if(C&&C[3]>.5){let ht=y([C[0],C[1],C[2]],k);H=ht,ht<3&&(ee=true);}else ee=true,H=1;}if(!ee)continue;let Y=F&&F[3]>.5?[F[0],F[1],F[2]]:C&&C[3]>.5?[C[0],C[1],C[2]]:[128,128,128],re=_(Y,k,3);if(!re)continue;let Q=w(re[0],re[1],re[2]),fe=w(k[0],k[1],k[2]),ce="border: 1px solid "+Q+" !important;",Se=uniqueSel(x),Fe=x.tagName.toLowerCase();p.push({selector:Se,attribute:"style",currentValue:H?H.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Fe+" bg="+fe+" ratio="+(H?H.toFixed(2):"?")+" needs=3",needsAI:false,...U?{needsReview:true,reviewReason:U}:{fixValue:ce},outerHtml:x.outerHTML.slice(0,200)});}return p},_h={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,m=document.querySelectorAll("[onfocus]");for(let y of Array.from(m)){if(b.length>=20)break;if(y.closest(f))continue;let v=y.getAttribute("onfocus")||"";if(!v||!h.test(v))continue;let w=typeof uniqueSel=="function"?uniqueSel(y):"",_=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("tag: "+y.tagName.toLowerCase()),E.push("onfocus: "+v.slice(0,100)),_.nearbyHeading&&E.push("heading: "+_.nearbyHeading),E.push("parent: "+_.parentTag),b.push({selector:w,attribute:"onfocus",currentValue:v.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:E.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return b},Ah={name:"onFocus",cap:20,async detect(f){return f.evaluate(sI)}};var lI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h={navigation:["nav"],main:["main"],banner:["header"],contentinfo:["footer"],complementary:["aside"],button:["button"],link:["a"],form:["form"],search:["search"],article:["article"],region:["section"],heading:["h1","h2","h3","h4","h5","h6"],list:["ul","ol"],listitem:["li"],img:["img"],table:["table"],row:["tr"],cell:["td"],columnheader:["th"]},m=document.querySelectorAll("[role]");for(let y of m){if(b.length>=50)break;if(y.closest(f))continue;let v=(y.getAttribute("role")||"").trim().toLowerCase();if(!v)continue;let w=y.tagName.toLowerCase(),_=h[v];if(!_||!_.includes(w)||v==="link"&&w==="a"&&!y.hasAttribute("href")||(v==="banner"||v==="contentinfo")&&y.closest("article, section, aside, main, nav")||(v==="region"&&w==="section"||v==="form"&&w==="form")&&!((y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim())||v==="complementary"&&w==="aside"&&y.parentElement&&y.parentElement.closest("article, section, aside, main, nav")&&!((y.getAttribute("aria-label")||"").trim()||(y.getAttribute("aria-labelledby")||"").trim()||(y.getAttribute("title")||"").trim())||(v==="list"||v==="listitem")&&(w==="ul"||w==="ol"||w==="li")&&getComputedStyle(y).listStyleType==="none")continue;let E=uniqueSel(y);b.push({selector:E,attribute:"remove_attribute",currentValue:v,issueType:"redundant_role",wcag:"4.1.2",context:"tag: <"+w+'> already has implicit role "'+v+'"',needsAI:false,fixValue:"role"});}return b},Eh={name:"redundantRoles",cap:50,async detect(f){return f.evaluate(lI)}};var uI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",h=[],m=new Set,y=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(w=>{if(h.length>=30||w.closest(f))return;let _=w.tagName;if(_==="BODY"||_==="HTML"||!isVisible(w)||isHiddenFromAT(w)||w.hasAttribute("tabindex"))return;let E=w.getAttribute("role");if(E&&y.has(E))return;let x=getComputedStyle(w),A=x.overflowY,k=x.overflowX,C=A==="auto"||A==="scroll",F=k==="auto"||k==="scroll";if(!C&&!F)return;let R=C&&w.scrollHeight-w.clientHeight>50,O=F&&w.scrollWidth-w.clientWidth>50;if(!R&&!O||w.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let $=uniqueSel(w);if(m.has($))return;m.add($);let{nearbyHeading:z}=getNearbyContext(w),H="";if(z)H=z;else {let Y=(typeof w.className=="string"?w.className:"").toLowerCase(),re=(w.id||"").toLowerCase();Y.includes("code")||Y.includes("snippet")||_==="PRE"||_==="CODE"?H="Code block":Y.includes("terms")||Y.includes("tos")||Y.includes("legal")?H="Terms and conditions":Y.includes("chat")||Y.includes("message")?H="Chat messages":Y.includes("table")||Y.includes("data")?H="Data table":re?H=re.replace(/[-_]/g," "):H="Scrollable content";}let ee=(w.outerHTML||"").slice(0,300);h.push({selector:$,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),overflowY:C?A:void 0,overflowX:F?k:void 0,scrollHeight:w.scrollHeight,clientHeight:w.clientHeight,scrollWidth:w.scrollWidth,clientWidth:w.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:ee}),E||h.push({selector:$,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:ee}),w.getAttribute("aria-label")||w.getAttribute("aria-labelledby")||h.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),labelHint:H,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:ee});}),h},Ch={name:"scrollableFocus",cap:30,async detect(f){return f.evaluate(uI)}};var cI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",b=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],h=[],m=document.querySelectorAll("b, i");for(let y=0;y<m.length&&!(h.length>=30);y++){let v=m[y];if(v.closest(f)||v.getAttribute("aria-hidden")==="true"||v.parentElement&&v.parentElement.closest("strong, em"))continue;let w=v.className&&typeof v.className=="string"?v.className.toLowerCase():"";if(w){let k=false;for(let C=0;C<b.length;C++)if(w.indexOf(b[C])!==-1){k=true;break}if(k)continue}let _=(v.textContent||"").trim();if(!_)continue;let E=v.tagName.toLowerCase(),x=E==="b"?"strong":"em",A=uniqueSel(v);h.push({selector:A,attribute:"tagName",currentValue:E,fixValue:x,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+E+'> used for "'+_.slice(0,60)+'". Replace with <'+x+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:v.outerHTML.slice(0,300)});}return h},Sh={name:"semanticEmphasis",cap:30,async detect(f){return f.evaluate(cI)}};var dI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=[],b=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],h=false;for(let x of b){let A=document.querySelector(x);if(A&&!A.closest(f)){h=true;break}}if(!h){let x=document.querySelectorAll('a[href^="#"]');for(let A of x){if(A.closest(f))continue;let k=(A.textContent||"").toLowerCase();if(k.includes("skip")&&(k.includes("main")||k.includes("content")||k.includes("nav"))){h=true;break}}}if(h)return p;let m="",y=document.querySelector('main[id], [role="main"][id]');if(y&&y.getAttribute("id"))m=y.getAttribute("id");else {let x=document.querySelector("h1[id]");if(x&&x.getAttribute("id"))m=x.getAttribute("id");else {let A=["main-content","maincontent","main","content","skip-content"];for(let k of A)if(document.getElementById(k)){m=k;break}}}let v=m==="",w=m||"main-content",E="<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 p.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:v?'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:E,...v?{needsReview:true,reviewReason:'No element with a referenceable id was found for the skip-link target. Add id="main-content" to the <main> landmark (or point the link at a real anchor) before applying this fix.'}:{}}),p},kh={name:"skipLink",async detect(f){return f.evaluate(dI)}};var fI=()=>{let b=[],h=document.querySelectorAll("*"),m=0;for(let y of Array.from(h)){if(m++>5e3||b.length>=20)break;if(y.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(y))continue;let w=getComputedStyle(y).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let _=w.match(/url\((['"]?)(.*?)\1\)/);if(!_)continue;let E=_[2];if(!E||E.startsWith("data:")&&E.length<256)continue;let x=y.getBoundingClientRect();if(x.width<32||x.height<32)continue;let A=y.tagName.toLowerCase(),k=y.getAttribute("role")||"",C=A==="a"||A==="button"||k==="button"||k==="link"||y.closest("a,button,[role=button],[role=link]")!==null,F=(y.textContent||"").trim().length>0,R=!!y.getAttribute("aria-label"),O=!!y.getAttribute("aria-labelledby"),V=!!y.getAttribute("title"),$=!!y.querySelector('img[alt]:not([alt=""])');if(R||O||V||$||F||!C)continue;let z=y.closest("a,button,[role=button],[role=link]");if(z&&z!==y){let Y=(z.textContent||"").trim(),re=z.getAttribute("aria-label")||z.getAttribute("title")||"",Q=z.getAttribute("aria-labelledby"),fe=!!z.querySelector('img[alt]:not([alt=""])');if(Y||re.trim()||Q||fe)continue}let H=E;try{H=new URL(E,location.href).toString();}catch{continue}let ee=typeof uniqueSel=="function"?uniqueSel(y):"",U=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:A,nearbyHeading:""};b.push({selector:ee,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${H.slice(0,140)} | tag: ${A} | role: ${k||"(none)"} | parent: ${U.parentTag}${U.nearbyHeading?" | heading: "+U.nearbyHeading:""}`,needsAI:true,imageSrc:H,outerHtml:(y.outerHTML||"").slice(0,300)});}return b},Th={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(fI)}},pI=()=>{let f=[],p=Array.from(document.querySelectorAll("h1")),b=p.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(b.length===0)f.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${p.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(b.length>1)for(let h=1;h<b.length&&h<5;h++){let m=b[h],y=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:y,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${b.length} <h1> elements on page. Text: ${JSON.stringify((m.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Fh={name:"h1Presence",async detect(f){return f.evaluate(pI)}},mI=()=>{let p=[],b=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let h of Array.from(b)){if(p.length>=15)break;if(h.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(h)||(h.textContent||"").trim().length>0)continue;let y=h.getAttribute("aria-label");if(y&&y.trim()||h.getAttribute("aria-labelledby")||h.getAttribute("aria-hidden")==="true")continue;let v=typeof uniqueSel=="function"?uniqueSel(h):"";p.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 p},Rh={cap:15,name:"emptyHeadings",async detect(f){return f.evaluate(mI)}},hI=()=>{let p=[],b=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let h of Array.from(b)){if(p.length>=15)break;if(h.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(h))continue;let m=(h.getAttribute("role")||"").toLowerCase();if(m==="button")continue;let y=(h.textContent||"").trim();if(!y)continue;let v=typeof uniqueSel=="function"?uniqueSel(h):"";p.push({selector:v,attribute:"role",currentValue:m||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(y.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(h.outerHTML||"").slice(0,200)});}return p},Ih={cap:15,name:"javascriptLinks",async detect(f){return f.evaluate(hI)}};var gI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",b=[];return document.querySelectorAll("svg").forEach(m=>{if(b.length>=50||m.closest(f)||!isVisible(m)||m.getAttribute("aria-hidden")==="true")return;let v=m.getAttribute("role");if(v==="presentation"||v==="none"||m.closest('[aria-hidden="true"]'))return;let w=m.getAttribute("aria-label")||"",_=m.getAttribute("aria-labelledby")||"",E=m.querySelector("title"),x=E?(E.textContent||"").trim():"";if(w.trim()||_.trim()||x)return;let A=m.getBoundingClientRect(),k=A.width<=16&&A.height<=16;if(A.width<=4||A.height<=4||m.getAttribute("preserveAspectRatio")==="none")return;let C=m.closest('a, button, [role="button"], [role="link"], [onclick]');if(C){if(C.getAttribute("aria-label")?.trim()||C.getAttribute("aria-labelledby")?.trim())return;let re=getAccessibleName(C),Q=C.cloneNode(true);Q.querySelectorAll("svg").forEach(ce=>ce.remove());let fe=(Q.textContent||"").trim().replace(/\s+/g," ");if(re&&fe.length>0)return}else {if(k)return;let re=m.parentElement;if(re&&(re.textContent||"").trim().replace(/\s+/g," ").length>3)return}let F=uniqueSel(m),R=getNearbyContext(C||m),O=C&&C.getAttribute("href")||"",V=(C||m).outerHTML.slice(0,300),$=m.getAttribute("class")||"",z=m.getAttribute("data-icon")||"",H=C||m,ee=H&&H!==m&&H.getAttribute("class")||"",U=typeof lookupIconLabel=="function"?lookupIconLabel(String($),z,"")||lookupIconLabel(String(ee),"",""):null,Y=C?uniqueSel(C):F;b.push({selector:Y,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(C||m).tagName?(C||m).tagName.toLowerCase():"svg",href:O,nearbyHeading:R.nearbyHeading,parentRole:R.parentRole,svgClasses:$,iconLib:U||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!U,fixValue:U||void 0,outerHtml:V});}),b},Lh={name:"svgNames",cap:50,async detect(f){return f.evaluate(gI)}};var vI=()=>{let b=[],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=document.querySelectorAll(h),y=[];for(let v of m){if(typeof isWidget=="function"&&isWidget(v)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(v)||typeof isVisible=="function"&&!isVisible(v)||!v.offsetParent&&v.tagName!=="BODY")continue;let w=v.getBoundingClientRect();w.width===0&&w.height===0||y.push({el:v,rect:w});}for(let{el:v,rect:w}of y){if(b.length>=50)break;let _=w.width,E=w.height;if(_>=24&&E>=24)continue;let x=v.parentElement;if(x&&v.tagName==="A"){let H=x.tagName.toLowerCase();if(["p","li","td","th","dd","span","label","figcaption"].includes(H)&&Array.from(x.childNodes).some(U=>U.nodeType===3&&(U.textContent||"").trim().length>3))continue}let A=false,k=w.left+w.width/2,C=w.top+w.height/2;for(let H of y){if(H.el===v||H.el.contains(v)||v.contains(H.el))continue;if(H.rect.width<24||H.rect.height<24){let U=H.rect.left+H.rect.width/2,Y=H.rect.top+H.rect.height/2;if(Math.hypot(k-U,C-Y)<24){A=true;break}}else {let U=Math.max(H.rect.left-k,0,k-H.rect.right),Y=Math.max(H.rect.top-C,0,C-H.rect.bottom);if(Math.hypot(U,Y)<12){A=true;break}}}if(!A&&_>=1&&E>=1)continue;let R=Math.max(0,24-E),V=Math.ceil(R/2),$=[];$.push("min-width:24px"),$.push("min-height:24px"),$.push("display:inline-block"),$.push("box-sizing:border-box"),V>0&&$.push("padding-top:"+V+"px"),V>0&&$.push("padding-bottom:"+V+"px");let z=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();b.push({selector:z,attribute:"style",currentValue:Math.round(_)+"x"+Math.round(E)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${v.tagName.toLowerCase()} is ${Math.round(_)}x${Math.round(E)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:$.join(";")+";",outerHtml:v.outerHTML.slice(0,200)});}return b},Ph={name:"targetSize",cap:50,async detect(f){return f.evaluate(vI)}};var bI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,m=document.querySelectorAll('[style*="important" i]');for(let y of Array.from(m)){if(b.length>=30)break;if(y.closest(f))continue;let v=y.getAttribute("style")||"";if(!h.test(v))continue;let w=[];/line-height\s*:[^;!]*!important/i.test(v)&&w.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(v)&&w.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(v)&&w.push("word-spacing");let _=typeof uniqueSel=="function"?uniqueSel(y):"",E=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},x=[];x.push("blocked: "+w.join(",")),x.push("tag: "+y.tagName.toLowerCase()),E.nearbyHeading&&x.push("heading: "+E.nearbyHeading),x.push("parent: "+E.parentTag),b.push({selector:_,attribute:"style",currentValue:v.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:x.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return b},Mh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(bI)}};var yI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",b=[],h=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let m of h){if(b.length>=50)break;if(m.closest(f)||!isVisible(m))continue;let y=m,v=(y.getAttribute("aria-label")||"").trim(),w=y.getAttribute("aria-labelledby"),_=(y.getAttribute("title")||"").trim(),E=(y.getAttribute("value")||"").trim(),x=(y.textContent||"").trim().replace(/\s+/g," "),A="";w&&(A=typeof __resolveIdRefs=="function"?__resolveIdRefs(w):"");let k=y.querySelector('img[alt]:not([alt=""])'),C=y.querySelector("svg title"),F=y.querySelector("svg[aria-label]");if(!!(v||A||_||E||x||k||C||F))continue;let O=uniqueSel(y),V=getNearbyContext(y),$=y.closest("form"),z=$&&($.getAttribute("id")||$.getAttribute("name"))||"",H=y.className||"",ee=y.querySelector('i, svg, span[class*="icon"]'),U=ee&&ee.className||"",Y=ee&&ee.getAttribute("data-icon")||"",re=ee?(ee.textContent||"").trim():"",Q=typeof lookupIconLabel=="function"?lookupIconLabel(String(U),Y,re):null,fe=!Q&&typeof lookupIconLabel=="function"?lookupIconLabel(String(H),"",""):null,ce=Q||fe,Se=[];z&&Se.push("form: "+z),V.nearbyHeading&&Se.push("heading: "+V.nearbyHeading),U&&Se.push("icon: "+String(U).slice(0,80)),H&&Se.push("class: "+String(H).slice(0,80)),Se.push("parent: "+V.parentTag),ce&&Se.push("icon-lib: "+ce),b.push({selector:O,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:Se.join(" | "),needsAI:!ce,fixValue:ce||void 0,outerHtml:y.outerHTML.slice(0,300)});}return b},Oh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(yI)}};var wI=()=>{let f=new Set(ALWAYS_VAGUE_WORDS),p=new Set(CONTEXT_VAGUE_WORDS),b={};function h(U,Y){if(isWidget(U)||!isVisible(U))return;let re=getAccessibleName(U);if(!re)return;let Q=(Y?"b:":"a:")+re.toLowerCase().trim();b[Q]=(b[Q]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(U=>h(U,true)),document.querySelectorAll("a[href]").forEach(U=>h(U,false));let m=isIconClassToken,y=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function v(U,Y){return y.test(U)?1:Y}let w=50,_=[];function E(U){if((U.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let re=U.querySelectorAll("i, span, em");for(let Q of re)if((typeof Q.className=="string"?Q.className:"").split(/\s+/).some(m))return true;return false}function x(U){let Y=U.className||"";return typeof Y!="string"?false:Y.split(/\s+/).some(m)}function A(U,Y){if(_.length>=w||isWidget(U)||!isVisible(U))return;let re=getAccessibleName(U);if(!re)return;let Q=re.toLowerCase().trim(),fe=false,ce=re.length>=2&&/^[A-Z][A-Z0-9]+$/.test(re.trim()),Se=!Y&&/^[[(]?\d{1,4}[\])]?$/.test(re.trim());if(re.length<v(re,3)&&!ce&&!Se)fe=true;else if(f.has(Q))fe=true;else if(p.has(Q)&&(b[(Y?"b:":"a:")+Q]||0)>=2){let He=(U.getAttribute("aria-label")||"").trim().toLowerCase(),Qe=!!U.getAttribute("aria-labelledby")||!!He&&He!==Q,nt=U.querySelector&&U.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),wt=nt?(nt.textContent||"").trim().toLowerCase():"";!Qe&&!(nt&&wt!==Q)&&(fe=true);}else (E(U)||x(U)&&re.length===0)&&(U.getAttribute("aria-label")||U.getAttribute("aria-labelledby")||U.querySelector&&U.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(fe=true));if(!fe)return;let Fe=getNearbyContext(U),Ae=uniqueSel(U),Ge=U.getAttribute("href")||"",Re=U.outerHTML.slice(0,300);_.push({selector:Ae,attribute:"aria-label",currentValue:(U.getAttribute("aria-label")||"").trim(),message:(Y?"weak button name: ":"weak link name: ")+(U.getAttribute("aria-label")||U.getAttribute("aria-labelledby")?`"${re}" is too generic for a control \u2014 add distinguishing context`:`text "${re}" is too generic for a control \u2014 add distinguishing context`),issueType:Y?"weak_button_name":"weak_link_name",wcag:Y?"4.1.2":"2.4.4",context:JSON.stringify({currentText:re,href:Ge,nearbyHeading:Fe.nearbyHeading,parentTag:Fe.parentTag,parentRole:Fe.parentRole,cardText:Fe.cardText||"",imgAlt:Fe.imgAlt||""}),needsAI:true,outerHtml:Re});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(U=>A(U,true)),document.querySelectorAll("a[href]").forEach(U=>A(U,false));let k=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,C=/^(iframe|embed|widget|frame|content|untitled)$/i,F=/^(skip|go|→|\->|main|content)$/i,R=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 O(U){return !!(!U||U.getAttribute("aria-hidden")==="true"||U.closest('[aria-hidden="true"]'))}function V(U,Y,re,Q,fe,ce){if(_.length>=w)return;let Se=uniqueSel(U),Fe=(U.outerHTML||"").slice(0,300);_.push({selector:Se,attribute:Y,currentValue:re,issueType:Q,wcag:fe,context:JSON.stringify(ce),needsAI:true,outerHtml:Fe});}let $=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let U=0;U<$.length&&!(_.length>=w);U++){let Y=$[U];if(!Y||isWidget(Y)||O(Y)||!isVisible(Y))continue;let re=getAccessibleName(Y);if(!re)continue;let Q=re.toLowerCase().trim(),fe=Q.split(/\s+/).filter(Boolean),ce=false;if((re.length<v(re,3)||fe.length===1&&(f.has(Q)||R.has(Q))||/^page\s*\d+$/i.test(Q)||/^section\s*\d+$/i.test(Q)||/^chapter\s*\d+$/i.test(Q)||/^[^\p{L}\p{N}]+$/u.test(re))&&(ce=true),!ce)continue;let Se=getNearbyContext(Y);V(Y,"textContent",re,"weak_heading","2.4.6",{currentText:re,tag:Y.tagName.toLowerCase(),nearbyHeading:Se.nearbyHeading,parentTag:Se.parentTag,parentRole:Se.parentRole});}let z=document.querySelectorAll("iframe");for(let U=0;U<z.length&&!(_.length>=w);U++){let Y=z[U];if(!Y||isWidget(Y)||O(Y))continue;let re=getComputedStyle(Y);if(Y.getClientRects().length===0||re.visibility==="hidden"||re.visibility==="collapse"||(Y.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let Q=(Y.getAttribute("title")||"").trim();if(!Q)continue;let fe=Q.toLowerCase(),ce=false;if((Q.length<v(Q,3)||C.test(fe)||f.has(fe))&&(ce=true),!ce)continue;let Se=(Y.getAttribute("src")||"").slice(0,120),Fe=getNearbyContext(Y);V(Y,"title",Q,"weak_iframe_title","4.1.2",{currentTitle:Q,src:Se,nearbyHeading:Fe.nearbyHeading,parentTag:Fe.parentTag});}if(_.length<w){let U=document.querySelector("head > title, title"),Y=(document.title||"").trim();if(U&&Y){let re=Y.toLowerCase(),Q=false;(Y.length<v(Y,5)||k.test(re)||/^untitled/i.test(Y))&&(Q=true),Q&&_.push({selector:"title",attribute:"textContent",currentValue:Y,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:Y,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(U.outerHTML||"").slice(0,300)});}}let H=document.querySelectorAll("svg");for(let U=0;U<H.length&&!(_.length>=w);U++){let Y=H[U];if(!Y||isWidget(Y)||O(Y)||Y.getAttribute("role")==="presentation"||Y.getAttribute("role")==="none"||!isVisible(Y))continue;let re=Y.querySelector("title"),Q=re?(re.textContent||"").trim():"",fe=(Y.getAttribute("aria-label")||"").trim(),ce=fe||Q;if(!ce)continue;let Se=ce.toLowerCase(),Fe=false;if((ce.length<v(ce,3)||f.has(Se)||/^(icon|svg|image|graphic|logo)$/i.test(ce))&&(Fe=true),!Fe)continue;let Ae=Y.closest('a, button, [role="button"], [role="link"]'),Ge=getNearbyContext(Y);V(Y,fe?"aria-label":"title",ce,"weak_svg_name","1.1.1",{currentName:ce,svgClasses:Y.getAttribute("class")||"",parentTag:Ae?Ae.tagName.toLowerCase():Ge.parentTag,parentHref:Ae&&Ae.getAttribute("href")||"",nearbyHeading:Ge.nearbyHeading});}let ee=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 U=0;U<ee.length&&!(_.length>=w);U++){let Y=ee[U];if(!Y||isWidget(Y)||O(Y))continue;let re=getAccessibleName(Y);if(!re)continue;let Q=re.toLowerCase().trim(),fe=false;if((re.length<v(re,4)||F.test(Q)||Q==="skip"||Q==="skip link"||Q==="jump")&&(fe=true),!fe)continue;let ce=Y.getAttribute("href")||"";_.push({selector:uniqueSel(Y),attribute:"textContent",currentValue:re,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:re,href:ce}),needsAI:false,fixValue:"Skip to main content",outerHtml:(Y.outerHTML||"").slice(0,300)});}return _},Nh={name:"weakNames",cap:50,async detect(f){return f.evaluate(wI)}};var xI=()=>{let p=[],b=document.querySelector('meta[name="viewport"]');if(b){let m=(b.getAttribute("content")||"").trim(),y=m.toLowerCase(),v=false,w=[];(y.indexOf("user-scalable=no")>=0||y.indexOf("user-scalable=0")>=0)&&(v=true,w.push("user-scalable=no blocks pinch-zoom"));let _=y.match(/maximum-scale\s*=\s*([\d.]+)/);_&&parseFloat(_[1])<2&&(v=true,w.push("maximum-scale="+_[1]+" (<2)")),v&&p.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:m,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let h=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let m=0;m<h.length&&!(p.length>=5);m++){let y=h[m];if(y.el)try{let w=(getComputedStyle(y.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&p.push({selector:y.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+y.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return p},qh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f=[],p=document.querySelectorAll('main *, [role="main"] *, body > div *'),b=new Set,h=Math.min(p.length,200);for(let m=0;m<h;m++){let y=p[m];if(b.has(y)||!y.offsetParent)continue;b.add(y);let v=getComputedStyle(y),w=parseInt(v.order||"0",10),_=v.position;if(w>=3){let E=y.getBoundingClientRect();if(E.width>0&&E.height>0){let x=(y.textContent?.trim().length||0)>10,A=!!y.querySelector("a, button, input, select, textarea");(x||A)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(_==="absolute"){if(!!!y.querySelector("a, button, input, select, textarea"))continue;let x=y.parentElement;if(!x||x.children.length<=2)continue;let A=y.getBoundingClientRect(),k=x.getBoundingClientRect();(A.top<k.top-100||A.left<k.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${_}, displaced ${Math.round(Math.abs(A.top-k.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},Bh={name:"meaningfulSequence",async detect(f){return f.evaluate(DI)}};var Vh={name:"sensoryCharacteristics",async detect(f){let p=await f.evaluate(()=>{let h=[],m=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),y=Math.min(m.length,300);for(let v=0;v<y;v++){let w=m[v];if(!w.offsetParent||w.children.length>3)continue;let _=w.textContent?.trim()||"";_.length<15||_.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(_)&&h.push({text:_,selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase()});}return h.slice(0,20)});if(p.length===0)return [];let b=[];for(let{text:h,selector:m}of p){h.toLowerCase();let v=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(h)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(h),w=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(h)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(h)&&/\b(click|tap|press|select|find)\b/i.test(h),_=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(h)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(h),E=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(h)&&/\b(click|tap|press|select|find)\b/i.test(h);if(v||w||_||E){let x=v?"shape":w?"position":_?"color":"size";b.push({selector:m,attribute:"data-sensory-review",currentValue:h.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${x} 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 b}};var _I=()=>{let f=[];for(let p of document.styleSheets)try{for(let b of p.cssRules)if(b instanceof CSSMediaRule){let h=b.conditionText||b.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(h))for(let m of b.cssRules){let y=m.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(y)&&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},Hh={name:"orientation",async detect(f){return f.evaluate(_I)}};var AI=()=>{let f=[],p=document.querySelectorAll("img");for(let b of p){if(!b.offsetParent||b.width<50||b.height<20||b.complete&&b.naturalWidth===0)continue;let h=b.src||b.getAttribute("data-src")||"",m=h.indexOf(","),y=(h.toLowerCase().startsWith("data:")&&m!==-1?h.slice(0,m):h).toLowerCase(),v=b.getAttribute("alt")||"",w=b.getAttribute("role")||"";if(b.getAttribute("aria-hidden")==="true"||!!b.closest('[aria-hidden="true"]')||w==="presentation"||w==="none"||b.hasAttribute("alt")&&v.trim()==="")continue;let E=b.width>200&&b.height<80&&b.height>15,x=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(y);if(!(x||E)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(y)&&!x)continue;let k=b.closest("a[href]");if((()=>{if(!k)return false;let H=k.getAttribute("href")||"";if(H==="/"||H==="")return true;try{let ee=new URL(k.href,location.href);return ee.origin!==location.origin?!1:!!(ee.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(ee.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(ee.pathname))}catch{return false}})()&&(k.textContent||"").trim().length===0)continue;let R=!!b.closest('header, [role="banner"], footer, [role="contentinfo"]'),O=b.height>0&&b.height<=120,V=R&&O,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,z=V||$.test(y)||$.test(b.className)||$.test(b.id||"");y.includes("icon")||y.includes("avatar")||y.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(b):"img",attribute:"data-image-of-text",currentValue:y.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${b.width}x${b.height}px, alt="${v.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:b.src,...z?{needsReview:true,reviewReason:V?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are 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},jh={name:"imagesOfText",async detect(f){return f.evaluate(AI)}};var $h={name:"reflow",async detect(f){let p=f;if(!p.setViewport)return [];let b=p.viewport?.()??{width:1280,height:720},h=b.width??1280,m=b.height??720;try{return await p.setViewport({width:320,height:m}),await new Promise(v=>setTimeout(v,500)),await f.evaluate(v=>{let w=[],_=document.querySelectorAll("body *"),E=Math.min(_.length,500);for(let x=0;x<E;x++){let A=_[x];if(!A.offsetParent)continue;let k=A.tagName.toLowerCase();if(k==="script"||k==="style"||k==="noscript")continue;let C=A.getBoundingClientRect();C.right>v+5&&C.width>v*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(A):k,attribute:"style",currentValue:`${Math.round(C.width)}px wide at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(C.width)}px wide and overflows the ${v}px viewport by ${Math.round(C.right-v)}px. Content must reflow to a single column at 320px CSS width without horizontal scrolling.`,needsAI:!1,fixValue:"max-width: 100%; overflow-wrap: break-word;"});}return document.documentElement.scrollWidth>v+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${v}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${v}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),w},320)}finally{await p.setViewport({width:h,height:m}).catch(()=>{});}}};var EI=()=>{let f=[],p=document.querySelectorAll("video");for(let m of p){if(m.autoplay&&!m.muted&&f.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 v=m.getBoundingClientRect();if(v.width===0&&v.height===0||m.error||m.muted&&m.autoplay&&m.loop&&!m.hasAttribute("controls"))continue;let w=m.querySelectorAll("track"),_=Array.from(w).find(k=>k.kind==="captions"||k.kind==="subtitles"),E=Array.from(w).find(k=>k.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let A=typeof uniqueSel=="function"?uniqueSel(m):"video";_||f.push({selector:A,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)"}),E||f.push({selector:A,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});}let b=document.querySelectorAll("audio");for(let m of b){let y=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||f.push({selector:y,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&&f.push({selector:y,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"});}let h=document.querySelectorAll("iframe");for(let m of h){let y=(m.src||"").toLowerCase();if(!y.includes("youtube")&&!y.includes("vimeo")&&!y.includes("dailymotion")&&!y.includes("wistia")||!m.offsetParent||getComputedStyle(m).display==="none")continue;let v=m.getBoundingClientRect();if(v.width===0&&v.height===0)continue;let w=typeof uniqueSel=="function"?uniqueSel(m):"iframe";m.closest("figure, div, section, article")?.querySelector('a[href*="transcript"], [class*="transcript"], [id*="transcript"]')||f.push({selector:w,attribute:"data-video-transcript",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:`Embedded video player detected (${y.split("/").slice(0,4).join("/")}). Verify captions are enabled in the player settings. Provide a transcript link near the video for users who can't access the player.`,needsAI:true});}return f},zh={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate(EI)).slice(0,50)}};var CI=()=>{let f=[],p=document.querySelector('meta[http-equiv="refresh"]');if(p){let _=p.getAttribute("content")||"",E=parseInt(_,10);!isNaN(E)&&E>0&&E<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${_.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:_,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${E}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${E}s time limit before it triggers.`});}let b=document.querySelectorAll("[accesskey]");for(let _ of b){let E=_.getAttribute("accesskey")||"";if(E.length===1){let x=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();f.push({selector:x,attribute:"accesskey",currentValue:E,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${E}". 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 _ of h){let E=_.hasAttribute("onchange"),x=_.getAttribute("onchange")||"";if(E&&/submit|location|href|navigate|window\./i.test(x)){let A=typeof uniqueSel=="function"?uniqueSel(_):"select";f.push({selector:A,attribute:"onchange",currentValue:x.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 _ of m)if(!(_.hasAttribute("onclick")||_.hasAttribute("onkeydown")||_.hasAttribute("onkeyup"))){let x=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();f.push({selector:x,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let y=document.querySelectorAll("[onmousedown]");for(let _ of y){let E=_.hasAttribute("onmouseup"),x=_.tagName.toLowerCase();if(!E&&x!=="a"&&x!=="button"&&x!=="input"){let A=typeof uniqueSel=="function"?uniqueSel(_):x;f.push({selector:A,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 _ of v){let E=_.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(E)){f.push({selector:"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let w=document.querySelectorAll("form");for(let _ of w){let E=(_.textContent||"").toLowerCase(),x=/payment|credit card|billing|purchase|order|subscribe|checkout|bank|account number/i.test(E),A=/agree|terms|contract|binding|signature|consent|waiver/i.test(E),k=/delete.*account|remove.*data|unsubscribe|cancel.*account/i.test(E);if(x||A||k){let C=!!_.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),F=!!_.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(!C&&!F){let R=typeof uniqueSel=="function"?uniqueSel(_):"form",O=x?"financial":A?"legal":"data-deletion";f.push({selector:R,attribute:"data-error-prevention",currentValue:O,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${O.charAt(0).toUpperCase()+O.slice(1)} form lacks a confirmation/review step. For ${O} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true});}}}return f},Gh={name:"timingAndInput",async detect(f){return f.evaluate(CI)}};var SI=()=>{let f=[],p=!!document.querySelector('nav, [role="navigation"]'),b=!!document.querySelector('input[type="search"], [role="search"], form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),h=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),m=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),y=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),v=[p,b,h,m,y].filter(Boolean).length;if(v<2&&document.querySelectorAll("a[href]").length>20){let x=[];b||x.push("search"),h||x.push("sitemap link"),m||x.push("breadcrumbs"),f.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${v} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${v} way(s) to navigate. WCAG requires multiple ways to locate pages (e.g., navigation + search, or navigation + sitemap). Consider adding: ${x.join(", ")}.`,needsAI:false,fixValue:`Add ${x[0]||"additional navigation method"}`});}let w=document.querySelectorAll('nav, [role="navigation"]');for(let x of w){if(!x.offsetParent||x.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||x.parentElement?.closest('nav, [role="navigation"]'))continue;let A=x.getBoundingClientRect();if(A.top<=window.innerHeight)continue;let k=typeof uniqueSel=="function"?uniqueSel(x):"nav";f.push({selector:k,attribute:"data-nav-position",currentValue:`top: ${Math.round(A.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 _=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let x of _){if(!x.offsetParent)continue;let A=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();f.push({selector:A,attribute:"data-flashing",currentValue:x.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 E=document.querySelectorAll('img[src*=".gif"]');for(let x of E){if(!x.offsetParent||x.width<25||x.height<25)continue;let A=x.getBoundingClientRect();if(A.width>100&&A.height>100){let k=typeof uniqueSel=="function"?uniqueSel(x):"img";f.push({selector:k,attribute:"data-animated-gif",currentValue:(x.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},Wh={name:"navigationAndWayfinding",async detect(f){return f.evaluate(SI)}};var Uh={name:"flashDetection",async detect(f){let p=[];if(!f.screenshot)return p;let h=await f.evaluate(()=>{let x=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(x){let A=document.querySelectorAll("*");for(let k of A)k.style.removeProperty("animation-play-state"),k.style.removeProperty("transition");}return x}),m=8,y=120,v=9,w=3,_=[];for(let E=0;E<m;E++){let x=await f.evaluate(A=>{let k=window.innerWidth,C=window.innerHeight,F=3,R=3,O=[];for(let V=0;V<R;V++)for(let $=0;$<F;$++){let z=Math.floor(($+.5)*(k/F)),H=Math.floor((V+.5)*(C/R)),ee=document.elementFromPoint(z,H);if(!ee){O.push(0);continue}let Y=getComputedStyle(ee).backgroundColor||"rgba(0,0,0,0)",re=typeof parseCssColor=="function"?parseCssColor(Y):null;if(!re){O.push(0);continue}let Q=.2126*re[0]+.7152*re[1]+.0722*re[2];O.push(Q);}return O},v);_.push(x),E<m-1&&await new Promise(A=>setTimeout(A,y));}h&&await f.evaluate(()=>{let E=document.querySelectorAll("*");for(let x of E)x.style.setProperty("animation-play-state","paused","important"),x.style.setProperty("transition","none","important");});for(let E=0;E<v;E++){let x=0,A=_[0][E],k=null;for(let R=1;R<m;R++){let O=_[R][E];if(Math.abs(O-A)>25){let $=O>A?"up":"down";k&&$!==k&&x++,k=$;}A=O;}let C=m*y/1e3,F=x/C;if(F>=w){let R=E%3,O=Math.floor(E/3);p.push({selector:"body",attribute:"data-flash-detected",currentValue:`${F.toFixed(1)} flashes/sec in region (${R},${O})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${F.toFixed(1)} times/second in screen region (row ${O}, col ${R}). 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 p}};var Xh={name:"reducedMotion",async detect(f){let p=[],b=await f.evaluate(()=>{let h=false,m=false;for(let v of document.styleSheets)try{for(let w of v.cssRules){let _=w.cssText||"";/animation|transition|@keyframes/i.test(_)&&!/prefers-reduced-motion/.test(_)&&(h=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(m=!0);}}catch{}let y=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return y.length>0&&(h=true),{hasAnimations:h,hasReducedMotionQuery:m,animatedCount:y.length}});return b.hasAnimations&&!b.hasReducedMotionQuery&&p.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${b.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),p}};var $I=[Nh,wh,ih,Lh,j1,H1,ph,lh,oh,sh,Ph,Y1,_h,eh,Oh,yh,th,Z1,kh,$1,bh,uh,Eh,Q1,J1,hh,nh,vh,ch,dh,qh,G1,mh,Sh,W1,U1,fh,Ah,Mh,Dh,X1,xh,K1,Th,Fh,Rh,Ih,z1,gh,Ch,Bh,Vh,Hh,jh,$h,zh,Gh,Wh,Uh,Xh];async function eu(f,p,b,h){let m=p??[];try{let{UNIQUE_SELECTOR_JS:k,IS_VISIBLE_JS:C,ACCESSIBLE_NAME_JS:F,WIDGET_SKIP_JS:R,IS_HIDDEN_FROM_AT_JS:O,IS_TRACKING_PIXEL_JS:V,NEARBY_CONTEXT_JS:$}=await Promise.resolve().then(()=>(Zl(),Jl)),{ICON_LABELS_JS:z}=await Promise.resolve().then(()=>(Kh(),Yh)),{COLOR_MATH_JS:H}=await Promise.resolve().then(()=>(Zh(),Jh)),U=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
+
`+[k,C,F,R,O,V,$,z,H].join(`
|
|
382
|
+
`);try{await f.addScriptTag({content:U});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(U)})`);}}catch(k){console.warn("[webability] helper injection failed:",k.message),(b??[]).push("color:kernel-injection-failed");}let y=[];try{let{detectPlatform:k,applyPlatformTemplates:C}=await Promise.resolve().then(()=>(eg(),Qh)),F=await k(f);y=await C(f,F);}catch{}let v=await Promise.allSettled($I.map(async k=>{try{let C=await k.detect(f);return k.cap&&C.length>=k.cap&&m.push({detector:k.name,cap:k.cap}),C}catch{return []}})),w=[];h?.skipFocusMutating&&(b??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");for(let k of h?.skipFocusMutating?[]:[ah,rh])try{let C=await k.detect(f);k.cap&&C.length>=k.cap&&m.push({detector:k.name,cap:k.cap}),w=w.concat(C);}catch{}let _=[...v.flatMap(k=>k.status==="fulfilled"?k.value:[]),...w],E=[...y,..._],x=GI(E),A=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return x.filter(k=>{let C=k.selector.toLowerCase();return C.trim()?!A.some(F=>C.includes(F)):false})}async function zI(f){try{return await f.evaluate(()=>{let p=getComputedStyle(document.documentElement),b={};for(let _ of p)_.startsWith("--")&&/color|bg|background|text|primary|secondary|accent/i.test(_)&&(b[_]=p.getPropertyValue(_).trim());let h={},m={},y=document.querySelectorAll("body *:not(script):not(style):not(noscript)"),v=Math.min(y.length,500);for(let _=0;_<v;_++){let E=getComputedStyle(y[_]);if(E.display==="none"||E.visibility==="hidden")continue;let x=E.backgroundColor,A=E.color;x&&x!=="rgba(0, 0, 0, 0)"&&(h[x]=(h[x]||0)+1),A&&(m[A]=(m[A]||0)+1);}let w=_=>Object.entries(_).sort((E,x)=>x[1]-E[1]).slice(0,8).map(([E,x])=>({color:E,count:x}));return {cssVars:b,topBgColors:w(h),topTextColors:w(m)}})}catch{return {cssVars:{},topBgColors:[],topTextColors:[]}}}function GI(f){let p=new Set;return f.filter(b=>{let h=`${b.selector}::${b.issueType}`;return p.has(h)?false:(p.add(h),true)})}var tg="1.4.0";async function tu(f,p){try{let{AxeBuilder:b}=await import('@axe-core/playwright');return await new b({page:f}).withTags(p).analyze()}catch{return WI(f,p)}}async function WI(f,p){let b=await Promise.resolve().then(()=>_R(ag())),h=b.source??b.default?.source;if(!h)throw new Error("axe-core source unavailable");return await f.addScriptTag({content:h}),await f.evaluate(y=>new Promise((v,w)=>{let _=window;if(!_.axe)return w(new Error("axe-core not loaded"));_.axe.run(document,{runOnly:{type:"tag",values:y},resultTypes:["violations","incomplete"]}).then(v).catch(w);}),p)}function UI(f){if(f.confidence==="needs_review")return {...f,confidence:"needs_review"};let p=XI(f);return p?{...f,confidence:"needs_review",reviewReason:p}:{...f,confidence:"high"}}function ig(f){let p=[],b=[];for(let h of f){let m=UI(h);m.confidence==="needs_review"?b.push(m):p.push(m);}return {highConfidence:p,needsReview:b}}function XI(f){let p=(f.type||"").toLowerCase(),b=f.wcag||"",h=f.html||"",m=(f.message||"").toLowerCase();if((p==="contrast_insufficient"||p==="color-contrast"||b==="1.4.3"||b==="1.4.11")&&YI(h))return "background uses gradient or image \u2014 contrast cannot be reliably computed";if(p==="image_of_text"||b==="1.4.5"){let y=ng(h,"src").toLowerCase();y.startsWith("data:")&&(y=y.split(",")[0]);let v=ng(h,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(y))return "filename pattern suggests marketing/brand imagery, exempt under WCAG 1.4.5";if(v.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(v))return "alt text suggests branded imagery, exempt under WCAG 1.4.5"}return (p==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(h)||/<aside/i.test(h))?"nav lives inside footer/aside \u2014 position variance is expected":""}function YI(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function ng(f,p){let b=new RegExp(`\\b${p}\\s*=\\s*"([^"]*)"`,"i"),h=f.match(b);return h?h[1]:""}function lg(){let f=m=>{let y=m.getBoundingClientRect();if(y.width===0||y.height===0)return false;let v=window.getComputedStyle(m);return v.visibility!=="hidden"&&v.display!=="none"&&v.opacity!=="0"},p=Array.from(document.querySelectorAll('input[type="password"]')),b=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:p.length,visiblePasswordFields:p.filter(f).length,submitLabels:b,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 KI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,JI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function og(f){try{let p=new URL(f).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(p)}catch{return false}}function ug(f,p,b){if(og(p))return null;let h=sg(p)!==sg(b),m=f.submitLabels.some(A=>KI.test(A)),y=JI.test(f.headingText),v=og(b),w=[];v&&w.push("url"),m&&w.push("submit"),y&&w.push("heading"),h&&w.push("redirected");let _=f.visiblePasswordFields>0,E=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!_&&!E||w.length<2)return null;let x=`${_?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${b}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:x,finalUrl:b}}function sg(f){try{let p=new URL(f);return `${p.origin}${p.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}var ru=["wcag2a","wcag2aa","wcag21aa","wcag22aa"],ZI={"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.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.3.1":"A","3.3.2":"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","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"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":"AA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"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"};function QI(f){return ZI[f]??"AA"}var eL=new Set(["new_window_link","external_link_warning","download_link_warning"]);function cg(f){let p=eL.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",b=f.attribute==="style",h=f.attribute.startsWith("data-"),m=b&&f.fixValue?tL(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${Nn(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:QI(f.wcag),impact:p,message:rL(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||b||h||!!f.needsReview}}}function tL(f){let p=f.trim();if(!p)return "";let b=p.endsWith(";"),m=p.split(";").map(y=>{let w=y.toLowerCase().lastIndexOf("!important");return w===-1?y.trim():y.slice(0,w).trim()}).filter(y=>y.length>0);return m.length===0?"":m.join(";")+(b?";":"")}function rL(f,p,b){if(f.message)return f.message;let h=f.issueType.replace(/_/g," "),m=p??f.fixValue;return b?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 On(f){return Array.isArray(f)?f.flat(1/0).filter(b=>typeof b=="string").join(" >>> "):typeof f=="string"?f:""}function Nn(f){let p=0;for(let b=0;b<f.length;b++)p=(p<<5)-p+f.charCodeAt(b)|0;return Math.abs(p).toString(36)}function au(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function nu(f,p){return {total:f.length,critical:f.filter(b=>b.impact==="critical").length,serious:f.filter(b=>b.impact==="serious").length,moderate:f.filter(b=>b.impact==="moderate").length,minor:f.filter(b=>b.impact==="minor").length,incomplete:p.length}}function iu(f){let p=f.find(h=>/^wcag\d{3,4}$/.test(h));if(!p)return "";let b=p.replace("wcag","");return b.length===3?`${b[0]}.${b[1]}.${b[2]}`:b.length===4?`${b[0]}.${b[1]}.${b.slice(2)}`:""}function ou(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function hL(f){try{return await f.evaluate(()=>{let p=(document.title||"").toLowerCase(),b=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[y,v]of b)if(p.includes(y))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!1};let h=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[y,v]of h)if(document.querySelector(y))return {vendor:v,signal:`marker:${y}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[y,v]of m)if(p.includes(y))return {vendor:v,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function gL(f){try{return await f.evaluate(()=>{let p=document.querySelectorAll("body *").length;if(p>250)return null;let b=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let m of b)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:p}}catch{}let h=(document.title||"").toLowerCase();return h.includes("captcha")||h.includes("security check")||h.includes("bot verification")?{signal:`title:"${document.title}"`,elements:p}:null})}catch{return null}}async function vL(f,p){let b=await hL(f),h=typeof p=="number"&&p>=400,m=b&&(!b.needsCorroboration||h)?b:null;if(!m&&!h)return null;let y=[];return m&&y.push(`served a ${m.vendor} bot-challenge / interstitial page`),h&&y.push(`main document returned HTTP ${p}`),{reason:`Scan did not reach the real page \u2014 the target ${y.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof p=="number"?{status:p}:{},...m?{signal:m.signal}:h?{signal:`status:${p}`}:{}}}async function bL(f,p){let b=typeof f=="string",h={wcagTags:ru,includeAxe:true,deep:false,dismissModals:b,...p},m,y,v,w;if(b){v=f.startsWith("http")?f:`https://${f}`;let _=typeof h.viewport=="string"?Pn[h.viewport]??Pn.desktop:h.viewport??Pn.desktop;y=await(await import('playwright')).chromium.launch({headless:h.browser?.headless??true}),m=await(await y.newContext({viewport:_})).newPage();let A=await m.goto(v,{waitUntil:"domcontentloaded",timeout:h.browser?.timeout??3e4});w=typeof A?.status=="function"?A.status():void 0;}else m=f,v=m.url(),w=h.mainStatus;if(h.dismissModals)try{let{dismissModals:_}=await Promise.resolve().then(()=>(su(),fg));await _(m);}catch{}if(h.settle!==false)try{let{waitForRenderSettle:_}=await Promise.resolve().then(()=>(yo(),bo));await _(m,typeof h.settle=="number"?h.settle:void 0);}catch{}try{try{let z=await m.evaluate(lg),H=ug(z,v,typeof m.url=="function"?m.url():v);if(H)return {url:v,timestamp:new Date().toISOString(),blocked:{reason:H.reason,signal:`auth-wall:${H.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let _=await vL(m,w);if(_)return {url:v,timestamp:new Date().toISOString(),blocked:_,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let E=[],x=[],A=[],k=await gL(m);k&&A.push(`challenge:suspected-interstitial (${k.signal}; ${k.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let C=await eu(m,x,A);if(E.push(...C.map(cg)),h.includeAxe)try{let z=await tu(m,h.wcagTags??ru);for(let H of z.violations)for(let ee of H.nodes)E.push({id:`axe-${H.id}-${Nn(On(ee.target))}`,source:"axe-core",type:H.id,wcag:iu(H.tags),level:ou(H.tags),impact:au(H.impact),message:H.help,selector:On(ee.target),html:ee.html?.slice(0,300)});for(let H of z.incomplete??[])for(let ee of H.nodes)E.push({id:`axe-incomplete-${H.id}-${Nn(On(ee.target))}`,source:"axe-core",type:H.id,wcag:iu(H.tags),level:ou(H.tags),impact:au(H.impact),message:H.help,selector:On(ee.target),html:ee.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{}try{let{runHtmlcs:z}=await Promise.resolve().then(()=>(bg(),vg)),H=await z(m);E.push(...H);}catch{}let{deduplicateIssues:F}=await Promise.resolve().then(()=>(uu(),lu)),R=F(E);try{let{pruneInvisibleContrast:z}=await Promise.resolve().then(()=>(yo(),bo));R=await z(m,R);}catch{}try{let{pruneHiddenIframeIssues:z}=await Promise.resolve().then(()=>(yo(),bo));R=await z(m,R);}catch{}try{let{dedupeByElementIdentity:z}=await Promise.resolve().then(()=>(uu(),lu));R=await z(m,R);}catch{}if(h.deep&&h.deepApiKey)try{let z=await yL(v,R,h);R.push(...z);}catch{}if(h.rootSelector)try{let{scopeIssuesToRoot:z}=await Promise.resolve().then(()=>(wg(),yg)),H=await z(m,R,h.rootSelector);R=H.issues,H.warning&&A.push(H.warning);}catch{}let{highConfidence:O,needsReview:V}=ig(R),$={url:v,timestamp:new Date().toISOString(),engine:tg,issues:O,incomplete:V,...x.length?{truncated:x}:{},...A.length?{engineWarnings:A}:{},summary:nu(O,V)};if(h.review!==!1&&h.deepApiKey)try{$=await wL($,h);}catch{}return $}finally{y&&await y.close();}}async function yL(f,p,b){let h=b.deepApiUrl||"https://api.webability.io",m=await fetch(`${h}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${b.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:p.slice(0,30).map(({source:v,...w})=>w)})});return m.ok?((await m.json()).issues??[]).map((v,w)=>({id:`deep-${w}-${Nn(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(f){let p=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&p!=="style"&&!p.startsWith("data-")}async function wL(f,p){let b=p.deepApiUrl||"https://api.webability.io",h=f.issues.filter(xg);if(h.length===0)return f;try{let m=await fetch(`${b}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.deepApiKey}`},body:JSON.stringify({url:f.url,issues:h.slice(0,30).map(({source:_,...E})=>E)})});if(!m.ok)return f;let y=await m.json();if(!y.confirmed_ids)return f;let v=new Set(y.confirmed_ids),w=f.issues.filter(_=>!xg(_)||v.has(_.id));return {...f,issues:w,summary:nu(w,f.incomplete)}}catch{return f}}su();function xL(f){let p={critical:"#dc2626",serious:"#ea580c",moderate:"#ca8a04",minor:"#6b7280"},b=f.issues.map(h=>`
|
|
383
383
|
<tr>
|
|
384
|
-
<td><span class="badge" style="background:${p[
|
|
385
|
-
<td>${Oa(
|
|
386
|
-
<td>${Oa(
|
|
387
|
-
<td><code>${Oa(
|
|
388
|
-
<td>${
|
|
384
|
+
<td><span class="badge" style="background:${p[h.impact]||"#6b7280"}">${h.impact}</span></td>
|
|
385
|
+
<td>${Oa(h.wcag)}</td>
|
|
386
|
+
<td>${Oa(h.message)}</td>
|
|
387
|
+
<td><code>${Oa(h.selector)}</code></td>
|
|
388
|
+
<td>${h.fix?.suggestedValue?`<code>${Oa(h.fix.suggestedValue.slice(0,80))}</code>`:'<span class="muted">Manual review</span>'}</td>
|
|
389
389
|
</tr>`).join("");return `<!DOCTYPE html>
|
|
390
390
|
<html lang="en">
|
|
391
391
|
<head>
|
|
@@ -426,13 +426,13 @@ See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}functi
|
|
|
426
426
|
</div>
|
|
427
427
|
<table>
|
|
428
428
|
<thead><tr><th>Severity</th><th>WCAG</th><th>Issue</th><th>Element</th><th>Fix</th></tr></thead>
|
|
429
|
-
<tbody>${
|
|
429
|
+
<tbody>${b}</tbody>
|
|
430
430
|
</table>
|
|
431
431
|
<p class="footer">Generated by WebAbility</p>
|
|
432
432
|
</div>
|
|
433
433
|
</body>
|
|
434
|
-
</html>`}function Oa(f){return f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}async function
|
|
435
|
-
<svg aria-label="Search icon" ... (meaningful)`,wcagLink:y};if(f.type==="new_window_link")return {issue:f,problem:"Link opens in a new tab without warning \u2014 disorienting for screen reader users.",fix:'Add "(opens in new tab)" to the link text or aria-label.',wcagLink:y};if(f.type==="missing_required_indicator")return {issue:f,problem:"Required form field has no visual indicator \u2014 users don't know it's mandatory.",fix:'Add aria-required="true" and a visual asterisk (*) to the label.',wcagLink:y};if(f.type==="redundant_role")return {issue:f,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:y};if(f.type==="duplicate_id")return {issue:f,problem:"Multiple elements share the same ID \u2014 breaks label associations and ARIA references.",fix:"Make each id unique across the page.",wcagLink:y};if(f.type==="insufficient_navigation")return {issue:f,problem:"Page has only one way to navigate \u2014 WCAG requires multiple (e.g., nav + search, or nav + sitemap).",fix:"Add a search input, sitemap link, or breadcrumbs alongside the main navigation.",wcagLink:y};if(f.type==="image_of_text")return {issue:f,problem:"Image appears to contain text \u2014 text in images can't be resized, translated, or read by screen readers.",fix:"Replace the image with real text styled with CSS. Exception: logos are exempt.",wcagLink:y};if(f.type==="focus_obscured_by_sticky")return {issue:f,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:p==="tailwind"?"Add scroll-pt-20 to the html element, or scroll-padding-top: 80px to account for the sticky header height.":"Add scroll-padding-top: 80px to html { } in your CSS.",wcagLink:y};if(f.type==="missing_media_controls")return {issue:f,problem:"Video/audio element has no visible controls \u2014 users can't pause, stop, or adjust volume.",fix:"Add the controls attribute to <video> or <audio>, or implement custom accessible controls with proper ARIA.",wcagLink:y};if(f.type==="multiple_h1")return {issue:f,problem:"Page has multiple <h1> elements \u2014 should have exactly one.",fix:"Keep one <h1> for the main page title. Change others to <h2>.",wcagLink:y};let
|
|
434
|
+
</html>`}function Oa(f){return f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}async function Dg(f){return f.evaluate(()=>{let p=document.documentElement.outerHTML,b=Array.from(document.querySelectorAll("[class]")).slice(0,200).map(C=>C.className).join(" "),h=/\b(text-(?:gray|slate|zinc|neutral|stone|red|orange|amber|yellow|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-\d{2,3}|bg-(?:gray|slate|blue|red|green)-\d{2,3}|flex|grid|p-\d|m-\d|rounded|shadow|border-\[|text-\[|w-\d|h-\d)\b/g,m=b.match(h)||[],y=Math.min(m.length/10,1),v=/\b(btn-(?:primary|secondary|danger|warning|success)|col-(?:sm|md|lg|xl)-\d|container-fluid|navbar-(?:expand|collapse)|form-control|card-body|modal-dialog)\b/g,w=b.match(v)||[],_=Math.min(w.length/5,1),E=/\b(Mui[A-Z]|MuiButton|MuiTypography|MuiPaper|css-[a-z0-9]{5,}|makeStyles)\b/g,x=(b+" "+p.slice(0,5e3)).match(E)||[],A=Math.min(x.length/5,1),k=!!document.querySelector("style[data-tw]")||p.includes("tailwindcss")||b.includes("antialiased");return y>.3||k?{framework:"tailwind",version:(document.documentElement.style.cssText||"").includes("oklch")||!!document.querySelector('[class*="text-[oklch"]')?"4":"3",confidence:Math.max(y,k?.8:0)}:_>.3?{framework:"bootstrap",confidence:_}:A>.3?{framework:"mui",confidence:A}:{framework:"plain-css",confidence:.5}})}function DL(f){f=f.replace("#",""),f.length===3&&(f=f[0]+f[0]+f[1]+f[1]+f[2]+f[2]);let p=parseInt(f,16);return [p>>16&255,p>>8&255,p&255]}function _L(f,p,b){return "#"+[f,p,b].map(h=>Math.round(h).toString(16).padStart(2,"0")).join("")}function cu(f){let p=f/255;return p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)}function Na(f,p,b){return .2126*cu(f)+.7152*cu(p)+.0722*cu(b)}function du(f,p){let b=Math.max(f,p),h=Math.min(f,p);return (b+.05)/(h+.05)}function Lr(f){if(f.startsWith("#"))return DL(f);let p=f.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return p?[parseInt(p[1]),parseInt(p[2]),parseInt(p[3])]:null}function Jr(f,p){let b=Lr(f),h=Lr(p);return !b||!h?0:du(Na(...b),Na(...h))}function qa(f,p,b=4.5){let h=Lr(f),m=Lr(p);if(!h||!m)return null;let y=Na(...m),v=du(Na(...h),y);if(v>=b)return null;let _=Na(...h)>y,E=0,x=1,A=h;for(let F=0;F<20;F++){let R=(E+x)/2,O=_?[h[0]*(1-R),h[1]*(1-R),h[2]*(1-R)]:[h[0]+(255-h[0])*R,h[1]+(255-h[1])*R,h[2]+(255-h[2])*R],V=Na(O[0],O[1],O[2]);du(V,y)>=b?(A=O,x=R):E=R;}let k=_L(A[0],A[1],A[2]),C=Jr(k,p);return {currentColor:f,suggestedColor:k,currentRatio:Math.round(v*100)/100,suggestedRatio:Math.round(C*100)/100,requiredRatio:b,bgColor:p}}var wo={slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"}};function _g(f,p){let b=Lr(f),h=Lr(p);return !b||!h?1/0:Math.sqrt((b[0]-h[0])**2+(b[1]-h[1])**2+(b[2]-h[2])**2)}function fu(f,p="text"){let b=null,h=1/0;for(let[m,y]of Object.entries(wo))for(let[v,w]of Object.entries(y)){let _=_g(f.toLowerCase(),w);_<h&&(h=_,b=`${p}-${m}-${v}`);}return h<30?b:null}function xo(f,p,b=4.5,h="text"){let m=fu(f,h),y=Jr(f,p);if(y>=b)return null;let v="gray",_=1/0;for(let[F,R]of Object.entries(wo))for(let[O,V]of Object.entries(R)){let $=_g(f.toLowerCase(),V);$<_&&(_=$,v=F,O);}let E=Object.entries(wo[v]||wo.gray),x=Lr(p);if(!x)return null;let k=(x[0]+x[1]+x[2])/3>128?E.sort((F,R)=>parseInt(R[0])-parseInt(F[0])):E.sort((F,R)=>parseInt(F[0])-parseInt(R[0]));for(let[F,R]of k){let O=Jr(R,p);if(O>=b)return {currentClass:m,suggestedClass:`${h}-${v}-${F}`,currentHex:f,suggestedHex:R,currentRatio:Math.round(y*100)/100,suggestedRatio:Math.round(O*100)/100,requiredRatio:b}}let C=qa(f,p,b);return C?{currentClass:m,suggestedClass:fu(C.suggestedColor,h)||`${h}-[${C.suggestedColor}]`,currentHex:f,suggestedHex:C.suggestedColor,currentRatio:C.currentRatio,suggestedRatio:C.suggestedRatio,requiredRatio:b}:null}function Ag(f,p,b,h,m){let y=`https://www.w3.org/WAI/WCAG21/Understanding/${f.wcag.replace(/\./g,"")}`;if(f.type==="contrast_insufficient"||f.type==="color-contrast")return CL(f,p,b,h,m,y);if(f.type==="non_text_contrast_insufficient")return SL(f,p,b,y);if(f.type==="focus_not_visible")return kL(f,p,y);if(f.type==="missing_alt")return {issue:f,problem:"Image has no alt text \u2014 screen readers skip it entirely.",fix:p==="tailwind"?'Add alt="description" to the <img>. For decorative images, use alt="" (empty).':'Add alt="description" to the <img>. For decorative images, use alt="" and role="presentation".',wcagLink:y};if(f.type==="target_too_small"){let A=f.fix?.currentValue||"unknown";return {issue:f,problem:`Touch target is ${A} \u2014 minimum 24x24px required (WCAG 2.5.8).`,fix:p==="tailwind"?"Add min-h-[44px] min-w-[44px] p-2 to the element for comfortable tap targets.":"Add min-height: 44px; min-width: 44px; padding: 8px; to the element.",before:p==="tailwind"&&b?b:void 0,after:p==="tailwind"&&b?b+" min-h-[44px] min-w-[44px]":void 0,wcagLink:y}}if(f.type==="decorative_icon")return {issue:f,problem:"SVG/icon is announced by screen readers but has no meaningful content.",fix:`Add aria-hidden="true" to the SVG element \u2014 it's decorative.`,before:"<svg ...",after:'<svg aria-hidden="true" ...',wcagLink:y};if(f.type==="heading_skip")return {issue:f,problem:"Heading hierarchy skips a level \u2014 confuses screen reader navigation.",fix:"Use sequential heading levels (h1 \u2192 h2 \u2192 h3). Don't skip from h2 to h4.",wcagLink:y};if(f.type==="missing_label")return {issue:f,problem:"Form input has no label \u2014 screen readers can't identify what to enter.",fix:p==="tailwind"?'Add a <label htmlFor="id"> or aria-label="description" to the input.':'Add a <label for="id"> element or aria-label attribute.',wcagLink:y};if(f.type==="skip_link")return {issue:f,problem:"Page has no skip navigation link \u2014 keyboard users must tab through the entire header on every page.",fix:'Add a visually-hidden skip link as the first focusable element: <a href="#main-content" class="sr-only focus:not-sr-only">Skip to content</a>',wcagLink:y};if(f.type==="motion_without_reduced_motion")return {issue:f,problem:'Page has animations but no @media (prefers-reduced-motion) query. Users who set "Reduce motion" in OS settings still see all animations.',fix:p==="tailwind"?"Use Tailwind's motion-safe: and motion-reduce: variants, or add @media (prefers-reduced-motion: reduce) to globals.css.":"Add @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }",wcagLink:y};if(f.type==="weak_link_name"||f.type==="weak_button_name"){let A=f.fix?.currentValue||"",k=f.type==="weak_button_name"?"button":"link",C=k==="button"?"what it does":"where it goes",F=`aria-label "" doesn't say ${C}.`;return {issue:f,problem:A?`aria-label "${pu(A,Math.max(12,AL-F.length))}" doesn't say ${C}.`:`This ${k}'s name doesn't tell users ${C}.`,fix:k==="button"?"Use text that names the action, or add an aria-label that does.":"Use text that names the destination, or add an aria-label that does.",wcagLink:y}}if(f.type==="svg_missing_name")return {issue:f,problem:'SVG has no accessible name \u2014 screen readers announce it as "image" with no description.',fix:'If decorative: add aria-hidden="true". If meaningful: add aria-label="description" or <title> inside the SVG.',before:"<svg ...",after:`<svg aria-hidden="true" ... (decorative)
|
|
435
|
+
<svg aria-label="Search icon" ... (meaningful)`,wcagLink:y};if(f.type==="new_window_link")return {issue:f,problem:"Link opens in a new tab without warning \u2014 disorienting for screen reader users.",fix:'Add "(opens in new tab)" to the link text or aria-label.',wcagLink:y};if(f.type==="missing_required_indicator")return {issue:f,problem:"Required form field has no visual indicator \u2014 users don't know it's mandatory.",fix:'Add aria-required="true" and a visual asterisk (*) to the label.',wcagLink:y};if(f.type==="redundant_role")return {issue:f,problem:"Element has a redundant ARIA role matching its implicit HTML role.",fix:'Remove the role attribute \u2014 <nav> already implies role="navigation".',wcagLink:y};if(f.type==="duplicate_id")return {issue:f,problem:"Multiple elements share the same ID \u2014 breaks label associations and ARIA references.",fix:"Make each id unique across the page.",wcagLink:y};if(f.type==="insufficient_navigation")return {issue:f,problem:"Page has only one way to navigate \u2014 WCAG requires multiple (e.g., nav + search, or nav + sitemap).",fix:"Add a search input, sitemap link, or breadcrumbs alongside the main navigation.",wcagLink:y};if(f.type==="image_of_text")return {issue:f,problem:"Image appears to contain text \u2014 text in images can't be resized, translated, or read by screen readers.",fix:"Replace the image with real text styled with CSS. Exception: logos are exempt.",wcagLink:y};if(f.type==="focus_obscured_by_sticky")return {issue:f,problem:"Sticky header may obscure focused elements when tabbing \u2014 users can't see where focus is.",fix:p==="tailwind"?"Add scroll-pt-20 to the html element, or scroll-padding-top: 80px to account for the sticky header height.":"Add scroll-padding-top: 80px to html { } in your CSS.",wcagLink:y};if(f.type==="missing_media_controls")return {issue:f,problem:"Video/audio element has no visible controls \u2014 users can't pause, stop, or adjust volume.",fix:"Add the controls attribute to <video> or <audio>, or implement custom accessible controls with proper ARIA.",wcagLink:y};if(f.type==="multiple_h1")return {issue:f,problem:"Page has multiple <h1> elements \u2014 should have exactly one.",fix:"Keep one <h1> for the main page title. Change others to <h2>.",wcagLink:y};let v=f.message.replace(/: set .*/,"").replace(/: missing .*/,""),w=v!==f.message.replace(/: set .*/,""),_=/^(missing|empty|no)\b/i.test(v),E=(f.fix?.attribute??"").startsWith("data-"),x="Manual step: ";return {issue:f,problem:w&&!_?`${v} is missing`:v,fix:E&&f.fix?.suggestedValue?`${x}${pu(f.fix.suggestedValue,Eg-x.length)}`:f.fix?.suggestedValue&&!f.fix.suggestedValue.includes("!important")?`Set ${f.fix.attribute}="${pu(f.fix.suggestedValue,EL(f.fix.attribute))}"`:`Review this element for WCAG ${f.wcag} compliance.`,wcagLink:y}}var AL=72,Eg=70;function EL(f){return Math.max(12,Eg-f.length-7)}function pu(f,p){if(f.length<=p)return f;let b=f.slice(0,p-1),h=b.lastIndexOf(" ");return (h>p/2?b.slice(0,h):b)+"\u2026"}function CL(f,p,b,h,m,y=""){let v=h||f.fix?.currentValue||"",w=m||"#ffffff";v&&w?Jr(v,w):0;let E=4.5;if(p==="tailwind"&&v&&w){let A=xo(v,w,E);if(A)return {issue:f,problem:`Contrast ratio ${A.currentRatio}:1 \u2014 needs ${E}:1 for WCAG AA.`,fix:A.currentClass?`Change ${A.currentClass} \u2192 ${A.suggestedClass}`:`Use ${A.suggestedClass} (${A.suggestedHex})`,before:A.currentClass||void 0,after:A.suggestedClass,contrast:{current:A.currentRatio,required:E,suggested:A.suggestedRatio,fgColor:v,bgColor:w,suggestedColor:A.suggestedHex},wcagLink:y}}let x=v&&w?qa(v,w,E):null;return x?{issue:f,problem:`Contrast ratio ${x.currentRatio}:1 \u2014 needs ${E}:1 for WCAG AA.`,fix:`Change color from ${x.currentColor} to ${x.suggestedColor}`,contrast:{current:x.currentRatio,required:E,suggested:x.suggestedRatio,fgColor:v,bgColor:w,suggestedColor:x.suggestedColor},wcagLink:y}:{issue:f,problem:"Text contrast is below WCAG AA minimum.",fix:"Darken the text color or lighten the background to achieve at least 4.5:1 contrast ratio.",wcagLink:y}}function SL(f,p,b,h=""){return {issue:f,problem:"Non-text element (border, icon, UI component) has contrast below 3:1 against its background.",fix:p==="tailwind"?"Use a darker border color \u2014 e.g., border-gray-400 instead of border-gray-200. Non-text elements need 3:1 contrast.":"Darken the border/outline color to achieve at least 3:1 contrast against the background.",wcagLink:h}}function kL(f,p,b=""){return {issue:f,problem:"Element has no visible focus indicator \u2014 keyboard users can't see where they are.",fix:p==="tailwind"?"Add focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 to the element.":"Add :focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; } to the element's CSS.",before:p==="tailwind"?'className="..."':void 0,after:p==="tailwind"?'className="... focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"':void 0,wcagLink:b}}/*! Bundled license information:
|
|
436
436
|
|
|
437
437
|
axe-core/axe.js:
|
|
438
438
|
(*! axe v4.11.3
|
|
@@ -446,4 +446,4 @@ axe-core/axe.js:
|
|
|
446
446
|
* distribute or in any file that contains substantial portions of this source
|
|
447
447
|
* code.
|
|
448
448
|
*)
|
|
449
|
-
*/export{Pn as VIEWPORT_SIZES,
|
|
449
|
+
*/export{Pn as VIEWPORT_SIZES,AR as WCAG_BY_ISSUE,Dg as detectFramework,dg as dismissModals,zI as extractSiteTheme,Ag as generateDevSuggestion,Jr as getContrastRatio,tu as runAxe,eu as runDetectors,bL as scan,qa as solveContrast,xo as suggestTailwindFix,xL as toHtmlReport};
|