@webability/core 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.md +0 -16
- package/README.md +1 -1
- package/dist/dom.cjs +37 -31
- package/dist/dom.d.cts +5 -4
- package/dist/dom.d.ts +5 -4
- package/dist/dom.js +37 -31
- package/dist/engine.cjs +414 -0
- package/dist/engine.d.cts +588 -0
- package/dist/engine.d.ts +588 -0
- package/dist/engine.js +414 -0
- package/dist/index.cjs +47 -45
- package/dist/index.d.cts +59 -3
- package/dist/index.d.ts +59 -3
- package/dist/index.js +47 -45
- package/dist/playwright.cjs +37 -35
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +37 -35
- package/dist/{types-BgiJ7PGs.d.cts → types-fjs6XhzQ.d.cts} +94 -6
- package/dist/{types-BgiJ7PGs.d.ts → types-fjs6XhzQ.d.ts} +94 -6
- package/package.json +17 -3
package/dist/dom.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var b3=Object.create;var cu=Object.defineProperty;var y3=Object.getOwnPropertyDescriptor;var w3=Object.getOwnPropertyNames;var x3=Object.getPrototypeOf,D3=Object.prototype.hasOwnProperty;var $a=(p,d)=>()=>(p&&(d=p(p=0)),d);var A3=(p,d)=>()=>(d||p((d={exports:{}}).exports,d),d.exports),za=(p,d)=>{for(var v in d)cu(p,v,{get:d[v],enumerable:true});},_3=(p,d,v,m)=>{if(d&&typeof d=="object"||typeof d=="function")for(let h of w3(d))!D3.call(p,h)&&h!==v&&cu(p,h,{get:()=>d[h],enumerable:!(m=y3(d,h))||m.enumerable});return p};var E3=(p,d,v)=>(v=p!=null?b3(x3(p)):{},_3(cu(v,"default",{value:p,enumerable:true}),p));var Zh={};za(Zh,{ACCESSIBLE_NAME_JS:()=>AI,IS_HIDDEN_FROM_AT_JS:()=>EI,IS_TRACKING_PIXEL_JS:()=>CI,IS_VISIBLE_JS:()=>DI,NEARBY_CONTEXT_JS:()=>SI,UNIQUE_SELECTOR_JS:()=>xI,WIDGET_SKIP_JS:()=>_I});var xI,DI,AI,_I,EI,CI,SI,Qh=$a(()=>{xI=`
|
|
2
2
|
function __isUnique(sel) {
|
|
3
3
|
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
4
|
}
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
// (an empty selector is unactionable downstream).
|
|
153
153
|
return candidate || full || __tagWithClass(el);
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,DI=`
|
|
156
156
|
function isVisible(el) {
|
|
157
157
|
if (!el) return false;
|
|
158
158
|
const s = getComputedStyle(el);
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
if (/rect\\(\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*\\)/.test(s.clip || '')) return false;
|
|
176
176
|
return true;
|
|
177
177
|
}
|
|
178
|
-
`,
|
|
178
|
+
`,AI=`
|
|
179
179
|
// aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
|
|
180
180
|
// the whole attribute with getElementById silently failed on multi-ID
|
|
181
181
|
// references (bug existed in 7 copies across detectors \u2014 now one kernel).
|
|
@@ -226,13 +226,13 @@
|
|
|
226
226
|
var title = el.getAttribute('title') || '';
|
|
227
227
|
return title.trim();
|
|
228
228
|
}
|
|
229
|
-
`,
|
|
229
|
+
`,_I=`
|
|
230
230
|
const WIDGET_SKIP = '[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te],[id*=recaptcha],[class*=intercom],[class*=drift-],[class*=crisp-],[class*=tawk-],[class*=hubspot-],[class*=fb-],[class*=wistia],#wpadminbar,[class*=cmplz-btn],[class*=cmplz-link],[id*=cmplz-],[class*=onetrust],[class*=cookiebot],[class*=borlabs],[class*=brlbs-],[id*=wp-ada-compliance],[class*=wp-ada-compliance],[id*=webability-widget],[class*=webability-a11y]';
|
|
231
231
|
function isWidget(el) {
|
|
232
232
|
if (!el) return false;
|
|
233
233
|
return el.closest(WIDGET_SKIP) !== null;
|
|
234
234
|
}
|
|
235
|
-
`,
|
|
235
|
+
`,EI=`
|
|
236
236
|
function isHiddenFromAT(el) {
|
|
237
237
|
if (!el) return false;
|
|
238
238
|
if (el.getAttribute('aria-hidden') === 'true') return true;
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
}
|
|
250
250
|
return false;
|
|
251
251
|
}
|
|
252
|
-
`,
|
|
252
|
+
`,CI=`
|
|
253
253
|
function isTrackingPixel(img) {
|
|
254
254
|
const w = img.naturalWidth || img.width || 0;
|
|
255
255
|
const h = img.naturalHeight || img.height || 0;
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
if (src.includes('pixel') || src.includes('beacon') || src.includes('tracker') || src.includes('analytics') || src.includes('adsrvr') || src.includes('doubleclick') || src.includes('facebook.com/tr')) return true;
|
|
261
261
|
return false;
|
|
262
262
|
}
|
|
263
|
-
`,
|
|
263
|
+
`,SI=`
|
|
264
264
|
function getNearbyContext(el) {
|
|
265
265
|
// Walk up to the nearest semantic container
|
|
266
266
|
var container = el.closest('article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]');
|
|
@@ -287,8 +287,8 @@
|
|
|
287
287
|
|
|
288
288
|
return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
|
|
289
289
|
}
|
|
290
|
-
`;});var
|
|
291
|
-
var __ICON_LABELS = ${JSON.stringify(
|
|
290
|
+
`;});var eg={};za(eg,{ICON_LABELS_JS:()=>FI,ICON_LABELS_JSON:()=>RI,lookupIconLabel:()=>TI});function TI(p,d="",v=""){let m=[];if(p)for(let h of p.split(/\s+/)){if(!h)continue;let A=h.toLowerCase().replace(kI,"").replace(/^icon-/,"");A&&A!==h.toLowerCase()&&m.push(A);}if(d&&m.push(d.toLowerCase().trim()),v){let h=v.trim().toLowerCase();h.length<30&&/^[a-z_-]+$/.test(h)&&m.push(h.replace(/_/g,"-"));}for(let h of m)if(Gn[h])return Gn[h];for(let h of m)for(let A of h.split("-"))if(Gn[A])return Gn[A];return null}var Gn,kI,RI,FI,tg=$a(()=>{Gn={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"},kI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;RI=JSON.stringify(Gn),FI=`
|
|
291
|
+
var __ICON_LABELS = ${JSON.stringify(Gn)};
|
|
292
292
|
var __ICON_PREFIX_STRIP = /^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;
|
|
293
293
|
function lookupIconLabel(classString, dataIcon, textContent) {
|
|
294
294
|
var parts = [];
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
}
|
|
318
318
|
return null;
|
|
319
319
|
}
|
|
320
|
-
`;});var
|
|
320
|
+
`;});var rg={};za(rg,{COLOR_MATH_JS:()=>II});var II,ng=$a(()=>{II=`
|
|
321
321
|
var __colorCtx;
|
|
322
322
|
function parseCssColor(str) {
|
|
323
323
|
if (!str) return null;
|
|
@@ -354,44 +354,50 @@
|
|
|
354
354
|
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
355
355
|
return (hi + 0.05) / (lo + 0.05);
|
|
356
356
|
}
|
|
357
|
-
`;});var
|
|
358
|
-
|
|
359
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(Q,ae){var he=Q==null?null:typeof Symbol<"u"&&Q[Symbol.iterator]||Q["@@iterator"];if(he!=null){var _e,it,Dt,Ot,ar=[],Ft=true,Vt=false;try{if(Dt=(he=he.call(Q)).next,ae===0){if(Object(he)!==he)return;Ft=!1;}else for(;!(Ft=(_e=Dt.call(he)).done)&&(ar.push(_e.value),ar.length!==ae);Ft=!0);}catch(Ga){Vt=true,it=Ga;}finally{try{if(!Ft&&he.return!=null&&(Ot=he.return(),Object(Ot)!==Ot))return}finally{if(Vt)throw it}}return ar}}function Gt(Q){if(Array.isArray(Q))return Q}function ft(Q,ae){if(!(Q instanceof ae))throw new TypeError("Cannot call a class as a function")}function rr(Q,ae){for(var he=0;he<ae.length;he++){var _e=ae[he];_e.enumerable=_e.enumerable||false,_e.configurable=true,"value"in _e&&(_e.writable=true),Object.defineProperty(Q,bt(_e.key),_e);}}function vt(Q,ae,he){return ae&&rr(Q.prototype,ae),he&&rr(Q,he),Object.defineProperty(Q,"prototype",{writable:false}),Q}function bt(Q){var ae=na(Q,"string");return le(ae)=="symbol"?ae:ae+""}function na(Q,ae){if(le(Q)!="object"||!Q)return Q;var he=Q[Symbol.toPrimitive];if(he!==void 0){var _e=he.call(Q,ae);if(le(_e)!="object")return _e;throw new TypeError("@@toPrimitive must return a primitive value.")}return (ae==="string"?String:Number)(Q)}function Je(Q,ae){var he=typeof Symbol<"u"&&Q[Symbol.iterator]||Q["@@iterator"];if(!he){if(Array.isArray(Q)||(he=Wt(Q))||ae){he&&(Q=he);var _e=0,it=function(){};return {s:it,n:function(){return _e>=Q.length?{done:true}:{done:false,value:Q[_e++]}},e:function(Vt){throw Vt},f:it}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
360
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Dt,Ot=true,ar=false;return {s:function(){he=he.call(Q);},n:function(){var Vt=he.next();return Ot=Vt.done,Vt},e:function(Vt){ar=true,Dt=Vt;},f:function(){try{Ot||he.return==null||he.return();}finally{if(ar)throw Dt}}}}function Wt(Q,ae){if(Q){if(typeof Q=="string")return Wn(Q,ae);var he={}.toString.call(Q).slice(8,-1);return he==="Object"&&Q.constructor&&(he=Q.constructor.name),he==="Map"||he==="Set"?Array.from(Q):he==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(he)?Wn(Q,ae):void 0}}function Wn(Q,ae){(ae==null||ae>Q.length)&&(ae=Q.length);for(var he=0,_e=Array(ae);he<ae;he++)_e[he]=Q[he];return _e}function le(Q){"@babel/helpers - typeof";return le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ae){return typeof ae}:function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},le(Q)}((function(Q,ae,he,_e,it,Dt,Ot,ar,Ft,Vt,Ga){var Dg=Object.create,Wa=Object.defineProperty,Ag=Object.getPrototypeOf,_g=Object.prototype.hasOwnProperty,Eg=Object.getOwnPropertyNames,Cg=Object.getOwnPropertyDescriptor,Sg=function(t,r,a){return r in t?Wa(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},kg=function(t){return Wa(t,"__esModule",{value:true})},$=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},fr=function(t,r){for(var a in r)Wa(t,a,{get:r[a],enumerable:true});},Tg=function(t,r,a){if(r&&le(r)==="object"||typeof r=="function"){var n=Je(Eg(r)),i;try{var o=function(){var l=i.value;!_g.call(t,l)&&l!=="default"&&Wa(t,l,{get:function(){return r[l]},enumerable:!(a=Cg(r,l))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},wr=function(t){return Tg(kg(Wa(t!=null?Dg(Ag(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},vu=function(t,r,a){return Sg(t,le(r)!=="symbol"?r+"":r,a),a},Fg=$(function(e,t){(function(r,a){le(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(te){var ce=le(te);return te!==null&&(ce==="object"||ce==="function")}function a(te){return typeof te=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(ce){return Object.prototype.toString.call(ce)==="[object Array]"};var i=n,o=0,s=void 0,l=void 0,u=function(ce,ve){ee[o]=ce,ee[o+1]=ve,o+=2,o===2&&(l?l(ie):we());};function c(te){l=te;}function d(te){u=te;}var h=typeof f<"u"?f:void 0,x=h||{},k=x.MutationObserver||x.WebKitMutationObserver,I=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",M=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function O(){return function(){return process.nextTick(ie)}}function q(){return typeof s<"u"?function(){s(ie);}:Y()}function G(){var te=0,ce=new k(ie),ve=m.createTextNode("");return ce.observe(ve,{characterData:true}),function(){ve.data=te=++te%2;}}function W(){var te=new MessageChannel;return te.port1.onmessage=ie,function(){return te.port2.postMessage(0)}}function Y(){var te=setTimeout;return function(){return te(ie,1)}}var ee=new Array(1e3);function ie(){for(var te=0;te<o;te+=2){var ce=ee[te],ve=ee[te+1];ce(ve),ee[te]=void 0,ee[te+1]=void 0;}o=0;}function ue(){try{var te=Function("return this")().require("vertx");return s=te.runOnLoop||te.runOnContext,q()}catch{return Y()}}var we=void 0;I?we=O():k?we=G():M?we=W():h===void 0?we=ue():we=Y();function oe(te,ce){var ve=this,Te=new this.constructor(xe);Te[be]===void 0&&ct(Te);var je=ve._state;if(je){var Xe=arguments[je-1];u(function(){return st(je,Te,Xe,ve._result)});}else Ke(ve,Te,te,ce);return Te}function pe(te){var ce=this;if(te&&le(te)==="object"&&te.constructor===ce)return te;var ve=new ce(xe);return Ae(ve,te),ve}var be=Math.random().toString(36).substring(2);function xe(){}var Me=void 0,Ve=1,Se=2;function Ne(){return new TypeError("You cannot resolve a promise with itself")}function ge(){return new TypeError("A promises callback cannot return that same promise.")}function Le(te,ce,ve,Te){try{te.call(ce,ve,Te);}catch(je){return je}}function J(te,ce,ve){u(function(Te){var je=false,Xe=Le(ve,ce,function(Tt){je||(je=true,ce!==Tt?Ae(Te,Tt):Ee(Te,Tt));},function(Tt){je||(je=true,Re(Te,Tt));},"Settle: "+(Te._label||" unknown promise"));!je&&Xe&&(je=true,Re(Te,Xe));},te);}function De(te,ce){ce._state===Ve?Ee(te,ce._result):ce._state===Se?Re(te,ce._result):Ke(ce,void 0,function(ve){return Ae(te,ve)},function(ve){return Re(te,ve)});}function de(te,ce,ve){ce.constructor===te.constructor&&ve===oe&&ce.constructor.resolve===pe?De(te,ce):ve===void 0?Ee(te,ce):a(ve)?J(te,ce,ve):Ee(te,ce);}function Ae(te,ce){if(te===ce)Re(te,Ne());else if(r(ce)){var ve=void 0;try{ve=ce.then;}catch(Te){Re(te,Te);return}de(te,ce,ve);}else Ee(te,ce);}function Be(te){te._onerror&&te._onerror(te._result),at(te);}function Ee(te,ce){te._state===Me&&(te._result=ce,te._state=Ve,te._subscribers.length!==0&&u(at,te));}function Re(te,ce){te._state===Me&&(te._state=Se,te._result=ce,u(Be,te));}function Ke(te,ce,ve,Te){var je=te._subscribers,Xe=je.length;te._onerror=null,je[Xe]=ce,je[Xe+Ve]=ve,je[Xe+Se]=Te,Xe===0&&te._state&&u(at,te);}function at(te){var ce=te._subscribers,ve=te._state;if(ce.length!==0){for(var Te=void 0,je=void 0,Xe=te._result,Tt=0;Tt<ce.length;Tt+=3)Te=ce[Tt],je=ce[Tt+ve],Te?st(ve,Te,je,Xe):je(Xe);te._subscribers.length=0;}}function st(te,ce,ve,Te){var je=a(ve),Xe=void 0,Tt=void 0,Ha=true;if(je){try{Xe=ve(Te);}catch(Ao){Ha=false,Tt=Ao;}if(ce===Xe){Re(ce,ge());return}}else Xe=Te;ce._state!==Me||(je&&Ha?Ae(ce,Xe):Ha===false?Re(ce,Tt):te===Ve?Ee(ce,Xe):te===Se&&Re(ce,Xe));}function wt(te,ce){try{ce(function(Te){Ae(te,Te);},function(Te){Re(te,Te);});}catch(ve){Re(te,ve);}}var Ct=0;function Et(){return Ct++}function ct(te){te[be]=Ct++,te._state=void 0,te._result=void 0,te._subscribers=[];}function Ba(){return new Error("Array Methods must be provided an Array")}var Mt=(function(){function te(ce,ve){this._instanceConstructor=ce,this.promise=new ce(xe),this.promise[be]||ct(this.promise),i(ve)?(this.length=ve.length,this._remaining=ve.length,this._result=new Array(this.length),this.length===0?Ee(this.promise,this._result):(this.length=this.length||0,this._enumerate(ve),this._remaining===0&&Ee(this.promise,this._result))):Re(this.promise,Ba());}return te.prototype._enumerate=function(ve){for(var Te=0;this._state===Me&&Te<ve.length;Te++)this._eachEntry(ve[Te],Te);},te.prototype._eachEntry=function(ve,Te){var je=this._instanceConstructor,Xe=je.resolve;if(Xe===pe){var Tt=void 0,Ha=void 0,Ao=false;try{Tt=ve.then;}catch(nu){Ao=true,Ha=nu;}if(Tt===oe&&ve._state!==Me)this._settledAt(ve._state,Te,ve._result);else if(typeof Tt!="function")this._remaining--,this._result[Te]=ve;else if(je===ht){var au=new je(xe);Ao?Re(au,Ha):de(au,ve,Tt),this._willSettleAt(au,Te);}else this._willSettleAt(new je(function(nu){return nu(ve)}),Te);}else this._willSettleAt(Xe(ve),Te);},te.prototype._settledAt=function(ve,Te,je){var Xe=this.promise;Xe._state===Me&&(this._remaining--,ve===Se?Re(Xe,je):this._result[Te]=je),this._remaining===0&&Ee(Xe,this._result);},te.prototype._willSettleAt=function(ve,Te){var je=this;Ke(ve,void 0,function(Xe){return je._settledAt(Ve,Te,Xe)},function(Xe){return je._settledAt(Se,Te,Xe)});},te})();function dt(te){return new Mt(this,te).promise}function St(te){var ce=this;return i(te)?new ce(function(ve,Te){for(var je=te.length,Xe=0;Xe<je;Xe++)ce.resolve(te[Xe]).then(ve,Te);}):new ce(function(ve,Te){return Te(new TypeError("You must pass an array to race."))})}function xt(te){var ce=this,ve=new ce(xe);return Re(ve,te),ve}function Bt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ht(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ht=(function(){function te(ce){this[be]=Et(),this._result=this._state=void 0,this._subscribers=[],xe!==ce&&(typeof ce!="function"&&Bt(),this instanceof te?wt(this,ce):Ht());}return te.prototype.catch=function(ve){return this.then(null,ve)},te.prototype.finally=function(ve){var Te=this,je=Te.constructor;return a(ve)?Te.then(function(Xe){return je.resolve(ve()).then(function(){return Xe})},function(Xe){return je.resolve(ve()).then(function(){throw Xe})}):Te.then(ve,ve)},te})();ht.prototype.then=oe,ht.all=dt,ht.race=St,ht.resolve=pe,ht.reject=xt,ht._setScheduler=c,ht._setAsap=d,ht._asap=u;function nt(){var te=void 0;if(typeof v<"u")te=v;else if(typeof self<"u")te=self;else try{te=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var ce=te.Promise;if(ce){var ve=null;try{ve=Object.prototype.toString.call(ce.resolve());}catch{}if(ve==="[object Promise]"&&!ce.cast)return}te.Promise=ht;}return ht.polyfill=nt,ht.Promise=ht,ht});}),Rg=$(function(e){var t=1e5,r=(function(){var J=Object.prototype.toString,De=Object.prototype.hasOwnProperty;return {Class:function(Ae){return J.call(Ae).replace(/^\[object *|\]$/g,"")},HasProperty:function(Ae,Be){return Be in Ae},HasOwnProperty:function(Ae,Be){return De.call(Ae,Be)},IsCallable:function(Ae){return typeof Ae=="function"},ToInt32:function(Ae){return Ae>>0},ToUint32:function(Ae){return Ae>>>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,De,de){return J<De?De:J>de?de:J}var d=Object.getOwnPropertyNames||function(J){if(J!==Object(J))throw new TypeError("Object.getOwnPropertyNames called on non-object");var De=[],de;for(de in J)r.HasOwnProperty(J,de)&&De.push(de);return De},h;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?h=Object.defineProperty:h=function(De,de,Ae){if(!De===Object(De))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Ae,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(De,de,Ae.get),r.HasProperty(Ae,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(De,de,Ae.set),r.HasProperty(Ae,"value")&&(De[de]=Ae.value),De};function x(J){if(d&&h){var De=d(J),de;for(de=0;de<De.length;de+=1)h(J,De[de],{value:J[De[de]],writable:false,enumerable:false,configurable:false});}}function k(J){if(!h)return;if(J.length>t)throw new RangeError("Array too large for polyfill");function De(Ae){h(J,Ae,{get:function(){return J._getter(Ae)},set:function(Ee){J._setter(Ae,Ee);},enumerable:true,configurable:false});}var de;for(de=0;de<J.length;de+=1)De(de);}function I(J,De){var de=32-De;return J<<de>>de}function M(J,De){var de=32-De;return J<<de>>>de}function O(J){return [J&255]}function q(J){return I(J[0],8)}function G(J){return [J&255]}function W(J){return M(J[0],8)}function Y(J){return J=u(Number(J)),[J<0?0:J>255?255:J&255]}function ee(J){return [J>>8&255,J&255]}function ie(J){return I(J[0]<<8|J[1],16)}function ue(J){return [J>>8&255,J&255]}function we(J){return M(J[0]<<8|J[1],16)}function oe(J){return [J>>24&255,J>>16&255,J>>8&255,J&255]}function pe(J){return I(J[0]<<24|J[1]<<16|J[2]<<8|J[3],32)}function be(J){return [J>>24&255,J>>16&255,J>>8&255,J&255]}function xe(J){return M(J[0]<<24|J[1]<<16|J[2]<<8|J[3],32)}function Me(J,De,de){var Ae=(1<<De-1)-1,Be,Ee,Re,Ke,at,st,wt;function Ct(Et){var ct=i(Et),Ba=Et-ct;return Ba<.5?ct:Ba>.5||ct%2?ct+1:ct}for(J!==J?(Ee=(1<<De)-1,Re=l(2,de-1),Be=0):J===1/0||J===-1/0?(Ee=(1<<De)-1,Re=0,Be=J<0?1:0):J===0?(Ee=0,Re=0,Be=1/J===-1/0?1:0):(Be=J<0,J=n(J),J>=l(2,1-Ae)?(Ee=s(i(o(J)/a),1023),Re=Ct(J/l(2,Ee)*l(2,de)),Re/l(2,de)>=2&&(Ee=Ee+1,Re=1),Ee>Ae?(Ee=(1<<De)-1,Re=0):(Ee=Ee+Ae,Re=Re-l(2,de))):(Ee=0,Re=Ct(J/l(2,1-Ae-de)))),at=[],Ke=de;Ke;Ke-=1)at.push(Re%2?1:0),Re=i(Re/2);for(Ke=De;Ke;Ke-=1)at.push(Ee%2?1:0),Ee=i(Ee/2);for(at.push(Be?1:0),at.reverse(),st=at.join(""),wt=[];st.length;)wt.push(parseInt(st.substring(0,8),2)),st=st.substring(8);return wt}function Ve(J,De,de){var Ae=[],Be,Ee,Re,Ke,at,st,wt,Ct;for(Be=J.length;Be;Be-=1)for(Re=J[Be-1],Ee=8;Ee;Ee-=1)Ae.push(Re%2?1:0),Re=Re>>1;return Ae.reverse(),Ke=Ae.join(""),at=(1<<De-1)-1,st=parseInt(Ke.substring(0,1),2)?-1:1,wt=parseInt(Ke.substring(1,1+De),2),Ct=parseInt(Ke.substring(1+De),2),wt===(1<<De)-1?Ct===0?st*(1/0):NaN:wt>0?st*l(2,wt-at)*(1+Ct/l(2,de)):Ct!==0?st*l(2,-(at-1))*(Ct/l(2,de)):st<0?-0:0}function Se(J){return Ve(J,11,52)}function Ne(J){return Me(J,11,52)}function ge(J){return Ve(J,8,23)}function Le(J){return Me(J,8,23)}((function(){function J(Et){if(Et=r.ToInt32(Et),Et<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Et,this._bytes=[],this._bytes.length=Et;var ct;for(ct=0;ct<this.byteLength;ct+=1)this._bytes[ct]=0;x(this);}e.ArrayBuffer=e.ArrayBuffer||J;function De(){}function de(Et,ct,Ba){var Mt;return Mt=function(St,xt,Bt){var Ht,ht,nt,te;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Bt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new J(this.byteLength),this.byteOffset=0;}else if(le(arguments[0])==="object"&&arguments[0].constructor===Mt)for(Ht=arguments[0],this.length=Ht.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new J(this.byteLength),this.byteOffset=0,nt=0;nt<this.length;nt+=1)this._setter(nt,Ht._getter(nt));else if(le(arguments[0])==="object"&&!(arguments[0]instanceof J||r.Class(arguments[0])==="ArrayBuffer"))for(ht=arguments[0],this.length=r.ToUint32(ht.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new J(this.byteLength),this.byteOffset=0,nt=0;nt<this.length;nt+=1)te=ht[nt],this._setter(nt,Number(te));else if(le(arguments[0])==="object"&&(arguments[0]instanceof J||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=St,this.byteOffset=r.ToUint32(xt),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT;}else this.length=r.ToUint32(Bt),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=Mt,x(this),k(this);},Mt.prototype=new De,Mt.prototype.BYTES_PER_ELEMENT=Et,Mt.prototype._pack=ct,Mt.prototype._unpack=Ba,Mt.BYTES_PER_ELEMENT=Et,Mt.prototype._getter=function(dt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(dt=r.ToUint32(dt),!(dt>=this.length)){for(var St=[],xt=0,Bt=this.byteOffset+dt*this.BYTES_PER_ELEMENT;xt<this.BYTES_PER_ELEMENT;xt+=1,Bt+=1)St.push(this.buffer._bytes[Bt]);return this._unpack(St)}},Mt.prototype.get=Mt.prototype._getter,Mt.prototype._setter=function(dt,St){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(dt=r.ToUint32(dt),dt<this.length){var xt=this._pack(St),Bt,Ht;for(Bt=0,Ht=this.byteOffset+dt*this.BYTES_PER_ELEMENT;Bt<this.BYTES_PER_ELEMENT;Bt+=1,Ht+=1)this.buffer._bytes[Ht]=xt[Bt];}},Mt.prototype.set=function(dt,St){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var xt,Bt,Ht,ht,nt,te,ce,ve,Te,je;if(le(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(xt=arguments[0],Ht=r.ToUint32(arguments[1]),Ht+xt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(ve=this.byteOffset+Ht*this.BYTES_PER_ELEMENT,Te=xt.length*this.BYTES_PER_ELEMENT,xt.buffer===this.buffer){for(je=[],nt=0,te=xt.byteOffset;nt<Te;nt+=1,te+=1)je[nt]=xt.buffer._bytes[te];for(nt=0,ce=ve;nt<Te;nt+=1,ce+=1)this.buffer._bytes[ce]=je[nt];}else for(nt=0,te=xt.byteOffset,ce=ve;nt<Te;nt+=1,te+=1,ce+=1)this.buffer._bytes[ce]=xt.buffer._bytes[te];}else if(le(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Bt=arguments[0],ht=r.ToUint32(Bt.length),Ht=r.ToUint32(arguments[1]),Ht+ht>this.length)throw new RangeError("Offset plus length of array is out of range");for(nt=0;nt<ht;nt+=1)te=Bt[nt],this._setter(Ht+nt,Number(te));}else throw new TypeError("Unexpected argument type(s)")},Mt.prototype.subarray=function(dt,St){dt=r.ToInt32(dt),St=r.ToInt32(St),arguments.length<1&&(dt=0),arguments.length<2&&(St=this.length),dt<0&&(dt=this.length+dt),St<0&&(St=this.length+St),dt=c(dt,0,this.length),St=c(St,0,this.length);var xt=St-dt;return xt<0&&(xt=0),new this.constructor(this.buffer,this.byteOffset+dt*this.BYTES_PER_ELEMENT,xt)},Mt}var Ae=de(1,O,q),Be=de(1,G,W),Ee=de(1,Y,W),Re=de(2,ee,ie),Ke=de(2,ue,we),at=de(4,oe,pe),st=de(4,be,xe),wt=de(4,Le,ge),Ct=de(8,Ne,Se);e.Int8Array=e.Int8Array||Ae,e.Uint8Array=e.Uint8Array||Be,e.Uint8ClampedArray=e.Uint8ClampedArray||Ee,e.Int16Array=e.Int16Array||Re,e.Uint16Array=e.Uint16Array||Ke,e.Int32Array=e.Int32Array||at,e.Uint32Array=e.Uint32Array||st,e.Float32Array=e.Float32Array||wt,e.Float64Array=e.Float64Array||Ct;}))(),(function(){function J(Ee,Re){return r.IsCallable(Ee.get)?Ee.get(Re):Ee[Re]}var De=(function(){var Ee=new e.Uint16Array([4660]),Re=new e.Uint8Array(Ee.buffer);return J(Re,0)===18})();function de(Ee,Re,Ke){if(arguments.length===0)Ee=new e.ArrayBuffer(0);else if(!(Ee instanceof e.ArrayBuffer||r.Class(Ee)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Ee||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Re),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(Ke),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");x(this);}function Ae(Ee){return function(Re,Ke){if(Re=r.ToUint32(Re),Re+Ee.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Re+=this.byteOffset;var at=new e.Uint8Array(this.buffer,Re,Ee.BYTES_PER_ELEMENT),st=[],wt;for(wt=0;wt<Ee.BYTES_PER_ELEMENT;wt+=1)st.push(J(at,wt));return !!Ke==!!De&&st.reverse(),J(new Ee(new e.Uint8Array(st).buffer),0)}}de.prototype.getUint8=Ae(e.Uint8Array),de.prototype.getInt8=Ae(e.Int8Array),de.prototype.getUint16=Ae(e.Uint16Array),de.prototype.getInt16=Ae(e.Int16Array),de.prototype.getUint32=Ae(e.Uint32Array),de.prototype.getInt32=Ae(e.Int32Array),de.prototype.getFloat32=Ae(e.Float32Array),de.prototype.getFloat64=Ae(e.Float64Array);function Be(Ee){return function(Re,Ke,at){if(Re=r.ToUint32(Re),Re+Ee.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var st=new Ee([Ke]),wt=new e.Uint8Array(st.buffer),Ct=[],Et,ct;for(Et=0;Et<Ee.BYTES_PER_ELEMENT;Et+=1)Ct.push(J(wt,Et));!!at==!!De&&Ct.reverse(),ct=new e.Uint8Array(this.buffer,Re,Ee.BYTES_PER_ELEMENT),ct.set(Ct);}}de.prototype.setUint8=Be(e.Uint8Array),de.prototype.setInt8=Be(e.Int8Array),de.prototype.setUint16=Be(e.Uint16Array),de.prototype.setInt16=Be(e.Int16Array),de.prototype.setUint32=Be(e.Uint32Array),de.prototype.setInt32=Be(e.Int32Array),de.prototype.setFloat32=Be(e.Float32Array),de.prototype.setFloat64=Be(e.Float64Array),e.DataView=e.DataView||de;})();}),Ig=$(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 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 "+le(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof f<"u"?f:typeof v<"u"?v:e);}),pr=$(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":le(globalThis))=="object"&&globalThis)||r((typeof f>"u"?"undefined":le(f))=="object"&&f)||r((typeof self>"u"?"undefined":le(self))=="object"&&self)||r((typeof v>"u"?"undefined":le(v))=="object"&&v)||r(le(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),mr=$(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Un=$(function(e,t){var r=mr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Lg=$(function(e,t){var r=Un(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":le(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),nr=$(function(e,t){var r=Un(),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)}};}),Xn=$(function(e,t){var r=nr(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),bu=$(function(e,t){var r=Xn(),a=nr();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Ut=$(function(e,t){var r=(typeof m>"u"?"undefined":le(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),xr=$(function(e,t){var r=mr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),ia=$(function(e,t){var r=Un(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),yu=$(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;}),Yn=$(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),Mg=$(function(e,t){var r=nr(),a=mr(),n=Xn(),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;}),Ro=$(function(e,t){t.exports=function(r){return r==null};}),Kn=$(function(e,t){var r=Ro(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ua=$(function(e,t){var r=Mg(),a=Kn();t.exports=function(n){return r(a(n))};}),Hr=$(function(e,t){var r=Ut();t.exports=function(a){return le(a)=="object"?a!==null:r(a)};}),Xa=$(function(e,t){t.exports={};}),Io=$(function(e,t){var r=Xa(),a=pr(),n=Ut(),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]};}),Pg=$(function(e,t){var r=nr();t.exports=r({}.isPrototypeOf);}),Og=$(function(e,t){var r=pr(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Ng=$(function(e,t){var r=pr(),a=Og(),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;}),wu=$(function(e,t){var r=Ng(),a=mr(),n=pr(),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});}),xu=$(function(e,t){var r=wu();t.exports=r&&!Symbol.sham&&le(Symbol.iterator)=="symbol";}),Du=$(function(e,t){var r=Io(),a=Ut(),n=Pg(),i=xu(),o=Object;t.exports=i?function(s){return le(s)=="symbol"}:function(s){var l=r("Symbol");return a(l)&&n(l.prototype,o(s))};}),Au=$(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Jn=$(function(e,t){var r=Ut(),a=Au(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),Lo=$(function(e,t){var r=Jn(),a=Ro();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),qg=$(function(e,t){var r=ia(),a=Ut(),n=Hr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&a(l=o.toString)&&!n(u=r(l,o))||a(l=o.valueOf)&&!n(u=r(l,o))||s!=="string"&&a(l=o.toString)&&!n(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Mo=$(function(e,t){t.exports=true;}),Bg=$(function(e,t){var r=pr(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),Zn=$(function(e,t){var r=Mo(),a=pr(),n=Bg(),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"});}),_u=$(function(e,t){var r=Zn();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Po=$(function(e,t){var r=Kn(),a=Object;t.exports=function(n){return a(r(n))};}),Ir=$(function(e,t){var r=nr(),a=Po(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),Eu=$(function(e,t){var r=nr(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Lr=$(function(e,t){var r=pr(),a=_u(),n=Ir(),i=Eu(),o=wu(),s=xu(),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]};}),Hg=$(function(e,t){var r=ia(),a=Hr(),n=Du(),i=Lo(),o=qg(),s=Lr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var h=i(c,u),x;if(h){if(d===void 0&&(d="default"),x=r(h,c,d),!a(x)||n(x))return x;throw new l("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),Cu=$(function(e,t){var r=Hg(),a=Du();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),Su=$(function(e,t){var r=pr(),a=Hr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),ku=$(function(e,t){var r=xr(),a=mr(),n=Su();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),Vg=$(function(e){var t=xr(),r=ia(),a=yu(),n=Yn(),i=Ua(),o=Cu(),s=Ir(),l=ku(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(d,h){if(d=i(d),h=o(h),l)try{return u(d,h)}catch{}if(s(d,h))return n(!r(a.f,d,h),d[h])};}),jg=$(function(e,t){var r=mr(),a=Ut(),n=/#|\.prototype\./,i=function(d,h){var x=s[o(d)];return x===u?true:x===l?false:a(h)?r(h):!!h},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;}),Tu=$(function(e,t){var r=bu(),a=Jn(),n=Un(),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)}};}),Fu=$(function(e,t){var r=xr(),a=mr();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),wa=$(function(e,t){var r=Hr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),Qn=$(function(e){var t=xr(),r=ku(),a=Fu(),n=wa(),i=Cu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?a?function(x,k,I){if(n(x),k=i(k),n(I),typeof x=="function"&&k==="prototype"&&"value"in I&&d in I&&!I[d]){var M=l(x,k);M&&M[d]&&(x[k]=I.value,I={configurable:c in I?I[c]:M[c],enumerable:u in I?I[u]:M[u],writable:false});}return s(x,k,I)}:s:function(x,k,I){if(n(x),k=i(k),n(I),r)try{return s(x,k,I)}catch{}if("get"in I||"set"in I)throw new o("Accessors not supported");return "value"in I&&(x[k]=I.value),x};}),Ya=$(function(e,t){var r=xr(),a=Qn(),n=Yn();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),ei=$(function(e,t){var r=pr(),a=Lg(),n=bu(),i=Ut(),o=Vg().f,s=jg(),l=Xa(),u=Tu(),c=Ya(),d=Ir();Zn();var h=function(k){var I=function(O,q,G){if(this instanceof I){switch(arguments.length){case 0:return new k;case 1:return new k(O);case 2:return new k(O,q)}return new k(O,q,G)}return a(k,this,arguments)};return I.prototype=k.prototype,I};t.exports=function(x,k){var I=x.target,M=x.global,O=x.stat,q=x.proto,G=M?r:O?r[I]:r[I]&&r[I].prototype,W=M?l:l[I]||c(l,I,{})[I],Y=W.prototype,ee,ie,ue,we,oe,pe,be,xe,Me;for(we in k)ee=s(M?we:I+(O?".":"#")+we,x.forced),ie=!ee&&G&&d(G,we),pe=W[we],ie&&(x.dontCallGetSet?(Me=o(G,we),be=Me&&Me.value):be=G[we]),oe=ie&&be?be:k[we],!(!ee&&!q&&le(pe)==le(oe))&&(x.bind&&ie?xe=u(oe,r):x.wrap&&ie?xe=h(oe):q&&i(oe)?xe=n(oe):xe=oe,(x.sham||oe&&oe.sham||pe&&pe.sham)&&c(xe,"sham",true),c(W,we,xe),q&&(ue=I+"Prototype",d(l,ue)||c(l,ue,{}),c(l[ue],we,oe),x.real&&Y&&(ee||!Y[we])&&c(Y,we,oe)));};}),$g=$(function(){var e=ei(),t=Ir();e({target:"Object",stat:true},{hasOwn:t});}),zg=$(function(e,t){$g();var r=Xa();t.exports=r.Object.hasOwn;}),Gg=$(function(e,t){var r=zg();t.exports=r;}),Wg=$(function(e,t){var r=Gg();t.exports=r;}),Oo=$(function(e,t){var r=_u(),a=Eu(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Ug=$(function(e,t){var r=mr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),No=$(function(e,t){var r=Ir(),a=Ut(),n=Po(),i=Oo(),o=Ug(),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 h=d.constructor;return a(h)&&d instanceof h?h.prototype:d instanceof l?u:null};}),Xg=$(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)};}),qo=$(function(e,t){var r=Xg();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),Yg=$(function(e,t){var r=qo(),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)};}),Kg=$(function(e,t){var r=qo(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),Ru=$(function(e,t){var r=Kg();t.exports=function(a){return r(a.length)};}),Jg=$(function(e,t){var r=Ua(),a=Yg(),n=Ru(),i=function(s){return function(l,u,c){var d=r(l),h=n(d);if(h===0)return !s&&-1;var x=a(c,h),k;if(s&&u!==u){for(;h>x;)if(k=d[x++],k!==k)return true}else for(;h>x;x++)if((s||x in d)&&d[x]===u)return s||x||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Bo=$(function(e,t){t.exports={};}),Zg=$(function(e,t){var r=nr(),a=Ir(),n=Ua(),i=Jg().indexOf,o=Bo(),s=r([].push);t.exports=function(l,u){var c=n(l),d=0,h=[],x;for(x in c)!a(o,x)&&a(c,x)&&s(h,x);for(;u.length>d;)a(c,x=u[d++])&&(~i(h,x)||s(h,x));return h};}),Iu=$(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Lu=$(function(e,t){var r=Zg(),a=Iu();t.exports=Object.keys||function(i){return r(i,a)};}),Qg=$(function(e,t){var r=xr(),a=mr(),n=nr(),i=No(),o=Lu(),s=Ua(),l=yu().f,u=n(l),c=n([].push),d=r&&a(function(){var x=Object.create(null);return x[2]=2,!u(x,2)}),h=function(k){return function(I){for(var M=s(I),O=o(M),q=d&&i(M)===null,G=O.length,W=0,Y=[],ee;G>W;)ee=O[W++],(!r||(q?ee in M:u(M,ee)))&&c(Y,k?[ee,M[ee]]:M[ee]);return Y}};t.exports={entries:h(true),values:h(false)};}),ev=$(function(){var e=ei(),t=Qg().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),tv=$(function(e,t){ev();var r=Xa();t.exports=r.Object.values;}),rv=$(function(e,t){var r=tv();t.exports=r;}),av=$(function(e,t){var r=rv();t.exports=r;}),Ho=$(function(e,t){var r=Lr(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),ti=$(function(e,t){var r=Ho(),a=Ut(),n=Xn(),i=Lr(),o=i("toStringTag"),s=Object,l=n((function(){return arguments})())==="Arguments",u=function(d,h){try{return d[h]}catch{}};t.exports=r?n:function(c){var d,h,x;return c===void 0?"Undefined":c===null?"Null":typeof(h=u(d=s(c),o))=="string"?h:l?n(d):(x=n(d))==="Object"&&a(d.callee)?"Arguments":x};}),Mu=$(function(e,t){var r=ti(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),nv=$(function(e,t){var r=nr(),a=qo(),n=Mu(),i=Kn(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(d){return function(h,x){var k=n(i(h)),I=a(x),M=k.length,O,q;return I<0||I>=M?d?"":void 0:(O=s(k,I),O<55296||O>56319||I+1===M||(q=s(k,I+1))<56320||q>57343?d?o(k,I):O:d?l(k,I,I+2):(O-55296<<10)+(q-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),iv=$(function(e,t){var r=pr(),a=Ut(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),ov=$(function(e,t){var r=iv(),a=pr(),n=Hr(),i=Ya(),o=Ir(),s=Zn(),l=Oo(),u=Bo(),c="Object already initialized",d=a.TypeError,h=a.WeakMap,x,k,I,M=function(Y){return I(Y)?k(Y):x(Y,{})},O=function(Y){return function(ee){var ie;if(!n(ee)||(ie=k(ee)).type!==Y)throw new d("Incompatible receiver, "+Y+" required");return ie}};r||s.state?(q=s.state||(s.state=new h),q.get=q.get,q.has=q.has,q.set=q.set,x=function(Y,ee){if(q.has(Y))throw new d(c);return ee.facade=Y,q.set(Y,ee),ee},k=function(Y){return q.get(Y)||{}},I=function(Y){return q.has(Y)}):(G=l("state"),u[G]=true,x=function(Y,ee){if(o(Y,G))throw new d(c);return ee.facade=Y,i(Y,G,ee),ee},k=function(Y){return o(Y,G)?Y[G]:{}},I=function(Y){return o(Y,G)});var q,G;t.exports={set:x,get:k,has:I,enforce:M,getterFor:O};}),sv=$(function(e,t){var r=xr(),a=Ir(),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};}),lv=$(function(e){var t=xr(),r=Fu(),a=Qn(),n=wa(),i=Ua(),o=Lu();e.f=t&&!r?Object.defineProperties:function(l,u){n(l);for(var c=i(u),d=o(u),h=d.length,x=0,k;h>x;)a.f(l,k=d[x++],c[k]);return l};}),uv=$(function(e,t){var r=Io();t.exports=r("document","documentElement");}),Pu=$(function(e,t){var r=wa(),a=lv(),n=Iu(),i=Bo(),o=uv(),s=Su(),l=Oo(),u=">",c="<",d="prototype",h="script",x=l("IE_PROTO"),k=function(){},I=function(Y){return c+h+u+Y+c+"/"+h+u},M=function(Y){Y.write(I("")),Y.close();var ee=Y.parentWindow.Object;return Y=null,ee},O=function(){var Y=s("iframe"),ee="java"+h+":",ie;return Y.style.display="none",o.appendChild(Y),Y.src=String(ee),ie=Y.contentWindow.document,ie.open(),ie.write(I("document.F=Object")),ie.close(),ie.F},q,G=function(){try{q=new ActiveXObject("htmlfile");}catch{}G=typeof m<"u"?m.domain&&q?M(q):O():M(q);for(var Y=n.length;Y--;)delete G[d][n[Y]];return G()};i[x]=true,t.exports=Object.create||function(Y,ee){var ie;return Y!==null?(k[d]=r(Y),ie=new k,k[d]=null,ie[x]=Y):ie=G(),ee===void 0?ie:a.f(ie,ee)};}),Ou=$(function(e,t){var r=Ya();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),Nu=$(function(e,t){var r=mr(),a=Ut(),n=Hr(),i=Pu(),o=No(),s=Ou(),l=Lr(),u=Mo(),c=l("iterator"),d=false,h,x,k;[].keys&&(k=[].keys(),"next"in k?(x=o(o(k)),x!==Object.prototype&&(h=x)):d=true);var I=!n(h)||r(function(){var M={};return h[c].call(M)!==M});I?h={}:u&&(h=i(h)),a(h[c])||s(h,c,function(){return this}),t.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:d};}),cv=$(function(e,t){var r=Ho(),a=ti();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),qu=$(function(e,t){var r=Ho(),a=Qn().f,n=Ya(),i=Ir(),o=cv(),s=Lr(),l=s("toStringTag");t.exports=function(u,c,d,h){var x=d?u:u&&u.prototype;x&&(i(x,l)||a(x,l,{configurable:true,value:c}),h&&!r&&n(x,"toString",o));};}),ri=$(function(e,t){t.exports={};}),dv=$(function(e,t){var r=Nu().IteratorPrototype,a=Pu(),n=Yn(),i=qu(),o=ri(),s=function(){return this};t.exports=function(l,u,c,d){var h=u+" Iterator";return l.prototype=a(r,{next:n(+!d,c)}),i(l,h,false,true),o[h]=s,l};}),fv=$(function(e,t){var r=nr(),a=Jn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),pv=$(function(e,t){var r=Hr();t.exports=function(a){return r(a)||a===null};}),mv=$(function(e,t){var r=pv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),hv=$(function(e,t){var r=fv(),a=Hr(),n=Kn(),i=mv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,d){return n(c),i(d),a(c)&&(o?l(c,d):c.__proto__=d),c}})():void 0);}),gv=$(function(e,t){var r=ei(),a=ia(),n=Mo(),i=sv(),o=Ut(),s=dv(),l=No(),u=hv(),c=qu(),d=Ya(),h=Ou(),x=Lr(),k=ri(),I=Nu(),M=i.PROPER,O=i.CONFIGURABLE,q=I.IteratorPrototype,G=I.BUGGY_SAFARI_ITERATORS,W=x("iterator"),Y="keys",ee="values",ie="entries",ue=function(){return this};t.exports=function(we,oe,pe,be,xe,Me,Ve){s(pe,oe,be);var Se=function(Ke){if(Ke===xe&&De)return De;if(!G&&Ke&&Ke in Le)return Le[Ke];switch(Ke){case Y:return function(){return new pe(this,Ke)};case ee:return function(){return new pe(this,Ke)};case ie:return function(){return new pe(this,Ke)}}return function(){return new pe(this)}},Ne=oe+" Iterator",ge=false,Le=we.prototype,J=Le[W]||Le["@@iterator"]||xe&&Le[xe],De=!G&&J||Se(xe),de=oe==="Array"&&Le.entries||J,Ae,Be,Ee;if(de&&(Ae=l(de.call(new we)),Ae!==Object.prototype&&Ae.next&&(!n&&l(Ae)!==q&&(u?u(Ae,q):o(Ae[W])||h(Ae,W,ue)),c(Ae,Ne,true,true),n&&(k[Ne]=ue))),M&&xe===ee&&J&&J.name!==ee&&(!n&&O?d(Le,"name",ee):(ge=true,De=function(){return a(J,this)})),xe)if(Be={values:Se(ee),keys:Me?De:Se(Y),entries:Se(ie)},Ve)for(Ee in Be)(G||ge||!(Ee in Le))&&h(Le,Ee,Be[Ee]);else r({target:oe,proto:true,forced:G||ge},Be);return (!n||Ve)&&Le[W]!==De&&h(Le,W,De,{name:xe}),k[oe]=De,Be};}),vv=$(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),bv=$(function(){var e=nv().charAt,t=Mu(),r=ov(),a=gv(),n=vv(),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,h;return d>=c.length?n(void 0,true):(h=e(c,d),u.index+=h.length,n(h,false))});}),yv=$(function(e,t){var r=ia(),a=wa(),n=Lo();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};}),wv=$(function(e,t){var r=wa(),a=yv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){a(n,"throw",l);}};}),xv=$(function(e,t){var r=Lr(),a=ri(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),Dv=$(function(e,t){var r=nr(),a=Ut(),n=Zn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),Av=$(function(e,t){var r=nr(),a=mr(),n=Ut(),i=ti(),o=Io(),s=Dv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),h=!c.test(l),x=function(M){if(!n(M))return false;try{return u(l,[],M),!0}catch{return false}},k=function(M){if(!n(M))return false;switch(i(M)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return h||!!d(c,s(M))}catch{return true}};k.sham=true,t.exports=!u||a(function(){var I;return x(x.call)||!x(Object)||!x(function(){I=true;})||I})?k:x;}),_v=$(function(e,t){var r=xr(),a=Qn(),n=Yn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),Ev=$(function(e,t){var r=Xn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),Cv=$(function(e,t){var r=xr(),a=Ev(),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};}),Bu=$(function(e,t){var r=ti(),a=Lo(),n=Ro(),i=ri(),o=Lr(),s=o("iterator");t.exports=function(l){if(!n(l))return a(l,s)||a(l,"@@iterator")||i[r(l)]};}),Sv=$(function(e,t){var r=ia(),a=Jn(),n=wa(),i=Au(),o=Bu(),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")};}),kv=$(function(e,t){var r=Tu(),a=ia(),n=Po(),i=wv(),o=xv(),s=Av(),l=Ru(),u=_v(),c=Cv(),d=Sv(),h=Bu(),x=Array;t.exports=function(I){var M=n(I),O=s(this),q=arguments.length,G=q>1?arguments[1]:void 0,W=G!==void 0;W&&(G=r(G,q>2?arguments[2]:void 0));var Y=h(M),ee=0,ie,ue,we,oe,pe,be;if(Y&&!(this===x&&o(Y)))for(ue=O?new this:[],oe=d(M,Y),pe=oe.next;!(we=a(pe,oe)).done;ee++)be=W?i(oe,G,[we.value,ee],true):we.value,u(ue,ee,be);else for(ie=l(M),ue=O?new this(ie):x(ie);ie>ee;ee++)be=W?G(M[ee],ee):M[ee],u(ue,ee,be);return c(ue,ee),ue};}),Tv=$(function(e,t){var r=Lr(),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};}),Fv=$(function(){var e=ei(),t=kv(),r=Tv(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Rv=$(function(e,t){bv(),Fv();var r=Xa();t.exports=r.Array.from;}),Iv=$(function(e,t){var r=Rv();t.exports=r;}),Hu=$(function(e,t){var r=Iv();t.exports=r;}),Vu=$(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 h=o.charCodeAt(u++);if((d&64512)!==55296||(h&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(h&1023)+65536;}l+="\\"+d.toString(16)+" ";}u++;}return l}e.escapeIdentifier=n;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var d=o.charAt(u);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),l+=d,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
357
|
+
`;});var vu={};za(vu,{INJECT_ATTR:()=>jr,OWN_TOOLING_SELECTOR:()=>ag,attachMutations:()=>hu,dropToolingFindings:()=>gu,guardDetectorState:()=>PI,inject:()=>fu,startProvenance:()=>pu,stopProvenance:()=>mu});async function fu(p,d){let v=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await p.evaluate(({attr:h,mark:A,css:b})=>{let w=document.createElement("style");w.setAttribute(h,A),w.textContent=b,document.documentElement.appendChild(w);},{attr:jr,mark:v,css:d.css});return}if(d.url){let h=await p.addScriptTag({url:d.url});try{await h?.evaluate?.((A,b)=>A.setAttribute(b.attr,b.mark),{attr:jr,mark:v});}catch{}return}let m=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify(jr)},${JSON.stringify(v)});
|
|
358
|
+
`;await p.addScriptTag({content:m+(d.content??"")});}async function pu(p){try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await p.evaluate(({key:d,attr:v,max:m})=>{let h=window;if(h[Symbol.for(d)]||typeof MutationObserver>"u")return;let A={tool:null,log:[],overflow:0,left:new Map};A.ours=b=>{let w=b&&b.nodeType===1?b:b?b.parentElement:null;for(;w;){if(w.hasAttribute(v))return !0;w=w.parentElement;}return !1},A.take=b=>{if(A.tool)for(let w of b){if(w.type==="attributes"&&w.attributeName===v||A.ours(w.target))continue;let T=w.type==="childList"?Array.from(w.addedNodes).filter(E=>!A.ours(E)):[];if(w.type==="childList"&&!T.length&&Array.from(w.removedNodes).every(E=>E.nodeType===1&&E.hasAttribute(v)))continue;let R=T.map(E=>E.nodeName.toLowerCase()+(E.nodeType===1&&E.id?"#"+E.id:""));A.log.length<m?A.log.push({tool:A.tool,type:w.type,attr:w.attributeName,target:w.target.nodeName,added:R}):A.overflow++;}},A.obs=new MutationObserver(b=>A.take(b)),A.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),h[Symbol.for(d)]=A;},{key:Ga,attr:jr,max:LI});}catch{}}async function mu(p){try{return await p.evaluate(d=>{let v=window,m=v[Symbol.for(d)];return m?(m.take(m.obs.takeRecords()),m.obs.disconnect(),delete v[Symbol.for(d)],{log:m.log,overflow:m.overflow}):null},Ga)}catch{return null}}function hu(p,d){if(!d||!p.length)return;let v=d.log;for(let m of p){let h=v.filter(A=>A.tool===m.tool).slice(0,MI).map(({type:A,attr:b,target:w,added:T})=>({type:A,attr:b,target:w,added:T}));h.length&&(m.mutations=h);}}async function PI(p,d,v,m,h={}){let A=null;try{A=await p.evaluate(({key:b,prov:w,name:T,attr:R,widget:E,fsk:k})=>{let L=window;try{let O=L[Symbol.for(k)];O&&document.removeEventListener("focusin",O.h,!0);let j=new WeakMap,W=K=>{let G=(new Error().stack||"").split(`
|
|
359
|
+
`).slice(1),N=/eval at evaluate/.test(G[0]||"");j.set(K.target,N&&G.length>1&&!G.slice(1).some(B=>/UtilityScript|eval at evaluate/.test(B))?"page":"ours");};document.addEventListener("focusin",W,!0),L[Symbol.for(k)]={src:j,h:W};}catch{}let D=L[Symbol.for(w)];D&&(D.take(D.obs.takeRecords()),D.tool=T);let y=document.activeElement,_=!!y&&y!==document.body&&y!==document.documentElement,C=[];try{let O=typeof getSelection=="function"?getSelection():null;C=O?Array.from({length:O.rangeCount},(j,W)=>O.getRangeAt(W).cloneRange()):[];}catch{}let I=Array.from(document.querySelectorAll(`[${R}]:not(script):not([${R}="${E}"])`));return L[Symbol.for(b)]={el:_?y:null,ranges:C,marked:new Set(I)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:_,injected:I.length}},{key:ig,prov:Ga,name:d,attr:jr,widget:du,fsk:og});}catch{A=null;}try{return await m()}finally{A&&await OI(p,d,A,v,h);}}async function OI(p,d,v,m,h){let A={leaks:[]};try{A=await p.evaluate(({key:b,prov:w,snap:T,attr:R,widget:E,fsk:k})=>{let L=window,D=[],y=L[Symbol.for(k)];y&&(document.removeEventListener("focusin",y.h,!0),delete L[Symbol.for(k)]);let _=L[Symbol.for(b)],C=_?.el??null;try{delete L[Symbol.for(b)];}catch{}let I=L[Symbol.for(w)];I&&I.take(I.obs.takeRecords());let O=document.activeElement,j=O&&O!==document.body&&O!==document.documentElement?O:null,W=!!j&&j!==C&&y?.src.get(j)==="page";if(j!==C&&!W){D.push("activeElement"),I&&j&&I.left.set(j,I.tool);try{j?.blur?.();}catch{}try{C&&C.isConnected&&C.focus({preventScroll:!0});}catch{}}let K=null;try{K=document.querySelector(":focus-visible");}catch{}if(K&&K!==C&&!(W&&K===j)){D.push("focus-visible");try{K.blur();}catch{}}!W&&(Math.abs(window.scrollX-T.scrollX)>1||Math.abs(window.scrollY-T.scrollY)>1)&&(D.push("scroll"),window.scrollTo({left:T.scrollX,top:T.scrollY,behavior:"instant"}));try{let N=getSelection(),B=_?.ranges??[];if(N&&(N.rangeCount!==B.length||B.some((F,P)=>F.compareBoundaryPoints(Range.START_TO_START,N.getRangeAt(P))!==0||F.compareBoundaryPoints(Range.END_TO_END,N.getRangeAt(P))!==0))){D.push("selection"),N.removeAllRanges();for(let F of B)N.addRange(F);}}catch{}let G=Array.from(document.querySelectorAll(`[${R}]:not(script):not([${R}="${E}"])`));G.length!==T.injected&&D.push(`injected-nodes ${T.injected}->${G.length}`);for(let N of G)if(_?.marked&&!_.marked.has(N))try{N.remove();}catch{}return I&&(I.tool=null),{leaks:D}},{key:ig,prov:Ga,snap:v,attr:jr,widget:du,fsk:og});}catch{}if(A.leaks.length){let b=`tooling:state-not-restored (${d}: ${A.leaks.join(", ")}) \u2014 restored by the scanner`;if(h.bugs?.push({tool:d,kind:"state-not-restored",detail:A.leaks.join(", ")}),h.strict)throw new Error(b);m.push(b);}}async function gu(p,d,v){if(!d.length)return d;let m=Array.from(new Set(d.map(A=>A.selector).filter(Boolean))),h={};try{h=await p.evaluate(({sels:A,own:b,prov:w,attr:T,widget:R})=>{let E=window[Symbol.for(w)],k={};for(let L of A){k[L]=null;let D=null;try{D=document.querySelector(L.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{D=null;}if(!D)continue;let y=D.closest(b);if(y&&y!==document.body&&y!==document.documentElement){let _=y.closest(`[${T}]`)?.getAttribute(T);k[L]={tool:_&&_!==R?_.split(":")[0]:null,why:`on node injected by ${_}`};continue}E&&E.left.has(D)&&(k[L]={tool:E.left.get(D),why:"on the element the tool left focused"});}return k},{sels:m,own:ag,prov:Ga,attr:jr,widget:du});}catch{return d}return d.filter(A=>{let b=h[A.selector];return b?(b.tool&&v?.push({tool:b.tool,kind:"finding-dropped",detail:`${A.type} ${b.why}`,selector:A.selector}),false):true})}var jr,du,ag,Ga,LI,MI,ig,og,Wa=$a(()=>{jr="data-wa-injected",du="widget",ag=`[${jr}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,Ga="wa.provenance",LI=500;MI=10;ig="wa.stateGuard.active",og="wa.stateGuard.focusSource";});var sg={};za(sg,{applyPlatformTemplates:()=>BI,detectPlatform:()=>qI,isAriaHiddenSafeForTemplate:()=>bu});function bu(p){let d=p.trim().split(/[\s>~+]+/),m=d[d.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!m)return true;let h=m[1].toLowerCase();return h==="body"||h==="html"?false:!new Set(["a","button","input","select","textarea"]).has(h)}function NI(){if(Wn)return Wn;try{let p=globalThis.process,d=p?.getBuiltinModule?.("fs"),v=p?.getBuiltinModule?.("path");if(!d||!v)throw new Error("fs unavailable");let m=d.readFileSync(v.join(__dirname,"platformTemplates.json"),"utf-8");return Wn=JSON.parse(m),Wn}catch{return Wn={},Wn}}async function qI(p){return p.evaluate(()=>{let d=[],v=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),h=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (v.includes("shopify")||v.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(h.includes("wordpress")||v.includes("wp-content")||v.includes("wp-includes"))&&d.push("wordpress"),(v.includes("civicplus")||v.includes("civicalerts")||v.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&d.push("civicplus"),(v.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&d.push("finalsite"),(v.includes("dealersocket")||v.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&d.push("dealer"),(v.includes("wix.com")||v.includes("wixsite.com"))&&d.push("wix"),(v.includes("squarespace")||h.includes("squarespace"))&&d.push("squarespace"),(v.includes("webflow")||h.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}async function BI(p,d,v="scan"){let m=NI(),h=[];for(let b of d)m[b]&&h.push(...m[b]);return h.length?v==="manifest"?h.filter(b=>b.attribute==="aria-hidden"&&b.value==="true"?bu(b.selector):true).map(b=>({selector:b.selector,attribute:b.attribute,currentValue:"",issueType:b.attribute==="alt"?"missing_alt":b.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:b.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${b.platform} (template)`,needsAI:false,fixValue:b.value})):(await p.evaluate(b=>{let w=[];for(let T of b)try{let R=document.querySelectorAll(T.selector);if(R.length>0){let E=!1;for(let k of R){let L=k.getAttribute(T.attribute)||"";if(T.attribute==="alt"&&k.getAttribute("alt")===null)E=!0;else if(T.attribute==="alt"&&L===""&&T.value==="")E=!0;else if(T.attribute==="aria-label"&&!L)E=!0;else if(T.attribute==="title"&&!L)E=!0;else if(T.attribute==="role"&&L!==T.value)E=!0;else if(T.attribute==="aria-level"&&!k.getAttribute("aria-level"))E=!0;else if(T.attribute==="aria-hidden"&&k.getAttribute("aria-hidden")!=="true"){let D=k.tagName.toLowerCase(),y=D==="a"&&k.hasAttribute("href")||D==="button"||D==="input"||D==="select"||D==="textarea"||Number(k.getAttribute("tabindex")??-1)>=0;D!=="body"&&D!=="html"&&!y&&(E=!0);}if(E)break}E&&w.push({selector:T.selector,attribute:T.attribute,value:T.value,platform:T.platform,matchCount:R.length});}}catch{}return w},h.filter(b=>!(b.attribute==="aria-hidden"&&b.value==="true")||bu(b.selector)).map(b=>({selector:b.selector,attribute:b.attribute,value:b.value,platform:b.platform})))).map(b=>({selector:b.selector,attribute:b.attribute,currentValue:"",issueType:b.attribute==="alt"?"missing_alt":b.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:b.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${b.platform} (${b.matchCount} elements)`,needsAI:false,fixValue:b.value})):[]}var Wn,lg=$a(()=>{Wn=null;});var Ig=A3((Fg,Ja)=>{(function p(d){var v=d,m=d.document,h=h||{};h.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return h}),(typeof Ja>"u"?"undefined":de(Ja))==="object"&&Ja.exports&&typeof p.toString=="function"&&(h.source="("+p.toString()+')(typeof window === "object" ? window : this);',Ja.exports=h),typeof d.getComputedStyle=="function"&&(d.axe=h);var b=["precision","format","inGamut"],w=["space"],T=["algorithm"],R=["method"],E=["maxDeltaE","deltaEMethod","steps","maxSteps"],k=["node"],L=["relatedNodes"],D=["node"],y=["variant"],_=["matches"],C=["chromium"],I=["noImplicit"],O=["noPresentational"],j=["node"],W=["environmentData"],K=["environmentData"],G=["environmentData"],N=["environmentData"],B=["environmentData"];function F(te){return lr(te)||Tr(te)||Ir(te)||Fr()}function P(te){var oe=typeof Map=="function"?new Map:void 0;return P=function(ge){if(ge===null||!V(ge))return ge;if(typeof ge!="function")throw new TypeError("Super expression must either be null or a function");if(oe!==void 0){if(oe.has(ge))return oe.get(ge);oe.set(ge,Ge);}function Ge(){return J(ge,arguments,Ee(this).constructor)}return Ge.prototype=Object.create(ge.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}}),Ne(Ge,ge)},P(te)}function V(te){try{return Function.toString.call(te).indexOf("[native code]")!==-1}catch{return typeof te=="function"}}function z(te,oe,ce){return (oe=Qa(oe))in te?Object.defineProperty(te,oe,{value:ce,enumerable:true,configurable:true,writable:true}):te[oe]=ce,te}function J(te,oe,ce){if(Te())return Reflect.construct.apply(null,arguments);var ge=[null];ge.push.apply(ge,oe);var Ge=new(te.bind.apply(te,ge));return ce&&Ne(Ge,ce.prototype),Ge}function Q(te,oe){if(te==null)return {};var ce,ge,Ge=ie(te,oe);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(te);for(ge=0;ge<et.length;ge++)ce=et[ge],oe.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(te,ce)&&(Ge[ce]=te[ce]);}return Ge}function ie(te,oe){if(te==null)return {};var ce={};for(var ge in te)if({}.hasOwnProperty.call(te,ge)){if(oe.indexOf(ge)!==-1)continue;ce[ge]=te[ge];}return ce}function ne(te,oe,ce){return oe=Ee(oe),se(te,Te()?Reflect.construct(oe,ce||[],Ee(te).constructor):oe.apply(te,ce))}function se(te,oe){if(oe&&(de(oe)=="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(te)}function we(te){if(te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te}function Te(){try{var te=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (Te=function(){return !!te})()}function Ee(te){return Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},Ee(te)}function De(te,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");te.prototype=Object.create(oe&&oe.prototype,{constructor:{value:te,writable:true,configurable:true}}),Object.defineProperty(te,"prototype",{writable:false}),oe&&Ne(te,oe);}function Ne(te,oe){return Ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,ge){return ce.__proto__=ge,ce},Ne(te,oe)}function Re(){return Re=Object.assign?Object.assign.bind():function(te){for(var oe=1;oe<arguments.length;oe++){var ce=arguments[oe];for(var ge in ce)({}).hasOwnProperty.call(ce,ge)&&(te[ge]=ce[ge]);}return te},Re.apply(null,arguments)}function Ce(te){return $r(te)||Tr(te)||Ir(te)||kt()}function kt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
360
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tr(te){if(typeof Symbol<"u"&&te[Symbol.iterator]!=null||te["@@iterator"]!=null)return Array.from(te)}function $r(te){if(Array.isArray(te))return ln(te)}function vr(te,oe,ce){Rr(te,oe),oe.set(te,ce);}function Za(te,oe){Rr(te,oe),oe.add(te);}function Rr(te,oe){if(oe.has(te))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ht(te,oe){return te.get(zr(te,oe))}function Rt(te,oe,ce){return te.set(zr(te,oe),ce),ce}function zr(te,oe,ce){if(typeof te=="function"?te===oe:te.has(oe))return arguments.length<3?oe:ce;throw new TypeError("Private element is not present on this object")}function xe(te,oe){return lr(te)||sr(te,oe)||Ir(te,oe)||Fr()}function Fr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
361
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sr(te,oe){var ce=te==null?null:typeof Symbol<"u"&&te[Symbol.iterator]||te["@@iterator"];if(ce!=null){var ge,Ge,et,it,ft=[],Ke=true,qe=false;try{if(et=(ce=ce.call(te)).next,oe===0){if(Object(ce)!==ce)return;Ke=!1;}else for(;!(Ke=(ge=et.call(ce)).done)&&(ft.push(ge.value),ft.length!==oe);Ke=!0);}catch(Gt){qe=true,Ge=Gt;}finally{try{if(!Ke&&ce.return!=null&&(it=ce.return(),Object(it)!==it))return}finally{if(qe)throw Ge}}return ft}}function lr(te){if(Array.isArray(te))return te}function Qt(te,oe){if(!(te instanceof oe))throw new TypeError("Cannot call a class as a function")}function Yn(te,oe){for(var ce=0;ce<oe.length;ce++){var ge=oe[ce];ge.enumerable=ge.enumerable||false,ge.configurable=true,"value"in ge&&(ge.writable=true),Object.defineProperty(te,Qa(ge.key),ge);}}function Vt(te,oe,ce){return oe&&Yn(te.prototype,oe),ce&&Yn(te,ce),Object.defineProperty(te,"prototype",{writable:false}),te}function Qa(te){var oe=ei(te,"string");return de(oe)=="symbol"?oe:oe+""}function ei(te,oe){if(de(te)!="object"||!te)return te;var ce=te[Symbol.toPrimitive];if(ce!==void 0){var ge=ce.call(te,oe);if(de(ge)!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return (oe==="string"?String:Number)(te)}function at(te,oe){var ce=typeof Symbol<"u"&&te[Symbol.iterator]||te["@@iterator"];if(!ce){if(Array.isArray(te)||(ce=Ir(te))||oe){ce&&(te=ce);var ge=0,Ge=function(){};return {s:Ge,n:function(){return ge>=te.length?{done:true}:{done:false,value:te[ge++]}},e:function(qe){throw qe},f:Ge}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
362
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var et,it=true,ft=false;return {s:function(){ce=ce.call(te);},n:function(){var qe=ce.next();return it=qe.done,qe},e:function(qe){ft=true,et=qe;},f:function(){try{it||ce.return==null||ce.return();}finally{if(ft)throw et}}}}function Ir(te,oe){if(te){if(typeof te=="string")return ln(te,oe);var ce={}.toString.call(te).slice(8,-1);return ce==="Object"&&te.constructor&&(ce=te.constructor.name),ce==="Map"||ce==="Set"?Array.from(te):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?ln(te,oe):void 0}}function ln(te,oe){(oe==null||oe>te.length)&&(oe=te.length);for(var ce=0,ge=Array(oe);ce<oe;ce++)ge[ce]=te[ce];return ge}function de(te){"@babel/helpers - typeof";return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},de(te)}((function(te,oe,ce,ge,Ge,et,it,ft,Ke,qe,Gt){var Wt=Object.create,Lr=Object.defineProperty,Kn=Object.getPrototypeOf,Lg=Object.prototype.hasOwnProperty,Mg=Object.getOwnPropertyNames,Pg=Object.getOwnPropertyDescriptor,Og=function(t,r,n){return r in t?Lr(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},Ng=function(t){return Lr(t,"__esModule",{value:true})},U=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},ur=function(t,r){for(var n in r)Lr(t,n,{get:r[n],enumerable:true});},qg=function(t,r,n){if(r&&de(r)==="object"||typeof r=="function"){var a=at(Mg(r)),i;try{var o=function(){var l=i.value;!Lg.call(t,l)&&l!=="default"&&Lr(t,l,{get:function(){return r[l]},enumerable:!(n=Pg(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},br=function(t){return qg(Ng(Lr(t!=null?Wt(Kn(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Iu=function(t,r,n){return Og(t,de(r)!=="symbol"?r+"":r,n),n},Bg=U(function(e,t){(function(r,n){de(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(ae){var pe=de(ae);return ae!==null&&(pe==="object"||pe==="function")}function n(ae){return typeof ae=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(pe){return Object.prototype.toString.call(pe)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(pe,be){re[o]=pe,re[o+1]=be,o+=2,o===2&&(l?l(le):Ae());};function c(ae){l=ae;}function f(ae){u=ae;}var g=typeof d<"u"?d:void 0,x=g||{},S=x.MutationObserver||x.WebKitMutationObserver,M=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",q=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function H(){return function(){return process.nextTick(le)}}function $(){return typeof s<"u"?function(){s(le);}:Z()}function X(){var ae=0,pe=new S(le),be=m.createTextNode("");return pe.observe(be,{characterData:true}),function(){be.data=ae=++ae%2;}}function Y(){var ae=new MessageChannel;return ae.port1.onmessage=le,function(){return ae.port2.postMessage(0)}}function Z(){var ae=setTimeout;return function(){return ae(le,1)}}var re=new Array(1e3);function le(){for(var ae=0;ae<o;ae+=2){var pe=re[ae],be=re[ae+1];pe(be),re[ae]=void 0,re[ae+1]=void 0;}o=0;}function fe(){try{var ae=Function("return this")().require("vertx");return s=ae.runOnLoop||ae.runOnContext,$()}catch{return Z()}}var Ae=void 0;M?Ae=H():S?Ae=X():q?Ae=Y():g===void 0?Ae=fe():Ae=Z();function ue(ae,pe){var be=this,Le=new this.constructor(_e);Le[ye]===void 0&&ht(Le);var ze=be._state;if(ze){var Je=arguments[ze-1];u(function(){return dt(ze,Le,Je,be._result)});}else Qe(be,Le,ae,pe);return Le}function he(ae){var pe=this;if(ae&&de(ae)==="object"&&ae.constructor===pe)return ae;var be=new pe(_e);return ke(be,ae),be}var ye=Math.random().toString(36).substring(2);function _e(){}var Oe=void 0,$e=1,Ie=2;function He(){return new TypeError("You cannot resolve a promise with itself")}function ve(){return new TypeError("A promises callback cannot return that same promise.")}function Pe(ae,pe,be,Le){try{ae.call(pe,be,Le);}catch(ze){return ze}}function ee(ae,pe,be){u(function(Le){var ze=false,Je=Pe(be,pe,function(Tt){ze||(ze=true,pe!==Tt?ke(Le,Tt):Fe(Le,Tt));},function(Tt){ze||(ze=true,Me(Le,Tt));},"Settle: "+(Le._label||" unknown promise"));!ze&&Je&&(ze=true,Me(Le,Je));},ae);}function Se(ae,pe){pe._state===$e?Fe(ae,pe._result):pe._state===Ie?Me(ae,pe._result):Qe(pe,void 0,function(be){return ke(ae,be)},function(be){return Me(ae,be)});}function me(ae,pe,be){pe.constructor===ae.constructor&&be===ue&&pe.constructor.resolve===he?Se(ae,pe):be===void 0?Fe(ae,pe):n(be)?ee(ae,pe,be):Fe(ae,pe);}function ke(ae,pe){if(ae===pe)Me(ae,He());else if(r(pe)){var be=void 0;try{be=pe.then;}catch(Le){Me(ae,Le);return}me(ae,pe,be);}else Fe(ae,pe);}function je(ae){ae._onerror&&ae._onerror(ae._result),lt(ae);}function Fe(ae,pe){ae._state===Oe&&(ae._result=pe,ae._state=$e,ae._subscribers.length!==0&&u(lt,ae));}function Me(ae,pe){ae._state===Oe&&(ae._state=Ie,ae._result=pe,u(je,ae));}function Qe(ae,pe,be,Le){var ze=ae._subscribers,Je=ze.length;ae._onerror=null,ze[Je]=pe,ze[Je+$e]=be,ze[Je+Ie]=Le,Je===0&&ae._state&&u(lt,ae);}function lt(ae){var pe=ae._subscribers,be=ae._state;if(pe.length!==0){for(var Le=void 0,ze=void 0,Je=ae._result,Tt=0;Tt<pe.length;Tt+=3)Le=pe[Tt],ze=pe[Tt+be],Le?dt(be,Le,ze,Je):ze(Je);ae._subscribers.length=0;}}function dt(ae,pe,be,Le){var ze=n(be),Je=void 0,Tt=void 0,zn=true;if(ze){try{Je=be(Le);}catch(Fo){zn=false,Tt=Fo;}if(pe===Je){Me(pe,ve());return}}else Je=Le;pe._state!==Oe||(ze&&zn?ke(pe,Je):zn===false?Me(pe,Tt):ae===$e?Fe(pe,Je):ae===Ie&&Me(pe,Je));}function xt(ae,pe){try{pe(function(Le){ke(ae,Le);},function(Le){Me(ae,Le);});}catch(be){Me(ae,be);}}var Ct=0;function Et(){return Ct++}function ht(ae){ae[ye]=Ct++,ae._state=void 0,ae._result=void 0,ae._subscribers=[];}function $n(){return new Error("Array Methods must be provided an Array")}var Mt=(function(){function ae(pe,be){this._instanceConstructor=pe,this.promise=new pe(_e),this.promise[ye]||ht(this.promise),i(be)?(this.length=be.length,this._remaining=be.length,this._result=new Array(this.length),this.length===0?Fe(this.promise,this._result):(this.length=this.length||0,this._enumerate(be),this._remaining===0&&Fe(this.promise,this._result))):Me(this.promise,$n());}return ae.prototype._enumerate=function(be){for(var Le=0;this._state===Oe&&Le<be.length;Le++)this._eachEntry(be[Le],Le);},ae.prototype._eachEntry=function(be,Le){var ze=this._instanceConstructor,Je=ze.resolve;if(Je===he){var Tt=void 0,zn=void 0,Fo=false;try{Tt=be.then;}catch(uu){Fo=true,zn=uu;}if(Tt===ue&&be._state!==Oe)this._settledAt(be._state,Le,be._result);else if(typeof Tt!="function")this._remaining--,this._result[Le]=be;else if(ze===yt){var lu=new ze(_e);Fo?Me(lu,zn):me(lu,be,Tt),this._willSettleAt(lu,Le);}else this._willSettleAt(new ze(function(uu){return uu(be)}),Le);}else this._willSettleAt(Je(be),Le);},ae.prototype._settledAt=function(be,Le,ze){var Je=this.promise;Je._state===Oe&&(this._remaining--,be===Ie?Me(Je,ze):this._result[Le]=ze),this._remaining===0&&Fe(Je,this._result);},ae.prototype._willSettleAt=function(be,Le){var ze=this;Qe(be,void 0,function(Je){return ze._settledAt($e,Le,Je)},function(Je){return ze._settledAt(Ie,Le,Je)});},ae})();function gt(ae){return new Mt(this,ae).promise}function St(ae){var pe=this;return i(ae)?new pe(function(be,Le){for(var ze=ae.length,Je=0;Je<ze;Je++)pe.resolve(ae[Je]).then(be,Le);}):new pe(function(be,Le){return Le(new TypeError("You must pass an array to race."))})}function Dt(ae){var pe=this,be=new pe(_e);return Me(be,ae),be}function Nt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function qt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var yt=(function(){function ae(pe){this[ye]=Et(),this._result=this._state=void 0,this._subscribers=[],_e!==pe&&(typeof pe!="function"&&Nt(),this instanceof ae?xt(this,pe):qt());}return ae.prototype.catch=function(be){return this.then(null,be)},ae.prototype.finally=function(be){var Le=this,ze=Le.constructor;return n(be)?Le.then(function(Je){return ze.resolve(be()).then(function(){return Je})},function(Je){return ze.resolve(be()).then(function(){throw Je})}):Le.then(be,be)},ae})();yt.prototype.then=ue,yt.all=gt,yt.race=St,yt.resolve=he,yt.reject=Dt,yt._setScheduler=c,yt._setAsap=f,yt._asap=u;function ut(){var ae=void 0;if(typeof v<"u")ae=v;else if(typeof self<"u")ae=self;else try{ae=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var pe=ae.Promise;if(pe){var be=null;try{be=Object.prototype.toString.call(pe.resolve());}catch{}if(be==="[object Promise]"&&!pe.cast)return}ae.Promise=yt;}return yt.polyfill=ut,yt.Promise=yt,yt});}),Hg=U(function(e){var t=1e5,r=(function(){var ee=Object.prototype.toString,Se=Object.prototype.hasOwnProperty;return {Class:function(ke){return ee.call(ke).replace(/^\[object *|\]$/g,"")},HasProperty:function(ke,je){return je in ke},HasOwnProperty:function(ke,je){return Se.call(ke,je)},IsCallable:function(ke){return typeof ke=="function"},ToInt32:function(ke){return ke>>0},ToUint32:function(ke){return ke>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(ee,Se,me){return ee<Se?Se:ee>me?me:ee}var f=Object.getOwnPropertyNames||function(ee){if(ee!==Object(ee))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Se=[],me;for(me in ee)r.HasOwnProperty(ee,me)&&Se.push(me);return Se},g;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?g=Object.defineProperty:g=function(Se,me,ke){if(!Se===Object(Se))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(ke,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Se,me,ke.get),r.HasProperty(ke,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Se,me,ke.set),r.HasProperty(ke,"value")&&(Se[me]=ke.value),Se};function x(ee){if(f&&g){var Se=f(ee),me;for(me=0;me<Se.length;me+=1)g(ee,Se[me],{value:ee[Se[me]],writable:false,enumerable:false,configurable:false});}}function S(ee){if(!g)return;if(ee.length>t)throw new RangeError("Array too large for polyfill");function Se(ke){g(ee,ke,{get:function(){return ee._getter(ke)},set:function(Fe){ee._setter(ke,Fe);},enumerable:true,configurable:false});}var me;for(me=0;me<ee.length;me+=1)Se(me);}function M(ee,Se){var me=32-Se;return ee<<me>>me}function q(ee,Se){var me=32-Se;return ee<<me>>>me}function H(ee){return [ee&255]}function $(ee){return M(ee[0],8)}function X(ee){return [ee&255]}function Y(ee){return q(ee[0],8)}function Z(ee){return ee=u(Number(ee)),[ee<0?0:ee>255?255:ee&255]}function re(ee){return [ee>>8&255,ee&255]}function le(ee){return M(ee[0]<<8|ee[1],16)}function fe(ee){return [ee>>8&255,ee&255]}function Ae(ee){return q(ee[0]<<8|ee[1],16)}function ue(ee){return [ee>>24&255,ee>>16&255,ee>>8&255,ee&255]}function he(ee){return M(ee[0]<<24|ee[1]<<16|ee[2]<<8|ee[3],32)}function ye(ee){return [ee>>24&255,ee>>16&255,ee>>8&255,ee&255]}function _e(ee){return q(ee[0]<<24|ee[1]<<16|ee[2]<<8|ee[3],32)}function Oe(ee,Se,me){var ke=(1<<Se-1)-1,je,Fe,Me,Qe,lt,dt,xt;function Ct(Et){var ht=i(Et),$n=Et-ht;return $n<.5?ht:$n>.5||ht%2?ht+1:ht}for(ee!==ee?(Fe=(1<<Se)-1,Me=l(2,me-1),je=0):ee===1/0||ee===-1/0?(Fe=(1<<Se)-1,Me=0,je=ee<0?1:0):ee===0?(Fe=0,Me=0,je=1/ee===-1/0?1:0):(je=ee<0,ee=a(ee),ee>=l(2,1-ke)?(Fe=s(i(o(ee)/n),1023),Me=Ct(ee/l(2,Fe)*l(2,me)),Me/l(2,me)>=2&&(Fe=Fe+1,Me=1),Fe>ke?(Fe=(1<<Se)-1,Me=0):(Fe=Fe+ke,Me=Me-l(2,me))):(Fe=0,Me=Ct(ee/l(2,1-ke-me)))),lt=[],Qe=me;Qe;Qe-=1)lt.push(Me%2?1:0),Me=i(Me/2);for(Qe=Se;Qe;Qe-=1)lt.push(Fe%2?1:0),Fe=i(Fe/2);for(lt.push(je?1:0),lt.reverse(),dt=lt.join(""),xt=[];dt.length;)xt.push(parseInt(dt.substring(0,8),2)),dt=dt.substring(8);return xt}function $e(ee,Se,me){var ke=[],je,Fe,Me,Qe,lt,dt,xt,Ct;for(je=ee.length;je;je-=1)for(Me=ee[je-1],Fe=8;Fe;Fe-=1)ke.push(Me%2?1:0),Me=Me>>1;return ke.reverse(),Qe=ke.join(""),lt=(1<<Se-1)-1,dt=parseInt(Qe.substring(0,1),2)?-1:1,xt=parseInt(Qe.substring(1,1+Se),2),Ct=parseInt(Qe.substring(1+Se),2),xt===(1<<Se)-1?Ct===0?dt*(1/0):NaN:xt>0?dt*l(2,xt-lt)*(1+Ct/l(2,me)):Ct!==0?dt*l(2,-(lt-1))*(Ct/l(2,me)):dt<0?-0:0}function Ie(ee){return $e(ee,11,52)}function He(ee){return Oe(ee,11,52)}function ve(ee){return $e(ee,8,23)}function Pe(ee){return Oe(ee,8,23)}((function(){function ee(Et){if(Et=r.ToInt32(Et),Et<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Et,this._bytes=[],this._bytes.length=Et;var ht;for(ht=0;ht<this.byteLength;ht+=1)this._bytes[ht]=0;x(this);}e.ArrayBuffer=e.ArrayBuffer||ee;function Se(){}function me(Et,ht,$n){var Mt;return Mt=function(St,Dt,Nt){var qt,yt,ut,ae;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Nt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0;}else if(de(arguments[0])==="object"&&arguments[0].constructor===Mt)for(qt=arguments[0],this.length=qt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0,ut=0;ut<this.length;ut+=1)this._setter(ut,qt._getter(ut));else if(de(arguments[0])==="object"&&!(arguments[0]instanceof ee||r.Class(arguments[0])==="ArrayBuffer"))for(yt=arguments[0],this.length=r.ToUint32(yt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ee(this.byteLength),this.byteOffset=0,ut=0;ut<this.length;ut+=1)ae=yt[ut],this._setter(ut,Number(ae));else if(de(arguments[0])==="object"&&(arguments[0]instanceof ee||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=St,this.byteOffset=r.ToUint32(Dt),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT;}else this.length=r.ToUint32(Nt),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=Mt,x(this),S(this);},Mt.prototype=new Se,Mt.prototype.BYTES_PER_ELEMENT=Et,Mt.prototype._pack=ht,Mt.prototype._unpack=$n,Mt.BYTES_PER_ELEMENT=Et,Mt.prototype._getter=function(gt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(gt=r.ToUint32(gt),!(gt>=this.length)){for(var St=[],Dt=0,Nt=this.byteOffset+gt*this.BYTES_PER_ELEMENT;Dt<this.BYTES_PER_ELEMENT;Dt+=1,Nt+=1)St.push(this.buffer._bytes[Nt]);return this._unpack(St)}},Mt.prototype.get=Mt.prototype._getter,Mt.prototype._setter=function(gt,St){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(gt=r.ToUint32(gt),gt<this.length){var Dt=this._pack(St),Nt,qt;for(Nt=0,qt=this.byteOffset+gt*this.BYTES_PER_ELEMENT;Nt<this.BYTES_PER_ELEMENT;Nt+=1,qt+=1)this.buffer._bytes[qt]=Dt[Nt];}},Mt.prototype.set=function(gt,St){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var Dt,Nt,qt,yt,ut,ae,pe,be,Le,ze;if(de(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(Dt=arguments[0],qt=r.ToUint32(arguments[1]),qt+Dt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(be=this.byteOffset+qt*this.BYTES_PER_ELEMENT,Le=Dt.length*this.BYTES_PER_ELEMENT,Dt.buffer===this.buffer){for(ze=[],ut=0,ae=Dt.byteOffset;ut<Le;ut+=1,ae+=1)ze[ut]=Dt.buffer._bytes[ae];for(ut=0,pe=be;ut<Le;ut+=1,pe+=1)this.buffer._bytes[pe]=ze[ut];}else for(ut=0,ae=Dt.byteOffset,pe=be;ut<Le;ut+=1,ae+=1,pe+=1)this.buffer._bytes[pe]=Dt.buffer._bytes[ae];}else if(de(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Nt=arguments[0],yt=r.ToUint32(Nt.length),qt=r.ToUint32(arguments[1]),qt+yt>this.length)throw new RangeError("Offset plus length of array is out of range");for(ut=0;ut<yt;ut+=1)ae=Nt[ut],this._setter(qt+ut,Number(ae));}else throw new TypeError("Unexpected argument type(s)")},Mt.prototype.subarray=function(gt,St){gt=r.ToInt32(gt),St=r.ToInt32(St),arguments.length<1&&(gt=0),arguments.length<2&&(St=this.length),gt<0&&(gt=this.length+gt),St<0&&(St=this.length+St),gt=c(gt,0,this.length),St=c(St,0,this.length);var Dt=St-gt;return Dt<0&&(Dt=0),new this.constructor(this.buffer,this.byteOffset+gt*this.BYTES_PER_ELEMENT,Dt)},Mt}var ke=me(1,H,$),je=me(1,X,Y),Fe=me(1,Z,Y),Me=me(2,re,le),Qe=me(2,fe,Ae),lt=me(4,ue,he),dt=me(4,ye,_e),xt=me(4,Pe,ve),Ct=me(8,He,Ie);e.Int8Array=e.Int8Array||ke,e.Uint8Array=e.Uint8Array||je,e.Uint8ClampedArray=e.Uint8ClampedArray||Fe,e.Int16Array=e.Int16Array||Me,e.Uint16Array=e.Uint16Array||Qe,e.Int32Array=e.Int32Array||lt,e.Uint32Array=e.Uint32Array||dt,e.Float32Array=e.Float32Array||xt,e.Float64Array=e.Float64Array||Ct;}))(),(function(){function ee(Fe,Me){return r.IsCallable(Fe.get)?Fe.get(Me):Fe[Me]}var Se=(function(){var Fe=new e.Uint16Array([4660]),Me=new e.Uint8Array(Fe.buffer);return ee(Me,0)===18})();function me(Fe,Me,Qe){if(arguments.length===0)Fe=new e.ArrayBuffer(0);else if(!(Fe instanceof e.ArrayBuffer||r.Class(Fe)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Fe||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Me),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(Qe),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");x(this);}function ke(Fe){return function(Me,Qe){if(Me=r.ToUint32(Me),Me+Fe.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Me+=this.byteOffset;var lt=new e.Uint8Array(this.buffer,Me,Fe.BYTES_PER_ELEMENT),dt=[],xt;for(xt=0;xt<Fe.BYTES_PER_ELEMENT;xt+=1)dt.push(ee(lt,xt));return !!Qe==!!Se&&dt.reverse(),ee(new Fe(new e.Uint8Array(dt).buffer),0)}}me.prototype.getUint8=ke(e.Uint8Array),me.prototype.getInt8=ke(e.Int8Array),me.prototype.getUint16=ke(e.Uint16Array),me.prototype.getInt16=ke(e.Int16Array),me.prototype.getUint32=ke(e.Uint32Array),me.prototype.getInt32=ke(e.Int32Array),me.prototype.getFloat32=ke(e.Float32Array),me.prototype.getFloat64=ke(e.Float64Array);function je(Fe){return function(Me,Qe,lt){if(Me=r.ToUint32(Me),Me+Fe.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var dt=new Fe([Qe]),xt=new e.Uint8Array(dt.buffer),Ct=[],Et,ht;for(Et=0;Et<Fe.BYTES_PER_ELEMENT;Et+=1)Ct.push(ee(xt,Et));!!lt==!!Se&&Ct.reverse(),ht=new e.Uint8Array(this.buffer,Me,Fe.BYTES_PER_ELEMENT),ht.set(Ct);}}me.prototype.setUint8=je(e.Uint8Array),me.prototype.setInt8=je(e.Int8Array),me.prototype.setUint16=je(e.Uint16Array),me.prototype.setInt16=je(e.Int16Array),me.prototype.setUint32=je(e.Uint32Array),me.prototype.setInt32=je(e.Int32Array),me.prototype.setFloat32=je(e.Float32Array),me.prototype.setFloat64=je(e.Float64Array),e.DataView=e.DataView||me;})();}),Vg=U(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),a=function(s,l,u){n?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var f=c[this._id];return f&&f[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var f=c[this._id];if(f&&f[0]===c)return f[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var f=c[this._id];return !!(f&&f[0]===c)}),a(o.prototype,"set",function(c,f){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]=f,this):(a(c,this._id,[c,f]),this)});function s(c,f){if(!i(c)||!r.call(c,"_id"))throw new TypeError(f+" method called on incompatible receiver "+de(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return a(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof d<"u"?d:typeof v<"u"?v:e);}),cr=U(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":de(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":de(d))=="object"&&d)||r((typeof self>"u"?"undefined":de(self))=="object"&&self)||r((typeof v>"u"?"undefined":de(v))=="object"&&v)||r(de(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),dr=U(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),ti=U(function(e,t){var r=dr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),jg=U(function(e,t){var r=ti(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":de(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),er=U(function(e,t){var r=ti(),n=Function.prototype,a=n.call,i=r&&n.bind.bind(a,a);t.exports=r?i:function(o){return function(){return a.apply(o,arguments)}};}),ri=U(function(e,t){var r=er(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),Lu=U(function(e,t){var r=ri(),n=er();t.exports=function(a){if(r(a)==="Function")return n(a)};}),jt=U(function(e,t){var r=(typeof m>"u"?"undefined":de(m))=="object"&&m.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),yr=U(function(e,t){var r=dr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),un=U(function(e,t){var r=ti(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Mu=U(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),ni=U(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),$g=U(function(e,t){var r=er(),n=dr(),a=ri(),i=Object,o=r("".split);t.exports=n(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return a(s)==="String"?o(s,""):i(s)}:i;}),Oo=U(function(e,t){t.exports=function(r){return r==null};}),ai=U(function(e,t){var r=Oo(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),Jn=U(function(e,t){var r=$g(),n=ai();t.exports=function(a){return r(n(a))};}),Gr=U(function(e,t){var r=jt();t.exports=function(n){return de(n)=="object"?n!==null:r(n)};}),Zn=U(function(e,t){t.exports={};}),No=U(function(e,t){var r=Zn(),n=cr(),a=jt(),i=function(s){return a(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(n[o]):r[o]&&r[o][s]||n[o]&&n[o][s]};}),zg=U(function(e,t){var r=er();t.exports=r({}.isPrototypeOf);}),Gg=U(function(e,t){var r=cr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),Wg=U(function(e,t){var r=cr(),n=Gg(),a=r.process,i=r.Deno,o=a&&a.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Pu=U(function(e,t){var r=Wg(),n=dr(),a=cr(),i=a.String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),Ou=U(function(e,t){var r=Pu();t.exports=r&&!Symbol.sham&&de(Symbol.iterator)=="symbol";}),Nu=U(function(e,t){var r=No(),n=jt(),a=zg(),i=Ou(),o=Object;t.exports=i?function(s){return de(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),qu=U(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),ii=U(function(e,t){var r=jt(),n=qu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),qo=U(function(e,t){var r=ii(),n=Oo();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),Ug=U(function(e,t){var r=un(),n=jt(),a=Gr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&n(l=o.toString)&&!a(u=r(l,o))||n(l=o.valueOf)&&!a(u=r(l,o))||s!=="string"&&n(l=o.toString)&&!a(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Bo=U(function(e,t){t.exports=true;}),Xg=U(function(e,t){var r=cr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),oi=U(function(e,t){var r=Bo(),n=cr(),a=Xg(),i="__core-js_shared__",o=t.exports=n[i]||a(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});}),Bu=U(function(e,t){var r=oi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Ho=U(function(e,t){var r=ai(),n=Object;t.exports=function(a){return n(r(a))};}),Mr=U(function(e,t){var r=er(),n=Ho(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Hu=U(function(e,t){var r=er(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Pr=U(function(e,t){var r=cr(),n=Bu(),a=Mr(),i=Hu(),o=Pu(),s=Ou(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(f){return a(u,f)||(u[f]=o&&a(l,f)?l[f]:c("Symbol."+f)),u[f]};}),Yg=U(function(e,t){var r=un(),n=Gr(),a=Nu(),i=qo(),o=Ug(),s=Pr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,f){if(!n(c)||a(c))return c;var g=i(c,u),x;if(g){if(f===void 0&&(f="default"),x=r(g,c,f),!n(x)||a(x))return x;throw new l("Can't convert object to primitive value")}return f===void 0&&(f="number"),o(c,f)};}),Vu=U(function(e,t){var r=Yg(),n=Nu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),ju=U(function(e,t){var r=cr(),n=Gr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),$u=U(function(e,t){var r=yr(),n=dr(),a=ju();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Kg=U(function(e){var t=yr(),r=un(),n=Mu(),a=ni(),i=Jn(),o=Vu(),s=Mr(),l=$u(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(f,g){if(f=i(f),g=o(g),l)try{return u(f,g)}catch{}if(s(f,g))return a(!r(n.f,f,g),f[g])};}),Jg=U(function(e,t){var r=dr(),n=jt(),a=/#|\.prototype\./,i=function(f,g){var x=s[o(f)];return x===u?true:x===l?false:n(g)?r(g):!!g},o=i.normalize=function(c){return String(c).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),zu=U(function(e,t){var r=Lu(),n=ii(),a=ti(),i=r(r.bind);t.exports=function(o,s){return n(o),s===void 0?o:a?i(o,s):function(){return o.apply(s,arguments)}};}),Gu=U(function(e,t){var r=yr(),n=dr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),_n=U(function(e,t){var r=Gr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),si=U(function(e){var t=yr(),r=$u(),n=Gu(),a=_n(),i=Vu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",f="writable";e.f=t?n?function(x,S,M){if(a(x),S=i(S),a(M),typeof x=="function"&&S==="prototype"&&"value"in M&&f in M&&!M[f]){var q=l(x,S);q&&q[f]&&(x[S]=M.value,M={configurable:c in M?M[c]:q[c],enumerable:u in M?M[u]:q[u],writable:false});}return s(x,S,M)}:s:function(x,S,M){if(a(x),S=i(S),a(M),r)try{return s(x,S,M)}catch{}if("get"in M||"set"in M)throw new o("Accessors not supported");return "value"in M&&(x[S]=M.value),x};}),Qn=U(function(e,t){var r=yr(),n=si(),a=ni();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),li=U(function(e,t){var r=cr(),n=jg(),a=Lu(),i=jt(),o=Kg().f,s=Jg(),l=Zn(),u=zu(),c=Qn(),f=Mr();oi();var g=function(S){var M=function(H,$,X){if(this instanceof M){switch(arguments.length){case 0:return new S;case 1:return new S(H);case 2:return new S(H,$)}return new S(H,$,X)}return n(S,this,arguments)};return M.prototype=S.prototype,M};t.exports=function(x,S){var M=x.target,q=x.global,H=x.stat,$=x.proto,X=q?r:H?r[M]:r[M]&&r[M].prototype,Y=q?l:l[M]||c(l,M,{})[M],Z=Y.prototype,re,le,fe,Ae,ue,he,ye,_e,Oe;for(Ae in S)re=s(q?Ae:M+(H?".":"#")+Ae,x.forced),le=!re&&X&&f(X,Ae),he=Y[Ae],le&&(x.dontCallGetSet?(Oe=o(X,Ae),ye=Oe&&Oe.value):ye=X[Ae]),ue=le&&ye?ye:S[Ae],!(!re&&!$&&de(he)==de(ue))&&(x.bind&&le?_e=u(ue,r):x.wrap&&le?_e=g(ue):$&&i(ue)?_e=a(ue):_e=ue,(x.sham||ue&&ue.sham||he&&he.sham)&&c(_e,"sham",true),c(Y,Ae,_e),$&&(fe=M+"Prototype",f(l,fe)||c(l,fe,{}),c(l[fe],Ae,ue),x.real&&Z&&(re||!Z[Ae])&&c(Z,Ae,ue)));};}),Zg=U(function(){var e=li(),t=Mr();e({target:"Object",stat:true},{hasOwn:t});}),Qg=U(function(e,t){Zg();var r=Zn();t.exports=r.Object.hasOwn;}),ev=U(function(e,t){var r=Qg();t.exports=r;}),tv=U(function(e,t){var r=ev();t.exports=r;}),Vo=U(function(e,t){var r=Bu(),n=Hu(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),rv=U(function(e,t){var r=dr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),jo=U(function(e,t){var r=Mr(),n=jt(),a=Ho(),i=Vo(),o=rv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var f=a(c);if(r(f,s))return f[s];var g=f.constructor;return n(g)&&f instanceof g?g.prototype:f instanceof l?u:null};}),nv=U(function(e,t){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?n:r)(o)};}),$o=U(function(e,t){var r=nv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),av=U(function(e,t){var r=$o(),n=Math.max,a=Math.min;t.exports=function(i,o){var s=r(i);return s<0?n(s+o,0):a(s,o)};}),iv=U(function(e,t){var r=$o(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),Wu=U(function(e,t){var r=iv();t.exports=function(n){return r(n.length)};}),ov=U(function(e,t){var r=Jn(),n=av(),a=Wu(),i=function(s){return function(l,u,c){var f=r(l),g=a(f);if(g===0)return !s&&-1;var x=n(c,g),S;if(s&&u!==u){for(;g>x;)if(S=f[x++],S!==S)return true}else for(;g>x;x++)if((s||x in f)&&f[x]===u)return s||x||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),zo=U(function(e,t){t.exports={};}),sv=U(function(e,t){var r=er(),n=Mr(),a=Jn(),i=ov().indexOf,o=zo(),s=r([].push);t.exports=function(l,u){var c=a(l),f=0,g=[],x;for(x in c)!n(o,x)&&n(c,x)&&s(g,x);for(;u.length>f;)n(c,x=u[f++])&&(~i(g,x)||s(g,x));return g};}),Uu=U(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Xu=U(function(e,t){var r=sv(),n=Uu();t.exports=Object.keys||function(i){return r(i,n)};}),lv=U(function(e,t){var r=yr(),n=dr(),a=er(),i=jo(),o=Xu(),s=Jn(),l=Mu().f,u=a(l),c=a([].push),f=r&&n(function(){var x=Object.create(null);return x[2]=2,!u(x,2)}),g=function(S){return function(M){for(var q=s(M),H=o(q),$=f&&i(q)===null,X=H.length,Y=0,Z=[],re;X>Y;)re=H[Y++],(!r||($?re in q:u(q,re)))&&c(Z,S?[re,q[re]]:q[re]);return Z}};t.exports={entries:g(true),values:g(false)};}),uv=U(function(){var e=li(),t=lv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),cv=U(function(e,t){uv();var r=Zn();t.exports=r.Object.values;}),dv=U(function(e,t){var r=cv();t.exports=r;}),fv=U(function(e,t){var r=dv();t.exports=r;}),Go=U(function(e,t){var r=Pr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),ui=U(function(e,t){var r=Go(),n=jt(),a=ri(),i=Pr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(f,g){try{return f[g]}catch{}};t.exports=r?a:function(c){var f,g,x;return c===void 0?"Undefined":c===null?"Null":typeof(g=u(f=s(c),o))=="string"?g:l?a(f):(x=a(f))==="Object"&&n(f.callee)?"Arguments":x};}),Yu=U(function(e,t){var r=ui(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),pv=U(function(e,t){var r=er(),n=$o(),a=Yu(),i=ai(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(f){return function(g,x){var S=a(i(g)),M=n(x),q=S.length,H,$;return M<0||M>=q?f?"":void 0:(H=s(S,M),H<55296||H>56319||M+1===q||($=s(S,M+1))<56320||$>57343?f?o(S,M):H:f?l(S,M,M+2):(H-55296<<10)+($-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),mv=U(function(e,t){var r=cr(),n=jt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),hv=U(function(e,t){var r=mv(),n=cr(),a=Gr(),i=Qn(),o=Mr(),s=oi(),l=Vo(),u=zo(),c="Object already initialized",f=n.TypeError,g=n.WeakMap,x,S,M,q=function(Z){return M(Z)?S(Z):x(Z,{})},H=function(Z){return function(re){var le;if(!a(re)||(le=S(re)).type!==Z)throw new f("Incompatible receiver, "+Z+" required");return le}};r||s.state?($=s.state||(s.state=new g),$.get=$.get,$.has=$.has,$.set=$.set,x=function(Z,re){if($.has(Z))throw new f(c);return re.facade=Z,$.set(Z,re),re},S=function(Z){return $.get(Z)||{}},M=function(Z){return $.has(Z)}):(X=l("state"),u[X]=true,x=function(Z,re){if(o(Z,X))throw new f(c);return re.facade=Z,i(Z,X,re),re},S=function(Z){return o(Z,X)?Z[X]:{}},M=function(Z){return o(Z,X)});var $,X;t.exports={set:x,get:S,has:M,enforce:q,getterFor:H};}),gv=U(function(e,t){var r=yr(),n=Mr(),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=n(a,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),vv=U(function(e){var t=yr(),r=Gu(),n=si(),a=_n(),i=Jn(),o=Xu();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),f=o(u),g=f.length,x=0,S;g>x;)n.f(l,S=f[x++],c[S]);return l};}),bv=U(function(e,t){var r=No();t.exports=r("document","documentElement");}),Ku=U(function(e,t){var r=_n(),n=vv(),a=Uu(),i=zo(),o=bv(),s=ju(),l=Vo(),u=">",c="<",f="prototype",g="script",x=l("IE_PROTO"),S=function(){},M=function(Z){return c+g+u+Z+c+"/"+g+u},q=function(Z){Z.write(M("")),Z.close();var re=Z.parentWindow.Object;return Z=null,re},H=function(){var Z=s("iframe"),re="java"+g+":",le;return Z.style.display="none",o.appendChild(Z),Z.src=String(re),le=Z.contentWindow.document,le.open(),le.write(M("document.F=Object")),le.close(),le.F},$,X=function(){try{$=new ActiveXObject("htmlfile");}catch{}X=typeof m<"u"?m.domain&&$?q($):H():q($);for(var Z=a.length;Z--;)delete X[f][a[Z]];return X()};i[x]=true,t.exports=Object.create||function(Z,re){var le;return Z!==null?(S[f]=r(Z),le=new S,S[f]=null,le[x]=Z):le=X(),re===void 0?le:n.f(le,re)};}),Ju=U(function(e,t){var r=Qn();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),Zu=U(function(e,t){var r=dr(),n=jt(),a=Gr(),i=Ku(),o=jo(),s=Ju(),l=Pr(),u=Bo(),c=l("iterator"),f=false,g,x,S;[].keys&&(S=[].keys(),"next"in S?(x=o(o(S)),x!==Object.prototype&&(g=x)):f=true);var M=!a(g)||r(function(){var q={};return g[c].call(q)!==q});M?g={}:u&&(g=i(g)),n(g[c])||s(g,c,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:f};}),yv=U(function(e,t){var r=Go(),n=ui();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),Qu=U(function(e,t){var r=Go(),n=si().f,a=Qn(),i=Mr(),o=yv(),s=Pr(),l=s("toStringTag");t.exports=function(u,c,f,g){var x=f?u:u&&u.prototype;x&&(i(x,l)||n(x,l,{configurable:true,value:c}),g&&!r&&a(x,"toString",o));};}),ci=U(function(e,t){t.exports={};}),wv=U(function(e,t){var r=Zu().IteratorPrototype,n=Ku(),a=ni(),i=Qu(),o=ci(),s=function(){return this};t.exports=function(l,u,c,f){var g=u+" Iterator";return l.prototype=n(r,{next:a(+!f,c)}),i(l,g,false,true),o[g]=s,l};}),xv=U(function(e,t){var r=er(),n=ii();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Dv=U(function(e,t){var r=Gr();t.exports=function(n){return r(n)||n===null};}),Av=U(function(e,t){var r=Dv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),_v=U(function(e,t){var r=xv(),n=Gr(),a=ai(),i=Av();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,f){return a(c),i(f),n(c)&&(o?l(c,f):c.__proto__=f),c}})():void 0);}),Ev=U(function(e,t){var r=li(),n=un(),a=Bo(),i=gv(),o=jt(),s=wv(),l=jo(),u=_v(),c=Qu(),f=Qn(),g=Ju(),x=Pr(),S=ci(),M=Zu(),q=i.PROPER,H=i.CONFIGURABLE,$=M.IteratorPrototype,X=M.BUGGY_SAFARI_ITERATORS,Y=x("iterator"),Z="keys",re="values",le="entries",fe=function(){return this};t.exports=function(Ae,ue,he,ye,_e,Oe,$e){s(he,ue,ye);var Ie=function(Qe){if(Qe===_e&&Se)return Se;if(!X&&Qe&&Qe in Pe)return Pe[Qe];switch(Qe){case Z:return function(){return new he(this,Qe)};case re:return function(){return new he(this,Qe)};case le:return function(){return new he(this,Qe)}}return function(){return new he(this)}},He=ue+" Iterator",ve=false,Pe=Ae.prototype,ee=Pe[Y]||Pe["@@iterator"]||_e&&Pe[_e],Se=!X&&ee||Ie(_e),me=ue==="Array"&&Pe.entries||ee,ke,je,Fe;if(me&&(ke=l(me.call(new Ae)),ke!==Object.prototype&&ke.next&&(!a&&l(ke)!==$&&(u?u(ke,$):o(ke[Y])||g(ke,Y,fe)),c(ke,He,true,true),a&&(S[He]=fe))),q&&_e===re&&ee&&ee.name!==re&&(!a&&H?f(Pe,"name",re):(ve=true,Se=function(){return n(ee,this)})),_e)if(je={values:Ie(re),keys:Oe?Se:Ie(Z),entries:Ie(le)},$e)for(Fe in je)(X||ve||!(Fe in Pe))&&g(Pe,Fe,je[Fe]);else r({target:ue,proto:true,forced:X||ve},je);return (!a||$e)&&Pe[Y]!==Se&&g(Pe,Y,Se,{name:_e}),S[ue]=Se,je};}),Cv=U(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),Sv=U(function(){var e=pv().charAt,t=Yu(),r=hv(),n=Ev(),a=Cv(),i="String Iterator",o=r.set,s=r.getterFor(i);n(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,f=u.index,g;return f>=c.length?a(void 0,true):(g=e(c,f),u.index+=g.length,a(g,false))});}),kv=U(function(e,t){var r=un(),n=_n(),a=qo();t.exports=function(i,o,s){var l,u;n(i);try{if(l=a(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return n(l),s};}),Tv=U(function(e,t){var r=_n(),n=kv();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),Rv=U(function(e,t){var r=Pr(),n=ci(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),Fv=U(function(e,t){var r=er(),n=jt(),a=oi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),Iv=U(function(e,t){var r=er(),n=dr(),a=jt(),i=ui(),o=No(),s=Fv(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),g=!c.test(l),x=function(q){if(!a(q))return false;try{return u(l,[],q),!0}catch{return false}},S=function(q){if(!a(q))return false;switch(i(q)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return g||!!f(c,s(q))}catch{return true}};S.sham=true,t.exports=!u||n(function(){var M;return x(x.call)||!x(Object)||!x(function(){M=true;})||M})?S:x;}),Lv=U(function(e,t){var r=yr(),n=si(),a=ni();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),Mv=U(function(e,t){var r=ri();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),Pv=U(function(e,t){var r=yr(),n=Mv(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,l){if(n(s)&&!i(s,"length").writable)throw new a("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),ec=U(function(e,t){var r=ui(),n=qo(),a=Oo(),i=ci(),o=Pr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),Ov=U(function(e,t){var r=un(),n=ii(),a=_n(),i=qu(),o=ec(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(n(c))return a(r(c,l));throw new s(i(l)+" is not iterable")};}),Nv=U(function(e,t){var r=zu(),n=un(),a=Ho(),i=Tv(),o=Rv(),s=Iv(),l=Wu(),u=Lv(),c=Pv(),f=Ov(),g=ec(),x=Array;t.exports=function(M){var q=a(M),H=s(this),$=arguments.length,X=$>1?arguments[1]:void 0,Y=X!==void 0;Y&&(X=r(X,$>2?arguments[2]:void 0));var Z=g(q),re=0,le,fe,Ae,ue,he,ye;if(Z&&!(this===x&&o(Z)))for(fe=H?new this:[],ue=f(q,Z),he=ue.next;!(Ae=n(he,ue)).done;re++)ye=Y?i(ue,X,[Ae.value,re],true):Ae.value,u(fe,re,ye);else for(le=l(q),fe=H?new this(le):x(le);le>re;re++)ye=Y?X(q[re],re):q[re],u(fe,re,ye);return c(fe,re),fe};}),qv=U(function(e,t){var r=Pr(),n=r("iterator"),a=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){a=!0;}},o[n]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!a)return !1}catch{return false}var u=false;try{var c={};c[n]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),Bv=U(function(){var e=li(),t=Nv(),r=qv(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),Hv=U(function(e,t){Sv(),Bv();var r=Zn();t.exports=r.Array.from;}),Vv=U(function(e,t){var r=Hv();t.exports=r;}),tc=U(function(e,t){var r=Vv();t.exports=r;}),rc=U(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function n(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=n;function a(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var f=c.charCodeAt(0);if((f&63488)===55296){var g=o.charCodeAt(u++);if((f&64512)!==55296||(g&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");f=((f&1023)<<10)+(g&1023)+65536;}l+="\\"+f.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var f=o.charAt(u);f==='"'?f='\\"':f==="\\"?f="\\\\":(c=e.strReplacementsRev[f])!==void 0&&(f=c),l+=f,u++;}return '"'+l+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
361
363
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
362
|
-
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),
|
|
363
|
-
`||c==="\r"||c==="\f";)q=true,n++,c=a.charAt(n);return q}function k(){var q=I();if(n<u)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return q}function I(){var q=M();if(!q)return null;var G=q;for(c=a.charAt(n);c===",";){if(n++,x(),G.type!=="selectors"&&(G={type:"selectors",selectors:[q]}),q=M(),!q)throw Error('Rule expected after ",".');G.selectors.push(q);}return G}function M(){x();var q={type:"ruleSet"},G=O();if(!G)return null;for(var W=q;G&&(G.type="rule",W.rule=G,W=G,x(),c=a.charAt(n),!(n>=u||c===","||c===")"));)if(s[c]){var Y=c;if(n++,x(),G=O(),!G)throw Error('Rule expected after "'+Y+'".');G.nestingOperator=Y;}else G=O(),G&&(G.nestingOperator=null);return q}function O(){for(var q=null;n<u;)if(c=a.charAt(n),c==="*")n++,(q=q||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(q=q||{}).tagName=h();else if(c===".")n++,q=q||{},(q.classNames=q.classNames||[]).push(h());else if(c==="#")n++,(q=q||{}).id=h();else if(c==="["){n++,x();var G={name:h()};if(x(),c==="]")n++;else {var W="";if(o[c]&&(W=c,n++,c=a.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');G.operator=W+"=",n++,x();var Y="";if(G.valueType="string",c==='"')Y=d('"',t.doubleQuotesEscapeChars);else if(c==="'")Y=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,Y=h(),G.valueType="substitute";else {for(;n<u&&c!=="]";)Y+=c,n++,c=a.charAt(n);Y=Y.trim();}if(x(),n>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,G.value=Y;}q=q||{},(q.attrs=q.attrs||[]).push(G);}else if(c===":"){n++;var ee=h(),ie={name:ee};if(c==="("){n++;var ue="";if(x(),i[ee]==="selector")ie.valueType="selector",ue=I();else {if(ie.valueType=i[ee]||"string",c==='"')ue=d('"',t.doubleQuotesEscapeChars);else if(c==="'")ue=d("'",t.singleQuoteEscapeChars);else if(l&&c==="$")n++,ue=h(),ie.valueType="substitute";else {for(;n<u&&c!==")";)ue+=c,n++,c=a.charAt(n);ue=ue.trim();}x();}if(n>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,ie.value=ue;}q=q||{},(q.pseudos=q.pseudos||[]).push(ie);}else break;return q}return k()}e.parseCssSelector=r;}),Mv=$(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Vu();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;}),Pv=$(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Lv(),r=Mv(),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;}),Ov=$(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":le(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{f.globalThis=(function(){if(typeof self<"u")return self;if(typeof f<"u")return f;if(typeof v<"u")return v;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,h,x){return d.indexOf("def.")===0&&(d=d.substring(4)),d in u||(h===":"?(s.defineParams&&x.replace(s.defineParams,function(k,I,M){u[d]={arg:I,text:M};}),d in u||(u[d]=x)):new Function("def","def['"+d+"']="+x)(u)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(x,k,I,M){if(u[I]&&u[I].arg&&M){var O=(I+":"+M).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[O]=u[I].text.replace(new RegExp("(^|[^\\w$])"+u[I].arg+"([^\\w$])","g"),"$1"+M+"$2"),k+"def.__exp['"+O+"']"}}));var h=new Function("def","return "+d)(u);return h&&i(s,h,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,h=0,x,k=l.use||l.define?i(l,s,u||{}):s;k=("var out='"+(l.strip?k.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):k).replace(/'|\\/g,"\\$&").replace(l.interpolate||n,function(I,M){return c.start+o(M)+c.end}).replace(l.encode||n,function(I,M){return d=true,c.startencode+o(M)+c.end}).replace(l.conditional||n,function(I,M,O){return M?O?"';}else if("+o(O)+"){out+='":"';}else{out+='":O?"';if("+o(O)+"){out+='":"';}out+='"}).replace(l.iterate||n,function(I,M,O,q){return M?(h+=1,x=q||"i"+h,M=o(M),"';var arr"+h+"="+M+";if(arr"+h+"){var "+O+","+x+"=-1,l"+h+"=arr"+h+".length-1;while("+x+"<l"+h+"){"+O+"=arr"+h+"["+x+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||n,function(I,M){return "';"+o(M)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),k="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+k);try{return new Function(l.varname,k)}catch(I){throw typeof console<"u"&&console.log("Could not create a template function: "+k),I}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Nv=$(function(e,t){t.exports=function(){};}),oa=$(function(e,t){var r=Nv()();t.exports=function(a){return a!==r&&a!==null};}),ju=$(function(e,t){var r=oa(),a=Array.prototype.forEach,n=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=n(null);return a.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),qv=$(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Bv=$(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Hv=$(function(e,t){t.exports=qv()()?Math.sign:Bv();}),Vv=$(function(e,t){var r=Hv(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))};}),sa=$(function(e,t){var r=Vv(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),$u=$(function(e,t){var r=sa();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),Vr=$(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),xa=$(function(e,t){var r=oa();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),jv=$(function(e,t){var r=Vr(),a=xa(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,d){var h,x=arguments[2],k=arguments[3];return c=Object(a(c)),r(d),h=o(c),k&&h.sort(typeof k=="function"?n.call(k,c):void 0),typeof l!="function"&&(l=h[l]),i.call(l,h,function(I,M){return s.call(c,I)?i.call(d,x,c[I],I,c,M):u})}};}),ai=$(function(e,t){t.exports=jv()("forEach");}),la=$(function(){}),$v=$(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")};}),zv=$(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Gv=$(function(e,t){var r=oa(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Wv=$(function(e,t){t.exports=zv()()?Object.keys:Gv();}),Uv=$(function(e,t){var r=Wv(),a=xa(),n=Math.max;t.exports=function(i,o){var s,l,u=n(arguments.length,2),c;for(i=Object(a(i)),c=function(h){try{i[h]=o[h];}catch(x){s||(s=x);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),zu=$(function(e,t){t.exports=$v()()?Object.assign:Uv();}),Xv=$(function(e,t){var r=oa(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[le(n)]||false};}),Yv=$(function(e,t){var r=zu(),a=Xv(),n=oa(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return n(u)||a(l)&&(u=l,l=null),n(u)&&r(s,u),n(l)&&(s.code=l),i&&i(s,t.exports),s};}),Gu=$(function(e,t){var r=xa(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(d){try{a(s,d,n(l,d));}catch(h){u=h;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(l,d));}catch(h){u=h;}}),u!==void 0)throw u;return s};}),Wu=$(function(e,t){var r=sa(),a=function(u,c){return c},n,i,o,s;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(n.value=u,i(l,"length",n))}):(s=Gu(),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});}),Uu=$(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),Kv=$(function(e,t){var r=Uu(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,le(n)):false};}),Jv=$(function(e,t){var r=Kv();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),Zv=$(function(e,t){var r=Jv();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)};}),Qv=$(function(e,t){var r=Zv(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),eb=$(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),tb=$(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),rb=$(function(e,t){t.exports=eb()()?String.prototype.contains:tb();}),ua=$(function(e,t){var r=Uu(),a=Qv(),n=zu(),i=ju(),o=rb(),s=t.exports=function(l,u){var c,d,h,x,k;return arguments.length<2||typeof l!="string"?(x=u,u=l,l=null):x=arguments[2],r(l)?(c=o.call(l,"c"),d=o.call(l,"e"),h=o.call(l,"w")):(c=h=true,d=false),k={value:u,configurable:c,enumerable:d,writable:h},x?n(i(x),k):k};s.gs=function(l,u,c){var d,h,x,k;return typeof l!="string"?(x=c,c=u,u=l,l=null):x=arguments[3],r(u)?a(u)?r(c)?a(c)||(x=c,c=void 0):c=void 0:(x=u,u=c=void 0):u=void 0,r(l)?(d=o.call(l,"c"),h=o.call(l,"e")):(d=true,h=false),k={get:u,set:c,configurable:d,enumerable:h},x?n(i(x),k):k};}),ab=$(function(e,t){var r=ua(),a=Vr(),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,h,x,k,I,M,O;d=function(G,W){var Y;return a(W),u.call(this,"__ee__")?Y=this.__ee__:(Y=c.value=o(null),s(this,"__ee__",c),c.value=null),Y[G]?le(Y[G])==="object"?Y[G].push(W):Y[G]=[Y[G],W]:Y[G]=W,this},h=function(G,W){var Y,ee;return a(W),ee=this,d.call(this,G,Y=function(){x.call(ee,G,Y),n.call(W,this,arguments);}),Y.__eeOnceListener__=W,this},x=function(G,W){var Y,ee,ie,ue;if(a(W),!u.call(this,"__ee__"))return this;if(Y=this.__ee__,!Y[G])return this;if(ee=Y[G],le(ee)==="object")for(ue=0;ie=ee[ue];++ue)(ie===W||ie.__eeOnceListener__===W)&&(ee.length===2?Y[G]=ee[ue?0:1]:ee.splice(ue,1));else (ee===W||ee.__eeOnceListener__===W)&&delete Y[G];return this},k=function(G){var W,Y,ee,ie,ue;if(u.call(this,"__ee__")&&(ie=this.__ee__[G],!!ie))if(le(ie)==="object"){for(Y=arguments.length,ue=new Array(Y-1),W=1;W<Y;++W)ue[W-1]=arguments[W];for(ie=ie.slice(),W=0;ee=ie[W];++W)n.call(ee,this,ue);}else switch(arguments.length){case 1:i.call(ie,this);break;case 2:i.call(ie,this,arguments[1]);break;case 3:i.call(ie,this,arguments[1],arguments[2]);break;default:for(Y=arguments.length,ue=new Array(Y-1),W=1;W<Y;++W)ue[W-1]=arguments[W];n.call(ie,this,ue);}},I={on:d,once:h,off:x,emit:k},M={on:r(d),once:r(h),off:r(x),emit:r(k)},O=l({},M),t.exports=e=function(G){return G==null?o(O):l(Object(G),M)},e.methods=I;}),nb=$(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"))};}),ib=$(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":le(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),ob=$(function(e,t){var r=function(){if((typeof self>"u"?"undefined":le(self))==="object"&&self)return self;if((typeof f>"u"?"undefined":le(f))==="object"&&f)return f;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),ni=$(function(e,t){t.exports=ib()()?globalThis:ob();}),sb=$(function(e,t){var r=ni(),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[le(n.iterator)]||!a[le(n.toPrimitive)]||!a[le(n.toStringTag)])};}),lb=$(function(e,t){t.exports=function(r){return r?le(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Xu=$(function(e,t){var r=lb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),ub=$(function(e,t){var r=ua(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,n(i,u,r.gs(null,function(d){c||(c=true,n(this,u,r(d)),c=false);})),u};}),cb=$(function(e,t){var r=ua(),a=ni().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"))})};}),db=$(function(e,t){var r=ua(),a=Xu(),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})})};}),fb=$(function(e,t){var r=ua(),a=Xu(),n=ni().Symbol,i=ub(),o=cb(),s=db(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,d,h,x;if(typeof n=="function")try{String(n()),x=!0;}catch{}else n=null;h=function(I){if(this instanceof h)throw new TypeError("Symbol is not a constructor");return d(I)},t.exports=d=function k(I){var M;if(this instanceof k)throw new TypeError("Symbol is not a constructor");return x?n(I):(M=l(h.prototype),I=I===void 0?"":String(I),u(M,{__description__:r("",I),__name__:r("",i(I))}))},o(d),s(d),u(h.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),u(d.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var k=a(this);return le(k)==="symbol"?k:k.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]));}),pb=$(function(e,t){t.exports=sb()()?ni().Symbol:fb();}),mb=$(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),hb=$(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))};}),gb=$(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&le(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),vb=$(function(e,t){var r=pb().iterator,a=mb(),n=hb(),i=sa(),o=Vr(),s=xa(),l=oa(),u=gb(),c=Array.isArray,d=Function.prototype.call,h={configurable:true,enumerable:true,writable:true,value:null},x=Object.defineProperty;t.exports=function(k){var I=arguments[1],M=arguments[2],O,q,G,W,Y,ee,ie,ue,we,oe;if(k=Object(s(k)),l(I)&&o(I),!this||this===Array||!n(this)){if(!I){if(a(k))return Y=k.length,Y!==1?Array.apply(null,k):(W=new Array(1),W[0]=k[0],W);if(c(k)){for(W=new Array(Y=k.length),q=0;q<Y;++q)W[q]=k[q];return W}}W=[];}else O=this;if(!c(k)){if((we=k[r])!==void 0){for(ie=o(we).call(k),O&&(W=new O),ue=ie.next(),q=0;!ue.done;)oe=I?d.call(I,M,ue.value,q):ue.value,O?(h.value=oe,x(W,q,h)):W[q]=oe,ue=ie.next(),++q;Y=q;}else if(u(k)){for(Y=k.length,O&&(W=new O),q=0,G=0;q<Y;++q)oe=k[q],q+1<Y&&(ee=oe.charCodeAt(0),ee>=55296&&ee<=56319&&(oe+=k[++q])),oe=I?d.call(I,M,oe,G):oe,O?(h.value=oe,x(W,G,h)):W[G]=oe,++G;Y=G;}}if(Y===void 0)for(Y=i(k.length),O&&(W=new O(Y)),q=0;q<Y;++q)oe=I?d.call(I,M,k[q],q):k[q],O?(h.value=oe,x(W,q,h)):W[q]=oe;return O&&(h.value=null,W.length=Y),W};}),Vo=$(function(e,t){t.exports=nb()()?Array.from:vb();}),bb=$(function(e,t){var r=Vo(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),yb=$(function(e,t){var r=bb(),a=oa(),n=Vr(),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)};}),wb=$(function(e,t){var r=Vr();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))};}),xb=$(function(e,t){var r=Yv(),a=Wu(),n=ua(),i=ab().methods,o=yb(),s=wb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,h=i.on,x=i.emit;t.exports=function(k,I,M){var O=c(null),q,G,W,Y,ee,ie,ue,we,oe,pe,be,xe,Me,Ve,Se;return I!==false?G=I:isNaN(k.length)?G=1:G=k.length,M.normalizer&&(pe=s(M.normalizer),W=pe.get,Y=pe.set,ee=pe.delete,ie=pe.clear),M.resolvers!=null&&(Se=o(M.resolvers)),W?Ve=a(function(Ne){var ge,Le,J=arguments;if(Se&&(J=Se(J)),ge=W(J),ge!==null&&hasOwnProperty.call(O,ge))return be&&q.emit("get",ge,J,this),O[ge];if(J.length===1?Le=u.call(k,this,J[0]):Le=l.call(k,this,J),ge===null){if(ge=W(J),ge!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ge=Y(J);}else if(hasOwnProperty.call(O,ge))throw r("Circular invocation","CIRCULAR_INVOCATION");return O[ge]=Le,xe&&q.emit("set",ge,null,Le),Le},G):I===0?Ve=function(){var ge;if(hasOwnProperty.call(O,"data"))return be&&q.emit("get","data",arguments,this),O.data;if(arguments.length?ge=l.call(k,this,arguments):ge=u.call(k,this),hasOwnProperty.call(O,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return O.data=ge,xe&&q.emit("set","data",null,ge),ge}:Ve=function(ge){var Le,J=arguments,De;if(Se&&(J=Se(arguments)),De=String(J[0]),hasOwnProperty.call(O,De))return be&&q.emit("get",De,J,this),O[De];if(J.length===1?Le=u.call(k,this,J[0]):Le=l.call(k,this,J),hasOwnProperty.call(O,De))throw r("Circular invocation","CIRCULAR_INVOCATION");return O[De]=Le,xe&&q.emit("set",De,null,Le),Le},q={original:k,memoized:Ve,profileName:M.profileName,get:function(ge){return Se&&(ge=Se(ge)),W?W(ge):String(ge[0])},has:function(ge){return hasOwnProperty.call(O,ge)},delete:function(ge){var Le;hasOwnProperty.call(O,ge)&&(ee&&ee(ge),Le=O[ge],delete O[ge],Me&&q.emit("delete",ge,Le));},clear:function(){var ge=O;ie&&ie(),O=c(null),q.emit("clear",ge);},on:function(ge,Le){return ge==="get"?be=true:ge==="set"?xe=true:ge==="delete"&&(Me=true),h.call(this,ge,Le)},emit:x,updateEnv:function(){k=q.original;}},W?ue=a(function(Ne){var ge,Le=arguments;Se&&(Le=Se(Le)),ge=W(Le),ge!==null&&q.delete(ge);},G):I===0?ue=function(){return q.delete("data")}:ue=function(ge){return Se&&(ge=Se(arguments)[0]),q.delete(ge)},we=a(function(){var Ne,ge=arguments;return I===0?O.data:(Se&&(ge=Se(ge)),W?Ne=W(ge):Ne=String(ge[0]),O[Ne])}),oe=a(function(){var Ne,ge=arguments;return I===0?q.has("data"):(Se&&(ge=Se(ge)),W?Ne=W(ge):Ne=String(ge[0]),Ne===null?false:q.has(Ne))}),d(Ve,{__memoized__:n(true),delete:n(ue),clear:n(q.clear),_get:n(we),_has:n(oe)}),q};}),Db=$(function(e,t){var r=Vr(),a=ai(),n=la(),i=xb(),o=$u();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(h,x){u[x]&&h(u[x],d,u);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),Ab=$(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};}),_b=$(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return ""}};}),Eb=$(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Cb=$(function(e,t){t.exports=function(r){return r!==r};}),Sb=$(function(e,t){t.exports=Eb()()?Number.isNaN:Cb();}),jo=$(function(e,t){var r=Sb(),a=sa(),n=xa(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,d,h,x;if(!r(u))return i.apply(this,arguments);for(d=a(n(this).length),h=arguments[1],isNaN(h)?h=0:h>=0?h=l(h):h=a(this.length)-l(s(h)),c=h;c<d;++c)if(o.call(this,c)&&(x=this[c],r(x)))return c;return -1};}),kb=$(function(e,t){var r=jo(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(l){var u=0,c=i,d,h=l.length;if(h===0)return c[h]||null;if(c=c[h]){for(;u<h-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,h=l.length;if(h===0)c[h]=++n;else {for(c[h]||(c[h]=[[],[]]),c=c[h];u<h-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,h=o[l],x=h.length,k=[];if(x===0)delete c[x];else if(c=c[x]){for(;u<x-1;){if(d=r.call(c[0],h[u]),d===-1)return;k.push(c,d),c=c[1][d],++u;}if(d=r.call(c[0],h[u]),d===-1)return;for(l=c[1][d],c[0].splice(d,1),c[1].splice(d,1);!c[0].length&&k.length;)d=k.pop(),c=k.pop(),c[0].splice(d,1),c[1].splice(d,1);}delete o[l];},clear:function(){i=[],o=a(null);}}};}),Tb=$(function(e,t){var r=jo();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=[];}}};}),Fb=$(function(e,t){var r=jo(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(u){for(var c=0,d=o,h;c<n-1;){if(h=r.call(d[0],u[c]),h===-1)return null;d=d[1][h],++c;}return h=r.call(d[0],u[c]),h===-1?null:d[1][h]||null},set:function(u){for(var c=0,d=o,h;c<n-1;)h=r.call(d[0],u[c]),h===-1&&(h=d[0].push(u[c])-1,d[1].push([[],[]])),d=d[1][h],++c;return h=r.call(d[0],u[c]),h===-1&&(h=d[0].push(u[c])-1),d[1][h]=++i,s[i]=u,i},delete:function(u){for(var c=0,d=o,h,x=[],k=s[u];c<n-1;){if(h=r.call(d[0],k[c]),h===-1)return;x.push(d,h),d=d[1][h],++c;}if(h=r.call(d[0],k[c]),h!==-1){for(u=d[1][h],d[0].splice(h,1),d[1].splice(h,1);!d[0].length&&x.length;)h=x.pop(),d=x.pop(),d[0].splice(h,1),d[1].splice(h,1);delete s[u];}},clear:function(){o=[[],[]],s=a(null);}}};}),Yu=$(function(e,t){var r=Vr(),a=ai(),n=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),a(i,function(u,c,d,h){s[c]=n.call(o,l,u,c,d,h);}),s};}),$o=$(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=m.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":le(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof m>"u"?"undefined":le(m))==="object"&&m){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":le(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Rb=$(function(){var e=Vo(),t=Yu(),r=Gu(),a=Wu(),n=$o(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;la().async=function(l,u){var c=s(null),d=s(null),h=u.memoized,x=u.original,k,I,M;u.memoized=a(function(O){var q=arguments,G=q[q.length-1];return typeof G=="function"&&(k=G,q=i.call(q,0,-1)),h.apply(I=this,M=q)},h);try{r(u.memoized,h);}catch{}u.on("get",function(O){var q,G,W;if(k){if(c[O]){typeof c[O]=="function"?c[O]=[c[O],k]:c[O].push(k),k=null;return}q=k,G=I,W=M,k=I=M=null,n(function(){var Y;hasOwnProperty.call(d,O)?(Y=d[O],u.emit("getasync",O,W,G),o.call(q,Y.context,Y.args)):(k=q,I=G,M=W,h.apply(G,W));});}}),u.original=function(){var O,q,G,W;return k?(O=e(arguments),q=function Y(ee){var ie,ue,we=Y.id;if(we==null){n(o.bind(Y,this,arguments));return}if(delete Y.id,ie=c[we],delete c[we],!!ie)return ue=e(arguments),u.has(we)&&(ee?u.delete(we):(d[we]={context:this,args:ue},u.emit("setasync",we,typeof ie=="function"?1:ie.length))),typeof ie=="function"?W=o.call(ie,this,ue):ie.forEach(function(oe){W=o.call(oe,this,ue);},this),W},G=k,k=I=M=null,O.push(q),W=o.call(x,this,O),q.cb=G,k=q,W):o.call(x,this,arguments)},u.on("set",function(O){if(!k){u.delete(O);return}c[O]?typeof c[O]=="function"?c[O]=[c[O],k.cb]:c[O].push(k.cb):c[O]=k.cb,delete k.cb,k.id=O,k=null;}),u.on("delete",function(O){var q;hasOwnProperty.call(c,O)||d[O]&&(q=d[O],delete d[O],u.emit("deleteasync",O,i.call(q.args,1)));}),u.on("clear",function(){var O=d;d=s(null),u.emit("clearasync",t(O,function(q){return i.call(q.args,1)}));});};}),Ib=$(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};}),Ku=$(function(e,t){t.exports=function(r){return typeof r=="function"};}),Lb=$(function(e,t){var r=Ku();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),Mb=$(function(e,t){var r=xa(),a=Lb();t.exports=function(n){return a(r(n))};}),Pb=$(function(e,t){var r=Ku();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),Ob=$(function(e,t){var r=Pb(),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};}),Ju=$(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(le(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Nb=$(function(){var e=Yu(),t=Ib(),r=Mb(),a=Ob(),n=Ju(),i=$o(),o=Object.create,s=t("then","then:finally","done","done:finally");la().promise=function(l,u){var c=o(null),d=o(null),h=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(x,k,I){var M=false;if(!n(I)){d[x]=I,u.emit("setasync",x,1);return}c[x]=1,h[x]=I;var O=function(ee){var ie=c[x];if(M)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.`);ie&&(delete c[x],d[x]=ee,u.emit("setasync",x,ie));},q=function(){M=true,c[x]&&(delete c[x],delete h[x],u.delete(x));},G=l;if(G||(G="then"),G==="then"){var W=function(){i(q);};I=I.then(function(Y){i(O.bind(this,Y));},W),typeof I.finally=="function"&&I.finally(W);}else if(G==="done"){if(typeof I.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");I.done(O,q);}else if(G==="done:finally"){if(typeof I.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof I.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");I.done(O),I.finally(q);}}),u.on("get",function(x,k,I){var M;if(c[x]){++c[x];return}M=h[x];var O=function(){u.emit("getasync",x,k,I);};n(M)?typeof M.done=="function"?M.done(O):M.then(function(){i(O);}):O();}),u.on("delete",function(x){if(delete h[x],c[x]){delete c[x];return}if(hasOwnProperty.call(d,x)){var k=d[x];delete d[x],u.emit("deleteasync",x,[k]);}}),u.on("clear",function(){var x=d;d=o(null),c=o(null),h=o(null),u.emit("clearasync",e(x,function(k){return [k]}));});};}),qb=$(function(){var e=Vr(),t=ai(),r=la(),a=Function.prototype.apply;r.dispose=function(n,i,o){var s;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){a.call(n,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){n(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),Bb=$(function(e,t){t.exports=2147483647;}),Hb=$(function(e,t){var r=sa(),a=Bb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),Vb=$(function(){var e=Vo(),t=ai(),r=$o(),a=Ju(),n=Hb(),i=la(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,d,h){var x,k,I,M;c=n(c),c&&(x=u(null),k=h.async&&i.async||h.promise&&i.promise?"async":"",d.on("set"+k,function(O){x[O]=setTimeout(function(){d.delete(O);},c),typeof x[O].unref=="function"&&x[O].unref(),M&&(M[O]&&M[O]!=="nextTick"&&clearTimeout(M[O]),M[O]=setTimeout(function(){delete M[O];},I),typeof M[O].unref=="function"&&M[O].unref());}),d.on("delete"+k,function(O){clearTimeout(x[O]),delete x[O],M&&(M[O]!=="nextTick"&&clearTimeout(M[O]),delete M[O]);}),h.preFetch&&(h.preFetch===true||isNaN(h.preFetch)?I=.333:I=s(l(Number(h.preFetch),1),0),I&&(M={},I=(1-I)*c,d.on("get"+k,function(O,q,G){M[O]||(M[O]="nextTick",r(function(){var W;M[O]==="nextTick"&&(delete M[O],d.delete(O),h.async&&(q=e(q),q.push(o)),W=d.memoized.apply(G,q),h.promise&&a(W)&&(typeof W.done=="function"?W.done(o,o):W.then(o,o)));}));}))),d.on("clear"+k,function(){t(x,function(O){clearTimeout(O);}),x={},M&&(t(M,function(O){O!=="nextTick"&&clearTimeout(O);}),M={});}));};}),jb=$(function(e,t){var r=sa(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=a(null),u=a(null),c=0,d;return i=r(i),{hit:function(x){var k=u[x],I=++c;if(l[I]=x,u[x]=I,!k)return ++o,o<=i?void 0:(x=l[s],d(x),x);if(delete l[k],s===k)for(;!n.call(l,++s););},delete:d=function(x){var k=u[x];if(k&&(delete l[k],delete u[x],--o,s===k)){if(!o){c=0,s=1;return}for(;!n.call(l,++s););}},clear:function(){o=0,s=1,l=a(null),u=a(null),c=0;}}};}),$b=$(function(){var e=sa(),t=jb(),r=la();r.max=function(a,n,i){var o,s,l;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,l),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),zb=$(function(){var e=ua(),t=la(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),a(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Gb=$(function(e,t){var r=ju(),a=$u(),n=Db();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=Ab():s>1&&(o.normalizer=_b()(s)):s===false?o.normalizer=kb()():s===1?o.normalizer=Tb()():o.normalizer=Fb()(s))),o.async&&Rb(),o.promise&&Nb(),o.dispose&&qb(),o.maxAge&&Vb(),o.max&&$b(),o.refCounter&&zb(),n(i,o)};}),Wb=[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}],hr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};Wb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;hr[t]=r,hr[t+"_PRIO"]=a,hr[t+"_GROUP"]=n,hr.results[a]=r,hr.resultGroups[a]=n,hr.resultGroupMap[r]=n;}),Object.freeze(hr.results),Object.freeze(hr.resultGroups),Object.freeze(hr.resultGroupMap),Object.freeze(hr);var ze=hr;function Ub(){(typeof console>"u"?"undefined":le(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var ca=Ub,Xb=/[\t\r\n\f]/g,Yb=(function(){function e(){ft(this,e),this.parent=void 0;}return vt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(Xb," ").indexOf(n)>=0}}])})(),Rt=Yb,zo={};fr(zo,{DqElement:function(){return lr},RuleError:function(){return uo},aggregate:function(){return ii},aggregateChecks:function(){return ec},aggregateNodeResults:function(){return tc},aggregateResult:function(){return rc},areStylesSet:function(){return ry},assert:function(){return Qe},checkHelper:function(){return bs},clone:function(){return Mr},closest:function(){return Jt},collectResultsFromFrames:function(){return Gd},contains:function(){return Pr},convertSelector:function(){return Si},cssParser:function(){return Ed},deepMerge:function(){return Rs},escapeSelector:function(){return yt},extendMetaData:function(){return Is},filterHtmlAttrs:function(){return sm},finalizeRuleResult:function(){return Ka},findBy:function(){return gn},getAllChecks:function(){return Ii},getAncestry:function(){return Ci},getBaseLang:function(){return ba},getCheckMessage:function(){return x2},getCheckOption:function(){return ao},getElementSource:function(){return Ad},getEnvironmentData:function(){return Qr},getFlattenedTree:function(){return wl},getFrameContexts:function(){return q2},getFriendlyUriEnd:function(){return ic},getNodeAttributes:function(){return Qa},getNodeFromTree:function(){return We},getPreloadConfig:function(){return am},getRootNode:function(){return vn},getRule:function(){return Vp},getScroll:function(){return qr},getScrollState:function(){return V2},getSelector:function(){return gs},getSelectorData:function(){return Ei},getShadowSelector:function(){return ps},getStandards:function(){return j2},getStyleSheetFactory:function(){return zp},getXpath:function(){return Dd},injectStyle:function(){return G2},isArrayLike:function(){return El},isContextObject:function(){return Cl},isContextProp:function(){return io},isContextSpec:function(){return Gp},isHidden:function(){return W2},isHtmlElement:function(){return kl},isLabelledFramesSelector:function(){return Sl},isLabelledShadowDomSelector:function(){return oo},isNodeInContext:function(){return Tl},isShadowRoot:function(){return Mi},isValidLang:function(){return fo},isXHTML:function(){return un},matchAncestry:function(){return Fl},matches:function(){return ws},matchesExpression:function(){return Ea},matchesSelector:function(){return Da},memoize:function(){return lt},mergeResults:function(){return Li},nodeLookup:function(){return Ze},nodeSerializer:function(){return ur},nodeSorter:function(){return Rl},objectHasOwn:function(){return Sr},parseCrossOriginStylesheet:function(){return Ll},parseSameOriginStylesheet:function(){return Xp},parseStylesheet:function(){return Il},parseTabindex:function(){return kr},performanceTimer:function(){return tt},pollyfillElementsFromPoint:function(){return Yp},preload:function(){return tm},preloadCssom:function(){return Jp},preloadMedia:function(){return em},processMessage:function(){return _l},publishMetaData:function(){return so},querySelectorAll:function(){return tr},querySelectorAllFilter:function(){return Tr},queue:function(){return Ar},respondable:function(){return br},ruleShouldRun:function(){return om},select:function(){return Ml},sendCommandToFrame:function(){return Vd},serializeError:function(){return lo},setScrollState:function(){return E_},shadowSelect:function(){return C_},shadowSelectAll:function(){return Pl},shouldPreload:function(){return rm},toArray:function(){return nc},tokenList:function(){return jt},uniqueArray:function(){return In},uuid:function(){return Fw},validInputTypes:function(){return co},validLangs:function(){return fm}});function Kb(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 ii=Kb,Jb=ze.CANTTELL_PRIO,Zb=ze.FAIL_PRIO,oi=[];oi[ze.PASS_PRIO]=true,oi[ze.CANTTELL_PRIO]=null,oi[ze.FAIL_PRIO]=false;var Zu=["any","all","none"];function Qu(e,t){return Zu.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Qb(e){var t=Object.assign({},e);Qu(t,function(n,i){var o=typeof n.result>"u"?-1:oi.indexOf(n.result);n.priority=o!==-1?o:ze.CANTTELL_PRIO,i==="none"&&(n.priority===ze.PASS_PRIO?n.priority=ze.FAIL_PRIO:n.priority===ze.FAIL_PRIO&&(n.priority=ze.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 Zu.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)});}),[Jb,Zb].includes(t.priority)?t.impact=ii(ze.impact,a):t.impact=null,Qu(t,function(n){delete n.result,delete n.priority;}),t.result=ze.results[t.priority],delete t.priority,t}var ec=Qb;function Ka(e){var t=g._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,tc(e.nodes)),delete e.nodes,e}function ey(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return ec(i);if(Array.isArray(i.node))return Ka(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=ii(ze.results,r,t.result);}else t.result="inapplicable";ze.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=ze.resultGroupMap[i.result];t[o].push(i);});var a=ze.FAIL_GROUP;if(t[a].length===0&&(a=ze.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=ii(ze.impact,n)||null;}else t.impact=null;return t}var tc=ey;function Go(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),ze.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function ty(e){var t={};return ze.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Go(t,r,ze.CANTTELL_GROUP):r.result===ze.NA?Go(t,r,ze.NA_GROUP):ze.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Go(t,r,a);});}),t}var rc=ty;function ac(e,t,r){var a=f.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:ac(e.parentNode,t,r)}var ry=ac;function ay(e,t){if(!e)throw new Error(t)}var Qe=ay;function ny(e){return Array.prototype.slice.call(e)}var nc=ny;function iy(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var yt=iy;function oy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function Ja(e,t){return [e.substring(0,t),e.substring(t)]}function Za(e){return e.replace(/\s+$/,"")}function sy(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var l=Ja(e,e.indexOf("#")),u=ye(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=Ja(e,e.indexOf("?")),d=ye(c,2);e=d[0],o=d[1];}if(e.includes("://")){var h=e.split("://"),x=ye(h,2);r=x[0],e=x[1];var k=Ja(e,e.indexOf("/")),I=ye(k,2);a=I[0],e=I[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var M=Ja(e,e.indexOf("/")),O=ye(M,2);a=O[0],e=O[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var q=Ja(a,a.indexOf(":")),G=ye(q,2);a=G[0],n=G[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function ly(){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=sy(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=n?Za(u+l):u.length<2&&l.length>2&&l.length<=n?Za(l):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=n)return Za(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=n&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!oy(u))return Za(u)}}var ic=ly;function uy(e){return e.attributes instanceof f.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Qa=uy,cy=(function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i<n;i++)if(o=a[i],r[o])return o}return function(r,a){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](a):false}})(),Da=cy,oc={};fr(oc,{ArrayFrom:function(){return gd.default},Colorjs:function(){return ot},CssSelectorParser:function(){return sc.CssSelectorParser},doT:function(){return jr.default},emojiRegexText:function(){return Wo},memoize:function(){return lc.default}});var dy=wr(Fg()),fy=wr(Rg());wr(Ig());var py=wr(Wg()),my=wr(av()),hy=wr(Hu());"hasOwn"in Object||(Object.hasOwn=py.default),"values"in Object||(Object.values=my.default),"Promise"in f||dy.default.polyfill(),"Uint32Array"in f||(f.Uint32Array=fy.Uint32Array),f.Uint32Array&&("some"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in f.Uint32Array.prototype||Object.defineProperty(f.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=hy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),f.Node&&!("isConnected"in f.Node.prototype)&&Object.defineProperty(f.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var sc=wr(Pv()),jr=wr(Ov()),Wo=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=wr(Gb());function At(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=Je(s),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;l+=o*d;}}catch(x){u.e(x);}finally{u.f();}return l}for(var h=0;h<o.length;h++)l+=o[h]*(s[h]||0);return l})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function en(e){return $r(e)==="string"}function $r(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function si(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 uc(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 cc(e){return e[e.length-1]}function li(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function dc(e,t,r){return (r-e)/(t-e)}function Uo(e,t,r){return li(t[0],t[1],dc(e[0],e[1],r))}function fc(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 gy=Object.freeze({__proto__:null,isString:en,type:$r,toPrecision:si,parseFunction:uc,last:cc,interpolate:li,interpolateInv:dc,mapRange:Uo,parseCoordGrammar:fc,multiplyMatrices:At}),vy=(function(){function e(){ft(this,e);}return vt(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),zr=new vy,Dr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},gr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Xo(e){return Array.isArray(e)?e:gr[e]}function ui(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Xo(e),t=Xo(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(zr.run("chromatic-adaptation-start",n),n.M||(n.W1===gr.D65&&n.W2===gr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===gr.D50&&n.W2===gr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),zr.run("chromatic-adaptation-end",n),n.M)return At(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var by=75e-6,vr=(Q=new WeakSet,ae=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,l;ft(this,e),za(this,Q),dr(this,ae,void 0),this.id=t.id,this.name=t.name,this.base=t.base?vr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=Xo(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&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Pt(ae,this,Rr(Q,this,yy).call(this).reverse()),zr.run("colorspace-init-end",this);}return vt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?by: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=ye(u.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(le(r)==="object")return r=Rr(Q,this,pc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Rr(Q,this,pc).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=vr.get(r),this===r)return a;a=a.map(function(h){return Number.isNaN(h)?0:h});for(var i=zt(ae,this),o=zt(ae,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=vr.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 Ce(new Set(Object.values(vr.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=Je(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 vr)return r;var a=$r(r);if(a==="string"){var n=vr.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 vr.get.apply(vr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=$r(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),l=ye(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=ye(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=vr.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=$r(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Fe({space:i,id:c[0],index:o},c[1])}i=vr.get(i);var d=o.toLowerCase(),h=0;for(var x in i.coords){var k,I=i.coords[x];if(x.toLowerCase()===d||((k=I.name)===null||k===void 0?void 0:k.toLowerCase())===d)return Fe({space:i,id:x,index:h},I);h++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function pc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=fc(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=ye(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=Uo(s,l,n)),n=si(n,a),u&&(n+=u),n})};}return e}function yy(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Oe=vr;vu(Oe,"registry",{}),vu(Oe,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ir=new Oe({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"]}),Xt=(function(e){function t(r){var a,n;if(ft(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=ir),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=At(r.toXYZ_M,s);return n.white!==n.base.white&&(l=ui(n.white,n.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=ui(n.base.white,n.white,s),At(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=se(this,t,[r])}return Ie(t,e),vt(t)})(Oe);function mc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(zr.run("parse-start",r),r.color)return r.color;if(r.parsed=uc(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=Je(Oe.all),s;try{var l=function(){var we=s.value,oe=we.getFormat("color");if(oe){var pe;if(n===oe.id||(pe=oe.ids)!==null&&pe!==void 0&&pe.includes(n)){var be=Object.keys(we.coords).length,xe=Array(be).fill(0);return xe.forEach(function(Me,Ve){return xe[Ve]=r.parsed.args[Ve]||0}),{v:{spaceId:we.id,coords:xe,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(ue){o.e(ue);}finally{o.f();}var c="";if(n in Oe.registry){var d,h=(d=Oe.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 x=Je(Oe.all),k;try{var I=function(){var we=k.value,oe=we.getFormat(a);if(oe&&oe.type==="function"){var pe=1;(oe.lastAlpha||cc(r.parsed.args).alpha)&&(pe=r.parsed.args.pop());var be=r.parsed.args;return oe.coordGrammar&&Object.entries(we.coords).forEach(function(xe,Me){var Ve,Se=ye(xe,2),Ne=Se[0],ge=Se[1],Le=oe.coordGrammar[Me],J=(Ve=be[Me])===null||Ve===void 0?void 0:Ve.type;if(Le=Le.find(function(Be){return Be==J}),!Le){var De=ge.name||Ne;throw new TypeError("".concat(J," not allowed for ").concat(De," in ").concat(a,"()"))}var de=Le.range;J==="<percentage>"&&(de||(de=[0,1]));var Ae=ge.range||ge.refRange;de&&Ae&&(be[Me]=Uo(de,Ae,be[Me]));}),{v:{spaceId:we.id,coords:be,alpha:pe}}}},M;for(x.s();!(k=x.n()).done;)if(M=I(),M)return M.v}catch(ue){x.e(ue);}finally{x.f();}}}else {var O=Je(Oe.all),q;try{for(O.s();!(q=O.n()).done;){var G=q.value;for(var W in G.formats){var Y=G.formats[W];if(Y.type==="custom"&&!(Y.test&&!Y.test(r.str))){var ee=Y.parse(r.str);if(ee){var ie;return (ie=ee.alpha)!==null&&ie!==void 0||(ee.alpha=1),ee}}}}}catch(ue){O.e(ue);}finally{O.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function rt(e){if(!e)throw new TypeError("Empty color reference");en(e)&&(e=mc(e));var t=e.space||e.spaceId;return t instanceof Oe||(e.space=Oe.get(t)),e.alpha===void 0&&(e.alpha=1),e}function tn(e,t){return t=Oe.get(t),t.from(e)}function or(e,t){var r=Oe.resolveCoord(t,e.space),a=r.space,n=r.index,i=tn(e,a);return i[n]}function hc(e,t,r){return t=Oe.get(t),e.coords=t.to(e.space,r),e}function Gr(e,t,r){if(e=rt(e),arguments.length===2&&$r(arguments[1])==="object"){var a=arguments[1];for(var n in a)Gr(e,n,a[n]);}else {typeof r=="function"&&(r=r(or(e,t)));var i=Oe.resolveCoord(t,e.space),o=i.space,s=i.index,l=tn(e,o);l[s]=r,hc(e,o,l);}return e}var Yo=new Oe({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ir,fromBase:function(t){return ui(ir.white,"D50",t)},toBase:function(t){return ui("D50",ir.white,t)},formats:{color:{}}}),wy=216/24389,gc=24/116,ci=24389/27,Ko=gr.D50,Kt=new Oe({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ko,base:Yo,fromBase:function(t){var r=t.map(function(n,i){return n/Ko[i]}),a=r.map(function(n){return n>wy?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]>gc?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]>gc?Math.pow(r[2],3):(116*r[2]-16)/ci];return a.map(function(n,i){return n*Ko[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function di(e){return (e%360+360)%360}function xy(e,t){if(e==="raw")return t;var r=t.map(di),a=ye(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var rn=new Oe({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Kt,fromBase:function(t){var r=ye(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)),di(o)]},toBase:function(t){var r=ye(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>"]}}}),vc=Math.pow(25,7),fi=Math.PI,bc=180/fi,Aa=fi/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=Kt.from(e),c=ye(u,3),d=c[0],h=c[1],x=c[2],k=rn.from(Kt,[d,h,x])[1],I=Kt.from(t),M=ye(I,3),O=M[0],q=M[1],G=M[2],W=rn.from(Kt,[O,q,G])[1];k<0&&(k=0),W<0&&(W=0);var Y=(k+W)/2,ee=Math.pow(Y,7),ie=.5*(1-Math.sqrt(ee/(ee+vc))),ue=(1+ie)*h,we=(1+ie)*q,oe=Math.sqrt(Math.pow(ue,2)+Math.pow(x,2)),pe=Math.sqrt(Math.pow(we,2)+Math.pow(G,2)),be=ue===0&&x===0?0:Math.atan2(x,ue),xe=we===0&&G===0?0:Math.atan2(G,we);be<0&&(be+=2*fi),xe<0&&(xe+=2*fi),be*=bc,xe*=bc;var Me=O-d,Ve=pe-oe,Se=xe-be,Ne=be+xe,ge=Math.abs(Se),Le;oe*pe===0?Le=0:ge<=180?Le=Se:Se>180?Le=Se-360:Se<-180?Le=Se+360:console.log("the unthinkable has happened");var J=2*Math.sqrt(pe*oe)*Math.sin(Le*Aa/2),De=(d+O)/2,de=(oe+pe)/2,Ae=Math.pow(de,7),Be;oe*pe===0?Be=Ne:ge<=180?Be=Ne/2:Ne<360?Be=(Ne+360)/2:Be=(Ne-360)/2;var Ee=Math.pow(De-50,2),Re=1+.015*Ee/Math.sqrt(20+Ee),Ke=1+.045*de,at=1;at-=.17*Math.cos((Be-30)*Aa),at+=.24*Math.cos(2*Be*Aa),at+=.32*Math.cos((3*Be+6)*Aa),at-=.2*Math.cos((4*Be-63)*Aa);var st=1+.015*de*at,wt=30*Math.exp(-1*Math.pow((Be-275)/25,2)),Ct=2*Math.sqrt(Ae/(Ae+vc)),Et=-1*Math.sin(2*wt*Aa)*Ct,ct=Math.pow(Me/(n*Re),2);return ct+=Math.pow(Ve/(o*Ke),2),ct+=Math.pow(J/(l*st),2),ct+=Et*(Ve/(o*Ke))*(J/(l*st)),Math.sqrt(ct)}var Dy=75e-6;function an(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?Dy:a;e=rt(e),t=Oe.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function nn(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Wr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?Dr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(en(arguments[1])&&(i=arguments[1]),i=Oe.get(i),an(e,i,{epsilon:0}))return e;var o=sr(e,i);if(a!=="clip"&&!an(e,i)){var s=Wr(nn(o),{method:"clip",space:i});if(Jo(e,s)>2){for(var l=Oe.resolveCoord(a),u=l.space,c=l.id,d=sr(o,u),h=l.range||l.refRange,x=h[0],k=.01,I=x,M=or(d,c);M-I>k;){var O=nn(d);O=Wr(O,{space:i,method:"clip"});var q=Jo(d,O);q-2<k?I=or(d,c):M=or(d,c),Gr(d,c,(I+M)/2);}o=sr(d,i);}else o=s;}if(a==="clip"||!an(o,i,{epsilon:0})){var G=Object.values(i.coords).map(function(W){return W.range||[]});o.coords=o.coords.map(function(W,Y){var ee=ye(G[Y],2),ie=ee[0],ue=ee[1];return ie!==void 0&&(W=Math.max(ie,W)),ue!==void 0&&(W=Math.min(W,ue)),W});}return i!==e.space&&(o=sr(o,e.space)),e.coords=o.coords,e}Wr.returns="color";function sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=rt(e),t=Oe.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Wr(i)),i}sr.returns="color";function pi(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?Dr.precision:n,o=a.format,s=o===void 0?"default":o,l=a.inGamut,u=l===void 0?true:l,c=re(a,y),d;e=rt(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:Oe.DEFAULT_FORMAT,u||(u=s.toGamut);var x=e.coords;if(x=x.map(function(W){return W||0}),u&&!an(e)&&(x=Wr(nn(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(x,e.alpha,c);else throw new TypeError("format ".concat(h," can only be used to parse colors, not for serialization"));else {var k=s.name||"color";s.serializeCoords?x=s.serializeCoords(x,i):i!==null&&(x=x.map(function(W){return si(W,i)}));var I=Ce(x);if(k==="color"){var M,O=s.id||((M=s.ids)===null||M===void 0?void 0:M[0])||e.space.id;I.unshift(O);}var q=e.alpha;i!==null&&(q=si(q,i));var G=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(q):"";d="".concat(k,"(").concat(I.join(s.commas?", ":" ")).concat(G,")");}return d}var Ay=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],_y=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],mi=new Xt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Ay,fromXYZ_M:_y,formats:{color:{}}}),hi=1.09929682680944,yc=.018053968510807,wc=new Xt({id:"rec2020",name:"REC.2020",base:mi,toBase:function(t){return t.map(function(r){return r<yc*4.5?r/4.5:Math.pow((r+hi-1)/hi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=yc?hi*Math.pow(r,.45)-(hi-1):4.5*r})},formats:{color:{}}}),Ey=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Cy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],xc=new Xt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:Ey,fromXYZ_M:Cy}),Sy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],ky=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Dc=new Xt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Sy,fromXYZ_M:ky,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]},_c=Array(3).fill("<percentage> | <number>[0, 255]"),Ec=Array(3).fill("<number>[0, 255]"),on=new Xt({id:"srgb",name:"sRGB",base:Dc,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:_c},rgb_number:{name:"rgb",commas:true,coords:Ec,noAlpha:true},color:{},rgba:{coords:_c,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Ec},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=Ac.black,r.alpha=0):r.coords=Ac[t],r.coords)return r}}}}),Cc=new Xt({id:"p3",name:"P3",base:xc,fromBase:on.fromBase,toBase:on.toBase,formats:{color:{id:"display-p3"}}});if(Dr.display_space=on,typeof CSS<"u"&&(he=CSS)!==null&&he!==void 0&&he.supports)for(var Zo=0,Sc=[Kt,wc,Cc];Zo<Sc.length;Zo++){var Qo=Sc[Zo],Ty=Qo.getMinCoords(),Fy={space:Qo,coords:Ty,alpha:1},Ry=pi(Fy);if(CSS.supports("color",Ry)){Dr.display_space=Qo;break}}function Iy(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?Dr.display_space:a,i=re(r,b),o=pi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Dr.display_space)o=new String(o),o.color=e;else {var s=sr(e,n);o=new String(pi(s,i)),o.color=s;}return o}function kc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Oe.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 Ly(e,t){return e=rt(e),t=rt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Ur(e){return or(e,[ir,"y"])}function Tc(e,t){Gr(e,[ir,"y"],t);}function My(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Ur(this)},set:function(r){Tc(this,r);}});}var Py=Object.freeze({__proto__:null,getLuminance:Ur,setLuminance:Tc,register:My});function Oy(e,t){e=rt(e),t=rt(t);var r=Math.max(Ur(e),0),a=Math.max(Ur(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var Ny=.56,qy=.57,By=.62,Hy=.65,Fc=.022,Vy=1.414,jy=.1,$y=5e-4,zy=1.14,Rc=.027,Gy=1.14;function Ic(e){return e>=Fc?e:e+Math.pow(Fc-e,Vy)}function _a(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Wy(e,t){t=rt(t),e=rt(e);var r,a,n,i,o,s;t=sr(t,"srgb");var l=ye(t.coords,3);i=l[0],o=l[1],s=l[2];var u=_a(i)*.2126729+_a(o)*.7151522+_a(s)*.072175;e=sr(e,"srgb");var c=ye(e.coords,3);i=c[0],o=c[1],s=c[2];var d=_a(i)*.2126729+_a(o)*.7151522+_a(s)*.072175,h=Ic(u),x=Ic(d),k=x>h;return Math.abs(x-h)<$y?a=0:k?(r=Math.pow(x,Ny)-Math.pow(h,qy),a=r*zy):(r=Math.pow(x,Hy)-Math.pow(h,By),a=r*Gy),Math.abs(a)<jy?n=0:a>0?n=a-Rc:n=a+Rc,n*100}function Uy(e,t){e=rt(e),t=rt(t);var r=Math.max(Ur(e),0),a=Math.max(Ur(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 Xy=5e4;function Yy(e,t){e=rt(e),t=rt(t);var r=Math.max(Ur(e),0),a=Math.max(Ur(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?Xy:(r-a)/a}function Ky(e,t){e=rt(e),t=rt(t);var r=or(e,[Kt,"l"]),a=or(t,[Kt,"l"]);return Math.abs(r-a)}var Jy=216/24389,Lc=24/116,gi=24389/27,es=gr.D65,ts=new Oe({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:es,base:ir,fromBase:function(t){var r=t.map(function(n,i){return n/es[i]}),a=r.map(function(n){return n>Jy?Math.cbrt(n):(gi*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]>Lc?Math.pow(r[0],3):(116*r[0]-16)/gi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/gi,r[2]>Lc?Math.pow(r[2],3):(116*r[2]-16)/gi];return a.map(function(n,i){return n*es[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),rs=Math.pow(5,.5)*.5+.5;function Zy(e,t){e=rt(e),t=rt(t);var r=or(e,[ts,"l"]),a=or(t,[ts,"l"]),n=Math.abs(Math.pow(r,rs)-Math.pow(a,rs)),i=Math.pow(n,1/rs)*Math.SQRT2-40;return i<7.5?0:i}var vi=Object.freeze({__proto__:null,contrastWCAG21:Oy,contrastAPCA:Wy,contrastMichelson:Uy,contrastWeber:Yy,contrastLstar:Ky,contrastDeltaPhi:Zy});function Qy(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};en(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=re(a,A);if(!n){var o=Object.keys(vi).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=rt(e),t=rt(t);for(var s in vi)if("contrast"+n.toLowerCase()===s.toLowerCase())return vi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Mc(e){var t=tn(e,ir),r=ye(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 Pc(e){var t=tn(e,ir),r=ye(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function e0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Mc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Pc(this)}});}var t0=Object.freeze({__proto__:null,uv:Mc,xy:Pc,register:e0});function r0(e,t){return kc(e,t,"lab")}var a0=Math.PI,Oc=a0/180;function n0(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=Kt.from(e),l=ye(s,3),u=l[0],c=l[1],d=l[2],h=rn.from(Kt,[u,c,d]),x=ye(h,3),k=x[1],I=x[2],M=Kt.from(t),O=ye(M,3),q=O[0],G=O[1],W=O[2],Y=rn.from(Kt,[q,G,W])[1];k<0&&(k=0),Y<0&&(Y=0);var ee=u-q,ie=k-Y,ue=c-G,we=d-W,oe=Math.pow(ue,2)+Math.pow(we,2)-Math.pow(ie,2),pe=.511;u>=16&&(pe=.040975*u/(1+.01765*u));var be=.0638*k/(1+.0131*k)+.638,xe;Number.isNaN(I)&&(I=0),I>=164&&I<=345?xe=.56+Math.abs(.2*Math.cos((I+168)*Oc)):xe=.36+Math.abs(.4*Math.cos((I+35)*Oc));var Me=Math.pow(k,4),Ve=Math.sqrt(Me/(Me+1900)),Se=be*(Ve*xe+1-Ve),Ne=Math.pow(ee/(n*pe),2);return Ne+=Math.pow(ie/(o*be),2),Ne+=oe/Math.pow(Se,2),Math.sqrt(Ne)}var Nc=203,as=new Oe({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:ir,fromBase:function(t){return t.map(function(r){return Math.max(r*Nc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Nc,0)})}}),bi=1.15,yi=.66,qc=2610/Math.pow(2,14),i0=Math.pow(2,14)/2610,Bc=3424/Math.pow(2,12),Hc=2413/Math.pow(2,7),Vc=2392/Math.pow(2,7),o0=1.7*2523/Math.pow(2,5),jc=Math.pow(2,5)/(1.7*2523),wi=-0.56,ns=16295499532821565e-27,s0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],l0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],u0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],c0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],$c=new Oe({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:as,fromBase:function(t){var r=ye(t,3),a=r[0],n=r[1],i=r[2],o=bi*a-(bi-1)*i,s=yi*n-(yi-1)*a,l=At(s0,[o,s,i]),u=l.map(function(M){var O=Bc+Hc*Math.pow(M/1e4,qc),q=1+Vc*Math.pow(M/1e4,qc);return Math.pow(O/q,o0)}),c=At(u0,u),d=ye(c,3),h=d[0],x=d[1],k=d[2],I=(1+wi)*h/(1+wi*h)-ns;return [I,x,k]},toBase:function(t){var r=ye(t,3),a=r[0],n=r[1],i=r[2],o=(a+ns)/(1+wi-wi*(a+ns)),s=At(c0,[o,n,i]),l=s.map(function(M){var O=Bc-Math.pow(M,jc),q=Vc*Math.pow(M,jc)-Hc,G=1e4*Math.pow(O/q,i0);return G}),u=At(l0,l),c=ye(u,3),d=c[0],h=c[1],x=c[2],k=(d+(bi-1)*x)/bi,I=(h+(yi-1)*k)/yi;return [k,I,x]},formats:{color:{}}}),is=new Oe({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:$c,fromBase:function(t){var r=ye(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)),di(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 d0(e,t){var r=is.from(e),a=ye(r,3),n=a[0],i=a[1],o=a[2],s=is.from(t),l=ye(s,3),u=l[0],c=l[1],d=l[2],h=n-u,x=i-c;Number.isNaN(o)&&Number.isNaN(d)?(o=0,d=0):Number.isNaN(o)?o=d:Number.isNaN(d)&&(d=o);var k=o-d,I=2*Math.sqrt(i*c)*Math.sin(k/2*(Math.PI/180));return Math.sqrt(Math.pow(h,2)+Math.pow(x,2)+Math.pow(I,2))}var zc=3424/4096,Gc=2413/128,Wc=2392/128,Uc=2610/16384,f0=2523/32,p0=16384/2610,Xc=32/2523,m0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],h0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],g0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],v0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],os=new Oe({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:as,fromBase:function(t){var r=At(m0,t);return b0(r)},toBase:function(t){var r=y0(t);return At(v0,r)},formats:{color:{}}});function b0(e){var t=e.map(function(r){var a=zc+Gc*Math.pow(r/1e4,Uc),n=1+Wc*Math.pow(r/1e4,Uc);return Math.pow(a/n,f0)});return At(h0,t)}function y0(e){var t=At(g0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,Xc)-zc,0),i=Gc-Wc*Math.pow(a,Xc);return 1e4*Math.pow(n/i,p0)});return r}function w0(e,t){var r=os.from(e),a=ye(r,3),n=a[0],i=a[1],o=a[2],s=os.from(t),l=ye(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 x0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],D0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],A0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],_0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],xi=new Oe({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:ir,fromBase:function(t){var r=At(x0,t),a=r.map(function(n){return Math.cbrt(n)});return At(A0,a)},toBase:function(t){var r=At(_0,t),a=r.map(function(n){return Math.pow(n,3)});return At(D0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function E0(e,t){var r=xi.from(e),a=ye(r,3),n=a[0],i=a[1],o=a[2],s=xi.from(t),l=ye(s,3),u=l[0],c=l[1],d=l[2],h=n-u,x=i-c,k=o-d;return Math.sqrt(Math.pow(h,2)+Math.pow(x,2)+Math.pow(k,2))}var ss=Object.freeze({__proto__:null,deltaE76:r0,deltaECMC:n0,deltaE2000:Jo,deltaEJz:d0,deltaEITP:w0,deltaEOK:E0});function sn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};en(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?Dr.deltaE:n,o=re(a,R);e=rt(e),t=rt(t);for(var s in ss)if("deltae"+i.toLowerCase()===s.toLowerCase())return ss[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function C0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Oe.get("oklch","lch"),a=[r,"l"];return Gr(e,a,function(n){return n*(1+t)})}function S0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Oe.get("oklch","lch"),a=[r,"l"];return Gr(e,a,function(n){return n*(1-t)})}var k0=Object.freeze({__proto__:null,lighten:C0,darken:S0});function Yc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[rt(e),rt(t)];if(e=n[0],t=n[1],$r(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,l=o.outputSpace,u=o.premultiplied,c=ln(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function Kc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(ls(e)){a=e,r=t;var n=ye(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,h=re(i,S);if(!a){var x=[rt(e),rt(t)];e=x[0],t=x[1],a=ln(e,t,h);}var k=sn(e,t),I=o>0?Math.max(u,Math.ceil(k/o)+1):u,M=[];if(d!==void 0&&(I=Math.min(I,d)),I===1)M=[{p:.5,color:a(.5)}];else {var O=1/(I-1);M=Array.from({length:I},function(ue,we){var oe=we*O;return {p:oe,color:a(oe)}});}if(o>0)for(var q=M.reduce(function(ue,we,oe){if(oe===0)return 0;var pe=sn(we.color,M[oe-1].color,s);return Math.max(ue,pe)},0);q>o;){q=0;for(var G=1;G<M.length&&M.length<d;G++){var W=M[G-1],Y=M[G],ee=(Y.p+W.p)/2,ie=a(ee);q=Math.max(q,sn(ie,W.color),sn(ie,Y.color)),M.splice(G,0,{p:ee,color:a(ee)}),G++;}}return M=M.map(function(ue){return ue.color}),M}function ln(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ls(e)){var a=e,n=t;return ln.apply(void 0,Ce(a.rangeArgs.colors).concat([Fe({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=rt(e),t=rt(t),e=nn(e),t=nn(t);var u={colors:[e,t],options:r};if(i?i=Oe.get(i):i=Oe.registry[Dr.interpolationSpace]||e.space,o=o?Oe.get(o):i,e=sr(e,i),t=sr(t,i),e=Wr(e),t=Wr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],h=[or(e,d),or(t,d)],x=h[0],k=h[1],I=xy(c,[x,k]),M=ye(I,2);x=M[0],k=M[1],Gr(e,d,x),Gr(t,d,k);}return l&&(e.coords=e.coords.map(function(O){return O*e.alpha}),t.coords=t.coords.map(function(O){return O*t.alpha})),Object.assign(function(O){O=s?s(O):O;var q=e.coords.map(function(Y,ee){var ie=t.coords[ee];return li(Y,ie,O)}),G=li(e.alpha,t.alpha,O),W={space:i,coords:q,alpha:G};return l&&(W.coords=W.coords.map(function(Y){return Y/G})),o!==i&&(W=sr(W,o)),W},{rangeArgs:u})}function ls(e){return $r(e)==="function"&&!!e.rangeArgs}Dr.interpolationSpace="lab";function T0(e){e.defineFunction("mix",Yc,{returns:"color"}),e.defineFunction("range",ln,{returns:"function<color>"}),e.defineFunction("steps",Kc,{returns:"array<color>"});}var F0=Object.freeze({__proto__:null,mix:Yc,steps:Kc,range:ln,isRange:ls,register:T0}),Jc=new Oe({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:on,fromBase:function(t){var r=Math.max.apply(Math,Ce(t)),a=Math.min.apply(Math,Ce(t)),n=ye(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=ye(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}}}),Zc=new Oe({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:Jc,fromBase:function(t){var r=ye(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=ye(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}}}),R0=new Oe({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:Zc,fromBase:function(t){var r=ye(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=ye(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>"]}}}),I0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],L0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Qc=new Xt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:I0,fromXYZ_M:L0}),M0=new Xt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Qc,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"}}}),P0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],O0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],ed=new Xt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Yo,toXYZ_M:P0,fromXYZ_M:O0}),N0=1/512,q0=16/512,B0=new Xt({id:"prophoto",name:"ProPhoto",base:ed,toBase:function(t){return t.map(function(r){return r<q0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=N0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),H0=new Oe({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:xi,fromBase:function(t){var r=ye(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)),di(o)]},toBase:function(t){var r=ye(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>"]}}}),td=203,rd=2610/Math.pow(2,14),V0=Math.pow(2,14)/2610,j0=2523/Math.pow(2,5),ad=Math.pow(2,5)/2523,nd=3424/Math.pow(2,12),id=2413/Math.pow(2,7),od=2392/Math.pow(2,7),$0=new Xt({id:"rec2100pq",name:"REC.2100-PQ",base:mi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,ad)-nd,0)/(id-od*Math.pow(r,ad)),V0);return a*1e4/td})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*td/1e4,0),n=nd+id*Math.pow(a,rd),i=1+od*Math.pow(a,rd);return Math.pow(n/i,j0)})},formats:{color:{id:"rec2100-pq"}}}),sd=.17883277,ld=.28466892,ud=.55991073,us=3.7743,z0=new Xt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:mi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*us:Math.exp((r-ud)/sd+ld)/12*us})},fromBase:function(t){return t.map(function(r){return r/=us,r<=1/12?Math.sqrt(3*r):sd*Math.log(12*r-ld)+ud})},formats:{color:{id:"rec2100-hlg"}}}),cd={};zr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=dd(e.W1,e.W2,e.options.method));}),zr.add("chromatic-adaptation-end",function(e){e.M||(e.M=dd(e.W1,e.W2,e.options.method));});function Di(e){var t=e.id;e.toCone_M;e.fromCone_M;cd[t]=arguments[0];}function dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=cd[r],n=At(a.toCone_M,e),i=ye(n,3),o=i[0],s=i[1],l=i[2],u=At(a.toCone_M,t),c=ye(u,3),d=c[0],h=c[1],x=c[2],k=[[d/o,0,0],[0,h/s,0],[0,0,x/l]],I=At(k,a.toCone_M),M=At(a.fromCone_M,I);return M}Di({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]]}),Di({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]]}),Di({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]]}),Di({id:"CAT16",toCone_M:[[.401288,.650173,-0.051461],[-0.250268,1.204414,.045854],[-2079e-6,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-0.008973985167612518],[-0.01584149884933386,-0.03412293802851557,1.04996443687785]]}),Object.assign(gr,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),gr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var G0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],W0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],fd=new Xt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:gr.ACES,toXYZ_M:G0,fromXYZ_M:W0,formats:{color:{}}}),Ai=Math.pow(2,-16),cs=-0.35828683,_i=(Math.log2(65504)+9.72)/17.52,U0=new Xt({id:"acescc",name:"ACEScc",coords:{r:{range:[cs,_i],name:"Red"},g:{range:[cs,_i],name:"Green"},b:{range:[cs,_i],name:"Blue"}},referred:"scene",base:fd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Ai)*2:a<_i?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ai)+9.72)/17.52:r<Ai?(Math.log2(Ai+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),pd=Object.freeze({__proto__:null,XYZ_D65:ir,XYZ_D50:Yo,XYZ_ABS_D65:as,Lab_D65:ts,Lab:Kt,LCH:rn,sRGB_Linear:Dc,sRGB:on,HSL:Jc,HWB:R0,HSV:Zc,P3_Linear:xc,P3:Cc,A98RGB_Linear:Qc,A98RGB:M0,ProPhoto_Linear:ed,ProPhoto:B0,REC_2020_Linear:mi,REC_2020:wc,OKLab:xi,OKLCH:H0,Jzazbz:$c,JzCzHz:is,ICTCP:os,REC_2100_PQ:$0,REC_2100_HLG:z0,ACEScg:fd,ACEScc:U0}),ot=(_e=new WeakMap,(function(){function e(){var t=this;ft(this,e),dr(this,_e,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=rt(n[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=n[0],s=n[1],l=n[2]),Pt(_e,this,Oe.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(x){Object.defineProperty(t,x,{get:function(){return t.get(x)},set:function(I){return t.set(x,I)}});};for(var d in zt(_e,this).coords)c(d);}return vt(e,[{key:"space",get:function(){return zt(_e,this)}},{key:"spaceId",get:function(){return zt(_e,this).id}},{key:"clone",value:function(){return new ot(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=Iy.apply(void 0,[this].concat(a));return i.color=new ot(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ot)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return ne(ot,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,s=n.returns,l=function(){var c=a.apply(void 0,arguments);if(s==="color")c=ot.get(c);else if(s==="function<color>"){var d=c;c=function(){var x=d.apply(void 0,arguments);return ot.get(x)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(h){return ot.get(h)}));return c};r in ot||(ot[r]=l),o&&(ot.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)ot.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(ot);else for(var a in r)ot.defineFunction(a,r[a]);}}])})());ot.defineFunctions({get:or,getAll:tn,set:Gr,setAll:hc,to:sr,equals:Ly,inGamut:an,toGamut:Wr,distance:kc,toString:pi}),Object.assign(ot,{util:gy,hooks:zr,WHITES:gr,Space:Oe,spaces:Oe.registry,parse:mc,defaults:Dr});for(var ds=0,md=Object.keys(pd);ds<md.length;ds++){var X0=md[ds];Oe.register(pd[X0]);}for(var hd in Oe.registry)fs(hd,Oe.registry[hd]);zr.add("colorspace-init-end",function(e){var t;fs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){fs(r,e);});});function fs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(ot.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Oe.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&le(l)!=="symbol"&&!(l in s)){var c=Oe.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&&le(l)!=="symbol"&&!(l in s)||l>=0){var d=Oe.resolveCoord([t,l]),h=d.index;if(h>=0)return s[h]=u,n.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}ot.extend(ss),ot.extend({deltaE:sn}),ot.extend(k0),ot.extend({contrast:Qy}),ot.extend(t0),ot.extend(Py),ot.extend(F0),ot.extend(vi);var gd=wr(Hu());jr.default.templateSettings.strip=false,g._memoizedFns=[];function Y0(e){var t=(0, lc.default)(e);return g._memoizedFns.push(t),t}var lt=Y0,K0=lt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),un=K0;function ps(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||m;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return "";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode();}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var J0=["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"],Z0=31,Q0=/([\\"])/g,ew=/(\r\n|\r|\n)/g;function ms(e){return e.replace(Q0,"\\$1").replace(ew,"\\a ")}function vd(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=ic(e.getAttribute(r));n?a=yt(t.name)+'$="'+ms(n)+'"':a=yt(t.name)+'="'+ms(e.getAttribute(r))+'"';}else a=yt(r)+'="'+ms(t.value)+'"';return a}function hs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function bd(e){return !J0.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Z0)}function Ei(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=yt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(Qa(s)).filter(bd).forEach(function(u){var c=vd(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 tw(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=yt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(hs)}function rw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&Da(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function aw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+yt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function yd(e){var t=un(m);return yt(t?e.localName:e.nodeName.toLowerCase())}function nw(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(Qa(e)).filter(bd).forEach(function(i){var o=vd(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(hs)}function iw(e,t){var r="",a,n=tw(e,t),i=nw(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=yd(e)):(a=n.concat(i),a.sort(hs),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=yd(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 ow(e,t,r){if(!g._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=aw(e);s||(s=iw(e,g._selectorData),s+=rw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>ze.selectorSimilarFilterLimit?o=lw(r,i):o=o.filter(function(l){return Da(l,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function sw(e,t){return ps(ow,e,t)}var gs=lt(sw),lw=lt(function(e,t){return Array.from(e.querySelectorAll(t))});function wd(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?wd(r)+" > "+t+n:t+n}function Ci(e,t){return ps(wd,e,t)}function xd(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=xd(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&yt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function uw(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 cw(e){var t=xd(e);return uw(t)}var Dd=cw,cn={},dw={set:function(t,r){fw(t),cn[t]=r;},get:function(t,r){if(pw(r),t in cn)return cn[t];if(typeof r=="function"){var a=r();return Qe(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),cn[t]}},clear:function(){cn={};}};function fw(e){Qe(typeof e=="string","key must be a string, "+le(e)+" given"),Qe(e!=="","key must not be empty");}function pw(e){Qe(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+le(e)+" given");}var $e=dw;function mw(e,t){var r=t||e;return $e.get("nodeMap")?$e.get("nodeMap").get(r):null}var We=mw;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 vs(s,a)}var l=hw(e);return l.length>a?gw(e,{maxLength:a,attrLimit:i}):l}function hw(e){var t=e.outerHTML;return !t&&typeof f.XMLSerializer=="function"&&(t=new f.XMLSerializer().serializeToString(e)),t||""}function gw(e,t){var r=t.maxLength,a=t.attrLimit,n=un(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Qa(e)).map(function(k){var I=k.name,M=k.value;return {name:I,value:M}}),o=i.reduce(function(k,I){var M=I.name,O=I.value;return k+M.length+O.length+4},0);2+n.length+o>r&&i.forEach(function(k){k.name=vs(k.name,a),k.value=vs(k.value,a);});var s="<".concat(n),l=">",u=" ...>",c=Je(i),d;try{for(c.s();!(d=c.n()).done;){var h=d.value,x=" ".concat(h.name,'="').concat(h.value,'"');if(s.length+x.length>r-u.length){l=u;continue}s+=x;}}catch(k){c.e(k);}finally{c.f();}return s+l}function vs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var _d="DqElm.RunOptions",da=lt(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=$e.get(_d))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Rt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=We(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,!g._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Ad(this._element);}return this});da.prototype={get selector(){return this.spec.selector||[gs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ci(this.element)]},get xpath(){return this.spec.xpath||[Dd(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},da.fromFrame=function(t,r,a){var n=da.mergeSpecs(t,a);return new da(a.element,r,n)},da.mergeSpecs=function(t,r){return Fe({},t,{selector:[].concat(Ce(r.selector),Ce(t.selector)),ancestry:[].concat(Ce(r.ancestry),Ce(t.ancestry)),xpath:[].concat(Ce(r.xpath),Ce(t.xpath)),nodeIndexes:[].concat(Ce(r.nodeIndexes),Ce(t.nodeIndexes)),fromFrame:true})},da.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;$e.set(_d,{elementRef:r,absolutePaths:a});};var lr=da;function vw(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){f.Node&&(i instanceof f.Node||i instanceof Rt?i=[i]:i=nc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Rt&&(o=o.actualNode),o instanceof f.Node){var s=new lr(o);e.relatedNodes.push(s);}}));}}}var bs=vw;function Mr(e){return ys(e,new Map)}function ys(e,t){var r,a;if(e===null||le(e)!=="object"||(r=f)!==null&&r!==void 0&&r.Node&&e instanceof f.Node||(a=f)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof f.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(s){n.push(ys(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ys(e[o],t);return i}var dn=new sc.CssSelectorParser;dn.registerSelectorPseudos("not"),dn.registerSelectorPseudos("is"),dn.registerNestingOperators(">"),dn.registerAttrEqualityMods("^","$","*","~");var Ed=dn;function ws(e,t){var r=Si(t);return r.some(function(a){return Ea(e,a)})}function bw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function yw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function ww(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function xw(e,t){return !t.id||e.props.id===t.id}function Dw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Ea(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Ea(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Cd(e,t){return bw(e,t)&&yw(e,t)&&ww(e,t)&&xw(e,t)&&Dw(e,t)}var fn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),xs=/\\/g;function Aw(e){if(e)return e.map(function(t){var r=t.name.replace(xs,""),a=(t.value||"").replace(xs,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+fn(a));break;case "$=":i=new RegExp(fn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+fn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+fn(a)+"(-|$)");break;case "=":n=function(s){return a===s};break;case "*=":n=function(s){return s&&s.includes(a)};break;case "!=":n=function(s){return a!==s};break;default:n=function(s){return s!==null};}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return false}),n||(n=function(s){return s&&i.test(s)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function _w(e){if(e)return e.map(function(t){return t=t.replace(xs,""),{value:t,regexp:new RegExp("(^|\\s)"+fn(t)+"(\\s|$)")}})}function Ew(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=Sd(r)),{name:t.name,expressions:r,value:t.value}})}function Sd(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:Aw(a.attrs),classes:_w(a.classNames),pseudos:Ew(a.pseudos)}),a=a.rule;return r})}function Si(e){var t=Ed.parse(e);return t=t.selectors?t.selectors:[t],Sd(t)}function kd(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=Cd(e,i);!o&&a&&e.parent;)e=e.parent,o=Cd(e,i);if(r>0){if([" ",">"].includes(i.combinator)===false)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&kd(e.parent,t,r-1,i.combinator===" ");}return o}function Ea(e,t,r){return kd(e,t,t.length-1,r)}function Cw(e,t){for(;e;){if(ws(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=Cw;function ki(){}function Ds(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Sw(){var e=[],t=0,r=0,a=ki,n=false,i,o=function(x){i=x,setTimeout(function(){i!=null&&ca("Uncaught error (of queue)",i);},1);},s=o;function l(h){return function(x){e[h]=x,r-=1,!r&&a!==ki&&(n=true,a(e));}}function u(h){return a=ki,s(h),e}function c(){for(var h=e.length;t<h;t++){var x=e[t];try{x.call(null,l(t),u);}catch(k){u(k);}}}var d={defer:function(x){if(le(x)==="object"&&x.then&&x.catch){var k=x;x=function(M,O){k.then(M).catch(O);};}if(Ds(x),i===void 0){if(n)throw new Error("Queue already completed");return e.push(x),++r,c(),d}},then:function(x){if(Ds(x),a!==ki)throw new Error("queue `then` already set");return i||(a=x,r||(n=true,a(e))),d},catch:function(x){if(Ds(x),s!==o)throw new Error("queue `catch` already set");return i?(x(i),i=null):s=x,d},abort:u};return d}var Ar=Sw,Ca,Sa,As=f.crypto||f.msCrypto;if(!Sa&&As&&As.getRandomValues){var Td=new Uint8Array(16);Sa=function(){return As.getRandomValues(Td),Td};}if(!Sa){var Fd=new Array(16);Sa=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Fd[t]=r>>>((t&3)<<3)&255;return Fd};}for(var Rd=typeof f.Buffer=="function"?f.Buffer:Array,_s=[],Id={},ka=0;ka<256;ka++)_s[ka]=(ka+256).toString(16).substr(1),Id[_s[ka]]=ka;function kw(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++]=Id[i]);});n<16;)t[a+n++]=0;return t}function Es(e,t){var r=t||0,a=_s;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 Xr=Sa(),Tw=[Xr[0]|1,Xr[1],Xr[2],Xr[3],Xr[4],Xr[5]],Ld=(Xr[6]<<8|Xr[7])&16383,Cs=0,Ss=0;function Md(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Ld,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Ss+1,l=o-Cs+(s-Ss)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Cs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Cs=o,Ss=s,Ld=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||Tw,h=0;h<6;h++)n[a+h]=d[h];return t||Es(n)}function fa(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Rd(16):null,e=null),e=e||{};var n=e.random||(e.rng||Sa)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Es(n)}Ca=fa,Ca.v1=Md,Ca.v4=fa,Ca.parse=kw,Ca.unparse=Es,Ca.BufferClass=Rd,g._uuid=Md();var Fw=fa,Rw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Iw(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:Pd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Lw(e){var t;try{t=JSON.parse(e);}catch{return}if(Mw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=le(t.error)==="object"?Pw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function Mw(e){return e!==null&&le(e)==="object"&&typeof e.channelId=="string"&&e.source===Pd()}function Pw(e){var t=e.message||"Unknown error occurred",r=Rw.includes(e.name)?e.name:"Error",a=f[r]||Error;return e.stack&&(t+=`
|
|
365
|
-
`+e.stack.replace(e.message,"")),new a(t)}function Pd(){var e="axeAPI",t="";return typeof g<"u"&&g._audit&&g._audit.application&&(e=g._audit.application),typeof g<"u"&&(t=g.version),e+"."+t}function ks(e){Nd(e),Qe(f.parent===e,"Source of the response must be the parent window.");}function Od(e){Nd(e),Qe(e.parent===f,"Respondable target must be a frame in the current window");}function Nd(e){Qe(f!==e,"Messages can not be sent to the same window.");}var pn={};function Ow(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Qe(!Object.prototype.hasOwnProperty.call(pn,e),"A replyHandler already exists for this message channel."),pn[e]={replyHandler:t,sendToParent:r};}function Nw(e){return Object.prototype.hasOwnProperty.call(pn,e)?pn[e]:void 0}function qw(e){delete pn[e];}var Ti=[];function Ts(){var e="".concat(fa(),":").concat(fa());return Ti.includes(e)?Ts():(Ti.push(e),e)}function Bw(e){return Ti.includes(e)?false:(Ti.push(e),true)}function Fs(e,t,r,a){if(r?ks(e):Od(e),t.message instanceof Error&&!r)return g.log(t.message),false;var n=Iw(Fe({messageId:Ts()},t)),i=g._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&Ow(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 Hw(e,t,r){if(!e.parent!==f)return g.log(t);try{Fs(e,{topic:null,channelId:r,message:t,messageId:Ts(),keepalive:!0},!0);}catch(a){return g.log(a)}}function qd(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};Fs(e,s,r,o);}}function Vw(e){var t=g._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function jw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Lw(a)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Vw(r)||!Bw(l))return;if(s instanceof Error&&n.parent!==f)return g.log(s),!1;try{if(i.topic){var u=qd(n,o);ks(n),t(i,u);}else $w(n,i);}catch(c){Hw(n,c,o);}}catch(c){return g.log(c),false}}function $w(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Nw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?ks(e):Od(e);var l=qd(e,r,s);!n&&r&&qw(r);try{o(a,n,l);}catch(u){g.log(u),l(u,n);}}}var zw={open:function(t){if(typeof f.addEventListener=="function"){var r=function(n){jw(n,t);};return f.addEventListener("message",r,false),function(){f.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof f.addEventListener!="function"?false:Fs(t,r,false,a)}};function Bd(e){e.updateMessenger(zw);}var Fi,Hd,Ri={};function br(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(fa(),":").concat(fa()),keepalive:a};return Hd(e,i,n)}function Gw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(Ri,r)?Ri[r]:void 0;if(i)try{i(a,n,t);}catch(o){g.log(o),t(o,n);}}br.updateMessenger=function(t){var r=t.open,a=t.post;Qe(typeof r=="function","open callback must be a function"),Qe(typeof a=="function","post callback must be a function"),Fi&&Fi();var n=r(Gw);n?(Qe(typeof n=="function","open callback must return a cleanup function"),Fi=n):Fi=null,Hd=a;},br.subscribe=function(t,r){Qe(typeof r=="function","Subscriber callback must be a function"),Qe(!Object.prototype.hasOwnProperty.call(Ri,t),"Topic ".concat(t," is already registered to.")),Ri[t]=r;},br.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f;return !!t.frameElement},Bd(br);function Vd(e,t,r,a){var n,i,o=e.contentWindow,s=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){ca("Frame does not have a content window",e),r(null);return}if(s===0){jd(e,t,r,a);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?a($d("No response from frame",e)):r(null);},0);},s);br(o,"axe.ping",null,void 0,function(){clearTimeout(l),jd(e,t,r,a);});}function jd(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($d("Axe in frame timed out",e));},o);br(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?a(u):r(u);});}function $d(e,t){var r;return g._tree&&(r=gs(t)),new Error(e+": "+(r||t))}var mn=null,hn={update:function(t){Qe(le(t)==="object","serializer must be an object"),mn=t;},toSpec:function(t){return hn.dqElmToSpec(new lr(t))},dqElmToSpec:function(t,r){var a;return t instanceof lr?(r&&(t=Ww(t,r)),typeof((a=mn)===null||a===void 0?void 0:a.toSpec)=="function"?mn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=mn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?mn.mergeSpecs(t,r):lr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Fe({},r,{nodes:hn.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=re(r,D);n.node=hn.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(l){var u=l.relatedNodes,c=re(l,T);return c.relatedNodes=u.map(hn.dqElmToSpec),c});}return n})}},ur=hn;function Ww(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new lr(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 Uw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Ii=Uw;function Xw(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&le(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var gn=Xw;function Yw(e,t,r){e.forEach(function(a){a.node=ur.mergeSpecs(a.node,r);var n=Ii(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return ur.mergeSpecs(o,r)});});});}function Kw(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=zd(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(Ce(t)));return}}e.push.apply(e,Ce(t));}function Jw(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Zw(e,t){var r=[];return e.forEach(function(a){var n=Jw(a);if(!(!n||!n.length)){var i=Qw(a);n.forEach(function(o){o.nodes&&i&&Yw(o.nodes,t,i);var s=gn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Kw(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 zd(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function zd(){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 Li=Zw;function Qw(e){return e.frameElement?ur.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Gd(e,t,r,a,n,i){t=Fe({},t,{elementRef:false});var o=Ar(),s=e.frames;s.forEach(function(l){var u=l.node,c=re(l,E);o.defer(function(d,h){var x={options:t,command:r,parameter:a,context:c};function k(I){return d(I?{results:I,frameElement:u}:null)}Vd(u,x,k,h);});}),o.then(function(l){n(Li(l,t));}).catch(i);}function Pr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function 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||le(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||le(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Wd(e[s],n[s]);}}),e}var Rs=Wd;function ex(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 Is=ex,tx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function rx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(tx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Mi=rx,Ls={};fr(Ls,{createGrid:function(){return wn},findElmsInContext:function(){return Ud},findNearbyElms:function(){return ji},findUp:function(){return Fa},findUpVirtual:function(){return Ta},focusDisabled:function(){return $s},getComposedParent:function(){return It},getElementByReference:function(){return Gs},getElementCoordinates:function(){return Os},getElementStack:function(){return Tf},getModalDialog:function(){return _f},getNodeGrid:function(){return Vi},getOverflowHiddenAncestors:function(){return bn},getRootNode:function(){return Nt},getScrollOffset:function(){return uf},getTabbableElements:function(){return Ff},getTargetRects:function(){return zi},getTargetSize:function(){return Rf},getTextElementStack:function(){return ul},getViewportSize:function(){return Pi},getVisibleChildTextRects:function(){return ll},hasContent:function(){return Ji},hasContentVirtual:function(){return kn},hasLangText:function(){return dl},idrefs:function(){return _r},insertedIntoFocusOrder:function(){return wp},isCurrentPageLink:function(){return zs},isFixedPosition:function(){return Oi},isFocusable:function(){return _t},isHTML5:function(){return Ap},isHiddenForEveryone:function(){return Yr},isHiddenWithCSS:function(){return TA},isInTabOrder:function(){return cr},isInTextBlock:function(){return fl},isInert:function(){return $i},isModalOpen:function(){return Tn},isMultiline:function(){return Ep},isNativelyFocusable:function(){return Xs},isNode:function(){return BA},isOffscreen:function(){return Ni},isOpaque:function(){return YA},isSkipLink:function(){return hl},isVisible:function(){return t2},isVisibleOnScreen:function(){return Zt},isVisibleToScreenReaders:function(){return pt},isVisualContent:function(){return cl},reduceToElementsBelowFloating:function(){return Cp},shadowElementsFromPoint:function(){return n2},urlPropsFromAttribute:function(){return c2},visuallyContains:function(){return Sp},visuallyOverlaps:function(){return gl},visuallySort:function(){return Ws}});function ax(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var vn=ax,Nt=vn;function nx(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=yt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Nt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var Ud=nx;function ix(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var a=e.actualNode.closest(t);return a||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Da(r,t)&&r!==m.documentElement);return !r||!Da(r,t)?null:r}var Ta=ix;function ox(e,t){return Ta(We(e),t)}var Fa=ox;function Ms(e,t){return (e.left|0)<(t.right|0)&&(e.right|0)>(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var Xd=lt(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Xd(t.parent))}),bn=Xd,sx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,lx=/(\w+)\((\d+)/;function Yd(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Kd(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function Jd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Zd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Qd(e){return e.attr("aria-hidden")==="true"}function ef(e){return e.getComputedStylePropertyValue("opacity")==="0"}function tf(e){var t=qr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function rf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return false;var n=bn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!ux(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Ms(i,s)})}function af(e){var t=e.getComputedStylePropertyValue("clip").match(sx),r=e.getComputedStylePropertyValue("clip-path").match(lx);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 Ps(e,t){var r=Jt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=vn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=tr(g._tree,'img[usemap="#'.concat(yt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function nf(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 ux(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 cx=[Kd,Jd,Zd,nf];function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Ze(e).vNode,r?of(e,n):sf(e,n)}var of=lt(function(t,r){return Yd(t)?true:t.actualNode?!!(cx.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),sf=lt(function(t,r){return of(t,r)?true:t.parent?sf(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 It=lf;function dx(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 uf=dx;function fx(e){var t=uf(m),r=t.left,a=t.top,n=e.getBoundingClientRect();return {top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var Os=fx;function px(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var a=t.body;return {width:a.clientWidth,height:a.clientHeight}}var Pi=px;function Oi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Ze(e),n=a.vNode;return n?r?cf(n):df(n):false}var cf=lt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),df=lt(function(t){return cf(t)?true:t.parent?df(t.parent):false});function mx(e,t){for(e=It(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=It(e);}return true}function hx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Ze(e),n=a.domNode;if(n){var i=m.documentElement,o=f.getComputedStyle(n),s=f.getComputedStyle(m.body||i).getPropertyValue("direction"),l=Oi(n),u=l?n.getBoundingClientRect():Os(n);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(mx(n,u.bottom)||o.position==="absolute"))return true;var c=Pi(f);if(l&&u.top>=c.height)return true;var d=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=d||(l||s==="ltr")&&u.right<=0)}}var Ni=hx,gx=[ef,tf,rf,af,Ni];function Zt(e){return e=Ze(e).vNode,Ns(e)}var Ns=lt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Ps(t,Ns):Yr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&gx.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?Ns(t.parent,true):true});function qs(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new f.DOMRect(i,r,a-i,n-r)}function qi(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 ff={};fr(ff,{getBoundingRect:function(){return qs},getIntersectionRect:function(){return Bi},getOffset:function(){return mf},getRectCenter:function(){return yn},hasVisualOverlap:function(){return Bs},isPointInRect:function(){return qi},rectHasMinimumSize:function(){return Or},rectsOverlap:function(){return Ms},splitRects:function(){return Hs}});function Bi(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new f.DOMRect(r,n,a-r,i-n)}function yn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new f.DOMPoint(t+a/2,r+n/2)}var pf=.05;function Or(e,t){var r=t.width,a=t.height;return r+pf>=e&&a+pf>=e}function mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=zi(e),n=zi(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=yn(o),l=Je(n),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(qi(s,c))return 0;var d=vx(s,c),h=hf(s,d);i=Math.min(i,h);}}catch(O){l.e(O);}finally{l.f();}var x=Rf(t);if(Or(r*2,x))return i;var k=n.reduce(qs),I=yn(k),M=hf(s,I)-r;return Math.max(0,Math.min(i,M))},1/0)}function vx(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 hf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Bs(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:Ws(e,t)>0}function Hs(e,t){var r=Array.isArray(e)?e:[e],a=Je(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(l,u){return l.concat(bx(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function bx(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(Hi(t.top,r,n)&&s&&l.push({top:r,left:a,bottom:t.top,right:i}),Hi(t.right,a,i)&&o&&l.push({top:r,left:t.right,bottom:n,right:i}),Hi(t.bottom,r,n)&&s&&l.push({top:t.bottom,right:i,bottom:n,left:a}),Hi(t.left,a,i)&&o&&l.push({top:r,left:a,bottom:n,right:t.left}),l.length===0){if(wx(e,t))return [];l.push(e);}return l.map(yx)}var Hi=function(t,r,a){return t>r&&t<a};function yx(e){return new f.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function wx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var gf=0,xx=.1,vf=.2,bf=.3,Vs=0;function wn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if($e.get("gridCreated")&&!r)return ze.gridSize;if($e.set("gridCreated",true),!r){var a=We(m.documentElement);if(a||(a=new vl(m.documentElement)),Vs=0,a._stackingOrder=[xf(gf,Vs++,null)],t??(t=new js),Df(t,a),qr(a.actualNode)){var n=new js(a);a._subGrid=n;}}for(var i=m.createTreeWalker(e,f.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=We(o);s&&s.parent?r=s.parent:o.assignedSlot?r=We(o.assignedSlot):o.parentElement?r=We(o.parentElement):o.parentNode&&We(o.parentNode)&&(r=We(o.parentNode)),s||(s=new g.VirtualNode(o,r)),s._stackingOrder=Dx(s,r,Vs++);var l=Ex(s,r),u=l?l._subGrid:t;if(qr(s.actualNode)){var c=new js(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&Zt(o)&&Df(u,s),Mi(o)&&wn(o.shadowRoot,u,s),o=i.nextNode();}return ze.gridSize}function yf(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 h=e.getComputedStylePropertyValue("will-change");if(h==="transform"||h==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var x=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(x)||a!=="auto"&&wf(t))}function wf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Dx(e,t,r){var a=t._stackingOrder.slice();if(yf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [gf,vf,bf].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=Ax(e,t);return i!==null&&a.push(xf(i,r,e)),a}function xf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Ax(e,t){var r=_x(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?bf:e.getComputedStylePropertyValue("float")!=="none"?vf:yf(e,t)?xx:null:parseInt(r)}function _x(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!wf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Ex(e,t){for(var r=null,a=[e];t;){if(qr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=We(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Df(e,t){var r=bn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,l){return s&&Bi(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 js=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;ft(this,e),this.container=t,this.cells=[];}return vt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/ze.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Qe(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);Qe(qi({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=qs(this.boundaries,r)),this.boundaries=r,Af(this.cells,s,l,function(u,c){Af(u,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 f.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,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 Vi(e){wn();var t=Ze(e),r=t.vNode;return r._grid}function ji(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Vi(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Oi(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(l){var u=Je(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===Oi(d)&&s.push(d);}}catch(h){u.e(h);}finally{u.f();}}),s}var Cx=lt(function(){var t;if(!g._tree)return null;var r=Tr(g._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&Zt(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=Sx(n))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),_f=Cx;function Sx(e){wn();var t=g._tree[0]._grid,r=new f.DOMRect(0,0,f.innerWidth,f.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Bi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function $i(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?Ef(e,a):Cf(e,a)}var Ef=lt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=_f();if(a&&!Pr(a,t))return true}return false}),Cf=lt(function(t,r){return Ef(t,r)?true:t.parent?Cf(t.parent,true):false}),kx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function Tx(e){return kx.includes(e)}function Fx(e){var t=Ze(e),r=t.vNode;if(Tx(r.props.nodeName)&&r.hasAttr("disabled")||$i(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?Yr(r):false}var $s=Fx,Rx=/^\/\#/,Ix=/^#[!/]/;function zs(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Rx.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Ix.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=f.location)===null||t===void 0?void 0:t.origin)!="string"||f.location.origin.indexOf("://")===-1)return null;var l=f.location.origin+f.location.pathname,u;return i?u="".concat(n,"//").concat(i).concat(o?":".concat(o):""):u=f.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=f.location.pathname,u===l}function Lx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!zs(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=m.getElementById(r);return a||(a=m.getElementsByName(r),a.length?a[0]:null)}var Gs=Lx;function Ws(e,t){wn();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a<r;a++){if(typeof t._stackingOrder[a]>"u")return -1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return -1;if(t._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return t._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var n=e.actualNode,i=t.actualNode;if(n.getRootNode&&n.getRootNode()!==i.getRootNode()){for(var o=[];n;)o.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;i&&!o.find(function(M){return M.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(M){return M.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=f.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,d=n.compareDocumentPosition(i),h=d&l?1:-1,x=d&u||d&c,k=Sf(e),I=Sf(t);return k===I||x?h:I-k}function Sf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:kf(e)?1:0}function kf(e){if(!e)return false;if(e._isFloated!==void 0)return e._isFloated;var t=e.getComputedStylePropertyValue("float");if(t!=="none")return e._isFloated=true,true;var r=kf(e.parent);return e._isFloated=r,r}function Us(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=yn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(u){return u.clientRects.some(function(c){var d=c.left,h=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(h+c.height)&&o>=Math.floor(h)})}),l=e.container;return l&&(s=Us(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Ws).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,d){return d.indexOf(u)===c})),s}function Mx(e){var t=Vi(e);if(!t)return [];var r=We(e).boundingClientRect;return Us(t,r)}var Tf=Mx;function Px(e){var t=tr(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=kr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var Ff=Px;function Ox(e){var t=Ze(e),r=t.vNode;if(!r||$s(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !tr(r,"summary").length}return false}var Xs=Ox;function _t(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1||$s(r))return false;if(Xs(r))return true;var a=kr(r.attr("tabindex"));return a!==null}function cr(e){var t=Ze(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=kr(r.attr("tabindex"));return a<=-1?false:_t(r)}var zi=lt(Nx);function Nx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=ji(e).filter(function(i){return Bs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!qx(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 Hs(r,n)}function qx(e,t){return Pr(e,t)&&!cr(t)}var Rf=lt(Bx);function Bx(e,t){var r=zi(e);return Hx(r,t)}function Hx(e,t){return e.reduce(function(r,a){var n=Or(t,r),i=Or(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}var xn={};fr(xn,{accessibleText:function(){return pa},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return ha},formControlValue:function(){return lp},formControlValueMethods:function(){return rl},hasUnicode:function(){return il},isHumanInterpretable:function(){return sl},isIconLigature:function(){return ol},isValidAutocomplete:function(){return hp},label:function(){return gA},labelText:function(){return al},labelVirtual:function(){return Yi},nativeElementType:function(){return bA},nativeTextAlternative:function(){return cp},nativeTextMethods:function(){return up},removeUnicode:function(){return Sn},sanitize:function(){return qe},subtreeText:function(){return Zr},titleText:function(){return Wi},unsupported:function(){return Zf},visible:function(){return gp},visibleTextNodes:function(){return yA},visibleVirtual:function(){return Cr}});function Vx(e,t){e=e.actualNode||e;try{var r=Nt(e),a=[],n=e.getAttribute(t);if(n){n=jt(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var _r=Vx;function jx(e,t){var r=We(e);return Lt(r,t)}var pa=jx;function $x(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ze(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=_r(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=pa(o,Fe({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var Dn=$x;function An(e){var t=Ze(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var zx={"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}},If=zx,Gx={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"]}},Lf=Gx,Wx={"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"]}},Ux=Wx,Xx={"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}},Yx=Xx,Kx={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"]}},Jx=Kx,Zx={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]},Qx=Zx,Mf={ariaAttrs:If,ariaRoles:Fe({},Lf,Ux,Yx),htmlElms:Jx,cssColors:Qx},Ra=Fe({},Mf);function eD(e){Object.keys(Ra).forEach(function(t){e[t]&&(Ra[t]=Rs(Ra[t],e[t]));});}function tD(){Object.keys(Ra).forEach(function(e){Ra[e]=Mf[e];});}var et=Ra;function rD(e){var t=et.ariaRoles[e];return t?!!t.unsupported:false}var Ys=rD;function aD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=et.ariaRoles[e],o=Ys(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var _n=aD;function nD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof Rt?e:We(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?jt(i):[i],s=o.find(function(l){return !n&&l.substr(0,4)==="doc-"?false:_n(l,{allowAbstract:a})});return s||null}var Ye=nD;function iD(e){return Object.keys(et.htmlElms).filter(function(t){var r=et.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var Ks=iD;function oD(){return $e.get("globalAriaAttrs",function(){return Object.keys(et.ariaAttrs).filter(function(e){return et.ariaAttrs[e].global})})}var Kr=oD;function sD(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,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 Nr=lt(sD);function lD(e,t){var r,a;for(t||(t=Nr(Fa(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Gi=lt(lD);function Js(e){var t=Ze(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=Ye(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=Nr(Fa(a,"table")),s=Gi(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 uD(e){return ["col","auto"].indexOf(Js(e))!==-1}var Ia=uD;function cD(e){return ["row","auto"].includes(Js(e))}var La=cD;function dD(e){return e?e.replace(/\r\n/g,`
|
|
366
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var qe=dD,Pf=function(){return $e.get("sectioningContentSelector",function(){return Ks("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Of=function(){return $e.get("sectioningContentPlusMainSelector",function(){return Pf()+" , main:not([role]), [role=main]"})};function Zs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(qe(Dn(e))||qe(An(e))||a&&e?.props.nodeType===1&&qe(e.attr("title")))}var fD={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,Pf())&&!Zs(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,Of());return r?null:"contentinfo"},form:function(t){return Zs(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Jt(t,Of());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=Kr().find(function(n){return t.hasAttr(n)});return r&&!a&&!_t(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=_r(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 Zs(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=Ye(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Ia(t))return "columnheader";if(La(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Qs=fD;function pD(e,t){var r=le(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var ma=pD;function mD(e,t){return ma(!!Lt(e),t)}var Nf=mD;function hD(e,t){var r=le(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(a){return ma(e(a),t[a])})}var el=hD;function gD(e,t){return e=Ze(e).vNode,el(function(r){return e.attr(r)},t)}var qf=gD;function Bf(e,t){return !!t(e)}function vD(e,t){return ma(Ye(e),t)}var Hf=vD;function bD(e,t){return ma(Er(e),t)}var Vf=bD;function yD(e,t){return e=Ze(e).vNode,ma(e.props.nodeName,t)}var jf=yD;function wD(e,t){return e=Ze(e).vNode,el(function(r){return e.props[r]},t)}var $f=wD;function xD(e,t){return ma(Ge(e),t)}var zf=xD,Gf={hasAccessibleName:Nf,attributes:qf,condition:Bf,explicitRole:Hf,implicitRole:Vf,nodeName:jf,properties:$f,semanticRole:zf};function Wf(e,t){return e=Ze(e).vNode,Array.isArray(t)?t.some(function(r){return Wf(e,r)}):typeof t=="string"?ws(e,t):Object.keys(t).every(function(r){if(!Gf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Gf[r],n=t[r];return a(e,n)})}var Uf=Wf;function DD(e,t){return Uf(e,t)}var Qt=DD;Qt.hasAccessibleName=Nf,Qt.attributes=qf,Qt.condition=Bf,Qt.explicitRole=Hf,Qt.fromDefinition=Uf,Qt.fromFunction=el,Qt.fromPrimative=ma,Qt.implicitRole=Vf,Qt.nodeName=jf,Qt.properties=$f,Qt.semanticRole=zf;var En=Qt;function AD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=et.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=re(n,w);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=re(l,_),d=Array.isArray(u)?u:[u],h=0;h<d.length&&a;h++)if(d[h].hasOwnProperty("hasAccessibleName"))return n;if(En(e,u))for(var x in c)c.hasOwnProperty(x)&&(o[x]=c[x]);}for(var k in i.default)i.default.hasOwnProperty(k)&&typeof o[k]>"u"&&(o[k]=i.default[k]);return o}var Jr=AD;function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Rt?e:We(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=Qs[n];if(!i&&r){var o=Jr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var Er=_D,ED={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 Xf(e,t){var r=ED[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=Ye(e.parent,t);return ["none","presentation"].includes(a)&&!Kf(e.parent)?a:a?null:Xf(e.parent,t)}function Yf(e,t){var r=t.chromium,a=re(t,F),n=Er(e,{chromium:r});if(!n)return null;var i=Xf(e,a);return i||n}function Kf(e){var t=Kr().some(function(r){return e.hasAttr(r)});return t||_t(e)}function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=re(t,L),n=Ze(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=Ye(i,a);return o?["presentation","none"].includes(o)&&Kf(i)?r?null:Yf(i,a):o:r?null:Yf(i,a)}function SD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=re(t,P),n=CD(e,a);return r&&["presentation","none"].includes(n)?null:n}var Ge=SD,kD=["iframe"];function TD(e){var t=Ze(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Qt(r,kD)&&["none","presentation"].includes(Ge(r))?"":r.attr("title")}var Wi=TD;function FD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Rt?e:We(e),e.props.nodeType!==1)return false;var a=Ge(e),n=et.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var Jf=FD;function RD(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=_r(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return g.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(Ce(i),Ce(n))}return Ce(r)}var Cn=RD,Zf={accessibleNameFromFieldValue:["progressbar"]};function pt(e){return e=Ze(e).vNode,tl(e)}var tl=lt(function(t,r){return Qd(t)||$i(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Ps(t,tl):Yr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?tl(t.parent,true):true});function Qf(e,t,r){var a=Ze(e),n=a.vNode,i=t?pt:Zt,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 Qf(l,t)}).join("");return qe(s)}var Cr=Qf,ID=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function LD(e){e=e instanceof Rt?e:We(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!ID.includes((e.attr("type")||"").toLowerCase())}var ep=LD;function MD(e){e=e instanceof Rt?e:We(e);var t=e.props.nodeName;return t==="select"}var tp=MD;function PD(e){var t=Ye(e);return t==="textbox"}var rp=PD;function OD(e){var t=Ye(e);return t==="listbox"}var ap=OD;function ND(e){var t=Ye(e);return t==="combobox"}var np=ND,qD=["progressbar","scrollbar","slider","spinbutton"];function BD(e){var t=Ye(e);return qD.includes(t)}var ip=BD,op=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],rl={nativeTextboxValue:VD,nativeSelectValue:jD,ariaTextboxValue:$D,ariaListboxValue:sp,ariaComboboxValue:zD,ariaRangeValue:GD};function HD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Zf.accessibleNameFromFieldValue||[],n=Ge(e);if(t.startNode===e||!op.includes(n)||a.includes(n))return "";var i=Object.keys(rl).map(function(s){return rl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&ca(o||"{empty-value}",r,t),o}function VD(e){var t=Ze(e),r=t.vNode;return ep(r)&&r.props.value||""}function jD(e){var t=Ze(e),r=t.vNode;if(!tp(r))return "";var a=tr(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Cr(i)}).join(" ")||""}function $D(e){var t=Ze(e),r=t.vNode,a=t.domNode;return rp(r)?!a||a&&!Yr(a)?Cr(r,true):a.textContent:""}function sp(e,t){var r=Ze(e),a=r.vNode;if(!ap(a))return "";var n=Cn(a).filter(function(i){return Ge(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":Lt(n[0],t)}function zD(e,t){var r=Ze(e),a=r.vNode;if(!np(a))return "";var n=Cn(a).filter(function(i){return Ge(i)==="listbox"})[0];return n?sp(n,t):""}function GD(e){var t=Ze(e),r=t.vNode;if(!ip(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var lp=HD;function WD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=Ge(e),l=Jr(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||op.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Jf(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Fe({subtreeDescendant:c},t);}return Cn(e).reduce(function(d,h){return XD(d,h,t)},"")}var UD=Ks("phrasing").concat(["#text"]);function XD(e,t,r){var a=t.props.nodeName,n=Lt(t,r);return n?(UD.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Zr=WD;function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Fe({inControlContext:true},t),n=KD(e),i=Jt(e,"label"),o;return i?(o=[].concat(Ce(n),[i.actualNode]),o.sort(Rl)):o=n,o.map(function(s){return pa(s,a)}).filter(function(s){return s!==""}).join(" ")}function KD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Ud({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var al=YD,JD={submit:"Submit",image:"Submit",reset:"Reset",button:""},ZD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return JD[t.props.type]||""},tableCaptionText:Ui.bind(null,"caption"),figureText:Ui.bind(null,"figcaption"),svgTitleText:Ui.bind(null,"title"),fieldsetLegendText:Ui.bind(null,"legend"),altText:nl.bind(null,"alt"),tableSummaryText:nl.bind(null,"summary"),titleText:Wi,subtreeText:Zr,labelText:al,singleSpace:function(){return " "},placeholderText:nl.bind(null,"placeholder")};function nl(e,t){return t.attr(e)||""}function Ui(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return !i||i.nodeName.toLowerCase()!==e?"":pa(i,r)}var up=ZD;function cp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Ge(e)))return "";var a=QD(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&g.log(n||"{empty-value}",r,t),n}function QD(e){var t=Jr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return up[a]})}function dp(){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 fp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function pp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function mp(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function eA(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Wo().test(e))),a&&(i||(i=dp().test(e)||pp().test(e)||mp().test(e))),n&&(i||(i=fp().test(e))),i}var il=eA;function ol(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(!qe(a)||il(a,{emoji:true,nonBmp:true}))return false;var n=$e.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=$e.get("fonts",function(){return {}}),s=f.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,d="".concat(c,"px ").concat(l);n.font=d;var h=a.charAt(0),x=n.measureText(h).width;if(x===0)return u.numLigatures++,true;if(x<30){var k=30/x;x*=k,c*=k,d="".concat(c,"px ").concat(l);}i.width=x,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(h,0,0);var I=new Uint32Array(n.getImageData(0,0,x,c).data.buffer);if(!I.some(function(ee){return ee}))return u.numLigatures++,true;n.clearRect(0,0,x,c),n.fillText(a,0,0);var M=new Uint32Array(n.getImageData(0,0,x,c).data.buffer),O=I.reduce(function(ee,ie,ue){return ie===0&&M[ue]===0||ie!==0&&M[ue]!==0?ee:++ee},0),q=a.split("").reduce(function(ee,ie){return ee+n.measureText(ie).width},0),G=n.measureText(a).width,W=O/I.length,Y=1-G/q;return W>=t&&Y>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=nA(e,t),rA(e,t)||aA(e,t))return "";var r=[Dn,An,cp,lp,Zr,tA,Wi],a=r.reduce(function(n,i){return t.startNode===e&&(n=qe(n)),n!==""?n:i(e,t)},"");return t.debug&&g.log(a||"{empty-value}",e.actualNode,t),a}function tA(e){return e.props.nodeType!==3?"":e.props.nodeValue}function rA(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!pt(e)}function aA(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:ol(e,n,i)}function nA(e,t){return t.startNode||(t=Fe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Fe({includeHidden:!pt(e)},t)),t}Lt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function iA(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Wo(),"")),a&&(e=e.replace(dp(),"").replace(pp(),"").replace(mp(),"")),n&&(e=e.replace(fp(),"")),e}var Sn=iA;function oA(e){return sA(e)||lA(e)||uA(e)||cA(e)?0:1}function sA(e){return qe(e).length===0}function lA(e){return e.length===1&&e.match(/\D/)}function uA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function cA(e){var t=Sn(e,{emoji:true,nonBmp:true,punctuations:true});return !qe(t)}var sl=oA,ha={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function dA(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,h=t.qualifiedTerms,x=h===void 0?[]:h,k=t.ignoredValues,I=k===void 0?[]:k;if(e=e.toLowerCase().trim(),i=i.concat(ha.stateTerms),i.includes(e)||e==="")return true;u=u.concat(ha.qualifiers),s=s.concat(ha.locations),d=d.concat(ha.standaloneTerms),x=x.concat(ha.qualifiedTerms);var M=e.split(/\s+/g);if(M[M.length-1]==="webauthn"&&(M.pop(),M.length===0)||!a&&(M[0].length>8&&M[0].substr(0,8)==="section-"&&M.shift(),s.includes(M[0])&&M.shift(),u.includes(M[0])&&(M.shift(),d=[]),M.length!==1))return false;var O=M[M.length-1];if(!I.includes(O))return d.includes(O)||x.includes(O)}var hp=dA;function fA(e){var t,r;return e.attr("aria-labelledby")&&(t=_r(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=We(a);return n?Cr(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=qe(r),r))?r:null}var Xi=fA;function pA(e,t,r){return e=We(e),Cr(e,t,r)}var gp=pA;function mA(e){var t,r,a;if(r=Xi(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=yt(e.attr("id"));if(a=Nt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&gp(t,true),r)return r}return t=Jt(e,"label"),r=t&&Cr(t,true),r||null}var Yi=mA;function hA(e){return e=We(e),Yi(e)}var gA=hA,vA=[{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"]}],bA=vA;function vp(e){var t=Zt(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(vp(a));}),r}var yA=vp,wA=lt(function(t){var r=We(t),a=r.boundingClientRect,n=[],i=bn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||qe(o.nodeValue)==="")){var s=xA(o);DA(s,a)||n.push.apply(n,Ce(bp(s,i)));}}),n.length?n:bp([a],i)}),ll=wA;function xA(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function DA(e,t){return e.some(function(r){var a=yn(r);return !qi(a,t)})}function bp(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&&Bi(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function AA(e){var t=Vi(e);if(!t)return [];var r=ll(e);return r.map(function(a){return Us(t,a)})}var ul=AA,_A=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function EA(e){var t=Ze(e),r=t.vNode,a=g.commons.aria.getExplicitRole(r);if(a)return _A.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 cl=EA,CA=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Ki(e){return CA.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function yp(e,t,r){return Ki(e)||cl(e.actualNode)||!r&&!!Xi(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&yp(a)})}var kn=yp;function SA(e,t,r){return e=We(e),kn(e,t,r)}var Ji=SA;function dl(e){return typeof e.children>"u"||Ki(e)?true:e.props.nodeType===1&&cl(e)?!!g.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&dl(t)&&!Yr(t)})}function kA(e){var t=kr(e.getAttribute("tabindex"));return t>-1&&_t(e)&&!Xs(e)}var wp=kA;function xp(e,t){var r=Ze(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=Dp(n,t)),a._isHiddenWithCSS):Dp(n,t)}function Dp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=f.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=It(e);return o&&!n.includes(i)?xp(o,i):false}var TA=xp;function FA(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Ap=FA;function RA(e){var t;(e instanceof Rt||(t=f)!==null&&t!==void 0&&t.Node&&e instanceof f.Node)&&(e=g.commons.aria.getRole(e));var r=et.ariaRoles[e];return r?.type||null}var yr=RA,IA=["block","list-item","table","flex","grid"],LA=["inline-block","inline-flex","inline-grid"];function MA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,a=t.includeInlineBlock,n=a===void 0?false:a,i=Ze(e),o=i.vNode,s=i.domNode;if(pl(s)||!n&&PA(o))return false;var l=OA(s),u="",c="",d=0;return _p(l,function(h){if(h===l.actualNode)return true;if(d===2)return false;if(h.nodeType===3&&(u+=h.nodeValue),h.nodeType===1){var x=(h.nodeName||"").toUpperCase();h===s&&(d=1);var k=pl(h);if((k||["BR","HR"].includes(x))&&(d===0?(u="",c=""):d=2),k||h.style.display==="none"||h.style.overflow==="hidden"||!["",null,"none"].includes(h.style.float)||!["",null,"relative"].includes(h.style.position))return false;if(yr(h)==="widget")return c+=h.textContent,false}}),u=qe(u),r?u.length!==0:(c=qe(c),u.length>c.length)}var fl=MA;function pl(e){var t=Ze(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return IA.includes(a)||a.substr(0,6)==="table-"}function PA(e){var t=e.getComputedStylePropertyValue("display");return LA.includes(t)}function _p(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return _p(r,t)});}function OA(e){for(var t=It(e);t&&!pl(t);)t=It(t);return We(t)}function NA(e){e=e||{};var t=e.modalPercent||.75;if($e.get("isModalOpen"))return $e.get("isModalOpen");var r=Tr(g._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zt);if(r.length)return $e.set("isModalOpen",true),true;for(var a=Pi(f),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,l=[{x:o,y:s},{x:a.width-o,y:s},{x:a.width/2,y:a.height/2},{x:o,y:a.height-s},{x:a.width-o,y:a.height-s}],u=l.map(function(x){return Array.from(m.elementsFromPoint(x.x,x.y))}),c=function(){var k=u[h].find(function(I){var M=f.getComputedStyle(I);return parseInt(M.width,10)>=n&&parseInt(M.height,10)>=i&&M.getPropertyValue("pointer-events")!=="none"&&(M.position==="absolute"||M.position==="fixed")});if(k&&u.every(function(I){return I.includes(k)}))return $e.set("isModalOpen",true),{v:true}},d,h=0;h<u.length;h++)if(d=c(),d)return d.v;$e.set("isModalOpen",void 0);}var Tn=NA;function Ep(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=Je(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 qA(e){return e instanceof f.Node}var BA=qA,ml="color.incompleteData",HA={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=$e.get(ml,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=$e.get(ml);return r?.[t]},clear:function(){$e.set(ml,{});}},ut=HA;function VA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ut.set("bgColor","imgNode"),true;t=t||f.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ut.set("bgColor",o?"bgGradient":"bgImage");}return i}var Zi=VA,jA=/^#[0-9a-f]{3,8}$/i,$A=/hsl\(\s*([-\d.]+)(rad|turn)/,Fn=(it=new WeakMap,Dt=new WeakMap,Ot=new WeakMap,ar=new WeakMap,Ft=new WeakMap,Vt=new WeakMap,Ga=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(ft(this,e),za(this,Ga),dr(this,it,void 0),dr(this,Dt,void 0),dr(this,Ot,void 0),dr(this,ar,void 0),dr(this,Ft,void 0),dr(this,Vt,void 0),t instanceof Fn){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=a,this.alpha=n;}return vt(e,[{key:"r",get:function(){return zt(it,this)},set:function(r){Pt(it,this,r),Pt(ar,this,Math.round(Ma(r,0,1)*255));}},{key:"g",get:function(){return zt(Dt,this)},set:function(r){Pt(Dt,this,r),Pt(Ft,this,Math.round(Ma(r,0,1)*255));}},{key:"b",get:function(){return zt(Ot,this)},set:function(r){Pt(Ot,this,r),Pt(Vt,this,Math.round(Ma(r,0,1)*255));}},{key:"red",get:function(){return zt(ar,this)},set:function(r){Pt(it,this,r/255),Pt(ar,this,Ma(r,0,255));}},{key:"green",get:function(){return zt(Ft,this)},set:function(r){Pt(Dt,this,r/255),Pt(Ft,this,Ma(r,0,255));}},{key:"blue",get:function(){return zt(Vt,this)},set:function(r){Pt(Ot,this,r/255),Pt(Vt,this,Ma(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($A,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,GA(o));case "turn":return i.replace(l,WA(o))}});try{var a;"Prototype"in f&&"Version"in f.Prototype&&(a=Array.from,Array.from=gd.default);var n=new ot(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw ut.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(jA)||[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 Rr(Ga,this,zA).call(this,a).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var a=new Fn(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,d){return c.value-d.value}),o=ye(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,a[u.name]=u.value,a[s.name]=s.value,a[l.name]=l.value,a}},{key:"clip",value:function(){var r=new Fn(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])})());function zA(e){var t=new Fn(this);return t.r+=e,t.g+=e,t.b+=e,t}var mt=Fn;function Ma(e,t,r){return Math.min(Math.max(t,e),r)}function GA(e){return e*180/Math.PI}function WA(e){return e*360}function UA(e){var t=new mt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var ga=UA;function XA(e){var t=f.getComputedStyle(e);return Zi(e,t)||ga(t).alpha===1}var YA=XA;function hl(e){if(!e.href)return false;var t=$e.get("firstPageLink",KA);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function KA(){var e;return f.location.origin?e=tr(g._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !zs(t.actualNode)}):e=tr(g._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var JA=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,ZA=/(\w+)\((\d+)/;function QA(e){var t=e.getPropertyValue("clip").match(JA),r=e.getPropertyValue("clip-path").match(ZA);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 e2(e,t,r){var a=Fa(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Nt(e);if(!i||i.nodeType!==9)return false;var o=tr(g._tree,'img[usemap="#'.concat(yt(n),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return Qi(l,t,r)})}function Qi(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Rt?e:We(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=f.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return false}if(!e){var h=n.parent,x=true;return h&&(x=Qi(h,t,true)),n&&(n[i]=x),x}var k=f.getComputedStyle(e,null);if(k===null)return false;if(c==="area")return e2(e,t,r);if(k.getPropertyValue("display")==="none")return false;var I=parseInt(k.getPropertyValue("height")),M=parseInt(k.getPropertyValue("width")),O=qr(e),q=O&&I===0,G=O&&M===0,W=k.getPropertyValue("position")==="absolute"&&(I<2||M<2)&&k.getPropertyValue("overflow")==="hidden";if(!t&&(QA(k)||k.getPropertyValue("opacity")==="0"||q||G||W)||!r&&(k.getPropertyValue("visibility")==="hidden"||!t&&Ni(e)))return false;var Y=e.assignedSlot?e.assignedSlot:e.parentNode,ee=false;return Y&&(ee=Qi(Y,t,true)),n&&(n[i]=ee),ee}var t2=Qi;function r2(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var s=f.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var Cp=r2;function Sp(e,t){var r=kp(t);do{var a=kp(e);if(a===r||a===t)return a2(e,t);e=a;}while(e);return false}function kp(e){for(var t=We(e),r=t.parent;r;){if(qr(r.actualNode))return r.actualNode;r=r.parent;}}function a2(e,t){var r=f.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof f.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function Tp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Nt(n)===r}).reduce(function(n,i){if(Mi(i)){var o=Tp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&Sp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var n2=Tp;function i2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=m.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=s2(i),s=o.pathname,l=o.filename;return {protocol:n,hostname:a.hostname,port:o2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:l2(a.search),hash:u2(a.hash),filename:l}}}function o2(e){var t=["443","80"];return t.includes(e)?"":e}function s2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function l2(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=ye(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function u2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=ye(r,1),n=a[0];return n==="#"?"":e}var c2=i2;function d2(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=f.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof f.HTMLBodyElement||t instanceof f.HTMLHtmlElement:true}var gl=d2,Fp=0,f2=(function(e){function t(r,a,n){var i;if(ft(this,t),i=se(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Fp=0),i.nodeIndex=Fp++,i._isHidden=null,i._cache={},i._isXHTML=un(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),co().includes(o)||(o="text"),i._type=o;}return $e.get("nodeMap")&&$e.get("nodeMap").set(r,i),i}return Ie(t,e),vt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,s=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},n===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof f.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=f.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=_t(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Ff(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Rt),vl=f2;function p2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var jt=p2,va=" [idsMap]";function Rp(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 Ip(l)}))return;var o=new Set;t.forEach(function(l){var u,c=m2(l,a,n);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(d){c.isComplexSelector&&!Ea(d,l)||o.add(d);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function m2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(Ip(a))n=t["*"];else {if(a.id){var o;if(!t[va]||!Object.hasOwn(t[va],a.id)||!((o=t[va][a.id])!==null&&o!==void 0&&o.length))return;n=t[va][a.id].filter(function(I){return I.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?bl(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?bl(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var h,x=a.attributes[d];if(x.type==="attrValue"&&(i=true),!((h=t["[".concat(x.key,"]")])!==null&&h!==void 0&&h.length))return;var k=t["[".concat(x.key,"]")];n=n?bl(k,n):k;}}return {nodes:n,isComplexSelector:i}}function Ip(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function bl(e,t){return e.filter(function(r){return t.includes(r)})}function eo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Lp(e,t){e.props.nodeType===1&&(eo(e.props.nodeName,e,t),eo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[va]=t[va]||{},jt(e.attr(r)).forEach(function(a){eo(a,e,t[va]);})),eo("[".concat(r,"]"),e,t);}));}var yl;function wl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;yl=false;var r={};$e.set("nodeMap",new WeakMap),$e.set("selectorMap",r);var a=Mp(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=yl,a}function h2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function xl(e,t,r){var a=new vl(e,t,r);return Lp(a,$e.get("selectorMap")),a}function to(e,t,r){var a=[];return e.forEach(function(n){var i=Mp(n,r,t);i&&a.push.apply(a,Ce(i));}),a}function Mp(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Mi(e))return yl=true,a=xl(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=to(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),to(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=h2(e));f.getComputedStyle(e);return to(n,r,t)}if(e.nodeType===m.ELEMENT_NODE)return a=xl(e,r,t),n=Array.from(e.childNodes),a.children=to(n,a,t),[a];if(e.nodeType===m.TEXT_NODE)return [xl(e,r)]}function g2(e){return e?e.trim().split("-")[0].toLowerCase():""}var ba=g2;function v2(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=g._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
364
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),jv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=rc();function r(n,a,i,o,s,l){var u=n.length,c="";function f($,X){var Y="";for(a++,c=n.charAt(a);a<u;){if(c===$)return a++,Y;if(c==="\\"){a++,c=n.charAt(a);var Z=void 0;if(c===$)Y+=$;else if((Z=X[c])!==void 0)Y+=Z;else if(t.isHex(c)){var re=c;for(a++,c=n.charAt(a);t.isHex(c);)re+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),Y+=String.fromCharCode(parseInt(re,16));continue}else Y+=c;}else Y+=c;a++,c=n.charAt(a);}return Y}function g(){var $="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))$+=c;else if(c==="\\"){if(a++,a>=u)throw Error("Expected symbol but end of file reached.");if(c=n.charAt(a),t.identSpecialChars[c])$+=c;else if(t.isHex(c)){var X=c;for(a++,c=n.charAt(a);t.isHex(c);)X+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),$+=String.fromCharCode(parseInt(X,16));continue}else $+=c;}else return $;a++,c=n.charAt(a);}return $}function x(){c=n.charAt(a);for(var $=false;c===" "||c===" "||c===`
|
|
365
|
+
`||c==="\r"||c==="\f";)$=true,a++,c=n.charAt(a);return $}function S(){var $=M();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return $}function M(){var $=q();if(!$)return null;var X=$;for(c=n.charAt(a);c===",";){if(a++,x(),X.type!=="selectors"&&(X={type:"selectors",selectors:[$]}),$=q(),!$)throw Error('Rule expected after ",".');X.selectors.push($);}return X}function q(){x();var $={type:"ruleSet"},X=H();if(!X)return null;for(var Y=$;X&&(X.type="rule",Y.rule=X,Y=X,x(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var Z=c;if(a++,x(),X=H(),!X)throw Error('Rule expected after "'+Z+'".');X.nestingOperator=Z;}else X=H(),X&&(X.nestingOperator=null);return $}function H(){for(var $=null;a<u;)if(c=n.charAt(a),c==="*")a++,($=$||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")($=$||{}).tagName=g();else if(c===".")a++,$=$||{},($.classNames=$.classNames||[]).push(g());else if(c==="#")a++,($=$||{}).id=g();else if(c==="["){a++,x();var X={name:g()};if(x(),c==="]")a++;else {var Y="";if(o[c]&&(Y=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');X.operator=Y+"=",a++,x();var Z="";if(X.valueType="string",c==='"')Z=f('"',t.doubleQuotesEscapeChars);else if(c==="'")Z=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,Z=g(),X.valueType="substitute";else {for(;a<u&&c!=="]";)Z+=c,a++,c=n.charAt(a);Z=Z.trim();}if(x(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,X.value=Z;}$=$||{},($.attrs=$.attrs||[]).push(X);}else if(c===":"){a++;var re=g(),le={name:re};if(c==="("){a++;var fe="";if(x(),i[re]==="selector")le.valueType="selector",fe=M();else {if(le.valueType=i[re]||"string",c==='"')fe=f('"',t.doubleQuotesEscapeChars);else if(c==="'")fe=f("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,fe=g(),le.valueType="substitute";else {for(;a<u&&c!==")";)fe+=c,a++,c=n.charAt(a);fe=fe.trim();}x();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,le.value=fe;}$=$||{},($.pseudos=$.pseudos||[]).push(le);}else break;return $}return S()}e.parseCssSelector=r;}),$v=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=rc();function r(n){var a="";switch(n.type){case "ruleSet":for(var i=n.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;a=o.join(" ");break;case "selectors":a=n.selectors.map(r).join(", ");break;case "rule":n.tagName&&(n.tagName==="*"?a="*":a=t.escapeIdentifier(n.tagName)),n.id&&(a+="#"+t.escapeIdentifier(n.id)),n.classNames&&(a+=n.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),n.attrs&&(a+=n.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),n.pseudos&&(a+=n.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return a}e.renderEntity=r;}),zv=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=jv(),r=$v(),n=(function(){function a(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return a.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},a.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},a.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},a.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},a.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},a.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},a.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},a.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},a.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},a.prototype.render=function(i){return r.renderEntity(i).trim()},a})();e.CssSelectorParser=n;}),Gv=U(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false,doNotSkipEncoded:false},template:void 0,compile:void 0,log:true};((function(){if((typeof globalThis>"u"?"undefined":de(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{d.globalThis=(function(){if(typeof self<"u")return self;if(typeof d<"u")return d;if(typeof v<"u")return v;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(f){return l[f]||f}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var n={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||a,function(c,f,g,x){return f.indexOf("def.")===0&&(f=f.substring(4)),f in u||(g===":"?(s.defineParams&&x.replace(s.defineParams,function(S,M,q){u[f]={arg:M,text:q};}),f in u||(u[f]=x)):new Function("def","def['"+f+"']="+x)(u)),""}).replace(s.use||a,function(c,f){s.useParams&&(f=f.replace(s.useParams,function(x,S,M,q){if(u[M]&&u[M].arg&&q){var H=(M+":"+q).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[H]=u[M].text.replace(new RegExp("(^|[^\\w$])"+u[M].arg+"([^\\w$])","g"),"$1"+q+"$2"),S+"def.__exp['"+H+"']"}}));var g=new Function("def","return "+f)(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?n.append:n.split,f,g=0,x,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||a,function(M,q){return c.start+o(q)+c.end}).replace(l.encode||a,function(M,q){return f=true,c.startencode+o(q)+c.end}).replace(l.conditional||a,function(M,q,H){return q?H?"';}else if("+o(H)+"){out+='":"';}else{out+='":H?"';if("+o(H)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(M,q,H,$){return q?(g+=1,x=$||"i"+g,q=o(q),"';var arr"+g+"="+q+";if(arr"+g+"){var "+H+","+x+"=-1,l"+g+"=arr"+g+".length-1;while("+x+"<l"+g+"){"+H+"=arr"+g+"["+x+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(M,q){return "';"+o(q)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),f&&(!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(M){throw typeof console<"u"&&console.log("Could not create a template function: "+S),M}},r.compile=function(s,l){return r.template(s,null,l)};})();}),Wv=U(function(e,t){t.exports=function(){};}),cn=U(function(e,t){var r=Wv()();t.exports=function(n){return n!==r&&n!==null};}),nc=U(function(e,t){var r=cn(),n=Array.prototype.forEach,a=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=a(null);return n.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),Uv=U(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Xv=U(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Yv=U(function(e,t){t.exports=Uv()()?Math.sign:Xv();}),Kv=U(function(e,t){var r=Yv(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),dn=U(function(e,t){var r=Kv(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),ac=U(function(e,t){var r=dn();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),Wr=U(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),En=U(function(e,t){var r=cn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),Jv=U(function(e,t){var r=Wr(),n=En(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,f){var g,x=arguments[2],S=arguments[3];return c=Object(n(c)),r(f),g=o(c),S&&g.sort(typeof S=="function"?a.call(S,c):void 0),typeof l!="function"&&(l=g[l]),i.call(l,g,function(M,q){return s.call(c,M)?i.call(f,x,c[M],M,c,q):u})}};}),di=U(function(e,t){t.exports=Jv()("forEach");}),fn=U(function(){}),Zv=U(function(e,t){t.exports=function(){var r=Object.assign,n;return typeof r!="function"?false:(n={foo:"raz"},r(n,{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")};}),Qv=U(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),eb=U(function(e,t){var r=cn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),tb=U(function(e,t){t.exports=Qv()()?Object.keys:eb();}),rb=U(function(e,t){var r=tb(),n=En(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(g){try{i[g]=o[g];}catch(x){s||(s=x);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),ic=U(function(e,t){t.exports=Zv()()?Object.assign:rb();}),nb=U(function(e,t){var r=cn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[de(a)]||false};}),ab=U(function(e,t){var r=ic(),n=nb(),a=cn(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return a(u)||n(l)&&(u=l,l=null),a(u)&&r(s,u),a(l)&&(s.code=l),i&&i(s,t.exports),s};}),oc=U(function(e,t){var r=En(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(f){try{n(s,f,a(l,f));}catch(g){u=g;}}),typeof o=="function"&&o(c).forEach(function(f){try{n(s,f,a(l,f));}catch(g){u=g;}}),u!==void 0)throw u;return s};}),sc=U(function(e,t){var r=dn(),n=function(u,c){return c},a,i,o,s;try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}n.length===1?(a={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(a.value=u,i(l,"length",a))}):(s=oc(),o=(function(){var l=[];return function(u){var c,f=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++f).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});}),lc=U(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),ib=U(function(e,t){var r=lc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,de(a)):false};}),ob=U(function(e,t){var r=ib();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),sb=U(function(e,t){var r=ob();t.exports=function(n){if(typeof n!="function"||!hasOwnProperty.call(n,"length"))return false;try{if(typeof n.length!="number"||typeof n.call!="function"||typeof n.apply!="function")return !1}catch{return false}return !r(n)};}),lb=U(function(e,t){var r=sb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),ub=U(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),cb=U(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),db=U(function(e,t){t.exports=ub()()?String.prototype.contains:cb();}),pn=U(function(e,t){var r=lc(),n=lb(),a=ic(),i=nc(),o=db(),s=t.exports=function(l,u){var c,f,g,x,S;return arguments.length<2||typeof l!="string"?(x=u,u=l,l=null):x=arguments[2],r(l)?(c=o.call(l,"c"),f=o.call(l,"e"),g=o.call(l,"w")):(c=g=true,f=false),S={value:u,configurable:c,enumerable:f,writable:g},x?a(i(x),S):S};s.gs=function(l,u,c){var f,g,x,S;return typeof l!="string"?(x=c,c=u,u=l,l=null):x=arguments[3],r(u)?n(u)?r(c)?n(c)||(x=c,c=void 0):c=void 0:(x=u,u=c=void 0):u=void 0,r(l)?(f=o.call(l,"c"),g=o.call(l,"e")):(f=true,g=false),S={get:u,set:c,configurable:f,enumerable:g},x?a(i(x),S):S};}),fb=U(function(e,t){var r=pn(),n=Wr(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},f,g,x,S,M,q,H;f=function(X,Y){var Z;return n(Y),u.call(this,"__ee__")?Z=this.__ee__:(Z=c.value=o(null),s(this,"__ee__",c),c.value=null),Z[X]?de(Z[X])==="object"?Z[X].push(Y):Z[X]=[Z[X],Y]:Z[X]=Y,this},g=function(X,Y){var Z,re;return n(Y),re=this,f.call(this,X,Z=function(){x.call(re,X,Z),a.call(Y,this,arguments);}),Z.__eeOnceListener__=Y,this},x=function(X,Y){var Z,re,le,fe;if(n(Y),!u.call(this,"__ee__"))return this;if(Z=this.__ee__,!Z[X])return this;if(re=Z[X],de(re)==="object")for(fe=0;le=re[fe];++fe)(le===Y||le.__eeOnceListener__===Y)&&(re.length===2?Z[X]=re[fe?0:1]:re.splice(fe,1));else (re===Y||re.__eeOnceListener__===Y)&&delete Z[X];return this},S=function(X){var Y,Z,re,le,fe;if(u.call(this,"__ee__")&&(le=this.__ee__[X],!!le))if(de(le)==="object"){for(Z=arguments.length,fe=new Array(Z-1),Y=1;Y<Z;++Y)fe[Y-1]=arguments[Y];for(le=le.slice(),Y=0;re=le[Y];++Y)a.call(re,this,fe);}else switch(arguments.length){case 1:i.call(le,this);break;case 2:i.call(le,this,arguments[1]);break;case 3:i.call(le,this,arguments[1],arguments[2]);break;default:for(Z=arguments.length,fe=new Array(Z-1),Y=1;Y<Z;++Y)fe[Y-1]=arguments[Y];a.call(le,this,fe);}},M={on:f,once:g,off:x,emit:S},q={on:r(f),once:r(g),off:r(x),emit:r(S)},H=l({},q),t.exports=e=function(X){return X==null?o(H):l(Object(X),q)},e.methods=M;}),pb=U(function(e,t){t.exports=function(){var r=Array.from,n,a;return typeof r!="function"?false:(n=["raz","dwa"],a=r(n),!!(a&&a!==n&&a[1]==="dwa"))};}),mb=U(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":de(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),hb=U(function(e,t){var r=function(){if((typeof self>"u"?"undefined":de(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":de(d))==="object"&&d)return d;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),fi=U(function(e,t){t.exports=mb()()?globalThis:hb();}),gb=U(function(e,t){var r=fi(),n={object:true,symbol:true};t.exports=function(){var a=r.Symbol,i;if(typeof a!="function")return false;i=a("test symbol");try{String(i);}catch{return false}return !(!n[de(a.iterator)]||!n[de(a.toPrimitive)]||!n[de(a.toStringTag)])};}),vb=U(function(e,t){t.exports=function(r){return r?de(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),uc=U(function(e,t){var r=vb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),bb=U(function(e,t){var r=pn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,a(i,u,r.gs(null,function(f){c||(c=true,a(this,u,r(f)),c=false);})),u};}),yb=U(function(e,t){var r=pn(),n=fi().Symbol;t.exports=function(a){return Object.defineProperties(a,{hasInstance:r("",n&&n.hasInstance||a("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||a("isConcatSpreadable")),iterator:r("",n&&n.iterator||a("iterator")),match:r("",n&&n.match||a("match")),replace:r("",n&&n.replace||a("replace")),search:r("",n&&n.search||a("search")),species:r("",n&&n.species||a("species")),split:r("",n&&n.split||a("split")),toPrimitive:r("",n&&n.toPrimitive||a("toPrimitive")),toStringTag:r("",n&&n.toStringTag||a("toStringTag")),unscopables:r("",n&&n.unscopables||a("unscopables"))})};}),wb=U(function(e,t){var r=pn(),n=uc(),a=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return a[o]?a[o]:a[o]=i(String(o))}),keyFor:r(function(o){var s;n(o);for(s in a)if(a[s]===o)return s})})};}),xb=U(function(e,t){var r=pn(),n=uc(),a=fi().Symbol,i=bb(),o=yb(),s=wb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,f,g,x;if(typeof a=="function")try{String(a()),x=!0;}catch{}else a=null;g=function(M){if(this instanceof g)throw new TypeError("Symbol is not a constructor");return f(M)},t.exports=f=function S(M){var q;if(this instanceof S)throw new TypeError("Symbol is not a constructor");return x?a(M):(q=l(g.prototype),M=M===void 0?"":String(M),u(q,{__description__:r("",M),__name__:r("",i(M))}))},o(f),s(f),u(g.prototype,{constructor:r(f),toString:r("",function(){return this.__name__})}),u(f.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(f.prototype,f.toPrimitive,r("",function(){var S=n(this);return de(S)==="symbol"?S:S.toString()})),c(f.prototype,f.toStringTag,r("c","Symbol")),c(g.prototype,f.toStringTag,r("c",f.prototype[f.toStringTag])),c(g.prototype,f.toPrimitive,r("c",f.prototype[f.toPrimitive]));}),Db=U(function(e,t){t.exports=gb()()?fi().Symbol:xb();}),Ab=U(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),_b=U(function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(a){return typeof a=="function"&&n(r.call(a))};}),Eb=U(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&de(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),Cb=U(function(e,t){var r=Db().iterator,n=Ab(),a=_b(),i=dn(),o=Wr(),s=En(),l=cn(),u=Eb(),c=Array.isArray,f=Function.prototype.call,g={configurable:true,enumerable:true,writable:true,value:null},x=Object.defineProperty;t.exports=function(S){var M=arguments[1],q=arguments[2],H,$,X,Y,Z,re,le,fe,Ae,ue;if(S=Object(s(S)),l(M)&&o(M),!this||this===Array||!a(this)){if(!M){if(n(S))return Z=S.length,Z!==1?Array.apply(null,S):(Y=new Array(1),Y[0]=S[0],Y);if(c(S)){for(Y=new Array(Z=S.length),$=0;$<Z;++$)Y[$]=S[$];return Y}}Y=[];}else H=this;if(!c(S)){if((Ae=S[r])!==void 0){for(le=o(Ae).call(S),H&&(Y=new H),fe=le.next(),$=0;!fe.done;)ue=M?f.call(M,q,fe.value,$):fe.value,H?(g.value=ue,x(Y,$,g)):Y[$]=ue,fe=le.next(),++$;Z=$;}else if(u(S)){for(Z=S.length,H&&(Y=new H),$=0,X=0;$<Z;++$)ue=S[$],$+1<Z&&(re=ue.charCodeAt(0),re>=55296&&re<=56319&&(ue+=S[++$])),ue=M?f.call(M,q,ue,X):ue,H?(g.value=ue,x(Y,X,g)):Y[X]=ue,++X;Z=X;}}if(Z===void 0)for(Z=i(S.length),H&&(Y=new H(Z)),$=0;$<Z;++$)ue=M?f.call(M,q,S[$],$):S[$],H?(g.value=ue,x(Y,$,g)):Y[$]=ue;return H&&(g.value=null,Y.length=Z),Y};}),Wo=U(function(e,t){t.exports=pb()()?Array.from:Cb();}),Sb=U(function(e,t){var r=Wo(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),kb=U(function(e,t){var r=Sb(),n=cn(),a=Wr(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){n(l)&&a(l);}),o.bind(s)};}),Tb=U(function(e,t){var r=Wr();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),Rb=U(function(e,t){var r=ab(),n=sc(),a=pn(),i=fb().methods,o=kb(),s=Tb(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,f=Object.defineProperties,g=i.on,x=i.emit;t.exports=function(S,M,q){var H=c(null),$,X,Y,Z,re,le,fe,Ae,ue,he,ye,_e,Oe,$e,Ie;return M!==false?X=M:isNaN(S.length)?X=1:X=S.length,q.normalizer&&(he=s(q.normalizer),Y=he.get,Z=he.set,re=he.delete,le=he.clear),q.resolvers!=null&&(Ie=o(q.resolvers)),Y?$e=n(function(He){var ve,Pe,ee=arguments;if(Ie&&(ee=Ie(ee)),ve=Y(ee),ve!==null&&hasOwnProperty.call(H,ve))return ye&&$.emit("get",ve,ee,this),H[ve];if(ee.length===1?Pe=u.call(S,this,ee[0]):Pe=l.call(S,this,ee),ve===null){if(ve=Y(ee),ve!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ve=Z(ee);}else if(hasOwnProperty.call(H,ve))throw r("Circular invocation","CIRCULAR_INVOCATION");return H[ve]=Pe,_e&&$.emit("set",ve,null,Pe),Pe},X):M===0?$e=function(){var ve;if(hasOwnProperty.call(H,"data"))return ye&&$.emit("get","data",arguments,this),H.data;if(arguments.length?ve=l.call(S,this,arguments):ve=u.call(S,this),hasOwnProperty.call(H,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return H.data=ve,_e&&$.emit("set","data",null,ve),ve}:$e=function(ve){var Pe,ee=arguments,Se;if(Ie&&(ee=Ie(arguments)),Se=String(ee[0]),hasOwnProperty.call(H,Se))return ye&&$.emit("get",Se,ee,this),H[Se];if(ee.length===1?Pe=u.call(S,this,ee[0]):Pe=l.call(S,this,ee),hasOwnProperty.call(H,Se))throw r("Circular invocation","CIRCULAR_INVOCATION");return H[Se]=Pe,_e&&$.emit("set",Se,null,Pe),Pe},$={original:S,memoized:$e,profileName:q.profileName,get:function(ve){return Ie&&(ve=Ie(ve)),Y?Y(ve):String(ve[0])},has:function(ve){return hasOwnProperty.call(H,ve)},delete:function(ve){var Pe;hasOwnProperty.call(H,ve)&&(re&&re(ve),Pe=H[ve],delete H[ve],Oe&&$.emit("delete",ve,Pe));},clear:function(){var ve=H;le&&le(),H=c(null),$.emit("clear",ve);},on:function(ve,Pe){return ve==="get"?ye=true:ve==="set"?_e=true:ve==="delete"&&(Oe=true),g.call(this,ve,Pe)},emit:x,updateEnv:function(){S=$.original;}},Y?fe=n(function(He){var ve,Pe=arguments;Ie&&(Pe=Ie(Pe)),ve=Y(Pe),ve!==null&&$.delete(ve);},X):M===0?fe=function(){return $.delete("data")}:fe=function(ve){return Ie&&(ve=Ie(arguments)[0]),$.delete(ve)},Ae=n(function(){var He,ve=arguments;return M===0?H.data:(Ie&&(ve=Ie(ve)),Y?He=Y(ve):He=String(ve[0]),H[He])}),ue=n(function(){var He,ve=arguments;return M===0?$.has("data"):(Ie&&(ve=Ie(ve)),Y?He=Y(ve):He=String(ve[0]),He===null?false:$.has(He))}),f($e,{__memoized__:a(true),delete:a(fe),clear:a($.clear),_get:a(Ae),_has:a(ue)}),$};}),Fb=U(function(e,t){var r=Wr(),n=di(),a=fn(),i=Rb(),o=ac();t.exports=function s(l){var u,c,f;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&a.async),f=i(l,c,u),n(a,function(g,x){u[x]&&g(u[x],f,u);}),s.__profiler__&&s.__profiler__(f),f.updateEnv(),f.memoized)};}),Ib=U(function(e,t){t.exports=function(r){var n,a,i=r.length;if(!i)return "";for(n=String(r[a=0]);--i;)n+=""+r[++a];return n};}),Lb=U(function(e,t){t.exports=function(r){return r?function(n){for(var a=String(n[0]),i=0,o=r;--o;)a+=""+n[++i];return a}:function(){return ""}};}),Mb=U(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),Pb=U(function(e,t){t.exports=function(r){return r!==r};}),Ob=U(function(e,t){t.exports=Mb()()?Number.isNaN:Pb();}),Uo=U(function(e,t){var r=Ob(),n=dn(),a=En(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,f,g,x;if(!r(u))return i.apply(this,arguments);for(f=n(a(this).length),g=arguments[1],isNaN(g)?g=0:g>=0?g=l(g):g=n(this.length)-l(s(g)),c=g;c<f;++c)if(o.call(this,c)&&(x=this[c],r(x)))return c;return -1};}),Nb=U(function(e,t){var r=Uo(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,f,g=l.length;if(g===0)return c[g]||null;if(c=c[g]){for(;u<g-1;){if(f=r.call(c[0],l[u]),f===-1)return null;c=c[1][f],++u;}return f=r.call(c[0],l[u]),f===-1?null:c[1][f]||null}return null},set:function(l){var u=0,c=i,f,g=l.length;if(g===0)c[g]=++a;else {for(c[g]||(c[g]=[[],[]]),c=c[g];u<g-1;)f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][f],++u;f=r.call(c[0],l[u]),f===-1&&(f=c[0].push(l[u])-1),c[1][f]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,f,g=o[l],x=g.length,S=[];if(x===0)delete c[x];else if(c=c[x]){for(;u<x-1;){if(f=r.call(c[0],g[u]),f===-1)return;S.push(c,f),c=c[1][f],++u;}if(f=r.call(c[0],g[u]),f===-1)return;for(l=c[1][f],c[0].splice(f,1),c[1].splice(f,1);!c[0].length&&S.length;)f=S.pop(),c=S.pop(),c[0].splice(f,1),c[1].splice(f,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),qb=U(function(e,t){var r=Uo();t.exports=function(){var n=0,a=[],i=[];return {get:function(s){var l=r.call(a,s[0]);return l===-1?null:i[l]},set:function(s){return a.push(s[0]),i.push(++n),n},delete:function(s){var l=r.call(i,s);l!==-1&&(a.splice(l,1),i.splice(l,1));},clear:function(){a=[],i=[];}}};}),Bb=U(function(e,t){var r=Uo(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,f=o,g;c<a-1;){if(g=r.call(f[0],u[c]),g===-1)return null;f=f[1][g],++c;}return g=r.call(f[0],u[c]),g===-1?null:f[1][g]||null},set:function(u){for(var c=0,f=o,g;c<a-1;)g=r.call(f[0],u[c]),g===-1&&(g=f[0].push(u[c])-1,f[1].push([[],[]])),f=f[1][g],++c;return g=r.call(f[0],u[c]),g===-1&&(g=f[0].push(u[c])-1),f[1][g]=++i,s[i]=u,i},delete:function(u){for(var c=0,f=o,g,x=[],S=s[u];c<a-1;){if(g=r.call(f[0],S[c]),g===-1)return;x.push(f,g),f=f[1][g],++c;}if(g=r.call(f[0],S[c]),g!==-1){for(u=f[1][g],f[0].splice(g,1),f[1].splice(g,1);!f[0].length&&x.length;)g=x.pop(),f=x.pop(),f[0].splice(g,1),f[1].splice(g,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),cc=U(function(e,t){var r=Wr(),n=di(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,f,g){s[c]=a.call(o,l,u,c,f,g);}),s};}),Xo=U(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=m.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":de(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof m>"u"?"undefined":de(m))==="object"&&m){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":de(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),Hb=U(function(){var e=Wo(),t=cc(),r=oc(),n=sc(),a=Xo(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;fn().async=function(l,u){var c=s(null),f=s(null),g=u.memoized,x=u.original,S,M,q;u.memoized=n(function(H){var $=arguments,X=$[$.length-1];return typeof X=="function"&&(S=X,$=i.call($,0,-1)),g.apply(M=this,q=$)},g);try{r(u.memoized,g);}catch{}u.on("get",function(H){var $,X,Y;if(S){if(c[H]){typeof c[H]=="function"?c[H]=[c[H],S]:c[H].push(S),S=null;return}$=S,X=M,Y=q,S=M=q=null,a(function(){var Z;hasOwnProperty.call(f,H)?(Z=f[H],u.emit("getasync",H,Y,X),o.call($,Z.context,Z.args)):(S=$,M=X,q=Y,g.apply(X,Y));});}}),u.original=function(){var H,$,X,Y;return S?(H=e(arguments),$=function Z(re){var le,fe,Ae=Z.id;if(Ae==null){a(o.bind(Z,this,arguments));return}if(delete Z.id,le=c[Ae],delete c[Ae],!!le)return fe=e(arguments),u.has(Ae)&&(re?u.delete(Ae):(f[Ae]={context:this,args:fe},u.emit("setasync",Ae,typeof le=="function"?1:le.length))),typeof le=="function"?Y=o.call(le,this,fe):le.forEach(function(ue){Y=o.call(ue,this,fe);},this),Y},X=S,S=M=q=null,H.push($),Y=o.call(x,this,H),$.cb=X,S=$,Y):o.call(x,this,arguments)},u.on("set",function(H){if(!S){u.delete(H);return}c[H]?typeof c[H]=="function"?c[H]=[c[H],S.cb]:c[H].push(S.cb):c[H]=S.cb,delete S.cb,S.id=H,S=null;}),u.on("delete",function(H){var $;hasOwnProperty.call(c,H)||f[H]&&($=f[H],delete f[H],u.emit("deleteasync",H,i.call($.args,1)));}),u.on("clear",function(){var H=f;f=s(null),u.emit("clearasync",t(H,function($){return i.call($.args,1)}));});};}),Vb=U(function(e,t){var r=Array.prototype.forEach,n=Object.create;t.exports=function(a){var i=n(null);return r.call(arguments,function(o){i[o]=true;}),i};}),dc=U(function(e,t){t.exports=function(r){return typeof r=="function"};}),jb=U(function(e,t){var r=dc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),$b=U(function(e,t){var r=En(),n=jb();t.exports=function(a){return n(r(a))};}),zb=U(function(e,t){var r=dc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),Gb=U(function(e,t){var r=zb(),n=/[\n\r\u2028\u2029]/g;t.exports=function(a){var i=r(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(n,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),fc=U(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(de(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),Wb=U(function(){var e=cc(),t=Vb(),r=$b(),n=Gb(),a=fc(),i=Xo(),o=Object.create,s=t("then","then:finally","done","done:finally");fn().promise=function(l,u){var c=o(null),f=o(null),g=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");u.on("set",function(x,S,M){var q=false;if(!a(M)){f[x]=M,u.emit("setasync",x,1);return}c[x]=1,g[x]=M;var H=function(re){var le=c[x];if(q)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
|
|
366
|
+
Consider to rely on 'then' or 'done' mode instead.`);le&&(delete c[x],f[x]=re,u.emit("setasync",x,le));},$=function(){q=true,c[x]&&(delete c[x],delete g[x],u.delete(x));},X=l;if(X||(X="then"),X==="then"){var Y=function(){i($);};M=M.then(function(Z){i(H.bind(this,Z));},Y),typeof M.finally=="function"&&M.finally(Y);}else if(X==="done"){if(typeof M.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");M.done(H,$);}else if(X==="done:finally"){if(typeof M.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof M.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");M.done(H),M.finally($);}}),u.on("get",function(x,S,M){var q;if(c[x]){++c[x];return}q=g[x];var H=function(){u.emit("getasync",x,S,M);};a(q)?typeof q.done=="function"?q.done(H):q.then(function(){i(H);}):H();}),u.on("delete",function(x){if(delete g[x],c[x]){delete c[x];return}if(hasOwnProperty.call(f,x)){var S=f[x];delete f[x],u.emit("deleteasync",x,[S]);}}),u.on("clear",function(){var x=f;f=o(null),c=o(null),g=o(null),u.emit("clearasync",e(x,function(S){return [S]}));});};}),Ub=U(function(){var e=Wr(),t=di(),r=fn(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){n.call(a,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){a(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),Xb=U(function(e,t){t.exports=2147483647;}),Yb=U(function(e,t){var r=dn(),n=Xb();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Kb=U(function(){var e=Wo(),t=di(),r=Xo(),n=fc(),a=Yb(),i=fn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,f,g){var x,S,M,q;c=a(c),c&&(x=u(null),S=g.async&&i.async||g.promise&&i.promise?"async":"",f.on("set"+S,function(H){x[H]=setTimeout(function(){f.delete(H);},c),typeof x[H].unref=="function"&&x[H].unref(),q&&(q[H]&&q[H]!=="nextTick"&&clearTimeout(q[H]),q[H]=setTimeout(function(){delete q[H];},M),typeof q[H].unref=="function"&&q[H].unref());}),f.on("delete"+S,function(H){clearTimeout(x[H]),delete x[H],q&&(q[H]!=="nextTick"&&clearTimeout(q[H]),delete q[H]);}),g.preFetch&&(g.preFetch===true||isNaN(g.preFetch)?M=.333:M=s(l(Number(g.preFetch),1),0),M&&(q={},M=(1-M)*c,f.on("get"+S,function(H,$,X){q[H]||(q[H]="nextTick",r(function(){var Y;q[H]==="nextTick"&&(delete q[H],f.delete(H),g.async&&($=e($),$.push(o)),Y=f.memoized.apply(X,$),g.promise&&n(Y)&&(typeof Y.done=="function"?Y.done(o,o):Y.then(o,o)));}));}))),f.on("clear"+S,function(){t(x,function(H){clearTimeout(H);}),x={},q&&(t(q,function(H){H!=="nextTick"&&clearTimeout(H);}),q={});}));};}),Jb=U(function(e,t){var r=dn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,f;return i=r(i),{hit:function(x){var S=u[x],M=++c;if(l[M]=x,u[x]=M,!S)return ++o,o<=i?void 0:(x=l[s],f(x),x);if(delete l[S],s===S)for(;!a.call(l,++s););},delete:f=function(x){var S=u[x];if(S&&(delete l[S],delete u[x],--o,s===S)){if(!o){c=0,s=1;return}for(;!a.call(l,++s););}},clear:function(){o=0,s=1,l=n(null),u=n(null),c=0;}}};}),Zb=U(function(){var e=dn(),t=Jb(),r=fn();r.max=function(n,a,i){var o,s,l;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&a.delete(c);}),a.on("get"+o,l),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),Qb=U(function(){var e=pn(),t=fn(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),ey=U(function(e,t){var r=nc(),n=ac(),a=Fb();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=Ib():s>1&&(o.normalizer=Lb()(s)):s===false?o.normalizer=Nb()():s===1?o.normalizer=qb()():o.normalizer=Bb()(s))),o.async&&Hb(),o.promise&&Wb(),o.dispose&&Ub(),o.maxAge&&Kb(),o.max&&Zb(),o.refCounter&&Qb(),a(i,o)};}),ty=[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}],fr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};ty.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;fr[t]=r,fr[t+"_PRIO"]=n,fr[t+"_GROUP"]=a,fr.results[n]=r,fr.resultGroups[n]=a,fr.resultGroupMap[r]=a;}),Object.freeze(fr.results),Object.freeze(fr.resultGroups),Object.freeze(fr.resultGroupMap),Object.freeze(fr);var Ue=fr;function ry(){(typeof console>"u"?"undefined":de(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var mn=ry,ny=/[\t\r\n\f]/g,ay=(function(){function e(){Qt(this,e),this.parent=void 0;}return Vt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(ny," ").indexOf(a)>=0}}])})(),Ft=ay,Yo={};ur(Yo,{DqElement:function(){return ar},RuleError:function(){return bo},aggregate:function(){return pi},aggregateChecks:function(){return hc},aggregateNodeResults:function(){return gc},aggregateResult:function(){return vc},areStylesSet:function(){return dy},assert:function(){return rt},checkHelper:function(){return As},clone:function(){return Or},closest:function(){return Xt},collectResultsFromFrames:function(){return sf},contains:function(){return Nr},convertSelector:function(){return Pi},cssParser:function(){return Hd},deepMerge:function(){return Os},escapeSelector:function(){return wt},extendMetaData:function(){return Ns},filterHtmlAttrs:function(){return Dm},finalizeRuleResult:function(){return ea},findBy:function(){return ya},getAllChecks:function(){return Hi},getAncestry:function(){return Mi},getBaseLang:function(){return Dn},getCheckMessage:function(){return R2},getCheckOption:function(){return fo},getElementSource:function(){return qd},getEnvironmentData:function(){return an},getFlattenedTree:function(){return El},getFrameContexts:function(){return U2},getFriendlyUriEnd:function(){return wc},getNodeAttributes:function(){return na},getNodeFromTree:function(){return Ye},getPreloadConfig:function(){return bm},getRootNode:function(){return wa},getRule:function(){return rm},getScroll:function(){return Hr},getScrollState:function(){return K2},getSelector:function(){return xs},getSelectorData:function(){return Li},getShadowSelector:function(){return bs},getStandards:function(){return J2},getStyleSheetFactory:function(){return im},getXpath:function(){return Nd},injectStyle:function(){return e_},isArrayLike:function(){return Rl},isContextObject:function(){return Fl},isContextProp:function(){return mo},isContextSpec:function(){return om},isHidden:function(){return t_},isHtmlElement:function(){return Ll},isLabelledFramesSelector:function(){return Il},isLabelledShadowDomSelector:function(){return ho},isNodeInContext:function(){return Ml},isShadowRoot:function(){return ji},isValidLang:function(){return wo},isXHTML:function(){return fa},matchAncestry:function(){return Pl},matches:function(){return Es},matchesExpression:function(){return Tn},matchesSelector:function(){return Cn},memoize:function(){return pt},mergeResults:function(){return Vi},nodeLookup:function(){return tt},nodeSerializer:function(){return ir},nodeSorter:function(){return Ol},objectHasOwn:function(){return Er},parseCrossOriginStylesheet:function(){return ql},parseSameOriginStylesheet:function(){return um},parseStylesheet:function(){return Nl},parseTabindex:function(){return Cr},performanceTimer:function(){return ot},pollyfillElementsFromPoint:function(){return cm},preload:function(){return gm},preloadCssom:function(){return fm},preloadMedia:function(){return hm},processMessage:function(){return Tl},publishMetaData:function(){return go},querySelectorAll:function(){return Zt},querySelectorAllFilter:function(){return Sr},queue:function(){return xr},respondable:function(){return hr},ruleShouldRun:function(){return xm},select:function(){return Bl},sendCommandToFrame:function(){return rf},serializeError:function(){return vo},setScrollState:function(){return M_},shadowSelect:function(){return P_},shadowSelectAll:function(){return Hl},shouldPreload:function(){return vm},toArray:function(){return yc},tokenList:function(){return Bt},uniqueArray:function(){return Pa},uuid:function(){return Bw},validInputTypes:function(){return yo},validLangs:function(){return Sm}});function iy(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var pi=iy,oy=Ue.CANTTELL_PRIO,sy=Ue.FAIL_PRIO,mi=[];mi[Ue.PASS_PRIO]=true,mi[Ue.CANTTELL_PRIO]=null,mi[Ue.FAIL_PRIO]=false;var pc=["any","all","none"];function mc(e,t){return pc.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function ly(e){var t=Object.assign({},e);mc(t,function(a,i){var o=typeof a.result>"u"?-1:mi.indexOf(a.result);a.priority=o!==-1?o:Ue.CANTTELL_PRIO,i==="none"&&(a.priority===Ue.PASS_PRIO?a.priority=Ue.FAIL_PRIO:a.priority===Ue.FAIL_PRIO&&(a.priority=Ue.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return pc.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[oy,sy].includes(t.priority)?t.impact=pi(Ue.impact,n):t.impact=null,mc(t,function(a){delete a.result,delete a.priority;}),t.result=Ue.results[t.priority],delete t.priority,t}var hc=ly;function ea(e){var t=h._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,gc(e.nodes)),delete e.nodes,e}function uy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return hc(i);if(Array.isArray(i.node))return ea(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=pi(Ue.results,r,t.result);}else t.result="inapplicable";Ue.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Ue.resultGroupMap[i.result];t[o].push(i);});var n=Ue.FAIL_GROUP;if(t[n].length===0&&(n=Ue.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=pi(Ue.impact,a)||null;}else t.impact=null;return t}var gc=uy;function Ko(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Ue.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function cy(e){var t={};return Ue.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Ko(t,r,Ue.CANTTELL_GROUP):r.result===Ue.NA?Ko(t,r,Ue.NA_GROUP):Ue.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&Ko(t,r,n);});}),t}var vc=cy;function bc(e,t,r){var n=d.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:bc(e.parentNode,t,r)}var dy=bc;function fy(e,t){if(!e)throw new Error(t)}var rt=fy;function py(e){return Array.prototype.slice.call(e)}var yc=py;function my(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var wt=my;function hy(){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 ta(e,t){return [e.substring(0,t),e.substring(t)]}function ra(e){return e.replace(/\s+$/,"")}function gy(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=ta(e,e.indexOf("#")),u=xe(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=ta(e,e.indexOf("?")),f=xe(c,2);e=f[0],o=f[1];}if(e.includes("://")){var g=e.split("://"),x=xe(g,2);r=x[0],e=x[1];var S=ta(e,e.indexOf("/")),M=xe(S,2);n=M[0],e=M[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var q=ta(e,e.indexOf("/")),H=xe(q,2);n=H[0],e=H[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var $=ta(n,n.indexOf(":")),X=xe($,2);n=X[0],a=X[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function vy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=gy(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=a?ra(u+l):u.length<2&&l.length>2&&l.length<=a?ra(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ra(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=a&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!hy(u))return ra(u)}}var wc=vy;function by(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var na=by,yy=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),Cn=yy,xc={};ur(xc,{ArrayFrom:function(){return Fd.default},Colorjs:function(){return ct},CssSelectorParser:function(){return Dc.CssSelectorParser},doT:function(){return Ur.default},emojiRegexText:function(){return Jo},memoize:function(){return Ac.default}});var wy=br(Bg()),xy=br(Hg());br(Vg());var Dy=br(tv()),Ay=br(fv()),_y=br(tc());"hasOwn"in Object||(Object.hasOwn=Dy.default),"values"in Object||(Object.values=Ay.default),"Promise"in d||wy.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=xy.Uint32Array),d.Uint32Array&&("some"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=_y.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),d.Node&&!("isConnected"in d.Node.prototype)&&Object.defineProperty(d.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Dc=br(zv()),Ur=br(Gv()),Jo=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},Ac=br(ey());function At(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var n=t[0].length,a=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return a.map(function(s){var l=0;if(!Array.isArray(o)){var u=at(s),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;l+=o*f;}}catch(x){u.e(x);}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]),n===1?i.map(function(o){return o[0]}):i}function aa(e){return Xr(e)==="string"}function Xr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function hi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function _c(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function Ec(e){return e[e.length-1]}function gi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Cc(e,t,r){return (r-e)/(t-e)}function Zo(e,t,r){return gi(t[0],t[1],Cc(e[0],e[1],r))}function Sc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var Ey=Object.freeze({__proto__:null,isString:aa,type:Xr,toPrecision:hi,parseFunction:_c,last:Ec,interpolate:gi,interpolateInv:Cc,mapRange:Zo,parseCoordGrammar:Sc,multiplyMatrices:At}),Cy=(function(){function e(){Qt(this,e);}return Vt(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),Yr=new Cy,wr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},pr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Qo(e){return Array.isArray(e)?e:pr[e]}function vi(e,t,r){var n=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 a={W1:e,W2:t,XYZ:r,options:n};if(Yr.run("chromatic-adaptation-start",a),a.M||(a.W1===pr.D65&&a.W2===pr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===pr.D50&&a.W2===pr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Yr.run("chromatic-adaptation-end",a),a.M)return At(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Sy=75e-6,mr=(te=new WeakSet,oe=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;Qt(this,e),Za(this,te),vr(this,oe,void 0),this.id=t.id,this.name=t.name,this.base=t.base?mr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=Qo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var f in this.formats){var g=this.formats[f];g.type||(g.type="function"),g.name||(g.name=f);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Rt(oe,this,zr(te,this,ky).call(this).reverse()),Yr.run("colorspace-init-end",this);}return Vt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Sy:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=xe(u.range,2),f=c[0],g=c[1];return (f===void 0||s>=f-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(de(r)==="object")return r=zr(te,this,kc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=zr(te,this,kc).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=mr.get(r),this===r)return n;n=n.map(function(g){return Number.isNaN(g)?0:g});for(var i=Ht(oe,this),o=Ht(oe,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)n=i[c].toBase(n);for(var f=l+1;f<o.length;f++)n=o[f].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=mr.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return Ce(new Set(Object.values(mr.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=at(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof mr)return r;var n=Xr(r);if(n==="string"){var a=mr.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return mr.get.apply(mr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=Xr(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=xe(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=xe(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=mr.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=Xr(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Re({space:i,id:c[0],index:o},c[1])}i=mr.get(i);var f=o.toLowerCase(),g=0;for(var x in i.coords){var S,M=i.coords[x];if(x.toLowerCase()===f||((S=M.name)===null||S===void 0?void 0:S.toLowerCase())===f)return Re({space:i,id:x,index:g},M);g++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function kc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Sc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=xe(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(a=Zo(s,l,a)),a=hi(a,n),u&&(a+=u),a})};}return e}function ky(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Be=mr;Iu(Be,"registry",{}),Iu(Be,"DEFAULT_FORMAT",{type:"functions",name:"color"});var tr=new Be({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),$t=(function(e){function t(r){var n,a;if(Qt(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=tr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=At(r.toXYZ_M,s);return a.white!==a.base.white&&(l=vi(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=vi(a.base.white,a.white,s),At(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=ne(this,t,[r])}return De(t,e),Vt(t)})(Be);function Tc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Yr.run("parse-start",r),r.color)return r.color;if(r.parsed=_c(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=at(Be.all),s;try{var l=function(){var Ae=s.value,ue=Ae.getFormat("color");if(ue){var he;if(a===ue.id||(he=ue.ids)!==null&&he!==void 0&&he.includes(a)){var ye=Object.keys(Ae.coords).length,_e=Array(ye).fill(0);return _e.forEach(function(Oe,$e){return _e[$e]=r.parsed.args[$e]||0}),{v:{spaceId:Ae.id,coords:_e,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(fe){o.e(fe);}finally{o.f();}var c="";if(a in Be.registry){var f,g=(f=Be.registry[a].formats)===null||f===void 0||(f=f.functions)===null||f===void 0||(f=f.color)===null||f===void 0?void 0:f.id;g&&(c="Did you mean color(".concat(g,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var x=at(Be.all),S;try{var M=function(){var Ae=S.value,ue=Ae.getFormat(n);if(ue&&ue.type==="function"){var he=1;(ue.lastAlpha||Ec(r.parsed.args).alpha)&&(he=r.parsed.args.pop());var ye=r.parsed.args;return ue.coordGrammar&&Object.entries(Ae.coords).forEach(function(_e,Oe){var $e,Ie=xe(_e,2),He=Ie[0],ve=Ie[1],Pe=ue.coordGrammar[Oe],ee=($e=ye[Oe])===null||$e===void 0?void 0:$e.type;if(Pe=Pe.find(function(je){return je==ee}),!Pe){var Se=ve.name||He;throw new TypeError("".concat(ee," not allowed for ").concat(Se," in ").concat(n,"()"))}var me=Pe.range;ee==="<percentage>"&&(me||(me=[0,1]));var ke=ve.range||ve.refRange;me&&ke&&(ye[Oe]=Zo(me,ke,ye[Oe]));}),{v:{spaceId:Ae.id,coords:ye,alpha:he}}}},q;for(x.s();!(S=x.n()).done;)if(q=M(),q)return q.v}catch(fe){x.e(fe);}finally{x.f();}}}else {var H=at(Be.all),$;try{for(H.s();!($=H.n()).done;){var X=$.value;for(var Y in X.formats){var Z=X.formats[Y];if(Z.type==="custom"&&!(Z.test&&!Z.test(r.str))){var re=Z.parse(r.str);if(re){var le;return (le=re.alpha)!==null&&le!==void 0||(re.alpha=1),re}}}}}catch(fe){H.e(fe);}finally{H.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function st(e){if(!e)throw new TypeError("Empty color reference");aa(e)&&(e=Tc(e));var t=e.space||e.spaceId;return t instanceof Be||(e.space=Be.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ia(e,t){return t=Be.get(t),t.from(e)}function rr(e,t){var r=Be.resolveCoord(t,e.space),n=r.space,a=r.index,i=ia(e,n);return i[a]}function Rc(e,t,r){return t=Be.get(t),e.coords=t.to(e.space,r),e}function Kr(e,t,r){if(e=st(e),arguments.length===2&&Xr(arguments[1])==="object"){var n=arguments[1];for(var a in n)Kr(e,a,n[a]);}else {typeof r=="function"&&(r=r(rr(e,t)));var i=Be.resolveCoord(t,e.space),o=i.space,s=i.index,l=ia(e,o);l[s]=r,Rc(e,o,l);}return e}var es=new Be({id:"xyz-d50",name:"XYZ D50",white:"D50",base:tr,fromBase:function(t){return vi(tr.white,"D50",t)},toBase:function(t){return vi("D50",tr.white,t)},formats:{color:{}}}),Ty=216/24389,Fc=24/116,bi=24389/27,ts=pr.D50,Ut=new Be({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ts,base:es,fromBase:function(t){var r=t.map(function(a,i){return a/ts[i]}),n=r.map(function(a){return a>Ty?Math.cbrt(a):(bi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Fc?Math.pow(r[0],3):(116*r[0]-16)/bi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/bi,r[2]>Fc?Math.pow(r[2],3):(116*r[2]-16)/bi];return n.map(function(a,i){return a*ts[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function yi(e){return (e%360+360)%360}function Ry(e,t){if(e==="raw")return t;var r=t.map(yi),n=xe(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var oa=new Be({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ut,fromBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Ic=Math.pow(25,7),wi=Math.PI,Lc=180/wi,Sn=wi/180;function rs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=Ut.from(e),c=xe(u,3),f=c[0],g=c[1],x=c[2],S=oa.from(Ut,[f,g,x])[1],M=Ut.from(t),q=xe(M,3),H=q[0],$=q[1],X=q[2],Y=oa.from(Ut,[H,$,X])[1];S<0&&(S=0),Y<0&&(Y=0);var Z=(S+Y)/2,re=Math.pow(Z,7),le=.5*(1-Math.sqrt(re/(re+Ic))),fe=(1+le)*g,Ae=(1+le)*$,ue=Math.sqrt(Math.pow(fe,2)+Math.pow(x,2)),he=Math.sqrt(Math.pow(Ae,2)+Math.pow(X,2)),ye=fe===0&&x===0?0:Math.atan2(x,fe),_e=Ae===0&&X===0?0:Math.atan2(X,Ae);ye<0&&(ye+=2*wi),_e<0&&(_e+=2*wi),ye*=Lc,_e*=Lc;var Oe=H-f,$e=he-ue,Ie=_e-ye,He=ye+_e,ve=Math.abs(Ie),Pe;ue*he===0?Pe=0:ve<=180?Pe=Ie:Ie>180?Pe=Ie-360:Ie<-180?Pe=Ie+360:console.log("the unthinkable has happened");var ee=2*Math.sqrt(he*ue)*Math.sin(Pe*Sn/2),Se=(f+H)/2,me=(ue+he)/2,ke=Math.pow(me,7),je;ue*he===0?je=He:ve<=180?je=He/2:He<360?je=(He+360)/2:je=(He-360)/2;var Fe=Math.pow(Se-50,2),Me=1+.015*Fe/Math.sqrt(20+Fe),Qe=1+.045*me,lt=1;lt-=.17*Math.cos((je-30)*Sn),lt+=.24*Math.cos(2*je*Sn),lt+=.32*Math.cos((3*je+6)*Sn),lt-=.2*Math.cos((4*je-63)*Sn);var dt=1+.015*me*lt,xt=30*Math.exp(-1*Math.pow((je-275)/25,2)),Ct=2*Math.sqrt(ke/(ke+Ic)),Et=-1*Math.sin(2*xt*Sn)*Ct,ht=Math.pow(Oe/(a*Me),2);return ht+=Math.pow($e/(o*Qe),2),ht+=Math.pow(ee/(l*dt),2),ht+=Et*($e/(o*Qe))*(ee/(l*dt)),Math.sqrt(ht)}var Fy=75e-6;function sa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?Fy:n;e=st(e),t=Be.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function la(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?wr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(aa(arguments[1])&&(i=arguments[1]),i=Be.get(i),sa(e,i,{epsilon:0}))return e;var o=nr(e,i);if(n!=="clip"&&!sa(e,i)){var s=Jr(la(o),{method:"clip",space:i});if(rs(e,s)>2){for(var l=Be.resolveCoord(n),u=l.space,c=l.id,f=nr(o,u),g=l.range||l.refRange,x=g[0],S=.01,M=x,q=rr(f,c);q-M>S;){var H=la(f);H=Jr(H,{space:i,method:"clip"});var $=rs(f,H);$-2<S?M=rr(f,c):q=rr(f,c),Kr(f,c,(M+q)/2);}o=nr(f,i);}else o=s;}if(n==="clip"||!sa(o,i,{epsilon:0})){var X=Object.values(i.coords).map(function(Y){return Y.range||[]});o.coords=o.coords.map(function(Y,Z){var re=xe(X[Z],2),le=re[0],fe=re[1];return le!==void 0&&(Y=Math.max(le,Y)),fe!==void 0&&(Y=Math.min(Y,fe)),Y});}return i!==e.space&&(o=nr(o,e.space)),e.coords=o.coords,e}Jr.returns="color";function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=st(e),t=Be.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=Jr(i)),i}nr.returns="color";function xi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?wr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=Q(n,b),f;e=st(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:Be.DEFAULT_FORMAT,u||(u=s.toGamut);var x=e.coords;if(x=x.map(function(Y){return Y||0}),u&&!sa(e)&&(x=Jr(la(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)f=s.serialize(x,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?x=s.serializeCoords(x,i):i!==null&&(x=x.map(function(Y){return hi(Y,i)}));var M=Ce(x);if(S==="color"){var q,H=s.id||((q=s.ids)===null||q===void 0?void 0:q[0])||e.space.id;M.unshift(H);}var $=e.alpha;i!==null&&($=hi($,i));var X=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat($):"";f="".concat(S,"(").concat(M.join(s.commas?", ":" ")).concat(X,")");}return f}var Iy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],Ly=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],Di=new $t({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:Iy,fromXYZ_M:Ly,formats:{color:{}}}),Ai=1.09929682680944,Mc=.018053968510807,Pc=new $t({id:"rec2020",name:"REC.2020",base:Di,toBase:function(t){return t.map(function(r){return r<Mc*4.5?r/4.5:Math.pow((r+Ai-1)/Ai,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Mc?Ai*Math.pow(r,.45)-(Ai-1):4.5*r})},formats:{color:{}}}),My=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Py=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Oc=new $t({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:My,fromXYZ_M:Py}),Oy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],Ny=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Nc=new $t({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Oy,fromXYZ_M:Ny,formats:{color:{}}}),qc={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]},Bc=Array(3).fill("<percentage> | <number>[0, 255]"),Hc=Array(3).fill("<number>[0, 255]"),ua=new $t({id:"srgb",name:"sRGB",base:Nc,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:Bc},rgb_number:{name:"rgb",commas:true,coords:Hc,noAlpha:true},color:{},rgba:{coords:Bc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Hc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),s=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=qc.black,r.alpha=0):r.coords=qc[t],r.coords)return r}}}}),Vc=new $t({id:"p3",name:"P3",base:Oc,fromBase:ua.fromBase,toBase:ua.toBase,formats:{color:{id:"display-p3"}}});if(wr.display_space=ua,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var ns=0,jc=[Ut,Pc,Vc];ns<jc.length;ns++){var as=jc[ns],qy=as.getMinCoords(),By={space:as,coords:qy,alpha:1},Hy=xi(By);if(CSS.supports("color",Hy)){wr.display_space=as;break}}function Vy(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?wr.display_space:n,i=Q(r,w),o=xi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!wr.display_space)o=new String(o),o.color=e;else {var s=nr(e,a);o=new String(xi(s,i)),o.color=s;}return o}function $c(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=Be.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var l=a[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function jy(e,t){return e=st(e),t=st(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function Zr(e){return rr(e,[tr,"y"])}function zc(e,t){Kr(e,[tr,"y"],t);}function $y(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Zr(this)},set:function(r){zc(this,r);}});}var zy=Object.freeze({__proto__:null,getLuminance:Zr,setLuminance:zc,register:$y});function Gy(e,t){e=st(e),t=st(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var Wy=.56,Uy=.57,Xy=.62,Yy=.65,Gc=.022,Ky=1.414,Jy=.1,Zy=5e-4,Qy=1.14,Wc=.027,e0=1.14;function Uc(e){return e>=Gc?e:e+Math.pow(Gc-e,Ky)}function kn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function t0(e,t){t=st(t),e=st(e);var r,n,a,i,o,s;t=nr(t,"srgb");var l=xe(t.coords,3);i=l[0],o=l[1],s=l[2];var u=kn(i)*.2126729+kn(o)*.7151522+kn(s)*.072175;e=nr(e,"srgb");var c=xe(e.coords,3);i=c[0],o=c[1],s=c[2];var f=kn(i)*.2126729+kn(o)*.7151522+kn(s)*.072175,g=Uc(u),x=Uc(f),S=x>g;return Math.abs(x-g)<Zy?n=0:S?(r=Math.pow(x,Wy)-Math.pow(g,Uy),n=r*Qy):(r=Math.pow(x,Yy)-Math.pow(g,Xy),n=r*e0),Math.abs(n)<Jy?a=0:n>0?a=n-Wc:a=n+Wc,a*100}function r0(e,t){e=st(e),t=st(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var n0=5e4;function a0(e,t){e=st(e),t=st(t);var r=Math.max(Zr(e),0),n=Math.max(Zr(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?n0:(r-n)/n}function i0(e,t){e=st(e),t=st(t);var r=rr(e,[Ut,"l"]),n=rr(t,[Ut,"l"]);return Math.abs(r-n)}var o0=216/24389,Xc=24/116,_i=24389/27,is=pr.D65,os=new Be({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:is,base:tr,fromBase:function(t){var r=t.map(function(a,i){return a/is[i]}),n=r.map(function(a){return a>o0?Math.cbrt(a):(_i*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Xc?Math.pow(r[0],3):(116*r[0]-16)/_i,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_i,r[2]>Xc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*is[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ss=Math.pow(5,.5)*.5+.5;function s0(e,t){e=st(e),t=st(t);var r=rr(e,[os,"l"]),n=rr(t,[os,"l"]),a=Math.abs(Math.pow(r,ss)-Math.pow(n,ss)),i=Math.pow(a,1/ss)*Math.SQRT2-40;return i<7.5?0:i}var Ei=Object.freeze({__proto__:null,contrastWCAG21:Gy,contrastAPCA:t0,contrastMichelson:r0,contrastWeber:a0,contrastLstar:i0,contrastDeltaPhi:s0});function l0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=Q(n,T);if(!a){var o=Object.keys(Ei).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=st(e),t=st(t);for(var s in Ei)if("contrast"+a.toLowerCase()===s.toLowerCase())return Ei[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function Yc(e){var t=ia(e,tr),r=xe(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function Kc(e){var t=ia(e,tr),r=xe(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function u0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Yc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Kc(this)}});}var c0=Object.freeze({__proto__:null,uv:Yc,xy:Kc,register:u0});function d0(e,t){return $c(e,t,"lab")}var f0=Math.PI,Jc=f0/180;function p0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=Ut.from(e),l=xe(s,3),u=l[0],c=l[1],f=l[2],g=oa.from(Ut,[u,c,f]),x=xe(g,3),S=x[1],M=x[2],q=Ut.from(t),H=xe(q,3),$=H[0],X=H[1],Y=H[2],Z=oa.from(Ut,[$,X,Y])[1];S<0&&(S=0),Z<0&&(Z=0);var re=u-$,le=S-Z,fe=c-X,Ae=f-Y,ue=Math.pow(fe,2)+Math.pow(Ae,2)-Math.pow(le,2),he=.511;u>=16&&(he=.040975*u/(1+.01765*u));var ye=.0638*S/(1+.0131*S)+.638,_e;Number.isNaN(M)&&(M=0),M>=164&&M<=345?_e=.56+Math.abs(.2*Math.cos((M+168)*Jc)):_e=.36+Math.abs(.4*Math.cos((M+35)*Jc));var Oe=Math.pow(S,4),$e=Math.sqrt(Oe/(Oe+1900)),Ie=ye*($e*_e+1-$e),He=Math.pow(re/(a*he),2);return He+=Math.pow(le/(o*ye),2),He+=ue/Math.pow(Ie,2),Math.sqrt(He)}var Zc=203,ls=new Be({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:tr,fromBase:function(t){return t.map(function(r){return Math.max(r*Zc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Zc,0)})}}),Ci=1.15,Si=.66,Qc=2610/Math.pow(2,14),m0=Math.pow(2,14)/2610,ed=3424/Math.pow(2,12),td=2413/Math.pow(2,7),rd=2392/Math.pow(2,7),h0=1.7*2523/Math.pow(2,5),nd=Math.pow(2,5)/(1.7*2523),ki=-0.56,us=16295499532821565e-27,g0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],v0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],b0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],y0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],ad=new Be({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ls,fromBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2],o=Ci*n-(Ci-1)*i,s=Si*a-(Si-1)*n,l=At(g0,[o,s,i]),u=l.map(function(q){var H=ed+td*Math.pow(q/1e4,Qc),$=1+rd*Math.pow(q/1e4,Qc);return Math.pow(H/$,h0)}),c=At(b0,u),f=xe(c,3),g=f[0],x=f[1],S=f[2],M=(1+ki)*g/(1+ki*g)-us;return [M,x,S]},toBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2],o=(n+us)/(1+ki-ki*(n+us)),s=At(y0,[o,a,i]),l=s.map(function(q){var H=ed-Math.pow(q,nd),$=rd*Math.pow(q,nd)-td,X=1e4*Math.pow(H/$,m0);return X}),u=At(v0,l),c=xe(u,3),f=c[0],g=c[1],x=c[2],S=(f+(Ci-1)*x)/Ci,M=(g+(Si-1)*S)/Si;return [S,M,x]},formats:{color:{}}}),cs=new Be({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:ad,fromBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(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 w0(e,t){var r=cs.from(e),n=xe(r,3),a=n[0],i=n[1],o=n[2],s=cs.from(t),l=xe(s,3),u=l[0],c=l[1],f=l[2],g=a-u,x=i-c;Number.isNaN(o)&&Number.isNaN(f)?(o=0,f=0):Number.isNaN(o)?o=f:Number.isNaN(f)&&(f=o);var S=o-f,M=2*Math.sqrt(i*c)*Math.sin(S/2*(Math.PI/180));return Math.sqrt(Math.pow(g,2)+Math.pow(x,2)+Math.pow(M,2))}var id=3424/4096,od=2413/128,sd=2392/128,ld=2610/16384,x0=2523/32,D0=16384/2610,ud=32/2523,A0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],_0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],E0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],C0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],ds=new Be({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:ls,fromBase:function(t){var r=At(A0,t);return S0(r)},toBase:function(t){var r=k0(t);return At(C0,r)},formats:{color:{}}});function S0(e){var t=e.map(function(r){var n=id+od*Math.pow(r/1e4,ld),a=1+sd*Math.pow(r/1e4,ld);return Math.pow(n/a,x0)});return At(_0,t)}function k0(e){var t=At(E0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,ud)-id,0),i=od-sd*Math.pow(n,ud);return 1e4*Math.pow(a/i,D0)});return r}function T0(e,t){var r=ds.from(e),n=xe(r,3),a=n[0],i=n[1],o=n[2],s=ds.from(t),l=xe(s,3),u=l[0],c=l[1],f=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-f,2))}var R0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],F0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],I0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],L0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ti=new Be({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:tr,fromBase:function(t){var r=At(R0,t),n=r.map(function(a){return Math.cbrt(a)});return At(I0,n)},toBase:function(t){var r=At(L0,t),n=r.map(function(a){return Math.pow(a,3)});return At(F0,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function M0(e,t){var r=Ti.from(e),n=xe(r,3),a=n[0],i=n[1],o=n[2],s=Ti.from(t),l=xe(s,3),u=l[0],c=l[1],f=l[2],g=a-u,x=i-c,S=o-f;return Math.sqrt(Math.pow(g,2)+Math.pow(x,2)+Math.pow(S,2))}var fs=Object.freeze({__proto__:null,deltaE76:d0,deltaECMC:p0,deltaE2000:rs,deltaEJz:w0,deltaEITP:T0,deltaEOK:M0});function ca(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aa(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?wr.deltaE:a,o=Q(n,R);e=st(e),t=st(t);for(var s in fs)if("deltae"+i.toLowerCase()===s.toLowerCase())return fs[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function P0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Kr(e,n,function(a){return a*(1+t)})}function O0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=Be.get("oklch","lch"),n=[r,"l"];return Kr(e,n,function(a){return a*(1-t)})}var N0=Object.freeze({__proto__:null,lighten:P0,darken:O0});function cd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[st(e),st(t)];if(e=a[0],t=a[1],Xr(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,l=o.outputSpace,u=o.premultiplied,c=da(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(ps(e)){n=e,r=t;var a=xe(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,f=c===void 0?1e3:c,g=Q(i,E);if(!n){var x=[st(e),st(t)];e=x[0],t=x[1],n=da(e,t,g);}var S=ca(e,t),M=o>0?Math.max(u,Math.ceil(S/o)+1):u,q=[];if(f!==void 0&&(M=Math.min(M,f)),M===1)q=[{p:.5,color:n(.5)}];else {var H=1/(M-1);q=Array.from({length:M},function(fe,Ae){var ue=Ae*H;return {p:ue,color:n(ue)}});}if(o>0)for(var $=q.reduce(function(fe,Ae,ue){if(ue===0)return 0;var he=ca(Ae.color,q[ue-1].color,s);return Math.max(fe,he)},0);$>o;){$=0;for(var X=1;X<q.length&&q.length<f;X++){var Y=q[X-1],Z=q[X],re=(Z.p+Y.p)/2,le=n(re);$=Math.max($,ca(le,Y.color),ca(le,Z.color)),q.splice(X,0,{p:re,color:n(re)}),X++;}}return q=q.map(function(fe){return fe.color}),q}function da(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ps(e)){var n=e,a=t;return da.apply(void 0,Ce(n.rangeArgs.colors).concat([Re({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=st(e),t=st(t),e=la(e),t=la(t);var u={colors:[e,t],options:r};if(i?i=Be.get(i):i=Be.registry[wr.interpolationSpace]||e.space,o=o?Be.get(o):i,e=nr(e,i),t=nr(t,i),e=Jr(e),t=Jr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",f=[i,"h"],g=[rr(e,f),rr(t,f)],x=g[0],S=g[1],M=Ry(c,[x,S]),q=xe(M,2);x=q[0],S=q[1],Kr(e,f,x),Kr(t,f,S);}return l&&(e.coords=e.coords.map(function(H){return H*e.alpha}),t.coords=t.coords.map(function(H){return H*t.alpha})),Object.assign(function(H){H=s?s(H):H;var $=e.coords.map(function(Z,re){var le=t.coords[re];return gi(Z,le,H)}),X=gi(e.alpha,t.alpha,H),Y={space:i,coords:$,alpha:X};return l&&(Y.coords=Y.coords.map(function(Z){return Z/X})),o!==i&&(Y=nr(Y,o)),Y},{rangeArgs:u})}function ps(e){return Xr(e)==="function"&&!!e.rangeArgs}wr.interpolationSpace="lab";function q0(e){e.defineFunction("mix",cd,{returns:"color"}),e.defineFunction("range",da,{returns:"function<color>"}),e.defineFunction("steps",dd,{returns:"array<color>"});}var B0=Object.freeze({__proto__:null,mix:cd,steps:dd,range:da,isRange:ps,register:q0}),fd=new Be({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:ua,fromBase:function(t){var r=Math.max.apply(Math,Ce(t)),n=Math.min.apply(Math,Ce(t)),a=xe(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,f=r-n;if(f!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/f+(o<s?6:0);break;case o:l=(s-i)/f+2;break;case s:l=(i-o)/f+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var l=(s+n/30)%12,u=a*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),pd=new Be({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:fd,fromBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),H0=new Be({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:pd,fromBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var l=1-i,u=l===0?0:1-a/l;return [n,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),V0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],j0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],md=new $t({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:V0,fromXYZ_M:j0}),$0=new $t({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:md,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"}}}),z0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],G0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],hd=new $t({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:es,toXYZ_M:z0,fromXYZ_M:G0}),W0=1/512,U0=16/512,X0=new $t({id:"prophoto",name:"ProPhoto",base:hd,toBase:function(t){return t.map(function(r){return r<U0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=W0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),Y0=new Be({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ti,fromBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),yi(o)]},toBase:function(t){var r=xe(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),gd=203,vd=2610/Math.pow(2,14),K0=Math.pow(2,14)/2610,J0=2523/Math.pow(2,5),bd=Math.pow(2,5)/2523,yd=3424/Math.pow(2,12),wd=2413/Math.pow(2,7),xd=2392/Math.pow(2,7),Z0=new $t({id:"rec2100pq",name:"REC.2100-PQ",base:Di,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,bd)-yd,0)/(wd-xd*Math.pow(r,bd)),K0);return n*1e4/gd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*gd/1e4,0),a=yd+wd*Math.pow(n,vd),i=1+xd*Math.pow(n,vd);return Math.pow(a/i,J0)})},formats:{color:{id:"rec2100-pq"}}}),Dd=.17883277,Ad=.28466892,_d=.55991073,ms=3.7743,Q0=new $t({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Di,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*ms:Math.exp((r-_d)/Dd+Ad)/12*ms})},fromBase:function(t){return t.map(function(r){return r/=ms,r<=1/12?Math.sqrt(3*r):Dd*Math.log(12*r-Ad)+_d})},formats:{color:{id:"rec2100-hlg"}}}),Ed={};Yr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Cd(e.W1,e.W2,e.options.method));}),Yr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Cd(e.W1,e.W2,e.options.method));});function Ri(e){var t=e.id;e.toCone_M;e.fromCone_M;Ed[t]=arguments[0];}function Cd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Ed[r],a=At(n.toCone_M,e),i=xe(a,3),o=i[0],s=i[1],l=i[2],u=At(n.toCone_M,t),c=xe(u,3),f=c[0],g=c[1],x=c[2],S=[[f/o,0,0],[0,g/s,0],[0,0,x/l]],M=At(S,n.toCone_M),q=At(n.fromCone_M,M);return q}Ri({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]]}),Ri({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]]}),Ri({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]]}),Ri({id:"CAT16",toCone_M:[[.401288,.650173,-0.051461],[-0.250268,1.204414,.045854],[-2079e-6,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-0.008973985167612518],[-0.01584149884933386,-0.03412293802851557,1.04996443687785]]}),Object.assign(pr,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),pr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var ew=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],tw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Sd=new $t({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:pr.ACES,toXYZ_M:ew,fromXYZ_M:tw,formats:{color:{}}}),Fi=Math.pow(2,-16),hs=-0.35828683,Ii=(Math.log2(65504)+9.72)/17.52,rw=new $t({id:"acescc",name:"ACEScc",coords:{r:{range:[hs,Ii],name:"Red"},g:{range:[hs,Ii],name:"Green"},b:{range:[hs,Ii],name:"Blue"}},referred:"scene",base:Sd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Fi)*2:n<Ii?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Fi)+9.72)/17.52:r<Fi?(Math.log2(Fi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),kd=Object.freeze({__proto__:null,XYZ_D65:tr,XYZ_D50:es,XYZ_ABS_D65:ls,Lab_D65:os,Lab:Ut,LCH:oa,sRGB_Linear:Nc,sRGB:ua,HSL:fd,HWB:H0,HSV:pd,P3_Linear:Oc,P3:Vc,A98RGB_Linear:md,A98RGB:$0,ProPhoto_Linear:hd,ProPhoto:X0,REC_2020_Linear:Di,REC_2020:Pc,OKLab:Ti,OKLCH:Y0,Jzazbz:ad,JzCzHz:cs,ICTCP:ds,REC_2100_PQ:Z0,REC_2100_HLG:Q0,ACEScg:Sd,ACEScc:rw}),ct=(ge=new WeakMap,(function(){function e(){var t=this;Qt(this,e),vr(this,ge,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=st(a[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=a[0],s=a[1],l=a[2]),Rt(ge,this,Be.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(x){Object.defineProperty(t,x,{get:function(){return t.get(x)},set:function(M){return t.set(x,M)}});};for(var f in Ht(ge,this).coords)c(f);}return Vt(e,[{key:"space",get:function(){return Ht(ge,this)}},{key:"spaceId",get:function(){return Ht(ge,this).id}},{key:"clone",value:function(){return new ct(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=Vy.apply(void 0,[this].concat(n));return i.color=new ct(i.color),i}}],[{key:"get",value:function(r){if(r instanceof ct)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return J(ct,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,l=function(){var c=n.apply(void 0,arguments);if(s==="color")c=ct.get(c);else if(s==="function<color>"){var f=c;c=function(){var x=f.apply(void 0,arguments);return ct.get(x)},Object.assign(c,f);}else s==="array<color>"&&(c=c.map(function(g){return ct.get(g)}));return c};r in ct||(ct[r]=l),o&&(ct.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var n in r)ct.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(ct);else for(var n in r)ct.defineFunction(n,r[n]);}}])})());ct.defineFunctions({get:rr,getAll:ia,set:Kr,setAll:Rc,to:nr,equals:jy,inGamut:sa,toGamut:Jr,distance:$c,toString:xi}),Object.assign(ct,{util:Ey,hooks:Yr,WHITES:pr,Space:Be,spaces:Be.registry,parse:Tc,defaults:wr});for(var gs=0,Td=Object.keys(kd);gs<Td.length;gs++){var nw=Td[gs];Be.register(kd[nw]);}for(var Rd in Be.registry)vs(Rd,Be.registry[Rd]);Yr.add("colorspace-init-end",function(e){var t;vs(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){vs(r,e);});});function vs(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(ct.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return Be.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&de(l)!=="symbol"&&!(l in s)){var c=Be.resolveCoord([t,l]),f=c.index;if(f>=0)return s[f]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&de(l)!=="symbol"&&!(l in s)||l>=0){var f=Be.resolveCoord([t,l]),g=f.index;if(g>=0)return s[g]=u,a.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}ct.extend(fs),ct.extend({deltaE:ca}),ct.extend(N0),ct.extend({contrast:l0}),ct.extend(c0),ct.extend(zy),ct.extend(B0),ct.extend(Ei);var Fd=br(tc());Ur.default.templateSettings.strip=false,h._memoizedFns=[];function aw(e){var t=(0, Ac.default)(e);return h._memoizedFns.push(t),t}var pt=aw,iw=pt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),fa=iw;function bs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||m;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var ow=["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"],sw=31,lw=/([\\"])/g,uw=/(\r\n|\r|\n)/g;function ys(e){return e.replace(lw,"\\$1").replace(uw,"\\a ")}function Id(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=wc(e.getAttribute(r));a?n=wt(t.name)+'$="'+ys(a)+'"':n=wt(t.name)+'="'+ys(e.getAttribute(r))+'"';}else n=wt(r)+'="'+ys(t.value)+'"';return n}function ws(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Ld(e){return !ow.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<sw)}function Li(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=wt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(na(s)).filter(Ld).forEach(function(u){var c=Id(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function cw(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=wt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(ws)}function dw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Cn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function fw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||m,r="#"+wt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Md(e){var t=fa(m);return wt(t?e.localName:e.nodeName.toLowerCase())}function pw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(na(e)).filter(Ld).forEach(function(i){var o=Id(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(ws)}function mw(e,t){var r="",n,a=cw(e,t),i=pw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Md(e)):(n=a.concat(i),n.sort(ws),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Md(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function hw(e,t,r){if(!h._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=fw(e);s||(s=mw(e,h._selectorData),s+=dw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Ue.selectorSimilarFilterLimit?o=vw(r,i):o=o.filter(function(l){return Cn(l,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function gw(e,t){return bs(hw,e,t)}var xs=pt(gw),vw=pt(function(e,t){return Array.from(e.querySelectorAll(t))});function Pd(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?Pd(r)+" > "+t+a:t+a}function Mi(e,t){return bs(Pd,e,t)}function Od(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Od(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&wt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function bw(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 yw(e){var t=Od(e);return bw(t)}var Nd=yw,pa={},ww={set:function(t,r){xw(t),pa[t]=r;},get:function(t,r){if(Dw(r),t in pa)return pa[t];if(typeof r=="function"){var n=r();return rt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),pa[t]}},clear:function(){pa={};}};function xw(e){rt(typeof e=="string","key must be a string, "+de(e)+" given"),rt(e!=="","key must not be empty");}function Dw(e){rt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+de(e)+" given");}var We=ww;function Aw(e,t){var r=t||e;return We.get("nodeMap")?We.get("nodeMap").get(r):null}var Ye=Aw;function qd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Ds(s,n)}var l=_w(e);return l.length>n?Ew(e,{maxLength:n,attrLimit:i}):l}function _w(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function Ew(e,t){var r=t.maxLength,n=t.attrLimit,a=fa(e.ownerDocument||m)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(na(e)).map(function(S){var M=S.name,q=S.value;return {name:M,value:q}}),o=i.reduce(function(S,M){var q=M.name,H=M.value;return S+q.length+H.length+4},0);2+a.length+o>r&&i.forEach(function(S){S.name=Ds(S.name,n),S.value=Ds(S.value,n);});var s="<".concat(a),l=">",u=" ...>",c=at(i),f;try{for(c.s();!(f=c.n()).done;){var g=f.value,x=" ".concat(g.name,'="').concat(g.value,'"');if(s.length+x.length>r-u.length){l=u;continue}s+=x;}}catch(S){c.e(S);}finally{c.f();}return s+l}function Ds(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Bd="DqElm.RunOptions",hn=pt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=We.get(Bd))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Ft?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ye(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!h._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:qd(this._element);}return this});hn.prototype={get selector(){return this.spec.selector||[xs(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Mi(this.element)]},get xpath(){return this.spec.xpath||[Nd(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}},hn.fromFrame=function(t,r,n){var a=hn.mergeSpecs(t,n);return new hn(n.element,r,a)},hn.mergeSpecs=function(t,r){return Re({},t,{selector:[].concat(Ce(r.selector),Ce(t.selector)),ancestry:[].concat(Ce(r.ancestry),Ce(t.ancestry)),xpath:[].concat(Ce(r.xpath),Ce(t.xpath)),nodeIndexes:[].concat(Ce(r.nodeIndexes),Ce(t.nodeIndexes)),fromFrame:true})},hn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;We.set(Bd,{elementRef:r,absolutePaths:n});};var ar=hn;function Cw(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){d.Node&&(i instanceof d.Node||i instanceof Ft?i=[i]:i=yc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Ft&&(o=o.actualNode),o instanceof d.Node){var s=new ar(o);e.relatedNodes.push(s);}}));}}}var As=Cw;function Or(e){return _s(e,new Map)}function _s(e,t){var r,n;if(e===null||de(e)!=="object"||(r=d)!==null&&r!==void 0&&r.Node&&e instanceof d.Node||(n=d)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof d.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(_s(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=_s(e[o],t);return i}var ma=new Dc.CssSelectorParser;ma.registerSelectorPseudos("not"),ma.registerSelectorPseudos("is"),ma.registerNestingOperators(">"),ma.registerAttrEqualityMods("^","$","*","~");var Hd=ma;function Es(e,t){var r=Pi(t);return r.some(function(n){return Tn(e,n)})}function Sw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function kw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Tw(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function Rw(e,t){return !t.id||e.props.id===t.id}function Fw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Tn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Tn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Vd(e,t){return Sw(e,t)&&kw(e,t)&&Tw(e,t)&&Rw(e,t)&&Fw(e,t)}var ha=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),Cs=/\\/g;function Iw(e){if(e)return e.map(function(t){var r=t.name.replace(Cs,""),n=(t.value||"").replace(Cs,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+ha(n));break;case "$=":i=new RegExp(ha(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+ha(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+ha(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function Lw(e){if(e)return e.map(function(t){return t=t.replace(Cs,""),{value:t,regexp:new RegExp("(^|\\s)"+ha(t)+"(\\s|$)")}})}function Mw(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=jd(r)),{name:t.name,expressions:r,value:t.value}})}function jd(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:Iw(n.attrs),classes:Lw(n.classNames),pseudos:Mw(n.pseudos)}),n=n.rule;return r})}function Pi(e){var t=Hd.parse(e);return t=t.selectors?t.selectors:[t],jd(t)}function $d(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Vd(e,i);!o&&n&&e.parent;)e=e.parent,o=Vd(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&&$d(e.parent,t,r-1,i.combinator===" ");}return o}function Tn(e,t,r){return $d(e,t,t.length-1,r)}function Pw(e,t){for(;e;){if(Es(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var Xt=Pw;function Oi(){}function Ss(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Ow(){var e=[],t=0,r=0,n=Oi,a=false,i,o=function(x){i=x,setTimeout(function(){i!=null&&mn("Uncaught error (of queue)",i);},1);},s=o;function l(g){return function(x){e[g]=x,r-=1,!r&&n!==Oi&&(a=true,n(e));}}function u(g){return n=Oi,s(g),e}function c(){for(var g=e.length;t<g;t++){var x=e[t];try{x.call(null,l(t),u);}catch(S){u(S);}}}var f={defer:function(x){if(de(x)==="object"&&x.then&&x.catch){var S=x;x=function(q,H){S.then(q).catch(H);};}if(Ss(x),i===void 0){if(a)throw new Error("Queue already completed");return e.push(x),++r,c(),f}},then:function(x){if(Ss(x),n!==Oi)throw new Error("queue `then` already set");return i||(n=x,r||(a=true,n(e))),f},catch:function(x){if(Ss(x),s!==o)throw new Error("queue `catch` already set");return i?(x(i),i=null):s=x,f},abort:u};return f}var xr=Ow,Rn,Fn,ks=d.crypto||d.msCrypto;if(!Fn&&ks&&ks.getRandomValues){var zd=new Uint8Array(16);Fn=function(){return ks.getRandomValues(zd),zd};}if(!Fn){var Gd=new Array(16);Fn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Gd[t]=r>>>((t&3)<<3)&255;return Gd};}for(var Wd=typeof d.Buffer=="function"?d.Buffer:Array,Ts=[],Ud={},In=0;In<256;In++)Ts[In]=(In+256).toString(16).substr(1),Ud[Ts[In]]=In;function Nw(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=Ud[i]);});a<16;)t[n+a++]=0;return t}function Rs(e,t){var r=t||0,n=Ts;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var Qr=Fn(),qw=[Qr[0]|1,Qr[1],Qr[2],Qr[3],Qr[4],Qr[5]],Xd=(Qr[6]<<8|Qr[7])&16383,Fs=0,Is=0;function Yd(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Xd,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:Is+1,l=o-Fs+(s-Is)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>Fs)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Fs=o,Is=s,Xd=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;a[n++]=u>>>24&255,a[n++]=u>>>16&255,a[n++]=u>>>8&255,a[n++]=u&255;var c=o/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=c&255,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var f=e.node||qw,g=0;g<6;g++)a[n+g]=f[g];return t||Rs(a)}function gn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new Wd(16):null,e=null),e=e||{};var a=e.random||(e.rng||Fn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||Rs(a)}Rn=gn,Rn.v1=Yd,Rn.v4=gn,Rn.parse=Nw,Rn.unparse=Rs,Rn.BufferClass=Wd,h._uuid=Yd();var Bw=gn,Hw=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Vw(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:Kd()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function jw(e){var t;try{t=JSON.parse(e);}catch{return}if($w(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=de(t.error)==="object"?zw(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function $w(e){return e!==null&&de(e)==="object"&&typeof e.channelId=="string"&&e.source===Kd()}function zw(e){var t=e.message||"Unknown error occurred",r=Hw.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
|
|
367
|
+
`+e.stack.replace(e.message,"")),new n(t)}function Kd(){var e="axeAPI",t="";return typeof h<"u"&&h._audit&&h._audit.application&&(e=h._audit.application),typeof h<"u"&&(t=h.version),e+"."+t}function Ls(e){Zd(e),rt(d.parent===e,"Source of the response must be the parent window.");}function Jd(e){Zd(e),rt(e.parent===d,"Respondable target must be a frame in the current window");}function Zd(e){rt(d!==e,"Messages can not be sent to the same window.");}var ga={};function Gw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;rt(!Object.prototype.hasOwnProperty.call(ga,e),"A replyHandler already exists for this message channel."),ga[e]={replyHandler:t,sendToParent:r};}function Ww(e){return Object.prototype.hasOwnProperty.call(ga,e)?ga[e]:void 0}function Uw(e){delete ga[e];}var Ni=[];function Ms(){var e="".concat(gn(),":").concat(gn());return Ni.includes(e)?Ms():(Ni.push(e),e)}function Xw(e){return Ni.includes(e)?false:(Ni.push(e),true)}function Ps(e,t,r,n){if(r?Ls(e):Jd(e),t.message instanceof Error&&!r)return h.log(t.message),false;var a=Vw(Re({messageId:Ms()},t)),i=h._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&Gw(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function Yw(e,t,r){if(!e.parent!==d)return h.log(t);try{Ps(e,{topic:null,channelId:r,message:t,messageId:Ms(),keepalive:!0},!0);}catch(n){return h.log(n)}}function Qd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};Ps(e,s,r,o);}}function Kw(e){var t=h._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Jw(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=jw(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Kw(r)||!Xw(l))return;if(s instanceof Error&&a.parent!==d)return h.log(s),!1;try{if(i.topic){var u=Qd(a,o);Ls(a),t(i,u);}else Zw(a,i);}catch(c){Yw(a,c,o);}}catch(c){return h.log(c),false}}function Zw(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=Ww(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Ls(e):Jd(e);var l=Qd(e,r,s);!a&&r&&Uw(r);try{o(n,a,l);}catch(u){h.log(u),l(u,a);}}}var Qw={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){Jw(a,t);};return d.addEventListener("message",r,false),function(){d.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof d.addEventListener!="function"?false:Ps(t,r,false,n)}};function ef(e){e.updateMessenger(Qw);}var qi,tf,Bi={};function hr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(gn(),":").concat(gn()),keepalive:n};return tf(e,i,a)}function ex(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Bi,r)?Bi[r]:void 0;if(i)try{i(n,a,t);}catch(o){h.log(o),t(o,a);}}hr.updateMessenger=function(t){var r=t.open,n=t.post;rt(typeof r=="function","open callback must be a function"),rt(typeof n=="function","post callback must be a function"),qi&&qi();var a=r(ex);a?(rt(typeof a=="function","open callback must return a cleanup function"),qi=a):qi=null,tf=n;},hr.subscribe=function(t,r){rt(typeof r=="function","Subscriber callback must be a function"),rt(!Object.prototype.hasOwnProperty.call(Bi,t),"Topic ".concat(t," is already registered to.")),Bi[t]=r;},hr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},ef(hr);function rf(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){mn("Frame does not have a content window",e),r(null);return}if(s===0){nf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(af("No response from frame",e)):r(null);},0);},s);hr(o,"axe.ping",null,void 0,function(){clearTimeout(l),nf(e,t,r,n);});}function nf(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,l=setTimeout(function(){n(af("Axe in frame timed out",e));},o);hr(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function af(e,t){var r;return h._tree&&(r=xs(t)),new Error(e+": "+(r||t))}var va=null,ba={update:function(t){rt(de(t)==="object","serializer must be an object"),va=t;},toSpec:function(t){return ba.dqElmToSpec(new ar(t))},dqElmToSpec:function(t,r){var n;return t instanceof ar?(r&&(t=tx(t,r)),typeof((n=va)===null||n===void 0?void 0:n.toSpec)=="function"?va.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=va)===null||n===void 0?void 0:n.mergeSpecs)=="function"?va.mergeSpecs(t,r):ar.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Re({},r,{nodes:ba.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=Q(r,k);a.node=ba.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(l){var u=l.relatedNodes,c=Q(l,L);return c.relatedNodes=u.map(ba.dqElmToSpec),c});}return a})}},ir=ba;function tx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new ar(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function rx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Hi=rx;function nx(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&de(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var ya=nx;function ax(e,t,r){e.forEach(function(n){n.node=ir.mergeSpecs(n.node,r);var a=Hi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return ir.mergeSpecs(o,r)});});});}function ix(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=of(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(Ce(t)));return}}e.push.apply(e,Ce(t));}function ox(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function sx(e,t){var r=[];return e.forEach(function(n){var a=ox(n);if(!(!a||!a.length)){var i=lx(n);a.forEach(function(o){o.nodes&&i&&ax(o.nodes,t,i);var s=ya(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&ix(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return of(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function of(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var Vi=sx;function lx(e){return e.frameElement?ir.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function sf(e,t,r,n,a,i){t=Re({},t,{elementRef:false});var o=xr(),s=e.frames;s.forEach(function(l){var u=l.node,c=Q(l,D);o.defer(function(f,g){var x={options:t,command:r,parameter:n,context:c};function S(M){return f(M?{results:M,frameElement:u}:null)}rf(u,x,S,g);});}),o.then(function(l){a(Vi(l,t));}).catch(i);}function Nr(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 lf(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||de(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||de(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=lf(e[s],a[s]);}}),e}var Os=lf;function ux(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 Ns=ux,cx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function dx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(cx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var ji=dx,qs={};ur(qs,{createGrid:function(){return Aa},findElmsInContext:function(){return uf},findNearbyElms:function(){return Ki},findUp:function(){return Mn},findUpVirtual:function(){return Ln},focusDisabled:function(){return Xs},getComposedParent:function(){return It},getElementByReference:function(){return Ks},getElementCoordinates:function(){return Vs},getElementStack:function(){return zf},getModalDialog:function(){return Bf},getNodeGrid:function(){return Yi},getOverflowHiddenAncestors:function(){return xa},getRootNode:function(){return Pt},getScrollOffset:function(){return _f},getTabbableElements:function(){return Gf},getTargetRects:function(){return Zi},getTargetSize:function(){return Wf},getTextElementStack:function(){return ml},getViewportSize:function(){return $i},getVisibleChildTextRects:function(){return pl},hasContent:function(){return io},hasContentVirtual:function(){return Fa},hasLangText:function(){return gl},idrefs:function(){return Dr},insertedIntoFocusOrder:function(){return Pp},isCurrentPageLink:function(){return Ys},isFixedPosition:function(){return zi},isFocusable:function(){return _t},isHTML5:function(){return qp},isHiddenForEveryone:function(){return en},isHiddenWithCSS:function(){return qA},isInTabOrder:function(){return or},isInTextBlock:function(){return vl},isInert:function(){return Ji},isModalOpen:function(){return Ia},isMultiline:function(){return Hp},isNativelyFocusable:function(){return Qs},isNode:function(){return XA},isOffscreen:function(){return Gi},isOpaque:function(){return a2},isSkipLink:function(){return wl},isVisible:function(){return c2},isVisibleOnScreen:function(){return Yt},isVisibleToScreenReaders:function(){return vt},isVisualContent:function(){return hl},reduceToElementsBelowFloating:function(){return Vp},shadowElementsFromPoint:function(){return p2},urlPropsFromAttribute:function(){return y2},visuallyContains:function(){return jp},visuallyOverlaps:function(){return xl},visuallySort:function(){return Js}});function fx(e){var t=e.getRootNode&&e.getRootNode()||m;return t===e&&(t=m),t}var wa=fx,Pt=wa;function px(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=wt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Pt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var uf=px;function mx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Cn(r,t)&&r!==m.documentElement);return !r||!Cn(r,t)?null:r}var Ln=mx;function hx(e,t){return Ln(Ye(e),t)}var Mn=hx;function Bs(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 cf=pt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(cf(t.parent))}),xa=cf,gx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,vx=/(\w+)\((\d+)/;function df(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function ff(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function mf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function hf(e){return e.attr("aria-hidden")==="true"}function gf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function vf(e){var t=Hr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function bf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=xa(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!bx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Bs(i,s)})}function yf(e){var t=e.getComputedStylePropertyValue("clip").match(gx),r=e.getComputedStylePropertyValue("clip-path").match(vx);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Hs(e,t){var r=Xt(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=wa(e.actualNode);if(!a||a.nodeType!==9)return true;var i=Zt(h._tree,'img[usemap="#'.concat(wt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function wf(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function bx(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 yx=[ff,pf,mf,wf];function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=tt(e).vNode,r?xf(e,a):Df(e,a)}var xf=pt(function(t,r){return df(t)?true:t.actualNode?!!(yx.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Df=pt(function(t,r){return xf(t,r)?true:t.parent?Df(t.parent,true):false});function Af(e){if(e.assignedSlot)return Af(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var It=Af;function wx(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 _f=wx;function xx(e){var t=_f(m),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var Vs=xx;function Dx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var $i=Dx;function zi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=tt(e),a=n.vNode;return a?r?Ef(a):Cf(a):false}var Ef=pt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Cf=pt(function(t){return Ef(t)?true:t.parent?Cf(t.parent):false});function Ax(e,t){for(e=It(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=It(e);}return true}function _x(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=tt(e),a=n.domNode;if(a){var i=m.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(m.body||i).getPropertyValue("direction"),l=zi(a),u=l?a.getBoundingClientRect():Vs(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Ax(a,u.bottom)||o.position==="absolute"))return true;var c=$i(d);if(l&&u.top>=c.height)return true;var f=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=f||(l||s==="ltr")&&u.right<=0)}}var Gi=_x,Ex=[gf,vf,bf,yf,Gi];function Yt(e){return e=tt(e).vNode,js(e)}var js=pt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Hs(t,js):en(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&Ex.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?js(t.parent,true):true});function $s(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new d.DOMRect(i,r,n-i,a-r)}function Wi(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var Sf={};ur(Sf,{getBoundingRect:function(){return $s},getIntersectionRect:function(){return Ui},getOffset:function(){return Tf},getRectCenter:function(){return Da},hasVisualOverlap:function(){return zs},isPointInRect:function(){return Wi},rectHasMinimumSize:function(){return qr},rectsOverlap:function(){return Bs},splitRects:function(){return Gs}});function Ui(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new d.DOMRect(r,a,n-r,i-a)}function Da(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new d.DOMPoint(t+n/2,r+a/2)}var kf=.05;function qr(e,t){var r=t.width,n=t.height;return r+kf>=e&&n+kf>=e}function Tf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=Zi(e),a=Zi(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=Da(o),l=at(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Wi(s,c))return 0;var f=Cx(s,c),g=Rf(s,f);i=Math.min(i,g);}}catch(H){l.e(H);}finally{l.f();}var x=Wf(t);if(qr(r*2,x))return i;var S=a.reduce($s),M=Da(S),q=Rf(s,M)-r;return Math.max(0,Math.min(i,q))},1/0)}function Cx(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function Rf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function zs(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:Js(e,t)>0}function Gs(e,t){var r=Array.isArray(e)?e:[e],n=at(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(Sx(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function Sx(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,l=[];if(Xi(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),Xi(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),Xi(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),Xi(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(Tx(e,t))return [];l.push(e);}return l.map(kx)}var Xi=function(t,r,n){return t>r&&t<n};function kx(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Tx(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Ff=0,Rx=.1,If=.2,Lf=.3,Ws=0;function Aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(We.get("gridCreated")&&!r)return Ue.gridSize;if(We.set("gridCreated",true),!r){var n=Ye(m.documentElement);if(n||(n=new Dl(m.documentElement)),Ws=0,n._stackingOrder=[Of(Ff,Ws++,null)],t??(t=new Us),Nf(t,n),Hr(n.actualNode)){var a=new Us(n);n._subGrid=a;}}for(var i=m.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ye(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ye(o.assignedSlot):o.parentElement?r=Ye(o.parentElement):o.parentNode&&Ye(o.parentNode)&&(r=Ye(o.parentNode)),s||(s=new h.VirtualNode(o,r)),s._stackingOrder=Fx(s,r,Ws++);var l=Mx(s,r),u=l?l._subGrid:t;if(Hr(s.actualNode)){var c=new Us(s);s._subGrid=c;}var f=s.boundingClientRect;f.width!==0&&f.height!==0&&Yt(o)&&Nf(u,s),ji(o)&&Aa(o.shadowRoot,u,s),o=i.nextNode();}return Ue.gridSize}function Mf(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(f!=="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 x=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(x)||n!=="auto"&&Pf(t))}function Pf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Fx(e,t,r){var n=t._stackingOrder.slice();if(Mf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Ff,If,Lf].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=Ix(e,t);return i!==null&&n.push(Of(i,r,e)),n}function Of(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function Ix(e,t){var r=Lx(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Lf:e.getComputedStylePropertyValue("float")!=="none"?If:Mf(e,t)?Rx:null:parseInt(r)}function Lx(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Pf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function Mx(e,t){for(var r=null,n=[e];t;){if(Hr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ye(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Nf(e,t){var r=xa(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Ui(s,l.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var Us=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;Qt(this,e),this.container=t,this.cells=[];}return Vt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Ue.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;rt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);rt(Wi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=u[l-u._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,l=a.bottom;this.boundaries&&(r=$s(this.boundaries,r)),this.boundaries=r,qf(this.cells,s,l,function(u,c){qf(u,i,o,function(f,g){n(f,{row:c,col:g});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new d.DOMRect(o,n,a-o,i-n)}}])})();function qf(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),n(e[l],l+e._negativeIndex);}}function Yi(e){Aa();var t=tt(e),r=t.vNode;return r._grid}function Ki(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=Yi(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=zi(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var u=at(l),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;f&&f!==e&&!s.includes(f)&&i===zi(f)&&s.push(f);}}catch(g){u.e(g);}finally{u.f();}}),s}var Px=pt(function(){var t;if(!h._tree)return null;var r=Sr(h._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=m.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&Yt(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=m.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=Ox(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=m.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Bf=Px;function Ox(e){Aa();var t=h._tree[0]._grid,r=new d.DOMRect(0,0,d.innerWidth,d.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Ui(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Hf(e,n):Vf(e,n)}var Hf=pt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Bf();if(n&&!Nr(n,t))return true}return false}),Vf=pt(function(t,r){return Hf(t,r)?true:t.parent?Vf(t.parent,true):false}),Nx=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function qx(e){return Nx.includes(e)}function Bx(e){var t=tt(e),r=t.vNode;if(qx(r.props.nodeName)&&r.hasAttr("disabled")||Ji(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?en(r):false}var Xs=Bx,Hx=/^\/\#/,Vx=/^#[!/]/;function Ys(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(Hx.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(Vx.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=d.location)===null||t===void 0?void 0:t.origin)!="string"||d.location.origin.indexOf("://")===-1)return null;var l=d.location.origin+d.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=d.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=d.location.pathname,u===l}function jx(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Ys(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=m.getElementById(r);return n||(n=m.getElementsByName(r),n.length?n[0]:null)}var Ks=jx;function Js(e,t){Aa();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(q){return q.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(q){return q.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=d.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,f=a.compareDocumentPosition(i),g=f&l?1:-1,x=f&u||f&c,S=jf(e),M=jf(t);return S===M||x?g:M-S}function jf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:$f(e)?1:0}function $f(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=$f(e.parent);return e._isFloated=r,r}function Zs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=Da(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(u){return u.clientRects.some(function(c){var f=c.left,g=c.top;return i<Math.floor(f+c.width)&&i>=Math.floor(f)&&o<Math.floor(g+c.height)&&o>=Math.floor(g)})}),l=e.container;return l&&(s=Zs(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(Js).map(function(u){return u.actualNode}).concat(m.documentElement).filter(function(u,c,f){return f.indexOf(u)===c})),s}function $x(e){var t=Yi(e);if(!t)return [];var r=Ye(e).boundingClientRect;return Zs(t,r)}var zf=$x;function zx(e){var t=Zt(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Cr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Gf=zx;function Gx(e){var t=tt(e),r=t.vNode;if(!r||Xs(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !Zt(r,"summary").length}return false}var Qs=Gx;function _t(e){var t=tt(e),r=t.vNode;if(r.props.nodeType!==1||Xs(r))return false;if(Qs(r))return true;var n=Cr(r.attr("tabindex"));return n!==null}function or(e){var t=tt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Cr(r.attr("tabindex"));return n<=-1?false:_t(r)}var Zi=pt(Wx);function Wx(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=Ki(e).filter(function(i){return zs(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!Ux(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Gs(r,a)}function Ux(e,t){return Nr(e,t)&&!or(t)}var Wf=pt(Xx);function Xx(e,t){var r=Zi(e);return Yx(r,t)}function Yx(e,t){return e.reduce(function(r,n){var a=qr(t,r),i=qr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var _a={};ur(_a,{accessibleText:function(){return vn},accessibleTextVirtual:function(){return Lt},autocomplete:function(){return yn},formControlValue:function(){return Ap},formControlValueMethods:function(){return sl},hasUnicode:function(){return cl},isHumanInterpretable:function(){return fl},isIconLigature:function(){return dl},isValidAutocomplete:function(){return Rp},label:function(){return EA},labelText:function(){return ll},labelVirtual:function(){return no},nativeElementType:function(){return SA},nativeTextAlternative:function(){return Ep},nativeTextMethods:function(){return _p},removeUnicode:function(){return Ra},sanitize:function(){return Ve},subtreeText:function(){return nn},titleText:function(){return eo},unsupported:function(){return pp},visible:function(){return Fp},visibleTextNodes:function(){return kA},visibleVirtual:function(){return _r}});function Kx(e,t){e=e.actualNode||e;try{var r=Pt(e),n=[],a=e.getAttribute(t);if(a){a=Bt(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Dr=Kx;function Jx(e,t){var r=Ye(e);return Lt(r,t)}var vn=Jx;function Zx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=tt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Dr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=vn(o,Re({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ea=Zx;function Ca(e){var t=tt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var Qx={"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}},Uf=Qx,eD={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"]}},Xf=eD,tD={"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"]}},rD=tD,nD={"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}},aD=nD,iD={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"]}},oD=iD,sD={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]},lD=sD,Yf={ariaAttrs:Uf,ariaRoles:Re({},Xf,rD,aD),htmlElms:oD,cssColors:lD},Pn=Re({},Yf);function uD(e){Object.keys(Pn).forEach(function(t){e[t]&&(Pn[t]=Os(Pn[t],e[t]));});}function cD(){Object.keys(Pn).forEach(function(e){Pn[e]=Yf[e];});}var nt=Pn;function dD(e){var t=nt.ariaRoles[e];return t?!!t.unsupported:false}var el=dD;function fD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=nt.ariaRoles[e],o=el(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Sa=fD;function pD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Ft?e:Ye(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Bt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Sa(l,{allowAbstract:n})});return s||null}var Ze=pD;function mD(e){return Object.keys(nt.htmlElms).filter(function(t){var r=nt.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var tl=mD;function hD(){return We.get("globalAriaAttrs",function(){return Object.keys(nt.ariaAttrs).filter(function(e){return nt.ariaAttrs[e].global})})}var tn=hD;function gD(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),f=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,g=0;g<f;g++){for(t[n+g]=t[n+g]||[];t[n+g][o];)o++;t[n+g][o]=i[s];}o++;}}return t}var Br=pt(gD);function vD(e,t){var r,n;for(t||(t=Br(Mn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var Qi=pt(vD);function rl(e){var t=tt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=Ze(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Br(Mn(n,"table")),s=Qi(n,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function bD(e){return ["col","auto"].indexOf(rl(e))!==-1}var On=bD;function yD(e){return ["row","auto"].includes(rl(e))}var Nn=yD;function wD(e){return e?e.replace(/\r\n/g,`
|
|
368
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ve=wD,Kf=function(){return We.get("sectioningContentSelector",function(){return tl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Jf=function(){return We.get("sectioningContentPlusMainSelector",function(){return Kf()+" , main:not([role]), [role=main]"})};function nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ve(Ea(e))||Ve(Ca(e))||n&&e?.props.nodeType===1&&Ve(e.attr("title")))}var xD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return Xt(t.parent,Kf())&&!nl(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=Xt(t,Jf());return r?null:"contentinfo"},form:function(t){return nl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=Xt(t,Jf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=tn().find(function(a){return t.hasAttr(a)});return r&&!n&&!_t(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Dr(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return nl(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=Xt(t,"table"),n=Ze(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(On(t))return "columnheader";if(Nn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},al=xD;function DD(e,t){var r=de(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var bn=DD;function AD(e,t){return bn(!!Lt(e),t)}var Zf=AD;function _D(e,t){var r=de(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return bn(e(n),t[n])})}var il=_D;function ED(e,t){return e=tt(e).vNode,il(function(r){return e.attr(r)},t)}var Qf=ED;function ep(e,t){return !!t(e)}function CD(e,t){return bn(Ze(e),t)}var tp=CD;function SD(e,t){return bn(Ar(e),t)}var rp=SD;function kD(e,t){return e=tt(e).vNode,bn(e.props.nodeName,t)}var np=kD;function TD(e,t){return e=tt(e).vNode,il(function(r){return e.props[r]},t)}var ap=TD;function RD(e,t){return bn(Xe(e),t)}var ip=RD,op={hasAccessibleName:Zf,attributes:Qf,condition:ep,explicitRole:tp,implicitRole:rp,nodeName:np,properties:ap,semanticRole:ip};function sp(e,t){return e=tt(e).vNode,Array.isArray(t)?t.some(function(r){return sp(e,r)}):typeof t=="string"?Es(e,t):Object.keys(t).every(function(r){if(!op[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=op[r],a=t[r];return n(e,a)})}var lp=sp;function FD(e,t){return lp(e,t)}var Kt=FD;Kt.hasAccessibleName=Zf,Kt.attributes=Qf,Kt.condition=ep,Kt.explicitRole=tp,Kt.fromDefinition=lp,Kt.fromFunction=il,Kt.fromPrimative=bn,Kt.implicitRole=rp,Kt.nodeName=np,Kt.properties=ap,Kt.semanticRole=ip;var ka=Kt;function ID(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=nt.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=Q(a,y);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=Q(l,_),f=Array.isArray(u)?u:[u],g=0;g<f.length&&n;g++)if(f[g].hasOwnProperty("hasAccessibleName"))return a;if(ka(e,u))for(var x in c)c.hasOwnProperty(x)&&(o[x]=c[x]);}for(var S in i.default)i.default.hasOwnProperty(S)&&typeof o[S]>"u"&&(o[S]=i.default[S]);return o}var rn=ID;function LD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Ft?e:Ye(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=al[a];if(!i&&r){var o=rn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Ar=LD,MD={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 up(e,t){var r=MD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=Ze(e.parent,t);return ["none","presentation"].includes(n)&&!dp(e.parent)?n:n?null:up(e.parent,t)}function cp(e,t){var r=t.chromium,n=Q(t,C),a=Ar(e,{chromium:r});if(!a)return null;var i=up(e,n);return i||a}function dp(e){var t=tn().some(function(r){return e.hasAttr(r)});return t||_t(e)}function PD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=Q(t,I),a=tt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=Ze(i,n);return o?["presentation","none"].includes(o)&&dp(i)?r?null:cp(i,n):o:r?null:cp(i,n)}function OD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=Q(t,O),a=PD(e,n);return r&&["presentation","none"].includes(a)?null:a}var Xe=OD,ND=["iframe"];function qD(e){var t=tt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Kt(r,ND)&&["none","presentation"].includes(Xe(r))?"":r.attr("title")}var eo=qD;function BD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Ft?e:Ye(e),e.props.nodeType!==1)return false;var n=Xe(e),a=nt.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var fp=BD;function HD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Dr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return h.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(Ce(i),Ce(a))}return Ce(r)}var Ta=HD,pp={accessibleNameFromFieldValue:["progressbar"]};function vt(e){return e=tt(e).vNode,ol(e)}var ol=pt(function(t,r){return hf(t)||Ji(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Hs(t,ol):en(t,{skipAncestors:true,isAncestor:r})?false:t.parent?ol(t.parent,true):true});function mp(e,t,r){var n=tt(e),a=n.vNode,i=t?vt:Yt,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,f=u.nodeValue;if(c===3){if(f&&o)return f}else if(!r)return mp(l,t)}).join("");return Ve(s)}var _r=mp,VD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function jD(e){e=e instanceof Ft?e:Ye(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!VD.includes((e.attr("type")||"").toLowerCase())}var hp=jD;function $D(e){e=e instanceof Ft?e:Ye(e);var t=e.props.nodeName;return t==="select"}var gp=$D;function zD(e){var t=Ze(e);return t==="textbox"}var vp=zD;function GD(e){var t=Ze(e);return t==="listbox"}var bp=GD;function WD(e){var t=Ze(e);return t==="combobox"}var yp=WD,UD=["progressbar","scrollbar","slider","spinbutton"];function XD(e){var t=Ze(e);return UD.includes(t)}var wp=XD,xp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],sl={nativeTextboxValue:KD,nativeSelectValue:JD,ariaTextboxValue:ZD,ariaListboxValue:Dp,ariaComboboxValue:QD,ariaRangeValue:eA};function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=pp.accessibleNameFromFieldValue||[],a=Xe(e);if(t.startNode===e||!xp.includes(a)||n.includes(a))return "";var i=Object.keys(sl).map(function(s){return sl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&mn(o||"{empty-value}",r,t),o}function KD(e){var t=tt(e),r=t.vNode;return hp(r)&&r.props.value||""}function JD(e){var t=tt(e),r=t.vNode;if(!gp(r))return "";var n=Zt(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return _r(i)}).join(" ")||""}function ZD(e){var t=tt(e),r=t.vNode,n=t.domNode;return vp(r)?!n||n&&!en(n)?_r(r,true):n.textContent:""}function Dp(e,t){var r=tt(e),n=r.vNode;if(!bp(n))return "";var a=Ta(n).filter(function(i){return Xe(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Lt(a[0],t)}function QD(e,t){var r=tt(e),n=r.vNode;if(!yp(n))return "";var a=Ta(n).filter(function(i){return Xe(i)==="listbox"})[0];return a?Dp(a,t):""}function eA(e){var t=tt(e),r=t.vNode;if(!wp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Ap=YD;function tA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Xe(e),l=rn(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||xp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!fp(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=Re({subtreeDescendant:c},t);}return Ta(e).reduce(function(f,g){return nA(f,g,t)},"")}var rA=tl("phrasing").concat(["#text"]);function nA(e,t,r){var n=t.props.nodeName,a=Lt(t,r);return a?(rA.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var nn=tA;function aA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=Re({inControlContext:true},t),a=iA(e),i=Xt(e,"label"),o;return i?(o=[].concat(Ce(a),[i.actualNode]),o.sort(Ol)):o=a,o.map(function(s){return vn(s,n)}).filter(function(s){return s!==""}).join(" ")}function iA(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return uf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var ll=aA,oA={submit:"Submit",image:"Submit",reset:"Reset",button:""},sA={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return oA[t.props.type]||""},tableCaptionText:to.bind(null,"caption"),figureText:to.bind(null,"figcaption"),svgTitleText:to.bind(null,"title"),fieldsetLegendText:to.bind(null,"legend"),altText:ul.bind(null,"alt"),tableSummaryText:ul.bind(null,"summary"),titleText:eo,subtreeText:nn,labelText:ll,singleSpace:function(){return " "},placeholderText:ul.bind(null,"placeholder")};function ul(e,t){return t.attr(e)||""}function to(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":vn(i,r)}var _p=sA;function Ep(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Xe(e)))return "";var n=lA(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&h.log(a||"{empty-value}",r,t),a}function lA(e){var t=rn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return _p[n]})}function Cp(){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 Sp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function kp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Tp(){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 uA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=Jo().test(e))),n&&(i||(i=Cp().test(e)||kp().test(e)||Tp().test(e))),a&&(i||(i=Sp().test(e))),i}var cl=uA;function dl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!Ve(n)||cl(n,{emoji:true,nonBmp:true}))return false;var a=We.get("canvasContext",function(){return m.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=We.get("fonts",function(){return {}}),s=d.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,f="".concat(c,"px ").concat(l);a.font=f;var g=n.charAt(0),x=a.measureText(g).width;if(x===0)return u.numLigatures++,true;if(x<30){var S=30/x;x*=S,c*=S,f="".concat(c,"px ").concat(l);}i.width=x,i.height=c,a.font=f,a.textAlign="left",a.textBaseline="top",a.fillText(g,0,0);var M=new Uint32Array(a.getImageData(0,0,x,c).data.buffer);if(!M.some(function(re){return re}))return u.numLigatures++,true;a.clearRect(0,0,x,c),a.fillText(n,0,0);var q=new Uint32Array(a.getImageData(0,0,x,c).data.buffer),H=M.reduce(function(re,le,fe){return le===0&&q[fe]===0||le!==0&&q[fe]!==0?re:++re},0),$=n.split("").reduce(function(re,le){return re+a.measureText(le).width},0),X=a.measureText(n).width,Y=H/M.length,Z=1-X/$;return Y>=t&&Z>=t?(u.numLigatures++,true):false}function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=pA(e,t),dA(e,t)||fA(e,t))return "";var r=[Ea,Ca,Ep,Ap,nn,cA,eo],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ve(a)),a!==""?a:i(e,t)},"");return t.debug&&h.log(n||"{empty-value}",e.actualNode,t),n}function cA(e){return e.props.nodeType!==3?"":e.props.nodeValue}function dA(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!vt(e)}function fA(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:dl(e,a,i)}function pA(e,t){return t.startNode||(t=Re({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Re({includeHidden:!vt(e)},t)),t}Lt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function mA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Jo(),"")),n&&(e=e.replace(Cp(),"").replace(kp(),"").replace(Tp(),"")),a&&(e=e.replace(Sp(),"")),e}var Ra=mA;function hA(e){return gA(e)||vA(e)||bA(e)||yA(e)?0:1}function gA(e){return Ve(e).length===0}function vA(e){return e.length===1&&e.match(/\D/)}function bA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function yA(e){var t=Ra(e,{emoji:true,nonBmp:true,punctuations:true});return !Ve(t)}var fl=hA,yn={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 wA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,f=c===void 0?[]:c,g=t.qualifiedTerms,x=g===void 0?[]:g,S=t.ignoredValues,M=S===void 0?[]:S;if(e=e.toLowerCase().trim(),i=i.concat(yn.stateTerms),i.includes(e)||e==="")return true;u=u.concat(yn.qualifiers),s=s.concat(yn.locations),f=f.concat(yn.standaloneTerms),x=x.concat(yn.qualifiedTerms);var q=e.split(/\s+/g);if(q[q.length-1]==="webauthn"&&(q.pop(),q.length===0)||!n&&(q[0].length>8&&q[0].substr(0,8)==="section-"&&q.shift(),s.includes(q[0])&&q.shift(),u.includes(q[0])&&(q.shift(),f=[]),q.length!==1))return false;var H=q[q.length-1];if(!M.includes(H))return f.includes(H)||x.includes(H)}var Rp=wA;function xA(e){var t,r;return e.attr("aria-labelledby")&&(t=Dr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ye(n);return a?_r(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ve(r),r))?r:null}var ro=xA;function DA(e,t,r){return e=Ye(e),_r(e,t,r)}var Fp=DA;function AA(e){var t,r,n;if(r=ro(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=wt(e.attr("id"));if(n=Pt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Fp(t,true),r)return r}return t=Xt(e,"label"),r=t&&_r(t,true),r||null}var no=AA;function _A(e){return e=Ye(e),no(e)}var EA=_A,CA=[{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"]}],SA=CA;function Ip(e){var t=Yt(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Ip(n));}),r}var kA=Ip,TA=pt(function(t){var r=Ye(t),n=r.boundingClientRect,a=[],i=xa(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ve(o.nodeValue)==="")){var s=RA(o);FA(s,n)||a.push.apply(a,Ce(Lp(s,i)));}}),a.length?a:Lp([n],i)}),pl=TA;function RA(e){var t=m.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function FA(e,t){return e.some(function(r){var n=Da(r);return !Wi(n,t)})}function Lp(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&Ui(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function IA(e){var t=Yi(e);if(!t)return [];var r=pl(e);return r.map(function(n){return Zs(t,n)})}var ml=IA,LA=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function MA(e){var t=tt(e),r=t.vNode,n=h.commons.aria.getExplicitRole(r);if(n)return LA.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var hl=MA,PA=["head","title","template","script","style","iframe","object","video","audio","noscript"];function ao(e){return PA.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Mp(e,t,r){return ao(e)||hl(e.actualNode)||!r&&!!ro(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Mp(n)})}var Fa=Mp;function OA(e,t,r){return e=Ye(e),Fa(e,t,r)}var io=OA;function gl(e){return typeof e.children>"u"||ao(e)?true:e.props.nodeType===1&&hl(e)?!!h.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&gl(t)&&!en(t)})}function NA(e){var t=Cr(e.getAttribute("tabindex"));return t>-1&&_t(e)&&!Qs(e)}var Pp=NA;function Op(e,t){var r=tt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Np(a,t)),n._isHiddenWithCSS):Np(a,t)}function Np(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=d.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=It(e);return o&&!a.includes(i)?Op(o,i):false}var qA=Op;function BA(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var qp=BA;function HA(e){var t;(e instanceof Ft||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=h.commons.aria.getRole(e));var r=nt.ariaRoles[e];return r?.type||null}var gr=HA,VA=["block","list-item","table","flex","grid"],jA=["inline-block","inline-flex","inline-grid"];function $A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=tt(e),o=i.vNode,s=i.domNode;if(bl(s)||!a&&zA(o))return false;var l=GA(s),u="",c="",f=0;return Bp(l,function(g){if(g===l.actualNode)return true;if(f===2)return false;if(g.nodeType===3&&(u+=g.nodeValue),g.nodeType===1){var x=(g.nodeName||"").toUpperCase();g===s&&(f=1);var S=bl(g);if((S||["BR","HR"].includes(x))&&(f===0?(u="",c=""):f=2),S||g.style.display==="none"||g.style.overflow==="hidden"||!["",null,"none"].includes(g.style.float)||!["",null,"relative"].includes(g.style.position))return false;if(gr(g)==="widget")return c+=g.textContent,false}}),u=Ve(u),r?u.length!==0:(c=Ve(c),u.length>c.length)}var vl=$A;function bl(e){var t=tt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return VA.includes(n)||n.substr(0,6)==="table-"}function zA(e){var t=e.getComputedStylePropertyValue("display");return jA.includes(t)}function Bp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Bp(r,t)});}function GA(e){for(var t=It(e);t&&!bl(t);)t=It(t);return Ye(t)}function WA(e){e=e||{};var t=e.modalPercent||.75;if(We.get("isModalOpen"))return We.get("isModalOpen");var r=Sr(h._tree[0],"dialog, [role=dialog], [aria-modal=true]",Yt);if(r.length)return We.set("isModalOpen",true),true;for(var n=$i(d),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,l=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],u=l.map(function(x){return Array.from(m.elementsFromPoint(x.x,x.y))}),c=function(){var S=u[g].find(function(M){var q=d.getComputedStyle(M);return parseInt(q.width,10)>=a&&parseInt(q.height,10)>=i&&q.getPropertyValue("pointer-events")!=="none"&&(q.position==="absolute"||q.position==="fixed")});if(S&&u.every(function(M){return M.includes(S)}))return We.set("isModalOpen",true),{v:true}},f,g=0;g<u.length;g++)if(f=c(),f)return f.v;We.set("isModalOpen",void 0);}var Ia=WA;function Hp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=at(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function UA(e){return e instanceof d.Node}var XA=UA,yl="color.incompleteData",YA={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=We.get(yl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=We.get(yl);return r?.[t]},clear:function(){We.set(yl,{});}},mt=YA;function KA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return mt.set("bgColor","imgNode"),true;t=t||d.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);mt.set("bgColor",o?"bgGradient":"bgImage");}return i}var oo=KA,JA=/^#[0-9a-f]{3,8}$/i,ZA=/hsl\(\s*([-\d.]+)(rad|turn)/,La=(Ge=new WeakMap,et=new WeakMap,it=new WeakMap,ft=new WeakMap,Ke=new WeakMap,qe=new WeakMap,Gt=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Qt(this,e),Za(this,Gt),vr(this,Ge,void 0),vr(this,et,void 0),vr(this,it,void 0),vr(this,ft,void 0),vr(this,Ke,void 0),vr(this,qe,void 0),t instanceof La){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return Vt(e,[{key:"r",get:function(){return Ht(Ge,this)},set:function(r){Rt(Ge,this,r),Rt(ft,this,Math.round(qn(r,0,1)*255));}},{key:"g",get:function(){return Ht(et,this)},set:function(r){Rt(et,this,r),Rt(Ke,this,Math.round(qn(r,0,1)*255));}},{key:"b",get:function(){return Ht(it,this)},set:function(r){Rt(it,this,r),Rt(qe,this,Math.round(qn(r,0,1)*255));}},{key:"red",get:function(){return Ht(ft,this)},set:function(r){Rt(Ge,this,r/255),Rt(ft,this,qn(r,0,255));}},{key:"green",get:function(){return Ht(Ke,this)},set:function(r){Rt(et,this,r/255),Rt(Ke,this,qn(r,0,255));}},{key:"blue",get:function(){return Ht(qe,this)},set:function(r){Rt(it,this,r/255),Rt(qe,this,qn(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(ZA,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,e2(o));case "turn":return i.replace(l,t2(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=Fd.default);var a=new ct(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw mt.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(JA)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return zr(Gt,this,QA).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new La(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,f){return c.value-f.value}),o=xe(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,n[u.name]=u.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new La(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function QA(e){var t=new La(this);return t.r+=e,t.g+=e,t.b+=e,t}var bt=La;function qn(e,t,r){return Math.min(Math.max(t,e),r)}function e2(e){return e*180/Math.PI}function t2(e){return e*360}function r2(e){var t=new bt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var wn=r2;function n2(e){var t=d.getComputedStyle(e);return oo(e,t)||wn(t).alpha===1}var a2=n2;function wl(e){if(!e.href)return false;var t=We.get("firstPageLink",i2);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function i2(){var e;return d.location.origin?e=Zt(h._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Ys(t.actualNode)}):e=Zt(h._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var o2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,s2=/(\w+)\((\d+)/;function l2(e){var t=e.getPropertyValue("clip").match(o2),r=e.getPropertyValue("clip-path").match(s2);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function u2(e,t,r){var n=Mn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Pt(e);if(!i||i.nodeType!==9)return false;var o=Zt(h._tree,'img[usemap="#'.concat(wt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return so(l,t,r)})}function so(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Ft?e:Ye(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=d.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=a?a.props.nodeType:e.nodeType,c=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var f=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(f==="true")return false}if(!e){var g=a.parent,x=true;return g&&(x=so(g,t,true)),a&&(a[i]=x),x}var S=d.getComputedStyle(e,null);if(S===null)return false;if(c==="area")return u2(e,t,r);if(S.getPropertyValue("display")==="none")return false;var M=parseInt(S.getPropertyValue("height")),q=parseInt(S.getPropertyValue("width")),H=Hr(e),$=H&&M===0,X=H&&q===0,Y=S.getPropertyValue("position")==="absolute"&&(M<2||q<2)&&S.getPropertyValue("overflow")==="hidden";if(!t&&(l2(S)||S.getPropertyValue("opacity")==="0"||$||X||Y)||!r&&(S.getPropertyValue("visibility")==="hidden"||!t&&Gi(e)))return false;var Z=e.assignedSlot?e.assignedSlot:e.parentNode,re=false;return Z&&(re=so(Z,t,true)),a&&(a[i]=re),re}var c2=so;function d2(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=d.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Vp=d2;function jp(e,t){var r=$p(t);do{var n=$p(e);if(n===r||n===t)return f2(e,t);e=n;}while(e);return false}function $p(e){for(var t=Ye(e),r=t.parent;r;){if(Hr(r.actualNode))return r.actualNode;r=r.parent;}}function f2(e,t){var r=d.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof d.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function zp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return Pt(a)===r}).reduce(function(a,i){if(ji(i)){var o=zp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&jp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var p2=zp;function m2(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=m.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=g2(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:h2(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:v2(n.search),hash:b2(n.hash),filename:l}}}function h2(e){var t=["443","80"];return t.includes(e)?"":e}function g2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function v2(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=xe(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function b2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=xe(r,1),a=n[0];return a==="#"?"":e}var y2=m2;function w2(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=d.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof d.HTMLBodyElement||t instanceof d.HTMLHtmlElement:true}var xl=w2,Gp=0,x2=(function(e){function t(r,n,a){var i;if(Qt(this,t),i=ne(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Gp=0),i.nodeIndex=Gp++,i._isHidden=null,i._cache={},i._isXHTML=fa(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),yo().includes(o)||(o="text"),i._type=o;}return We.get("nodeMap")&&We.get("nodeMap").set(r,i),i}return De(t,e),Vt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof d.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=d.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=_t(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Gf(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Ft),Dl=x2;function D2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Bt=D2,xn=" [idsMap]";function Wp(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return Up(l)}))return;var o=new Set;t.forEach(function(l){var u,c=A2(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(f){c.isComplexSelector&&!Tn(f,l)||o.add(f);});});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 A2(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(Up(n))a=t["*"];else {if(n.id){var o;if(!t[xn]||!Object.hasOwn(t[xn],n.id)||!((o=t[xn][n.id])!==null&&o!==void 0&&o.length))return;a=t[xn][n.id].filter(function(M){return M.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var l=t[n.tag];a=a?Al(l,a):l;}if(n.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];a=a?Al(c,a):c;}if(n.attributes)for(var f=0;f<n.attributes.length;f++){var g,x=n.attributes[f];if(x.type==="attrValue"&&(i=true),!((g=t["[".concat(x.key,"]")])!==null&&g!==void 0&&g.length))return;var S=t["[".concat(x.key,"]")];a=a?Al(S,a):S;}}return {nodes:a,isComplexSelector:i}}function Up(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Al(e,t){return e.filter(function(r){return t.includes(r)})}function lo(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Xp(e,t){e.props.nodeType===1&&(lo(e.props.nodeName,e,t),lo("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[xn]=t[xn]||{},Bt(e.attr(r)).forEach(function(n){lo(n,e,t[xn]);})),lo("[".concat(r,"]"),e,t);}));}var _l;function El(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m.documentElement,t=arguments.length>1?arguments[1]:void 0;_l=false;var r={};We.set("nodeMap",new WeakMap),We.set("selectorMap",r);var n=Yp(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=_l,n}function _2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function Cl(e,t,r){var n=new Dl(e,t,r);return Xp(n,We.get("selectorMap")),n}function uo(e,t,r){var n=[];return e.forEach(function(a){var i=Yp(a,r,t);i&&n.push.apply(n,Ce(i));}),n}function Yp(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(ji(e))return _l=true,n=Cl(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=uo(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),uo(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=_2(e));d.getComputedStyle(e);return uo(a,r,t)}if(e.nodeType===m.ELEMENT_NODE)return n=Cl(e,r,t),a=Array.from(e.childNodes),n.children=uo(a,n,t),[n];if(e.nodeType===m.TEXT_NODE)return [Cl(e,r)]}function E2(e){return e?e.trim().split("-")[0].toLowerCase():""}var Dn=E2;function C2(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=h._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
367
369
|
|
|
368
|
-
`)}var
|
|
369
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Hp(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof f.Node)if(i.documentElement instanceof f.Node)r.push(e.flatTree[0]);else if(i.host instanceof f.Node){var o=Array.from(i.children).map(function(l){return We(l)});r.push.apply(r,Ce(o));}else r.push(We(i));else if(i&&i.length)if(i.length>1)L2(e,t,i);else {var s=Pl(i[0]);r.push.apply(r,Ce(s.map(function(l){return We(l)})));}}return r.filter(function(l){return l})}function L2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Pl(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=qp(i,e),e.frames.push(o)),o[t].push(r);});}function no(e,t){var r,a,n,i,o=this;e=Mr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=le((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=S2(e),this.flatTree=t??wl(N2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Hp(this,"include"),this.exclude=Hp(this,"exclude"),Ml("frame, iframe",this).forEach(function(s){Tl(s,o)&&M2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=P2(this),this.frames.forEach(function(s){s.page=o.page;})),O2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Rl);}function M2(e,t){!pt(t)||gn(e.frames,"node",t)||e.frames.push(qp(t,e));}function P2(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function O2(e){if(e.include.length===0&&e.frames.length===0){var t=br.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function N2(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof f.Element)return i.ownerDocument.documentElement;if(i instanceof f.Document)return i.documentElement}return m.documentElement}function q2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new no(e),a=r.frames;return a.map(function(n){var i=n.node,o=re(n,H);o.initiator=false;var s=Ci(i);return {frameSelector:s,frameContext:o}})}function Vp(e){var t=g._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 B2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=f.getComputedStyle(e),i=jp(n,"overflow-x"),o=jp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function jp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var qr=lt(B2);function $p(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=qr(r);return a&&t.push(a),t.concat($p(r))},[])}function H2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat($p(m.body))}var V2=H2;function j2(){return Mr(et)}function $2(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 zp=$2,er;function z2(e){if(er&&er.parentNode)return er.styleSheet===void 0?er.appendChild(m.createTextNode(e)):er.styleSheet.cssText+=e,er;if(e){var t=m.head||m.getElementsByTagName("head")[0];return er=m.createElement("style"),er.type="text/css",er.styleSheet===void 0?er.appendChild(m.createTextNode(e)):er.styleSheet.cssText=e,t.appendChild(er),er}}var G2=z2;function El(e){return !!e&&le(e)==="object"&&typeof e.length=="number"&&!(e instanceof f.Node)}function Sr(e,t){return !e||le(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Gp(e){return Cl(e)||io(e)}function Cl(e){return ["include","exclude"].some(function(t){return Sr(e,t)&&io(e[t])})}function io(e){return typeof e=="string"||e instanceof f.Node||Sl(e)||oo(e)||El(e)}function Sl(e){return Sr(e,"fromFrames")}function oo(e){return Sr(e,"fromShadowDom")}function Wp(e,t){var r=We(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=f.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Wp(n,true);return r&&(r._isHidden=i),i}var W2=Wp;function U2(e){var t,r,a=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!et.htmlElms[a]}var kl=U2;function Tl(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Pr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Pr(c,e)});if(s.length===0)return true;var l=Up(o),u=Up(s);return Pr(u,l)}function Up(e){var t,r=Je(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Pr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function Fl(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 X2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Rl=X2;function Ze(e){return e instanceof Rt?{vNode:e,domNode:e.actualNode}:{vNode:We(e),domNode:e}}function Y2(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 h=[].concat(Ce(r),[d]),x=/^https?:\/\/|^\/\//i.test(c);return Ll(c,t,h,a,x)}),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 Xp=Y2;function K2(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=J2(e);return i?Xp(e,t,r,a,n):Ll(e.href,t,r,a,true)}function J2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Il=K2;function Z2(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new f.XMLHttpRequest;s.open("GET",e),s.timeout=ze.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 Il(o.sheet,t,r,a,o.isCrossOrigin)})}var Ll=Z2;function Q2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var kr=Q2,e_=(function(){function e(){if(f.performance&&f.performance)return f.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(n){var i;(i=f.performance)!==null&&i!==void 0&&i.mark&&f.performance.mark(n);},measure:function(n,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=f.performance)!==null&&s!==void 0&&s.measure){try{f.performance.measure(n,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,l=function(I){return Array.isArray(I)?I[I.length-1]:I},u=function(I){i._log("Measure "+I.name+" took "+I.duration+"ms");};if(!(!((o=f.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=f.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(f.performance.getEntriesByName("mark_axe_start"))||l(f.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=f.performance.getEntriesByType("measure").filter(function(k){return k.startTime>=c.startTime}),h=0;h<d.length;++h){var x=d[h];if(x.name===n){u(x);return}else n||u(x);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=f.performance)!==null&&n!==void 0&&n.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];f.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){ca(n);}}})(),tt=e_;function Yp(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var n=m.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=m.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,l,u=[],c=[];for(m.head.appendChild(a);(o=m.elementFromPoint(n,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(a),u}}typeof f.addEventListener=="function"&&(m.elementsFromPoint=Yp());function t_(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var In=t_;function Kp(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 r_(e,t,r){for(var a=$e.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=Kp(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,h=null,x=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),k=false,I=0;I<x;I++){var M,O,q,G=I<(((M=o.anyLevel)===null||M===void 0?void 0:M.length)||0)?o.anyLevel[I]:o.thisLevel[I-(((O=o.anyLevel)===null||O===void 0?void 0:O.length)||0)];if((!G[0].id||c.shadowId===o.parentShadowId)&&Ea(c,G[0]))if(G.length===1)!k&&(!r||r(c))&&(s.push(c),k=true);else {var W=G.slice(1);if([" ",">"].includes(W[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+G[1].combinator);W[0].combinator===">"?(d=d||[]).push(W):(h=h||[]).push(W);}(!G[0].id||c.shadowId===o.parentShadowId)&&(q=o.anyLevel)!==null&&q!==void 0&&q.includes(G)&&(h=h||[]).push(G);}for(c.children&&c.children.length&&(n.push(o),o=Kp(c.children,h,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function a_(e,t,r){e=Array.isArray(e)?e:[e];var a=Si(t),n=Rp(e,a,r);return n||r_(e,a,r)}var Tr=a_;function n_(e){var t=e.treeRoot,r=t===void 0?g._tree[0]:t,a=i_(r);if(!a.length)return Promise.resolve();var n=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=zp(n);return o_(a,i).then(function(o){return Zp(o)})}var Jp=n_;function i_(e){var t=[],r=Tr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:vn(a.actualNode)}});return In(r,[])}function o_(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=s_(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(h,x){var k=[l,x];return Il(h,u,k,c)}));r.push(d);}),Promise.all(r)}function Zp(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(Zp(r)):t.concat(r)},[])}function s_(e,t,r){var a;return e.nodeType===11&&t?a=l_(e,r):a=u_(e),d_(a)}function l_(e,t){return Array.from(e.children).filter(c_).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 u_(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Qp(t.media.mediaText):false})}function c_(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&&Qp(e.media)}function Qp(e){return e?!e.toUpperCase().includes("PRINT"):true}function d_(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function f_(e){var t=e.treeRoot,r=t===void 0?g._tree[0]:t,a=Tr(r,"video[autoplay], audio[autoplay]",function(n){var i=n.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return p_(i)}))}var em=f_;function p_(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function tm(e){var t={cssom:Jp,media:em};return rm(e)?new Promise(function(r,a){var n=am(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 K({},l,u)})})).then(function(l){var u=l.reduce(function(c,d){return Fe({},c,d)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),a(l);});}):Promise.resolve()}function m_(e){return le(e)==="object"&&Array.isArray(e.assets)}function rm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:m_(e.preload)}function am(e){var t=ze.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return n.assets=In(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function so(e){var t=g._audit.data.checks||{},r=g._audit.data.rules||{},a=gn(g._audit.rules,"id",e.id)||{};e.tags=Mr(a.tags||[]);var n=nm(t,true,a),i=nm(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Is(e,Mr(r[e.id]||{}));}function h_(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:Al()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function nm(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?(le(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=h_(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=_l(o.message,a.data)),Is(a,o);}}function g_(e,t){return Tr(e,t)}var tr=g_;function im(e,t){var r,a,n=g._audit&&g._audit.tagExclude?g._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 v_(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?im(e,a.values):im(e,[])}var om=v_;function sm(e,t){if(!t)return e;var r=e.cloneNode(false),a=Qa(r);if(r.nodeType===1){var n=r.outerHTML;r=$e.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(sm(i,t));}),r}function lm(e,t,r,a){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(n){b_(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function b_(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Da(e,r[t])}function Ml(e,t){var r=[],a;if(g._selectCache)for(var n=0,i=g._selectCache.length;n<i;n++){var o=g._selectCache[n];if(o.selector===e)return o.result}for(var s=y_(t.include),l=w_(t),u=0;u<s.length;u++){a=s[u];var c=Tr(a,e,l);r=x_(r,c);}return g._selectCache&&g._selectCache.push({selector:e,result:r}),r}function y_(e){return e.reduce(function(t,r){return (!t.length||!Pr(t[t.length-1],r))&&t.push(r),t},[])}function w_(e){return !e.exclude||e.exclude.length===0?null:function(t){return Tl(t,e)}}function x_(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 lo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(le(e)!=="object"||e===null)return {message:String(e)};var r={},a=Je(ze.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(le(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?lo(e.cause,t+1):"..."),r}var D_=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return ft(this,t),n=se(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=lo(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),l&&(n.errorNode=l),n}return Ie(t,e),vt(t)})(z(Error)),uo=D_;function A_(e,t,r){if(e===f)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function __(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return A_(r,a,n)});}var E_=__;function C_(e){var t=Array.isArray(e)?Ce(e):[e];return um(t,m)}function um(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?um(e,a.shadowRoot):null}function Pl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?Ce(e):[e];return e.length===0?[]:cm(r,t)}function cm(e,t){var r=N(e),a=r[0],n=Wn(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=Je(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Ce(cm(n,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function S_(){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 co=S_,dm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 k_(e){for(var t=dm;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 fm(e){e=Array.isArray(e)?e:dm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(fm(r).map(function(i){return n+i})):t.push(n);}),t}var fo=k_,T_=(function(e){function t(r){var a;return ft(this,t),a=se(this,t),a._props=R_(r),a._attrs=I_(r),a}return Ie(t,e),vt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Rt),Ol={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},pm={},F_=Object.keys(Ol);F_.forEach(function(e){pm[Ol[e]]=e;});function R_(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:pm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Ol[e.nodeName])!==null&&r!==void 0?r:1;Qe(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Qe(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),co().includes(o)||(o="text"));var s=Fe({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function I_(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(Qe(le(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 mm=T_;function L_(e,t){if(e=e||function(){},t=t||g.log,!g._audit)throw new Error("No audit configured");var r=g.utils.queue(),a=[];Object.keys(g.plugins).forEach(function(i){r.defer(function(o){var s=function(u){a.push(u),o();};try{g.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var n=g.utils.getFlattenedTree(m.body);g.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,s){return g.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){a.length===0?e(i):t(a);}).catch(t);}var hm=L_,Ln={},gm;function vm(e){return Ln.hasOwnProperty(e)}function Nl(e){return typeof e=="string"&&Ln[e]?Ln[e]:typeof e=="function"?e:gm}function M_(e,t,r){Ln[e]=t,r&&(gm=t);}function P_(e){var t=g._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=ye(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),l=ye(s,3),u=l[0],c=l[1],d=l[2],h=g.version.split("-"),x=ye(h,2),k=x[0],I=x[1],M=k.split(".").map(Number),O=ye(M,3),q=O[0],G=O[1],W=O[2];if(u!==q||G<c||G===c&&W<d||u===q&&c===G&&d===W&&o&&o!==I)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(g.version))}if(e.reporter&&(typeof e.reporter=="function"||vm(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(ee){if(!ee.id)throw new TypeError("Configured check ".concat(JSON.stringify(ee)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ee);});}var Y=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ee){if(!ee.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ee)," is invalid. Rules must be an object with at least an id property"));Y.push(ee.id),t.addRule(ee);});}if(e.disableOtherRules&&t.rules.forEach(function(ee){Y.includes(ee.id)===false&&(ee.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&&eD(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(ze.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var O_=P_;function N_(e){br.updateMessenger(e);}function q_(e){e=e||[];var t=e.length?g._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):g._audit.rules,r=g._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 B_=q_;function H_(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&kn(r)){var n=f.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&f.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var V_=H_,bm={};fr(bm,{getAllCells:function(){return ql},getCellPosition:function(){return Gi},getHeaders:function(){return po},getScope:function(){return Js},isColumnHeader:function(){return Ia},isDataCell:function(){return wm},isDataTable:function(){return mo},isHeader:function(){return U_},isRowHeader:function(){return La},toArray:function(){return Nr},toGrid:function(){return Nr},traverse:function(){return Bl}});function j_(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 ql=j_;function ym(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?La:Ia,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,d=t.x+o,h=e==="row"?t.y:0,x=e==="row"?0:t.x,k,I=[],M=c;M>=h&&!k;M--)for(var O=d;O>=x;O--){var q=r[M]?r[M][O]:void 0;if(q){var G=g.utils.getNodeFromTree(q);if(G[a]){k=G[a];break}I.push(q);}}return k=(k||[]).concat(I.filter(n)),I.forEach(function(W){var Y=g.utils.getNodeFromTree(W);Y[a]=k;}),k}function $_(e,t){if(e.getAttribute("headers")){var r=_r(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Nr(Fa(e,"table")));var a=Gi(e,t),n=ym("row",a,t),i=ym("col",a,t);return [].concat(n,i).reverse()}var po=$_;function z_(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Ye(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var wm=z_;function G_(e){var t=Ye(e);if((t==="presentation"||t==="none")&&!_t(e))return false;if(e.getAttribute("contenteditable")==="true"||Fa(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||yr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,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(Ye(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||l)return true;for(var x,k,I=0;I<i;I++){if(o=e.rows[I],x&&x!==f.getComputedStyle(o).getPropertyValue("background-color")||(x=f.getComputedStyle(o).getPropertyValue("background-color"),k&&k!==f.getComputedStyle(o).getPropertyValue("background-image")))return true;k=f.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Os(e).width>Pi(f).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var mo=G_;function W_(e){if(Ia(e)||La(e))return true;if(e.getAttribute("id")){var t=yt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var U_=W_;function xm(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=xm(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function X_(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 xm(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Bl=X_,Dm={};fr(Dm,{allowedAttr:function(){return Am},arialabelText:function(){return An},arialabelledbyText:function(){return Dn},getAccessibleRefs:function(){return Hl},getElementUnallowedRoles:function(){return Cm},getExplicitRole:function(){return Ye},getImplicitRole:function(){return Er},getOwnedVirtual:function(){return Cn},getRole:function(){return Ge},getRoleType:function(){return yr},getRolesByType:function(){return oE},getRolesWithNameFromContents:function(){return uE},implicitNodes:function(){return dE},implicitRole:function(){return Er},isAccessibleRef:function(){return ho},isAriaRoleAllowedOnElement:function(){return Em},isComboboxPopup:function(){return jl},isUnsupportedRole:function(){return Ys},isValidRole:function(){return _n},label:function(){return Fm},labelVirtual:function(){return Xi},lookupTable:function(){return km},namedFromContents:function(){return Jf},requiredAttr:function(){return Rm},requiredContext:function(){return $l},requiredOwned:function(){return zl},validateAttr:function(){return go},validateAttrValue:function(){return Im}});function Y_(e){var t=et.ariaRoles[e],r=Ce(Kr());return t&&(t.allowedAttrs&&r.push.apply(r,Ce(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Ce(t.requiredAttrs))),r}var Am=Y_,K_=/^idrefs?$/;function _m(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=qe(e.getAttribute(i)||"");if(o){var s=Je(jt(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(d){s.e(d);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&_m(e.childNodes[c],t,r);}function J_(e){var t;e=e.actualNode||e;var r=Nt(e);r=r.documentElement||r;var a=$e.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(et.ariaAttrs).filter(function(o){var s=et.ariaAttrs[o].type;return K_.test(s)});_m(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Hl=J_;function Z_(e,t){var r=e instanceof Rt?e:We(e),a=Er(r),n=Jr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var Em=Z_,Q_=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],eE={header:"banner",footer:"contentinfo"};function tE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=jt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return _n(a)})}function rE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ze(e),a=r.vNode;if(!kl(a))return [];var n=a.props.nodeName,i=Er(a)||eE[n],o=tE(a);return o.filter(function(s){return !aE(s,a,t,i)})}function aE(e,t,r,a){return r&&e===a?true:Q_.includes(e)&&yr(e)!==a?false:Em(t,e)}var Cm=rE;function nE(e){return Object.keys(et.ariaRoles).filter(function(t){return et.ariaRoles[t].type===e})}var Pa=nE;function iE(e){return Pa(e)}var oE=iE;function sE(){return $e.get("ariaRolesNameFromContent",function(){return Object.keys(et.ariaRoles).filter(function(e){return et.ariaRoles[e].nameFromContent})})}var Vl=sE;function lE(){return Vl()}var uE=lE,Sm=function(t){return t===null},qt=function(t){return t!==null},Br={};Br.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}},Br.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"],Br.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:qt}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:qt}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:qt}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:qt}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:qt}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:qt}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:qt}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:qt}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:qt}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:qt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Br.implicitHtmlRole=Qs,Br.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:qt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:qt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof g.AbstractVirtualNode||(t=g.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"]}],Br.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Sm}},{nodeName:"img",attributes:{alt:Sm}},{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"]}],Br.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=g.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=g.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}},Br.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var km=Br;function cE(e){var t=null,r=km.role[e];return r&&r.implicit&&(t=Mr(r.implicit)),t}var dE=cE;function fE(e){return !!Hl(e).length}var ho=fE;function jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Ge(e);if(r??(r=If["aria-haspopup"].values),!r.includes(a))return false;var n=pE(e);if(Tm(n))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=vn(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
370
|
-
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Tm)}var Tm=function(t){return t&&Ge(t)==="combobox"};function pE(e){for(;e=e.parent;)if(Ge(e,{noPresentational:true})!==null)return e;return null}function mE(e){return e=We(e),Xi(e)}var Fm=mE;function hE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Ce(t.requiredAttrs)}var Rm=hE;function gE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Ce(t.requiredContext)}var $l=gE;function vE(e){var t=et.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Ce(t.requiredOwned)}var zl=vE;function bE(e,t){e=e instanceof Rt?e:We(e);var r,a,n=e.attr(t),i=et.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=jt(n),a.reduce(function(l,u){return l&&i.values.includes(u)},a.length!==0);case "idref":try{var o=Nt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return _r(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 Im=bE;function yE(e){var t=et.ariaAttrs[e];return !!t}var go=yE;function wE(e){var t=ql(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 qe(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Ye(s))!==-1}),i=Nr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var l=Gi(s,i),u=false;Ia(s)&&(u=Bl("down",l,i).find(function(c){return !Ia(c)&&po(c,i).includes(s)})),!u&&La(s)&&(u=Bl("right",l,i).find(function(c){return !La(c)&&po(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var xE=wE,Mn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Lm=Mn[0],Mm=Mn[1],Pm=Mn[2],Gl=Mn[3];function DE(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]=Ge(o));}var l=K(K(K(K({},Pm,new Set),Lm,new Set),Mm,new Set),Gl,new Set);t.forEach(function(h){if(!(!h.hasAttribute("headers")||!pt(h))){var x=h.getAttribute("headers").trim();if(!x){l[Gl].add(h);return}var k=h.getAttribute("id"),I=jt(x);I.forEach(function(M){k&&M===k?l[Pm].add(h):r[M]?["columnheader","rowheader"].includes(r[M])||l[Mm].add(h):l[Lm].add(h);});}});var u=Je(Mn),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(l[d].size>0)return this.relatedNodes(Ce(l[d])),d===Gl?void 0:(this.data({messageKey:d}),!1)}}catch(h){u.e(h);}finally{u.f();}return true}function AE(e){var t=[],r=ql(e),a=Nr(e);return r.forEach(function(n){if(Ji(n)&&wm(n)&&!Fm(n)){var i=po(n,a).some(function(o){return o!==null&&!!Ji(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var _E=AE;function EE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var CE=EE,SE=kE;function kE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(TE),i=n?qe(Zr(n)):false;return !i||!a?false:qe(a).toLowerCase()===qe(i).toLowerCase()}}function TE(e){return e.props.nodeName==="caption"}function FE(e){return Ap(m)?e.nodeName.toUpperCase()==="TH":true}var RE=FE;function IE(e){var t=Nr(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 LE=IE;function ME(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=Zr(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var PE=ME,Om={};fr(Om,{getAriaRolesByType:function(){return Pa},getAriaRolesSupportingNameFromContent:function(){return Vl},getElementSpec:function(){return Jr},getElementsByContentType:function(){return Ks},getGlobalAriaAttrs:function(){return Kr},implicitHtmlRoles:function(){return Qs}});function OE(e,t,r){var a=Ye(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=Ge(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=Kr().some(function(l){return r.hasAttr(l)}),o=_t(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function NE(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 qE=NE;function BE(e){return Zt(e)}var HE=BE;function VE(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&&!Ep(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(Fe({value:d},c)),true;var h=jE(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Fe({value:h},c)),typeof h=="number")return (typeof n!="number"||h>=n)&&(typeof i!="number"||h<=i)}function jE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=f.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function $E(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var zE=$E;function GE(){}var WE=GE;function UE(){var e=m.title;return !!qe(e)}var XE=UE;function YE(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 KE=YE;function JE(e,t,r){try{return !!qe(Dn(r))}catch{return}}var ZE=JE;function QE(e,t,r){return !!qe(An(r))}var eC=QE;function tC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Nt(e),a=Array.from(r.querySelectorAll('[id="'.concat(yt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var rC=tC;function aC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var nC=aC;function iC(e,t,r){var a=qe(r.attr("title")).toLowerCase();return this.data(a),true}var oC=iC;function sC(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 lC=sC;function uC(e){var t=Gs(e,"href");return t?pt(t)||void 0:false}var cC=uC,dC=["alert","log","status"];function fC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=$e.get("regionlessNodes",function(){return pC(t)});return !a.includes(r)}function pC(e){var t=Nm(g._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function Nm(e,t){var r=e.actualNode;if(Ge(e)==="button"||hC(e,t)||["iframe","frame"].includes(e.props.nodeName)||hl(e.actualNode)&&Gs(e.actualNode,"href")||!pt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==m.body&&Ji(r,true)&&!mC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return Nm(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function mC(e){return ["none","presentation"].includes(Ge(e))&&!Ki(e)}function hC(e,t){var r=e.actualNode,a=Ge(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Pa("landmark");return !!(["assertive","polite"].includes(n)||dC.includes(a)||i.includes(a)||t.regionMatcher&&En(e,t.regionMatcher))}function gC(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=Je(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(Fl(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 vC=gC;function bC(e){switch(e){case "lighter":return 100;case "normal":return 400;case "bold":return 700;case "bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function yC(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 Wl(e){var t=f.getComputedStyle(yC(e));return {fontWeight:bC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function qm(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 wC(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(M){return M.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(M){return M.nodeName.toUpperCase()==="P"}),l=Wl(e),u=o?Wl(o):null,c=s?Wl(s):null,d=t.passLength,h=t.failLength,x=e.textContent.trim().length,k=o?.textContent.trim().length;if(x>k*d||!u||!qm(l,u,i))return true;var I=Ta(r,"blockquote");if(!(I&&I.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!qm(l,c,i))&&!(x>k*h))return false}var xC=wC,DC=/[;,\s]/,AC=/^[0-9.]+$/;function _C(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(DC),l=ye(s,1),u=l[0];if(!u.match(AC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function EC(e,t,r){var a=tr(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var CC=EC,Bm={};fr(Bm,{aria:function(){return Dm},color:function(){return Hm},dom:function(){return Ls},forms:function(){return Zm},matches:function(){return En},math:function(){return ff},standards:function(){return Om},table:function(){return bm},text:function(){return xn},utils:function(){return zo}});var Hm={};fr(Hm,{Color:function(){return mt},centerPointOfRect:function(){return kC},elementHasImage:function(){return Zi},elementIsDistinct:function(){return jm},filteredRectStack:function(){return IC},flattenColors:function(){return Fr},flattenShadowColors:function(){return Xl},getBackgroundColor:function(){return On},getBackgroundStack:function(){return Yl},getContrast:function(){return Oa},getForegroundColor:function(){return yo},getOwnBackgroundColor:function(){return ga},getRectStack:function(){return $m},getStackingContext:function(){return Jl},getStrokeColorsFromShadows:function(){return Kl},getTextShadowColors:function(){return bo},hasValidContrastRatio:function(){return eS},incompleteData:function(){return ut},parseTextShadows:function(){return Wm},stackingContextToColor:function(){return Pn}});function SC(e){if(!(e.left>f.innerWidth)&&!(e.top>f.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),f.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),f.innerHeight-1);return {x:t,y:r}}}var kC=SC;function Vm(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function TC(e,t){var r=f.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new mt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(a)return true;var n=f.getComputedStyle(t);if(Vm(r)[0]!==Vm(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 jm=TC;function FC(e){var t=Tf(e),r=ul(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var $m=FC;function RC(e){var t=$m(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],s=t[i];a=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),a?t[0]:(ut.set("bgColor","elmPartiallyObscuring"),null)}return ut.set("bgColor","outsideViewport"),null}var IC=RC,LC=["hue","saturation","color","luminosity"],zm={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=PC(t,e,r),n=Ul(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Ul(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Ul(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=MC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new mt(n,i,o,s);var l=Math.round(n/s),u=Math.round(i/s),c=Math.round(o/s);return new mt(l,u,c,s)}function Ul(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function MC(e,t,r){return Math.min(Math.max(t,e),r)}function PC(e,t,r){if(LC.includes(r))return zm[r](e,t);var a=new mt;return ["r","g","b"].forEach(function(n){a[n]=zm[r](e[n],t[n]);}),a}function Xl(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new mt(a,n,i,o)}function Yl(e){for(var t=ul(e).map(function(n){return n=Cp(n,e),n=OC(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ut.set("bgColor","bgOverlap"),null;if(r!==0&&!NC(a,t[0]))return ut.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function OC(e){var t=e.indexOf(m.body),r=e,a=ga(f.getComputedStyle(m.documentElement));if(t>1&&a.alpha===0&&!Zi(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var n=r.indexOf(m.documentElement);n>0&&(r.splice(n,1),r.push(m.documentElement));}return r}function NC(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 qC=.54,vo=.5,BC=1.5,Gm=["top","right","bottom","left"];function Kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=HC(e),i=Object.entries(n).map(function(o){var s=ye(o,2),l=s[0],u=s[1],c=Gm.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(VC).filter(function(o){return o!==null})}function HC(e){var t={},r=Je(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=ye(s,2),c=u[0],d=u[1];c>vo?l.right.push(c):-c>vo&&l.left.push(-c),d>vo?l.bottom.push(d):-d>vo&&l.top.push(-d);}}catch(h){r.e(h);}finally{r.f();}return t}function VC(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new mt;n.parseString(t);var i=0,o=true;return Gm.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>BC}));}),o||(n.alpha=1-Math.pow(qC,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)Qe(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Qe(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")Qe(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),a}function bo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=f.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);Qe(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],d=Wm(s),h=Je(d),x;try{for(h.s();!(x=h.n()).done;){var k=x.value,I=k.colorStr||o.getPropertyValue("color"),M=ye(k.pixels,3),O=M[0],q=M[1],G=M[2],W=G===void 0?0:G;if(!(a&&W>=u*a)){if(r&&W<u*r){c.push({colorStr:I,pixels:k.pixels});continue}if(c.length>0){var Y=Kl(c,{ignoreEdgeCount:n});if(Y===null)return null;i.push.apply(i,Ce(Y)),c.splice(0,c.length);}var ee=jC({colorStr:I,offsetX:O,offsetY:q,blurRadius:W,fontSize:u});i.push(ee);}}}catch(ue){h.e(ue);}finally{h.f();}if(c.length>0){var ie=Kl(c,{ignoreEdgeCount:n});if(ie===null)return null;i.push.apply(i,Ce(ie));}return i}function jC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new mt(0,0,0,0);var o=new mt;return o.parseString(t),o.alpha*=$C(n,i),o}function $C(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Jl(e,t){var r=We(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Yl(e),t.forEach(function(i){var o,s=We(i),l=WC(s),u=s._stackingOrder.filter(function(h){var x=h.vNode;return !!x});u.forEach(function(h,x){var k,I=h.vNode,M=(k=u[x-1])===null||k===void 0?void 0:k.vNode,O=Xm(n,I,M);x===0&&!n.get(I)&&a.unshift(O),n.set(I,O);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,d=Xm(n,s,c);u.length||a.unshift(d),d.bgColor=l;}),r._stackingContext=a,a}function Pn(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(zC,Um()),n=Fr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function zC(e,t){var r;e instanceof mt?r=e:r=Pn(e).color;var a=Pn(t).color;return Fr(a,r,t.blendMode)}function Um(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new mt(0,0,0,0),blendMode:GC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function GC(e){return e||void 0}function Xm(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Um(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function WC(e){var t=new mt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function On(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=We(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,Ce(n.bgElms)),ut.set("bgColor",n.incompleteData),n.bgColor;var i=UC(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ut.get("bgColor")},i}function UC(e,t,r){var a,n,i=Yl(e);if(!i)return null;var o=ll(e),s=(a=bo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(Xl)}]);for(var l=0;l<i.length;l++){var u=i[l],c=f.getComputedStyle(u);if(Zi(u,c))return t.push(u),null;var d=void 0;try{if(d=ga(c),d.alpha===0)continue}catch(I){if(I&&ut.get("colorParse"))return null;throw I}if(c.getPropertyValue("display")!=="inline"&&!Ym(u,o))return t.push(u),ut.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),d.alpha===1)break}var h=Jl(e,i);s=h.map(Pn).concat(s);var x=XC(e,i.includes(m.body));if((n=s).unshift.apply(n,Ce(x)),s.length===0)return new mt(255,255,255,1);var k=s.reduce(function(I,M){return Fr(M.color,I.color instanceof mt?I.color:I,M.blendMode)});return Fr(k.color instanceof mt?k.color:k,new mt(255,255,255,1))}function Ym(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=f.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof f.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,n=r.top+e.scrollHeight+u+c),t.every(function(d){return d.top>=r.top&&d.bottom<=n&&d.left>=r.left&&d.right<=a})}function Km(e){return e||void 0}function XC(e,t){var r=[];if(!t){var a=m.documentElement,n=m.body,i=f.getComputedStyle(a),o=f.getComputedStyle(n),s=ga(i),l=ga(o),u=l.alpha!==0&&Ym(n,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:Km(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:Km(i.getPropertyValue("mix-blend-mode"))});}return r}function YC(e,t){if(!t||!e)return null;t.alpha<1&&(t=Fr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Oa=YC;function yo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=f.getComputedStyle(e),i=[function(){return JC(n,a)},function(){return KC(n)},function(){return bo(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(I){if(I&&ut.get("colorParse"))return null;throw I}var d=o.reduce(function(I,M){return Fr(I,M)});if(r??(r=On(e,[])),r===null){var h=ut.get("bgColor");return ut.set("fgColor",h),null}var x=Jl(e),k=Jm(x,e);return Fr(ZC(d,k,x),new mt(255,255,255,1))}function KC(e){return new mt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function JC(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new mt().parseString(s)}function ZC(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(Pn);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Fr(l.color,s.color instanceof mt?s.color:s)},{color:new mt(0,0,0,0),blendMode:"normal"});e=Fr(e,o),t=t.ancestor;}return e}function Jm(e,t){var r=Je(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=Jm(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function QC(e,t,r,a){var n=Oa(e,t),i=a&&Math.ceil(r*72)/96<14||!a&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:n>o,contrastRatio:n,expectedContrastRatio:o}}var eS=QC,Zm={};fr(Zm,{isAriaCombobox:function(){return np},isAriaListbox:function(){return ap},isAriaRange:function(){return ip},isAriaTextbox:function(){return rp},isDisabled:function(){return Nn},isNativeSelect:function(){return tp},isNativeTextbox:function(){return ep}});var tS=["fieldset","button","select","input","textarea"];function Qm(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return tS.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=Qm(e.parent):t=false,e._isDisabled=t,t}var Nn=Qm;function rS(e,t,r){var a=xn.accessibleTextVirtual(r),n=xn.sanitize(xn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:Ls.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var aS=rS;function e1(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 le(o)!==le(s)?false:le(o)==="object"||le(s)==="object"?e1(o,s):o===s});return n}function nS(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,h=c.urlProps;if(a[d])return 1;var x=t.filter(function(I,M){var O=I.data;return O.name===d&&M!==s}),k=x.every(function(I){var M=I.data;return e1(M.urlProps,h)});x.length&&!k&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Ce(x.map(function(I){return I.relatedNodes[0]}))),a[d]=x,r.push(u);},i=0;i<t.length;i++)n(i);return r}var iS=nS;function oS(e){var t=Ge(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ye(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 sS(){var e=$e.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(g._tree[0],t,pt);return e=r.map(function(a){return {ancestry:[Ci(a.actualNode)],level:oS(a)}}),this.data({headingOrder:e}),$e.set("headingOrder",r),true}var lS=sS;function uS(e){var t=dS(e);return e.forEach(function(r){r.result=cS(r,t);}),e}function cS(e,t){var r,a,n,i,o=t1(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 dS(e){e=Ce(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(fS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function fS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=r1(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return mS(s,n)}),o=pS(e,n);return o===-1?e.push.apply(e,Ce(i)):e.splice.apply(e,[o,0].concat(Ce(i))),e}function pS(e,t){for(;t.length;){var r=t1(e,t);if(r!==-1)return r;t=r1(t,1);}return -1}function t1(e,t){return e.findIndex(function(r){return Fl(r.ancestry,t)})}function mS(e,t){var r=t.concat(e.ancestry);return Fe({},e,{ancestry:r})}function r1(e,t){return e.slice(0,e.length-t)}function hS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Or(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Or.bind(null,a),o=ji(r),s=gS(r,o),l=vS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(qn(s));return}if(u.length)return this.relatedNodes(qn(u)),this.data({messageKey:"obscured"}),true;var d=cr(r)?false:void 0;if(!i(n))return this.data(Fe({minSize:a},wo(n))),d;var h=wS(c);if(!h.length)return this.data(Fe({minSize:a},wo(n))),true;var x=bS(r,h,a);if(!x){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(x)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(qn(s));return}var k=h.every(cr),I="partiallyObscured".concat(k?"":"NonTabbable");return this.data(Fe({messageKey:I,minSize:a},wo(x))),this.relatedNodes(qn(h)),k?d:void 0}return this.data(Fe({minSize:a},wo(x||n))),this.relatedNodes(qn(h)),true}function gS(e,t){return t.filter(function(r){return !a1(r,e)&&n1(e,r)})}function vS(e,t){var r=[],a=[],n=Je(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!n1(e,o)&&Bs(e,o)&&xS(o)!=="none"&&(a1(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function bS(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=Hs(a,n);}catch{return null}return yS(i,r)}function yS(e,t){return e.reduce(function(r,a){var n=Or(t,r),i=Or(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 wS(e){return e.filter(function(t){return yr(t)==="widget"&&_t(t)})}function a1(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 xS(e){return e.getComputedStylePropertyValue("pointer-events")}function wo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function n1(e,t){return Pr(e,t)&&!cr(t)}function qn(e){return e.map(function(t){var r=t.actualNode;return r})}var DS=.05;function AS(e,t,r){var a=t?.minOffset||24;if(Or(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=Je(ji(r,a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(yr(l)!=="widget"||!_t(l))){var u=null;try{u=mf(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=_S(u)*2,!(u+DS>=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(cr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),cr(r)?false:void 0}function _S(e){return Math.round(e*10)/10}function ES(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,h){var x=h.trim();if(!x)return d;var k=x.split("="),I=ye(k,2),M=I[0],O=I[1];if(!M||!O)return d;var q=M.toLowerCase().trim(),G=O.toLowerCase().trim();return q==="maximum-scale"&&G==="yes"&&(G=1),q==="maximum-scale"&&parseFloat(G)<0||(d[q]=G),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 CS=ES;function SS(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=[],h=M(o),x=function(){var pe=I[k],be=h[pe],xe=be.root,Me=be.rules,Ve=Me.filter(O);if(!Ve.length)return 1;Ve.forEach(function(Se){var Ne=Se.cssRules;Array.from(Ne).forEach(function(ge){var Le=q(ge);if(Le&&ge.selectorText.toUpperCase()!=="HTML"){var J=Array.from(xe.querySelectorAll(ge.selectorText))||[];d=d.concat(J);}c=c||Le;});});},k=0,I=Object.keys(h);k<I.length;k++)x();if(!c)return true;return d.length&&this.relatedNodes(d),false;function M(oe){return oe.reduce(function(pe,be){var xe=be.sheet,Me=be.root,Ve=be.shadowId,Se=Ve||"topDocument";if(pe[Se]||(pe[Se]={root:Me,rules:[]}),!xe||!xe.cssRules)return pe;var Ne=Array.from(xe.cssRules);return pe[Se].rules=pe[Se].rules.concat(Ne),pe},{})}function O(oe){var pe=oe.type,be=oe.cssText;return pe!==4?false:/orientation:\s*landscape/i.test(be)||/orientation:\s*portrait/i.test(be)}function q(oe){var pe=oe.selectorText,be=oe.style;if(!pe||be.length<=0)return false;var xe=be.transform||be.webkitTransform||be.msTransform||false;if(!xe&&!be.rotate)return false;var Me=G(xe),Ve=W("rotate",be.rotate),Se=Me+Ve;return !Se||(Se=Math.abs(Se),Math.abs(Se-180)%180<=u)?false:Math.abs(Se-90)%90<=u}function G(oe){if(!oe)return 0;var pe=oe.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!pe)return 0;var be=ye(pe,3),xe=be[1],Me=be[2];return W(xe,Me)}function W(oe,pe){switch(oe){case "rotate":case "rotateZ":return Y(pe);case "rotate3d":var be=pe.split(",").map(function(Se){return Se.trim()}),xe=ye(be,4),Me=xe[2],Ve=xe[3];return parseInt(Me)===0?void 0:Y(Ve);case "matrix":case "matrix3d":return ee(pe);default:return 0}}function Y(oe){var pe=oe.match(/(deg|grad|rad|turn)/)||[],be=ye(pe,1),xe=be[0];if(!xe)return 0;var Me=parseFloat(oe.replace(xe,""));switch(xe){case "rad":return ie(Me);case "grad":return ue(Me);case "turn":return we(Me);default:return parseInt(Me)}}function ee(oe){var pe=oe.split(",");if(pe.length<=6){var be=ye(pe,2),xe=be[0],Me=be[1],Ve=Math.atan2(parseFloat(Me),parseFloat(xe));return ie(Ve)}var Se=parseFloat(pe[8]),Ne=Math.asin(Se),ge=Math.cos(Ne),Le=Math.acos(parseFloat(pe[0])/ge);return ie(Le)}function ie(oe){return Math.round(oe*(180/Math.PI))}function ue(oe){return oe=oe%400,oe<0&&(oe+=400),Math.round(oe/400*360)}function we(oe){return Math.round(360/(1/oe))}}var kS=SS;function TS(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=ye(c,2),h=d[1],x=h.split(",");return x.map(function(k){return /:/.test(k)?l(k):parseFloat(k)})}}function l(u){for(var c=u.split(":"),d=0,h=1;c.length>0;)d+=h*parseInt(c.pop(),10),h*=60;return parseFloat(d)}}var FS=TS;function RS(e,t){return t.isViolation?false:void 0}var IS=RS,i1=" > ";function LS(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(i1);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(i1);return t[i]&&(t[i].result=true),false})}var MS=LS;function PS(e,t,r){var a=tr(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var OS=PS;function NS(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 qS=NS;function BS(e,t,r){var a=false,n=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!pt(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",h=Ge(u),x=h==="listitem";!d&&!x&&o.push(c),d&&!x&&(s.push(c),l.includes(h)||l.push(h)),x&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var HS=BS;function VS(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"&&Ge(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&pt(u)){var d=Ye(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 jS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=Ye(a);return ["presentation","none","list"].includes(i)?true:i&&_n(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function $S(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=o1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&GS(l)){if(!l.children)return;var c=o1(l.children,true);i.push.apply(i,Ce(c));continue}var d=zS(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 zS(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(u===3&&c.trim()!=="")return d+"#text";if(u!==1||!pt(e))return false;var h=Ye(e);return h?n.includes(h)?false:d+"[role=".concat(h,"]"):o.includes(l)?false:d+l}function GS(e){return e.props.nodeName==="div"&&Ye(e)===null}function o1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function WS(e){var t=It(e),r=t.nodeName.toUpperCase(),a=Ye(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=It(t),r=t.nodeName.toUpperCase(),a=Ye(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var US=WS;function XS(e,t,r){var a=ba(r.attr("lang")),n=ba(r.attr("xml:lang"));return a===n}var YS=XS;function KS(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=ba(i),s=t.value?!t.value.map(ba).includes(o):!fo(o);(o!==""&&s||i!==""&&!qe(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!dl(r)?false:(this.data(a),true)}var JS=KS;function Zl(e){return (e||"").trim()!==""}function ZS(e,t,r){var a=typeof m<"u"?un(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Zl(r.attr("xml:lang"))&&!Zl(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Zl(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var QS=ZS;function ek(e,t,r){var a=Ge(e),n=Lt(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var tk=ek;function rk(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 ak=rk;function nk(e,t,r){var a=Yi(r),n=Wi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var ik=nk;function ok(e){var t=yt(e.getAttribute("id")),r=e.parentNode,a=Nt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !Yr(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return pt(s)});if(i.length>1)return;var o=_r(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var sk=ok;function lk(e,t){var r=s1(t),a=s1(e);return !r||!a?false:r.includes(a)}function s1(e){var t=Sn(e,{emoji:true,nonBmp:true,punctuations:true});return qe(t)}function uk(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=pa(e).toLowerCase(),s=qe(Zr(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(sl(o)<1||sl(s)<1))return lk(s,o)}var ck=uk;function dk(e,t,r){try{var a=Jt(r,"label");if(a){var n=qe(Lt(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var fk=dk;function pk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Nt(e),n=yt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!pt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var mk=pk;function hk(e,t,r){var a=Yi(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=_r(e,"aria-describedby");n=i.map(function(o){return o?pa(o):""}).join("");}return qe(n)===qe(a)}var gk=hk;function vk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Nt(r.actualNode),i=yt(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Zt(s)){var l=qe(pa(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var bk=vk;function yk(e,t,r){if(["none","presentation"].includes(Ge(r)))return false;var a=Jt(r,t.parentSelector);if(!a)return false;var n=Cr(a,true).toLowerCase();return n===""?false:n===Lt(r).toLowerCase()}var wk=yk;function xk(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var Dk=xk;function Ak(e,t,r){var a=kr(r.attr("tabindex"));return a===null||a<=0}var _k=Ak;function Ek(e,t,r){if(r.children)try{var a=l1(r);if(!a.length)return !0;var n=a.filter(Ck);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){yr(r)==="widget"&&_t(r)?t.push(r):t.push.apply(t,Ce(l1(r)));}),t}function Ck(e){var t=kr(e.attr("tabindex"));return t!==null&&t<0}function Sk(e){var t=Pa("landmark"),r=It(e),a=Ge(e);for(this.data({role:a});r;){var n=Ye(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=Er(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=It(r);}return true}var kk=Sk;function Tk(e,t,r){if(r.children)try{return !r.children.some(function(a){return u1(a)})}catch{return}}function u1(e){if(cr(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 u1(t)})}function Fk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return !a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Tn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Rk=Fk;function Ik(e,t,r){if(!cr(r))return false;try{return !Lt(r)}catch{return}}var Lk=Ik;function Mk(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(Tn()){this.relatedNodes(a);return}return true}var Pk=Mk;function Ok(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return cr(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 Nk=Ok;function qk(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Tn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var Bk=qk;function Hk(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 Vk=Hk;function jk(e,t,r){return Yr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var $k=jk;function zk(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 Gk=zk;function Wk(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($e.get(a)){this.data("ignored");return}$e.set(a,true);var n=Tr(g._tree[0],t.selector,function(i){return pt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Ta(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return Ge(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var Uk=Wk;function Xk(e){return e.filter(function(t){return t.data!=="ignored"})}var Yk=Xk;function Kk(e,t,r){return En(r,t.matcher)}var Jk=Kk;function Zk(e,t,r){try{return qe(Zr(r))!==""}catch{return}}function Qk(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Tn())return true;var a=Tr(r,t.selector,function(n){return pt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var eT=Qk;function tT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var rT=tT;function aT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var a=r.attr(t.attribute),n=!qe(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var nT=aT;function iT(e,t,r){var a=r.attr("autocomplete")||"";return hp(a,t)}var oT=iT;function sT(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};le(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),l=s[s.length-1];if(ha.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?qe(r.attr("type")).toLowerCase():"text";return c=co().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var lT=sT,uT=["block","list-item","table","flex","grid","inline-block"];function cT(e){if(c1(e))return false;for(var t=It(e);t&&t.nodeType===1&&!c1(t);)t=It(t);if(t){if(this.relatedNodes([t]),jm(e,t))return true;if(dT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function c1(e){var t=f.getComputedStyle(e).getPropertyValue("display");return uT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function dT(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=f.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function d1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var fT=["block","list-item","table","flex","grid","inline-block"];function f1(e){var t=f.getComputedStyle(e).getPropertyValue("display");return fT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function pT(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(f1(e))return false;for(var n=It(e);n&&n.nodeType===1&&!f1(n);)n=It(n);if(n){this.relatedNodes([n]);var i=yo(e),o=yo(n),s=On(e),l=On(n),u=i&&o?d1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?d1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,h=(d=ut.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:h}),ut.clear();return}if(u)return a&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var mT=pT;function hT(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(!Zt(e))return this.data({messageKey:"hidden"}),true;var h=Cr(r,false,true);if(a&&vT(h)){this.data({messageKey:"nonBmp"});return}var x=f.getComputedStyle(e),k=parseFloat(x.getPropertyValue("font-size")),I=x.getPropertyValue("font-weight"),M=parseFloat(I)>=o||I==="bold",O=Math.ceil(k*72)/96,q=M&&O<s||!M&&O<l,G=q?u.normal:u.large,W=G.expected,Y=G.minThreshold,ee=G.maxThreshold,ie=gT(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(ie){this.data({fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:M?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:W+":1"}),this.relatedNodes(ie.actualNode);return}var ue=bo(e,{minRatio:.001,maxRatio:c});if(ue===null){this.data({messageKey:"complexTextShadows"});return}var we=[],oe=On(e,we,c),pe=yo(e,false,oe,t),be=null,xe=null,Me=null;if(ue.length===0)be=Oa(oe,pe);else if(pe&&oe){Me=[].concat(Ce(ue),[oe]).reduce(Xl);var Ve=Oa(oe,pe),Se=Oa(oe,Me),Ne=Oa(Me,pe);be=Math.max(Ve,Se,Ne),be!==Ve&&(xe=Se>Ne?"shadowOnBgColor":"fgOnShadowColor");}var ge=be>W;if(typeof Y=="number"&&(typeof be!="number"||be<Y)||typeof ee=="number"&&(typeof be!="number"||be>ee))return this.data({contrastRatio:be}),true;var Le=Math.floor(be*100)/100,J,De;oe===null?ut.get("colorParse")?(J="colorParse",De=ut.get("colorParse")):J=ut.get("bgColor"):ge||(J=xe),pe===null&&ut.get("colorParse")&&(J="colorParse",De=ut.get("colorParse"));var de=Le===1,Ae=h.length===1;if(de?J=ut.set("bgColor","equalRatio"):!ge&&Ae&&!n&&(J="shortTextContent"),this.data({fgColor:pe?pe.toHexString():void 0,bgColor:oe?oe.toHexString():void 0,contrastRatio:Le,fontSize:"".concat((k*72/96).toFixed(1),"pt (").concat(k,"px)"),fontWeight:M?"bold":"normal",messageKey:J,expectedContrastRatio:W+":1",shadowColor:Me?Me.toHexString():void 0,colorParse:De}),pe===null||oe===null||de||Ae&&!n&&!ge){J=null,ut.clear(),this.relatedNodes(we);return}return ge||this.relatedNodes(we),ge}function gT(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=p1(e.actualNode,":before"),u=p1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var p1=lt(function(t,r){var a=f.getComputedStyle(t,r),n=function(l,u){return a.getPropertyValue(l)===u};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||ga(a).alpha===0&&n("background-image","none"))return 0;var i=m1(a.getPropertyValue("width")),o=m1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function vT(e){var t={nonBmp:true},r=il(e,t),a=qe(Sn(e,t))==="";return r&&a}function m1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=ye(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 bT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},yT={alert:true,alertdialog:true,application:true,article:true,banner:false,complementary:true,contentinfo:true,dialog:true,form:true,log:true,main:true,navigation:true,region:true,search:false,status:true,tabpanel:true};function wT(e){var t=e.nodeName.toUpperCase();return bT[t]||false}function xT(e,t){var r=Ye(e);return r&&(yT[r]||t.roles.includes(r))||false}function DT(e,t){return xT(e,t)||wT(e)}var AT=DT;function _T(e,t,r){var a=Ge(r,{dpub:true,fallback:true}),n=Ys(a);return n&&this.data(a),n}var ET=_T;function CT(e,t,r){var a=Ge(r,{noImplicit:true});this.data(a);var n,i;try{n=qe(al(r)).toLowerCase(),i=qe(Lt(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var ST=CT;function kT(e,t,r){return _t(r)}var TT=kT;function FT(e,t,r){var a=jt(r.attr("role")),n=a.every(function(i){return !_n(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var RT=FT;function IT(e,t,r){var a=Ye(r);if(a===null)return false;var n=yr(a);return n==="widget"||n==="composite"}var LT=IT;function MT(e,t,r){var a=Kr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var PT=MT;function OT(e,t){var r=Er(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function NT(e,t,r){var a=jt(r.attr("role"));return a.length<=1?false:OT(r,a)?void 0:true}var qT=NT;function BT(e,t,r){var a=Ge(r,{dpub:true,fallback:true}),n=et.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function HT(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(qe(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):qe(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function VT(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return qe(Lt(r))!==""}catch{return}}function jT(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=g._tree&&g._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=g._tree&&g._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=Im(r,u);}catch{a="".concat(u,'="').concat(d,'"'),n="idrefs";return}(!l[u]||l[u](c))&&!c&&(d===""&&!$T(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 $T(e){var t;return ((t=et.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function zT(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)&&!go(i)&&a.push(i);}),a.length?(this.data(a),false):true}var GT=zT;function WT(e,t,r){var a=r.attrNames.filter(function(n){var i=et.ariaAttrs[n];if(!go(n))return false;var o=i.unsupported;return le(o)!=="object"?!!o:!En(e,o.exceptions)});return a.length?(this.data(a),true):false}var UT=WT;function XT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=Ge(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var YT=XT;function h1(e,t,r,a){var n=Ye(e);if(r||(r=$l(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=Ge(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 KT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=yt(e.getAttribute("id")),n=Nt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function JT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=h1(r,a);if(!n)return true;var i=KT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=h1(We(i[o]),a,n,true),!n)return true}return this.data(n),false}var ZT=JT;function QT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=Ye(r,{dpub:true}),i=zl(n);if(i===null)return true;var o=e5(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 a5(c,d)}).filter(function(u,c,d){return d.indexOf(u)===c}).join(", ")}),false}if(t5(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(n5)))return false}function e5(e,t){for(var r,a=[],n=Cn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!pt(r))return 1;var s=Ge(r,{noPresentational:true}),l=r5(r),u=!!l||_t(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,Ce(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 t5(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function r5(e){return Kr().find(function(t){return e.hasAttr(t)})}function a5(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=Ye(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function n5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:kn(t,false,true)}function i5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=Ye(a),i=a.attrNames,o=Rm(n);if(Array.isArray(r[n])&&(o=In(r[n],o)),!n||!i.length||!o.length||o5(a,n)||l5(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Jr(a),l=o.filter(function(u){return !a.attr(u)&&!s5(s,u)});return l.length?(this.data(l),false):true}function o5(e,t){return t==="separator"&&!_t(e)}function s5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function l5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function u5(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=Ge(r,{chromium:true,fallback:true}),o=c5(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?qe(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=Zr(r,{subtreeDescendant:true});if(qe(u)==="")return true}function c5(e,t,r,a){var n=et.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||g1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var g1=lt(function(t){if(t){var r=Ge(t,{noPresentational:true,chromium:true});return r?yr(r):g1(t.parent)}});function d5(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var f5=d5;function p5(e,t,r){return r.attr("aria-hidden")!=="true"}var m5=p5;function h5(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return et.ariaAttrs["aria-errormessage"].allowEmpty;var u=jt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&_r(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!pt(c))return this.data({messageKey:"hidden",values:u}),false;var d=jt(r.attr("aria-describedby"));return Ye(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(h){return d.includes(h)})}}return t.indexOf(a)===-1&&n?(this.data(jt(a)),s.call(this,a)):true}function v1(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=g5(i),l=s&&Ge(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 g5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Jt(e,t)}}function b1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=b5(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=v5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function v5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function b5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var y1={row:v1,checkbox:b1};function y5(e,t,r){var a=Ge(r);return y1[a]?y1[a].call(this,e,t,r):true}function w5(e,t,r){return r.attr("aria-busy")==="true"}function x5(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=Cm(r,n);return l.length?(this.data(l),pt(r)?false:void 0):true}var D5=x5;function A5(e,t,r){var a=[],n=Ge(r),i=Am(n);Array.isArray(t[n])&&(i=In(t[n].concat(i)));var o=Je(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;go(l)&&!i.includes(l)&&!_5(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&&!kl(r)&&!_t(r)))return false}function _5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function E5(e,t,r){var a=Jr(r);if(!a.allowedAriaAttrs)return true;var n=Ye(r);if(n)return true;var i=a.allowedAriaAttrs,o=Kr(),s=[],l=Je(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(h){l.e(h);}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(h){return h+'="'+r.attr(h)+'"'}).join(", ")}),false}function C5(e,t,r){var a=jt(r.attr("role")).filter(function(n){return yr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var S5=C5;function k5(e){var t=ba(e.getAttribute("lang")),r=ba(e.getAttribute("xml:lang"));return fo(t)&&fo(r)}var T5=k5;function F5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var R5=F5;function I5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Jt(t,"svg")}catch{return false}}var Ql=I5;function L5(e,t){return M5.every(function(r){return r(e,t)})}var M5=[function(e,t){return w1(t)},function(e,t){return P5(t)},function(e,t){return !Ql(e,t)},function(e,t){return _t(t)},function(e,t){return cr(t)||!O5(t)},function(e){return !fl(e,{noLengthCompare:true,includeInlineBlock:true})}];function w1(e){return yr(e)==="widget"}function P5(e){return e.props.nodeName!=="area"}var O5=lt(function e(t){return t!=null&&t.parent?w1(t.parent)&&cr(t.parent)?true:e(t.parent):false});function N5(e,t){var r=Ge(t);return ["treegrid","grid","table"].includes(r)}function q5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||B5(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function B5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function H5(e){return hl(e)&&Ni(e)}var V5=H5;function j5(e,t){return qr(e,13)!==void 0&&jl(t)===false&&$5(t)}function $5(e){var t=e.boundingClientRect;return tr(e,"*").some(function(r){if(!kn(r,true,true))return false;var a=[];if(Ki(r)){var n;(n=a).push.apply(n,Ce(z5(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 z5(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function G5(e,t){return Er(t,{chromiumRoles:true})!==null}var W5=G5;function U5(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 X5=U5;function Y5(e,t){var r=Ye(t);if(!r||["none","presentation"].includes(r))return true;var a=Lf[r]||{},n=a.accessibleNameRequired;return !!(n||_t(t))}var x1=Y5,K5=function(t,r){return [x1,J5].every(function(a){return a(t,r)})};function J5(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 Z5(e,t){return t.props.nodeName!=="html"}var Q5=Z5;function eF(e,t){return !t.attr("role")}var tF=eF;function rF(e,t){var r=kr(t.attr("tabindex"));return r===null||r>=0}var aF=rF;function nF(e,t){var r=Jr(t),a=r.namingMethods;return !(a&&a.length!==0||Ye(t)==="combobox"&&tr(t,'input:not([type="hidden"])').length||jl(t,{popupRoles:["listbox"]}))}var iF=nF;function oF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var sF=oF;function lF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var uF=lF;function cF(e,t){var r=Ge(t);return r?!!et.ariaRoles[r].childrenPresentational:false}var dF=cF;function fF(e){var t=qe(e.innerText),r=Ye(e);return r&&r!=="link"||!t||!Zt(e)?false:fl(e)}var pF=fF;function mF(e){return !mo(e)&&!_t(e)}var hF=mF;function gF(e,t){return vF(t)&&pt(t)}function vF(e){var t=Pa("landmark"),r=Ge(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=Lt(e);return !!n}return t.indexOf(r)>=0||r==="region"}function bF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ta(t,r)}var yF=bF;function wF(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 xF=wF;function DF(e,t){var r=Ge(e);if(!r)return false;var a=Pa("widget"),n=a.includes(r);if(!n)return false;var i=Vl();return !(!i.includes(r)||!qe(An(t))&&!qe(Dn(e))||!qe(Cr(t)))}var AF=DF;function _F(e,t){return Zt(t)}function EF(e){return Zt(e)}function CF(e,t,r){return r.initiator}var D1=CF;function SF(e){return wp(e)}var kF=SF;function TF(e,t){var r=!!Lt(t);if(!r)return false;var a=Ge(e);return !(a&&a!=="link")}var FF=TF;function RF(e,t){return !Ql(e,t)}var IF=RF;function LF(e,t){return Ge(t)==="heading"}function MF(e,t){return Er(t,{chromium:true})!==null}var PF=MF;function OF(e){var t=e.getAttribute("title");return !!qe(t)}var NF=OF;function qF(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 BF=qF;function HF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),a=Array.from(Nt(e).querySelectorAll(r));return !ho(e)&&a.every(function(n){return !_t(n)})}var VF=HF;function jF(e){return ho(e)}var $F=jF;function zF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(yt(t),'"]'),a=Array.from(Nt(e).querySelectorAll(r));return !ho(e)&&a.some(_t)}var GF=zF;function WF(e){return mo(e)}var UF=WF;function XF(e){if(mo(e)){var t=Nr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var YF=XF;function KF(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||Nn(t)||$i(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=f.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!gl(u,e))return false}return true}var c=Ta(t,"label");if(a==="label"||c){var d=c||e,h=c?We(c):t;if(d.htmlFor){var x=Nt(d),k=x.getElementById(d.htmlFor),I=k&&We(k);if(I&&Nn(I))return false}var M='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',O=tr(h,M)[0];if(O&&Nn(O))return false}for(var q=[],G=t;G;){if(G.props.id){var W=Hl(G).filter(function(pe){return jt(pe.getAttribute("aria-labelledby")||"").includes(G.props.id)}).map(function(pe){return We(pe)});q.push.apply(q,Ce(W));}G=G.parent;}if(q.length>0&&q.every(Nn)||!QF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var Y=m.createRange(),ee=t.children,ie=0;ie<ee.length;ie++){var ue=ee[ie];ue.actualNode.nodeType===3&&qe(ue.actualNode.nodeValue)!==""&&Y.selectNodeContents(ue.actualNode);}var we=Array.from(Y.getClientRects()),oe=bn(t);return we.some(function(pe){var be=gl(pe,e);if(!oe.length)return be;var xe=oe.some(function(Me){return Ms(pe,Me.boundingClientRect)});return be&&xe})}var JF=KF,ZF={emoji:true,nonBmp:false,punctuations:true};function QF(e){var t=Cr(e,false,true);return t===""||Sn(t,ZF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!ol(r)})}function eR(e,t,r){return D1(e,t,r)?!!e.querySelector("a[href]"):true}var tR=eR;function rR(e,t){var r=t.attr("autocomplete");if(!r||qe(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=Ye(t),l=kr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=et.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Zt(t)&&!pt(t))}var aR=rR;function nR(e,t){var r=Ye(t);return !!$l(r)}var iR=nR;function oR(e,t){var r=Ye(t,{dpub:true});return !!zl(r)}var sR=oR;function A1(e){return e?e.getAttribute("aria-hidden")==="true"?false:A1(It(e)):true}function lR(e){return A1(It(e))}var uR=lR;function cR(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var dR=cR;function fR(e,t){return Ye(t,{dpub:true,fallback:true})!==null}var pR=fR;function mR(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 hR=mR,gR={"abstractrole-evaluate":S5,"accesskeys-after":Gk,"accesskeys-evaluate":$k,"alt-space-value-evaluate":Dk,"aria-allowed-attr-elm-evaluate":E5,"aria-allowed-attr-evaluate":A5,"aria-allowed-attr-matches":hR,"aria-allowed-role-evaluate":D5,"aria-allowed-role-matches":pR,"aria-busy-evaluate":w5,"aria-conditional-attr-evaluate":y5,"aria-conditional-checkbox-attr-evaluate":b1,"aria-conditional-row-attr-evaluate":v1,"aria-errormessage-evaluate":h5,"aria-has-attr-matches":dR,"aria-hidden-body-evaluate":m5,"aria-hidden-focus-matches":uR,"aria-label-evaluate":eC,"aria-labelledby-evaluate":ZE,"aria-level-evaluate":f5,"aria-prohibited-attr-evaluate":u5,"aria-required-attr-evaluate":i5,"aria-required-children-evaluate":QT,"aria-required-children-matches":sR,"aria-required-parent-evaluate":ZT,"aria-required-parent-matches":iR,"aria-roledescription-evaluate":YT,"aria-unsupported-attr-evaluate":UT,"aria-valid-attr-evaluate":GT,"aria-valid-attr-value-evaluate":jT,"attr-non-space-content-evaluate":nT,"autocomplete-appropriate-evaluate":lT,"autocomplete-matches":aR,"autocomplete-valid-evaluate":oT,"avoid-inline-spacing-evaluate":KE,"braille-label-equivalent-evaluate":VT,"braille-roledescription-equivalent-evaluate":HT,"bypass-matches":tR,"caption-evaluate":OS,"caption-faked-evaluate":LE,"color-contrast-evaluate":hT,"color-contrast-matches":JF,"css-orientation-lock-evaluate":kS,"data-table-large-matches":YF,"data-table-matches":UF,"deprecatedrole-evaluate":BT,"dlitem-evaluate":US,"doc-has-title-evaluate":XE,"duplicate-id-active-matches":GF,"duplicate-id-after":nC,"duplicate-id-aria-matches":$F,"duplicate-id-evaluate":rC,"duplicate-id-misc-matches":VF,"duplicate-img-label-evaluate":wk,"exists-evaluate":WE,"explicit-evaluate":bk,"fallbackrole-evaluate":qT,"focusable-content-evaluate":Vk,"focusable-disabled-evaluate":Bk,"focusable-element-evaluate":Nk,"focusable-modal-open-evaluate":Pk,"focusable-no-name-evaluate":Lk,"focusable-not-tabbable-evaluate":Rk,"frame-focusable-content-evaluate":Tk,"frame-focusable-content-matches":BF,"frame-tested-after":MS,"frame-tested-evaluate":IS,"frame-title-has-text-matches":NF,"has-alt-evaluate":zE,"has-descendant-after":rT,"has-descendant-evaluate":eT,"has-global-aria-attribute-evaluate":PT,"has-implicit-chromium-role-matches":PF,"has-lang-evaluate":QS,"has-text-content-evaluate":Zk,"has-widget-role-evaluate":LT,"heading-matches":LF,"heading-order-after":uS,"heading-order-evaluate":lS,"help-same-as-label-evaluate":gk,"hidden-content-evaluate":V_,"hidden-explicit-label-evaluate":mk,"html-namespace-matches":IF,"html5-scope-evaluate":RE,"identical-links-same-purpose-after":iS,"identical-links-same-purpose-evaluate":aS,"identical-links-same-purpose-matches":FF,"implicit-evaluate":fk,"inline-style-property-evaluate":VE,"inserted-into-focus-order-matches":kF,"internal-link-present-evaluate":CC,"invalid-children-evaluate":$S,"invalidrole-evaluate":RT,"is-element-focusable-evaluate":TT,"is-initiator-matches":D1,"is-on-screen-evaluate":HE,"is-visible-matches":EF,"is-visible-on-screen-matches":_F,"label-content-name-mismatch-evaluate":ck,"label-content-name-mismatch-matches":AF,"label-matches":xF,"landmark-has-body-context-matches":yF,"landmark-is-top-level-evaluate":kk,"landmark-is-unique-after":ak,"landmark-is-unique-evaluate":tk,"landmark-unique-matches":gF,"layout-table-matches":hF,"link-in-text-block-evaluate":mT,"link-in-text-block-matches":pF,"link-in-text-block-style-evaluate":cT,"listitem-evaluate":jS,"matches-definition-evaluate":Jk,"meta-refresh-evaluate":_C,"meta-viewport-scale-evaluate":CS,"multiple-label-evaluate":sk,"nested-interactive-matches":dF,"no-autoplay-audio-evaluate":FS,"no-autoplay-audio-matches":uF,"no-empty-role-matches":sF,"no-explicit-name-required-matches":x1,"no-focusable-content-evaluate":Ek,"no-implicit-explicit-label-evaluate":ST,"no-naming-method-matches":iF,"no-negative-tabindex-matches":aF,"no-role-matches":tF,"non-empty-if-present-evaluate":qE,"not-html-matches":Q5,"object-is-loaded-matches":K5,"only-dlitems-evaluate":VS,"only-listitems-evaluate":HS,"p-as-heading-evaluate":xC,"p-as-heading-matches":X5,"page-no-duplicate-after":Yk,"page-no-duplicate-evaluate":Uk,"presentation-role-conflict-matches":W5,"presentational-role-evaluate":OE,"region-after":vC,"region-evaluate":fC,"same-caption-summary-evaluate":SE,"scope-value-evaluate":CE,"scrollable-region-focusable-matches":j5,"skip-link-evaluate":cC,"skip-link-matches":V5,"structured-dlitems-evaluate":qS,"summary-interactive-matches":q5,"svg-namespace-matches":Ql,"svg-non-empty-title-evaluate":PE,"tabindex-evaluate":_k,"table-or-grid-role-matches":N5,"target-offset-evaluate":AS,"target-size-evaluate":hS,"td-has-header-evaluate":_E,"td-headers-attr-evaluate":DE,"th-has-data-cells-evaluate":xE,"title-only-evaluate":ik,"unique-frame-title-after":lC,"unique-frame-title-evaluate":oC,"unsupportedrole-evaluate":ET,"valid-lang-evaluate":JS,"valid-scrollable-semantics-evaluate":AT,"widget-not-inline-matches":L5,"window-is-top-matches":R5,"xml-lang-mismatch-evaluate":YS,"xml-lang-mismatch-matches":T5},xo=gR;function vR(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var eu=vR;function tu(e){if(typeof e=="string"){if(xo[e])return xo[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 _1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||le(e)!=="object")&&(e={value:e}),e}function Na(e){e&&(this.id=e.id,this.configure(e));}Na.prototype.enabled=true,Na.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new eu(this),u=bs(l,r,n,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=ur.toSpec(t)),i(d);return}u.isAsync||(l.result=c,n(l));}else n(null);},Na.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new eu(this),u=bs(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=ur.toSpec(t)),d}return l.result=c,l},Na.prototype.configure=function(t){var r=this;(!t.evaluate||xo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=_1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=tu(t[a])});},Na.prototype.getOptions=function(t){return this._internalCheck?Rs(this.options,_1(t||{})):t||this.options};var E1=Na;function bR(e){this.id=e.id,this.result=ze.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Do=bR;function Yt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Qe(ze.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=tu(e.matches));}Yt.prototype.matches=function(){return true},Yt.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&tt.mark(a);var s=Ml(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&tt.mark(i),s=s.filter(function(l){return pt(l)}),r.performanceTimer&&(tt.mark(o),tt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(tt.mark(n),tt.measure("rule_"+this.id+"#gather",a,n)),s},Yt.prototype.runChecks=function(t,r,a,n,i,o){var s=this,l=Ar();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],d=ao(c,s.id,a);l.defer(function(h,x){c.run(r,d,n,h,function(k){x(new uo({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new lr(r),error:k}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},Yt.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=ao(l,i.id,a);o.push(l.runSync(r,u,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},Yt.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=Ar(),s=new Do(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 h=Ar();["any","all","none"].forEach(function(x){h.defer(function(k,I){r.runChecks(x,u,a,t,k,I);});}),h.then(function(x){var k=C1(x);k&&(k.node=new lr(u),s.nodes.push(k),r.reviewOnFail&&(["any","all"].forEach(function(I){k[I].forEach(function(M){M.result===false&&(M.result=void 0);});}),k.none.forEach(function(I){I.result===true&&(I.result=void 0);}))),c();}).catch(function(x){return d(x)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(u){a.performanceTimer&&r._logRulePerformance(),i(u);});},Yt.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new Do(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=C1(s);l&&(l.node=o.actualNode?new lr(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},Yt.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;},Yt.prototype._logGatherPerformance=function(t){ca("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(tt.timeElapsed(),"ms")),tt.mark(this._markChecksStart);},Yt.prototype._logRulePerformance=function(){tt.mark(this._markChecksEnd),tt.mark(this._markEnd),tt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),tt.measure("rule_"+this.id,this._markStart,this._markEnd);};function C1(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}}Yt.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&tt.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(l){throw new uo({ruleId:a.id,method:"#matches",errorNode:new lr(s),error:l})}}),r.performanceTimer&&(tt.mark(i),tt.measure("rule_"+this.id+"#matches",n,i)),o};function yR(e){return Ii(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function wR(e,t){var r=[];return e.forEach(function(a){var n=Ii(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function xR(e){return e.filter(function(t){return t.filtered!==true})}function DR(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=xR(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}Yt.prototype.after=function(t,r){var a=this,n=yR(this);return n.forEach(function(i){var o=wR(t.nodes,i.id),s=ao(i,a.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new uo({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,h=a.none.includes(c.id)&&c.result===true;(d||h)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=DR(t),t},Yt.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=tu(t.matches)),t.impact&&(Qe(ze.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var qa=/\{\{.+?\}\}/g,AR=(function(){function e(t){ft(this,e),this.lang="en",this.defaultConfig=t,this.standards=et,this._init(),this._defaultLocale=null;}return vt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var d=Object.keys(this.data.rules),h=0;h<d.length;h++){var x=d[h],k=this.data.rules[x],I=k.description,M=k.help;r.rules[x]={description:I,help:M};}for(var O=Object.keys(this.data.failureSummaries),q=0;q<O.length;q++){var G=O[q],W=this.data.failureSummaries[G],Y=W.failureMessage;r.failureSummaries[G]={failureMessage:Y};}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]=ER(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]=CR(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]=SR(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=kR(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=k1();this.allowedOrigins=[];var n=Je(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===ze.allOrigins){this.allowedOrigins=["*"];return}else o!==ze.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=_R(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,T1(r.rules,this,"addRule"),T1(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 Yt(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;le(a)==="object"&&(this.data.checks[r.id]=a,le(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 E1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),lr.setRunOptions(a),g._selectCache=[];var o=TR(this.rules,r,a),s=o.now,l=o.later,u=Ar();s.forEach(function(h){u.defer(F1(h,r,a));});var c=Ar();l.length&&c.defer(function(h){tm(a).then(function(x){return h(x)}).catch(function(x){console.warn("Couldn't load preload assets: ",x),h(void 0);});});var d=Ar();d.defer(u),d.defer(c),d.then(function(h){var x=h.pop();if(x&&x.length){var k=x[0];k&&(r=Fe({},r,k));}var I=h[0];if(!l.length){g._selectCache=void 0,n(I.filter(function(O){return !!O}));return}var M=Ar();l.forEach(function(O){var q=F1(O,r,a);M.defer(q);}),M.then(function(O){g._selectCache=void 0,n(I.concat(O).filter(function(q){return !!q}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=gn(n,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,a)}catch(s){if(a.debug)throw s;return R1(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(le(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&&g.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return le(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=(g.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===I1(a,i.id,n))&&(o.helpUrl=I1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),S1=AR;function k1(){if(f.origin&&f.origin!=="null")return f.origin;if(f.location&&f.location.origin&&f.location.origin!=="null")return f.location.origin}function _R(e){var t;if(e?(t=Mr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=k1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Fe({checks:{},rules:{}},t.data),t}function T1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var ER=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&qa.test(a)&&(a=jr.default.compile(a)),typeof n=="string"&&qa.test(n)&&(n=jr.default.compile(n)),Fe({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:le(t.messages.incomplete)==="object"?Fe({},t.messages.incomplete,r.incomplete):r.incomplete}})},CR=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&qa.test(a)&&(a=jr.default.compile(a)),typeof n=="string"&&qa.test(n)&&(n=jr.default.compile(n)),Fe({},t,{help:a||t.help,description:n||t.description})},SR=function(t,r){var a=r.failureMessage;return typeof a=="string"&&qa.test(a)&&(a=jr.default.compile(a)),Fe({},t,{failureMessage:a||t.failureMessage})},kR=function(t,r){return typeof r=="string"&&qa.test(r)&&(r=jr.default.compile(r)),r||t};function TR(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return om(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function F1(e,t,r){return r.performanceTimer&&tt.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(R1(e,i));});}}function R1(e,t){var r=t.errorNode,a=lo(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new lr(m.documentElement);return Object.assign(new Do(e),{error:a,result:ze.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function I1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return ze.helpUrlBase+a+"/"+(r||g.version.substring(0,g.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function L1(e){var t=f&&"Node"in f&&"NodeList"in f,r=!!m;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||($e.set("globalDocumentSet",true),m=e.ownerDocument),t||($e.set("globalWindowSet",true),f=m.defaultView);}}function FR(){$e.get("globalDocumentSet")&&($e.set("globalDocumentSet",false),m=null),$e.get("globalWindowSet")&&($e.set("globalWindowSet",false),f=null);}function RR(){FR(),g._memoizedFns.forEach(function(e){return e.clear()}),$e.clear(),g._tree=void 0,g._selectorData=void 0,g._selectCache=void 0;}var ta=RR;function M1(e,t,r,a){try{e=new no(e),g._tree=e.flatTree,g._selectorData=Ei(e.flatTree);}catch(o){return ta(),a(o)}var n=Ar(),i=g._audit;t.performanceTimer&&tt.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Gd(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&tt.auditEnd();var s=Li(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&tt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(tt.mark("auditAfterEnd"),tt.measure("audit.after","auditAfterStart","auditAfterEnd"),tt.logMeasures("audit.after")),s.forEach(so),s=s.map(Ka));try{r(s,ta);}catch(l){ta(),ca(l);}}catch(l){ta(),a(l);}}).catch(function(o){ta(),a(o);});}function IR(e){g._audit=new S1(e);}function LR(e,t,r){var a=r,n=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return M1(i,o,function(s,l){s=ur.mapRawResults(s),a(s),l();},n);case "cleanup-plugin":return hm(a,n);default:if(g._audit&&g._audit.commands&&g._audit.commands[e.command])return g._audit.commands[e.command](e,r)}}f.top!==f&&(br.subscribe("axe.start",LR),br.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function Bn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){g._audit.registerCommand(t);});}Bn.prototype.run=function(){return this._run.apply(this,arguments)},Bn.prototype.collect=function(){return this._collect.apply(this,arguments)},Bn.prototype.cleanup=function(t){var r=g.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},Bn.prototype.add=function(t){this._registry[t.id]=t;};function MR(e){g.plugins[e.id]=new Bn(e);}var PR=MR;function OR(){var e=g._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),tD();}var NR=OR;function qR(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||g._audit.reporter||"v1",g._selectorData={},t instanceof Rt||(t=new mm(t));var a=Vp(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);so(i),Ka(i);var o=rc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Dl(l);})}),Fe({},Qr(),o,{toolOptions:r})}function P1(e){var t,r,a,n=ye(e,3),i=n[0],o=n[1],s=n[2],l=new TypeError("axe.run arguments are invalid");if(!Gp(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(le(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Mr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=g._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var ru=function(){};function BR(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];L1(t[0]);var a=P1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?ru:o,l=HR(s),u=l.thenable,c=l.resolve,d=l.reject;try{Qe(g._audit,"No audit configured"),Qe(!g._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(k){return jR(k,s)}g._running=true,i.performanceTimer&&tt.start();function h(k,I){var M=function(G){i.performanceTimer&&(tt.mark("reporterEnd"),tt.measure("reporter","reporterStart","reporterEnd"),tt.logMeasures("reporter"),tt.end()),g._running=false,I();try{c(G);}catch(W){g.log(W);}},O=function(G){g._running=false,I();try{d(G);}catch(W){g.log(W);}};try{i.performanceTimer&&tt.mark("reporterStart"),VR(k,i,M,O);}catch(q){O(q);}}function x(k){i.performanceTimer&&tt.end(),g._running=false,s(k),d(k);}return g._runRules(n,i,h,x),u}function HR(e){var t,r,a;return typeof Promise=="function"&&e===ru?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 VR(e,t,r,a){var n=Nl(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function jR(e,t){if(typeof t=="function"&&t!==ru){t(e.message);return}throw e}function $R(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=P1(t),n=a.options,i=a.context;Qe(g._audit,"Axe is not configured. Audit is missing."),Qe(!g._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 no(i,g._tree);return g._tree=o.flatTree,g._selectorData=Ei(o.flatTree),g._running=true,n.elementRef=false,new Promise(function(s,l){g._audit.run(o,n,s,l);}).then(function(s){s=ur.mapRawResults(s);var l=o.frames.map(function(c){var d=c.node;return ur.toSpec(d)}),u;return o.initiator&&(u=Qr()),g._running=false,ta(),{results:s,frames:l,environmentData:u}}).catch(function(s){return g._running=false,ta(),Promise.reject(s)})}function zR(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Mr(n);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;g._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=g._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",GR(e);var s=Li(e);return s=g._audit.after(s,n),s.forEach(so),s=s.map(Ka),UR(s,Fe({environmentData:o},n))}function GR(e){var t=[],r=Je(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=WR(n);t.unshift.apply(t,Ce(o));}}}catch(s){r.e(s);}finally{r.f();}}function WR(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return ur.mergeSpecs(a,r)}):t}function UR(e,t){return new Promise(function(r,a){var n=Nl(t.reporter);n(e,t,r,a);})}function XR(e){if(g._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&le(e.documentElement)==="object"&&le(e.defaultView)==="object"&&(e=e.documentElement),L1(e),g._tree=wl(e),g._selectorData=Ei(g._tree),g._tree[0]}var YR=XR,KR=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=re(n,U);a(Fe({},Qr(i),{toolOptions:o},Rn(t,r)));},JR=KR,ZR=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=re(n,V);r.resultTypes=["violations"];var s=Rn(t,r),l=s.violations;a(Fe({},Qr(i),{toolOptions:o,violations:l}));},QR=ZR,e3=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=Fe({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=ur.mapRawNodeResults(o[c]);}return o});a(n);},O1=e3,t3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=re(n,B);O1(t,o,function(s){var l=Qr(i);a({raw:s,env:l});});},r3=t3,a3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=re(n,j),s=Rn(t,r),l=function(c){c.nodes.forEach(function(d){d.failureSummary=Dl(d);});};s.incomplete.forEach(l),s.violations.forEach(l),a(Fe({},Qr(i),{toolOptions:o},s));},n3=a3,i3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=re(n,Z),s=Rn(t,r);a(Fe({},Qr(i),{toolOptions:o},s));},o3=i3,s3={base:{Audit:S1,CheckResult:eu,Check:E1,Context:no,RuleResult:Do,Rule:Yt,metadataFunctionMap:xo},public:{reporters:Ln},helpers:{failureSummary:Dl,incompleteFallbackMessage:Al,processAggregate:Rn},utils:{setDefaultFrameMessenger:Bd,cacheNodeSelectors:Lp,getNodesMatchingExpression:Rp,convertSelector:Si},commons:{dom:{nativelyHidden:Yd,displayHidden:Kd,visibilityHidden:Jd,contentVisibiltyHidden:Zd,ariaHidden:Qd,opacityHidden:ef,scrollHidden:tf,overflowHidden:rf,clipHidden:af,areaHidden:Ps,detailsHidden:nf}}},l3=s3;g._thisWillBeDeletedDoNotUse=l3,g.constants=ze,g.log=ca,g.AbstractVirtualNode=Rt,g.SerialVirtualNode=mm,g.VirtualNode=vl,g._cache=$e,g.imports=oc,g.cleanup=hm,g.configure=O_,g.frameMessenger=N_,g.getRules=B_,g._load=IR,g.plugins={},g.registerPlugin=PR,g.hasReporter=vm,g.getReporter=Nl,g.addReporter=M_,g.reset=NR,g._runRules=M1,g.runVirtualRule=qR,g.run=BR,g.setup=YR,g.teardown=ta,g.runPartial=$R,g.finishRun=zR,g.commons=Bm,g.utils=zo,g.addReporter("na",JR),g.addReporter("no-passes",QR),g.addReporter("rawEnv",r3),g.addReporter("raw",O1),g.addReporter("v1",n3),g.addReporter("v2",o3,true);}))(),g._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(ae){var he="Fix any of the following:",_e=ae;if(_e)for(var it,Dt=-1,Ot=_e.length-1;Dt<Ot;)it=_e[Dt+=1],he+=`
|
|
371
|
-
`+
|
|
370
|
+
`)}var Sl=C2;function kl(){var e=h._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Kp=Ue.resultGroups;function Ma(e,t){var r=h.utils.aggregateResult(e);return Kp.forEach(function(n){t.resultTypes&&!t.resultTypes.includes(n)&&(r[n]||[]).forEach(function(a){Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=[a.nodes[0]]);}),r[n]=(r[n]||[]).map(function(a){return a=Object.assign({},a),Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=a.nodes.map(function(i){if(de(i.node)==="object"){var o=Jp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,S2(i,t),i})),Kp.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function S2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(n){return Array.isArray(n.relatedNodes)}).forEach(function(n){n.relatedNodes=n.relatedNodes.map(function(a){return Jp(a,t)});});});}function Jp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=ir.dqElmToSpec(e,t);var r={};if(h._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var k2=/\$\{\s?data\s?\}/g;function co(e,t){if(typeof t=="string")return e.replace(k2,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=typeof t[r]>"u"?"":String(t[r]);e=e.replace(n,a);}return e}function Zp(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 co(r,t)}return co(e,t)}if(typeof e=="string")return co(e,t);if(typeof t=="string"){var n=e[t];return co(n,t)}var a=e.default||kl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),Zp(a,t)}}var Tl=Zp;function T2(e,t,r){var n=h._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Tl(n.messages[t],r)}var R2=T2;function F2(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var fo=F2;function an(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return t&&de(t)==="object"?t:de(r)!=="object"?{}:{testEngine:{name:"axe-core",version:h.version},testRunner:{name:h._audit.brand},testEnvironment:I2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function I2(e){if(!e.navigator||de(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=L2(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function L2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Qp(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&M2(e),size:P2(e),page:n}}function M2(e){var t=Cr(e.getAttribute("tabindex"));return t===null||t>=0}function P2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r;}return {width:t,height:r}}function O2(e){if(Fl(e)){var t=" must be used inside include or exclude. It should not be on the same object.";on(!Er(e,"fromFrames"),"fromFrames"+t),on(!Er(e,"fromShadowDom"),"fromShadowDom"+t);}else if(mo(e))e={include:e,exclude:[]};else return {include:[m],exclude:[]};var r=em(e.include);r.length===0&&r.push(m);var n=em(e.exclude);return {include:r,exclude:n}}function em(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];Rl(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=N2(e[r]);n&&t.push(n);}return t}function N2(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(Il(e)?(B2(e),e=e.fromFrames):ho(e)&&(e=[e]),q2(e))}function q2(e){if(Array.isArray(e)){var t=[],r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(ho(a)&&(H2(a),a=a.fromShadowDom),typeof a!="string"&&!V2(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function B2(e){on(Array.isArray(e.fromFrames),"fromFrames property must be an array"),on(e.fromFrames.every(function(t){return !Er(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),on(!Er(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function H2(e){on(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),on(e.fromShadowDom.every(function(t){return !Er(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),on(e.fromShadowDom.every(function(t){return !Er(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function V2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function on(e,t){rt(e,"Invalid context; ".concat(t,`
|
|
371
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function tm(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof d.Node)if(i.documentElement instanceof d.Node)r.push(e.flatTree[0]);else if(i.host instanceof d.Node){var o=Array.from(i.children).map(function(l){return Ye(l)});r.push.apply(r,Ce(o));}else r.push(Ye(i));else if(i&&i.length)if(i.length>1)j2(e,t,i);else {var s=Hl(i[0]);r.push.apply(r,Ce(s.map(function(l){return Ye(l)})));}}return r.filter(function(l){return l})}function j2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Hl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Qp(i,e),e.frames.push(o)),o[t].push(r);});}function po(e,t){var r,n,a,i,o=this;e=Or(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=de((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=O2(e),this.flatTree=t??El(W2(e)),this.exclude=e.exclude,this.include=e.include,this.include=tm(this,"include"),this.exclude=tm(this,"exclude"),Bl("frame, iframe",this).forEach(function(s){Ml(s,o)&&$2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=z2(this),this.frames.forEach(function(s){s.page=o.page;})),G2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Ol);}function $2(e,t){!vt(t)||ya(e.frames,"node",t)||e.frames.push(Qp(t,e));}function z2(e){var t=e.include;return t.length===1&&t[0].actualNode===m.documentElement}function G2(e){if(e.include.length===0&&e.frames.length===0){var t=hr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function W2(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof d.Element)return i.ownerDocument.documentElement;if(i instanceof d.Document)return i.documentElement}return m.documentElement}function U2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new po(e),n=r.frames;return n.map(function(a){var i=a.node,o=Q(a,j);o.initiator=false;var s=Mi(i);return {frameSelector:s,frameContext:o}})}function rm(e){var t=h._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function X2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=d.getComputedStyle(e),i=nm(a,"overflow-x"),o=nm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function nm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Hr=pt(X2);function am(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Hr(r);return n&&t.push(n),t.concat(am(r))},[])}function Y2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(am(m.body))}var K2=Y2;function J2(){return Or(nt)}function Z2(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var f=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(f);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var im=Z2,Jt;function Q2(e){if(Jt&&Jt.parentNode)return Jt.styleSheet===void 0?Jt.appendChild(m.createTextNode(e)):Jt.styleSheet.cssText+=e,Jt;if(e){var t=m.head||m.getElementsByTagName("head")[0];return Jt=m.createElement("style"),Jt.type="text/css",Jt.styleSheet===void 0?Jt.appendChild(m.createTextNode(e)):Jt.styleSheet.cssText=e,t.appendChild(Jt),Jt}}var e_=Q2;function Rl(e){return !!e&&de(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Er(e,t){return !e||de(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function om(e){return Fl(e)||mo(e)}function Fl(e){return ["include","exclude"].some(function(t){return Er(e,t)&&mo(e[t])})}function mo(e){return typeof e=="string"||e instanceof d.Node||Il(e)||ho(e)||Rl(e)}function Il(e){return Er(e,"fromFrames")}function ho(e){return Er(e,"fromShadowDom")}function sm(e,t){var r=Ye(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=d.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=sm(a,true);return r&&(r._isHidden=i),i}var t_=sm;function r_(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!nt.htmlElms[n]}var Ll=r_;function Ml(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(c){return Nr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Nr(c,e)});if(s.length===0)return true;var l=lm(o),u=lm(s);return Nr(u,l)}function lm(e){var t,r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Nr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function Pl(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function n_(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Ol=n_;function tt(e){return e instanceof Ft?{vNode:e,domNode:e.actualNode}:{vNode:Ye(e),domNode:e}}function a_(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !n.includes(c)}),l=s.map(function(c,f){var g=[].concat(Ce(r),[f]),x=/^https?:\/\/|^\/\//i.test(c);return ql(c,t,g,n,x)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var um=a_;function i_(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=o_(e);return i?um(e,t,r,n,a):ql(e.href,t,r,n,true)}function o_(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Nl=i_;function s_(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new d.XMLHttpRequest;s.open("GET",e),s.timeout=Ue.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(l){if(l.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Nl(o.sheet,t,r,n,o.isCrossOrigin)})}var ql=s_;function l_(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Cr=l_,u_=(function(){function e(){if(d.performance&&d.performance)return d.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=d.performance)!==null&&i!==void 0&&i.mark&&d.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=d.performance)!==null&&s!==void 0&&s.measure){try{d.performance.measure(a,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,l=function(M){return Array.isArray(M)?M[M.length-1]:M},u=function(M){i._log("Measure "+M.name+" took "+M.duration+"ms");};if(!(!((o=d.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=d.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(d.performance.getEntriesByName("mark_axe_start"))||l(d.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var f=d.performance.getEntriesByType("measure").filter(function(S){return S.startTime>=c.startTime}),g=0;g<f.length;++g){var x=f[g];if(x.name===a){u(x);return}else a||u(x);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=d.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];d.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){mn(a);}}})(),ot=u_;function cm(){if(m.elementsFromPoint)return m.elementsFromPoint;if(m.msElementsFromPoint)return m.msElementsFromPoint;var e=(function(){var a=m.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=m.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(m.head.appendChild(n);(o=m.elementFromPoint(a,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(m.documentElement)<u.length-1&&(u.splice(u.indexOf(m.documentElement),1),u.push(m.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return m.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(m.elementsFromPoint=cm());function c_(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Pa=c_;function dm(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function d_(e,t,r){for(var n=We.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=dm(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],f=null,g=null,x=(((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,M=0;M<x;M++){var q,H,$,X=M<(((q=o.anyLevel)===null||q===void 0?void 0:q.length)||0)?o.anyLevel[M]:o.thisLevel[M-(((H=o.anyLevel)===null||H===void 0?void 0:H.length)||0)];if((!X[0].id||c.shadowId===o.parentShadowId)&&Tn(c,X[0]))if(X.length===1)!S&&(!r||r(c))&&(s.push(c),S=true);else {var Y=X.slice(1);if([" ",">"].includes(Y[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+X[1].combinator);Y[0].combinator===">"?(f=f||[]).push(Y):(g=g||[]).push(Y);}(!X[0].id||c.shadowId===o.parentShadowId)&&($=o.anyLevel)!==null&&$!==void 0&&$.includes(X)&&(g=g||[]).push(X);}for(c.children&&c.children.length&&(a.push(o),o=dm(c.children,g,f,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function f_(e,t,r){e=Array.isArray(e)?e:[e];var n=Pi(t),a=Wp(e,n,r);return a||d_(e,n,r)}var Sr=f_;function p_(e){var t=e.treeRoot,r=t===void 0?h._tree[0]:t,n=m_(r);if(!n.length)return Promise.resolve();var a=m.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=im(a);return h_(n,i).then(function(o){return pm(o)})}var fm=p_;function m_(e){var t=[],r=Sr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:wa(n.actualNode)}});return Pa(r,[])}function h_(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=g_(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],f=Promise.all(s.map(function(g,x){var S=[l,x];return Nl(g,u,S,c)}));r.push(f);}),Promise.all(r)}function pm(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(pm(r)):t.concat(r)},[])}function g_(e,t,r){var n;return e.nodeType===11&&t?n=v_(e,r):n=b_(e),w_(n)}function v_(e,t){return Array.from(e.children).filter(y_).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function b_(e){return Array.from(e.styleSheets).filter(function(t){return t.media?mm(t.media.mediaText):false})}function y_(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&mm(e.media)}function mm(e){return e?!e.toUpperCase().includes("PRINT"):true}function w_(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function x_(e){var t=e.treeRoot,r=t===void 0?h._tree[0]:t,n=Sr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return D_(i)}))}var hm=x_;function D_(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function gm(e){var t={cssom:fm,media:hm};return vm(e)?new Promise(function(r,n){var a=bm(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return z({},l,u)})})).then(function(l){var u=l.reduce(function(c,f){return Re({},c,f)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function A_(e){return de(e)==="object"&&Array.isArray(e.assets)}function vm(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:A_(e.preload)}function bm(e){var t=Ue.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Pa(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function go(e){var t=h._audit.data.checks||{},r=h._audit.data.rules||{},n=ya(h._audit.rules,"id",e.id)||{};e.tags=Or(n.tags||[]);var a=ym(t,true,n),i=ym(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Ns(e,Or(r[e.id]||{}));}function __(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:kl()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function ym(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(de(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=__(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Tl(o.message,n.data)),Ns(n,o);}}function E_(e,t){return Sr(e,t)}var Zt=E_;function wm(e,t){var r,n,a=h._audit&&h._audit.tagExclude?h._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function C_(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?wm(e,n.values):wm(e,[])}var xm=C_;function Dm(e,t){if(!t)return e;var r=e.cloneNode(false),n=na(r);if(r.nodeType===1){var a=r.outerHTML;r=We.get(a,function(){return Am(r,n,e,t)});}else r=Am(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Dm(i,t));}),r}function Am(e,t,r,n){return t&&(e=m.createElement(e.nodeName),Array.from(t).forEach(function(a){S_(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function S_(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Cn(e,r[t])}function Bl(e,t){var r=[],n;if(h._selectCache)for(var a=0,i=h._selectCache.length;a<i;a++){var o=h._selectCache[a];if(o.selector===e)return o.result}for(var s=k_(t.include),l=T_(t),u=0;u<s.length;u++){n=s[u];var c=Sr(n,e,l);r=R_(r,c);}return h._selectCache&&h._selectCache.push({selector:e,result:r}),r}function k_(e){return e.reduce(function(t,r){return (!t.length||!Nr(t[t.length-1],r))&&t.push(r),t},[])}function T_(e){return !e.exclude||e.exclude.length===0?null:function(t){return Ml(t,e)}}function R_(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function vo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(de(e)!=="object"||e===null)return {message:String(e)};var r={},n=at(Ue.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(de(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?vo(e.cause,t+1):"..."),r}var F_=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return Qt(this,t),a=ne(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=vo(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return De(t,e),Vt(t)})(P(Error)),bo=F_;function I_(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function L_(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return I_(r,n,a)});}var M_=L_;function P_(e){var t=Array.isArray(e)?Ce(e):[e];return _m(t,m)}function _m(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?_m(e,n.shadowRoot):null}function Hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,r=Array.isArray(e)?Ce(e):[e];return e.length===0?[]:Em(r,t)}function Em(e,t){var r=F(e),n=r[0],a=ln(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=at(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Ce(Em(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function O_(){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 yo=O_,Cm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 N_(e){for(var t=Cm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function Sm(e){e=Array.isArray(e)?e:Cm;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Sm(r).map(function(i){return a+i})):t.push(a);}),t}var wo=N_,q_=(function(e){function t(r){var n;return Qt(this,t),n=ne(this,t),n._props=H_(r),n._attrs=V_(r),n}return De(t,e),Vt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Ft),Vl={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},km={},B_=Object.keys(Vl);B_.forEach(function(e){km[Vl[e]]=e;});function H_(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:km[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Vl[e.nodeName])!==null&&r!==void 0?r:1;rt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),rt(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),yo().includes(o)||(o="text"));var s=Re({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function V_(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(rt(de(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var Tm=q_;function j_(e,t){if(e=e||function(){},t=t||h.log,!h._audit)throw new Error("No audit configured");var r=h.utils.queue(),n=[];Object.keys(h.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{h.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=h.utils.getFlattenedTree(m.body);h.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return h.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var Rm=j_,Oa={},Fm;function Im(e){return Oa.hasOwnProperty(e)}function jl(e){return typeof e=="string"&&Oa[e]?Oa[e]:typeof e=="function"?e:Fm}function $_(e,t,r){Oa[e]=t,r&&(Fm=t);}function z_(e){var t=h._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=xe(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=xe(s,3),u=l[0],c=l[1],f=l[2],g=h.version.split("-"),x=xe(g,2),S=x[0],M=x[1],q=S.split(".").map(Number),H=xe(q,3),$=H[0],X=H[1],Y=H[2];if(u!==$||X<c||X===c&&Y<f||u===$&&c===X&&f===Y&&o&&o!==M)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(h.version))}if(e.reporter&&(typeof e.reporter=="function"||Im(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(re){if(!re.id)throw new TypeError("Configured check ".concat(JSON.stringify(re)," is invalid. Checks must be an object with at least an id property"));t.addCheck(re);});}var Z=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(re){if(!re.id)throw new TypeError("Configured rule ".concat(JSON.stringify(re)," is invalid. Rules must be an object with at least an id property"));Z.push(re.id),t.addRule(re);});}if(e.disableOtherRules&&t.rules.forEach(function(re){Z.includes(re.id)===false&&(re.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&uD(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(Ue.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var G_=z_;function W_(e){hr.updateMessenger(e);}function U_(e){e=e||[];var t=e.length?h._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):h._audit.rules,r=h._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var X_=U_;function Y_(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Fa(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=It(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var K_=Y_,Lm={};ur(Lm,{getAllCells:function(){return $l},getCellPosition:function(){return Qi},getHeaders:function(){return xo},getScope:function(){return rl},isColumnHeader:function(){return On},isDataCell:function(){return Pm},isDataTable:function(){return Do},isHeader:function(){return rE},isRowHeader:function(){return Nn},toArray:function(){return Br},toGrid:function(){return Br},traverse:function(){return zl}});function J_(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var $l=J_;function Mm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Nn:On,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,f=t.x+o,g=e==="row"?t.y:0,x=e==="row"?0:t.x,S,M=[],q=c;q>=g&&!S;q--)for(var H=f;H>=x;H--){var $=r[q]?r[q][H]:void 0;if($){var X=h.utils.getNodeFromTree($);if(X[n]){S=X[n];break}M.push($);}}return S=(S||[]).concat(M.filter(a)),M.forEach(function(Y){var Z=h.utils.getNodeFromTree(Y);Z[n]=S;}),S}function Z_(e,t){if(e.getAttribute("headers")){var r=Dr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Br(Mn(e,"table")));var n=Qi(e,t),a=Mm("row",n,t),i=Mm("col",n,t);return [].concat(a,i).reverse()}var xo=Z_;function Q_(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Ze(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Pm=Q_;function eE(e){var t=Ze(e);if((t==="presentation"||t==="none")&&!_t(e))return false;if(e.getAttribute("contenteditable")==="true"||Mn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||gr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,f=o.cells.length;c<f;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(Ze(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var 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 x,S,M=0;M<i;M++){if(o=e.rows[M],x&&x!==d.getComputedStyle(o).getPropertyValue("background-color")||(x=d.getComputedStyle(o).getPropertyValue("background-color"),S&&S!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;S=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Vs(e).width>$i(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var Do=eE;function tE(e){if(On(e)||Nn(e))return true;if(e.getAttribute("id")){var t=wt(e.getAttribute("id"));return !!m.querySelector('[headers~="'.concat(t,'"]'))}return false}var rE=tE;function Om(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=Om(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function nE(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return Om(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var zl=nE,Nm={};ur(Nm,{allowedAttr:function(){return qm},arialabelText:function(){return Ca},arialabelledbyText:function(){return Ea},getAccessibleRefs:function(){return Gl},getElementUnallowedRoles:function(){return Vm},getExplicitRole:function(){return Ze},getImplicitRole:function(){return Ar},getOwnedVirtual:function(){return Ta},getRole:function(){return Xe},getRoleType:function(){return gr},getRolesByType:function(){return hE},getRolesWithNameFromContents:function(){return bE},implicitNodes:function(){return wE},implicitRole:function(){return Ar},isAccessibleRef:function(){return Ao},isAriaRoleAllowedOnElement:function(){return Hm},isComboboxPopup:function(){return Ul},isUnsupportedRole:function(){return el},isValidRole:function(){return Sa},label:function(){return Gm},labelVirtual:function(){return ro},lookupTable:function(){return $m},namedFromContents:function(){return fp},requiredAttr:function(){return Wm},requiredContext:function(){return Xl},requiredOwned:function(){return Yl},validateAttr:function(){return _o},validateAttrValue:function(){return Um}});function aE(e){var t=nt.ariaRoles[e],r=Ce(tn());return t&&(t.allowedAttrs&&r.push.apply(r,Ce(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Ce(t.requiredAttrs))),r}var qm=aE,iE=/^idrefs?$/;function Bm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=Ve(e.getAttribute(i)||"");if(o){var s=at(Bt(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(f){s.e(f);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Bm(e.childNodes[c],t,r);}function oE(e){var t;e=e.actualNode||e;var r=Pt(e);r=r.documentElement||r;var n=We.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(nt.ariaAttrs).filter(function(o){var s=nt.ariaAttrs[o].type;return iE.test(s)});Bm(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var Gl=oE;function sE(e,t){var r=e instanceof Ft?e:Ye(e),n=Ar(r),a=rn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Hm=sE,lE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],uE={header:"banner",footer:"contentinfo"};function cE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Bt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Sa(n)})}function dE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=tt(e),n=r.vNode;if(!Ll(n))return [];var a=n.props.nodeName,i=Ar(n)||uE[a],o=cE(n);return o.filter(function(s){return !fE(s,n,t,i)})}function fE(e,t,r,n){return r&&e===n?true:lE.includes(e)&&gr(e)!==n?false:Hm(t,e)}var Vm=dE;function pE(e){return Object.keys(nt.ariaRoles).filter(function(t){return nt.ariaRoles[t].type===e})}var Bn=pE;function mE(e){return Bn(e)}var hE=mE;function gE(){return We.get("ariaRolesNameFromContent",function(){return Object.keys(nt.ariaRoles).filter(function(e){return nt.ariaRoles[e].nameFromContent})})}var Wl=gE;function vE(){return Wl()}var bE=vE,jm=function(t){return t===null},Ot=function(t){return t!==null},Vr={};Vr.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}},Vr.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"],Vr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Ot}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Ot}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Ot}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Ot}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:Ot}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Ot}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Ot}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Ot}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Ot}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Ot}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Ot}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Ot}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Ot}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:Ot}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Vr.implicitHtmlRole=al,Vr.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Ot}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Ot}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof h.AbstractVirtualNode||(t=h.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"]}],Vr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:jm}},{nodeName:"img",attributes:{alt:jm}},{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"]}],Vr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=h.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=h.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},Vr.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 $m=Vr;function yE(e){var t=null,r=$m.role[e];return r&&r.implicit&&(t=Or(r.implicit)),t}var wE=yE;function xE(e){return !!Gl(e).length}var Ao=xE;function Ul(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Xe(e);if(r??(r=Uf["aria-haspopup"].values),!r.includes(n))return false;var a=DE(e);if(zm(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=wa(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
372
|
+
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(zm)}var zm=function(t){return t&&Xe(t)==="combobox"};function DE(e){for(;e=e.parent;)if(Xe(e,{noPresentational:true})!==null)return e;return null}function AE(e){return e=Ye(e),ro(e)}var Gm=AE;function _E(e){var t=nt.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Ce(t.requiredAttrs)}var Wm=_E;function EE(e){var t=nt.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Ce(t.requiredContext)}var Xl=EE;function CE(e){var t=nt.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Ce(t.requiredOwned)}var Yl=CE;function SE(e,t){e=e instanceof Ft?e:Ye(e);var r,n,a=e.attr(t),i=nt.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=Bt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Pt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Dr(e,t).some(function(l){return !!l});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var Um=SE;function kE(e){var t=nt.ariaAttrs[e];return !!t}var _o=kE;function TE(e){var t=$l(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(n=n.concat(u.split(/\s+/)));});var a=t.filter(function(s){return Ve(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Ze(s))!==-1}),i=Br(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=Qi(s,i),u=false;On(s)&&(u=zl("down",l,i).find(function(c){return !On(c)&&xo(c,i).includes(s)})),!u&&Nn(s)&&(u=zl("right",l,i).find(function(c){return !Nn(c)&&xo(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var RE=TE,Na=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Xm=Na[0],Ym=Na[1],Km=Na[2],Kl=Na[3];function FE(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Xe(o));}var l=z(z(z(z({},Km,new Set),Xm,new Set),Ym,new Set),Kl,new Set);t.forEach(function(g){if(!(!g.hasAttribute("headers")||!vt(g))){var x=g.getAttribute("headers").trim();if(!x){l[Kl].add(g);return}var S=g.getAttribute("id"),M=Bt(x);M.forEach(function(q){S&&q===S?l[Km].add(g):r[q]?["columnheader","rowheader"].includes(r[q])||l[Ym].add(g):l[Xm].add(g);});}});var u=at(Na),c;try{for(u.s();!(c=u.n()).done;){var f=c.value;if(l[f].size>0)return this.relatedNodes(Ce(l[f])),f===Kl?void 0:(this.data({messageKey:f}),!1)}}catch(g){u.e(g);}finally{u.f();}return true}function IE(e){var t=[],r=$l(e),n=Br(e);return r.forEach(function(a){if(io(a)&&Pm(a)&&!Gm(a)){var i=xo(a,n).some(function(o){return o!==null&&!!io(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var LE=IE;function ME(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var PE=ME,OE=NE;function NE(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(qE),i=a?Ve(nn(a)):false;return !i||!n?false:Ve(n).toLowerCase()===Ve(i).toLowerCase()}}function qE(e){return e.props.nodeName==="caption"}function BE(e){return qp(m)?e.nodeName.toUpperCase()==="TH":true}var HE=BE;function VE(e){var t=Br(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var jE=VE;function $E(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=nn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var zE=$E,Jm={};ur(Jm,{getAriaRolesByType:function(){return Bn},getAriaRolesSupportingNameFromContent:function(){return Wl},getElementSpec:function(){return rn},getElementsByContentType:function(){return tl},getGlobalAriaAttrs:function(){return tn},implicitHtmlRoles:function(){return al}});function GE(e,t,r){var n=Ze(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=Xe(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=tn().some(function(l){return r.hasAttr(l)}),o=_t(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function WE(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var UE=WE;function XE(e){return Yt(e)}var YE=XE;function KE(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Hp(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var f=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(f))return this.data(Re({value:f},c)),true;var g=JE(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(Re({value:g},c)),typeof g=="number")return (typeof a!="number"||g>=a)&&(typeof i!="number"||g<=i)}function JE(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=d.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function ZE(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var QE=ZE;function eC(){}var tC=eC;function rC(){var e=m.title;return !!Ve(e)}var nC=rC;function aC(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var iC=aC;function oC(e,t,r){try{return !!Ve(Ea(r))}catch{return}}var sC=oC;function lC(e,t,r){return !!Ve(Ca(r))}var uC=lC;function cC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Pt(e),n=Array.from(r.querySelectorAll('[id="'.concat(wt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var dC=cC;function fC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var pC=fC;function mC(e,t,r){var n=Ve(r.attr("title")).toLowerCase();return this.data(n),true}var hC=mC;function gC(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 vC=gC;function bC(e){var t=Ks(e,"href");return t?vt(t)||void 0:false}var yC=bC,wC=["alert","log","status"];function xC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=We.get("regionlessNodes",function(){return DC(t)});return !n.includes(r)}function DC(e){var t=Zm(h._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==m.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function Zm(e,t){var r=e.actualNode;if(Xe(e)==="button"||_C(e,t)||["iframe","frame"].includes(e.props.nodeName)||wl(e.actualNode)&&Ks(e.actualNode,"href")||!vt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==m.body&&io(r,true)&&!AC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return Zm(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function AC(e){return ["none","presentation"].includes(Xe(e))&&!ao(e)}function _C(e,t){var r=e.actualNode,n=Xe(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Bn("landmark");return !!(["assertive","polite"].includes(a)||wC.includes(n)||i.includes(n)||t.regionMatcher&&ka(e,t.regionMatcher))}function EC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=at(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(Pl(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var CC=EC;function SC(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 kC(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function Jl(e){var t=d.getComputedStyle(kC(e));return {fontWeight:SC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Qm(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function TC(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(q){return q.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(q){return q.nodeName.toUpperCase()==="P"}),l=Jl(e),u=o?Jl(o):null,c=s?Jl(s):null,f=t.passLength,g=t.failLength,x=e.textContent.trim().length,S=o?.textContent.trim().length;if(x>S*f||!u||!Qm(l,u,i))return true;var M=Ln(r,"blockquote");if(!(M&&M.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Qm(l,c,i))&&!(x>S*g))return false}var RC=TC,FC=/[;,\s]/,IC=/^[0-9.]+$/;function LC(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(FC),l=xe(s,1),u=l[0];if(!u.match(IC))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function MC(e,t,r){var n=Zt(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var PC=MC,e1={};ur(e1,{aria:function(){return Nm},color:function(){return t1},dom:function(){return qs},forms:function(){return p1},matches:function(){return ka},math:function(){return Sf},standards:function(){return Jm},table:function(){return Lm},text:function(){return _a},utils:function(){return Yo}});var t1={};ur(t1,{Color:function(){return bt},centerPointOfRect:function(){return NC},elementHasImage:function(){return oo},elementIsDistinct:function(){return n1},filteredRectStack:function(){return VC},flattenColors:function(){return kr},flattenShadowColors:function(){return Ql},getBackgroundColor:function(){return Ba},getBackgroundStack:function(){return eu},getContrast:function(){return Hn},getForegroundColor:function(){return So},getOwnBackgroundColor:function(){return wn},getRectStack:function(){return a1},getStackingContext:function(){return ru},getStrokeColorsFromShadows:function(){return tu},getTextShadowColors:function(){return Co},hasValidContrastRatio:function(){return uS},incompleteData:function(){return mt},parseTextShadows:function(){return s1},stackingContextToColor:function(){return qa}});function OC(e){if(!(e.left>d.innerWidth)&&!(e.top>d.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),d.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),d.innerHeight-1);return {x:t,y:r}}}var NC=OC;function r1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function qC(e,t){var r=d.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new bt;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(n)return true;var a=d.getComputedStyle(t);if(r1(r)[0]!==r1(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,l){return s||r.getPropertyValue(l)!==a.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var n1=qC;function BC(e){var t=zf(e),r=ml(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var a1=BC;function HC(e){var t=a1(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),n?t[0]:(mt.set("bgColor","elmPartiallyObscuring"),null)}return mt.set("bgColor","outsideViewport"),null}var VC=HC,jC=["hue","saturation","color","luminosity"],i1={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function kr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=zC(t,e,r),a=Zl(e.red,e.alpha,t.red,t.alpha,n.r*255),i=Zl(e.green,e.alpha,t.green,t.alpha,n.g*255),o=Zl(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=$C(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new bt(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new bt(l,u,c,s)}function Zl(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function $C(e,t,r){return Math.min(Math.max(t,e),r)}function zC(e,t,r){if(jC.includes(r))return i1[r](e,t);var n=new bt;return ["r","g","b"].forEach(function(a){n[a]=i1[r](e[a],t[a]);}),n}function Ql(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new bt(n,a,i,o)}function eu(e){for(var t=ml(e).map(function(a){return a=Vp(a,e),a=GC(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return mt.set("bgColor","bgOverlap"),null;if(r!==0&&!WC(n,t[0]))return mt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function GC(e){var t=e.indexOf(m.body),r=e,n=wn(d.getComputedStyle(m.documentElement));if(t>1&&n.alpha===0&&!oo(m.documentElement)){t>1&&(r.splice(t,1),r.push(m.body));var a=r.indexOf(m.documentElement);a>0&&(r.splice(a,1),r.push(m.documentElement));}return r}function WC(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 UC=.54,Eo=.5,XC=1.5,o1=["top","right","bottom","left"];function tu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=YC(e),i=Object.entries(a).map(function(o){var s=xe(o,2),l=s[0],u=s[1],c=o1.filter(function(f){return u[f].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(KC).filter(function(o){return o!==null})}function YC(e){var t={},r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=xe(s,2),c=u[0],f=u[1];c>Eo?l.right.push(c):-c>Eo&&l.left.push(-c),f>Eo?l.bottom.push(f):-f>Eo&&l.top.push(-f);}}catch(g){r.e(g);}finally{r.f();}return t}function KC(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new bt;a.parseString(t);var i=0,o=true;return o1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>XC}));}),o||(a.alpha=1-Math.pow(UC,i)),a}function s1(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)rt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){rt(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")rt(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),n}function Co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=d.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);rt(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],f=s1(s),g=at(f),x;try{for(g.s();!(x=g.n()).done;){var S=x.value,M=S.colorStr||o.getPropertyValue("color"),q=xe(S.pixels,3),H=q[0],$=q[1],X=q[2],Y=X===void 0?0:X;if(!(n&&Y>=u*n)){if(r&&Y<u*r){c.push({colorStr:M,pixels:S.pixels});continue}if(c.length>0){var Z=tu(c,{ignoreEdgeCount:a});if(Z===null)return null;i.push.apply(i,Ce(Z)),c.splice(0,c.length);}var re=JC({colorStr:M,offsetX:H,offsetY:$,blurRadius:Y,fontSize:u});i.push(re);}}}catch(fe){g.e(fe);}finally{g.f();}if(c.length>0){var le=tu(c,{ignoreEdgeCount:a});if(le===null)return null;i.push.apply(i,Ce(le));}return i}function JC(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new bt(0,0,0,0);var o=new bt;return o.parseString(t),o.alpha*=ZC(a,i),o}function ZC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function ru(e,t){var r=Ye(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??eu(e),t.forEach(function(i){var o,s=Ye(i),l=tS(s),u=s._stackingOrder.filter(function(g){var x=g.vNode;return !!x});u.forEach(function(g,x){var S,M=g.vNode,q=(S=u[x-1])===null||S===void 0?void 0:S.vNode,H=u1(a,M,q);x===0&&!a.get(M)&&n.unshift(H),a.set(M,H);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,f=u1(a,s,c);u.length||n.unshift(f),f.bgColor=l;}),r._stackingContext=n,n}function qa(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(QC,l1()),a=kr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function QC(e,t){var r;e instanceof bt?r=e:r=qa(e).color;var n=qa(t).color;return kr(n,r,t.blendMode)}function l1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new bt(0,0,0,0),blendMode:eS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function eS(e){return e||void 0}function u1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:l1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function tS(e){var t=new bt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Ba(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ye(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,Ce(a.bgElms)),mt.set("bgColor",a.incompleteData),a.bgColor;var i=rS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:mt.get("bgColor")},i}function rS(e,t,r){var n,a,i=eu(e);if(!i)return null;var o=pl(e),s=(n=Co(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Ql)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(oo(u,c))return t.push(u),null;var f=void 0;try{if(f=wn(c),f.alpha===0)continue}catch(M){if(M&&mt.get("colorParse"))return null;throw M}if(c.getPropertyValue("display")!=="inline"&&!c1(u,o))return t.push(u),mt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),f.alpha===1)break}var g=ru(e,i);s=g.map(qa).concat(s);var x=nS(e,i.includes(m.body));if((a=s).unshift.apply(a,Ce(x)),s.length===0)return new bt(255,255,255,1);var S=s.reduce(function(M,q){return kr(q.color,M.color instanceof bt?M.color:M,q.blendMode)});return kr(S.color instanceof bt?S.color:S,new bt(255,255,255,1))}function c1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=d.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof d.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(f){return f.top>=r.top&&f.bottom<=a&&f.left>=r.left&&f.right<=n})}function d1(e){return e||void 0}function nS(e,t){var r=[];if(!t){var n=m.documentElement,a=m.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=wn(i),l=wn(o),u=l.alpha!==0&&c1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:d1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:d1(i.getPropertyValue("mix-blend-mode"))});}return r}function aS(e,t){if(!t||!e)return null;t.alpha<1&&(t=kr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Hn=aS;function So(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return oS(a,n)},function(){return iS(a)},function(){return Co(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(M){if(M&&mt.get("colorParse"))return null;throw M}var f=o.reduce(function(M,q){return kr(M,q)});if(r??(r=Ba(e,[])),r===null){var g=mt.get("bgColor");return mt.set("fgColor",g),null}var x=ru(e),S=f1(x,e);return kr(sS(f,S,x),new bt(255,255,255,1))}function iS(e){return new bt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function oS(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new bt().parseString(s)}function sS(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(qa);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return kr(l.color,s.color instanceof bt?s.color:s)},{color:new bt(0,0,0,0),blendMode:"normal"});e=kr(e,o),t=t.ancestor;}return e}function f1(e,t){var r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=f1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function lS(e,t,r,n){var a=Hn(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var uS=lS,p1={};ur(p1,{isAriaCombobox:function(){return yp},isAriaListbox:function(){return bp},isAriaRange:function(){return wp},isAriaTextbox:function(){return vp},isDisabled:function(){return Ha},isNativeSelect:function(){return gp},isNativeTextbox:function(){return hp}});var cS=["fieldset","button","select","input","textarea"];function m1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return cS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=m1(e.parent):t=false,e._isDisabled=t,t}var Ha=m1;function dS(e,t,r){var n=_a.accessibleTextVirtual(r),a=_a.sanitize(_a.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:qs.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var fS=dS;function h1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return de(o)!==de(s)?false:de(o)==="object"||de(s)==="object"?h1(o,s):o===s});return a}function pS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var l,u=t[s],c=u.data,f=c.name,g=c.urlProps;if(n[f])return 1;var x=t.filter(function(M,q){var H=M.data;return H.name===f&&q!==s}),S=x.every(function(M){var q=M.data;return h1(q.urlProps,g)});x.length&&!S&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Ce(x.map(function(M){return M.relatedNodes[0]}))),n[f]=x,r.push(u);},i=0;i<t.length;i++)a(i);return r}var mS=pS;function hS(e){var t=Xe(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=xe(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function gS(){var e=We.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Sr(h._tree[0],t,vt);return e=r.map(function(n){return {ancestry:[Mi(n.actualNode)],level:hS(n)}}),this.data({headingOrder:e}),We.set("headingOrder",r),true}var vS=gS;function bS(e){var t=wS(e);return e.forEach(function(r){r.result=yS(r,t);}),e}function yS(e,t){var r,n,a,i,o=g1(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,l=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function wS(e){e=Ce(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(xS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function xS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=v1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return AS(s,a)}),o=DS(e,a);return o===-1?e.push.apply(e,Ce(i)):e.splice.apply(e,[o,0].concat(Ce(i))),e}function DS(e,t){for(;t.length;){var r=g1(e,t);if(r!==-1)return r;t=v1(t,1);}return -1}function g1(e,t){return e.findIndex(function(r){return Pl(r.ancestry,t)})}function AS(e,t){var r=t.concat(e.ancestry);return Re({},e,{ancestry:r})}function v1(e,t){return e.slice(0,e.length-t)}function _S(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(qr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=qr.bind(null,n),o=Ki(r),s=ES(r,o),l=CS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Va(s));return}if(u.length)return this.relatedNodes(Va(u)),this.data({messageKey:"obscured"}),true;var f=or(r)?false:void 0;if(!i(a))return this.data(Re({minSize:n},ko(a))),f;var g=TS(c);if(!g.length)return this.data(Re({minSize:n},ko(a))),true;var x=SS(r,g,n);if(!x){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(x)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Va(s));return}var S=g.every(or),M="partiallyObscured".concat(S?"":"NonTabbable");return this.data(Re({messageKey:M,minSize:n},ko(x))),this.relatedNodes(Va(g)),S?f:void 0}return this.data(Re({minSize:n},ko(x||a))),this.relatedNodes(Va(g)),true}function ES(e,t){return t.filter(function(r){return !b1(r,e)&&y1(e,r)})}function CS(e,t){var r=[],n=[],a=at(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!y1(e,o)&&zs(e,o)&&RS(o)!=="none"&&(b1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function SS(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Gs(n,a);}catch{return null}return kS(i,r)}function kS(e,t){return e.reduce(function(r,n){var a=qr(t,r),i=qr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function TS(e){return e.filter(function(t){return gr(t)==="widget"&&_t(t)})}function b1(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function RS(e){return e.getComputedStylePropertyValue("pointer-events")}function ko(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function y1(e,t){return Nr(e,t)&&!or(t)}function Va(e){return e.map(function(t){var r=t.actualNode;return r})}var FS=.05;function IS(e,t,r){var n=t?.minOffset||24;if(qr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=at(Ki(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(gr(l)!=="widget"||!_t(l))){var u=null;try{u=Tf(r,l,n/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw c}u!==null&&(u=LS(u)*2,!(u+FS>=n)&&(i=Math.min(i,u),a.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(c){var f=c.actualNode;return f})),!a.some(or)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),or(r)?false:void 0}function LS(e){return Math.round(e*10)/10}function MS(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(f,g){var x=g.trim();if(!x)return f;var S=x.split("="),M=xe(S,2),q=M[0],H=M[1];if(!q||!H)return f;var $=q.toLowerCase().trim(),X=H.toLowerCase().trim();return $==="maximum-scale"&&X==="yes"&&(X=1),$==="maximum-scale"&&parseFloat(X)<0||(f[$]=X),f},{});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 PS=MS;function OS(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,f=[],g=q(o),x=function(){var he=M[S],ye=g[he],_e=ye.root,Oe=ye.rules,$e=Oe.filter(H);if(!$e.length)return 1;$e.forEach(function(Ie){var He=Ie.cssRules;Array.from(He).forEach(function(ve){var Pe=$(ve);if(Pe&&ve.selectorText.toUpperCase()!=="HTML"){var ee=Array.from(_e.querySelectorAll(ve.selectorText))||[];f=f.concat(ee);}c=c||Pe;});});},S=0,M=Object.keys(g);S<M.length;S++)x();if(!c)return true;return f.length&&this.relatedNodes(f),false;function q(ue){return ue.reduce(function(he,ye){var _e=ye.sheet,Oe=ye.root,$e=ye.shadowId,Ie=$e||"topDocument";if(he[Ie]||(he[Ie]={root:Oe,rules:[]}),!_e||!_e.cssRules)return he;var He=Array.from(_e.cssRules);return he[Ie].rules=he[Ie].rules.concat(He),he},{})}function H(ue){var he=ue.type,ye=ue.cssText;return he!==4?false:/orientation:\s*landscape/i.test(ye)||/orientation:\s*portrait/i.test(ye)}function $(ue){var he=ue.selectorText,ye=ue.style;if(!he||ye.length<=0)return false;var _e=ye.transform||ye.webkitTransform||ye.msTransform||false;if(!_e&&!ye.rotate)return false;var Oe=X(_e),$e=Y("rotate",ye.rotate),Ie=Oe+$e;return !Ie||(Ie=Math.abs(Ie),Math.abs(Ie-180)%180<=u)?false:Math.abs(Ie-90)%90<=u}function X(ue){if(!ue)return 0;var he=ue.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!he)return 0;var ye=xe(he,3),_e=ye[1],Oe=ye[2];return Y(_e,Oe)}function Y(ue,he){switch(ue){case "rotate":case "rotateZ":return Z(he);case "rotate3d":var ye=he.split(",").map(function(Ie){return Ie.trim()}),_e=xe(ye,4),Oe=_e[2],$e=_e[3];return parseInt(Oe)===0?void 0:Z($e);case "matrix":case "matrix3d":return re(he);default:return 0}}function Z(ue){var he=ue.match(/(deg|grad|rad|turn)/)||[],ye=xe(he,1),_e=ye[0];if(!_e)return 0;var Oe=parseFloat(ue.replace(_e,""));switch(_e){case "rad":return le(Oe);case "grad":return fe(Oe);case "turn":return Ae(Oe);default:return parseInt(Oe)}}function re(ue){var he=ue.split(",");if(he.length<=6){var ye=xe(he,2),_e=ye[0],Oe=ye[1],$e=Math.atan2(parseFloat(Oe),parseFloat(_e));return le($e)}var Ie=parseFloat(he[8]),He=Math.asin(Ie),ve=Math.cos(He),Pe=Math.acos(parseFloat(he[0])/ve);return le(Pe)}function le(ue){return Math.round(ue*(180/Math.PI))}function fe(ue){return ue=ue%400,ue<0&&(ue+=400),Math.round(ue/400*360)}function Ae(ue){return Math.round(360/(1/ue))}}var NS=OS;function qS(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var f=xe(c,2),g=f[1],x=g.split(",");return x.map(function(S){return /:/.test(S)?l(S):parseFloat(S)})}}function l(u){for(var c=u.split(":"),f=0,g=1;c.length>0;)f+=g*parseInt(c.pop(),10),g*=60;return parseFloat(f)}}var BS=qS;function HS(e,t){return t.isViolation?false:void 0}var VS=HS,w1=" > ";function jS(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(w1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(w1);return t[i]&&(t[i].result=true),false})}var $S=jS;function zS(e,t,r){var n=Zt(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var GS=zS;function WS(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var US=WS;function XS(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){n=true;return}if(!(c.nodeType!==1||!vt(c))){i=false;var f=c.nodeName.toUpperCase()==="LI",g=Xe(u),x=g==="listitem";!f&&!x&&o.push(c),f&&!x&&(s.push(c),l.includes(g)||l.push(g)),x&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var YS=XS;function KS(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&Xe(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&vt(u)){var f=Ze(u);(c!=="DT"&&c!=="DD"||f)&&(n.includes(f)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function JS(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=Ze(n);return ["presentation","none","list"].includes(i)?true:i&&Sa(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function ZS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=x1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&ek(l)){if(!l.children)return;var c=x1(l.children,true);i.push.apply(i,Ce(c));continue}var f=QS(l,u,t);f&&(a.includes(f)||a.push(f),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(l.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function QS(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,f=t?"div > ":"";if(u===3&&c.trim()!=="")return f+"#text";if(u!==1||!vt(e))return false;var g=Ze(e);return g?a.includes(g)?false:f+"[role=".concat(g,"]"):o.includes(l)?false:f+l}function ek(e){return e.props.nodeName==="div"&&Ze(e)===null}function x1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function tk(e){var t=It(e),r=t.nodeName.toUpperCase(),n=Ze(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=It(t),r=t.nodeName.toUpperCase(),n=Ze(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var rk=tk;function nk(e,t,r){var n=Dn(r.attr("lang")),a=Dn(r.attr("xml:lang"));return n===a}var ak=nk;function ik(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Dn(i),s=t.value?!t.value.map(Dn).includes(o):!wo(o);(o!==""&&s||i!==""&&!Ve(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!gl(r)?false:(this.data(n),true)}var ok=ik;function nu(e){return (e||"").trim()!==""}function sk(e,t,r){var n=typeof m<"u"?fa(m):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&nu(r.attr("xml:lang"))&&!nu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return nu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var lk=sk;function uk(e,t,r){var n=Xe(e),a=Lt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var ck=uk;function dk(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var fk=dk;function pk(e,t,r){var n=no(r),a=eo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var mk=pk;function hk(e){var t=wt(e.getAttribute("id")),r=e.parentNode,n=Pt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !en(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return vt(s)});if(i.length>1)return;var o=Dr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var gk=hk;function vk(e,t){var r=D1(t),n=D1(e);return !r||!n?false:r.includes(n)}function D1(e){var t=Ra(e,{emoji:true,nonBmp:true,punctuations:true});return Ve(t)}function bk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=vn(e).toLowerCase(),s=Ve(nn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(fl(o)<1||fl(s)<1))return vk(s,o)}var yk=bk;function wk(e,t,r){try{var n=Xt(r,"label");if(n){var a=Ve(Lt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var xk=wk;function Dk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Pt(e),a=wt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!vt(i)){var o;try{o=Lt(r).trim();}catch{return}var s=o==="";return s}}return false}var Ak=Dk;function _k(e,t,r){var n=no(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Dr(e,"aria-describedby");a=i.map(function(o){return o?vn(o):""}).join("");}return Ve(a)===Ve(n)}var Ek=_k;function Ck(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Pt(r.actualNode),i=wt(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(Yt(s)){var l=Ve(vn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var Sk=Ck;function kk(e,t,r){if(["none","presentation"].includes(Xe(r)))return false;var n=Xt(r,t.parentSelector);if(!n)return false;var a=_r(n,true).toLowerCase();return a===""?false:a===Lt(r).toLowerCase()}var Tk=kk;function Rk(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var Fk=Rk;function Ik(e,t,r){var n=Cr(r.attr("tabindex"));return n===null||n<=0}var Lk=Ik;function Mk(e,t,r){if(r.children)try{var n=A1(r);if(!n.length)return !0;var a=n.filter(Pk);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function A1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){gr(r)==="widget"&&_t(r)?t.push(r):t.push.apply(t,Ce(A1(r)));}),t}function Pk(e){var t=Cr(e.attr("tabindex"));return t!==null&&t<0}function Ok(e){var t=Bn("landmark"),r=It(e),n=Xe(e);for(this.data({role:n});r;){var a=Ze(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Ar(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=It(r);}return true}var Nk=Ok;function qk(e,t,r){if(r.children)try{return !r.children.some(function(n){return _1(n)})}catch{return}}function _1(e){if(or(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return _1(t)})}function Bk(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Ia()?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 Hk=Bk;function Vk(e,t,r){if(!or(r))return false;try{return !Lt(r)}catch{return}}var jk=Vk;function $k(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Ia()){this.relatedNodes(n);return}return true}var zk=$k;function Gk(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return or(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=Xt(r.parent,"[contenteditable]");return o?n(o):false}}var Wk=Gk;function Uk(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Ia()?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 Xk=Uk;function Yk(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var Kk=Yk;function Jk(e,t,r){return en(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Zk=Jk;function Qk(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var eT=Qk;function tT(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(We.get(n)){this.data("ignored");return}We.set(n,true);var a=Sr(h._tree[0],t.selector,function(i){return vt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Ln(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Xe(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var rT=tT;function nT(e){return e.filter(function(t){return t.data!=="ignored"})}var aT=nT;function iT(e,t,r){return ka(r,t.matcher)}var oT=iT;function sT(e,t,r){try{return Ve(nn(r))!==""}catch{return}}function lT(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&&Ia())return true;var n=Sr(r,t.selector,function(a){return vt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var uT=lT;function cT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var dT=cT;function fT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!Ve(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var pT=fT;function mT(e,t,r){var n=r.attr("autocomplete")||"";return Rp(n,t)}var hT=mT;function gT(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};de(t)==="object"&&Object.keys(t).forEach(function(f){i[f]||(i[f]=[]),i[f]=i[f].concat(t[f]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(f){return f.toLowerCase()}),l=s[s.length-1];if(yn.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?Ve(r.attr("type")).toLowerCase():"text";return c=yo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var vT=gT,bT=["block","list-item","table","flex","grid","inline-block"];function yT(e){if(E1(e))return false;for(var t=It(e);t&&t.nodeType===1&&!E1(t);)t=It(t);if(t){if(this.relatedNodes([t]),n1(e,t))return true;if(wT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function E1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return bT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function wT(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=d.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function C1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var xT=["block","list-item","table","flex","grid","inline-block"];function S1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return xT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function DT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(S1(e))return false;for(var a=It(e);a&&a.nodeType===1&&!S1(a);)a=It(a);if(a){this.relatedNodes([a]);var i=So(e),o=So(a),s=Ba(e),l=Ba(a),u=i&&o?C1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?C1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var f,g=(f=mt.get("bgColor"))!==null&&f!==void 0?f:"bgContrast";this.data({messageKey:g}),mt.clear();return}if(u)return n&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var AT=DT;function _T(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,f=t.pseudoSizeThreshold;if(!Yt(e))return this.data({messageKey:"hidden"}),true;var g=_r(r,false,true);if(n&&CT(g)){this.data({messageKey:"nonBmp"});return}var x=d.getComputedStyle(e),S=parseFloat(x.getPropertyValue("font-size")),M=x.getPropertyValue("font-weight"),q=parseFloat(M)>=o||M==="bold",H=Math.ceil(S*72)/96,$=q&&H<s||!q&&H<l,X=$?u.normal:u.large,Y=X.expected,Z=X.minThreshold,re=X.maxThreshold,le=ET(r,{ignorePseudo:i,pseudoSizeThreshold:f});if(le){this.data({fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:q?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:Y+":1"}),this.relatedNodes(le.actualNode);return}var fe=Co(e,{minRatio:.001,maxRatio:c});if(fe===null){this.data({messageKey:"complexTextShadows"});return}var Ae=[],ue=Ba(e,Ae,c),he=So(e,false,ue,t),ye=null,_e=null,Oe=null;if(fe.length===0)ye=Hn(ue,he);else if(he&&ue){Oe=[].concat(Ce(fe),[ue]).reduce(Ql);var $e=Hn(ue,he),Ie=Hn(ue,Oe),He=Hn(Oe,he);ye=Math.max($e,Ie,He),ye!==$e&&(_e=Ie>He?"shadowOnBgColor":"fgOnShadowColor");}var ve=ye>Y;if(typeof Z=="number"&&(typeof ye!="number"||ye<Z)||typeof re=="number"&&(typeof ye!="number"||ye>re))return this.data({contrastRatio:ye}),true;var Pe=Math.floor(ye*100)/100,ee,Se;ue===null?mt.get("colorParse")?(ee="colorParse",Se=mt.get("colorParse")):ee=mt.get("bgColor"):ve||(ee=_e),he===null&&mt.get("colorParse")&&(ee="colorParse",Se=mt.get("colorParse"));var me=Pe===1,ke=g.length===1;if(me?ee=mt.set("bgColor","equalRatio"):!ve&&ke&&!a&&(ee="shortTextContent"),this.data({fgColor:he?he.toHexString():void 0,bgColor:ue?ue.toHexString():void 0,contrastRatio:Pe,fontSize:"".concat((S*72/96).toFixed(1),"pt (").concat(S,"px)"),fontWeight:q?"bold":"normal",messageKey:ee,expectedContrastRatio:Y+":1",shadowColor:Oe?Oe.toHexString():void 0,colorParse:Se}),he===null||ue===null||me||ke&&!a&&!ve){ee=null,mt.clear(),this.relatedNodes(Ae);return}return ve||this.relatedNodes(Ae),ve}function ET(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var l=k1(e.actualNode,":before"),u=k1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var k1=pt(function(t,r){var n=d.getComputedStyle(t,r),a=function(l,u){return n.getPropertyValue(l)===u};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||wn(n).alpha===0&&a("background-image","none"))return 0;var i=T1(n.getPropertyValue("width")),o=T1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function CT(e){var t={nonBmp:true},r=cl(e,t),n=Ve(Ra(e,t))==="";return r&&n}function T1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=xe(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var ST={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},kT={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 TT(e){var t=e.nodeName.toUpperCase();return ST[t]||false}function RT(e,t){var r=Ze(e);return r&&(kT[r]||t.roles.includes(r))||false}function FT(e,t){return RT(e,t)||TT(e)}var IT=FT;function LT(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=el(n);return a&&this.data(n),a}var MT=LT;function PT(e,t,r){var n=Xe(r,{noImplicit:true});this.data(n);var a,i;try{a=Ve(ll(r)).toLowerCase(),i=Ve(Lt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var OT=PT;function NT(e,t,r){return _t(r)}var qT=NT;function BT(e,t,r){var n=Bt(r.attr("role")),a=n.every(function(i){return !Sa(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var HT=BT;function VT(e,t,r){var n=Ze(r);if(n===null)return false;var a=gr(n);return a==="widget"||a==="composite"}var jT=VT;function $T(e,t,r){var n=tn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var zT=$T;function GT(e,t){var r=Ar(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function WT(e,t,r){var n=Bt(r.attr("role"));return n.length<=1?false:GT(r,n)?void 0:true}var UT=WT;function XT(e,t,r){var n=Xe(r,{dpub:true,fallback:true}),a=nt.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function YT(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Ve(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ve(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function KT(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ve(Lt(r))!==""}catch{return}}function JT(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=h._tree&&h._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=h._tree&&h._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,f=r.attr(u);try{c=Um(r,u);}catch{n="".concat(u,'="').concat(f,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(f===""&&!ZT(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(f,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function ZT(e){var t;return ((t=nt.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function QT(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!_o(i)&&n.push(i);}),n.length?(this.data(n),false):true}var e5=QT;function t5(e,t,r){var n=r.attrNames.filter(function(a){var i=nt.ariaAttrs[a];if(!_o(a))return false;var o=i.unsupported;return de(o)!=="object"?!!o:!ka(e,o.exceptions)});return n.length?(this.data(n),true):false}var r5=t5;function n5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Xe(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var a5=n5;function R1(e,t,r,n){var a=Ze(e);if(r||(r=Xl(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Xe(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function i5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=wt(e.getAttribute("id")),a=Pt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function o5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=R1(r,n);if(!a)return true;var i=i5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=R1(Ye(i[o]),n,a,true),!a)return true}return this.data(a),false}var s5=o5;function l5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Ze(r,{dpub:true}),i=Yl(a);if(i===null)return true;var o=u5(r,i),s=o.filter(function(u){var c=u.role,f=u.vNode;return f.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,f=u.attr;return f5(c,f)}).filter(function(u,c,f){return f.indexOf(u)===c}).join(", ")}),false}if(c5(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(p5)))return false}function u5(e,t){for(var r,n=[],a=Ta(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!vt(r))return 1;var s=Xe(r,{noPresentational:true}),l=d5(r),u=!!l||_t(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(f){return f===s}))a.push.apply(a,Ce(r.children));else if(s||u){var c=l||"tabindex";n.push({role:s,attr:c,vNode:r});}};r=a.shift();)i();return n}function c5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function d5(e){return tn().find(function(t){return e.hasAttr(t)})}function f5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=Ze(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function p5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Fa(t,false,true)}function m5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=Ze(n),i=n.attrNames,o=Wm(a);if(Array.isArray(r[a])&&(o=Pa(r[a],o)),!a||!i.length||!o.length||h5(n,a)||v5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=rn(n),l=o.filter(function(u){return !n.attr(u)&&!g5(s,u)});return l.length?(this.data(l),false):true}function h5(e,t){return t==="separator"&&!_t(e)}function g5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function v5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function b5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=Xe(r,{chromium:true,fallback:true}),o=y5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?Ve(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:l,prohibited:s});var u=nn(r,{subtreeDescendant:true});if(Ve(u)==="")return true}function y5(e,t,r,n){var a=nt.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||F1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var F1=pt(function(t){if(t){var r=Xe(t,{noPresentational:true,chromium:true});return r?gr(r):F1(t.parent)}});function w5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var x5=w5;function D5(e,t,r){return r.attr("aria-hidden")!=="true"}var A5=D5;function _5(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return nt.ariaAttrs["aria-errormessage"].allowEmpty;var u=Bt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Dr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!vt(c))return this.data({messageKey:"hidden",values:u}),false;var f=Bt(r.attr("aria-describedby"));return Ze(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(g){return f.includes(g)})}}return t.indexOf(n)===-1&&a?(this.data(Bt(n)),s.call(this,n)):true}function I1(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=E5(i),l=s&&Xe(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function E5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return Xt(e,t)}}function L1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=S5(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=C5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function C5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function S5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var M1={row:I1,checkbox:L1};function k5(e,t,r){var n=Xe(r);return M1[n]?M1[n].call(this,e,t,r):true}function T5(e,t,r){return r.attr("aria-busy")==="true"}function R5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Vm(r,a);return l.length?(this.data(l),vt(r)?false:void 0):true}var F5=R5;function I5(e,t,r){var n=[],a=Xe(r),i=qm(a);Array.isArray(t[a])&&(i=Pa(t[a].concat(i)));var o=at(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;_o(l)&&!i.includes(l)&&!L5(l,r.attr(l),r)&&n.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!a&&!Ll(r)&&!_t(r)))return false}function L5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function M5(e,t,r){var n=rn(r);if(!n.allowedAriaAttrs)return true;var a=Ze(r);if(a)return true;var i=n.allowedAriaAttrs,o=tn(),s=[],l=at(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(g){l.e(g);}finally{l.f();}if(!s.length)return true;var f=s.length>1?"plural":"singular";return this.data({messageKey:f,nodeName:r.props.nodeName,values:s.map(function(g){return g+'="'+r.attr(g)+'"'}).join(", ")}),false}function P5(e,t,r){var n=Bt(r.attr("role")).filter(function(a){return gr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var O5=P5;function N5(e){var t=Dn(e.getAttribute("lang")),r=Dn(e.getAttribute("xml:lang"));return wo(t)&&wo(r)}var q5=N5;function B5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var H5=B5;function V5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!Xt(t,"svg")}catch{return false}}var au=V5;function j5(e,t){return $5.every(function(r){return r(e,t)})}var $5=[function(e,t){return P1(t)},function(e,t){return z5(t)},function(e,t){return !au(e,t)},function(e,t){return _t(t)},function(e,t){return or(t)||!G5(t)},function(e){return !vl(e,{noLengthCompare:true,includeInlineBlock:true})}];function P1(e){return gr(e)==="widget"}function z5(e){return e.props.nodeName!=="area"}var G5=pt(function e(t){return t!=null&&t.parent?P1(t.parent)&&or(t.parent)?true:e(t.parent):false});function W5(e,t){var r=Xe(t);return ["treegrid","grid","table"].includes(r)}function U5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||X5(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function X5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function Y5(e){return wl(e)&&Gi(e)}var K5=Y5;function J5(e,t){return Hr(e,13)!==void 0&&Ul(t)===false&&Z5(t)}function Z5(e){var t=e.boundingClientRect;return Zt(e,"*").some(function(r){if(!Fa(r,true,true))return false;var n=[];if(ao(r)){var a;(a=n).push.apply(a,Ce(Q5(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function Q5(e){var t=m.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function eR(e,t){return Ar(t,{chromiumRoles:true})!==null}var tR=eR;function rR(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var nR=rR;function aR(e,t){var r=Ze(t);if(!r||["none","presentation"].includes(r))return true;var n=Xf[r]||{},a=n.accessibleNameRequired;return !!(a||_t(t))}var O1=aR,iR=function(t,r){return [O1,oR].every(function(n){return n(t,r)})};function oR(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 sR(e,t){return t.props.nodeName!=="html"}var lR=sR;function uR(e,t){return !t.attr("role")}var cR=uR;function dR(e,t){var r=Cr(t.attr("tabindex"));return r===null||r>=0}var fR=dR;function pR(e,t){var r=rn(t),n=r.namingMethods;return !(n&&n.length!==0||Ze(t)==="combobox"&&Zt(t,'input:not([type="hidden"])').length||Ul(t,{popupRoles:["listbox"]}))}var mR=pR;function hR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var gR=hR;function vR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var bR=vR;function yR(e,t){var r=Xe(t);return r?!!nt.ariaRoles[r].childrenPresentational:false}var wR=yR;function xR(e){var t=Ve(e.innerText),r=Ze(e);return r&&r!=="link"||!t||!Yt(e)?false:vl(e)}var DR=xR;function AR(e){return !Do(e)&&!_t(e)}var _R=AR;function ER(e,t){return CR(t)&&vt(t)}function CR(e){var t=Bn("landmark"),r=Xe(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Lt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function SR(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Ln(t,r)}var kR=SR;function TR(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 RR=TR;function FR(e,t){var r=Xe(e);if(!r)return false;var n=Bn("widget"),a=n.includes(r);if(!a)return false;var i=Wl();return !(!i.includes(r)||!Ve(Ca(t))&&!Ve(Ea(e))||!Ve(_r(t)))}var IR=FR;function LR(e,t){return Yt(t)}function MR(e){return Yt(e)}function PR(e,t,r){return r.initiator}var N1=PR;function OR(e){return Pp(e)}var NR=OR;function qR(e,t){var r=!!Lt(t);if(!r)return false;var n=Xe(e);return !(n&&n!=="link")}var BR=qR;function HR(e,t){return !au(e,t)}var VR=HR;function jR(e,t){return Xe(t)==="heading"}function $R(e,t){return Ar(t,{chromium:true})!==null}var zR=$R;function GR(e){var t=e.getAttribute("title");return !!Ve(t)}var WR=GR;function UR(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var XR=UR;function YR(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(wt(t),'"]'),n=Array.from(Pt(e).querySelectorAll(r));return !Ao(e)&&n.every(function(a){return !_t(a)})}var KR=YR;function JR(e){return Ao(e)}var ZR=JR;function QR(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(wt(t),'"]'),n=Array.from(Pt(e).querySelectorAll(r));return !Ao(e)&&n.some(_t)}var eF=QR;function tF(e){return Do(e)}var rF=tF;function nF(e){if(Do(e)){var t=Br(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var aF=nF;function iF(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||Ha(t)||Ji(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=d.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!xl(u,e))return false}return true}var c=Ln(t,"label");if(n==="label"||c){var f=c||e,g=c?Ye(c):t;if(f.htmlFor){var x=Pt(f),S=x.getElementById(f.htmlFor),M=S&&Ye(S);if(M&&Ha(M))return false}var q='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',H=Zt(g,q)[0];if(H&&Ha(H))return false}for(var $=[],X=t;X;){if(X.props.id){var Y=Gl(X).filter(function(he){return Bt(he.getAttribute("aria-labelledby")||"").includes(X.props.id)}).map(function(he){return Ye(he)});$.push.apply($,Ce(Y));}X=X.parent;}if($.length>0&&$.every(Ha)||!lF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var Z=m.createRange(),re=t.children,le=0;le<re.length;le++){var fe=re[le];fe.actualNode.nodeType===3&&Ve(fe.actualNode.nodeValue)!==""&&Z.selectNodeContents(fe.actualNode);}var Ae=Array.from(Z.getClientRects()),ue=xa(t);return Ae.some(function(he){var ye=xl(he,e);if(!ue.length)return ye;var _e=ue.some(function(Oe){return Bs(he,Oe.boundingClientRect)});return ye&&_e})}var oF=iF,sF={emoji:true,nonBmp:false,punctuations:true};function lF(e){var t=_r(e,false,true);return t===""||Ra(t,sF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!dl(r)})}function uF(e,t,r){return N1(e,t,r)?!!e.querySelector("a[href]"):true}var cF=uF;function dF(e,t){var r=t.attr("autocomplete");if(!r||Ve(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=Ze(t),l=Cr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=nt.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!Yt(t)&&!vt(t))}var fF=dF;function pF(e,t){var r=Ze(t);return !!Xl(r)}var mF=pF;function hF(e,t){var r=Ze(t,{dpub:true});return !!Yl(r)}var gF=hF;function q1(e){return e?e.getAttribute("aria-hidden")==="true"?false:q1(It(e)):true}function vF(e){return q1(It(e))}var bF=vF;function yF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var wF=yF;function xF(e,t){return Ze(t,{dpub:true,fallback:true})!==null}var DF=xF;function AF(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var _F=AF,EF={"abstractrole-evaluate":O5,"accesskeys-after":eT,"accesskeys-evaluate":Zk,"alt-space-value-evaluate":Fk,"aria-allowed-attr-elm-evaluate":M5,"aria-allowed-attr-evaluate":I5,"aria-allowed-attr-matches":_F,"aria-allowed-role-evaluate":F5,"aria-allowed-role-matches":DF,"aria-busy-evaluate":T5,"aria-conditional-attr-evaluate":k5,"aria-conditional-checkbox-attr-evaluate":L1,"aria-conditional-row-attr-evaluate":I1,"aria-errormessage-evaluate":_5,"aria-has-attr-matches":wF,"aria-hidden-body-evaluate":A5,"aria-hidden-focus-matches":bF,"aria-label-evaluate":uC,"aria-labelledby-evaluate":sC,"aria-level-evaluate":x5,"aria-prohibited-attr-evaluate":b5,"aria-required-attr-evaluate":m5,"aria-required-children-evaluate":l5,"aria-required-children-matches":gF,"aria-required-parent-evaluate":s5,"aria-required-parent-matches":mF,"aria-roledescription-evaluate":a5,"aria-unsupported-attr-evaluate":r5,"aria-valid-attr-evaluate":e5,"aria-valid-attr-value-evaluate":JT,"attr-non-space-content-evaluate":pT,"autocomplete-appropriate-evaluate":vT,"autocomplete-matches":fF,"autocomplete-valid-evaluate":hT,"avoid-inline-spacing-evaluate":iC,"braille-label-equivalent-evaluate":KT,"braille-roledescription-equivalent-evaluate":YT,"bypass-matches":cF,"caption-evaluate":GS,"caption-faked-evaluate":jE,"color-contrast-evaluate":_T,"color-contrast-matches":oF,"css-orientation-lock-evaluate":NS,"data-table-large-matches":aF,"data-table-matches":rF,"deprecatedrole-evaluate":XT,"dlitem-evaluate":rk,"doc-has-title-evaluate":nC,"duplicate-id-active-matches":eF,"duplicate-id-after":pC,"duplicate-id-aria-matches":ZR,"duplicate-id-evaluate":dC,"duplicate-id-misc-matches":KR,"duplicate-img-label-evaluate":Tk,"exists-evaluate":tC,"explicit-evaluate":Sk,"fallbackrole-evaluate":UT,"focusable-content-evaluate":Kk,"focusable-disabled-evaluate":Xk,"focusable-element-evaluate":Wk,"focusable-modal-open-evaluate":zk,"focusable-no-name-evaluate":jk,"focusable-not-tabbable-evaluate":Hk,"frame-focusable-content-evaluate":qk,"frame-focusable-content-matches":XR,"frame-tested-after":$S,"frame-tested-evaluate":VS,"frame-title-has-text-matches":WR,"has-alt-evaluate":QE,"has-descendant-after":dT,"has-descendant-evaluate":uT,"has-global-aria-attribute-evaluate":zT,"has-implicit-chromium-role-matches":zR,"has-lang-evaluate":lk,"has-text-content-evaluate":sT,"has-widget-role-evaluate":jT,"heading-matches":jR,"heading-order-after":bS,"heading-order-evaluate":vS,"help-same-as-label-evaluate":Ek,"hidden-content-evaluate":K_,"hidden-explicit-label-evaluate":Ak,"html-namespace-matches":VR,"html5-scope-evaluate":HE,"identical-links-same-purpose-after":mS,"identical-links-same-purpose-evaluate":fS,"identical-links-same-purpose-matches":BR,"implicit-evaluate":xk,"inline-style-property-evaluate":KE,"inserted-into-focus-order-matches":NR,"internal-link-present-evaluate":PC,"invalid-children-evaluate":ZS,"invalidrole-evaluate":HT,"is-element-focusable-evaluate":qT,"is-initiator-matches":N1,"is-on-screen-evaluate":YE,"is-visible-matches":MR,"is-visible-on-screen-matches":LR,"label-content-name-mismatch-evaluate":yk,"label-content-name-mismatch-matches":IR,"label-matches":RR,"landmark-has-body-context-matches":kR,"landmark-is-top-level-evaluate":Nk,"landmark-is-unique-after":fk,"landmark-is-unique-evaluate":ck,"landmark-unique-matches":ER,"layout-table-matches":_R,"link-in-text-block-evaluate":AT,"link-in-text-block-matches":DR,"link-in-text-block-style-evaluate":yT,"listitem-evaluate":JS,"matches-definition-evaluate":oT,"meta-refresh-evaluate":LC,"meta-viewport-scale-evaluate":PS,"multiple-label-evaluate":gk,"nested-interactive-matches":wR,"no-autoplay-audio-evaluate":BS,"no-autoplay-audio-matches":bR,"no-empty-role-matches":gR,"no-explicit-name-required-matches":O1,"no-focusable-content-evaluate":Mk,"no-implicit-explicit-label-evaluate":OT,"no-naming-method-matches":mR,"no-negative-tabindex-matches":fR,"no-role-matches":cR,"non-empty-if-present-evaluate":UE,"not-html-matches":lR,"object-is-loaded-matches":iR,"only-dlitems-evaluate":KS,"only-listitems-evaluate":YS,"p-as-heading-evaluate":RC,"p-as-heading-matches":nR,"page-no-duplicate-after":aT,"page-no-duplicate-evaluate":rT,"presentation-role-conflict-matches":tR,"presentational-role-evaluate":GE,"region-after":CC,"region-evaluate":xC,"same-caption-summary-evaluate":OE,"scope-value-evaluate":PE,"scrollable-region-focusable-matches":J5,"skip-link-evaluate":yC,"skip-link-matches":K5,"structured-dlitems-evaluate":US,"summary-interactive-matches":U5,"svg-namespace-matches":au,"svg-non-empty-title-evaluate":zE,"tabindex-evaluate":Lk,"table-or-grid-role-matches":W5,"target-offset-evaluate":IS,"target-size-evaluate":_S,"td-has-header-evaluate":LE,"td-headers-attr-evaluate":FE,"th-has-data-cells-evaluate":RE,"title-only-evaluate":mk,"unique-frame-title-after":vC,"unique-frame-title-evaluate":hC,"unsupportedrole-evaluate":MT,"valid-lang-evaluate":ok,"valid-scrollable-semantics-evaluate":IT,"widget-not-inline-matches":j5,"window-is-top-matches":H5,"xml-lang-mismatch-evaluate":ak,"xml-lang-mismatch-matches":q5},To=EF;function CF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var iu=CF;function ou(e){if(typeof e=="string"){if(To[e])return To[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 B1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||de(e)!=="object")&&(e={value:e}),e}function Vn(e){e&&(this.id=e.id,this.configure(e));}Vn.prototype.enabled=true,Vn.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new iu(this),u=As(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(f){t&&t.actualNode&&(f.errorNode=ir.toSpec(t)),i(f);return}u.isAsync||(l.result=c,a(l));}else a(null);},Vn.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new iu(this),u=As(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(f){throw t&&t.actualNode&&(f.errorNode=ir.toSpec(t)),f}return l.result=c,l},Vn.prototype.configure=function(t){var r=this;(!t.evaluate||To[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=B1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=ou(t[n])});},Vn.prototype.getOptions=function(t){return this._internalCheck?Os(this.options,B1(t||{})):t||this.options};var H1=Vn;function SF(e){this.id=e.id,this.result=Ue.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Ro=SF;function zt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(rt(Ue.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=ou(e.matches));}zt.prototype.matches=function(){return true},zt.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&ot.mark(n);var s=Bl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&ot.mark(i),s=s.filter(function(l){return vt(l)}),r.performanceTimer&&(ot.mark(o),ot.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(ot.mark(a),ot.measure("rule_"+this.id+"#gather",n,a)),s},zt.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=xr();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],f=fo(c,s.id,n);l.defer(function(g,x){c.run(r,f,a,g,function(S){x(new bo({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new ar(r),error:S}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},zt.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=fo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},zt.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=xr(),s=new Ro(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(u){i(u);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,f){var g=xr();["any","all","none"].forEach(function(x){g.defer(function(S,M){r.runChecks(x,u,n,t,S,M);});}),g.then(function(x){var S=V1(x);S&&(S.node=new ar(u),s.nodes.push(S),r.reviewOnFail&&(["any","all"].forEach(function(M){S[M].forEach(function(q){q.result===false&&(q.result=void 0);});}),S.none.forEach(function(M){M.result===true&&(M.result=void 0);}))),c();}).catch(function(x){return f(x)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},zt.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Ro(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,n,t));});var l=V1(s);l&&(l.node=o.actualNode?new ar(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},zt.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id;},zt.prototype._logGatherPerformance=function(t){mn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(ot.timeElapsed(),"ms")),ot.mark(this._markChecksStart);},zt.prototype._logRulePerformance=function(){ot.mark(this._markChecksEnd),ot.mark(this._markEnd),ot.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),ot.measure("rule_"+this.id,this._markStart,this._markEnd);};function V1(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}zt.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&ot.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new bo({ruleId:n.id,method:"#matches",errorNode:new ar(s),error:l})}}),r.performanceTimer&&(ot.mark(i),ot.measure("rule_"+this.id+"#matches",a,i)),o};function kF(e){return Hi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function TF(e,t){var r=[];return e.forEach(function(n){var a=Hi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function RF(e){return e.filter(function(t){return t.filtered!==true})}function FF(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=RF(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}zt.prototype.after=function(t,r){var n=this,a=kF(this);return a.forEach(function(i){var o=TF(t.nodes,i.id),s=fo(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new bo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}n.reviewOnFail&&l.forEach(function(c){var f=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,g=n.none.includes(c.id)&&c.result===true;(f||g)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=FF(t),t},zt.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=ou(t.matches)),t.impact&&(rt(Ue.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var jn=/\{\{.+?\}\}/g,IF=(function(){function e(t){Qt(this,e),this.lang="en",this.defaultConfig=t,this.standards=nt,this._init(),this._defaultLocale=null;}return Vt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var f=Object.keys(this.data.rules),g=0;g<f.length;g++){var x=f[g],S=this.data.rules[x],M=S.description,q=S.help;r.rules[x]={description:M,help:q};}for(var H=Object.keys(this.data.failureSummaries),$=0;$<H.length;$++){var X=H[$],Y=this.data.failureSummaries[X],Z=Y.failureMessage;r.failureSummaries[X]={failureMessage:Z};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=MF(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=PF(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=OF(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=NF(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=$1();this.allowedOrigins=[];var a=at(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Ue.allOrigins){this.allowedOrigins=["*"];return}else o!==Ue.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=LF(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,z1(r.rules,this,"addRule"),z1(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new zt(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;de(n)==="object"&&(this.data.checks[r.id]=n,de(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new H1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),ar.setRunOptions(n),h._selectCache=[];var o=qF(this.rules,r,n),s=o.now,l=o.later,u=xr();s.forEach(function(g){u.defer(G1(g,r,n));});var c=xr();l.length&&c.defer(function(g){gm(n).then(function(x){return g(x)}).catch(function(x){console.warn("Couldn't load preload assets: ",x),g(void 0);});});var f=xr();f.defer(u),f.defer(c),f.then(function(g){var x=g.pop();if(x&&x.length){var S=x[0];S&&(r=Re({},r,S));}var M=g[0];if(!l.length){h._selectCache=void 0,a(M.filter(function(H){return !!H}));return}var q=xr();l.forEach(function(H){var $=G1(H,r,n);q.defer($);}),q.then(function(H){h._selectCache=void 0,a(M.concat(H).filter(function($){return !!$}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=ya(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return W1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(f){a.includes(f)||a.push(f);});}),["object","string"].includes(de(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return a.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !a.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&h.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return de(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(h.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===U1(n,i.id,a))&&(o.helpUrl=U1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),j1=IF;function $1(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function LF(e){var t;if(e?(t=Or(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=$1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Re({checks:{},rules:{}},t.data),t}function z1(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var MF=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),typeof a=="string"&&jn.test(a)&&(a=Ur.default.compile(a)),Re({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:de(t.messages.incomplete)==="object"?Re({},t.messages.incomplete,r.incomplete):r.incomplete}})},PF=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),typeof a=="string"&&jn.test(a)&&(a=Ur.default.compile(a)),Re({},t,{help:n||t.help,description:a||t.description})},OF=function(t,r){var n=r.failureMessage;return typeof n=="string"&&jn.test(n)&&(n=Ur.default.compile(n)),Re({},t,{failureMessage:n||t.failureMessage})},NF=function(t,r){return typeof r=="string"&&jn.test(r)&&(r=Ur.default.compile(r)),r||t};function qF(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return xm(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function G1(e,t,r){return r.performanceTimer&&ot.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(W1(e,i));});}}function W1(e,t){var r=t.errorNode,n=vo(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new ar(m.documentElement);return Object.assign(new Ro(e),{error:n,result:Ue.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function U1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Ue.helpUrlBase+n+"/"+(r||h.version.substring(0,h.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function X1(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!m;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(We.set("globalDocumentSet",true),m=e.ownerDocument),t||(We.set("globalWindowSet",true),d=m.defaultView);}}function BF(){We.get("globalDocumentSet")&&(We.set("globalDocumentSet",false),m=null),We.get("globalWindowSet")&&(We.set("globalWindowSet",false),d=null);}function HF(){BF(),h._memoizedFns.forEach(function(e){return e.clear()}),We.clear(),h._tree=void 0,h._selectorData=void 0,h._selectCache=void 0;}var sn=HF;function Y1(e,t,r,n){try{e=new po(e),h._tree=e.flatTree,h._selectorData=Li(e.flatTree);}catch(o){return sn(),n(o)}var a=xr(),i=h._audit;t.performanceTimer&&ot.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){sf(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&ot.auditEnd();var s=Vi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&ot.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(ot.mark("auditAfterEnd"),ot.measure("audit.after","auditAfterStart","auditAfterEnd"),ot.logMeasures("audit.after")),s.forEach(go),s=s.map(ea));try{r(s,sn);}catch(l){sn(),mn(l);}}catch(l){sn(),n(l);}}).catch(function(o){sn(),n(o);});}function VF(e){h._audit=new j1(e);}function jF(e,t,r){var n=r,a=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[m]);var o=e&&e.options||{};switch(e.command){case "rules":return Y1(i,o,function(s,l){s=ir.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Rm(n,a);default:if(h._audit&&h._audit.commands&&h._audit.commands[e.command])return h._audit.commands[e.command](e,r)}}d.top!==d&&(hr.subscribe("axe.start",jF),hr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ja(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){h._audit.registerCommand(t);});}ja.prototype.run=function(){return this._run.apply(this,arguments)},ja.prototype.collect=function(){return this._collect.apply(this,arguments)},ja.prototype.cleanup=function(t){var r=h.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ja.prototype.add=function(t){this._registry[t.id]=t;};function $F(e){h.plugins[e.id]=new ja(e);}var zF=$F;function GF(){var e=h._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),cD();}var WF=GF;function UF(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||h._audit.reporter||"v1",h._selectorData={},t instanceof Ft||(t=new Tm(t));var n=rm(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);go(i),ea(i);var o=vc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Sl(l);})}),Re({},an(),o,{toolOptions:r})}function K1(e){var t,r,n,a=xe(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!om(i)){if(s!==void 0)throw l;s=o,o=i,i=m;}if(de(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Or(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=h._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var su=function(){};function XF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];X1(t[0]);var n=K1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?su:o,l=YF(s),u=l.thenable,c=l.resolve,f=l.reject;try{rt(h._audit,"No audit configured"),rt(!h._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 JF(S,s)}h._running=true,i.performanceTimer&&ot.start();function g(S,M){var q=function(X){i.performanceTimer&&(ot.mark("reporterEnd"),ot.measure("reporter","reporterStart","reporterEnd"),ot.logMeasures("reporter"),ot.end()),h._running=false,M();try{c(X);}catch(Y){h.log(Y);}},H=function(X){h._running=false,M();try{f(X);}catch(Y){h.log(Y);}};try{i.performanceTimer&&ot.mark("reporterStart"),KF(S,i,q,H);}catch($){H($);}}function x(S){i.performanceTimer&&ot.end(),h._running=false,s(S),f(S);}return h._runRules(a,i,g,x),u}function YF(e){var t,r,n;return typeof Promise=="function"&&e===su?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function KF(e,t,r,n){var a=jl(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function JF(e,t){if(typeof t=="function"&&t!==su){t(e.message);return}throw e}function ZF(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=K1(t),a=n.options,i=n.context;rt(h._audit,"Axe is not configured. Audit is missing."),rt(!h._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 po(i,h._tree);return h._tree=o.flatTree,h._selectorData=Li(o.flatTree),h._running=true,a.elementRef=false,new Promise(function(s,l){h._audit.run(o,a,s,l);}).then(function(s){s=ir.mapRawResults(s);var l=o.frames.map(function(c){var f=c.node;return ir.toSpec(f)}),u;return o.initiator&&(u=an()),h._running=false,sn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return h._running=false,sn(),Promise.reject(s)})}function QF(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Or(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;h._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=h._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",e3(e);var s=Vi(e);return s=h._audit.after(s,a),s.forEach(go),s=s.map(ea),r3(s,Re({environmentData:o},a))}function e3(e){var t=[],r=at(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=t3(a);t.unshift.apply(t,Ce(o));}}}catch(s){r.e(s);}finally{r.f();}}function t3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return ir.mergeSpecs(n,r)}):t}function r3(e,t){return new Promise(function(r,n){var a=jl(t.reporter);a(e,t,r,n);})}function n3(e){if(h._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&de(e.documentElement)==="object"&&de(e.defaultView)==="object"&&(e=e.documentElement),X1(e),h._tree=El(e),h._selectorData=Li(h._tree),h._tree[0]}var a3=n3,i3=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Q(a,W);n(Re({},an(i),{toolOptions:o},Ma(t,r)));},o3=i3,s3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Q(a,K);r.resultTypes=["violations"];var s=Ma(t,r),l=s.violations;n(Re({},an(i),{toolOptions:o,violations:l}));},l3=s3,u3=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=Re({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=ir.mapRawNodeResults(o[c]);}return o});n(a);},J1=u3,c3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Q(a,G);J1(t,o,function(s){var l=an(i);n({raw:s,env:l});});},d3=c3,f3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Q(a,N),s=Ma(t,r),l=function(c){c.nodes.forEach(function(f){f.failureSummary=Sl(f);});};s.incomplete.forEach(l),s.violations.forEach(l),n(Re({},an(i),{toolOptions:o},s));},p3=f3,m3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=Q(a,B),s=Ma(t,r);n(Re({},an(i),{toolOptions:o},s));},h3=m3,g3={base:{Audit:j1,CheckResult:iu,Check:H1,Context:po,RuleResult:Ro,Rule:zt,metadataFunctionMap:To},public:{reporters:Oa},helpers:{failureSummary:Sl,incompleteFallbackMessage:kl,processAggregate:Ma},utils:{setDefaultFrameMessenger:ef,cacheNodeSelectors:Xp,getNodesMatchingExpression:Wp,convertSelector:Pi},commons:{dom:{nativelyHidden:df,displayHidden:ff,visibilityHidden:pf,contentVisibiltyHidden:mf,ariaHidden:hf,opacityHidden:gf,scrollHidden:vf,overflowHidden:bf,clipHidden:yf,areaHidden:Hs,detailsHidden:wf}}},v3=g3;h._thisWillBeDeletedDoNotUse=v3,h.constants=Ue,h.log=mn,h.AbstractVirtualNode=Ft,h.SerialVirtualNode=Tm,h.VirtualNode=Dl,h._cache=We,h.imports=xc,h.cleanup=Rm,h.configure=G_,h.frameMessenger=W_,h.getRules=X_,h._load=VF,h.plugins={},h.registerPlugin=zF,h.hasReporter=Im,h.getReporter=jl,h.addReporter=$_,h.reset=WF,h._runRules=Y1,h.runVirtualRule=UF,h.run=XF,h.setup=a3,h.teardown=sn,h.runPartial=ZF,h.finishRun=QF,h.commons=e1,h.utils=Yo,h.addReporter("na",o3),h.addReporter("no-passes",l3),h.addReporter("rawEnv",d3),h.addReporter("raw",J1),h.addReporter("v1",p3),h.addReporter("v2",h3,true);}))(),h._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(oe){var ce="Fix any of the following:",ge=oe;if(ge)for(var Ge,et=-1,it=ge.length-1;et<it;)Ge=ge[et+=1],ce+=`
|
|
373
|
+
`+Ge.split(`
|
|
372
374
|
`).join(`
|
|
373
|
-
`);return
|
|
374
|
-
`+
|
|
375
|
+
`);return ce}},none:{failureMessage:function(oe){var ce="Fix all of the following:",ge=oe;if(ge)for(var Ge,et=-1,it=ge.length-1;et<it;)Ge=ge[et+=1],ce+=`
|
|
376
|
+
`+Ge.split(`
|
|
375
377
|
`).join(`
|
|
376
|
-
`);return he}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:wg);});var v3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m=new Set;function g(b){let A=(b.textContent||"").trim().replace(/\s+/g,""),R=b.querySelector("img, svg, picture")!==null,S=b.querySelector("i[class], span[class]")!==null;if(A.length>0&&!R&&!S)return false;if(R){let D=b.querySelectorAll("img"),T="";D.forEach(_=>{T+=(_.getAttribute("alt")||"").trim();});let E=A.replace(/\s+/g,""),w=T.replace(/\s+/g,"");return E===""||E===w}return false}function C(b){let A=b.nextElementSibling;for(;A;){if(isVisible(A))return A;A=A.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(b=>{if(v.length>=50||b.closest(p)||!isVisible(b)||m.has(b))return;let A=b.getAttribute("href");if(!A||A==="#")return;let R=C(b);if(!R||R.tagName!=="A"||R.getAttribute("href")!==A||m.has(R)||b.getAttribute("aria-hidden")==="true"||R.getAttribute("aria-hidden")==="true")return;let D=g(b),T=g(R);if(!D&&!T)return;let E=D?b:R,w=D?R:b;m.add(E),m.add(w);let _=uniqueSel(E),F=E.outerHTML.slice(0,300),L=(w.textContent||"").trim().slice(0,80);v.push({selector:_,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:A,imageLink:true,adjacentLinkText:L,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:F}),v.push({selector:_,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:F});}),v},N1={name:"adjacentLinks",cap:50,async detect(p){return p.evaluate(v3)}};var b3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",f='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',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(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),g=50,C=[],y=new Set;function b(S){let D=S,T=0;for(;D&&D.nodeType===1&&D!==document.body&&T<20;){try{let E=getComputedStyle(D);if(E.display==="none"||E.visibility==="hidden"||E.visibility==="collapse")return !0}catch{}D=D.parentElement,T++;}return false}function A(S){let D=S.tagName,T=S.getAttribute("tabindex");if(T!==null){let E=parseInt(T,10);if(!isNaN(E)&&E>=0)return true;if(!isNaN(E)&&E<0)return false}return m.has(D)?!(D==="A"&&!S.hasAttribute("href")||S.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(S=>{if(C.length>=g||S.closest(p)||S.closest(f)||S.closest(v)||S.matches(v))return;let D=[];if(A(S)&&D.push(S),S.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(E=>{A(E)&&D.push(E);}),D.length!==0)for(let E of D){if(C.length>=g)return;let w=uniqueSel(E),_=w+"\0tabindex";if(y.has(_))continue;y.add(_);let F=b(E);C.push({selector:w,attribute:"tabindex",currentValue:E.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),parentHidden:S.tagName.toLowerCase(),collapsed:F,suggestion:F?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...F?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}}),C},q1={name:"ariaHiddenFocusable",cap:50,async detect(p){return p.evaluate(b3)}};var y3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=new Set,g=[{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 C(y){if(!(y.textContent||"").trim())return true;let A=getComputedStyle(y);return !!(A.display==="none"||A.visibility==="hidden"||A.opacity==="0"||A.maxHeight==="0px"||A.height==="0px"||y.hasAttribute("data-bind")||y.hasAttribute("v-if")||y.hasAttribute("v-show")||y.hasAttribute("ng-if")||y.hasAttribute("ng-show")||y.hasAttribute(":class")||y.hasAttribute("x-show")||y.hasAttribute("x-if")||y.hasAttribute("aria-atomic"))}for(let y of g){if(v.length>=50)break;let b=document.querySelectorAll("*");for(let A of b){if(v.length>=50)break;if(m.has(A)||A.closest(p))continue;let R=A.className&&typeof A.className=="string"?A.className:"",S=A.getAttribute("id")||"";if(!y.regex.test(R)&&!y.regex.test(S)||A.getAttribute("aria-live"))continue;let D=A.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(D)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(R+" "+S)&&!C(A))continue;m.add(A);let E=uniqueSel(A),w=y.regex.test(R)?"class":"id",_=w==="class"?R.slice(0,60):S;v.push({selector:E,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:w+": "+_+" | pattern: "+y.regex.source,needsAI:false,fixValue:y.ariaLive});}}return v},B1={name:"ariaLive",cap:50,async detect(p){return p.evaluate(y3)}};var w3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],m=new Set,g=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(b=>{if(!(v.length>=50)&&!b.closest(p)&&isVisible(b)&&!isHiddenFromAT(b)&&!b.getAttribute("aria-live")&&!b.closest("[aria-live]")&&!b.closest("template"))for(let A of g){let R=b.getAttribute(A);if(!R||!R.trim())continue;let S=R.trim().split(/\s+/).filter(H=>H.length>0);if(S.length===0||!S.every(H=>!document.getElementById(H)))continue;let T=b.getAttribute("aria-label");if(T&&T.trim())continue;let E=getAccessibleName(b);if(E&&E.trim())continue;let w=uniqueSel(b),_=w+"\0"+A;if(m.has(_))continue;m.add(_);let{nearbyHeading:F,parentTag:L,parentRole:P}=getNearbyContext(b);v.push({selector:w,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:b.tagName.toLowerCase(),brokenAttr:A,brokenIds:S,nearbyHeading:F,parentTag:L,parentRole:P,suggestion:`All IDs in ${A}="${R}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}}),v},H1={name:"brokenAriaReferences",cap:50,async detect(p){return p.evaluate(w3)}};var x3=()=>{let f=[],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"],m=document.querySelectorAll("button");for(let g of m){if(f.length>=50)break;let C=g;if(isWidget(C)||C.hasAttribute("type")||!C.closest("form"))continue;let y=(C.textContent||"").trim().slice(0,60),b=(C.getAttribute("aria-label")||"").trim().slice(0,60),A=y||b||"(no label)",R=A.toLowerCase();v.some(D=>R.includes(D))||f.push({selector:uniqueSel(C),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:(C.outerHTML||"").slice(0,300)});}return f},V1={name:"buttonType",cap:50,async detect(p){return p.evaluate(x3)}};var D3=()=>{let f=[],v=document.querySelectorAll("video, audio");for(let m of Array.from(v)){if(f.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let g=m.tagName==="VIDEO";if(g){let _=m.hasAttribute("muted")||m.muted,F=m.hasAttribute("controls"),L=m.hasAttribute("loop")||m.loop,P=/mute|unmute|sound|volume|audio|play|pause/i,H=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let U=m.parentElement?.parentElement||null,V=0;U&&!H&&V<3;U=U.parentElement,V++)H=Array.from(U.querySelectorAll('button, [role="button"]')).some(B=>P.test((B.getAttribute("aria-label")||"")+" "+(B.getAttribute("title")||"")+" "+(B.textContent||"")));if(_&&L&&!F&&!H)continue}let C=m.querySelectorAll("track"),y=false;for(let _ of Array.from(C)){let F=(_.getAttribute("kind")||"").toLowerCase();if(F==="captions"||F==="subtitles"){y=true;break}}if(y)continue;let b=m.currentSrc||m.getAttribute("src")||"";if(b||(b=m.querySelector("source")?.getAttribute("src")||""),!b)continue;let A=b.toLowerCase();if(A.startsWith("blob:")||A.startsWith("data:")||A.startsWith("about:")||A.startsWith("javascript:")||A.endsWith(".m3u8")||A.includes(".m3u8?")||A.endsWith(".mpd")||A.includes(".mpd?"))continue;let R=b;try{R=new URL(b,location.href).toString();}catch{continue}let S=typeof uniqueSel=="function"?uniqueSel(m):"",D=m.getAttribute("title")||m.getAttribute("aria-label")||"",T=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("media: "+m.tagName.toLowerCase()),E.push("src: "+R.slice(0,200)),D&&E.push("title: "+D.slice(0,80)),T.nearbyHeading&&E.push("heading: "+T.nearbyHeading),E.push("parent: "+T.parentTag);let w=g;f.push({selector:S,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:E.join(" | "),needsAI:true,...w?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:R,outerHtml:(m.outerHTML||"").slice(0,300)});}return f},j1={name:"captions",cap:20,async detect(p){return p.evaluate(D3)}};var A3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m="p, li, blockquote, article, section, main, div",g=document.querySelectorAll("a[href]");for(let C of Array.from(g)){if(v.length>=40)break;if(C.closest(p)||C.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(C))continue;let y=C.closest(m);if(!y)continue;let b=(y.textContent||"").trim(),A=(C.textContent||"").trim();if(!A||b.length<A.length+20||C.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let R=getComputedStyle(C),S=getComputedStyle(y);if((R.textDecorationLine||R.textDecoration||"").includes("underline")||(()=>{let H=document.createTreeWalker(C,NodeFilter.SHOW_TEXT),U,V=false;for(;U=H.nextNode();){if(!/[\p{L}\p{N}]/u.test(U.textContent||""))continue;V=true;let B=false;for(let j=U.parentElement;j&&j!==C;j=j.parentElement){let Z=getComputedStyle(j),N=(Z.textDecorationColor||"").replace(/\s/g,"");if((Z.textDecorationLine||"").includes("underline")&&N!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(N)){B=true;break}let z=(Z.borderBottomColor||"").replace(/\s/g,""),X=z==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(z);if((Z.borderBottomStyle||"none")!=="none"&&parseFloat(Z.borderBottomWidth||"0")>0&&!X){B=true;break}}if(!B)return false}return V})())continue;let E=parseInt(R.fontWeight||"400",10),w=parseInt(S.fontWeight||"400",10);if(Number.isFinite(E)&&Number.isFinite(w)&&E-w>=300||(R.borderBottomStyle||"none")!=="none"&&(R.borderBottomWidth||"0px")!=="0px"||R.color===S.color)continue;let F=typeof uniqueSel=="function"?uniqueSel(C):"",L=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.tagName.toLowerCase(),nearbyHeading:""},P=[];P.push("link: "+A.slice(0,40)),P.push("color: "+R.color),P.push("parent-color: "+S.color),L.nearbyHeading&&P.push("heading: "+L.nearbyHeading),P.push("parent: "+L.parentTag),v.push({selector:F,attribute:"style",currentValue:R.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:P.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(C.outerHTML||"").slice(0,300)});}return v},$1={name:"colorOnly",cap:40,async detect(p){return p.evaluate(A3)}};var _3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(m).forEach(C=>{if(v.length>=30||C.closest(p)||typeof isVisible=="function"&&!isVisible(C)||C.getAttribute("aria-hidden")==="true"||C.disabled||C.getAttribute("type")==="hidden"||(C.getAttribute("aria-label")||"").trim())return;let y=C.getAttribute("aria-labelledby");if(y){let _=false;for(let F of y.split(/\s+/)){let L=document.getElementById(F);if(L&&(L.textContent||"").trim()){_=true;break}}if(_)return}let b=C.getAttribute("id");if(b){let _=document.querySelector('label[for="'+CSS.escape(b)+'"]');if(_&&(_.textContent||"").trim())return}let A=C.closest("label");if(A&&(A.textContent||"").trim()||(C.getAttribute("title")||"").trim())return;let R=typeof uniqueSel=="function"?uniqueSel(C):"",S=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.tagName.toLowerCase(),nearbyHeading:""},D=(C.getAttribute("placeholder")||"").trim(),T=C.getAttribute("name")||"",E=C.getAttribute("role")||C.tagName.toLowerCase(),w=[];w.push("role: "+E),D&&w.push("placeholder: "+D.slice(0,40)),T&&w.push("name: "+T),S.nearbyHeading&&w.push("heading: "+S.nearbyHeading),w.push("parent: "+S.parentTag),v.push({selector:R,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:w.join(" | "),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}),v},z1={name:"comboboxName",cap:30,async detect(p){return p.evaluate(_3)}};var E3=()=>{let f=[],v=w=>typeof parseCssColor=="function"?parseCssColor(w):null,m=(w,_,F)=>typeof relLuminance=="function"?relLuminance(w,_,F):0,g=(w,_)=>typeof contrastRatio=="function"?contrastRatio(w,_):1;function C(w){let _=String(w.backgroundImage||"none");if(_==="none")return false;if(/gradient\(/i.test(_))return true;if(!/url\(/i.test(_))return false;let F=String(w.backgroundRepeat||"").toLowerCase(),L=String(w.backgroundSize||"").toLowerCase(),P=F.split(",").map(U=>U.trim()).some(U=>U!==""&&U!=="no-repeat"),H=/cover|contain|100%/.test(L);return P||H}function y(w){let _=document.documentElement,F=w,L=0;for(;F&&F!==_&&L<12;){let B=getComputedStyle(F);if(C(B))return null;let j=v(B.backgroundColor||"");if(j&&j[3]>.5)return [j[0],j[1],j[2]];F=F.parentElement,L++;}let P=document.body;if(F&&F!==_&&P&&P.contains(F)){let B=getComputedStyle(P);if(C(B))return null;let j=v(B.backgroundColor||"");if(j&&j[3]>.5)return [j[0],j[1],j[2]]}let H=getComputedStyle(_);if(C(H))return null;let U=v(H.backgroundColor||""),V=U?Math.min(U[3],1):0;return !U||V<=0?[255,255,255]:[Math.round(U[0]*V+255*(1-V)),Math.round(U[1]*V+255*(1-V)),Math.round(U[2]*V+255*(1-V))]}function b(w,_,F){return "#"+[w,_,F].map(L=>{let P=Math.max(0,Math.min(255,Math.round(L))).toString(16);return P.length===1?"0"+P:P}).join("")}function A(w,_,F){let L=m(_[0],_[1],_[2])>.5;return R(w,_,F,L)||R(w,_,F,!L)}function R(w,_,F,L){let P=0,H=1,U=null;for(let V=0;V<20;V++){let B=(P+H)/2,j=L?[w[0]*(1-B),w[1]*(1-B),w[2]*(1-B)]:[w[0]+(255-w[0])*B,w[1]+(255-w[1])*B,w[2]+(255-w[2])*B],Z=[Math.round(j[0]),Math.round(j[1]),Math.round(j[2])];g(Z,_)>=F?(U=Z,H=B):P=B;}return U}let S=document.createTreeWalker(document.body,4),D=new Set,T=[],E=S.nextNode();for(;E;){if((E.textContent||"").trim().length>=2){let _=E.parentElement;_&&!D.has(_)&&(D.add(_),T.push(_));}E=S.nextNode();}for(let w of T){if(f.length>=30)break;if(isWidget(w)||isHiddenFromAT(w)||!isVisible(w))continue;let _=getComputedStyle(w),F=v(_.color||"");if(!F)continue;if(F[3]<.5){let re=_.webkitBackgroundClip||_.backgroundClip||"",me=_.backgroundImage||"";if(String(re).includes("text")&&/gradient\(/i.test(me)){let se=Array.from(w.childNodes).filter(fe=>fe.nodeType===3).map(fe=>(fe.textContent||"").trim()).join("");se&&f.push({selector:uniqueSel(w),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(se.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:w.outerHTML.slice(0,200)});}continue}let L=y(w),P=parseFloat(_.fontSize||"16"),H=parseInt(_.fontWeight||"400",10),V=P>=24||P>=18.66&&H>=700?3:4.5,B=Array.from(w.childNodes).filter(re=>re.nodeType===3).map(re=>(re.textContent||"").trim()).join("");if(!B)continue;let j=b(F[0],F[1],F[2]),Z=uniqueSel(w);if(L===null){f.push({selector:Z,attribute:"style",currentValue:j,message:"contrast: text "+j+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+V+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg=<gradient-or-image> needs="+V+" text="+JSON.stringify(B.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:w.outerHTML.slice(0,200)});continue}let N=g([F[0],F[1],F[2]],L);if(N>=V)continue;let z=A([F[0],F[1],F[2]],L,V);if(!z)continue;let X=b(z[0],z[1],z[2]),K=b(L[0],L[1],L[2]),ne="color:"+X+" !important;";f.push({selector:Z,attribute:"style",currentValue:j,message:"contrast: "+j+" on "+K+" is "+N.toFixed(2)+":1, needs "+V+":1 \u2014 e.g. color "+X,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+j+" bg="+K+" ratio="+N.toFixed(2)+" needs="+V+" text="+JSON.stringify(B.slice(0,40)),needsAI:false,fixValue:ne,outerHtml:w.outerHTML.slice(0,200)});}return f},G1={name:"contrast",cap:30,async detect(p){return p.evaluate(E3)}};var C3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m=document.querySelectorAll("marquee, blink");for(let A of Array.from(m)){if(v.length>=30)break;if(A.closest(p))continue;let R=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();v.push({selector:R,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,manualFix:true,fixValue:"true",outerHtml:(A.outerHTML||"").slice(0,300)});}let g=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let A of Array.from(g)){if(v.length>=30)break;if(A.closest(p))continue;let R=A.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(R)||typeof isVisible=="function"&&!isVisible(A))continue;let S=A.getBoundingClientRect();if(S.width<=40&&S.height<=40)continue;let D=typeof uniqueSel=="function"?uniqueSel(A):"img";v.push({selector:D,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${R.split("/").pop()?.slice(0,60)||R.slice(-60)}`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}let C=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let A of Array.from(C)){if(v.length>=30)break;let R=(A.getAttribute("content")||"").trim(),S=parseInt((R.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(S)||S<=0||v.push({selector:`meta[http-equiv="refresh"][content*="${R.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${S}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(A.outerHTML||"").slice(0,200)});}try{let A=!1,R=!1;for(let S of Array.from(document.styleSheets)){let D=null;try{D=S.cssRules;}catch{continue}if(D)for(let T of Array.from(D)){let E=T.cssText||"";if(/animation[^;]*\binfinite\b/i.test(E)&&/(keyframes|animation-name)/i.test(E+" "+(T.name||""))&&(A=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(E)&&(R=!0),T.cssRules)for(let w of Array.from(T.cssRules)){let _=w.cssText||"";/animation[^;]*\binfinite\b/i.test(_)&&(A=!0);}}}A&&!R&&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 y=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,b=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let A of Array.from(b)){if(v.length>=30)break;if(A.closest(p)||A.tagName==="BODY"||A.tagName==="HTML")continue;let R=A.className&&typeof A.className=="string"?A.className:"";if(!y.test(R)||typeof isVisible=="function"&&!isVisible(A))continue;let D=getComputedStyle(A).animationDuration,T=9999;if(D){let w=parseFloat(D);Number.isFinite(w)&&(T=/ms/i.test(D)?w:w*1e3);}if(T>333)continue;let E=typeof uniqueSel=="function"?uniqueSel(A):"";v.push({selector:E,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${T}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(A.outerHTML||"").slice(0,300)});}return v},W1={name:"cssAnimations",cap:30,async detect(p){return p.evaluate(C3)}};var S3=()=>{let f=[];function v(y){let b=(y.getAttribute("role")||"").toLowerCase();return b==="presentation"||b==="none"||(y.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(y){if(!y)return 0;let b=y.querySelectorAll("th, td"),A=0;for(let R=0;R<b.length;R++){let S=parseInt(b[R].getAttribute("colspan")||"1",10);A+=isNaN(S)||S<1?1:S;}return A}function g(y){let b=y.querySelectorAll("tr"),A=[];for(let R=0;R<b.length;R++){let S=b[R];S.closest("table")===y&&A.push(S);}return A}let C=document.querySelectorAll("table");for(let y=0;y<C.length&&!(f.length>=30);y++){let b=C[y];if(isWidget(b)||!isVisible(b)||v(b))continue;let A=g(b);if(A.length<=1)continue;let R=A[0],S=m(R);if(S<=1)continue;let D=uniqueSel(b),T=getNearbyContext(b),E=b.querySelectorAll("img, svg, picture").length>=2;if(E&&!(b.textContent||"").trim()){if(b.querySelector("input, select, textarea, button")&&(E=false),E&&b.querySelector("th, thead, caption, [scope], [headers]")&&(E=false),E){let z=Array.from(b.querySelectorAll("img")).map(X=>(X.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(z).size<z.length&&(E=false);}}else if(E){let z=b.querySelectorAll("td, th"),X=0;for(let K=0;K<z.length&&E;K++){let ne=z[K];if(ne.closest("table")!==b)continue;let re=(ne.textContent||"").trim(),me=!!ne.querySelector("img, svg, picture");if(!re&&!me)continue;X++;let se=ne.querySelectorAll("a[href]");E=ne.tagName==="TD"&&se.length===1&&me&&(se[0].textContent||"").trim()===re;}X<2&&(E=false);}if(E){f.push({selector:D,attribute:"role",currentValue:b.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:A.length,cols:S,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(b.outerHTML||"").slice(0,300)});continue}let w=null,_=b.querySelectorAll("caption");for(let z=0;z<_.length;z++)if(_[z].closest("table")===b){w=_[z];break}let F=w?(w.textContent||"").trim():"",L=(b.getAttribute("aria-label")||"").trim(),P=(b.getAttribute("title")||"").trim(),H=b.getAttribute("aria-labelledby"),U="";if(H){let z=H.split(/\s+/);for(let X=0;X<z.length;X++){let K=document.getElementById(z[X]);K&&(U+=" "+(K.textContent||""));}U=U.trim();}(!w||!F)&&!(L||U||P)&&f.length<30&&f.push({selector:D,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:w?"empty <caption>":"no <caption> element",rows:A.length,cols:S,nearbyHeading:T.nearbyHeading,parentTag:T.parentTag}),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});let B=null,j=b.querySelectorAll("thead");for(let z=0;z<j.length;z++)if(j[z].closest("table")===b){B=j[z];break}if(B&&B.querySelector("tr")!==null||f.length<30&&f.push({selector:D,attribute:"thead",currentValue:B?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:B?"<thead> has no <tr>":"no <thead> element",rows:A.length,cols:S,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(b.outerHTML||"").slice(0,300)}),S>2){let z=R.querySelectorAll("th, td"),X=z.length>0;for(let K=0;K<z.length;K++)if((z[K].tagName||"").toLowerCase()!=="td"){X=false;break}if(X)for(let K=0;K<z.length&&!(f.length>=30);K++){let ne=z[K],re=uniqueSel(ne),me=(ne.textContent||"").trim().slice(0,60);f.push({selector:re,attribute:"role",currentValue:ne.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:me,colIndex:K,nearbyHeading:T.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(ne.outerHTML||"").slice(0,300)});}}let N=b.querySelectorAll("th");for(let z=0;z<N.length&&!(f.length>=30);z++){let X=N[z];if(X.closest("table")!==b)continue;let K=(X.getAttribute("scope")||"").trim().toLowerCase();if(K==="col"||K==="row"||K==="colgroup"||K==="rowgroup")continue;let ne=X.closest("tr"),re=X.closest("thead")!==null,me=false;ne&&A.length>0&&A[0]===ne&&(me=true);let se=false;if(ne){let Pe=ne.querySelectorAll("th, td");Pe.length>0&&Pe[0]===X&&(se=true);}let fe="col";re||me?fe="col":se&&(fe="row");let ke=uniqueSel(X),He=(X.textContent||"").trim().slice(0,60);f.push({selector:ke,attribute:"scope",currentValue:K,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:fe,inThead:re,firstRow:me,firstCol:se,headerText:He}),needsAI:false,fixValue:fe,outerHtml:(X.outerHTML||"").slice(0,300)});}}return f},U1={name:"dataTables",cap:30,async detect(p){return p.evaluate(S3)}};var k3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",v=[],m='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',g=E=>{try{return !!(E.querySelector&&E.querySelector(m))}catch{return false}},C=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),y=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],b=["spinner","loading","spin","loader","pulse"],A=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let E of A){if(v.length>=50)break;if(E.closest(p)||isHiddenFromAT(E)||!isVisible(E))continue;let w=E.className&&typeof E.className=="string"?E.className.toLowerCase():"";if(!w.split(/\s+/).filter(Boolean).some(U=>C.has(U)||y.some(V=>U.startsWith(V)))||E.closest(m)||g(E)||Array.from(E.children).some(U=>/[\p{L}\p{N}]/u.test(U.textContent||"")))continue;let P=b.some(U=>w.includes(U)),H=uniqueSel(E);v.push({selector:H,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:P?"spinner/loader icon":"icon classes: "+w.slice(0,80),needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let R=document.querySelectorAll("svg");for(let E of R){if(v.length>=50)break;if(E.closest(p)||isHiddenFromAT(E)||!isVisible(E)||E.closest(m)||g(E))continue;let w=E.getAttribute("aria-label")||"",_=E.getAttribute("aria-labelledby")||"",F=E.querySelector("title"),L=F?(F.textContent||"").trim():"",P=E.getAttribute("role");if(w.trim()||_.trim()||L||P==="img")continue;let H=E.getBoundingClientRect(),U=H.width<=16&&H.height<=16,V=E.parentElement?(E.parentElement.textContent||"").trim().replace(/\s+/g," "):"",B=H.width<=4||H.height<=4,j=E.getAttribute("preserveAspectRatio")==="none";if(!U&&V.length<=3&&!B&&!j)continue;let Z=uniqueSel(E);v.push({selector:Z,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:E.outerHTML.slice(0,300)});}let S=E=>E.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(E),D=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let E of D){if(v.length>=50)break;if(E.closest(p)||isHiddenFromAT(E))continue;let w=E.tagName.toLowerCase();if(!(w==="a"||w==="button"||w==="input"||w==="select"||w==="textarea"||E.getAttribute("role")==="button"||E.getAttribute("role")==="link"||E.getAttribute("role")==="tab")||E.hasAttribute("disabled"))continue;let F=E.className&&typeof E.className=="string"?E.className:"",L=F.split(/\s+/).some(S),P=E.getAttribute("aria-disabled")==="true",H=getComputedStyle(E).pointerEvents==="none";if(!P&&!(L&&H))continue;let U=E.getAttribute("tabindex")!=="-1"||g(E),V=uniqueSel(E);v.push({selector:V,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+F.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...U?{needsReview:true,reviewReason:"element is still keyboard-focusable; aria-hidden would create a hidden focusable element \u2014 remove it from the tab order first or confirm intent"}:{},outerHtml:E.outerHTML.slice(0,300)});}let T=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let E of T){if(v.length>=50)break;if(E.closest(p)||isHiddenFromAT(E))continue;let w=E.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(w.length===0)continue;let _=uniqueSel(E);v.push({selector:_,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+w.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+w.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:E.outerHTML.slice(0,300)});}return v},X1={name:"decorativeIcons",cap:50,async detect(p){return p.evaluate(k3)}};var T3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=new Map,g=document.querySelectorAll("[id]");for(let C of g){if(C.closest(p))continue;let y=(C.getAttribute("id")||"").trim();if(!y)continue;let b=m.get(y);b?b.push(C):m.set(y,[C]);}for(let[C,y]of m)if(!(y.length<=1)){if(v.length<50){let b=y[0];v.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"id",currentValue:C,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+C+'" is shared by '+y.length+" elements; this is the canonical first occurrence (kept \u2014 references resolve here). Later occurrences carry rename fixes.",needsAI:false,needsReview:true,reviewReason:"first occurrence of a duplicated id \u2014 shown for completeness; renaming it would break references, so the fix targets the later occurrences",outerHtml:(b.outerHTML||"").slice(0,300)});}for(let b=1;b<y.length&&!(v.length>=50);b++){let A=y[b],R=b+1,S=C+"-"+R,D=A.tagName.toLowerCase(),T=A.parentElement,E=D;if(T){let w=Array.from(T.children).filter(F=>F.tagName===A.tagName);if(w.length>1){let F=w.indexOf(A)+1;E=D+":nth-of-type("+F+")";}let _=T.tagName.toLowerCase();if(T.id&&T.id!==C)E="#"+CSS.escape(T.id)+" > "+E;else {let F=T.parentElement;if(F){let L=Array.from(F.children).filter(P=>P.tagName===T.tagName);if(L.length>1){let P=L.indexOf(T)+1;E=_+":nth-of-type("+P+") > "+E;}else E=_+" > "+E;}}}v.push({selector:E,attribute:"id",currentValue:C,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+R+' of id="'+C+'" | tag: <'+D+">",needsAI:false,fixValue:S});}}return v},Y1={name:"duplicateIds",cap:50,async detect(p){return p.evaluate(T3)}};var F3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=/^[^\p{L}\p{N}\s]*$/u,v=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,g=[],C=document.querySelectorAll("a");for(let y of C){if(g.length>=50)break;if(y.closest(p)||y.getAttribute("aria-hidden")==="true"||y.getAttribute("role")==="presentation"||y.closest('[aria-hidden="true"]')||!isVisible(y))continue;let b=getAccessibleName(y);if(b&&b.length>0&&!v.test(b)&&!f.test(b))continue;let A=y.querySelectorAll("img[alt]"),R="";for(let U of A){let V=(U.getAttribute("alt")||"").trim();V&&(R+=V+" ");}if(R.trim())continue;let S=y.getAttribute("aria-labelledby");if(S&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(S))continue;let D=uniqueSel(y),T=y.getAttribute("href")||"",E=(y.textContent||"").trim(),w=getNearbyContext(y),_="";E&&v.test(E)?_="[whitespace only]":E&&f.test(E)&&(_=E);let F="",L=true;if(T&&T!=="#"&&!T.startsWith("javascript:")){if(T.startsWith("mailto:")){let U=T.slice(7).split("?")[0];U&&U.includes("@")&&(F="Email "+U,L=false);}else if(T.startsWith("tel:")){let U=T.slice(4);try{U=decodeURIComponent(U);}catch{}U=U.replace(/^\+/,"").trim(),U&&(F="Call "+U,L=false);}}let P=[];y.closest("nav")&&P.push("inside nav"),w.nearbyHeading&&P.push("heading: "+w.nearbyHeading),T&&P.push("href: "+T.slice(0,120)),P.push("parent: "+w.parentTag);let H={selector:D,attribute:"aria-label",currentValue:_,issueType:"empty_link",wcag:"2.4.4",context:P.join(" | "),needsAI:L,outerHtml:y.outerHTML.slice(0,300)};!L&&F&&(H.fixValue=F),g.push(H);}return g},K1={name:"emptyLinks",cap:50,async detect(p){return p.evaluate(F3)}};var R3=()=>{let f=[],v=new Set;function m(S){return (S||"").trim()}function g(S){let D=m(S.getAttribute("aria-label")||"");if(D)return D;let T=S.getAttribute("aria-labelledby");if(T){let w=T.split(/\s+/),_="";for(let F=0;F<w.length;F++){let L=document.getElementById(w[F]);L&&(_+=" "+(L.textContent||""));}if(m(_))return m(_)}let E=m(S.getAttribute("title")||"");return E||""}let C=document.querySelectorAll("fieldset");for(let S=0;S<C.length&&!(f.length>=30);S++){let D=C[S];if(isWidget(D)||!isVisible(D)||isHiddenFromAT(D))continue;if(g(D)){v.add(D);continue}let T=null,E=D.querySelectorAll("legend");for(let H=0;H<E.length;H++)if(E[H].closest("fieldset")===D){T=E[H];break}let w=T!==null,_=T?m(T.textContent||""):"";if(w&&_){v.add(D);continue}let F=getNearbyContext(D),L=D.querySelectorAll("input, select, textarea"),P=uniqueSel(D);f.push({selector:P,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:w?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:L.length,nearbyHeading:F.nearbyHeading,parentTag:F.parentTag}),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)}),v.add(D);}let y=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let S=0;S<y.length&&!(f.length>=30);S++){let D=y[S];if(isWidget(D)||!isVisible(D)||isHiddenFromAT(D)||v.has(D))continue;if(g(D)){v.add(D);continue}let T=D.getAttribute("role")||"",E=getNearbyContext(D),w=D.querySelectorAll("input, select, textarea");if(T==="group"&&D.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let _=uniqueSel(D);f.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+T+'" container without accessible name',role:T,controlCount:w.length,nearbyHeading:E.nearbyHeading,parentTag:E.parentTag}),needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)}),v.add(D);}let b={},A=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let S=0;S<A.length;S++){let D=A[S];if(isWidget(D)||!isVisible(D)||isHiddenFromAT(D))continue;let T=D.getAttribute("name")||"";if(!T)continue;let E=D.closest("form"),w=E?E.getAttribute("id")||E.getAttribute("action")||E.tagName:"no-form",_=(D.getAttribute("type")||"").toLowerCase(),F=w+"::"+_+"::"+T;b[F]||(b[F]=[]),b[F].push(D);}let R=Object.keys(b);for(let S=0;S<R.length&&!(f.length>=30);S++){let D=b[R[S]];if(D.length<3)continue;let T=D[0],E=T.closest('fieldset, [role="group"], [role="radiogroup"]'),w=false;if(E){w=true;for(let U=1;U<D.length;U++)if(!E.contains(D[U])){w=false;break}}if(w&&E)continue;let _=T.parentElement;for(;_&&_!==document.body;){let U=true;for(let V=1;V<D.length;V++)if(!_.contains(D[V])){U=false;break}if(U)break;_=_.parentElement;}if(!_||_===document.body||v.has(_))continue;let F=(T.getAttribute("type")||"").toLowerCase(),L=T.getAttribute("name")||"",P=getNearbyContext(T),H=uniqueSel(_);f.push({selector:H,attribute:"role",currentValue:_.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+F+" group ("+D.length+' inputs share name="'+L+'")',inputType:F,inputCount:D.length,name:L,nearbyHeading:P.nearbyHeading,parentTag:P.parentTag}),needsAI:false,fixValue:F==="radio"?"radiogroup":"group",outerHtml:(_.outerHTML||"").slice(0,300)}),v.add(_);}return f},J1={name:"fieldsetLegend",cap:30,async detect(p){return p.evaluate(R3)}};var I3=()=>{let p=[],f=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),v=0;for(let m of Array.from(f)){let g=getComputedStyle(m);if(g.display==="none"||g.visibility==="hidden"||g.position!=="sticky"&&g.position!=="fixed")continue;let C=m.getBoundingClientRect();if(C.top>50||C.bottom<=0)continue;let y=Math.round(C.height);y<40||y>240||y>v&&(v=y);}if(v>0){let m=window.scrollX,g=window.scrollY,C=0,y=0;try{let A=[],R=new Set;document.querySelectorAll('a[href^="#"]').forEach(S=>{let D=S.getAttribute("href").slice(1);if(!D)return;let T=document.getElementById(D);T&&!R.has(T)&&(R.add(T),A.push(T));});for(let S of A){if(y>=8)break;let D=getComputedStyle(S);if(D.display==="none"||D.visibility==="hidden")continue;y++,S.scrollIntoView({block:"start"});let T=S.getBoundingClientRect(),E=Math.max(T.height,1);Math.max(0,Math.min(T.bottom,v)-Math.max(T.top,0))/Math.min(E,v)>=.5&&C++;}}catch{}try{window.scrollTo(m,g);}catch{}let b=`scroll-margin-top: ${v+8}px; scroll-padding-top: ${v+8}px;`;y>0&&C>0?p.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${v}px \u2014 ${C}/${y} in-page anchor targets land under it on jump`,needsAI:false,fixValue:b}):y===0&&p.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:b});}return p},Z1={name:"focusObscured",async detect(p){return p.evaluate(I3)}};var Q1={name:"focusVisible",cap:40,async detect(p){let f=typeof p.keyboard?.press=="function";if(f)try{await p.keyboard.press("Tab");}catch{}return p.evaluate(v=>{let g=[],C=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),y=document.querySelectorAll(C),b=document.activeElement;for(let A of y){if(g.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 R=getComputedStyle(A),S=R.outline,D=R.outlineWidth,T=R.outlineStyle,E=R.boxShadow,w=R.border,_=R.backgroundColor;try{A.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==A)continue;let F=getComputedStyle(A),L=F.outline,P=(F.outlineStyle||"").toLowerCase(),H=parseFloat(F.outlineWidth||"0"),U=F.boxShadow,V=F.border,B=F.backgroundColor,j=L!==S,Z=P!=="none"&&P!=="hidden"&&H>0;if(j&&Z||U!==E&&U!=="none"&&U!==""||V!==w||B!==_||parseFloat(D)>0&&T!=="none")continue;let ne=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();g.push({selector:ne+":focus-visible",attribute:"style",currentValue:T+" "+D,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{b?b.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return g},f)}};var L3=()=>{let f=[],v=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function g(S){if(!S)return false;let D=" "+((S.id||"")+" "+(S.className||"")+" "+(S.getAttribute("name")||"")+" "+(S.getAttribute("action")||"")).toLowerCase()+" ";for(let T=0;T<v.length;T++)if(D.indexOf(v[T])!==-1)return true;return false}function C(S){let D=((S.getAttribute("name")||"")+" "+(S.getAttribute("id")||"")+" "+(S.getAttribute("placeholder")||"")+" "+(S.getAttribute("aria-label")||"")).toLowerCase();for(let T=0;T<m.length;T++)if(D.indexOf(m[T])!==-1)return true;return false}let y=document.querySelectorAll("input[pattern]");for(let S of y){if(f.length>=30)break;let D=S;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D)||(D.getAttribute("title")||"").trim()||(D.getAttribute("aria-describedby")||"").trim())continue;let w=uniqueSel(D),_=(D.getAttribute("pattern")||"").slice(0,80),F=D.getAttribute("name")||"",L=D.getAttribute("placeholder")||"";f.push({selector:w,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+_+" | name: "+F+" | placeholder: "+L,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let b=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let S of b){if(f.length>=30)break;let D=S;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D))continue;let T=(D.getAttribute("autocomplete")||"").trim().toLowerCase();if(C(D)){if(T==="new-password")continue;let L=uniqueSel(D);f.push({selector:L,attribute:"autocomplete",currentValue:T,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(D.outerHTML||"").slice(0,300)});continue}if(T)continue;let w=D.form||D.closest("form"),_=g(w),F=uniqueSel(D);f.push({selector:F,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(_?"new/signup/change password form":"login form")+" | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:_?"new-password":"current-password",outerHtml:(D.outerHTML||"").slice(0,300)});}let A=document.querySelectorAll("form"),R=/\*|\brequired\b|\bmandatory\b/i;for(let S of A){if(f.length>=30)break;let D=S;if(isWidget(D)||!isVisible(D))continue;let T=D.querySelectorAll("input[required], select[required], textarea[required]");if(!T.length)continue;let E=0;for(let P of T)isVisible(P)&&E++;if(E===0)continue;let w=D.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),_=0;for(let P of w)isVisible(P)&&_++;if(E>=_||(D.getAttribute("data-asw-required-hint")||"").trim())continue;let F=(D.textContent||"").trim();if(R.test(F))continue;let L=uniqueSel(D);f.push({selector:L,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${E} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}return f},eh={name:"formAttributes",cap:30,async detect(p){return p.evaluate(L3)}};var M3=()=>{let f=[],v=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(y=>{if(isWidget(y)||y.getAttribute("aria-hidden")==="true"||y.closest('[aria-hidden="true"]')||y.getClientRects().length===0)return false;let b=getComputedStyle(y).visibility;return !(b==="hidden"||b==="collapse")});if(v.length===0)return f;let m='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',g=new Map,C=0;for(let y of v){if(f.length>=50)break;let b;if(y.getAttribute("role")==="heading"){let w=y.getAttribute("aria-level");b=w?parseInt(w,10):2;}else b=parseInt(y.tagName.charAt(1),10);if(isNaN(b)||b<1||b>6)continue;let R=y.closest(m)||document.body,S=g.get(R)??0,D=uniqueSel(y),T=(y.textContent||"").trim().slice(0,80),E=y.outerHTML.slice(0,300);if(b===1&&(C++,C>1&&(f.push({selector:D,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:T,h1Number:C,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:E}),b=2)),S>0&&b>S+1){let w=S+1;f.push({selector:D,attribute:"data-heading-skip",currentValue:String(b),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:T,currentLevel:b,previousLevel:S,expectedLevel:w,suggestion:"Should be h"+w+" (was h"+b+", previous was h"+S+") \u2014 retag the element"}),needsAI:false,needsReview:true,reviewReason:"level skips need a human retag \u2014 aria-level is ignored on native headings and never clears on rescan",outerHtml:E});}g.set(R,b);}return f},th={name:"headingHierarchy",cap:50,async detect(p){return p.evaluate(M3)}};var P3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",v=[],m=new Set;function g(C){let y=C,b=0;for(;y&&y!==document.body&&b<6;){if(y.getAttribute("aria-hidden")==="true")return true;y=y.parentElement,b++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(C=>{if(v.length>=50||C.closest(p)||!C.matches("a[href], button, [role=button]")||g(C))return;let y=getComputedStyle(C);if(y.display==="none"||y.visibility==="hidden")return;let b=uniqueSel(C);m.has(b)||(m.add(b),v.push({selector:b,attribute:"tabindex",currentValue:C.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(C=>{if(v.length>=50||C.closest(p)||g(C))return;let y=getComputedStyle(C),b=parseInt(y.width)||0,A=parseInt(y.height)||0;if((b===0||A===0)&&C.getAttribute("aria-hidden")!=="true"){let R=uniqueSel(C);if(m.has(R))return;m.add(R),v.push({selector:R,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),v},rh={name:"hiddenInteractive",cap:50,async detect(p){return p.evaluate(P3)}};var O3=()=>{let p=document.documentElement;return p?(p.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"}]:[]},ah={name:"htmlLang",async detect(p){return p.evaluate(O3)}};var N3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],g=/^(iframe|embed|widget|frame|content|untitled)$/i,C=document.querySelectorAll("iframe");for(let y of C){if(v.length>=50)break;if(y.closest(p))continue;let b=(y.getAttribute("aria-hidden")||"").trim(),A=(y.getAttribute("role")||"").trim().toLowerCase();if(b==="true"||A==="presentation")continue;let R=getComputedStyle(y);if(y.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse"||(y.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let S=(y.getAttribute("title")||"").trim(),D=S.length===0,T=!D&&(S.length<3||g.test(S));if(!D&&!T)continue;let E=(y.getAttribute("src")||"").toLowerCase(),w=uniqueSel(y),_=getNearbyContext(y),F="src: "+E.slice(0,120)+(_.nearbyHeading?" | heading: "+_.nearbyHeading:""),L=false;for(let P of m)if(E.includes(P.pattern)){v.push({selector:w,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:false,fixValue:P.title,outerHtml:y.outerHTML.slice(0,300)}),L=true;break}!L&&D&&v.push({selector:w,attribute:"title",currentValue:S,issueType:"missing_label",wcag:"4.1.2",context:F,needsAI:true,outerHtml:y.outerHTML.slice(0,300)});}return v},nh={name:"iframeTitle",cap:50,async detect(p){return p.evaluate(N3)}};var q3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],g={email:"email",tel:"tel",password:"current-password"},C=[{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"}],y=document.querySelectorAll("input, select, textarea");for(let b of y){if(m.length>=50)break;if(b.closest(p))continue;let A=b,R=(A.getAttribute("type")||"text").toLowerCase();if(f.includes(R)||A.getAttribute("autocomplete")||!isVisible(A))continue;let S="";if(g[R]&&(S=g[R]),!S){let T=(A.getAttribute("name")||"").toLowerCase(),E=(A.getAttribute("id")||"").toLowerCase(),w=(A.getAttribute("placeholder")||"").toLowerCase(),_=T+" "+E+" "+w;for(let F of C)if(_.includes(F.pattern)){S=F.autocomplete;break}}if(!S)continue;let D=uniqueSel(A);m.push({selector:D,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+R+" | name: "+(A.getAttribute("name")||"")+" | id: "+(A.getAttribute("id")||""),needsAI:false,fixValue:S});}return m},ih={name:"inputPurpose",cap:50,async detect(p){return p.evaluate(q3)}};var B3=()=>{let f=[],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},m=document.querySelectorAll("[role]");for(let g of m){if(f.length>=20)break;let C=g;if(isWidget(C))continue;let y=(C.getAttribute("role")||"").trim().toLowerCase();if(!y)continue;let b=y.split(/\s+/).filter(Boolean);if(b.length===0)continue;let A=true,R="";for(let S=0;S<b.length;S++)if(!v[b[S]]){A=false,R=b[S];break}A||f.push({selector:uniqueSel(C),attribute:"remove_attribute",currentValue:y,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+R+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(C.outerHTML||"").slice(0,300)});}return f},oh={name:"invalidAriaRole",cap:20,async detect(p){return p.evaluate(B3)}};var H3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function g(y){let b=y.getBoundingClientRect();if(b.width===0&&b.height===0)return false;let A=-window.scrollX,R=-window.scrollY,S=document.documentElement,D=getComputedStyle(y).position;if(D==="fixed")return false;let T=D==="absolute";for(let E=y.parentElement;E&&E!==document.body&&E!==S;E=E.parentElement){let w=getComputedStyle(E);if(T){if(w.position==="static")continue;T=false;}if(/auto|scroll/.test(w.overflowX+" "+w.overflowY))return false;let _=w.overflowX==="hidden"||w.overflowX==="clip",F=w.overflowY==="hidden"||w.overflowY==="clip";if(!_&&!F)continue;let L=E.getBoundingClientRect();if(_&&(b.right<=L.left||b.left>=L.right)||F&&(b.bottom<=L.top||b.top>=L.bottom))return true;if(D=w.position,D==="fixed")return false;D==="absolute"&&(T=true);}return b.right<=A||b.bottom<=R||b.left>=A+S.scrollWidth||b.top>=R+S.scrollHeight}let C=document.querySelectorAll(m);for(let y of C){if(v.length>=30)break;if(y.closest(p)||!y.hasAttribute("tabindex"))continue;let b=y.getAttribute("tabindex")||"",A=parseInt(b,10);if(!Number.isFinite(A)||A===0||y.getAttribute("aria-disabled")==="true"||y.getAttribute("aria-hidden")==="true"||y.closest('[aria-hidden="true"]')||y.closest("[hidden]"))continue;let R=y.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(R&&!(R.hasAttribute("open")||R.getAttribute("aria-modal")==="true"||R.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(y)||A<0&&g(y))continue;let S=(y.getAttribute("role")||"").toLowerCase();if(A<0&&y.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let T=typeof uniqueSel=="function"?uniqueSel(y):"",E=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},w,_;A<0?(w="keyboard_trap",_="2.1.1"):(w="focus_order_disruption",_="2.4.3");let F=[];F.push("tabindex: "+A),F.push("tag: "+y.tagName.toLowerCase()),S&&F.push("role: "+S),E.nearbyHeading&&F.push("heading: "+E.nearbyHeading),F.push("parent: "+E.parentTag),v.push({selector:T,attribute:"tabindex",currentValue:String(A),issueType:w,wcag:_,context:F.join(" | "),needsAI:false,fixValue:"0",outerHtml:(y.outerHTML||"").slice(0,300)});}return v},sh={name:"keyboardTrap",cap:30,async detect(p){return p.evaluate(H3)}};var V3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],g=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let C of Array.from(g)){if(v.length>=40)break;if(C.closest(p)||typeof isVisible=="function"&&!isVisible(C))continue;let y="",b=[],A=[];try{let z=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,X=/icon|awesome|glyph|material symbols|dashicons/i,K=!1;try{K=X.test(getComputedStyle(C).fontFamily||"");}catch{}let ne=document.createTreeWalker(C,NodeFilter.SHOW_TEXT),re;for(;re=ne.nextNode();){let ke=re.parentElement;if(!ke)continue;let He=(re.textContent||"").trim();if(!He||ke===C&&K)continue;let Pe=!1,Ie=!1;for(let Ue=ke;Ue&&Ue!==C;Ue=Ue.parentElement){if(Ue.tagName==="KBD"&&(Ie=!0),Ue.getAttribute("aria-hidden")==="true"){Pe=!0;break}if(z.test(Ue.className||"")||z.test(Ue.id||"")){Pe=!0;break}try{let Fe=getComputedStyle(Ue);if(Fe.display==="none"||Fe.visibility==="hidden"){Pe=!0;break}if(parseFloat(Fe.opacity||"1")===0){Pe=!0;break}if(X.test(Fe.fontFamily||"")){Pe=!0;break}}catch{}}!Pe&&/[\p{L}\p{N}]/u.test(He)&&A.push({text:He,kbd:Ie});}let me=0,se=A.length;for(;me<se&&A[me].kbd;)me++;for(;se>me&&A[se-1].kbd;)se--;let fe=me<se?A.slice(me,se):A;for(let ke of fe)b.push(ke.text);y=b.join(" ").trim().toLowerCase();}catch{y=((C.innerText!=null?C.innerText:C.textContent)||"").trim().toLowerCase();}if(!y||!/[\p{L}\p{N}]/u.test(y)||/^\p{L}$/u.test(y))continue;let S=/[\p{L}\p{N}\p{M}]/u,D=(C.getAttribute("aria-label")||"").trim().toLowerCase();if(!D){let z=C.getAttribute("aria-labelledby");z&&(D=(typeof __resolveIdRefs=="function"?__resolveIdRefs(z):"").toLowerCase());}if(!D)continue;let T=y.replace(/\s+/g," ").normalize("NFC"),E=D.replace(/\s+/g," ").normalize("NFC"),w=/[\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,_=(z,X)=>!z||!S.test(z)||w.test(z)||w.test(X),F=(z,X)=>{if(X<=0)return "";let K=z.charCodeAt(X-1);return K>=56320&&K<=57343&&X>=2?z.slice(X-2,X):z.charAt(X-1)},L=(z,X)=>{let K=z.codePointAt(X);return K===void 0?"":String.fromCodePoint(K)},P=T.substring(0,40),H=T.length>=40,U=L(P,0),V=F(P,P.length),B=false;for(let z=0;!B;){let X=E.indexOf(P,z);if(X<0)break;_(F(E,X),U)&&(H||_(L(E,X+P.length),V))&&(B=true),z=X+1;}if(B)continue;if(b.length>1){let z=true,X=0;for(let K of b){let ne=K.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!ne)continue;let re=ne.slice(0,40),me=-1;for(let se=X;;){let fe=E.indexOf(re,se);if(fe<0)break;let ke=_(F(E,fe),L(re,0)),He=re.length>=40||_(L(E,fe+re.length),F(re,re.length));if(ke&&He){me=fe;break}se=fe+1;}if(me<0){z=false;break}X=me+re.length;}if(z)continue}let j=typeof uniqueSel=="function"?uniqueSel(C):"",Z=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.tagName.toLowerCase(),nearbyHeading:""},N=[];N.push("visible: "+y.slice(0,40)),N.push("aria-label: "+D.slice(0,60)),Z.nearbyHeading&&N.push("heading: "+Z.nearbyHeading),N.push("parent: "+Z.parentTag),v.push({selector:j,attribute:"aria-label",currentValue:D,issueType:"label_in_name",wcag:"2.5.3",context:N.join(" | "),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}return v},lh={name:"labelInName",cap:40,async detect(p){return p.evaluate(V3)}};var j3=()=>{function p(S){let D=S.closest("section,article,div,nav,main,aside,header,footer"),T=D?D.querySelector("h1,h2,h3,h4,h5,h6"):null;return T?(T.textContent||"").trim().slice(0,80):""}let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",v=50,m=[];document.querySelector('main, [role="main"]')||m.push({selector:"body",attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({reason:'page has no <main> or [role="main"] landmark'}),needsAI:true,outerHtml:""});let C=document.querySelectorAll("div, section, ul, ol");for(let S of C){if(m.length>=v)break;if(S.closest(f)||!isVisible(S)||isHiddenFromAT(S)||S.tagName.toLowerCase()==="nav")continue;let D=S.getAttribute("role");if(D&&D!=="navigation")continue;let T=(S.className&&typeof S.className=="string"?S.className:"").toLowerCase(),E=(S.id||"").toLowerCase();if(!(T.includes("nav")||T.includes("menu")||T.includes("navigation")||E.includes("nav")||E.includes("menu")||E.includes("navigation"))||S.closest('nav, [role="navigation"]'))continue;let _=Array.from(S.querySelectorAll('nav, [role="navigation"]')).filter(V=>isVisible(V)&&!isHiddenFromAT(V)),F=Array.from(S.querySelectorAll("a[href]")).filter(V=>!_.some(B=>B.contains(V)));if(F.length<3)continue;let L=S.closest('header, [role="banner"], footer, [role="contentinfo"]'),H=!!L&&Array.from(L.querySelectorAll('nav, [role="navigation"]')).some(V=>!S.contains(V)&&isVisible(V)&&!isHiddenFromAT(V))||_.length>0,U=uniqueSel(S);m.push({selector:U,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:F.length,classes:T.slice(0,80)}),needsAI:false,fixValue:"navigation",...H?{needsReview:true,reviewReason:_.length>0?"this container already holds a navigation landmark \u2014 confirm the links outside it are a separate navigation block before adding a second one":"this header/footer region already has a navigation landmark \u2014 confirm these links are a separate navigation block before adding a second one"}:{},outerHtml:S.outerHTML.slice(0,300)});}let y=document.querySelectorAll('aside, [role="complementary"]'),b=Array.from(y).filter(S=>!S.closest(f)&&isVisible(S)&&!isHiddenFromAT(S));if(b.length>1)for(let S of b){if(m.length>=v)break;let D=S.getAttribute("aria-label")||"",T=S.getAttribute("aria-labelledby")||"",E=S.getAttribute("title")||"";if(D.trim()||T.trim()||E.trim())continue;let w=p(S),_=uniqueSel(S);m.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:y.length,nearbyHeading:w}),needsAI:true,outerHtml:S.outerHTML.slice(0,300)});}let A=document.querySelectorAll('nav, [role="navigation"]'),R=Array.from(A).filter(S=>!S.closest(f)&&isVisible(S)&&!isHiddenFromAT(S));if(R.length>1)for(let S of R){if(m.length>=v)break;let D=S.getAttribute("aria-label")||"",T=S.getAttribute("aria-labelledby")||"",E=S.getAttribute("title")||"";if(D.trim()||T.trim()||E.trim())continue;let w=p(S),_=uniqueSel(S);m.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:S.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:A.length,nearbyHeading:w}),needsAI:true,outerHtml:S.outerHTML.slice(0,300)});}return m},uh={name:"landmarkRoles",cap:50,async detect(p){return p.evaluate(j3)}};var $3=()=>{let p="[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"],m=[];function g(S){if(!S)return "";let D=S.split("#")[0];return D.length>1&&D.charAt(D.length-1)==="/"&&(D=D.substring(0,D.length-1)),D}function C(S){let D=(S.getAttribute("aria-label")||"").trim();return D||(S.textContent||"").trim().replace(/\s+/g," ")}function y(S){return !!S.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let b={},A=document.querySelectorAll("a[href]");for(let S=0;S<A.length;S++){let D=A[S];if(D.closest(p)||D.getAttribute("aria-hidden")==="true"||!isVisible(D))continue;let T=D.getAttribute("href")||"";if(!T)continue;let E=T.toLowerCase();if(E.charAt(0)==="#"||E.indexOf("javascript:")===0||E.indexOf("mailto:")===0||E.indexOf("tel:")===0)continue;let w=D.href||T,_=g(w);if(!_||y(D))continue;let F=(D.textContent||"").trim(),L=!!D.querySelector("img, svg, picture");if(!F&&L)continue;let P=C(D);if(!P)continue;let H=P.toLowerCase();H===E||H===w.toLowerCase()||(b[_]||(b[_]=[]),b[_].push(D));}let R=Object.keys(b);for(let S=0;S<R.length&&!(m.length>=30);S++){let D=b[R[S]];if(!D||D.length<2)continue;let T={},E="";for(let L=0;L<D.length;L++){let P=C(D[L]),H=P.toLowerCase();T[H]=true,P.length>E.length&&(E=P);}if(Object.keys(T).length<2)continue;let _=E.toLowerCase().trim();if(_.length<5)continue;let F=false;for(let L=0;L<v.length;L++)if(_===v[L]){F=true;break}if(!F)for(let L=0;L<D.length&&!(m.length>=30);L++){let P=D[L],H=C(P);if(H.toLowerCase()===_)continue;let U=uniqueSel(P);m.push({selector:U,attribute:"aria-label",currentValue:H,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+D.length+' link(s) on this page with different text (e.g. "'+E.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:P.outerHTML.slice(0,300)});}}return m},ch={name:"linkConsistency",cap:30,async detect(p){return p.evaluate($3)}};var z3=()=>{let f=[],v=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},g="";try{g=window.location&&window.location.hostname||"";}catch{g="";}g=(g||"").toLowerCase();function C(w,_){if(!w||!_)return false;if(w===_||w.endsWith("."+_)||_.endsWith("."+w))return true;let F=L=>{let P=L.split(".");if(P.length<=2)return L;let H=P[P.length-1],U=P[P.length-2],V=["co","com","net","org","ac","gov","edu"],B=H.length===2&&V.indexOf(U)>=0?3:2;return P.slice(-B).join(".")};return F(w)===F(_)}function y(w){return w.indexOf("www.")===0?w.slice(4):w}function b(w){if(!w)return "";let _=w.toLowerCase();if(_.charAt(0)==="#"||_.charAt(0)==="/"||_.charAt(0)==="?"||_.indexOf("javascript:")===0||_.indexOf("mailto:")===0||_.indexOf("tel:")===0)return "";try{return (new window.URL(w,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function A(w){if(!w)return "";let _=w,F=_.indexOf("?");F>=0&&(_=_.slice(0,F));let L=_.indexOf("#");L>=0&&(_=_.slice(0,L)),_=_.toLowerCase();for(let P=0;P<v.length;P++){let H=v[P];if(_.length>=H.length&&_.slice(_.length-H.length)===H)return H}return ""}function R(w){let _=[],F=(w.getAttribute("aria-label")||"").trim();F&&_.push(F);let L=(w.getAttribute("title")||"").trim();L&&_.push(L);let P=w.getAttribute("aria-labelledby");if(P)try{let H=typeof __resolveIdRefs=="function"?__resolveIdRefs(P):"";H&&_.push(H);}catch{}return _.push((w.textContent||"").trim()),_.join(" ").toLowerCase()}function S(w,_,F){let L="";try{typeof getAccessibleName=="function"&&(L=(getAccessibleName(w)||"").trim());}catch{}let P=(_||F||L||w.textContent||"").replace(/\s+/g," ").trim();return P||(w.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function D(w,_){let L=200-_.length;L<8&&(L=8);let P=w;if(P.length>L){let H=P.slice(0,L),U=H.lastIndexOf(" ");U>L*.6&&(H=H.slice(0,U)),P=H.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (P+_).slice(0,200)}let T=document.querySelectorAll("a"),E=T.length;for(let w=0;w<E&&!(f.length>=50);w++){let _=T[w];if(!_||isWidget(_)||_.getAttribute("aria-hidden")==="true")continue;try{if(_.closest&&_.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(_))continue;let F=_.getAttribute("href");if(F==null)continue;let L=String(F).trim();if(!L)continue;let P=L.toLowerCase(),H=R(_),U=(_.getAttribute("rel")||"").toLowerCase(),V=uniqueSel(_),B=(_.textContent||"").trim().slice(0,80),j=(_.getAttribute("target")||"").toLowerCase(),Z=(_.outerHTML||"").slice(0,300),N=L==="#",z=P.indexOf("javascript:")===0;if((N||z)&&(_.getAttribute("role")||"").toLowerCase()!=="button"){let se=_.hasAttribute&&_.hasAttribute("onclick"),fe=_.hasAttribute&&(_.hasAttribute("data-action")||_.hasAttribute("data-click")||_.hasAttribute("data-toggle")||_.hasAttribute("data-target")),ke=typeof _.onclick=="function",He=se||fe||ke,Pe=[];Pe.push("href: "+L),B&&Pe.push("text: "+B),Pe.push(He?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let Ie='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"]',Ue=Ce=>{if(getComputedStyle(Ce).visibility==="hidden")return false;for(let $t=Ce;$t&&$t.nodeType===1;$t=$t.parentElement)if(getComputedStyle($t).display==="none")return false;return true},Fe=Array.prototype.some.call(_.querySelectorAll(Ie),Ce=>Ue(Ce)&&!isHiddenFromAT(Ce));He&&!Fe&&f.push({selector:V,attribute:"role",currentValue:L,issueType:"placeholder_link",wcag:"2.4.4",context:Pe.join(" | "),needsAI:false,fixValue:"button",outerHtml:Z});continue}if(L.charAt(0)==="#"&&L.length>1){let me=L.slice(1),se=me;try{se=decodeURIComponent(me);}catch{se=me;}let fe=null;try{fe=document.getElementById(se);}catch{fe=null;}if(!fe)try{fe=document.querySelector('[name="'+se.replace(/"/g,'\\"')+'"]');}catch{fe=null;}continue}let X=A(P);if(X){let me=_.hasAttribute&&_.hasAttribute("download"),se=(m[X]||X).toLowerCase(),fe=H.indexOf(X)>=0||H.indexOf(se)>=0||H.indexOf("download")>=0;if(!me&&!fe){let ke=S(_,(_.getAttribute("aria-label")||"").trim(),""),He=D(ke," ("+(m[X]||X)+" download)");f.push({selector:V,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+X+" | href: "+L.slice(0,120),needsAI:false,fixValue:He,outerHtml:Z});continue}}let K=b(L),ne=P.indexOf("http://")===0||P.indexOf("https://")===0||P.indexOf("//")===0,re=!!K&&!!g&&!C(y(K),y(g));if(j==="_blank"){let me=U.indexOf("noopener")>=0||U.indexOf("noreferrer")>=0,se=H.indexOf("new window")>=0||H.indexOf("new tab")>=0||H.indexOf("opens in")>=0;if(!se){let fe=(_.getAttribute("aria-label")||"").trim(),ke="",He=_.getAttribute("aria-labelledby")||"";if(!fe&&He)try{typeof __resolveIdRefs=="function"&&(ke=(__resolveIdRefs(He)||"").trim());}catch{}let Pe=S(_,fe,ke),Ie=D(Pe," (opens in new window)"),Ue=[];me||Ue.push("missing rel=noopener"),se||Ue.push('missing "new window" hint'),Ue.push("href: "+L.slice(0,120)),f.push({selector:V,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ue.join(" | "),needsAI:false,fixValue:Ie,outerHtml:Z});continue}}if(re&&ne){let me=U.indexOf("external")>=0,se=H.indexOf("external")>=0||H.indexOf("opens in")>=0||H.indexOf("new window")>=0||H.indexOf("new tab")>=0;if(!me&&!se){let fe=(_.getAttribute("aria-label")||"").trim(),ke="",He=_.getAttribute("aria-labelledby")||"";if(!fe&&He)try{typeof __resolveIdRefs=="function"&&(ke=(__resolveIdRefs(He)||"").trim());}catch{}let Pe=S(_,fe,ke),Ie=D(Pe," (external link)");f.push({selector:V,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+K+" (page: "+g+") | href: "+L.slice(0,120),needsAI:false,fixValue:Ie,outerHtml:Z});}}}return f},dh={name:"linkWarnings",cap:50,async detect(p){return p.evaluate(z3)}};var G3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],m=new Set,g=document.querySelectorAll('main, [role="main"]'),C=[];return g.forEach(y=>{let b=getComputedStyle(y);b.display!=="none"&&b.visibility!=="hidden"&&C.push(y);}),g.forEach(y=>{if(v.length>=10||y.closest(p)||y.getAttribute("aria-hidden")!=="true")return;let b=getComputedStyle(y);if(b.display==="none"||b.visibility==="hidden"||y.closest('[role="dialog"]')||y.closest('[role="alertdialog"]')||y.closest("dialog")||C.some(D=>D!==y&&D.getAttribute("aria-hidden")!=="true"))return;let R=y.parentElement;for(;R&&R!==document.body&&R!==document.documentElement;){if(R.getAttribute("aria-hidden")==="true")return;R=R.parentElement;}let S=uniqueSel(y);m.has(S)||(m.add(S),v.push({selector:S,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),role:y.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:(y.outerHTML||"").slice(0,300)}));}),v},fh={name:"mainContentHidden",cap:10,async detect(p){return p.evaluate(G3)}};var W3=()=>{let f=[];function v(y){return !!(!y||isWidget(y)||(y.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(y){return (y.outerHTML||"").slice(0,300)}let g=document.querySelectorAll("video");for(let y of g){if(f.length>=10)break;let b=y;if(v(b))continue;let A=b.hasAttribute("controls"),R=b.hasAttribute("autoplay"),S=b.hasAttribute("muted"),D=typeof isVisible=="function"?isVisible(b):true;if(!A&&D&&(f.push({selector:uniqueSel(b),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:m(b)}),f.length>=10))break;R&&!S&&f.push({selector:uniqueSel(b),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:m(b)});}let C=document.querySelectorAll("audio");for(let y of C){if(f.length>=10)break;let b=y;if(v(b))continue;let A=b.hasAttribute("controls"),R=b.hasAttribute("autoplay");if(!A&&(f.push({selector:uniqueSel(b),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:m(b)}),f.length>=10))break;R&&f.push({selector:uniqueSel(b),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:m(b)});}return f},ph={name:"mediaControls",cap:10,async detect(p){return p.evaluate(W3)}};var U3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,g=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,C=document.querySelectorAll("img");for(let y of C){if(v.length>=50)break;if(y.closest(p))continue;let b=y.getAttribute("src")||"",A=y.getAttribute("alt");if(b.startsWith("data:"))continue;let R=y.naturalWidth||y.width,S=y.naturalHeight||y.height;if(R<=3&&S<=3&&R>0&&S>0||R<=2&&S<=2)continue;let D=y.getBoundingClientRect();if(D.width<=2&&D.height<=2||!isVisible(y)||y.getAttribute("role")==="presentation"||y.getAttribute("role")==="none"||y.getAttribute("aria-hidden")==="true"||y.closest('[aria-hidden="true"]'))continue;let T=(y.getAttribute("aria-label")||"").trim(),E=(y.getAttribute("aria-labelledby")||"").trim();if(T||E)continue;let w=y.getBoundingClientRect(),_=w.width>0&&w.width<=30&&w.height<=30,F=!!y.closest('a, button, [role="button"], [role="link"]');if(_&&!F&&A===null){let V=uniqueSel(y);v.push({selector:V,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(w.width)+"x"+Math.round(w.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(A===null){let V=uniqueSel(y),B=getNearbyContext(y),j=[],Z=y.closest("figure");if(Z){let X=Z.querySelector("figcaption");X&&j.push("figcaption: "+(X.textContent||"").trim().slice(0,80));}B.nearbyHeading&&j.push("heading: "+B.nearbyHeading);let N=y.closest("a");if(N){let X=N.getAttribute("href")||"",K=(N.textContent||"").trim().replace(/\s+/g," ");K&&j.push("link text: "+K.slice(0,60)),X&&j.push("link href: "+X.slice(0,80));}b&&j.push("src: "+b.slice(0,120)),j.push("parent: "+B.parentTag);let z=b;try{z=new URL(b,document.baseURI).href;}catch{}v.push({selector:V,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:z,outerHtml:y.outerHTML.slice(0,300)});continue}let L=(A||"").trim();if(L==="")continue;let P=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(L),H=m.test(L),U=g.test(L);if(P||H||U){let V=uniqueSel(y),B=getNearbyContext(y),j=[];B.nearbyHeading&&j.push("heading: "+B.nearbyHeading),b&&j.push("src: "+b.slice(0,120)),j.push("parent: "+B.parentTag);let Z=b;try{Z=new URL(b,document.baseURI).href;}catch{}v.push({selector:V,attribute:"alt",currentValue:L,issueType:"missing_alt",wcag:"1.1.1",context:j.join(" | "),needsAI:true,imageSrc:Z,outerHtml:y.outerHTML.slice(0,300)});}}return v},mh={name:"missingAlt",cap:50,async detect(p){return p.evaluate(U3)}};var X3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=["hidden","submit","button","reset","image"],v=["wpnonce","_token","csrf","nonce","captcha"],g=[],C=document.querySelectorAll("input, select, textarea");for(let y of C){if(g.length>=50)break;if(y.closest(p))continue;let b=y,A=b.getAttribute("type")||b.tagName.toLowerCase();if(f.includes(A.toLowerCase())||!isVisible(b)||b.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(b).display==="none")continue;let D=b.getAttribute("id")||"",T=b.getAttribute("name")||"",E=(D+" "+T).toLowerCase();if(v.some(V=>E.includes(V)))continue;let w=false;if(D){let V=document.querySelector('label[for="'+CSS.escape(D)+'"]');V&&(V.textContent||"").trim()&&(w=true);}if(!w){let V=b.closest("label");V&&(V.textContent||"").trim()&&(w=true);}if(!w&&(b.getAttribute("aria-label")||"").trim()&&(w=true),!w){let V=b.getAttribute("aria-labelledby");V&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(V)&&(w=true);}if(!w&&(b.getAttribute("title")||"").trim()&&(w=true),w)continue;let _=uniqueSel(b),F=getNearbyContext(b),L=(b.getAttribute("placeholder")||"").trim(),P=b.closest("form"),H=P&&(P.getAttribute("id")||P.getAttribute("action"))||"",U=[];L&&U.push("placeholder: "+L),T&&U.push("name: "+T),A&&U.push("type: "+A),H&&U.push("form: "+H.slice(0,60)),F.nearbyHeading&&U.push("heading: "+F.nearbyHeading),U.push("parent: "+F.parentTag),g.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:U.join(" | "),needsAI:true,outerHtml:b.outerHTML.slice(0,300)});}return g},hh={name:"missingLabels",cap:50,async detect(p){return p.evaluate(X3)}};var Y3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",f='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',v=["onclick","data-action","ng-click","@click","v-on:click"],m=w=>{if(getComputedStyle(w).visibility==="hidden")return false;for(let _=w;_&&_.nodeType===1;_=_.parentElement)if(getComputedStyle(_).display==="none")return false;return true},g=w=>Array.prototype.some.call(w.querySelectorAll("a:not([href])"),_=>m(_)&&!isHiddenFromAT(_)&&v.some(F=>_.hasAttribute(F))),C=w=>Array.prototype.some.call(w.querySelectorAll(f),_=>m(_)&&!isHiddenFromAT(_)),b=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(w=>{if(b.length>=50||w.closest(p)||!isVisible(w)||isHiddenFromAT(w)||C(w)||g(w))return;let _=w.getAttribute("role");if(_==="button"||_==="link"||_==="tab"||_==="menuitem"||_==="checkbox"||_==="radio")return;let F=uniqueSel(w),L=w.outerHTML.slice(0,300);b.push({selector:F,attribute:"role",currentValue:_||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),hasOnclick:true,currentTabindex:w.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:L}),w.getAttribute("tabindex")===null&&b.push({selector:F,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:L});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(w=>{if(b.length>=50||w.closest(p)||!isVisible(w)||isHiddenFromAT(w)||w.getAttribute("role"))return;let F=w.hasAttribute("onclick"),L=w.getAttribute("data-action")||w.getAttribute("ng-click")||w.getAttribute("@click")||w.getAttribute("v-on:click");if(!F&&!L||C(w))return;let P=uniqueSel(w),H=w.outerHTML.slice(0,300);b.push({selector:P,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:w.getAttribute("href")||"",hasOnclick:F}),needsAI:false,fixValue:"button",outerHtml:H});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(w=>{if(b.length>=50||w.closest(p)||!isVisible(w)||isHiddenFromAT(w)||w.getAttribute("role"))return;let F=w.getAttribute("href")||"",L=false;if(F.startsWith("#")&&F.length>1){if(F.charAt(1)==="/")return;let V=F.slice(1);if(document.getElementById(V))return;try{if(document.querySelector('[name="'+CSS.escape(V)+'"]'))return}catch{}L=true;}let P=F.startsWith("javascript:")||w.hasAttribute("onclick")||w.getAttribute("data-action")||w.getAttribute("ng-click")||w.getAttribute("@click")||w.getAttribute("v-on:click")||w.hasAttribute("aria-haspopup")||w.hasAttribute("aria-expanded")||w.hasAttribute("aria-controls"),H=L&&!P;if(C(w))return;let U=uniqueSel(w);b.push({selector:U,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:F,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:w.outerHTML.slice(0,300),...H?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(w=>{if(b.length>=50||w.closest(p)||!isVisible(w)||isHiddenFromAT(w))return;let _=(w.className&&typeof w.className=="string"?w.className:"").toLowerCase(),F=(w.id||"").toLowerCase();if(!_.includes("breadcrumb")&&!_.includes("crumb")&&!F.includes("breadcrumb")&&!F.includes("crumb"))return;let L=w.querySelectorAll("a");if(L.length<2)return;let P=(w.getAttribute("aria-label")||"").toLowerCase(),H=w.getAttribute("role");if(P.includes("breadcrumb")||P.includes("crumb")||H==="navigation"&&P)return;let U=uniqueSel(w);b.push({selector:U,attribute:"aria-label",currentValue:P,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:L.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:w.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(w=>{if(b.length>=50||w.closest(p)||!isVisible(w)||isHiddenFromAT(w))return;let _=(w.className&&typeof w.className=="string"?w.className:"").toLowerCase(),F=(w.id||"").toLowerCase();if(!_.includes("search")&&!F.includes("search")||!w.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let P=w.getAttribute("role");if(P==="search"||w.closest('[role="search"]')||w.querySelector('[role="search"]')||Array.prototype.some.call(w.querySelectorAll("form, section, div"),V=>{let B=(V.className&&typeof V.className=="string"?V.className:"").toLowerCase(),j=(V.id||"").toLowerCase();return !B.includes("search")&&!j.includes("search")||V.getAttribute("role")==="search"?false:!!V.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let U=uniqueSel(w);b.push({selector:U,attribute:"role",currentValue:P||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:w.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(w=>{if(w.closest(p))return;let _=w.getAttribute("role")||"menu",F=Array.from(w.querySelectorAll("a")).filter(P=>{if(!isVisible(P)||isHiddenFromAT(P))return false;let H=P.getAttribute("role");return H!=="menuitem"&&H!=="menuitemcheckbox"&&H!=="menuitemradio"});if(F.length===0)return;let L=uniqueSel(w);b.push({selector:L,attribute:"role",currentValue:_,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),reason:`${F.length} link(s) inside role="${_}" without menuitem roles`,sample:F.slice(0,3).map(P=>(P.textContent||"").trim().slice(0,40))}),message:`container role="${_}" holds ${F.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:w.outerHTML.slice(0,300)});}),b},gh={name:"missingRoles",cap:50,async detect(p){return p.evaluate(Y3)}};var K3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},g=C=>{let y=R=>{let S=R.tagName.toLowerCase(),D=R.parentElement;if(!D)return S;let T=Array.from(D.children).filter(E=>E.tagName===R.tagName);return T.length>1?`${S}:nth-of-type(${T.indexOf(R)+1})`:S},b=[],A=C;for(;A&&A!==document.body&&A!==document.documentElement;)b.unshift(y(A)),A=A.parentElement;return b.length?b.join(" > "):C.tagName.toLowerCase()};for(let[C,y]of Object.entries(m)){let b=Array.from(document.querySelectorAll(y));b=b.filter(A=>!A.closest(p)),b=b.filter(A=>typeof isVisible=="function"?isVisible(A):true),b=b.filter(A=>A.getAttribute("aria-hidden")!=="true"),!(b.length<2)&&b.forEach(A=>{if(v.length>=30||(A.getAttribute("aria-label")||"").trim()||(A.getAttribute("title")||"").trim())return;let R=A.getAttribute("aria-labelledby");if(R&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(R))return;let S=typeof uniqueSel=="function"?uniqueSel(A):g(A),D=typeof getNearbyContext=="function"?getNearbyContext(A):{nearbyHeading:""},T=A.querySelector("h1, h2, h3, h4, h5, h6"),E=T?(T.textContent||"").trim().slice(0,60):"";v.push({selector:S,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${C} | total: ${b.length} | inner-heading: ${E} | nearby: ${D.nearbyHeading||""}`,needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});});}return v},vh={name:"multipleLandmarks",cap:30,async detect(p){return p.evaluate(K3)}};var J3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[g,C]of Object.entries(m))document.querySelectorAll(C).forEach(b=>{if(v.length>=30||b.closest(p)||typeof isVisible=="function"&&!isVisible(b))return;let A=b.parentElement,R=null;for(;A&&A!==document.body;){if(A.matches(C)){R=A;break}A=A.parentElement;}if((g==="banner"||g==="contentinfo")&&b.closest("article, section, aside, main, nav")||!R||b.getAttribute("aria-label")?.trim()||b.getAttribute("aria-labelledby")?.trim())return;let S=typeof uniqueSel=="function"?uniqueSel(b):"",D=typeof getNearbyContext=="function"?getNearbyContext(b):{nearbyHeading:""};v.push({selector:S,attribute:"role",currentValue:b.getAttribute("role")||b.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${g} | tag: ${b.tagName.toLowerCase()} | heading: ${D.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(b.outerHTML||"").slice(0,300)});});return v},bh={name:"nestedLandmarks",cap:30,async detect(p){return p.evaluate(J3)}};var Z3=()=>{let f=[],v=D=>typeof parseCssColor=="function"?parseCssColor(D):null,m=(D,T,E)=>typeof relLuminance=="function"?relLuminance(D,T,E):0,C=(D,T)=>typeof contrastRatio=="function"?contrastRatio(D,T):1;function y(D){let T=document.documentElement,E=D.parentElement,w=0;for(;E&&E!==T&&w<6;){let P=getComputedStyle(E).backgroundColor||"",H=v(P);if(H&&H[3]>.5)return [H[0],H[1],H[2]];E=E.parentElement,w++;}let _=document.body;if(E&&E!==T&&_&&_.contains(E)){let P=v(getComputedStyle(_).backgroundColor||"");if(P&&P[3]>.5)return [P[0],P[1],P[2]]}let F=v(getComputedStyle(T).backgroundColor||""),L=F?Math.min(F[3],1):0;return !F||L<=0?[255,255,255]:[Math.round(F[0]*L+255*(1-L)),Math.round(F[1]*L+255*(1-L)),Math.round(F[2]*L+255*(1-L))]}function b(D,T,E){return "#"+[D,T,E].map(w=>{let _=Math.max(0,Math.min(255,Math.round(w))).toString(16);return _.length===1?"0"+_:_}).join("")}function A(D,T,E){let w=m(T[0],T[1],T[2])>.5;return R(D,T,E,w)||R(D,T,E,!w)}function R(D,T,E,w){let _=0,F=1,L=null;for(let P=0;P<20;P++){let H=(_+F)/2,U=w?[D[0]*(1-H),D[1]*(1-H),D[2]*(1-H)]:[D[0]+(255-D[0])*H,D[1]+(255-D[1])*H,D[2]+(255-D[2])*H],V=[Math.round(U[0]),Math.round(U[1]),Math.round(U[2])];C(V,T)>=E?(L=V,F=H):_=H;}return L}let S=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let D of S){if(f.length>=30)break;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D))continue;let T=getComputedStyle(D),E=y(D),w=v(T.backgroundColor||""),_=v(T.borderTopColor||""),F=parseFloat(T.borderTopWidth||"0"),L=(T.borderTopStyle||"").toLowerCase(),P=F>0&&L!=="none"&&L!=="hidden",H=D.tagName.toLowerCase(),U=H==="input"||H==="select"||H==="textarea",V=P&&_&&_[3]>.5?C([_[0],_[1],_[2]],E):null,B=w&&w[3]>.5?C([w[0],w[1],w[2]],E):null,j=V===null&&B===null?null:Math.max(V??0,B??0),Z=null,N=false,z="";if(U)j!==null?(Z=j,j<3&&(N=true)):(N=true,Z=1);else {let Ie=false,Ue=document.createTreeWalker(D,4),Fe=Ue.nextNode();for(;Fe;){if((Fe.textContent||"").trim()&&Fe.parentElement&&isVisible(Fe.parentElement)){Ie=true;break}Fe=Ue.nextNode();}if(Ie)continue;let $t=Array.from(D.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),ra=new Map,Fo=gt=>{let kt=gt.getBoundingClientRect();if(kt.width*kt.height===0)return "absent";let Gt=parseFloat(getComputedStyle(D).opacity||"1");for(let ft=gt;ft&&ft!==D;ft=ft.parentElement){let rr=getComputedStyle(ft);if(rr.display==="none")return "absent";if(rr.visibility==="hidden"||parseFloat(rr.opacity||"1")===0)return "hidden-at-rest";Gt*=parseFloat(rr.opacity||"1");}return ra.set(gt,Gt),"painted"},dr=$t.map(Fo),za=$t.filter((gt,kt)=>dr[kt]==="painted"),aa=za.length>0,zt=!aa&&dr.includes("hidden-at-rest"),Pt=gt=>{let kt=(gt.tagName||"").toLowerCase();if(kt==="img"||kt==="picture"||kt==="canvas"||kt==="svg"&>.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Gt=[];if(kt==="svg"){let rr=gt.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let vt of [rr,gt]){if(!vt)continue;let bt=getComputedStyle(vt),na=1;for(let Wt=vt;Wt&&Wt!==gt;Wt=Wt.parentElement||Wt.parentNode)na*=parseFloat(getComputedStyle(Wt).opacity||"1");let Je=Wt=>Number.isFinite(parseFloat(Wt))?parseFloat(Wt):1;if(bt.fill&&bt.fill!=="none"&&!bt.fill.startsWith("url")&&Gt.push({color:bt.fill,alpha:na*Je(bt.fillOpacity)}),bt.stroke&&bt.stroke!=="none"&&!bt.stroke.startsWith("url")&&parseFloat(bt.strokeWidth||"0")>0&&Gt.push({color:bt.stroke,alpha:na*Je(bt.strokeOpacity)}),Gt.length)break}}else ((gt.textContent||"").trim()||getComputedStyle(gt,"::before").content!=="none")&&Gt.push({color:getComputedStyle(gt).color,alpha:1});let ft=null;for(let rr of Gt){let vt=v(rr.color);if(!vt)continue;let bt=vt[3]*rr.alpha*(ra.get(gt)??1),na=[vt[0]*bt+E[0]*(1-bt),vt[1]*bt+E[1]*(1-bt),vt[2]*bt+E[2]*(1-bt)],Je=C(na,E);(ft===null||Je>ft)&&(ft=Je);}return ft};if(aa&&za.map(Pt).some(kt=>kt!==null&&kt>=3))continue;let Rr=false,ye=T.position;if((ye==="absolute"||ye==="fixed")&&D.parentElement){let gt=D.getBoundingClientRect(),kt=D.parentElement.getBoundingClientRect(),Gt=kt.width*kt.height;Gt>0&>.width*gt.height/Gt>=.85&&(Rr=true);}if(aa||Rr||zt){if(N=true,Z=P&&_&&_[3]>.5?C([_[0],_[1],_[2]],E):1,Z>=3)continue;z=aa?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":zt?"control is identified by an icon that is transparent until hover/focus \u2014 verify the revealed icon has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else j!==null?(Z=j,j<3&&(N=true)):(N=true,Z=1);}if(!N)continue;let X=_&&_[3]>.5?[_[0],_[1],_[2]]:w&&w[3]>.5?[w[0],w[1],w[2]]:[128,128,128],K=A(X,E,3);if(!K)continue;let ne=b(K[0],K[1],K[2]),re=b(E[0],E[1],E[2]),me="border: 1px solid "+ne+" !important;",se=uniqueSel(D),fe=D.tagName.toLowerCase(),ke=j===null&&!P?"invisible (no border, no fill: 1.00:1)":Z?Z.toFixed(2)+":1":"not measurable",He=fe==="input"||fe==="select"||fe==="textarea"?fe+" field":fe,Pe=z?"non-text contrast: "+He+" boundary is "+ke+" against "+re+" (needs 3:1) \u2014 "+z:"non-text contrast: "+He+" boundary (border and fill) is "+ke+" against "+re+", needs 3:1 \u2014 e.g. border-color "+ne;f.push({selector:se,message:Pe,attribute:"style",currentValue:Z?Z.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:fe+" bg="+re+" ratio="+(Z?Z.toFixed(2):"?")+" needs=3",needsAI:false,...z?{needsReview:true,reviewReason:z}:{fixValue:me},outerHtml:D.outerHTML.slice(0,200)});}return f},yh={name:"nonTextContrast",cap:30,async detect(p){return p.evaluate(Z3)}};var Q3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,g=document.querySelectorAll("[onfocus]");for(let C of Array.from(g)){if(v.length>=20)break;if(C.closest(p))continue;let y=C.getAttribute("onfocus")||"";if(!y||!m.test(y))continue;let b=typeof uniqueSel=="function"?uniqueSel(C):"",A=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("tag: "+C.tagName.toLowerCase()),R.push("onfocus: "+y.slice(0,100)),A.nearbyHeading&&R.push("heading: "+A.nearbyHeading),R.push("parent: "+A.parentTag),v.push({selector:b,attribute:"onfocus",currentValue:y.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:R.join(" | "),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}return v},wh={name:"onFocus",cap:20,async detect(p){return p.evaluate(Q3)}};var eI=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",m=[],g=new Set,C=new Set(["dialog","alertdialog","menu","menubar","listbox","tree","grid","treegrid","tabpanel","application","toolbar","combobox"]);return document.querySelectorAll("div, section, article, aside, pre, code, ul, ol, nav, blockquote").forEach(b=>{if(m.length>=30||b.closest(p))return;let A=b.tagName;if(A==="BODY"||A==="HTML"||!isVisible(b)||isHiddenFromAT(b)||b.hasAttribute("tabindex"))return;let R=b.getAttribute("role");if(R&&C.has(R))return;let S=getComputedStyle(b),D=S.overflowY,T=S.overflowX,E=D==="auto"||D==="scroll",w=T==="auto"||T==="scroll";if(!E&&!w)return;let _=E&&b.scrollHeight-b.clientHeight>50,F=w&&b.scrollWidth-b.clientWidth>50;if(!_&&!F||b.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let P=uniqueSel(b);if(g.has(P))return;g.add(P);let{nearbyHeading:H}=getNearbyContext(b),U="";if(H)U=H;else {let j=(typeof b.className=="string"?b.className:"").toLowerCase(),Z=(b.id||"").toLowerCase();j.includes("code")||j.includes("snippet")||A==="PRE"||A==="CODE"?U="Code block":j.includes("terms")||j.includes("tos")||j.includes("legal")?U="Terms and conditions":j.includes("chat")||j.includes("message")?U="Chat messages":j.includes("table")||j.includes("data")?U="Data table":Z?U=Z.replace(/[-_]/g," "):U="Scrollable content";}let V=(b.outerHTML||"").slice(0,300);m.push({selector:P,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),overflowY:E?D:void 0,overflowX:w?T:void 0,scrollHeight:b.scrollHeight,clientHeight:b.clientHeight,scrollWidth:b.scrollWidth,clientWidth:b.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:V}),R||m.push({selector:P,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:V}),b.getAttribute("aria-label")||b.getAttribute("aria-labelledby")||m.push({selector:P,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:A.toLowerCase(),labelHint:U,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:V});}),m},xh={name:"scrollableFocus",cap:30,async detect(p){return p.evaluate(eI)}};var tI=()=>{let p="[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-"],m=[],g=document.querySelectorAll("b, i");for(let C=0;C<g.length&&!(m.length>=30);C++){let y=g[C];if(y.closest(p)||y.getAttribute("aria-hidden")==="true"||y.parentElement&&y.parentElement.closest("strong, em"))continue;let b=y.className&&typeof y.className=="string"?y.className.toLowerCase():"";if(b){let T=false;for(let E=0;E<v.length;E++)if(b.indexOf(v[E])!==-1){T=true;break}if(T)continue}let A=(y.textContent||"").trim();if(!A)continue;let R=y.tagName.toLowerCase(),S=R==="b"?"strong":"em",D=uniqueSel(y);m.push({selector:D,attribute:"tagName",currentValue:R,fixValue:S,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+R+'> used for "'+A.slice(0,60)+'". Replace with <'+S+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:y.outerHTML.slice(0,300)});}return m},Dh={name:"semanticEmphasis",cap:30,async detect(p){return p.evaluate(tI)}};var rI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",f=[],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"]'],m=false;for(let D of v){let T=document.querySelector(D);if(T&&!T.closest(p)){m=true;break}}if(!m){let D=document.querySelectorAll('a[href^="#"]');for(let T of D){if(T.closest(p))continue;let E=(T.textContent||"").toLowerCase();if(E.includes("skip")&&(E.includes("main")||E.includes("content")||E.includes("nav"))){m=true;break}}}if(m||Array.from(document.querySelectorAll('main, [role="main"]')).filter(D=>{let T=getComputedStyle(D);if(T.display==="none"||T.visibility==="hidden"||D.closest('[hidden], [aria-hidden="true"]'))return false;let E=D.getBoundingClientRect();return E.width>0&&E.height>0}).length===1)return f;let C="",y=document.querySelector('main[id], [role="main"][id]');if(y&&y.getAttribute("id"))C=y.getAttribute("id");else {let D=document.querySelector("h1[id]");if(D&&D.getAttribute("id"))C=D.getAttribute("id");else {let T=["main-content","maincontent","main","content","skip-content"];for(let E of T)if(document.getElementById(E)){C=E;break}}}let b=C==="",A=C||"main-content",S="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+A+'" class="wa-skip-link">Skip to main content</a>';return f.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:b?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+A,needsAI:false,fixValue:S,...b?{manualFix:true}:{}}),f},Ah={name:"skipLink",async detect(p){return p.evaluate(rI)}};var aI=()=>{let v=[],m=document.querySelectorAll("*"),g=0;for(let C of Array.from(m)){if(g++>5e3||v.length>=20)break;if(C.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(C))continue;let b=getComputedStyle(C).backgroundImage||"";if(!b||b==="none"||!b.includes("url("))continue;let A=b.match(/url\((['"]?)(.*?)\1\)/);if(!A)continue;let R=A[2];if(!R||R.startsWith("data:")&&R.length<256)continue;let S=C.getBoundingClientRect();if(S.width<32||S.height<32)continue;let D=C.tagName.toLowerCase(),T=C.getAttribute("role")||"",E=D==="a"||D==="button"||T==="button"||T==="link"||C.closest("a,button,[role=button],[role=link]")!==null,w=(C.textContent||"").trim().length>0,_=!!C.getAttribute("aria-label"),F=!!C.getAttribute("aria-labelledby"),L=!!C.getAttribute("title"),P=!!C.querySelector('img[alt]:not([alt=""])');if(C.closest('[aria-hidden="true"]')){let j=C.closest("a[href]");if(!!j&&Array.from(document.querySelectorAll("a[href]")).some(N=>N!==j&&N.href===j.href&&!N.closest('[aria-hidden="true"]')))continue}if(_||F||L||P||w||!E)continue;let H=C.closest("a,button,[role=button],[role=link]");if(H&&H!==C){let j=(H.textContent||"").trim(),Z=H.getAttribute("aria-label")||H.getAttribute("title")||"",N=H.getAttribute("aria-labelledby"),z=!!H.querySelector('img[alt]:not([alt=""])');if(j||Z.trim()||N||z)continue}let U=R;try{U=new URL(R,location.href).toString();}catch{continue}let V=typeof uniqueSel=="function"?uniqueSel(C):"",B=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:D,nearbyHeading:""};v.push({selector:V,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${U.slice(0,140)} | tag: ${D} | role: ${T||"(none)"} | parent: ${B.parentTag}${B.nearbyHeading?" | heading: "+B.nearbyHeading:""}`,needsAI:true,imageSrc:U,outerHtml:(C.outerHTML||"").slice(0,300)});}return v},_h={name:"backgroundImages",cap:20,async detect(p){return p.evaluate(aI)}},nI=()=>{let p=[],f=Array.from(document.querySelectorAll("h1")),v=f.filter(m=>{if(m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||m.getClientRects().length===0)return false;let g=getComputedStyle(m).visibility;return g==="hidden"||g==="collapse"?false:(m.textContent||"").trim().length>0});if(v.length===0)p.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${f.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(v.length>1)for(let m=1;m<v.length&&m<5;m++){let g=v[m],C=typeof uniqueSel=="function"?uniqueSel(g):"";p.push({selector:C,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${v.length} <h1> elements on page. Text: ${JSON.stringify((g.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(g.outerHTML||"").slice(0,200)});}return p},Eh={name:"h1Presence",async detect(p){return p.evaluate(nI)}},iI=()=>{let f=[],v=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let m of Array.from(v)){if(f.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m)||(m.textContent||"").trim().length>0)continue;let C=m.getAttribute("aria-label");if(C&&C.trim()||m.getAttribute("aria-labelledby")||m.getAttribute("aria-hidden")==="true")continue;let y=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:y,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${m.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Ch={cap:15,name:"emptyHeadings",async detect(p){return p.evaluate(iI)}},oI=()=>{let f=[],v=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let m of Array.from(v)){if(f.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m))continue;let g=(m.getAttribute("role")||"").toLowerCase();if(g==="button")continue;let C=(m.textContent||"").trim();if(!C)continue;let y=typeof uniqueSel=="function"?uniqueSel(m):"";f.push({selector:y,attribute:"role",currentValue:g||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(C.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(m.outerHTML||"").slice(0,200)});}return f},Sh={cap:15,name:"javascriptLinks",async detect(p){return p.evaluate(oI)}};var sI=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[];return document.querySelectorAll("svg").forEach(g=>{if(v.length>=50||g.closest(p)||!isVisible(g)||g.getAttribute("aria-hidden")==="true")return;let y=g.getAttribute("role");if(y==="presentation"||y==="none"||g.closest('[aria-hidden="true"]'))return;let b=g.getAttribute("aria-label")||"",A=g.getAttribute("aria-labelledby")||"",R=g.querySelector("title"),S=R?(R.textContent||"").trim():"";if(b.trim()||A.trim()||S)return;let D=g.getBoundingClientRect(),T=D.width<=16&&D.height<=16;if(D.width<=4||D.height<=4||g.getAttribute("preserveAspectRatio")==="none")return;let E=g.closest('a, button, [role="button"], [role="link"], [onclick]');if(E){if(E.getAttribute("aria-label")?.trim()||E.getAttribute("aria-labelledby")?.trim())return;let Z=getAccessibleName(E),N=E.cloneNode(true);N.querySelectorAll("svg").forEach(X=>X.remove());let z=(N.textContent||"").trim().replace(/\s+/g," ");if(Z&&z.length>0)return}else {if(T)return;let Z=g.parentElement;if(Z&&(Z.textContent||"").trim().replace(/\s+/g," ").length>3)return}let w=uniqueSel(g),_=getNearbyContext(E||g),F=E&&E.getAttribute("href")||"",L=(E||g).outerHTML.slice(0,300),P=g.getAttribute("class")||"",H=g.getAttribute("data-icon")||"",U=E||g,V=U&&U!==g&&U.getAttribute("class")||"",B=typeof lookupIconLabel=="function"?lookupIconLabel(String(P),H,"")||lookupIconLabel(String(V),"",""):null,j=E?uniqueSel(E):w;v.push({selector:j,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(E||g).tagName?(E||g).tagName.toLowerCase():"svg",href:F,nearbyHeading:_.nearbyHeading,parentRole:_.parentRole,svgClasses:P,iconLib:B||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!B,fixValue:B||void 0,outerHtml:L});}),v},kh={name:"svgNames",cap:50,async detect(p){return p.evaluate(sI)}};var lI=()=>{let v=[],m=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),g=m;function C(A,R){let S=Array.from(A.getClientRects()).filter(w=>w.height>0);if(!S.length)return false;let D=document.createTreeWalker(R,NodeFilter.SHOW_TEXT),T,E=0;for(;(T=D.nextNode())&&E<400;){E++;let w=T.parentElement;if(!w||A.contains(T)||!/[\p{L}\p{N}]{2,}/u.test(T.textContent||"")||w.closest(g))continue;let _=document.createRange();_.selectNodeContents(T);for(let F of Array.from(_.getClientRects()))if(!(F.width===0||F.height===0)){for(let L of S)if(Math.min(L.bottom,F.bottom)-Math.max(L.top,F.top)>Math.min(L.height,F.height)/2)return true}}return false}let y=document.querySelectorAll(m),b=[];for(let A of y){if(typeof isWidget=="function"&&isWidget(A)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(A)||typeof isVisible=="function"&&!isVisible(A)||!A.offsetParent&&A.tagName!=="BODY")continue;let R=A.getBoundingClientRect();R.width===0&&R.height===0||b.push({el:A,rect:R});}for(let{el:A,rect:R}of b){if(v.length>=50)break;let S=R.width,D=R.height;if(S>=24&&D>=24)continue;let T=A.parentElement;if(T&&getComputedStyle(A).display==="inline"){if(Array.from(T.childNodes).some(Z=>Z.nodeType===3&&(Z.textContent||"").trim().length>3))continue;let j=T;for(;j&&j!==document.body&&getComputedStyle(j).display.startsWith("inline");)j=j.parentElement;if(j&&C(A,j))continue}let E=false,w=R.left+R.width/2,_=R.top+R.height/2;for(let B of b){if(B.el===A||B.el.contains(A)||A.contains(B.el))continue;if(B.rect.width<24||B.rect.height<24){let Z=B.rect.left+B.rect.width/2,N=B.rect.top+B.rect.height/2;if(Math.hypot(w-Z,_-N)<24){E=true;break}}else {let Z=Math.max(B.rect.left-w,0,w-B.rect.right),N=Math.max(B.rect.top-_,0,_-B.rect.bottom);if(Math.hypot(Z,N)<12){E=true;break}}}if(!E&&S>=1&&D>=1)continue;let L=Math.max(0,24-D),H=Math.ceil(L/2),U=[];U.push("min-width:24px"),U.push("min-height:24px"),U.push("display:inline-block"),U.push("box-sizing:border-box"),H>0&&U.push("padding-top:"+H+"px"),H>0&&U.push("padding-bottom:"+H+"px");let V=typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase();v.push({selector:V,attribute:"style",currentValue:Math.round(S)+"x"+Math.round(D)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${A.tagName.toLowerCase()} is ${Math.round(S)}x${Math.round(D)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:U.join(";")+";",outerHtml:A.outerHTML.slice(0,200)});}return v},Th={name:"targetSize",cap:50,async detect(p){return p.evaluate(lI)}};var uI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,g=document.querySelectorAll('[style*="important" i]');for(let C of Array.from(g)){if(v.length>=30)break;if(C.closest(p))continue;let y=C.getAttribute("style")||"";if(!m.test(y))continue;let b=[];/line-height\s*:[^;!]*!important/i.test(y)&&b.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(y)&&b.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(y)&&b.push("word-spacing");let A=typeof uniqueSel=="function"?uniqueSel(C):"",R=typeof getNearbyContext=="function"?getNearbyContext(C):{parentTag:C.tagName.toLowerCase(),nearbyHeading:""},S=[];S.push("blocked: "+b.join(",")),S.push("tag: "+C.tagName.toLowerCase()),R.nearbyHeading&&S.push("heading: "+R.nearbyHeading),S.push("parent: "+R.parentTag),v.push({selector:A,attribute:"style",currentValue:y.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:S.join(" | "),needsAI:true,outerHtml:(C.outerHTML||"").slice(0,300)});}return v},Fh={name:"textSpacing",cap:30,async detect(p){return p.evaluate(uI)}};var cI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let g of m){if(v.length>=50)break;if(g.closest(p)||!isVisible(g))continue;let C=g,y=(C.getAttribute("aria-label")||"").trim(),b=C.getAttribute("aria-labelledby"),A=(C.getAttribute("title")||"").trim(),R=(C.getAttribute("value")||"").trim(),S=(C.textContent||"").trim().replace(/\s+/g," "),D="";b&&(D=typeof __resolveIdRefs=="function"?__resolveIdRefs(b):"");let T=C.querySelector('img[alt]:not([alt=""])'),E=C.querySelector("svg title"),w=C.querySelector("svg[aria-label]");if(!!(y||D||A||R||S||T||E||w))continue;let F=uniqueSel(C),L=getNearbyContext(C),P=C.closest("form"),H=P&&(P.getAttribute("id")||P.getAttribute("name"))||"",U=C.className||"",V=C.querySelector('i, svg, span[class*="icon"]'),B=V&&V.className||"",j=V&&V.getAttribute("data-icon")||"",Z=V?(V.textContent||"").trim():"",N=typeof lookupIconLabel=="function"?lookupIconLabel(String(B),j,Z):null,z=!N&&typeof lookupIconLabel=="function"?lookupIconLabel(String(U),"",""):null,X=N||z,K=[];H&&K.push("form: "+H),L.nearbyHeading&&K.push("heading: "+L.nearbyHeading),B&&K.push("icon: "+String(B).slice(0,80)),U&&K.push("class: "+String(U).slice(0,80)),K.push("parent: "+L.parentTag),X&&K.push("icon-lib: "+X),v.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:K.join(" | "),needsAI:!X,fixValue:X||void 0,outerHtml:C.outerHTML.slice(0,300)});}return v},Rh={name:"unlabeledButtons",cap:50,async detect(p){return p.evaluate(cI)}};var dI=()=>{let p=new Set(ALWAYS_VAGUE_WORDS),f=new Set(CONTEXT_VAGUE_WORDS),v={};function m(B,j){if(isWidget(B)||!isVisible(B))return;let Z=getAccessibleName(B);if(!Z)return;let N=(j?"b:":"a:")+Z.toLowerCase().trim();v[N]=(v[N]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(B=>m(B,true)),document.querySelectorAll("a[href]").forEach(B=>m(B,false));let g=isIconClassToken,C=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function y(B,j){return C.test(B)?1:j}let b=50,A=[];function R(B){if((B.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let Z=B.querySelectorAll("i, span, em");for(let N of Z)if((typeof N.className=="string"?N.className:"").split(/\s+/).some(g))return true;return false}function S(B){let j=B.className||"";return typeof j!="string"?false:j.split(/\s+/).some(g)}function D(B,j){if(A.length>=b||isWidget(B)||!isVisible(B))return;let Z=getAccessibleName(B);if(!Z)return;let N=Z.toLowerCase().trim(),z=false,X=Z.length>=2&&/^[A-Z][A-Z0-9]+$/.test(Z.trim()),K=!j&&/^[[(]?\d{1,4}[\])]?$/.test(Z.trim());if(Z.length<y(Z,3)&&!X&&!K)z=true;else if(p.has(N))z=true;else if(f.has(N)&&(v[(j?"b:":"a:")+N]||0)>=2){let fe=(B.getAttribute("aria-label")||"").trim().toLowerCase(),ke=!!B.getAttribute("aria-labelledby")||!!fe&&fe!==N,He=B.querySelector&&B.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),Pe=He?(He.textContent||"").trim().toLowerCase():"";!ke&&!(He&&Pe!==N)&&(z=true);}else (R(B)||S(B)&&Z.length===0)&&(B.getAttribute("aria-label")||B.getAttribute("aria-labelledby")||B.querySelector&&B.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(z=true));if(!z)return;let ne=getNearbyContext(B),re=uniqueSel(B),me=B.getAttribute("href")||"",se=B.outerHTML.slice(0,300);A.push({selector:re,attribute:"aria-label",currentValue:(B.getAttribute("aria-label")||"").trim(),message:(j?"weak button name: ":"weak link name: ")+(B.getAttribute("aria-label")||B.getAttribute("aria-labelledby")?`"${Z}" is too generic for a control \u2014 add distinguishing context`:`text "${Z}" is too generic for a control \u2014 add distinguishing context`),issueType:j?"weak_button_name":"weak_link_name",wcag:j?"4.1.2":"2.4.4",context:JSON.stringify({currentText:Z,href:me,nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag,parentRole:ne.parentRole,cardText:ne.cardText||"",imgAlt:ne.imgAlt||""}),needsAI:true,outerHtml:se});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(B=>D(B,true)),document.querySelectorAll("a[href]").forEach(B=>D(B,false));let T=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,E=/^(iframe|embed|widget|frame|content|untitled)$/i,w=/^(skip|go|→|\->|main|content)$/i,_=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function F(B){return !!(!B||B.getAttribute("aria-hidden")==="true"||B.closest('[aria-hidden="true"]'))}function L(B,j,Z,N,z,X){if(A.length>=b)return;let K=uniqueSel(B),ne=(B.outerHTML||"").slice(0,300);A.push({selector:K,attribute:j,currentValue:Z,issueType:N,wcag:z,context:JSON.stringify(X),needsAI:true,outerHtml:ne});}let P=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let B=0;B<P.length&&!(A.length>=b);B++){let j=P[B];if(!j||isWidget(j)||F(j)||!isVisible(j))continue;let Z=getAccessibleName(j);if(!Z)continue;let N=Z.toLowerCase().trim(),z=N.split(/\s+/).filter(Boolean),X=false;if((Z.length<y(Z,3)||z.length===1&&(p.has(N)||_.has(N))||/^page\s*\d+$/i.test(N)||/^section\s*\d+$/i.test(N)||/^chapter\s*\d+$/i.test(N)||/^[^\p{L}\p{N}]+$/u.test(Z))&&(X=true),!X)continue;let K=getNearbyContext(j);L(j,"textContent",Z,"weak_heading","2.4.6",{currentText:Z,tag:j.tagName.toLowerCase(),nearbyHeading:K.nearbyHeading,parentTag:K.parentTag,parentRole:K.parentRole});}let H=document.querySelectorAll("iframe");for(let B=0;B<H.length&&!(A.length>=b);B++){let j=H[B];if(!j||isWidget(j)||F(j))continue;let Z=getComputedStyle(j);if(j.getClientRects().length===0||Z.visibility==="hidden"||Z.visibility==="collapse"||(j.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let N=(j.getAttribute("title")||"").trim();if(!N)continue;let z=N.toLowerCase(),X=false;if((N.length<y(N,3)||E.test(z)||p.has(z))&&(X=true),!X)continue;let K=(j.getAttribute("src")||"").slice(0,120),ne=getNearbyContext(j);L(j,"title",N,"weak_iframe_title","4.1.2",{currentTitle:N,src:K,nearbyHeading:ne.nearbyHeading,parentTag:ne.parentTag});}if(A.length<b){let B=document.querySelector("head > title, title"),j=(document.title||"").trim();if(B&&j){let Z=j.toLowerCase(),N=false;(j.length<y(j,5)||T.test(Z)||/^untitled/i.test(j))&&(N=true),N&&A.push({selector:"title",attribute:"textContent",currentValue:j,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:j,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(B.outerHTML||"").slice(0,300)});}}let U=document.querySelectorAll("svg");for(let B=0;B<U.length&&!(A.length>=b);B++){let j=U[B];if(!j||isWidget(j)||F(j)||j.getAttribute("role")==="presentation"||j.getAttribute("role")==="none"||!isVisible(j))continue;let Z=j.querySelector("title"),N=Z?(Z.textContent||"").trim():"",z=(j.getAttribute("aria-label")||"").trim(),X=z||N;if(!X)continue;let K=X.toLowerCase(),ne=false;if((X.length<y(X,3)||p.has(K)||/^(icon|svg|image|graphic|logo)$/i.test(X))&&(ne=true),!ne)continue;let re=j.closest('a, button, [role="button"], [role="link"]'),me=getNearbyContext(j);L(j,z?"aria-label":"title",X,"weak_svg_name","1.1.1",{currentName:X,svgClasses:j.getAttribute("class")||"",parentTag:re?re.tagName.toLowerCase():me.parentTag,parentHref:re&&re.getAttribute("href")||"",nearbyHeading:me.nearbyHeading});}let V=document.querySelectorAll('a[href="#main"], a[href="#main-content"], a[href="#content"], a[href="#skip"], a[href="#maincontent"], a.skip-link, a.skip-nav, a.skip-to-content, a.skiplink, a.skip-navigation, [class*="skip-link"], [class*="skip-nav"]');for(let B=0;B<V.length&&!(A.length>=b);B++){let j=V[B];if(!j||isWidget(j)||F(j))continue;let Z=getAccessibleName(j);if(!Z)continue;let N=Z.toLowerCase().trim(),z=false;if((Z.length<y(Z,4)||w.test(N)||N==="skip"||N==="skip link"||N==="jump")&&(z=true),!z)continue;let X=j.getAttribute("href")||"";A.push({selector:uniqueSel(j),attribute:"textContent",currentValue:Z,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:Z,href:X}),needsAI:false,fixValue:"Skip to main content",outerHtml:(j.outerHTML||"").slice(0,300)});}return A},Ih={name:"weakNames",cap:50,async detect(p){return p.evaluate(dI)}};var fI=()=>{let f=[],v=document.querySelector('meta[name="viewport"]');if(v){let g=(v.getAttribute("content")||"").trim(),C=g.toLowerCase(),y=false,b=[];(C.indexOf("user-scalable=no")>=0||C.indexOf("user-scalable=0")>=0)&&(y=true,b.push("user-scalable=no blocks pinch-zoom"));let A=C.match(/maximum-scale\s*=\s*([\d.]+)/);A&&parseFloat(A[1])<2&&(y=true,b.push("maximum-scale="+A[1]+" (<2)")),y&&f.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:g,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+b.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let g=0;g<m.length&&!(f.length>=5);g++){let C=m[g];if(C.el)try{let b=(getComputedStyle(C.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(b==="none"||b==="pinch-zoom")&&f.push({selector:C.selector,attribute:"style",currentValue:"touch-action: "+b,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+b+" on <"+C.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return f},Lh={name:"zoomUnlock",cap:5,async detect(p){return p.evaluate(fI)}};var pI=()=>{let p=[],f=document.querySelectorAll('main *, [role="main"] *, body > div *'),v=new Set,m=Math.min(f.length,200);for(let g=0;g<m;g++){let C=f[g];if(v.has(C)||!C.offsetParent)continue;v.add(C);let y=getComputedStyle(C),b=parseInt(y.order||"0",10),A=y.position;if(b>=3){let R=C.getBoundingClientRect();if(R.width>0&&R.height>0){let S=(C.textContent?.trim().length||0)>10,D=!!C.querySelector("a, button, input, select, textarea");(S||D)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${b}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${b} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(A==="absolute"){if(!!!C.querySelector("a, button, input, select, textarea"))continue;let S=C.parentElement;if(!S||S.children.length<=2)continue;let D=C.getBoundingClientRect(),T=S.getBoundingClientRect();(D.top<T.top-100||D.left<T.left-300)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${A}, displaced ${Math.round(Math.abs(D.top-T.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return p},Mh={name:"meaningfulSequence",async detect(p){return p.evaluate(pI)}};var Ph={name:"sensoryCharacteristics",async detect(p){let f=await p.evaluate(()=>{let m=[],g=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),C=Math.min(g.length,300);for(let y=0;y<C;y++){let b=g[y];if(!b.offsetParent||b.children.length>3)continue;let A=b.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)&&m.push({text:A,selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase()});}return m.slice(0,20)});if(f.length===0)return [];let v=[];for(let{text:m,selector:g}of f){m.toLowerCase();let y=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(m)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(m),b=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(m)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m),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(m)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(m),R=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m);if(y||b||A||R){let S=y?"shape":b?"position":A?"color":"size";v.push({selector:g,attribute:"data-sensory-review",currentValue:m.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${S} alone: "${m.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return v}};var mI=()=>{let p=[];for(let f of document.styleSheets)try{for(let v of f.cssRules)if(v instanceof CSSMediaRule){let m=v.conditionText||v.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(m))for(let g of v.cssRules){let C=g.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(C)&&p.push({selector:"html",attribute:"data-orientation-lock",currentValue:m,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${m}" hides or rotates content. Content must not be restricted to a single orientation.`,needsAI:!1,fixValue:"Remove orientation-dependent display:none/visibility:hidden rules"});}}}catch{}return p},Oh={name:"orientation",async detect(p){return p.evaluate(mI)}};var hI=()=>{let p=[],f=document.querySelectorAll("img");for(let v of f){if(!v.offsetParent||v.width<50||v.height<20||v.complete&&v.naturalWidth===0)continue;let m=v.src||v.getAttribute("data-src")||"",g=m.indexOf(","),C=(m.toLowerCase().startsWith("data:")&&g!==-1?m.slice(0,g):m).toLowerCase(),y=v.getAttribute("alt")||"",b=v.getAttribute("role")||"";if(v.getAttribute("aria-hidden")==="true"||!!v.closest('[aria-hidden="true"]')||b==="presentation"||b==="none"||v.hasAttribute("alt")&&y.trim()==="")continue;let R=v.width>200&&v.height<80&&v.height>15,S=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(C);if(!(S||R)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(C)&&!S)continue;let T=v.closest("a[href]"),E=(()=>{if(!T)return false;let V=T.getAttribute("href")||"";if(V==="/"||V==="")return true;try{let B=new URL(T.href,location.href);return B.origin!==location.origin?!1:!!(B.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(B.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(B.pathname))}catch{return false}})();if(E&&(T.textContent||"").trim().length===0)continue;let _="";if(T&&!E&&(T.textContent||"").trim().length===0)try{let V=new URL(T.href,location.href),B=y.trim().split(/\s+/).filter(Boolean);if(V.origin!==location.origin&&/^https?:$/.test(V.protocol)&&B.length>0&&B.length<=4&&y.trim().length<=40){let j=K=>K.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),Z=j(y),N=V.hostname.toLowerCase().split(".").filter(K=>K&&K!=="www"),z=(N.length>1?N.slice(0,-1):N).map(j).filter(Boolean);_=Z.length>=3&&(Z===j(N.join(""))||Z===z.join("")||z.some(K=>Z===K||K.length>=5&&Z.startsWith(K)))?"exempt":"review";}}catch{}let F=!!v.closest('header, [role="banner"], footer, [role="contentinfo"]'),L=v.height>0&&v.height<=120,P=F&&L,H=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,U=P||H.test(C)||H.test(v.className)||H.test(v.id||"");C.includes("icon")||C.includes("avatar")||C.includes("emoji")||p.push({selector:typeof uniqueSel=="function"?uniqueSel(v):"img",attribute:"data-image-of-text",currentValue:C.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="${y.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:v.src,...U||_?{needsReview:true,reviewReason:P?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":_==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":_==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return p},Nh={name:"imagesOfText",async detect(p){return p.evaluate(hI)}};var qh={name:"reflow",async detect(p){let f=p;if(!f.setViewport)return [];let v=f.viewport?.()??{width:1280,height:720},m=v.width??1280,g=v.height??720;try{return await f.setViewport({width:320,height:g}),await new Promise(y=>setTimeout(y,500)),await p.evaluate(y=>{let b=[],A=document.querySelectorAll("body *"),R=Math.min(A.length,500);for(let S=0;S<R;S++){let D=A[S];if(!D.offsetParent)continue;let T=D.tagName.toLowerCase();if(T==="script"||T==="style"||T==="noscript")continue;let E=D.getBoundingClientRect();E.right>y+5&&E.width>y*1.1&&b.push({selector:typeof uniqueSel=="function"?uniqueSel(D):T,attribute:"style",currentValue:`${Math.round(E.width)}px wide at ${y}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(E.width)}px wide and overflows the ${y}px viewport by ${Math.round(E.right-y)}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>y+10&&b.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${y}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${y}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),b},320)}finally{await f.setViewport({width:m,height:g}).catch(()=>{});}}};var gI=()=>{let p=[],f=document.querySelectorAll("video");for(let m of f){if(m.autoplay&&!m.muted&&p.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 C=m.getBoundingClientRect();if(C.width===0&&C.height===0||m.error)continue;let y=/mute|unmute|sound|volume|audio|play|pause/i,b=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let E=m.parentElement?.parentElement||null,w=0;E&&!b&&w<3;E=E.parentElement,w++)b=Array.from(E.querySelectorAll('button, [role="button"]')).some(_=>y.test((_.getAttribute("aria-label")||"")+" "+(_.getAttribute("title")||"")+" "+(_.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!b)continue;let A=m.querySelectorAll("track"),R=Array.from(A).find(E=>E.kind==="captions"||E.kind==="subtitles"),S=Array.from(A).find(E=>E.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let T=typeof uniqueSel=="function"?uniqueSel(m):"video";R||p.push({selector:T,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),S||p.push({selector:T,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let v=document.querySelectorAll("audio");for(let m of v){let g=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||p.push({selector:g,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&&p.push({selector:g,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return p},Bh={name:"mediaAlternatives",cap:50,async detect(p){return (await p.evaluate(gI)).slice(0,50)}};var vI=()=>{let p=[],f=document.querySelector('meta[http-equiv="refresh"]');if(f){let F=f.getAttribute("content")||"",L=parseInt(F,10);!isNaN(L)&&L>0&&L<72e3&&p.push({selector:`meta[http-equiv="refresh"][content*="${F.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:F,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${L}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let v=document.querySelectorAll("[accesskey]");for(let F of v){let L=F.getAttribute("accesskey")||"";if(L.length===1){let P=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();p.push({selector:P,attribute:"accesskey",currentValue:L,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${L}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let m=document.querySelectorAll("select");for(let F of m){let L=F.hasAttribute("onchange"),P=F.getAttribute("onchange")||"";if(L&&/submit|location|href|navigate|window\./i.test(P)){let H=typeof uniqueSel=="function"?uniqueSel(F):"select";p.push({selector:H,attribute:"onchange",currentValue:P.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 g=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let F of g)if(!(F.hasAttribute("onclick")||F.hasAttribute("onkeydown")||F.hasAttribute("onkeyup"))){let P=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();p.push({selector:P,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 C=document.querySelectorAll("[onmousedown]");for(let F of C){let L=F.hasAttribute("onmouseup"),P=F.tagName.toLowerCase();if(!L&&P!=="a"&&P!=="button"&&P!=="input"){let H=typeof uniqueSel=="function"?uniqueSel(F):P;p.push({selector:H,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let y=document.querySelectorAll("script:not([src])");for(let F of y){let L=F.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(L)){p.push({selector:"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let b=document.querySelectorAll("form"),A='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',R=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,S=/card|payment/i,D=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,T=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,E=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,w=/\b(?:save|update|change)\b/i,_=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let F of b){let L=Array.from(F.querySelectorAll(A)),P=Ie=>[Ie.getAttribute("name"),Ie.id,Ie.getAttribute("autocomplete"),Ie.getAttribute("placeholder"),Ie.getAttribute("aria-label")].join(" "),H=Array.from(F.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(Ie=>Ie.tagName!=="BUTTON"||!Ie.getAttribute("type")||(Ie.getAttribute("type")||"").toLowerCase()==="submit").map(Ie=>(Ie.getAttribute("value")||"")+" "+(Ie.textContent||"")+" "+(Ie.getAttribute("aria-label")||"")).join(" . "),U=L.some(Ie=>R.test(P(Ie)))||Array.from(F.querySelectorAll("iframe")).some(Ie=>S.test((Ie.getAttribute("title")||"")+" "+(Ie.getAttribute("name")||""))),V=L.some(Ie=>/signature/i.test(P(Ie))),B=U||D.test(H),j=T.test(H),Z=V||E.test(H),N=L.length>0&&L.some(Ie=>(Ie.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(P(Ie)))&&L.every(Ie=>{let Ue=Ie.tagName.toLowerCase()==="input"?(Ie.getAttribute("type")||"text").toLowerCase():Ie.tagName.toLowerCase();return Ue==="email"||Ue==="checkbox"||Ue==="tel"?true:Ue==="text"||Ue==="search"?_.test(P(Ie)+" "+(Ie.closest("label")?.textContent||"")):false}),z=(F.textContent||"").toLowerCase(),X=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(z),K=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(z),ne=/delete.*account|remove.*data|cancel.*account/i.test(z),re=B||j||Z,me=N&&(w.test(H)||ne),se=!re&&(!N&&(X||K||ne)||me);if(!re&&!se)continue;let fe=!!F.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),ke=!!F.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(fe||ke)continue;let He=typeof uniqueSel=="function"?uniqueSel(F):"form",Pe=re?B?"financial":j?"data-deletion":"legal":me?ne?"data-deletion":"data-modification":X?"financial":K?"legal":"data-deletion";p.push({selector:He,attribute:"data-error-prevention",currentValue:Pe,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${Pe.charAt(0).toUpperCase()+Pe.slice(1)} form lacks a confirmation/review step. For ${Pe} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...se?{needsReview:true,reviewReason:me&&ne?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":me?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${Pe} topics but its controls show no ${Pe} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return p},Hh={name:"timingAndInput",async detect(p){return p.evaluate(vI)}};var bI=()=>{let p=[],f=_=>_.replace(/\/$/,"").replace(/\.html?$/,""),v=f(location.pathname),m=new Set;for(let _ of Array.from(document.querySelectorAll("a[href]"))){let F;try{F=new URL(_.getAttribute("href")||"",location.href);}catch{continue}F.origin!==location.origin||f(F.pathname)===v||/\.(pdf|zip|docx?|xlsx?|pptx?|png|jpe?g|gif|svg|mp4|mp3)$/i.test(F.pathname)||m.add(f(F.pathname));}let g=5,C=!!document.querySelector('nav, [role="navigation"]')||m.size>=g,b=Array.from(document.querySelectorAll('button, a[href], [role="button"], [role="link"], [role="searchbox"], [role="combobox"]')).some(_=>{let F=_.cloneNode(true);return F.querySelectorAll("kbd").forEach(P=>P.remove()),[_.getAttribute("aria-label")||"",_.getAttribute("title")||"",F.textContent||""].some(P=>/^\s*(quick\s+|site\s+)?search(\s*(\u2026|\.\.\.)|\s+(docs|documentation|the site|this site))?\s*$/i.test(P))})||!!document.querySelector('input[type="search"], [role="search"], search, form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),A=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),R=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),S=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),D=[C,b,A,R,S].filter(Boolean).length;if(D<2&&document.querySelectorAll("a[href]").length>20){let _=[];b||_.push("search"),A||_.push("sitemap link"),R||_.push("breadcrumbs");let F=m.size<g;p.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${D} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${D} way(s) to navigate and links to ${m.size} other page(s) on this site. WCAG requires multiple ways to locate pages in a set (e.g., navigation + search, or navigation + sitemap). Consider adding: ${_.join(", ")}.`,needsAI:false,fixValue:`Add ${_[0]||"additional navigation method"}`,...F?{needsReview:true,reviewReason:`links to only ${m.size} other page(s) on this site \u2014 may be a single-page site, which 2.4.5 (a set of pages) does not cover`}:{}});}let T=document.querySelectorAll('nav, [role="navigation"]');for(let _ of T){if(!_.offsetParent||_.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||_.parentElement?.closest('nav, [role="navigation"]'))continue;let F=_.getBoundingClientRect();if(F.top<=window.innerHeight)continue;let L=typeof uniqueSel=="function"?uniqueSel(_):"nav";p.push({selector:L,attribute:"data-nav-position",currentValue:`top: ${Math.round(F.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let E=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let _ of E){if(!_.offsetParent)continue;let F=_.getBoundingClientRect();if(F.width<1||F.height<1||!(_.textContent||"").trim()&&!_.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(_).backgroundImage==="none")continue;let L=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();p.push({selector:L,attribute:"data-flashing",currentValue:_.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 w=document.querySelectorAll('img[src*=".gif"]');for(let _ of w){if(!_.offsetParent||_.width<25||_.height<25)continue;let F=_.getBoundingClientRect();if(F.width>100&&F.height>100){let L=typeof uniqueSel=="function"?uniqueSel(_):"img";p.push({selector:L,attribute:"data-animated-gif",currentValue:(_.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 p},Vh={name:"navigationAndWayfinding",async detect(p){return p.evaluate(bI)}};var jh={name:"flashDetection",async detect(p){let f=[];if(!p.screenshot)return f;let m=await p.evaluate(()=>{let S=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(S){let D=document.querySelectorAll("*");for(let T of D)T.style.removeProperty("animation-play-state"),T.style.removeProperty("transition");}return S}),g=8,C=120,y=9,b=3,A=[];for(let R=0;R<g;R++){let S=await p.evaluate(D=>{let T=window.innerWidth,E=window.innerHeight,w=3,_=3,F=[];for(let L=0;L<_;L++)for(let P=0;P<w;P++){let H=Math.floor((P+.5)*(T/w)),U=Math.floor((L+.5)*(E/_)),V=document.elementFromPoint(H,U);if(!V){F.push(0);continue}let j=getComputedStyle(V).backgroundColor||"rgba(0,0,0,0)",Z=typeof parseCssColor=="function"?parseCssColor(j):null;if(!Z){F.push(0);continue}let N=.2126*Z[0]+.7152*Z[1]+.0722*Z[2];F.push(N);}return F},y);A.push(S),R<g-1&&await new Promise(D=>setTimeout(D,C));}m&&await p.evaluate(()=>{let R=document.querySelectorAll("*");for(let S of R)S.style.setProperty("animation-play-state","paused","important"),S.style.setProperty("transition","none","important");});for(let R=0;R<y;R++){let S=0,D=A[0][R],T=null;for(let _=1;_<g;_++){let F=A[_][R];if(Math.abs(F-D)>25){let P=F>D?"up":"down";T&&P!==T&&S++,T=P;}D=F;}let E=g*C/1e3,w=S/E;if(w>=b){let _=R%3,F=Math.floor(R/3);f.push({selector:"body",attribute:"data-flash-detected",currentValue:`${w.toFixed(1)} flashes/sec in region (${_},${F})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${w.toFixed(1)} times/second in screen region (row ${F}, col ${_}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return f}};var $h={name:"reducedMotion",async detect(p){let f=[],v=await p.evaluate(()=>{let m=false,g=false;for(let y of document.styleSheets)try{for(let b of y.cssRules){let A=b.cssText||"";/animation|transition|@keyframes/i.test(A)&&!/prefers-reduced-motion/.test(A)&&(m=!0),b instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(b.conditionText||b.media?.mediaText||"")&&(g=!0);}}catch{}let C=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return C.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:g,animatedCount:C.length}});return v.hasAnimations&&!v.hasReducedMotionQuery&&f.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; } }"}),f}};var MI=[Ih,gh,th,kh,q1,N1,uh,nh,rh,ah,Th,G1,yh,K1,Rh,hh,J1,X1,Ah,B1,mh,ih,Y1,U1,dh,eh,ph,oh,sh,Lh,V1,ch,Dh,j1,$1,lh,wh,Fh,bh,z1,vh,W1,_h,Eh,Ch,Sh,H1,fh,xh,Mh,Ph,Oh,Nh,qh,Bh,Hh,Vh,jh,$h];async function Zh(p,f,v,m){let g=f??[];try{let{UNIQUE_SELECTOR_JS:T,IS_VISIBLE_JS:E,ACCESSIBLE_NAME_JS:w,WIDGET_SKIP_JS:_,IS_HIDDEN_FROM_AT_JS:F,IS_TRACKING_PIXEL_JS:L,NEARBY_CONTEXT_JS:P}=await Promise.resolve().then(()=>(Gh(),zh)),{ICON_LABELS_JS:H}=await Promise.resolve().then(()=>(Uh(),Wh)),{COLOR_MATH_JS:U}=await Promise.resolve().then(()=>(Yh(),Xh)),B=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
377
|
-
`+[
|
|
378
|
-
`);try{await p.addScriptTag({content:B});}catch{await p.evaluate(`(0,eval)(${JSON.stringify(B)})`);}}catch(T){console.warn("[webability] helper injection failed:",T.message),(v??[]).push("color:kernel-injection-failed");}let C=[];try{let{detectPlatform:T,applyPlatformTemplates:E}=await Promise.resolve().then(()=>(Jh(),Kh)),w=await T(p);C=await E(p,w);}catch{}let y=await Promise.allSettled(MI.map(async T=>{try{let E=await T.detect(p);return T.cap&&E.length>=T.cap&&g.push({detector:T.name,cap:T.cap}),E}catch{return []}})),b=[];m?.skipFocusMutating&&(v??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");for(let T of m?.skipFocusMutating?[]:[Q1,Z1])try{let E=await T.detect(p);T.cap&&E.length>=T.cap&&g.push({detector:T.name,cap:T.cap}),b=b.concat(E);}catch{}let A=[...y.flatMap(T=>T.status==="fulfilled"?T.value:[]),...b],R=[...C,...A],S=PI(R),D=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return S.filter(T=>{let E=T.selector.toLowerCase();return E.trim()?!D.some(w=>E.includes(w)):false})}function PI(p){let f=new Set;return p.filter(v=>{let m=`${v.selector}::${v.issueType}`;return f.has(m)?false:(f.add(m),true)})}function su(p){let f=new Map,v=[...p].sort((m,g)=>{let C={webability:0,"axe-core":1,"deep-analysis":2},y=C[m.source]??3,b=C[g.source]??3;return y-b});for(let m of v){let g=OI(m);f.has(g)?!f.get(g).fix?.suggestedValue&&m.fix?.suggestedValue&&f.set(g,m):f.set(g,m);}return Array.from(f.values())}function OI(p){let f=p.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),v=p.wcag||"";return f&&v?`${f}::${v}`:`${p.type}::${f||p.id}`}async function Qh(p,f){if(f.length<2)return f;let v=Array.from(new Set(f.map(R=>R.selector).filter(Boolean))),m;try{m=await p.evaluate(R=>{let S=Array.from(document.querySelectorAll("*")),D=new Map;S.forEach((E,w)=>D.set(E,w));let T={};for(let E of R){let w=null;try{w=document.querySelector(E);}catch{}if(!w){let _=E.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(_!==E)try{w=document.querySelector(_);}catch{}}w&&(T[E]=D.get(w));}return T},v);}catch{return f}let g={webability:0,"axe-core":1,"deep-analysis":2},C=[...f].sort((R,S)=>(g[R.source]??3)-(g[S.source]??3)),y=new Map,b=[];for(let R of C){let S=m[R.selector];if(S===void 0){b.push(R);continue}let D=`${S}::${R.wcag||R.type}`,T=y.get(D);T?!T.fix?.suggestedValue&&R.fix?.suggestedValue&&y.set(D,R):y.set(D,R);}let A=new Set([...y.values(),...b]);return f.filter(R=>A.has(R))}var NI=new Set(["1.4.3","1.4.6","1.4.11"]);function eg(p){return NI.has(p.wcag)||/contrast/i.test(p.type||"")}async function tg(p,f){let v=Array.from(new Set(f.filter(y=>eg(y)&&y.selector).map(y=>y.selector))).slice(0,100);if(v.length===0)return f;let m;try{m=await p.evaluate(y=>{let b=[],A={},R=Math.max(document.documentElement.scrollWidth,window.innerWidth),S=Math.max(document.documentElement.scrollHeight,window.innerHeight),D=T=>{let E=T.match(/rgba?\(([^)]+)\)/);if(!E)return !1;let w=E[1].split(/[ ,/]+/).filter(Boolean);return w.length<4||parseFloat(w[3])>=.95};for(let T of y){let E=null;try{E=document.querySelector(T);}catch{continue}if(!E)continue;let w=getComputedStyle(E),_=E.getBoundingClientRect(),F=w.clipPath&&w.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(w.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(w.clip||""),L=_.width<=1||_.height<=1,P=window.scrollX,H=window.scrollY,U=_.right+P<=0||_.bottom+H<=0||_.left+P>=R||_.top+H>=S,V=!1;if(U)for(let K=E.parentElement;K&&K!==document.body&&K!==document.documentElement;K=K.parentElement){let ne=getComputedStyle(K);if(ne.overflowX!=="visible"||ne.overflowY!=="visible"||ne.transform&&ne.transform!=="none"){V=!0;break}}if(U&&V){A[T]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(F||L||U){b.push(T);continue}let B=E,j=!1;for(;B&&B!==document.documentElement;){if(parseFloat(getComputedStyle(B).opacity)===0){j=!0;break}B=B.parentElement;}if(j){A[T]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let Z=_.left+_.width/2,N=_.top+_.height/2,z=E,X=!1;for(let K=0;z&&z!==document.body&&K<8;K++){let ne=getComputedStyle(z);if(D(ne.backgroundColor)||ne.backgroundImage&&ne.backgroundImage!=="none")break;let re=z.querySelectorAll("video, canvas, img, picture");for(let me=0;me<re.length;me++){let se=re[me];if(se.contains(E)||E.contains(se))continue;let fe=se.getBoundingClientRect();if(fe.width>0&&fe.height>0&&Z>=fe.left&&Z<=fe.right&&N>=fe.top&&N<=fe.bottom){X=!0;break}}if(X)break;z=z.parentElement;}X&&(A[T]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:b,review:A}},v);}catch{return f}let g=new Set(m.hidden),C=[];for(let y of f){if(!eg(y)){C.push(y);continue}if(g.has(y.selector))continue;let b=m.review[y.selector];C.push(b&&y.confidence!=="needs_review"?{...y,confidence:"needs_review",reviewReason:b,...y.fix?{fix:{...y.fix,needsManualReview:true}}:{}}:y);}return C}async function rg(p,f){let v=Array.from(new Set(f.filter(C=>C.selector).map(C=>C.selector))).slice(0,200);if(v.length===0)return f;let m;try{m=await p.evaluate(C=>{let y=[];for(let b of C){let A=null;try{A=document.querySelector(b);}catch{continue}if(!A||A.tagName!=="IFRAME")continue;let R=getComputedStyle(A),S=A.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse",D=(A.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(S||D)&&y.push(b);}return y},v);}catch{return f}if(m.length===0)return f;let g=new Set(m);return f.filter(C=>!g.has(C.selector))}function Co(p){let f=[],v=[];for(let m of p)m.confidence==="needs_review"||BI(m)?v.push(m):f.push(qI(m));return {verdicts:f,undecided:v}}function qI(p){if(p.confidence===void 0&&p.reviewReason===void 0)return p;let{confidence:f,reviewReason:v,...m}=p;return m}function BI(p){let f=(p.type||"").toLowerCase(),v=p.wcag||"",m=p.html||"",g=(p.message||"").toLowerCase();if((f==="contrast_insufficient"||f==="color-contrast"||v==="1.4.3"||v==="1.4.11")&&HI(m))return "background uses gradient or image";if(f==="image_of_text"||v==="1.4.5"){let C=ag(m,"src").toLowerCase();C.startsWith("data:")&&(C=C.split(",")[0]);let y=ag(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(C))return "brand imagery";if(y.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(y))return "branded imagery"}return (f==="inconsistent_navigation"||g.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function HI(p){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(p)}function ag(p,f){let v=new RegExp(`\\b${f}\\s*=\\s*"([^"]*)"`,"i"),m=p.match(v);return m?m[1]:""}var ng=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function ig(p,f){return f==="AAA"&&!p.includes("wcag2aaa")?[...p,"wcag2aaa"]:p}var VI={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.1":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};function lu(p){return VI[p]??"AA"}var Hn={A:1,AA:2,AAA:3};function jI(p){let f=String(p.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(f.length===0)return p.level??"AA";let v="AAA";for(let m of f)Hn[lu(m)]<Hn[v]&&(v=lu(m));return v}function Vn(p,f="AA"){let v=Hn[f]??Hn.AA;return p.filter(m=>Hn[jI(m)]<=v)}var $I=new Set(["new_window_link","external_link_warning","download_link_warning"]);function og(p){let f=$I.has(p.issueType)?"minor":p.needsAI?"serious":"moderate",v=p.attribute==="style",m=p.attribute.startsWith("data-"),g=v&&p.fixValue?zI(p.fixValue):p.fixValue;return {id:`wa-${p.issueType}-${So(p.selector)}`,source:"webability",type:p.issueType,wcag:p.wcag,level:lu(p.wcag),impact:f,message:GI(p,g,m),selector:p.selector,html:p.outerHtml,...p.needsReview?{confidence:"needs_review"}:{},...p.reviewReason?{reviewReason:p.reviewReason}:{},fix:{attribute:p.attribute,currentValue:p.currentValue,suggestedValue:g,needsManualReview:p.needsAI||v||m||!!p.needsReview||!!p.manualFix}}}function zI(p){let f=p.trim();if(!f)return "";let v=f.endsWith(";"),g=f.split(";").map(C=>{let b=C.toLowerCase().lastIndexOf("!important");return b===-1?C.trim():C.slice(0,b).trim()}).filter(C=>C.length>0);return g.length===0?"":g.join(";")+(v?";":"")}function GI(p,f,v){if(p.message)return p.message;let m=p.issueType.replace(/_/g," "),g=f??p.fixValue;return v?g?`${m}: ${g}`:p.currentValue?`${m}: ${p.currentValue}`:`${m}: flagged for manual review`:g?`${m}: set ${p.attribute}="${g}"`:p.currentValue?`${m}: ${p.attribute} is "${p.currentValue}"`:`${m}: missing ${p.attribute}`}function jn(p){return Array.isArray(p)?p.flat(1/0).filter(v=>typeof v=="string").join(" >>> "):typeof p=="string"?p:""}function So(p){let f=0;for(let v=0;v<p.length;v++)f=(f<<5)-f+p.charCodeAt(v)|0;return Math.abs(f).toString(36)}function uu(p){return p==="critical"||p==="serious"||p==="moderate"||p==="minor"?p:"moderate"}function sg(p,f=[]){return {total:p.length,critical:p.filter(v=>v.impact==="critical").length,serious:p.filter(v=>v.impact==="serious").length,moderate:p.filter(v=>v.impact==="moderate").length,minor:p.filter(v=>v.impact==="minor").length,incomplete:0}}function cu(p){let f=p.find(m=>/^wcag\d{3,4}$/.test(m));if(!f)return "";let v=f.replace("wcag","");return v.length===3?`${v[0]}.${v[1]}.${v[2]}`:v.length===4?`${v[0]}.${v[1]}.${v.slice(2)}`:""}function du(p){return p.includes("wcag2aaa")?"AAA":p.includes("wcag2aa")||p.includes("wcag21aa")||p.includes("wcag22aa")?"AA":"A"}var WI="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function UI(p){let{selectors:f,maxBoxes:v,maxW:m,maxH:g,maxArea:C}=p,y=document.documentElement.scrollWidth,b=document.documentElement.scrollHeight,A=document.createElement("canvas");A.width=A.height=1;let R=A.getContext("2d",{willReadFrequently:true}),S=F=>{try{R.clearRect(0,0,1,1),R.fillStyle="#000",R.fillStyle=F,R.fillRect(0,0,1,1);let L=R.getImageData(0,0,1,1).data;return [L[0],L[1],L[2],L[3]]}catch{return null}},D={},T=document.querySelectorAll("video,canvas,iframe,embed,object");if(T.length>200){for(let F of f)D[F]=null;return D}let E=Array.from(T).map(F=>F.getBoundingClientRect()),w=window.scrollX,_=window.scrollY;for(let F of f){D[F]=null;let L=null;try{L=document.querySelector(F);}catch{continue}if(!L)continue;let P=getComputedStyle(L);if(P.visibility!=="visible"||P.display==="none"||P.webkitBackgroundClip==="text"||P.backgroundClip==="text")continue;let H=false,U=0;for(let se=L;se;se=se.parentElement){if(++U>64){H=true;break}let fe=getComputedStyle(se);parseFloat(fe.opacity)<1&&(H=true),(fe.transform!=="none"||fe.mixBlendMode!=="normal"||fe.filter!=="none")&&(H=true);}if(H)continue;let V=S(P.color);if(!V||V[3]<255)continue;let B=parseFloat(P.fontSize),j=parseInt(P.fontWeight,10)>=700,Z=B>=24||j&&B>=18.66,N=[],z=L.getBoundingClientRect();if(z.height>g*v||z.width>m*2)continue;let X=document.createTreeWalker(L,NodeFilter.SHOW_TEXT),K,ne=0,re=false;for(;!re&&(K=X.nextNode());){if(++ne>50){re=true;break}if(K.parentElement!==L)continue;let se=K.textContent||"";if(se.length>2e3){re=true;break}if(!se.trim())continue;let fe=document.createRange();fe.selectNodeContents(K);let ke=fe.getClientRects();if(ke.length>v){re=true;break}for(let He=0;He<ke.length;He++){let Pe=ke[He];if(!(Pe.width<2||Pe.height<2)&&(N.push({x:Math.round(Pe.left+w),y:Math.round(Pe.top+_),w:Math.max(1,Math.round(Pe.width)),h:Math.max(1,Math.round(Pe.height))}),N.length>v)){re=true;break}}}re||N.length===0||N.length>v||N.some(se=>se.w>m||se.h>g||se.w*se.h>C||se.x<0||se.y<0||se.x+se.w>y||se.y+se.h>b)||N.some(se=>E.some(fe=>se.x<fe.right+w&&se.x+se.w>fe.left+w&&se.y<fe.bottom+_&&se.y+se.h>fe.top+_))||(D[F]={fg:`rgb(${V[0]},${V[1]},${V[2]})`,threshold:Z?3:4.5,boxes:N});}return D}async function XI(p){let{b64:f,fg:v}=p,m=atob(f),g=new Uint8Array(m.length);for(let H=0;H<m.length;H++)g[H]=m.charCodeAt(H);let C=await createImageBitmap(new Blob([g],{type:"image/png"})),y=document.createElement("canvas");y.width=C.width,y.height=C.height;let b=y.getContext("2d",{willReadFrequently:true});b.drawImage(C,0,0);let A=b.getImageData(0,0,y.width,y.height).data,R=H=>{let U=H/255;return U<=.03928?U/12.92:Math.pow((U+.055)/1.055,2.4)},S=(H,U,V)=>.2126*R(H)+.7152*R(U)+.0722*R(V),D=v.match(/\d+/g).map(Number),T=S(D[0],D[1],D[2]),E=Math.max(1,Math.floor(Math.sqrt(y.width*y.height/1500))),w=0,_=1/0,F="",L="",P=0;for(let H=0;H<y.height;H+=E)for(let U=0;U<y.width;U+=E){let V=(H*y.width+U)*4;if(A[V+3]<255)continue;let B=S(A[V],A[V+1],A[V+2]),j=Math.max(T,B),Z=Math.min(T,B),N=(j+.05)/(Z+.05);N>w&&(w=N,L=`rgb(${A[V]},${A[V+1]},${A[V+2]})`),N<_&&(_=N,F=`rgb(${A[V]},${A[V+1]},${A[V+2]})`),P++;}return P===0?null:{best:w,worst:_,worstBg:F,bestBg:L}}var ko=class extends Error{};function $n(p,f){let v=f-Date.now();if(v<=0)return Promise.reject(new ko("pixel pass deadline"));let m,g=new Promise((C,y)=>{m=setTimeout(()=>y(new ko("pixel pass deadline")),v);});return Promise.race([p,g]).finally(()=>clearTimeout(m))}async function lg(p,f){let v=p.screenshot;if(typeof v!="function"||f.length===0)return [];let m=Array.from(new Set(f)).slice(0,60),g=[],C=false,y=Date.now()+8e3;try{await $n(p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),y);let b=await $n(p.evaluate(UI,{selectors:m,maxBoxes:3,maxW:1200,maxH:300,maxArea:2e5}),y);await $n(p.evaluate(R=>{let S=document.createElement("style");S.setAttribute("data-wa-contrast-probe",""),S.textContent=R,document.documentElement.appendChild(S);},WI),y),C=!0;let A=0;for(let R of m){let S=b[R];if(!S)continue;if(Date.now()>y||A+S.boxes.length>120)break;let D=0,T=1/0,E="",w="",_=!0;for(let F of S.boxes){A++;let L=await $n(v.call(p,{clip:{x:F.x,y:F.y,width:F.w,height:F.h},fullPage:!0,type:"png",animations:"disabled"}),y),P=globalThis.Buffer,H=P?P.from(L).toString("base64"):"",U=await $n(p.evaluate(XI,{b64:H,fg:S.fg}),y);if(!U){_=!1;break}U.best>D&&(D=U.best,w=U.bestBg),U.worst<T&&(T=U.worst,E=U.worstBg);}_&&g.push({selector:R,fail:D<S.threshold*.97,bestRatio:D,worstRatio:T,...E?{worstBg:E}:{},...w?{bestBg:w}:{},threshold:S.threshold,fg:S.fg});}}catch(b){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",b);}finally{if(C)try{await Promise.race([p.evaluate(()=>document.querySelectorAll("style[data-wa-contrast-probe]").forEach(b=>b.remove())),new Promise(b=>setTimeout(b,1e3))]);}catch{}}return g}function YI(p){p=p.replace("#",""),p.length===3&&(p=p[0]+p[0]+p[1]+p[1]+p[2]+p[2]);let f=parseInt(p,16);return [f>>16&255,f>>8&255,f&255]}function fu(p){let f=p/255;return f<=.03928?f/12.92:Math.pow((f+.055)/1.055,2.4)}function ug(p,f,v){return .2126*fu(p)+.7152*fu(f)+.0722*fu(v)}function KI(p,f){let v=Math.max(p,f),m=Math.min(p,f);return (v+.05)/(m+.05)}function cg(p){if(p.startsWith("#"))return YI(p);let f=p.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return f?[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])]:null}function ya(p,f){let v=cg(p),m=cg(f);return !v||!m?0:KI(ug(...v),ug(...m))}var JI=30,QI=2e4,tL="https://openrouter.ai/api/v1",rL="anthropic/claude-haiku-4.5",aL="deepseek/deepseek-v4-flash",dg=400,fg=125,pu=160,nL=2e3,To=new Map;function iL(p){let f=0;for(let v=0;v<p.length;v++)f=(f<<5)-f+p.charCodeAt(v)|0;return Math.abs(f).toString(36)}var mu=p=>p.wcag||p.type,pg=(p,f,v)=>`${p}|${f.selector}|${mu(f)}|${iL(v)}`,mg=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function oL(p){let{selectors:f,maxHtml:v}=p,m={elements:{}},g=[],C=F=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(F)&&!/^\s*not\b/i.test(F),y=F=>{let L=F.split(",").map(P=>P.trim()).filter(Boolean);return L.length?L.every(P=>{let H=P.match(/^(-?[\d.]+)(ms|s)$/i);return H?parseFloat(H[1])*(H[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},b=(F,L,P)=>{if(!(P>8))for(let H of Array.from(F)){let U=H.media?.mediaText,V=L||typeof U=="string"&&C(U),B=H.style,j=H.selectorText;if(V&&B&&typeof j=="string"){let z=B.getPropertyValue("animation-name").trim(),X=/^none(\s*,\s*none)*$/i.test(z)||y(B.getPropertyValue("animation-duration"))||/^paused/i.test(B.getPropertyValue("animation-play-state").trim()),K=/^none(\s*,\s*none)*$/i.test(B.getPropertyValue("transition-property").trim())||y(B.getPropertyValue("transition-duration"));(X||K)&&g.push({selector:j,anim:X,trans:K});}let Z=H.cssRules;Z&&Z.length&&b(Z,V,P+1);let N=H.styleSheet;if(N)try{b(N.cssRules,V||C(H.media?.mediaText||""),P+1);}catch{}}};try{for(let F of Array.from(document.styleSheets))try{b(F.cssRules,C(F.media?.mediaText||""),0);}catch{}}catch{}let A=(F,L)=>{try{return F.matches(L)}catch{return false}},R=F=>F.split(",").map(L=>{let P=L.trim().match(/^(-?[\d.]+)(ms|s)$/i);return P?parseFloat(P[1])*(P[2].toLowerCase()==="s"?1e3:1):0}),S=F=>{let L=F.cloneNode(true);L.querySelectorAll("script, style").forEach(H=>H.remove());let P=(L.textContent||"").replace(/\s+/g," ").trim();if(!P){for(let H of Array.from(F.querySelectorAll("img[alt], [aria-label]")))if(P=(H.getAttribute("alt")||H.getAttribute("aria-label")||"").trim(),P)break}return P},D=F=>{let L=(F.getAttribute("aria-label")||"").trim();if(L)return L;let H=(F.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(B=>{let j=document.getElementById(B);return j?(j.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(H)return H;let U=S(F);if(U)return U;let V=F instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(F.type)?(F.value||F.alt||"").trim():"";return V||(F.getAttribute("title")||"").trim()},T='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',E=window.scrollX||0,w=window.scrollY||0,_=[];for(let F of f){let L=null;try{L=document.querySelector(F);}catch{}if(!L){m.elements[F]={found:false};continue}let P=_.indexOf(L);P<0&&(P=_.push(L)-1);let H=getComputedStyle(L),U=L.getBoundingClientRect(),V=L.tagName.toLowerCase(),B={found:true,elementKey:P,tag:V,html:(L.outerHTML||"").slice(0,v),rect:{x:U.left+E,y:U.top+w,w:U.width,h:U.height},role:(L.getAttribute("role")||"").toLowerCase(),ariaHidden:L.getAttribute("aria-hidden")==="true"||!!L.closest('[aria-hidden="true"]'),hidden:H.display==="none"||H.visibility==="hidden"||!!L.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(H.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:H.color,bg:H.backgroundColor,fontSize:parseFloat(H.fontSize)||0,fontWeight:parseInt(H.fontWeight,10)||400};if(V==="img"){let N=L;B.img={src:(N.currentSrc||N.getAttribute("src")||"").slice(0,300),alt:N.getAttribute("alt"),naturalW:N.naturalWidth||0,naturalH:N.naturalHeight||0,attrW:parseInt(N.getAttribute("width")||"0",10)||0,attrH:parseInt(N.getAttribute("height")||"0",10)||0};}if(B.cssBackgroundImage){let N=L.closest(T);N&&(B.control={tag:N.tagName.toLowerCase(),name:D(N).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(V)){let N=H.animationName.split(",").some(re=>re.trim()&&re.trim()!=="none")&&R(H.animationDuration).some(re=>re>10),z=R(H.transitionDuration).some(re=>re>10)&&H.transitionProperty.trim()!=="none",X=g.filter(re=>A(L,re.selector)),K=!N||X.some(re=>re.anim),ne=!z||X.some(re=>re.trans);B.reducedMotionHandled=(N||z)&&K&≠}let j=L.closest('a[href], button, [role="button"], [role="link"]');if(j&&j!==L){let N=j.cloneNode(true);N.querySelectorAll("img, svg").forEach(K=>K.remove());let z=(N.textContent||"").replace(/\s+/g," ").trim(),X=(j.getAttribute("aria-label")||"").trim();B.parentInteractive={tag:j.tagName.toLowerCase(),text:(z||X).slice(0,120)};}let Z=L.parentElement;if(Z){let N=Z.cloneNode(true);N.querySelectorAll("script, style").forEach(z=>z.remove()),B.nearText=(N.textContent||"").replace(/\s+/g," ").trim().slice(0,240);}m.elements[F]=B;}return m}function sL(p,f){let v=(p.type||"").toLowerCase(),m=p.wcag||"";return m==="1.1.1"&&(f?.tag==="img"||/alt|image/.test(v))?"alt":m==="1.4.3"||m==="1.4.6"||v==="color-contrast"||v==="contrast_insufficient"||v==="contrast_enhanced"?"contrast":m==="2.2.2"||m==="2.3.3"||/motion|animation|reduced_motion/.test(v)?"motion":"generic"}function hu(p){return !!p&&p.tag!=="img"&&p.cssBackgroundImage&&!p.img}var lL=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function uL(p){let f=String(p??"").replace(/\s+/g," ").replace(lL,"judged").trim();if(f.length<=pu)return f;let v=f.slice(0,pu-1),m=v.lastIndexOf(" ");return (m>pu/2?v.slice(0,m):v).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function cL(p){let f=String(p??"").replace(/\s+/g," ").trim();if(f=f.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),f=f.replace(/^["'“”]+|["'“”]+$/g,"").trim(),f.length>fg){f=f.slice(0,fg);let v=f.lastIndexOf(" ");v>60&&(f=f.slice(0,v)),f=f.replace(/[\s,;:–—-]+$/,"");}return f&&(f=f[0].toUpperCase()+f.slice(1)),f}function $a(p){let f=p.match(/\d+(\.\d+)?/g);return !f||f.length<3?p:"#"+f.slice(0,3).map(v=>Math.round(Number(v)).toString(16).padStart(2,"0")).join("")}var gg=/^#?([0-9a-f]{6})$/i;function dL(p){let f=String(p??"").trim().match(gg);return f?"#"+f[1].toLowerCase():null}function fL(p){let{confidence:f,reviewReason:v,...m}=p;return {...m,id:p.id.replace("axe-incomplete-","axe-")}}function pL(p){let f=p;if(typeof p=="string"){let g=p.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!g)return null;try{f=JSON.parse(g[0]);}catch{return null}}else p&&typeof p=="object"&&Array.isArray(p.verdicts)&&(f=p.verdicts);if(!Array.isArray(f))return null;let v=[];for(let m of f){if(!m||typeof m!="object")continue;let{id:g,verdict:C,reason:y,fix:b}=m;if(typeof g!="string"||C!=="pass"&&C!=="violation")continue;let A=b&&typeof b=="object"?b:void 0;v.push({id:g,verdict:C,reason:typeof y=="string"?y:void 0,fix:A?{attribute:typeof A.attribute=="string"?A.attribute:void 0,value:typeof A.value=="string"?A.value:void 0}:void 0});}return v}var zn=class extends Error{},mL=`You are the final accessibility judge for a WCAG scanner. Automated engines could not decide the findings below. You MUST decide each one: "pass" (not a violation) or "violation". There is no third option \u2014 never answer "unsure", never defer to a human.
|
|
378
|
+
`);return ce}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:Fg);});var C3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m=new Set;function h(w){let T=(w.textContent||"").trim().replace(/\s+/g,""),R=w.querySelector("img, svg, picture")!==null,E=w.querySelector("i[class], span[class]")!==null;if(T.length>0&&!R&&!E)return false;if(R){let k=w.querySelectorAll("img"),L="";k.forEach(_=>{L+=(_.getAttribute("alt")||"").trim();});let D=T.replace(/\s+/g,""),y=L.replace(/\s+/g,"");return D===""||D===y}return false}function A(w){let T=w.nextElementSibling;for(;T;){if(isVisible(T))return T;T=T.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(v.length>=50||w.closest(p)||!isVisible(w)||m.has(w))return;let T=w.getAttribute("href");if(!T||T==="#")return;let R=A(w);if(!R||R.tagName!=="A"||R.getAttribute("href")!==T||m.has(R)||w.getAttribute("aria-hidden")==="true"||R.getAttribute("aria-hidden")==="true")return;let k=h(w),L=h(R);if(!k&&!L)return;let D=k?w:R,y=k?R:w;m.add(D),m.add(y);let _=uniqueSel(D),C=D.outerHTML.slice(0,300),I=(y.textContent||"").trim().slice(0,80);v.push({selector:_,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:T,imageLink:true,adjacentLinkText:I,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:C}),v.push({selector:_,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:T}),needsAI:false,fixValue:"-1",outerHtml:C});}),v},Z1={name:"adjacentLinks",cap:50,async detect(p){return p.evaluate(C3)}};var S3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",d='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',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(","),m=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),h=50,A=[],b=new Set;function w(E){let k=E,L=0;for(;k&&k.nodeType===1&&k!==document.body&&L<20;){try{let D=getComputedStyle(k);if(D.display==="none"||D.visibility==="hidden"||D.visibility==="collapse")return !0}catch{}k=k.parentElement,L++;}return false}function T(E){let k=E.tagName,L=E.getAttribute("tabindex");if(L!==null){let D=parseInt(L,10);if(!isNaN(D)&&D>=0)return true;if(!isNaN(D)&&D<0)return false}return m.has(k)?!(k==="A"&&!E.hasAttribute("href")||E.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(E=>{if(A.length>=h||E.closest(p)||E.closest(d)||E.closest(v)||E.matches(v))return;let k=[];if(T(E)&&k.push(E),E.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(D=>{T(D)&&k.push(D);}),k.length!==0)for(let D of k){if(A.length>=h)return;let y=uniqueSel(D),_=y+"\0tabindex";if(b.has(_))continue;b.add(_);let C=w(D);A.push({selector:y,attribute:"tabindex",currentValue:D.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:D.tagName.toLowerCase(),parentHidden:E.tagName.toLowerCase(),collapsed:C,suggestion:C?"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",...C?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},outerHtml:(D.outerHTML||"").slice(0,300)});}}),A},Q1={name:"ariaHiddenFocusable",cap:50,async detect(p){return p.evaluate(S3)}};var k3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=new Set,h=[{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 A(b){if(!(b.textContent||"").trim())return true;let T=getComputedStyle(b);return !!(T.display==="none"||T.visibility==="hidden"||T.opacity==="0"||T.maxHeight==="0px"||T.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 h){if(v.length>=50)break;let w=document.querySelectorAll("*");for(let T of w){if(v.length>=50)break;if(m.has(T)||T.closest(p))continue;let R=T.className&&typeof T.className=="string"?T.className:"",E=T.getAttribute("id")||"";if(!b.regex.test(R)&&!b.regex.test(E)||T.getAttribute("aria-live"))continue;let k=T.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(k)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(R+" "+E)&&!A(T))continue;m.add(T);let D=uniqueSel(T),y=b.regex.test(R)?"class":"id",_=y==="class"?R.slice(0,60):E;v.push({selector:D,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:y+": "+_+" | pattern: "+b.regex.source,needsAI:false,fixValue:b.ariaLive});}}return v},eh={name:"ariaLive",cap:50,async detect(p){return p.evaluate(k3)}};var T3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],m=new Set,h=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(v.length>=50)&&!w.closest(p)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let T of h){let R=w.getAttribute(T);if(!R||!R.trim())continue;let E=R.trim().split(/\s+/).filter(j=>j.length>0);if(E.length===0||!E.every(j=>!document.getElementById(j)))continue;let L=w.getAttribute("aria-label");if(L&&L.trim())continue;let D=getAccessibleName(w);if(D&&D.trim())continue;let y=uniqueSel(w),_=y+"\0"+T;if(m.has(_))continue;m.add(_);let{nearbyHeading:C,parentTag:I,parentRole:O}=getNearbyContext(w);v.push({selector:y,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:T,brokenIds:E,nearbyHeading:C,parentTag:I,parentRole:O,suggestion:`All IDs in ${T}="${R}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),v},th={name:"brokenAriaReferences",cap:50,async detect(p){return p.evaluate(T3)}};var R3=()=>{let d=[],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"],m=document.querySelectorAll("button");for(let h of m){if(d.length>=50)break;let A=h;if(isWidget(A)||A.hasAttribute("type")||!A.closest("form"))continue;let b=(A.textContent||"").trim().slice(0,60),w=(A.getAttribute("aria-label")||"").trim().slice(0,60),T=b||w||"(no label)",R=T.toLowerCase();v.some(k=>R.includes(k))||d.push({selector:uniqueSel(A),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+T,needsAI:false,fixValue:"button",outerHtml:(A.outerHTML||"").slice(0,300)});}return d},rh={name:"buttonType",cap:50,async detect(p){return p.evaluate(R3)}};var F3=()=>{let d=[],v=document.querySelectorAll("video, audio");for(let m of Array.from(v)){if(d.length>=20)break;if(isWidget(m)||typeof isVisible=="function"&&!isVisible(m)||m.error)continue;let h=m.tagName==="VIDEO";if(h){let _=m.hasAttribute("muted")||m.muted,C=m.hasAttribute("controls"),I=m.hasAttribute("loop")||m.loop,O=/mute|unmute|sound|volume|audio|play|pause/i,j=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let W=m.parentElement?.parentElement||null,K=0;W&&!j&&K<3;W=W.parentElement,K++)j=Array.from(W.querySelectorAll('button, [role="button"]')).some(G=>O.test((G.getAttribute("aria-label")||"")+" "+(G.getAttribute("title")||"")+" "+(G.textContent||"")));if(_&&I&&!C&&!j)continue}let A=m.querySelectorAll("track"),b=false;for(let _ of Array.from(A)){let C=(_.getAttribute("kind")||"").toLowerCase();if(C==="captions"||C==="subtitles"){b=true;break}}if(b)continue;let w=m.currentSrc||m.getAttribute("src")||"";if(w||(w=m.querySelector("source")?.getAttribute("src")||""),!w)continue;let T=w.toLowerCase();if(T.startsWith("blob:")||T.startsWith("data:")||T.startsWith("about:")||T.startsWith("javascript:")||T.endsWith(".m3u8")||T.includes(".m3u8?")||T.endsWith(".mpd")||T.includes(".mpd?"))continue;let R=w;try{R=new URL(w,location.href).toString();}catch{continue}let E=typeof uniqueSel=="function"?uniqueSel(m):"",k=m.getAttribute("title")||m.getAttribute("aria-label")||"",L=typeof getNearbyContext=="function"?getNearbyContext(m):{parentTag:m.tagName.toLowerCase(),nearbyHeading:""},D=[];D.push("media: "+m.tagName.toLowerCase()),D.push("src: "+R.slice(0,200)),k&&D.push("title: "+k.slice(0,80)),L.nearbyHeading&&D.push("heading: "+L.nearbyHeading),D.push("parent: "+L.parentTag);let y=h;d.push({selector:E,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:D.join(" | "),needsAI:true,...y?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:R,outerHtml:(m.outerHTML||"").slice(0,300)});}return d},nh={name:"captions",cap:20,async detect(p){return p.evaluate(F3)}};var I3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m="p, li, blockquote, article, section, main, div",h=document.querySelectorAll("a[href]"),A=new Map;for(let b of Array.from(h)){if(v.length>=40)break;if(b.closest(p)||b.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(b))continue;let w=b.closest(m);if(!w)continue;let T=(b.textContent||"").trim();if(!T)continue;let R=A.get(w);if(R===void 0){R=0;let W=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),K;for(;K=W.nextNode();){let G=K.parentElement;!G||G.closest("a")||G.closest(m)===w&&(typeof isVisible=="function"&&!isVisible(G)||(R+=(K.textContent||"").trim().length));}A.set(w,R);}if(R<20||b.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let E=getComputedStyle(b),k=getComputedStyle(w);if((E.textDecorationLine||E.textDecoration||"").includes("underline")||(()=>{let W=document.createTreeWalker(b,NodeFilter.SHOW_TEXT),K,G=false;for(;K=W.nextNode();){if(!/[\p{L}\p{N}]/u.test(K.textContent||""))continue;G=true;let N=false;for(let B=K.parentElement;B&&B!==b;B=B.parentElement){let F=getComputedStyle(B),P=(F.textDecorationColor||"").replace(/\s/g,"");if((F.textDecorationLine||"").includes("underline")&&P!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(P)){N=true;break}let V=(F.borderBottomColor||"").replace(/\s/g,""),z=V==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(V);if((F.borderBottomStyle||"none")!=="none"&&parseFloat(F.borderBottomWidth||"0")>0&&!z){N=true;break}}if(!N)return false}return G})())continue;let y=parseInt(E.fontWeight||"400",10),_=parseInt(k.fontWeight||"400",10);if(Number.isFinite(y)&&Number.isFinite(_)&&y-_>=300||(E.borderBottomStyle||"none")!=="none"&&(E.borderBottomWidth||"0px")!=="0px"||E.color===k.color)continue;let I=typeof uniqueSel=="function"?uniqueSel(b):"",O=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},j=[];j.push("link: "+T.slice(0,40)),j.push("color: "+E.color),j.push("parent-color: "+k.color),O.nearbyHeading&&j.push("heading: "+O.nearbyHeading),j.push("parent: "+O.parentTag),v.push({selector:I,attribute:"style",currentValue:E.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:j.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(b.outerHTML||"").slice(0,300)});}return v},ah={name:"colorOnly",cap:40,async detect(p){return p.evaluate(I3)}};var L3=()=>{let d=[],v=y=>typeof parseCssColor=="function"?parseCssColor(y):null,m=(y,_,C)=>typeof relLuminance=="function"?relLuminance(y,_,C):0,h=(y,_)=>typeof contrastRatio=="function"?contrastRatio(y,_):1;function A(y){let _=String(y.backgroundImage||"none");if(_==="none")return false;if(/gradient\(/i.test(_))return true;if(!/url\(/i.test(_))return false;let C=String(y.backgroundRepeat||"").toLowerCase(),I=String(y.backgroundSize||"").toLowerCase(),O=C.split(",").map(W=>W.trim()).some(W=>W!==""&&W!=="no-repeat"),j=/cover|contain|100%/.test(I);return O||j}function b(y){let _=document.documentElement,C=y,I=0;for(;C&&C!==_&&I<12;){let G=getComputedStyle(C);if(A(G))return null;let N=v(G.backgroundColor||"");if(N&&N[3]>.5)return [N[0],N[1],N[2]];C=C.parentElement,I++;}let O=document.body;if(C&&C!==_&&O&&O.contains(C)){let G=getComputedStyle(O);if(A(G))return null;let N=v(G.backgroundColor||"");if(N&&N[3]>.5)return [N[0],N[1],N[2]]}let j=getComputedStyle(_);if(A(j))return null;let W=v(j.backgroundColor||""),K=W?Math.min(W[3],1):0;return !W||K<=0?[255,255,255]:[Math.round(W[0]*K+255*(1-K)),Math.round(W[1]*K+255*(1-K)),Math.round(W[2]*K+255*(1-K))]}function w(y,_,C){return "#"+[y,_,C].map(I=>{let O=Math.max(0,Math.min(255,Math.round(I))).toString(16);return O.length===1?"0"+O:O}).join("")}function T(y,_,C){let I=m(_[0],_[1],_[2])>.5;return R(y,_,C,I)||R(y,_,C,!I)}function R(y,_,C,I){let O=0,j=1,W=null;for(let K=0;K<20;K++){let G=(O+j)/2,N=I?[y[0]*(1-G),y[1]*(1-G),y[2]*(1-G)]:[y[0]+(255-y[0])*G,y[1]+(255-y[1])*G,y[2]+(255-y[2])*G],B=[Math.round(N[0]),Math.round(N[1]),Math.round(N[2])];h(B,_)>=C?(W=B,j=G):O=G;}return W}let E=document.createTreeWalker(document.body,4),k=new Set,L=[],D=E.nextNode();for(;D;){if((D.textContent||"").trim().length>=2){let _=D.parentElement;_&&!k.has(_)&&(k.add(_),L.push(_));}D=E.nextNode();}for(let y of L){if(d.length>=30)break;if(isWidget(y)||isHiddenFromAT(y)||!isVisible(y))continue;let _=getComputedStyle(y),C=v(_.color||"");if(!C)continue;if(C[3]<.5){let Q=_.webkitBackgroundClip||_.backgroundClip||"",ie=_.backgroundImage||"";if(String(Q).includes("text")&&/gradient\(/i.test(ie)){let ne=Array.from(y.childNodes).filter(se=>se.nodeType===3).map(se=>(se.textContent||"").trim()).join("");ne&&d.push({selector:uniqueSel(y),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(ne.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:y.outerHTML.slice(0,200)});}continue}let I=b(y),O=parseFloat(_.fontSize||"16"),j=parseInt(_.fontWeight||"400",10),K=O>=24||O>=18.66&&j>=700?3:4.5,G=Array.from(y.childNodes).filter(Q=>Q.nodeType===3).map(Q=>(Q.textContent||"").trim()).join("");if(!G)continue;let N=w(C[0],C[1],C[2]),B=uniqueSel(y);if(I===null){d.push({selector:B,attribute:"style",currentValue:N,message:"contrast: text "+N+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+K+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+N+" bg=<gradient-or-image> needs="+K+" text="+JSON.stringify(G.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:y.outerHTML.slice(0,200)});continue}let F=h([C[0],C[1],C[2]],I);if(F>=K)continue;let P=T([C[0],C[1],C[2]],I,K);if(!P)continue;let V=w(P[0],P[1],P[2]),z=w(I[0],I[1],I[2]),J="color:"+V+" !important;";d.push({selector:B,attribute:"style",currentValue:N,message:"contrast: "+N+" on "+z+" is "+F.toFixed(2)+":1, needs "+K+":1 \u2014 e.g. color "+V,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+N+" bg="+z+" ratio="+F.toFixed(2)+" needs="+K+" text="+JSON.stringify(G.slice(0,40)),needsAI:false,fixValue:J,outerHtml:y.outerHTML.slice(0,200)});}return d},ih={name:"contrast",cap:30,async detect(p){return p.evaluate(L3)}};var M3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m=document.querySelectorAll("marquee, blink");for(let T of Array.from(m)){if(v.length>=30)break;if(T.closest(p))continue;let R=typeof uniqueSel=="function"?uniqueSel(T):T.tagName.toLowerCase();v.push({selector:R,attribute:"aria-hidden",currentValue:T.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${T.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(T.outerHTML||"").slice(0,300)});}let h=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let T of Array.from(h)){if(v.length>=30)break;if(T.closest(p))continue;let R=T.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(R)||typeof isVisible=="function"&&!isVisible(T))continue;let E=T.getBoundingClientRect();if(E.width<=40&&E.height<=40)continue;let k=typeof uniqueSel=="function"?uniqueSel(T):"img";v.push({selector:k,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${R.split("/").pop()?.slice(0,60)||R.slice(-60)}`,needsAI:true,outerHtml:(T.outerHTML||"").slice(0,300)});}let A=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let T of Array.from(A)){if(v.length>=30)break;let R=(T.getAttribute("content")||"").trim(),E=parseInt((R.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(E)||E<=0||v.push({selector:`meta[http-equiv="refresh"][content*="${R.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${E}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(T.outerHTML||"").slice(0,200)});}try{let T=!1,R=!1;for(let E of Array.from(document.styleSheets)){let k=null;try{k=E.cssRules;}catch{continue}if(k)for(let L of Array.from(k)){let D=L.cssText||"";if(/animation[^;]*\binfinite\b/i.test(D)&&/(keyframes|animation-name)/i.test(D+" "+(L.name||""))&&(T=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(D)&&(R=!0),L.cssRules)for(let y of Array.from(L.cssRules)){let _=y.cssText||"";/animation[^;]*\binfinite\b/i.test(_)&&(T=!0);}}}T&&!R&&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,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let T of Array.from(w)){if(v.length>=30)break;if(T.closest(p)||T.tagName==="BODY"||T.tagName==="HTML")continue;let R=T.className&&typeof T.className=="string"?T.className:"";if(!b.test(R)||typeof isVisible=="function"&&!isVisible(T))continue;let k=getComputedStyle(T).animationDuration,L=9999;if(k){let y=parseFloat(k);Number.isFinite(y)&&(L=/ms/i.test(k)?y:y*1e3);}if(L>333)continue;let D=typeof uniqueSel=="function"?uniqueSel(T):"";v.push({selector:D,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${L}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:(T.outerHTML||"").slice(0,300)});}return v},oh={name:"cssAnimations",cap:30,async detect(p){return p.evaluate(M3)}};var P3=()=>{let d=[];function v(b){let w=(b.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(b.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function m(b){if(!b)return 0;let w=b.querySelectorAll("th, td"),T=0;for(let R=0;R<w.length;R++){let E=parseInt(w[R].getAttribute("colspan")||"1",10);T+=isNaN(E)||E<1?1:E;}return T}function h(b){let w=b.querySelectorAll("tr"),T=[];for(let R=0;R<w.length;R++){let E=w[R];E.closest("table")===b&&T.push(E);}return T}let A=document.querySelectorAll("table");for(let b=0;b<A.length&&!(d.length>=30);b++){let w=A[b];if(isWidget(w)||!isVisible(w)||v(w))continue;let T=h(w);if(T.length<=1)continue;let R=T[0],E=m(R);if(E<=1)continue;let k=uniqueSel(w),L=getNearbyContext(w),D=w.querySelectorAll("img, svg, picture").length>=2;if(D&&!(w.textContent||"").trim()){if(w.querySelector("input, select, textarea, button")&&(D=false),D&&w.querySelector("th, thead, caption, [scope], [headers]")&&(D=false),D){let P=Array.from(w.querySelectorAll("img")).map(V=>(V.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(P).size<P.length&&(D=false);}}else if(D){let P=w.querySelectorAll("td, th"),V=0;for(let z=0;z<P.length&&D;z++){let J=P[z];if(J.closest("table")!==w)continue;let Q=(J.textContent||"").trim(),ie=!!J.querySelector("img, svg, picture");if(!Q&&!ie)continue;V++;let ne=J.querySelectorAll("a[href]");D=J.tagName==="TD"&&ne.length===1&&ie&&(ne[0].textContent||"").trim()===Q;}V<2&&(D=false);}if(D){d.push({selector:k,attribute:"role",currentValue:w.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:T.length,cols:E,nearbyHeading:L.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(w.outerHTML||"").slice(0,300)});continue}let y=null,_=w.querySelectorAll("caption");for(let P=0;P<_.length;P++)if(_[P].closest("table")===w){y=_[P];break}let C=y?(y.textContent||"").trim():"",I=(w.getAttribute("aria-label")||"").trim(),O=(w.getAttribute("title")||"").trim(),j=w.getAttribute("aria-labelledby"),W="";if(j){let P=j.split(/\s+/);for(let V=0;V<P.length;V++){let z=document.getElementById(P[V]);z&&(W+=" "+(z.textContent||""));}W=W.trim();}(!y||!C)&&!(I||W||O)&&d.length<30&&d.push({selector:k,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:y?"empty <caption>":"no <caption> element",rows:T.length,cols:E,nearbyHeading:L.nearbyHeading,parentTag:L.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});let G=null,N=w.querySelectorAll("thead");for(let P=0;P<N.length;P++)if(N[P].closest("table")===w){G=N[P];break}if(G&&G.querySelector("tr")!==null||d.length<30&&d.push({selector:k,attribute:"thead",currentValue:G?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:G?"<thead> has no <tr>":"no <thead> element",rows:T.length,cols:E,nearbyHeading:L.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),E>2){let P=R.querySelectorAll("th, td"),V=P.length>0;for(let z=0;z<P.length;z++)if((P[z].tagName||"").toLowerCase()!=="td"){V=false;break}if(V)for(let z=0;z<P.length&&!(d.length>=30);z++){let J=P[z],Q=uniqueSel(J),ie=(J.textContent||"").trim().slice(0,60);d.push({selector:Q,attribute:"role",currentValue:J.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"first-row <td> in data table \u2014 should be <th>",cellText:ie,colIndex:z,nearbyHeading:L.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(J.outerHTML||"").slice(0,300)});}}let F=w.querySelectorAll("th");for(let P=0;P<F.length&&!(d.length>=30);P++){let V=F[P];if(V.closest("table")!==w)continue;let z=(V.getAttribute("scope")||"").trim().toLowerCase();if(z==="col"||z==="row"||z==="colgroup"||z==="rowgroup")continue;let J=V.closest("tr"),Q=V.closest("thead")!==null,ie=false;J&&T.length>0&&T[0]===J&&(ie=true);let ne=false;if(J){let Ee=J.querySelectorAll("th, td");Ee.length>0&&Ee[0]===V&&(ne=true);}let se="col";Q||ie?se="col":ne&&(se="row");let we=uniqueSel(V),Te=(V.textContent||"").trim().slice(0,60);d.push({selector:we,attribute:"scope",currentValue:z,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:se,inThead:Q,firstRow:ie,firstCol:ne,headerText:Te}),needsAI:false,fixValue:se,outerHtml:(V.outerHTML||"").slice(0,300)});}}return d},sh={name:"dataTables",cap:30,async detect(p){return p.evaluate(P3)}};var O3=async()=>{let d=["tab","button","menuitem","switch","checkbox","option","treeitem"],v=["aria-controls","aria-expanded","aria-haspopup","data-toggle","data-bs-toggle","data-target","data-bs-target"],m=y=>y.split("#")[0],h=m(document.URL);function A(y){let _=(y.getAttribute("href")||"").trim();if(!_||_==="#"||/^javascript:/i.test(_))return null;let C;try{C=new URL(_,document.baseURI);}catch{return null}return C.protocol!=="http:"&&C.protocol!=="https:"&&C.protocol!=="file:"||m(C.href)!==h||_.indexOf("#")===-1?null:C.hash.slice(1)}function b(y){return !(!y||y.toLowerCase()==="top"||y==="0"||y.charAt(0)==="/"||y.charAt(0)==="!"||y.indexOf("=")!==-1)}function w(y){let _=[y];try{let I=decodeURIComponent(y);I!==y&&_.push(I);}catch{}for(let I of _)if(document.getElementById(I))return true;let C=document.querySelectorAll("a[name]");for(let I of C){let O=I.getAttribute("name")||"";if(_.indexOf(O)!==-1)return true}return false}function T(){let y=[];for(let _ of document.querySelectorAll('a[href], button, input:not([type="hidden" i]), select, textarea, summary, [tabindex]')){let C=_;if(C.disabled||C.hasAttribute("inert")||C.closest("[inert]"))continue;let I=C.getAttribute("tabindex");I!==null&&Number(I)<0||C.getClientRects().length===0||getComputedStyle(C).visibility==="hidden"||y.push(C);}return y}let R=3,E=3;function k(y,_){let C=_.indexOf(y);if(C<0||C>=R||_.length-C-1<E)return false;let I=document.querySelector('main, [role="main"]')||document.querySelector("h1");return !(I&&!(y.compareDocumentPosition(I)&Node.DOCUMENT_POSITION_FOLLOWING))}function L(){let y=[],_=T(),C=_.slice(0,R);for(let I of document.querySelectorAll("a[href]")){let O=I;if(C.indexOf(O)<0||isWidget(O))continue;let j=A(O);if(j===null||!b(j)||w(j))continue;let W=(O.getAttribute("role")||"").toLowerCase();if(d.indexOf(W)===-1&&!v.some(K=>O.hasAttribute(K))&&!(O.getClientRects().length===0||getComputedStyle(O).visibility==="hidden"||isHiddenFromAT(O))&&k(O,_)&&(y.push(O),y.length>=30))break}return y}if(L().length===0)return [];await new Promise(y=>setTimeout(y,500));let D=[];for(let y of L()){let _=(y.getAttribute("href")||"").trim(),C="#"+(A(y)||""),I=(y.textContent||"").trim().replace(/\s+/g," ").slice(0,60);D.push({selector:uniqueSel(y),attribute:"href",currentValue:_,issueType:"broken_anchor",wcag:"2.4.1",context:'in-page link "'+I+'" points to '+C+", which matches no id or a[name] in this page",needsAI:true,needsReview:true,reviewReason:"WCAG 2.4.1 Bypass Blocks: this link is one of the first focusable elements, ahead of the main content, and jumps to "+C+" but no element on the page has that id or name. Violation only when the link is the page's bypass mechanism (a skip link that should jump past repeated blocks), so activating it goes nowhere. Pass when it is anything else: a script-driven control or an ordinary link. A dead fragment on an ordinary link is not a 2.4.1 failure.",outerHtml:(y.outerHTML||"").slice(0,300)});}return D},lh={name:"deadAnchors",cap:30,async detect(p){return p.evaluate(O3)}};var N3=()=>{let d=[];for(let v of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let m=v;if((m.getAttribute("alt")||"").trim()!=="")continue;let h=(m.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!h||isWidget(m))continue;let A=(m.getAttribute("role")||"").toLowerCase();A==="presentation"||A==="none"||m.getAttribute("aria-hidden")==="true"||m.closest('[aria-hidden="true"]')||(m.getAttribute("aria-label")||"").trim()||(m.getAttribute("aria-labelledby")||"").trim()||isVisible(m)&&d.push({selector:uniqueSel(m),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+h.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+h.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(m.outerHTML||"").slice(0,300)});}return d},uh={name:"decorativeImageTitle",cap:30,async detect(p){return p.evaluate(N3)}};var q3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",v=[],m='a[href], button, input, select, textarea, summary, label, iframe, audio[controls], video[controls], [contenteditable=""], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="tab"], [role="option"], [role="checkbox"], [role="radio"], [role="switch"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="spinbutton"]',h=D=>{try{return !!(D.querySelector&&D.querySelector(m))}catch{return false}},A=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),b=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],w=["spinner","loading","spin","loader","pulse"],T=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let D of T){if(v.length>=50)break;if(D.closest(p)||isHiddenFromAT(D)||!isVisible(D))continue;let y=D.className&&typeof D.className=="string"?D.className.toLowerCase():"";if(!y.split(/\s+/).filter(Boolean).some(W=>A.has(W)||b.some(K=>W.startsWith(K)))||D.closest(m)||h(D)||Array.from(D.children).some(W=>/[\p{L}\p{N}]/u.test(W.textContent||"")))continue;let O=w.some(W=>y.includes(W)),j=uniqueSel(D);v.push({selector:j,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:O?"spinner/loader icon":"icon classes: "+y.slice(0,80),needsAI:false,fixValue:"true",outerHtml:D.outerHTML.slice(0,300)});}let R=document.querySelectorAll("svg");for(let D of R){if(v.length>=50)break;if(D.closest(p)||isHiddenFromAT(D)||!isVisible(D)||D.closest(m)||h(D))continue;let y=D.getAttribute("aria-label")||"",_=D.getAttribute("aria-labelledby")||"",C=D.querySelector("title"),I=C?(C.textContent||"").trim():"",O=D.getAttribute("role");if(y.trim()||_.trim()||I||O==="img")continue;let j=D.getBoundingClientRect(),W=j.width<=16&&j.height<=16,K=D.parentElement?(D.parentElement.textContent||"").trim().replace(/\s+/g," "):"",G=j.width<=4||j.height<=4,N=D.getAttribute("preserveAspectRatio")==="none";if(!W&&K.length<=3&&!G&&!N)continue;let B=uniqueSel(D);v.push({selector:B,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:D.outerHTML.slice(0,300)});}let E=D=>D.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(D),k=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let D of k){if(v.length>=50)break;if(D.closest(p)||isHiddenFromAT(D))continue;let y=D.tagName.toLowerCase();if(!(y==="a"||y==="button"||y==="input"||y==="select"||y==="textarea"||D.getAttribute("role")==="button"||D.getAttribute("role")==="link"||D.getAttribute("role")==="tab")||D.hasAttribute("disabled"))continue;let C=D.className&&typeof D.className=="string"?D.className:"",I=C.split(/\s+/).some(E),O=D.getAttribute("aria-disabled")==="true",j=getComputedStyle(D).pointerEvents==="none";if(!O&&!(I&&j))continue;let W=D.getAttribute("tabindex")!=="-1"||h(D),K=uniqueSel(D);v.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+C.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...W?{needsReview:true,reviewReason:"element is still keyboard-focusable; aria-hidden would create a hidden focusable element \u2014 remove it from the tab order first or confirm intent"}:{},outerHtml:D.outerHTML.slice(0,300)});}let L=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let D of L){if(v.length>=50)break;if(D.closest(p)||isHiddenFromAT(D))continue;let y=D.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(y.length===0)continue;let _=uniqueSel(D);v.push({selector:_,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+y.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+y.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:D.outerHTML.slice(0,300)});}return v},ch={name:"decorativeIcons",cap:50,async detect(p){return p.evaluate(q3)}};var B3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=new Map,h=document.querySelectorAll("[id]");for(let A of h){if(A.closest(p))continue;let b=(A.getAttribute("id")||"").trim();if(!b)continue;let w=m.get(b);w?w.push(A):m.set(b,[A]);}for(let[A,b]of m)if(!(b.length<=1)){if(v.length<50){let w=b[0];v.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"id",currentValue:A,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+A+'" 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:(w.outerHTML||"").slice(0,300)});}for(let w=1;w<b.length&&!(v.length>=50);w++){let T=b[w],R=w+1,E=A+"-"+R,k=T.tagName.toLowerCase(),L=T.parentElement,D=k;if(L){let y=Array.from(L.children).filter(C=>C.tagName===T.tagName);if(y.length>1){let C=y.indexOf(T)+1;D=k+":nth-of-type("+C+")";}let _=L.tagName.toLowerCase();if(L.id&&L.id!==A)D="#"+CSS.escape(L.id)+" > "+D;else {let C=L.parentElement;if(C){let I=Array.from(C.children).filter(O=>O.tagName===L.tagName);if(I.length>1){let O=I.indexOf(L)+1;D=_+":nth-of-type("+O+") > "+D;}else D=_+" > "+D;}}}v.push({selector:D,attribute:"id",currentValue:A,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+R+' of id="'+A+'" | tag: <'+k+">",needsAI:false,fixValue:E});}}return v},dh={name:"duplicateIds",cap:50,async detect(p){return p.evaluate(B3)}};var H3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,v=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,h=[],A=document.querySelectorAll("a");for(let b of A){if(h.length>=50)break;if(b.closest(p)||b.getAttribute("aria-hidden")==="true"||b.getAttribute("role")==="presentation"||b.closest('[aria-hidden="true"]')||!isVisible(b))continue;let w=getAccessibleName(b);if(w&&w.length>0&&!v.test(w)&&!d.test(w))continue;let T=b.querySelectorAll("img[alt]"),R="";for(let W of T){let K=(W.getAttribute("alt")||"").trim();K&&(R+=K+" ");}if(R.trim())continue;let E=b.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))continue;let k=uniqueSel(b),L=b.getAttribute("href")||"",D=(b.textContent||"").trim(),y=getNearbyContext(b),_="";D&&v.test(D)?_="[whitespace only]":D&&d.test(D)&&(_=D);let C="",I=true;if(L&&L!=="#"&&!L.startsWith("javascript:")){if(L.startsWith("mailto:")){let W=L.slice(7).split("?")[0];W&&W.includes("@")&&(C="Email "+W,I=false);}else if(L.startsWith("tel:")){let W=L.slice(4);try{W=decodeURIComponent(W);}catch{}W=W.replace(/^\+/,"").trim(),W&&(C="Call "+W,I=false);}}let O=[];b.closest("nav")&&O.push("inside nav"),y.nearbyHeading&&O.push("heading: "+y.nearbyHeading),L&&O.push("href: "+L.slice(0,120)),O.push("parent: "+y.parentTag);let j={selector:k,attribute:"aria-label",currentValue:_,issueType:"empty_link",wcag:"2.4.4",context:O.join(" | "),needsAI:I,outerHtml:b.outerHTML.slice(0,300)};!I&&C&&(j.fixValue=C),h.push(j);}return h},fh={name:"emptyLinks",cap:50,async detect(p){return p.evaluate(H3)}};var V3=()=>{let d=[],v=new Set;function m(E){return (E||"").trim()}function h(E){let k=m(E.getAttribute("aria-label")||"");if(k)return k;let L=E.getAttribute("aria-labelledby");if(L){let y=L.split(/\s+/),_="";for(let C=0;C<y.length;C++){let I=document.getElementById(y[C]);I&&(_+=" "+(I.textContent||""));}if(m(_))return m(_)}let D=m(E.getAttribute("title")||"");return D||""}let A=document.querySelectorAll("fieldset");for(let E=0;E<A.length&&!(d.length>=30);E++){let k=A[E];if(isWidget(k)||!isVisible(k)||isHiddenFromAT(k))continue;if(h(k)){v.add(k);continue}let L=null,D=k.querySelectorAll("legend");for(let j=0;j<D.length;j++)if(D[j].closest("fieldset")===k){L=D[j];break}let y=L!==null,_=L?m(L.textContent||""):"";if(y&&_){v.add(k);continue}let C=getNearbyContext(k),I=k.querySelectorAll("input, select, textarea"),O=uniqueSel(k);d.push({selector:O,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:y?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:I.length,nearbyHeading:C.nearbyHeading,parentTag:C.parentTag}),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)}),v.add(k);}let b=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let E=0;E<b.length&&!(d.length>=30);E++){let k=b[E];if(isWidget(k)||!isVisible(k)||isHiddenFromAT(k)||v.has(k))continue;if(h(k)){v.add(k);continue}let L=k.getAttribute("role")||"",D=getNearbyContext(k),y=k.querySelectorAll("input, select, textarea");if(L==="group"&&k.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let _=uniqueSel(k);d.push({selector:_,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+L+'" container without accessible name',role:L,controlCount:y.length,nearbyHeading:D.nearbyHeading,parentTag:D.parentTag}),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)}),v.add(k);}let w={},T=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let E=0;E<T.length;E++){let k=T[E];if(isWidget(k)||!isVisible(k)||isHiddenFromAT(k))continue;let L=k.getAttribute("name")||"";if(!L)continue;let D=k.closest("form"),y=D?D.getAttribute("id")||D.getAttribute("action")||D.tagName:"no-form",_=(k.getAttribute("type")||"").toLowerCase(),C=y+"::"+_+"::"+L;w[C]||(w[C]=[]),w[C].push(k);}let R=Object.keys(w);for(let E=0;E<R.length&&!(d.length>=30);E++){let k=w[R[E]];if(k.length<3)continue;let L=k[0],D=L.closest('fieldset, [role="group"], [role="radiogroup"]'),y=false;if(D){y=true;for(let W=1;W<k.length;W++)if(!D.contains(k[W])){y=false;break}}if(y&&D)continue;let _=L.parentElement;for(;_&&_!==document.body;){let W=true;for(let K=1;K<k.length;K++)if(!_.contains(k[K])){W=false;break}if(W)break;_=_.parentElement;}if(!_||_===document.body||v.has(_))continue;let C=(L.getAttribute("type")||"").toLowerCase(),I=L.getAttribute("name")||"",O=getNearbyContext(L),j=uniqueSel(_);d.push({selector:j,attribute:"role",currentValue:_.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+C+" group ("+k.length+' inputs share name="'+I+'")',inputType:C,inputCount:k.length,name:I,nearbyHeading:O.nearbyHeading,parentTag:O.parentTag}),needsAI:false,fixValue:C==="radio"?"radiogroup":"group",outerHtml:(_.outerHTML||"").slice(0,300)}),v.add(_);}return d},ph={name:"fieldsetLegend",cap:30,async detect(p){return p.evaluate(V3)}};var j3=()=>{let p=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),v=0;for(let m of Array.from(d)){let h=getComputedStyle(m);if(h.display==="none"||h.visibility==="hidden"||h.position!=="sticky"&&h.position!=="fixed")continue;let A=m.getBoundingClientRect();if(A.top>50||A.bottom<=0)continue;let b=Math.round(A.height);b<40||b>240||b>v&&(v=b);}if(v>0){let m=window.scrollX,h=window.scrollY,A=0,b=0;try{let T=[],R=new Set;document.querySelectorAll('a[href^="#"]').forEach(E=>{let k=E.getAttribute("href").slice(1);if(!k)return;let L=document.getElementById(k);L&&!R.has(L)&&(R.add(L),T.push(L));});for(let E of T){if(b>=8)break;let k=getComputedStyle(E);if(k.display==="none"||k.visibility==="hidden")continue;b++,E.scrollIntoView({block:"start"});let L=E.getBoundingClientRect(),D=Math.max(L.height,1);Math.max(0,Math.min(L.bottom,v)-Math.max(L.top,0))/Math.min(D,v)>=.5&&A++;}}catch{}try{window.scrollTo(m,h);}catch{}let w=`scroll-margin-top: ${v+8}px; scroll-padding-top: ${v+8}px;`;b>0&&A>0?p.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${v}px \u2014 ${A}/${b} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):b===0&&p.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:w});}return p},mh={name:"focusObscured",async detect(p){return p.evaluate(j3)}};var hh={name:"focusVisible",cap:40,async detect(p){let d=typeof p.keyboard?.press=="function";try{await p.evaluate(()=>{let v=document.activeElement;window[Symbol.for("wa.prevFocus")]=v&&v!==document.body&&v!==document.documentElement?v:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let m=getSelection();window[Symbol.for("wa.prevSelection")]=m?Array.from({length:m.rangeCount},(h,A)=>m.getRangeAt(A).cloneRange()):[];});}catch{}if(d)try{await p.keyboard.press("Tab");}catch{}return p.evaluate(v=>{let h=[],A=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(",");try{document.activeElement?.blur?.();}catch{}let b=document.querySelectorAll(A),w=Symbol.for("wa.prevFocus"),T=window[w]??null;try{delete window[w];}catch{}for(let R of b){if(h.length>=40)break;if(typeof isWidget=="function"&&isWidget(R)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(R)||typeof isVisible=="function"&&!isVisible(R)||!R.offsetParent&&R.tagName!=="BODY")continue;let E=getComputedStyle(R),k=E.outline,L=E.outlineWidth,D=E.outlineStyle,y=E.boxShadow,_=E.border,C=E.backgroundColor;try{R.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==R)continue;let I=getComputedStyle(R),O=I.outline,j=(I.outlineStyle||"").toLowerCase(),W=parseFloat(I.outlineWidth||"0"),K=I.boxShadow,G=I.border,N=I.backgroundColor,B=O!==k,F=j!=="none"&&j!=="hidden"&&W>0;if(B&&F||K!==y&&K!=="none"&&K!==""||G!==_||N!==C||parseFloat(L)>0&&D!=="none")continue;let Q=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();h.push({selector:Q+":focus-visible",attribute:"style",currentValue:D+" "+L,issueType:"focus_not_visible",wcag:"2.4.7",context:`${R.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:R.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{document.activeElement?.blur?.();}catch{}try{T&&T.isConnected&&T.focus({preventScroll:!0});}catch{}try{let R=Symbol.for("wa.prevScroll"),E=window[R];delete window[R],E&&window.scrollTo({left:E[0],top:E[1],behavior:"instant"});}catch{}try{let R=Symbol.for("wa.prevSelection"),E=window[R];delete window[R];let k=getSelection();if(k&&E){k.removeAllRanges();for(let L of E)k.addRange(L);}}catch{}return h},d)}};var $3=()=>{let d=[],v=["new","register","signup","sign-up","sign_up","create","change","reset"],m=["confirm","verify","retype","re-type","repeat","again"];function h(L){if(!L)return false;let D=" "+((L.id||"")+" "+(L.className||"")+" "+(L.getAttribute("name")||"")+" "+(L.getAttribute("action")||"")).toLowerCase()+" ";for(let y=0;y<v.length;y++)if(D.indexOf(v[y])!==-1)return true;return false}function A(L){let D=((L.getAttribute("name")||"")+" "+(L.getAttribute("id")||"")+" "+(L.getAttribute("placeholder")||"")+" "+(L.getAttribute("aria-label")||"")).toLowerCase();for(let y=0;y<m.length;y++)if(D.indexOf(m[y])!==-1)return true;return false}let b=document.querySelectorAll("input[pattern]");for(let L of b){if(d.length>=30)break;let D=L;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D)||(D.getAttribute("title")||"").trim()||(D.getAttribute("aria-describedby")||"").trim())continue;let C=uniqueSel(D),I=(D.getAttribute("pattern")||"").slice(0,80),O=D.getAttribute("name")||"",j=D.getAttribute("placeholder")||"";d.push({selector:C,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+I+" | name: "+O+" | placeholder: "+j,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let L of w){if(d.length>=30)break;let D=L;if(isWidget(D)||isHiddenFromAT(D)||!isVisible(D))continue;let y=(D.getAttribute("autocomplete")||"").trim().toLowerCase();if(A(D)){if(y==="new-password")continue;let j=uniqueSel(D);d.push({selector:j,attribute:"autocomplete",currentValue:y,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(D.outerHTML||"").slice(0,300)});continue}if(y)continue;let C=D.form||D.closest("form"),I=h(C),O=uniqueSel(D);d.push({selector:O,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(I?"new/signup/change password form":"login form")+" | name: "+(D.getAttribute("name")||"")+" | id: "+(D.getAttribute("id")||""),needsAI:false,fixValue:I?"new-password":"current-password",outerHtml:(D.outerHTML||"").slice(0,300)});}let T=document.querySelectorAll("form"),R=/\*|\brequired\b|\bmandatory\b/i;for(let L of T){if(d.length>=30)break;let D=L;if(isWidget(D)||!isVisible(D))continue;let y=D.querySelectorAll("input[required], select[required], textarea[required]");if(!y.length)continue;let _=0;for(let W of y)isVisible(W)&&_++;if(_===0)continue;let C=D.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),I=0;for(let W of C)isVisible(W)&&I++;if(_>=I||(D.getAttribute("data-asw-required-hint")||"").trim())continue;let O=(D.textContent||"").trim();if(R.test(O))continue;let j=uniqueSel(D);d.push({selector:j,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${_} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(D.outerHTML||"").slice(0,300)});}let E='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',k='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let L of T){if(d.length>=30)break;let D=L;if(isWidget(D)||!isVisible(D)||isHiddenFromAT(D))continue;let y=[];for(let W of D.querySelectorAll(k))isVisible(W)&&y.push(W);if(y.length===0||D.querySelector(E))continue;let _=D.getAttribute("id");if(_){let W=false;for(let K of document.querySelectorAll(E))if(K.getAttribute("form")===_){W=true;break}if(W)continue}if(((D.getAttribute("role")||"").toLowerCase()==="search"||!!D.closest('[role="search"]'))&&y.length===1)continue;let I=y.slice(0,4).map(W=>W.tagName.toLowerCase()+(W.tagName==="INPUT"?"["+(W.getAttribute("type")||"text")+"]":"")).join(", "),O=[];for(let W of D.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(O.length>=3)break;let K=W;if(!isVisible(K))continue;let G=((K.tagName==="INPUT"?K.getAttribute("value"):K.textContent)||K.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);O.push('"'+G+'"');}if(O.length&&!(D.getAttribute("action")||"").trim())continue;let j=O.length?" Buttons present that are not a submit control (type=button or role=button): "+O.join(", ")+".":"";d.push({selector:uniqueSel(D),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${y.length} visible field(s) (${I}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+y.length+" visible field(s) ("+I+") and no submit control (no submit button, input[type=submit|image], or outside button via form=). Violation only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) with no button to ask for it. Pass when it is a script-driven or search-style form with no such surprise."+j,outerHtml:(D.outerHTML||"").slice(0,300)});}return d},gh={name:"formAttributes",cap:30,async detect(p){return p.evaluate($3)}};var z3=()=>{let p=document.documentElement;return p?(p.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},vh={name:"htmlLang",async detect(p){return p.evaluate(z3)}};var G3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=[{pattern:"youtube",title:"YouTube video"},{pattern:"youtu.be",title:"YouTube video"},{pattern:"vimeo",title:"Vimeo video"},{pattern:"google.com/maps",title:"Google Maps"},{pattern:"pay.google.com",title:"Google Pay"},{pattern:"recaptcha",title:"reCAPTCHA verification"},{pattern:"facebook",title:"Facebook widget"},{pattern:"twitter",title:"Twitter widget"},{pattern:"x.com",title:"Twitter widget"},{pattern:"instagram",title:"Instagram widget"},{pattern:"calendly",title:"Scheduling widget"}],h=/^(iframe|embed|widget|frame|content|untitled)$/i,A=document.querySelectorAll("iframe");for(let b of A){if(v.length>=50)break;if(b.closest(p))continue;let w=(b.getAttribute("aria-hidden")||"").trim(),T=(b.getAttribute("role")||"").trim().toLowerCase();if(w==="true"||T==="presentation")continue;let R=getComputedStyle(b);if(b.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse"||(b.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let E=(b.getAttribute("title")||"").trim(),k=E.length===0,L=!k&&(E.length<3||h.test(E));if(!k&&!L)continue;let D=(b.getAttribute("src")||"").toLowerCase(),y=uniqueSel(b),_=getNearbyContext(b),C="src: "+D.slice(0,120)+(_.nearbyHeading?" | heading: "+_.nearbyHeading:""),I=false;for(let O of m)if(D.includes(O.pattern)){v.push({selector:y,attribute:"title",currentValue:E,issueType:"missing_label",wcag:"4.1.2",context:C,needsAI:false,fixValue:O.title,outerHtml:b.outerHTML.slice(0,300)}),I=true;break}!I&&k&&v.push({selector:y,attribute:"title",currentValue:E,issueType:"missing_label",wcag:"4.1.2",context:C,needsAI:true,outerHtml:b.outerHTML.slice(0,300)});}return v},bh={name:"iframeTitle",cap:50,async detect(p){return p.evaluate(G3)}};var W3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],m=[],h={email:"email",tel:"tel",password:"current-password"},A=[{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 w of b){if(m.length>=50)break;if(w.closest(p))continue;let T=w,R=(T.getAttribute("type")||"text").toLowerCase();if(d.includes(R)||T.getAttribute("autocomplete")||!isVisible(T))continue;let E="";if(h[R]&&(E=h[R]),!E){let L=(T.getAttribute("name")||"").toLowerCase(),D=(T.getAttribute("id")||"").toLowerCase(),y=(T.getAttribute("placeholder")||"").toLowerCase(),_=L+" "+D+" "+y;for(let C of A)if(_.includes(C.pattern)){E=C.autocomplete;break}}if(!E)continue;if(E==="country"){let L=false;if(T.tagName==="SELECT"){let D=Array.from(T.options).map(y=>(y.value||"").trim()).filter(Boolean);L=D.length>0&&D.every(y=>/^[A-Za-z]{2}$/.test(y));}L||(E="country-name");}let k=uniqueSel(T);m.push({selector:k,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+R+" | name: "+(T.getAttribute("name")||"")+" | id: "+(T.getAttribute("id")||""),needsAI:false,fixValue:E});}return m},yh={name:"inputPurpose",cap:50,async detect(p){return p.evaluate(W3)}};var U3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function h(b){let w=b.getBoundingClientRect();if(w.width===0&&w.height===0)return false;let T=-window.scrollX,R=-window.scrollY,E=document.documentElement,k=getComputedStyle(b).position;if(k==="fixed")return false;let L=k==="absolute";for(let D=b.parentElement;D&&D!==document.body&&D!==E;D=D.parentElement){let y=getComputedStyle(D);if(L){if(y.position==="static")continue;L=false;}if(/auto|scroll/.test(y.overflowX+" "+y.overflowY))return false;let _=y.overflowX==="hidden"||y.overflowX==="clip",C=y.overflowY==="hidden"||y.overflowY==="clip";if(!_&&!C)continue;let I=D.getBoundingClientRect();if(_&&(w.right<=I.left||w.left>=I.right)||C&&(w.bottom<=I.top||w.top>=I.bottom))return true;if(k=y.position,k==="fixed")return false;k==="absolute"&&(L=true);}return w.right<=T||w.bottom<=R||w.left>=T+E.scrollWidth||w.top>=R+E.scrollHeight}let A=document.querySelectorAll(m);for(let b of A){if(v.length>=30)break;if(b.closest(p)||!b.hasAttribute("tabindex"))continue;let w=b.getAttribute("tabindex")||"",T=parseInt(w,10);if(!Number.isFinite(T)||T===0||b.getAttribute("aria-disabled")==="true"||b.getAttribute("aria-hidden")==="true"||b.closest('[aria-hidden="true"]')||b.closest("[hidden]"))continue;let R=b.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(R&&!(R.hasAttribute("open")||R.getAttribute("aria-modal")==="true"||R.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(b)||T<0&&h(b))continue;let E=(b.getAttribute("role")||"").toLowerCase();if(T<0&&b.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let L=typeof uniqueSel=="function"?uniqueSel(b):"",D=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},y,_;T<0?(y="keyboard_trap",_="2.1.1"):(y="focus_order_disruption",_="2.4.3");let C=[];C.push("tabindex: "+T),C.push("tag: "+b.tagName.toLowerCase()),E&&C.push("role: "+E),D.nearbyHeading&&C.push("heading: "+D.nearbyHeading),C.push("parent: "+D.parentTag),v.push({selector:L,attribute:"tabindex",currentValue:String(T),issueType:y,wcag:_,context:C.join(" | "),needsAI:false,fixValue:"0",outerHtml:(b.outerHTML||"").slice(0,300)});}return v},wh={name:"keyboardTrap",cap:30,async detect(p){return p.evaluate(U3)}};var X3=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],h=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let A of Array.from(h)){if(v.length>=40)break;if(A.closest(p)||typeof isVisible=="function"&&!isVisible(A))continue;let b="",w=[],T=[];try{let P=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,V=/icon|awesome|glyph|material symbols|dashicons/i,z=!1;try{z=V.test(getComputedStyle(A).fontFamily||"");}catch{}let J=document.createTreeWalker(A,NodeFilter.SHOW_TEXT),Q;for(;Q=J.nextNode();){let we=Q.parentElement;if(!we)continue;let Te=(Q.textContent||"").trim();if(!Te||we===A&&z)continue;let Ee=!1,De=!1;for(let Ne=we;Ne&&Ne!==A;Ne=Ne.parentElement){if(Ne.tagName==="KBD"&&(De=!0),Ne.getAttribute("aria-hidden")==="true"){Ee=!0;break}if(P.test(Ne.className||"")||P.test(Ne.id||"")){Ee=!0;break}try{let Re=getComputedStyle(Ne);if(Re.display==="none"||Re.visibility==="hidden"){Ee=!0;break}if(parseFloat(Re.opacity||"1")===0){Ee=!0;break}if(V.test(Re.fontFamily||"")){Ee=!0;break}}catch{}}!Ee&&/[\p{L}\p{N}]/u.test(Te)&&T.push({text:Te,kbd:De});}let ie=0,ne=T.length;for(;ie<ne&&T[ie].kbd;)ie++;for(;ne>ie&&T[ne-1].kbd;)ne--;let se=ie<ne?T.slice(ie,ne):T;for(let we of se)w.push(we.text);b=w.join(" ").trim().toLowerCase();}catch{b=((A.innerText!=null?A.innerText:A.textContent)||"").trim().toLowerCase();}if(!b||!/[\p{L}\p{N}]/u.test(b)||/^\p{L}$/u.test(b))continue;let E=/[\p{L}\p{N}\p{M}]/u,k=(A.getAttribute("aria-label")||"").trim().toLowerCase();if(!k){let P=A.getAttribute("aria-labelledby");P&&(k=(typeof __resolveIdRefs=="function"?__resolveIdRefs(P):"").toLowerCase());}if(!k)continue;let L=b.replace(/\s+/g," ").normalize("NFC"),D=k.replace(/\s+/g," ").normalize("NFC"),y=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,_=(P,V)=>!P||!E.test(P)||y.test(P)||y.test(V),C=(P,V)=>{if(V<=0)return "";let z=P.charCodeAt(V-1);return z>=56320&&z<=57343&&V>=2?P.slice(V-2,V):P.charAt(V-1)},I=(P,V)=>{let z=P.codePointAt(V);return z===void 0?"":String.fromCodePoint(z)},O=L.substring(0,40),j=L.length>=40,W=I(O,0),K=C(O,O.length),G=false;for(let P=0;!G;){let V=D.indexOf(O,P);if(V<0)break;_(C(D,V),W)&&(j||_(I(D,V+O.length),K))&&(G=true),P=V+1;}if(G)continue;if(w.length>1){let P=true,V=0;for(let z of w){let J=z.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!J)continue;let Q=J.slice(0,40),ie=-1;for(let ne=V;;){let se=D.indexOf(Q,ne);if(se<0)break;let we=_(C(D,se),I(Q,0)),Te=Q.length>=40||_(I(D,se+Q.length),C(Q,Q.length));if(we&&Te){ie=se;break}ne=se+1;}if(ie<0){P=false;break}V=ie+Q.length;}if(P)continue}let N=typeof uniqueSel=="function"?uniqueSel(A):"",B=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},F=[];F.push("visible: "+b.slice(0,40)),F.push("aria-label: "+k.slice(0,60)),B.nearbyHeading&&F.push("heading: "+B.nearbyHeading),F.push("parent: "+B.parentTag),v.push({selector:N,attribute:"aria-label",currentValue:k,issueType:"label_in_name",wcag:"2.5.3",context:F.join(" | "),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}return v},xh={name:"labelInName",cap:40,async detect(p){return p.evaluate(X3)}};var Y3=()=>{function p(R){let E=R.closest("section,article,div,nav,main,aside,header,footer"),k=E?E.querySelector("h1,h2,h3,h4,h5,h6"):null;return k?(k.textContent||"").trim().slice(0,80):""}let d="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",v=50,m=[],h=document.querySelectorAll("div, section, ul, ol");for(let R of h){if(m.length>=v)break;if(R.closest(d)||!isVisible(R)||isHiddenFromAT(R)||R.tagName.toLowerCase()==="nav")continue;let E=R.getAttribute("role");if(E&&E!=="navigation")continue;let k=(R.className&&typeof R.className=="string"?R.className:"").toLowerCase(),L=(R.id||"").toLowerCase();if(!(k.includes("nav")||k.includes("menu")||k.includes("navigation")||L.includes("nav")||L.includes("menu")||L.includes("navigation"))||R.closest('nav, [role="navigation"]'))continue;let y=Array.from(R.querySelectorAll('nav, [role="navigation"]')).filter(W=>isVisible(W)&&!isHiddenFromAT(W)),_=Array.from(R.querySelectorAll("a[href]")).filter(W=>!y.some(K=>K.contains(W)));if(_.length<3)continue;let C=R.closest('header, [role="banner"], footer, [role="contentinfo"]'),O=!!C&&Array.from(C.querySelectorAll('nav, [role="navigation"]')).some(W=>!R.contains(W)&&isVisible(W)&&!isHiddenFromAT(W))||y.length>0,j=uniqueSel(R);m.push({selector:j,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:R.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:_.length,classes:k.slice(0,80)}),needsAI:false,fixValue:"navigation",...O?{needsReview:true,reviewReason:y.length>0?"this container already holds a navigation landmark \u2014 confirm the links outside it are a separate navigation block before adding a second one":"this header/footer region already has a navigation landmark \u2014 confirm these links are a separate navigation block before adding a second one"}:{},outerHtml:R.outerHTML.slice(0,300)});}let A=document.querySelectorAll('aside, [role="complementary"]'),b=Array.from(A).filter(R=>!R.closest(d)&&isVisible(R)&&!isHiddenFromAT(R));if(b.length>1)for(let R of b){if(m.length>=v)break;let E=R.getAttribute("aria-label")||"",k=R.getAttribute("aria-labelledby")||"",L=R.getAttribute("title")||"";if(E.trim()||k.trim()||L.trim())continue;let D=p(R),y=uniqueSel(R);m.push({selector:y,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:R.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:A.length,nearbyHeading:D}),needsAI:true,outerHtml:R.outerHTML.slice(0,300)});}let w=document.querySelectorAll('nav, [role="navigation"]'),T=Array.from(w).filter(R=>!R.closest(d)&&isVisible(R)&&!isHiddenFromAT(R));if(T.length>1)for(let R of T){if(m.length>=v)break;let E=R.getAttribute("aria-label")||"",k=R.getAttribute("aria-labelledby")||"",L=R.getAttribute("title")||"";if(E.trim()||k.trim()||L.trim())continue;let D=p(R),y=uniqueSel(R);m.push({selector:y,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:R.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:w.length,nearbyHeading:D}),needsAI:true,outerHtml:R.outerHTML.slice(0,300)});}return m},Dh={name:"landmarkRoles",cap:50,async detect(p){return p.evaluate(Y3)}};var K3=()=>{let p="[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"],m=[];function h(E){if(!E)return "";let k=E.split("#")[0];return k.length>1&&k.charAt(k.length-1)==="/"&&(k=k.substring(0,k.length-1)),k}function A(E){let k=(E.getAttribute("aria-label")||"").trim();return k||(E.textContent||"").trim().replace(/\s+/g," ")}function b(E){return !!E.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},T=document.querySelectorAll("a[href]");for(let E=0;E<T.length;E++){let k=T[E];if(k.closest(p)||k.getAttribute("aria-hidden")==="true"||!isVisible(k))continue;let L=k.getAttribute("href")||"";if(!L)continue;let D=L.toLowerCase();if(D.charAt(0)==="#"||D.indexOf("javascript:")===0||D.indexOf("mailto:")===0||D.indexOf("tel:")===0)continue;let y=k.href||L,_=h(y);if(!_||b(k))continue;let C=(k.textContent||"").trim(),I=!!k.querySelector("img, svg, picture");if(!C&&I)continue;let O=A(k);if(!O)continue;let j=O.toLowerCase();j===D||j===y.toLowerCase()||(w[_]||(w[_]=[]),w[_].push(k));}let R=Object.keys(w);for(let E=0;E<R.length&&!(m.length>=30);E++){let k=w[R[E]];if(!k||k.length<2)continue;let L={},D="";for(let I=0;I<k.length;I++){let O=A(k[I]),j=O.toLowerCase();L[j]=true,O.length>D.length&&(D=O);}if(Object.keys(L).length<2)continue;let _=D.toLowerCase().trim();if(_.length<5)continue;let C=false;for(let I=0;I<v.length;I++)if(_===v[I]){C=true;break}if(!C)for(let I=0;I<k.length&&!(m.length>=30);I++){let O=k[I],j=A(O);if(j.toLowerCase()===_)continue;let W=uniqueSel(O);m.push({selector:W,attribute:"aria-label",currentValue:j,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+k.length+' link(s) on this page with different text (e.g. "'+D.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:O.outerHTML.slice(0,300)});}}return m},Ah={name:"linkConsistency",cap:30,async detect(p){return p.evaluate(K3)}};var J3=()=>{let d=[],v=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],m={".pdf":"PDF",".doc":"Word document",".docx":"Word document",".xls":"Excel spreadsheet",".xlsx":"Excel spreadsheet",".zip":"ZIP archive",".csv":"CSV file",".ppt":"PowerPoint",".pptx":"PowerPoint",".txt":"text file",".rtf":"RTF document",".epub":"EPUB file"},h="";try{h=window.location&&window.location.hostname||"";}catch{h="";}h=(h||"").toLowerCase();function A(y,_){if(!y||!_)return false;if(y===_||y.endsWith("."+_)||_.endsWith("."+y))return true;let C=I=>{let O=I.split(".");if(O.length<=2)return I;let j=O[O.length-1],W=O[O.length-2],K=["co","com","net","org","ac","gov","edu"],G=j.length===2&&K.indexOf(W)>=0?3:2;return O.slice(-G).join(".")};return C(y)===C(_)}function b(y){return y.indexOf("www.")===0?y.slice(4):y}function w(y){if(!y)return "";let _=y.toLowerCase();if(_.charAt(0)==="#"||_.charAt(0)==="/"||_.charAt(0)==="?"||_.indexOf("javascript:")===0||_.indexOf("mailto:")===0||_.indexOf("tel:")===0)return "";try{return (new window.URL(y,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function T(y){if(!y)return "";let _=y,C=_.indexOf("?");C>=0&&(_=_.slice(0,C));let I=_.indexOf("#");I>=0&&(_=_.slice(0,I)),_=_.toLowerCase();for(let O=0;O<v.length;O++){let j=v[O];if(_.length>=j.length&&_.slice(_.length-j.length)===j)return j}return ""}function R(y){let _=[],C=(y.getAttribute("aria-label")||"").trim();C&&_.push(C);let I=(y.getAttribute("title")||"").trim();I&&_.push(I);let O=y.getAttribute("aria-labelledby");if(O)try{let j=typeof __resolveIdRefs=="function"?__resolveIdRefs(O):"";j&&_.push(j);}catch{}return _.push((y.textContent||"").trim()),_.join(" ").toLowerCase()}function E(y,_,C){let I="";try{typeof getAccessibleName=="function"&&(I=(getAccessibleName(y)||"").trim());}catch{}let O=(_||C||I||y.textContent||"").replace(/\s+/g," ").trim();return O||(y.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function k(y,_){let I=200-_.length;I<8&&(I=8);let O=y;if(O.length>I){let j=O.slice(0,I),W=j.lastIndexOf(" ");W>I*.6&&(j=j.slice(0,W)),O=j.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return (O+_).slice(0,200)}let L=document.querySelectorAll("a"),D=L.length;for(let y=0;y<D&&!(d.length>=50);y++){let _=L[y];if(!_||isWidget(_)||_.getAttribute("aria-hidden")==="true")continue;try{if(_.closest&&_.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(_))continue;let C=_.getAttribute("href");if(C==null)continue;let I=String(C).trim();if(!I)continue;let O=I.toLowerCase(),j=R(_),W=(_.getAttribute("rel")||"").toLowerCase(),K=uniqueSel(_),G=(_.textContent||"").trim().slice(0,80),N=(_.getAttribute("target")||"").toLowerCase(),B=(_.outerHTML||"").slice(0,300),F=I==="#",P=O.indexOf("javascript:")===0;if((F||P)&&(_.getAttribute("role")||"").toLowerCase()!=="button"){let ne=_.hasAttribute&&_.hasAttribute("onclick"),se=_.hasAttribute&&(_.hasAttribute("data-action")||_.hasAttribute("data-click")||_.hasAttribute("data-toggle")||_.hasAttribute("data-target")),we=typeof _.onclick=="function",Te=ne||se||we,Ee=[];Ee.push("href: "+I),G&&Ee.push("text: "+G),Ee.push(Te?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let De='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',Ne=Ce=>{if(getComputedStyle(Ce).visibility==="hidden")return false;for(let kt=Ce;kt&&kt.nodeType===1;kt=kt.parentElement)if(getComputedStyle(kt).display==="none")return false;return true},Re=Array.prototype.some.call(_.querySelectorAll(De),Ce=>Ne(Ce)&&!isHiddenFromAT(Ce));Te&&!Re&&d.push({selector:K,attribute:"role",currentValue:I,issueType:"placeholder_link",wcag:"2.4.4",context:Ee.join(" | "),needsAI:false,fixValue:"button",outerHtml:B});continue}if(I.charAt(0)==="#"&&I.length>1){let ie=I.slice(1),ne=ie;try{ne=decodeURIComponent(ie);}catch{ne=ie;}let se=null;try{se=document.getElementById(ne);}catch{se=null;}if(!se)try{se=document.querySelector('[name="'+ne.replace(/"/g,'\\"')+'"]');}catch{se=null;}continue}let V=T(O);if(V){let ie=_.hasAttribute&&_.hasAttribute("download"),ne=(m[V]||V).toLowerCase(),se=j.indexOf(V)>=0||j.indexOf(ne)>=0||j.indexOf("download")>=0;if(!ie&&!se){let we=E(_,(_.getAttribute("aria-label")||"").trim(),""),Te=k(we," ("+(m[V]||V)+" download)");d.push({selector:K,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+V+" | href: "+I.slice(0,120),needsAI:false,fixValue:Te,outerHtml:B});continue}}let z=w(I),J=O.indexOf("http://")===0||O.indexOf("https://")===0||O.indexOf("//")===0,Q=!!z&&!!h&&!A(b(z),b(h));if(N==="_blank"){let ie=W.indexOf("noopener")>=0||W.indexOf("noreferrer")>=0,ne=j.indexOf("new window")>=0||j.indexOf("new tab")>=0||j.indexOf("opens in")>=0;if(!ne){let se=(_.getAttribute("aria-label")||"").trim(),we="",Te=_.getAttribute("aria-labelledby")||"";if(!se&&Te)try{typeof __resolveIdRefs=="function"&&(we=(__resolveIdRefs(Te)||"").trim());}catch{}let Ee=E(_,se,we),De=k(Ee," (opens in new window)"),Ne=[];ie||Ne.push("missing rel=noopener"),ne||Ne.push('missing "new window" hint'),Ne.push("href: "+I.slice(0,120)),d.push({selector:K,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Ne.join(" | "),needsAI:false,fixValue:De,outerHtml:B});continue}}if(Q&&J){let ie=W.indexOf("external")>=0,ne=j.indexOf("external")>=0||j.indexOf("opens in")>=0||j.indexOf("new window")>=0||j.indexOf("new tab")>=0;if(!ie&&!ne){let se=(_.getAttribute("aria-label")||"").trim(),we="",Te=_.getAttribute("aria-labelledby")||"";if(!se&&Te)try{typeof __resolveIdRefs=="function"&&(we=(__resolveIdRefs(Te)||"").trim());}catch{}let Ee=E(_,se,we),De=k(Ee," (external link)");d.push({selector:K,attribute:"aria-label",currentValue:(_.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+z+" (page: "+h+") | href: "+I.slice(0,120),needsAI:false,fixValue:De,outerHtml:B});}}}return d},_h={name:"linkWarnings",cap:50,async detect(p){return p.evaluate(J3)}};var Z3=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],m=new Set,h=document.querySelectorAll('main, [role="main"]'),A=[];return h.forEach(b=>{let w=getComputedStyle(b);w.display!=="none"&&w.visibility!=="hidden"&&A.push(b);}),h.forEach(b=>{if(v.length>=10||b.closest(p)||b.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(b);if(w.display==="none"||w.visibility==="hidden"||b.closest('[role="dialog"]')||b.closest('[role="alertdialog"]')||b.closest("dialog")||A.some(k=>k!==b&&k.getAttribute("aria-hidden")!=="true"))return;let R=b.parentElement;for(;R&&R!==document.body&&R!==document.documentElement;){if(R.getAttribute("aria-hidden")==="true")return;R=R.parentElement;}let E=uniqueSel(b);m.has(E)||(m.add(E),v.push({selector:E,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},Eh={name:"mainContentHidden",cap:10,async detect(p){return p.evaluate(Z3)}};var Q3=()=>{let d=[];function v(b){return !!(!b||isWidget(b)||(b.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function m(b){return (b.outerHTML||"").slice(0,300)}let h=document.querySelectorAll("video");for(let b of h){if(d.length>=10)break;let w=b;if(v(w))continue;let T=w.hasAttribute("controls"),R=w.hasAttribute("autoplay"),E=w.hasAttribute("muted"),k=R||!w.paused&&!w.ended,L=typeof isVisible=="function"?isVisible(w):true;if(!T&&k&&L&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:m(w)}),d.length>=10))break;R&&!E&&d.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:m(w)});}let A=document.querySelectorAll("audio");for(let b of A){if(d.length>=10)break;let w=b;if(v(w))continue;let T=w.hasAttribute("controls"),R=w.hasAttribute("autoplay"),E=R||!w.paused&&!w.ended;if(!T&&E&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:m(w)}),d.length>=10))break;R&&d.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:m(w)});}return d},Ch={name:"mediaControls",cap:10,async detect(p){return p.evaluate(Q3)}};var eI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,h=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,A=document.querySelectorAll("img");for(let b of A){if(v.length>=50)break;if(b.closest(p))continue;let w=b.getAttribute("src")||"",T=b.getAttribute("alt");if(w.startsWith("data:"))continue;let R=b.naturalWidth||b.width,E=b.naturalHeight||b.height;if(R<=3&&E<=3&&R>0&&E>0||R<=2&&E<=2)continue;let k=b.getBoundingClientRect();if(k.width<=2&&k.height<=2||!isVisible(b)||b.getAttribute("role")==="presentation"||b.getAttribute("role")==="none"||b.getAttribute("aria-hidden")==="true"||b.closest('[aria-hidden="true"]'))continue;let L=(b.getAttribute("aria-label")||"").trim(),D=(b.getAttribute("aria-labelledby")||"").trim();if(L||D)continue;let y=b.getBoundingClientRect(),_=y.width>0&&y.width<=30&&y.height<=30,C=!!b.closest('a, button, [role="button"], [role="link"]');if(_&&!C&&T===null){let K=uniqueSel(b);v.push({selector:K,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(y.width)+"x"+Math.round(y.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(T===null){let K=uniqueSel(b),G=getNearbyContext(b),N=[],B=b.closest("figure");if(B){let V=B.querySelector("figcaption");V&&N.push("figcaption: "+(V.textContent||"").trim().slice(0,80));}G.nearbyHeading&&N.push("heading: "+G.nearbyHeading);let F=b.closest("a");if(F){let V=F.getAttribute("href")||"",z=(F.textContent||"").trim().replace(/\s+/g," ");z&&N.push("link text: "+z.slice(0,60)),V&&N.push("link href: "+V.slice(0,80));}w&&N.push("src: "+w.slice(0,120)),N.push("parent: "+G.parentTag);let P=w;try{P=new URL(w,document.baseURI).href;}catch{}v.push({selector:K,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:N.join(" | "),needsAI:true,imageSrc:P,outerHtml:b.outerHTML.slice(0,300)});continue}let I=(T||"").trim();if(I==="")continue;let O=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(I),j=m.test(I),W=h.test(I);if(O||j||W){let K=uniqueSel(b),G=getNearbyContext(b),N=[];G.nearbyHeading&&N.push("heading: "+G.nearbyHeading),w&&N.push("src: "+w.slice(0,120)),N.push("parent: "+G.parentTag);let B=w;try{B=new URL(w,document.baseURI).href;}catch{}v.push({selector:K,attribute:"alt",currentValue:I,issueType:"missing_alt",wcag:"1.1.1",context:N.join(" | "),needsAI:true,imageSrc:B,outerHtml:b.outerHTML.slice(0,300)});}}return v},Sh={name:"missingAlt",cap:50,async detect(p){return p.evaluate(eI)}};var tI=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",d='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',v=["onclick","data-action","ng-click","@click","v-on:click"],m=y=>{if(getComputedStyle(y).visibility==="hidden")return false;for(let _=y;_&&_.nodeType===1;_=_.parentElement)if(getComputedStyle(_).display==="none")return false;return true},h=y=>Array.prototype.some.call(y.querySelectorAll("a:not([href])"),_=>m(_)&&!isHiddenFromAT(_)&&v.some(C=>_.hasAttribute(C))),A=y=>Array.prototype.some.call(y.querySelectorAll(d),_=>m(_)&&!isHiddenFromAT(_)),w=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(y=>{if(w.length>=50||y.closest(p)||!isVisible(y)||isHiddenFromAT(y)||A(y)||h(y))return;let _=y.getAttribute("role");if(_==="button"||_==="link"||_==="tab"||_==="menuitem"||_==="checkbox"||_==="radio")return;let C=uniqueSel(y),I=y.outerHTML.slice(0,300);w.push({selector:C,attribute:"role",currentValue:_||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),hasOnclick:true,currentTabindex:y.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:I}),y.getAttribute("tabindex")===null&&w.push({selector:C,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:I});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(y=>{if(w.length>=50||y.closest(p)||!isVisible(y)||isHiddenFromAT(y)||y.getAttribute("role"))return;let C=y.hasAttribute("onclick"),I=y.getAttribute("data-action")||y.getAttribute("ng-click")||y.getAttribute("@click")||y.getAttribute("v-on:click");if(!C&&!I||A(y))return;let O=uniqueSel(y),j=y.outerHTML.slice(0,300);w.push({selector:O,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:y.getAttribute("href")||"",hasOnclick:C}),needsAI:false,fixValue:"button",outerHtml:j});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(y=>{if(w.length>=50||y.closest(p)||!isVisible(y)||isHiddenFromAT(y)||y.getAttribute("role"))return;let C=y.getAttribute("href")||"",I=false;if(C.startsWith("#")&&C.length>1){if(C.charAt(1)==="/")return;let K=C.slice(1);if(document.getElementById(K))return;try{if(document.querySelector('[name="'+CSS.escape(K)+'"]'))return}catch{}I=true;}let O=C.startsWith("javascript:")||y.hasAttribute("onclick")||y.getAttribute("data-action")||y.getAttribute("ng-click")||y.getAttribute("@click")||y.getAttribute("v-on:click")||y.hasAttribute("aria-haspopup")||y.hasAttribute("aria-expanded")||y.hasAttribute("aria-controls"),j=I&&!O;if(A(y))return;let W=uniqueSel(y);w.push({selector:W,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:C,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:y.outerHTML.slice(0,300),...j?{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(y=>{if(w.length>=50||y.closest(p)||!isVisible(y)||isHiddenFromAT(y))return;let _=(y.className&&typeof y.className=="string"?y.className:"").toLowerCase(),C=(y.id||"").toLowerCase();if(!_.includes("breadcrumb")&&!_.includes("crumb")&&!C.includes("breadcrumb")&&!C.includes("crumb"))return;let I=y.querySelectorAll("a");if(I.length<2)return;let O=(y.getAttribute("aria-label")||"").toLowerCase(),j=y.getAttribute("role");if(O.includes("breadcrumb")||O.includes("crumb")||j==="navigation"&&O)return;let W=uniqueSel(y);w.push({selector:W,attribute:"aria-label",currentValue:O,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:I.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:y.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(y=>{if(w.length>=50||y.closest(p)||!isVisible(y)||isHiddenFromAT(y))return;let _=(y.className&&typeof y.className=="string"?y.className:"").toLowerCase(),C=(y.id||"").toLowerCase();if(!_.includes("search")&&!C.includes("search")||!y.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let O=y.getAttribute("role");if(O==="search"||y.closest('[role="search"]')||y.querySelector('[role="search"]')||Array.prototype.some.call(y.querySelectorAll("form, section, div"),K=>{let G=(K.className&&typeof K.className=="string"?K.className:"").toLowerCase(),N=(K.id||"").toLowerCase();return !G.includes("search")&&!N.includes("search")||K.getAttribute("role")==="search"?false:!!K.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let W=uniqueSel(y);w.push({selector:W,attribute:"role",currentValue:O||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:y.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(y=>{if(y.closest(p))return;let _=y.getAttribute("role")||"menu",C=Array.from(y.querySelectorAll("a")).filter(O=>{if(!isVisible(O)||isHiddenFromAT(O))return false;let j=O.getAttribute("role");return j!=="menuitem"&&j!=="menuitemcheckbox"&&j!=="menuitemradio"});if(C.length===0)return;let I=uniqueSel(y);w.push({selector:I,attribute:"role",currentValue:_,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:y.tagName.toLowerCase(),reason:`${C.length} link(s) inside role="${_}" without menuitem roles`,sample:C.slice(0,3).map(O=>(O.textContent||"").trim().slice(0,40))}),message:`container role="${_}" holds ${C.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:y.outerHTML.slice(0,300)});}),w},kh={name:"missingRoles",cap:50,async detect(p){return p.evaluate(tI)}};var rI=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[],m={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[h,A]of Object.entries(m))document.querySelectorAll(A).forEach(w=>{if(v.length>=30||w.closest(p)||typeof isVisible=="function"&&!isVisible(w))return;let T=w.parentElement,R=null;for(;T&&T!==document.body;){if(T.matches(A)){R=T;break}T=T.parentElement;}if((h==="banner"||h==="contentinfo")&&w.closest("article, section, aside, main, nav")||!R||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let E=typeof uniqueSel=="function"?uniqueSel(w):"",k=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};v.push({selector:E,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${h} | tag: ${w.tagName.toLowerCase()} | heading: ${k.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return v},Th={name:"nestedLandmarks",cap:30,async detect(p){return p.evaluate(rI)}};var nI=()=>{let d=[],v=G=>typeof parseCssColor=="function"?parseCssColor(G):null,m=(G,N,B)=>typeof relLuminance=="function"?relLuminance(G,N,B):0,A=(G,N)=>typeof contrastRatio=="function"?contrastRatio(G,N):1;function b(G){let N=document.documentElement,B=G.parentElement,F=0;for(;B&&B!==N&&F<6;){let J=getComputedStyle(B).backgroundColor||"",Q=v(J);if(Q&&Q[3]>.5)return [Q[0],Q[1],Q[2]];B=B.parentElement,F++;}let P=document.body;if(B&&B!==N&&P&&P.contains(B)){let J=v(getComputedStyle(P).backgroundColor||"");if(J&&J[3]>.5)return [J[0],J[1],J[2]]}let V=v(getComputedStyle(N).backgroundColor||""),z=V?Math.min(V[3],1):0;return !V||z<=0?[255,255,255]:[Math.round(V[0]*z+255*(1-z)),Math.round(V[1]*z+255*(1-z)),Math.round(V[2]*z+255*(1-z))]}function w(G,N,B){return "#"+[G,N,B].map(F=>{let P=Math.max(0,Math.min(255,Math.round(F))).toString(16);return P.length===1?"0"+P:P}).join("")}function T(G,N,B){let F=m(N[0],N[1],N[2])>.5;return R(G,N,B,F)||R(G,N,B,!F)}function R(G,N,B,F){let P=0,V=1,z=null;for(let J=0;J<20;J++){let Q=(P+V)/2,ie=F?[G[0]*(1-Q),G[1]*(1-Q),G[2]*(1-Q)]:[G[0]+(255-G[0])*Q,G[1]+(255-G[1])*Q,G[2]+(255-G[2])*Q],ne=[Math.round(ie[0]),Math.round(ie[1]),Math.round(ie[2])];A(ne,N)>=B?(z=ne,V=Q):P=Q;}return z}let E=(G,N)=>{let B=Math.max(0,Math.min(1,G[3]));return [G[0]*B+N[0]*(1-B),G[1]*B+N[1]*(1-B),G[2]*B+N[2]*(1-B)]};function k(G,N){let B=G.boxShadow||"";if(!B||B==="none")return null;let F=[],P=0,V="";for(let J of B)J==="("&&P++,J===")"&&P--,J===","&&P===0?(F.push(V),V=""):V+=J;V&&F.push(V);let z=null;for(let J of F){let Q=J.match(/rgba?\([^)]*\)/),ie=Q?v(Q[0]):null;if(!ie||ie[3]<=0||(J.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(Te=>parseFloat(Te)).filter(Te=>Number.isFinite(Te))[3]??0)<=0)continue;let we=A(E(ie,N),N);(z===null||we>z)&&(z=we);}return z}function L(G){let N=getComputedStyle(G),B=b(G),F=null,P=parseFloat(N.borderTopWidth||"0"),V=(N.borderTopStyle||"").toLowerCase(),z=v(N.borderTopColor||"");P>0&&V!=="none"&&V!=="hidden"&&z&&z[3]>0&&(F=A(E(z,B),B));let J=v(N.backgroundColor||"");if(J&&J[3]>0){let ie=A(E(J,B),B);(F===null||ie>F)&&(F=ie);}let Q=k(N,B);return Q!==null&&(F===null||Q>F)&&(F=Q),F}function D(G){let N=G.getBoundingClientRect();if(N.width*N.height<=0)return null;let B='input, select, textarea, button, [role="button"], svg, img, i, label',F=G.parentElement,P=null;for(let V=0;F&&V<3&&!(F===document.body||F===document.documentElement);V++,F=F.parentElement){let z=F.getBoundingClientRect();if(z.width*z.height>4*N.width*N.height+1||z.height>Math.max(2.5*N.height,N.height+40))break;let J=false,Q=document.createTreeWalker(F,4),ie=Q.nextNode();for(;ie;){if((ie.textContent||"").trim()&&ie.parentElement&&!ie.parentElement.closest(B)&&isVisible(ie.parentElement)){J=true;break}ie=Q.nextNode();}if(J)break;let ne=L(F);ne!==null&&ne>1.01&&(P===null||ne>P)&&(P=ne);}return P}let y=G=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((G.tagName||"").toLowerCase())||(getComputedStyle(G).backgroundImage||"none")!=="none",_=(G,N)=>{let B=Math.min(G.right,N.right)-Math.max(G.left,N.left),F=Math.min(G.bottom,N.bottom)-Math.max(G.top,N.top);return B>0&&F>0&&B*F/(G.width*G.height)>=.5},C=null;function I(G){let N=G.getBoundingClientRect();if(N.width*N.height<=0)return false;let B=N.left+N.width/2,F=N.top+N.height/2;if(B>=0&&F>=0&&B<window.innerWidth&&F<window.innerHeight&&typeof document.elementsFromPoint=="function"){let V=document.elementsFromPoint(B,F),z=V.indexOf(G);if(z>=0){for(let J of V.slice(z+1)){if(y(J))return true;let Q=v(getComputedStyle(J).backgroundColor||"");if(Q&&Q[3]>.5)return false}return false}}for(let V=G.parentElement,z=0;V&&z<8;V=V.parentElement,z++){let J=getComputedStyle(V);if((J.backgroundImage||"none")!=="none")return true;let Q=v(J.backgroundColor||"");if(Q&&Q[3]>.5||V===document.documentElement)break}C||(C=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let V of C)if(!(V===G||G.contains(V)||V.contains(G))&&_(N,V.getBoundingClientRect())&&isVisible(V))return true;let P=G.offsetParent||G.parentElement;if(P&&P!==document.body&&P!==document.documentElement){let V=P.getElementsByTagName("*");for(let z=0;z<V.length&&z<400;z++){let J=V[z];if(!(J===G||G.contains(J)||J.contains(G))&&_(N,J.getBoundingClientRect())&&(getComputedStyle(J).backgroundImage||"none")!=="none"&&isVisible(J))return true}}return false}function O(G){for(let P=G.parentElement;P&&P.nodeType===1;P=P.parentElement)if(parseFloat(getComputedStyle(P).opacity||"1")<1)return false;let N=P=>{if(P.tagName.toLowerCase()!=="svg"){let J=v(getComputedStyle(P).color||"");return J&&J[3]>0?[J]:null}let V=[],z=Array.from(P.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let J of z){let Q=J.getBoundingClientRect();if(Q.width===0&&Q.height===0)continue;let ie=getComputedStyle(J);if(ie.display==="none"||ie.visibility==="hidden"||parseFloat(ie.opacity||"1")<1)return null;for(let[ne,se]of [[ie.fill,ie.fillOpacity],[ie.stroke,parseFloat(ie.strokeWidth||"0")>0?ie.strokeOpacity:"0"]]){let we=String(ne||"");if(!we||we==="none"||parseFloat(String(se??"1"))===0)continue;if(we.startsWith("url"))return null;let Te=v(we);if(!Te)return null;Te[3]*=parseFloat(String(se??"1")),Te[3]>0&&V.push(Te);}}return V.length?V:null},B=[];for(let P=0;P<=255;P+=17)B.push(P);let F=Array.from(G.querySelectorAll('svg, i[class], [class*="icon"]'));for(let P of F){let V=P.getBoundingClientRect();if(V.width*V.height===0)continue;let z=getComputedStyle(P);if(z.display==="none"||z.visibility==="hidden")continue;let J=N(P);if(!J)continue;let Q=null,ie=1,ne=true;for(let Te=P;Te;Te=Te===G?null:Te.parentElement){let Ee=getComputedStyle(Te),De=parseFloat(Ee.opacity||"1");if(!Q){let Ne=v(Ee.backgroundColor||""),Re=String(Ee.backgroundClip||"border-box").toLowerCase();if(!(String(Ee.backgroundImage||"none")==="none")){ne=false;break}if(Ne&&Ne[3]>=1&&Re==="border-box")Q=[Ne[0],Ne[1],Ne[2]];else if(De<1){ne=false;break}}Q&&(ie*=De);}if(!Q||!ne)continue;let se=Q,we=1/0;for(let Te of J){let Ee=E(Te,se);for(let De of B)for(let Ne of B)for(let Re of B){let Ce=[De,Ne,Re],kt=E([Ee[0],Ee[1],Ee[2],ie],Ce),Tr=E([se[0],se[1],se[2],ie],Ce),$r=A(kt,Tr);$r<we&&(we=$r);}}if(we>=3)return true}return false}let j="control sits over an image, so the background colour measured behind it is not what the user sees \u2014 judge its boundary or glyph against the image pixels in the crop (WCAG 1.4.11, 3:1)";function W(G){let N=G.tagName.toLowerCase(),B=N==="input"||N==="select"||N==="textarea"?N+" field":N;d.push({selector:uniqueSel(G),message:"non-text contrast: "+B+" over an image backdrop \u2014 "+j,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:N+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:j,outerHtml:G.outerHTML.slice(0,200)});}let K=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let G of K){if(d.length>=30)break;if(isWidget(G)||isHiddenFromAT(G)||!isVisible(G))continue;let N=getComputedStyle(G),B=b(G),F=v(N.backgroundColor||""),P=v(N.borderTopColor||""),V=parseFloat(N.borderTopWidth||"0"),z=(N.borderTopStyle||"").toLowerCase(),J=V>0&&z!=="none"&&z!=="hidden",Q=G.tagName.toLowerCase(),ie=Q==="input"||Q==="select"||Q==="textarea",ne=null;if(Q==="input"){let xe=(G.type||"").toLowerCase(),Fr=(N.appearance||N.webkitAppearance||"").toLowerCase();if(xe==="checkbox"||xe==="radio"){let sr=Fr==="none"?"":String(N.accentColor||"").trim().toLowerCase(),lr=sr&&sr!=="auto"?v(sr):null;if(lr&&lr[3]>.5)ne=A([lr[0],lr[1],lr[2]],B);else if(Fr&&Fr!=="none")continue}}let se=J&&P&&P[3]>.5?A([P[0],P[1],P[2]],B):null,we=F&&F[3]>.5?A([F[0],F[1],F[2]],B):ne,Te=k(N,B),Ee=se===null&&we===null&&Te===null?null:Math.max(se??0,we??0,Te??0);if(ie&&I(G)){W(G);continue}if(ie&&(Ee===null||Ee<3)){let xe=D(G);if(xe!==null&&xe>=3)continue}let De=null,Ne=false,Re="";if(ie)Ee!==null?(De=Ee,Ee<3&&(Ne=true)):(Ne=true,De=1);else {let xe=false,Fr=document.createTreeWalker(G,4),sr=Fr.nextNode();for(;sr;){if((sr.textContent||"").trim()&&sr.parentElement&&isVisible(sr.parentElement)){xe=true;break}sr=Fr.nextNode();}if(xe)continue;let lr=I(G);{let ce=["Top","Right","Bottom","Left"].map(qe=>({w:parseFloat(N["border"+qe+"Width"]||"0"),s:String(N["border"+qe+"Style"]||"").toLowerCase(),c:v(N["border"+qe+"Color"]||"")})),ge=ce.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]>.5),Ge=ce.filter(qe=>qe.w>0&&qe.s!=="none"&&qe.s!=="hidden"&&qe.c&&qe.c[3]===0),et=true;for(let qe=G.parentElement;qe&&qe.nodeType===1;qe=qe.parentElement)if(parseFloat(getComputedStyle(qe).opacity||"1")<1){et=false;break}let it=Math.max(0,Math.min(1,parseFloat(N.opacity||"1"))),ft=String(N.backgroundClip||"border-box").toLowerCase(),Ke=!!F&&F[3]>=1&&it>=1&&ft==="border-box";if(ge.length&&Ge.length&&et&&(!lr||Ke)){let qe=F&&F[3]>0?E(F,B):B,Gt=E([qe[0],qe[1],qe[2],it],B),Wt=Lr=>{let Kn=E(Lr,qe);return E([Kn[0],Kn[1],Kn[2],it],B)};if(ge.some(Lr=>A(Wt(Lr.c),Gt)>=3))continue}}if(lr){if(O(G))continue;W(G);continue}let Yn=Array.from(G.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),Vt=new Map,Qa=ce=>{let ge=ce.getBoundingClientRect();if(ge.width*ge.height===0)return "absent";let Ge=parseFloat(getComputedStyle(G).opacity||"1");for(let et=ce;et&&et!==G;et=et.parentElement){let it=getComputedStyle(et);if(it.display==="none")return "absent";if(it.visibility==="hidden"||parseFloat(it.opacity||"1")===0)return "hidden-at-rest";Ge*=parseFloat(it.opacity||"1");}return Vt.set(ce,Ge),"painted"},ei=Yn.map(Qa),at=Yn.filter((ce,ge)=>ei[ge]==="painted"),Ir=at.length>0,ln=!Ir&&ei.includes("hidden-at-rest"),de=ce=>{let ge=(ce.tagName||"").toLowerCase();if(ge==="img"||ge==="picture"||ge==="canvas"||ge==="svg"&&ce.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Ge=[];if(ge==="svg"){let it=ce.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let ft of [it,ce]){if(!ft)continue;let Ke=getComputedStyle(ft),qe=1;for(let Wt=ft;Wt&&Wt!==ce;Wt=Wt.parentElement||Wt.parentNode)qe*=parseFloat(getComputedStyle(Wt).opacity||"1");let Gt=Wt=>Number.isFinite(parseFloat(Wt))?parseFloat(Wt):1;if(Ke.fill&&Ke.fill!=="none"&&!Ke.fill.startsWith("url")&&Ge.push({color:Ke.fill,alpha:qe*Gt(Ke.fillOpacity)}),Ke.stroke&&Ke.stroke!=="none"&&!Ke.stroke.startsWith("url")&&parseFloat(Ke.strokeWidth||"0")>0&&Ge.push({color:Ke.stroke,alpha:qe*Gt(Ke.strokeOpacity)}),Ge.length)break}}else ((ce.textContent||"").trim()||getComputedStyle(ce,"::before").content!=="none")&&Ge.push({color:getComputedStyle(ce).color,alpha:1});let et=null;for(let it of Ge){let ft=v(it.color);if(!ft)continue;let Ke=ft[3]*it.alpha*(Vt.get(ce)??1),qe=[ft[0]*Ke+B[0]*(1-Ke),ft[1]*Ke+B[1]*(1-Ke),ft[2]*Ke+B[2]*(1-Ke)],Gt=A(qe,B);(et===null||Gt>et)&&(et=Gt);}return et};if(Ir&&at.map(de).some(ge=>ge!==null&&ge>=3))continue;let te=false,oe=N.position;if((oe==="absolute"||oe==="fixed")&&G.parentElement){let ce=G.getBoundingClientRect(),ge=G.parentElement.getBoundingClientRect(),Ge=ge.width*ge.height;Ge>0&&ce.width*ce.height/Ge>=.85&&(te=true);}if(Ir||te||ln){if(Ne=true,De=J&&P&&P[3]>.5?A([P[0],P[1],P[2]],B):1,De>=3)continue;Re=Ir?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":ln?"control is identified by an icon that is transparent until hover/focus \u2014 verify the revealed icon has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else Ee!==null?(De=Ee,Ee<3&&(Ne=true)):(Ne=true,De=1);}if(!Ne)continue;let Ce=P&&P[3]>.5?[P[0],P[1],P[2]]:F&&F[3]>.5?[F[0],F[1],F[2]]:[128,128,128],kt=T(Ce,B,3);if(!kt)continue;let Tr=w(kt[0],kt[1],kt[2]),$r=w(B[0],B[1],B[2]),vr="border: 1px solid "+Tr+" !important;",Za=uniqueSel(G),Rr=G.tagName.toLowerCase(),Ht=Ee===null&&!J?"invisible (no border, no fill: 1.00:1)":De?De.toFixed(2)+":1":"not measurable",Rt=Rr==="input"||Rr==="select"||Rr==="textarea"?Rr+" field":Rr,zr=Re?"non-text contrast: "+Rt+" boundary is "+Ht+" against "+$r+" (needs 3:1) \u2014 "+Re:"non-text contrast: "+Rt+" boundary (border and fill) is "+Ht+" against "+$r+", needs 3:1 \u2014 e.g. border-color "+Tr;d.push({selector:Za,message:zr,attribute:"style",currentValue:De?De.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Rr+" bg="+$r+" ratio="+(De?De.toFixed(2):"?")+" needs=3",needsAI:false,...Re?{needsReview:true,reviewReason:Re}:{fixValue:vr},outerHtml:G.outerHTML.slice(0,200)});}return d},Rh={name:"nonTextContrast",cap:30,async detect(p){return p.evaluate(nI)}};var aI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,h=document.querySelectorAll("[onfocus]");for(let A of Array.from(h)){if(v.length>=20)break;if(A.closest(p))continue;let b=A.getAttribute("onfocus")||"";if(!b||!m.test(b))continue;let w=typeof uniqueSel=="function"?uniqueSel(A):"",T=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("tag: "+A.tagName.toLowerCase()),R.push("onfocus: "+b.slice(0,100)),T.nearbyHeading&&R.push("heading: "+T.nearbyHeading),R.push("parent: "+T.parentTag),v.push({selector:w,attribute:"onfocus",currentValue:b.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:R.join(" | "),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}return v},Fh={name:"onFocus",cap:20,async detect(p){return p.evaluate(aI)}};var iI=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",m=[],h=new Set,A=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(m.length>=30||w.closest(p))return;let T=w.tagName;if(T==="BODY"||T==="HTML"||!isVisible(w)||isHiddenFromAT(w)||w.hasAttribute("tabindex"))return;let R=w.getAttribute("role");if(R&&A.has(R))return;let E=getComputedStyle(w),k=E.overflowY,L=E.overflowX,D=k==="auto"||k==="scroll",y=L==="auto"||L==="scroll";if(!D&&!y)return;let _=D&&w.scrollHeight-w.clientHeight>50,C=y&&w.scrollWidth-w.clientWidth>50;if(!_&&!C||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 O=uniqueSel(w);if(h.has(O))return;h.add(O);let{nearbyHeading:j}=getNearbyContext(w),W="";if(j)W=j;else {let N=(typeof w.className=="string"?w.className:"").toLowerCase(),B=(w.id||"").toLowerCase();N.includes("code")||N.includes("snippet")||T==="PRE"||T==="CODE"?W="Code block":N.includes("terms")||N.includes("tos")||N.includes("legal")?W="Terms and conditions":N.includes("chat")||N.includes("message")?W="Chat messages":N.includes("table")||N.includes("data")?W="Data table":B?W=B.replace(/[-_]/g," "):W="Scrollable content";}let K=(w.outerHTML||"").slice(0,300);m.push({selector:O,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:T.toLowerCase(),overflowY:D?k:void 0,overflowX:y?L: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:K}),R||m.push({selector:O,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:T.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:K}),w.getAttribute("aria-label")||w.getAttribute("aria-labelledby")||m.push({selector:O,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:T.toLowerCase(),labelHint:W,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:K});}),m},Ih={name:"scrollableFocus",cap:30,async detect(p){return p.evaluate(iI)}};var oI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],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"]'],m=false;for(let k of v){let L=document.querySelector(k);if(L&&!L.closest(p)){m=true;break}}if(!m){let k=document.querySelectorAll('a[href^="#"]');for(let L of k){if(L.closest(p))continue;let D=(L.textContent||"").toLowerCase();if(D.includes("skip")&&(D.includes("main")||D.includes("content")||D.includes("nav"))){m=true;break}}}if(m||Array.from(document.querySelectorAll('main, [role="main"]')).filter(k=>{let L=getComputedStyle(k);if(L.display==="none"||L.visibility==="hidden"||k.closest('[hidden], [aria-hidden="true"]'))return false;let D=k.getBoundingClientRect();return D.width>0&&D.height>0}).length===1)return d;let A="",b=document.querySelector('main[id], [role="main"][id]');if(b&&b.getAttribute("id"))A=b.getAttribute("id");else {let k=document.querySelector("h1[id]");if(k&&k.getAttribute("id"))A=k.getAttribute("id");else {let L=["main-content","maincontent","main","content","skip-content"];for(let D of L)if(document.getElementById(D)){A=D;break}}}let w=A==="",T=A||"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="#'+T+'" class="wa-skip-link">Skip to main content</a>';return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:w?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+T,needsAI:false,fixValue:E,...w?{manualFix:true}:{}}),d},Lh={name:"skipLink",async detect(p){return p.evaluate(oI)}};var sI=()=>{let v=[],m=document.querySelectorAll("*"),h=0;for(let A of Array.from(m)){if(h++>5e3||v.length>=20)break;if(A.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(A))continue;let w=getComputedStyle(A).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let T=w.match(/url\((['"]?)(.*?)\1\)/);if(!T)continue;let R=T[2];if(!R||R.startsWith("data:")&&R.length<256)continue;let E=A.getBoundingClientRect();if(E.width<32||E.height<32)continue;let k=A.tagName.toLowerCase(),L=A.getAttribute("role")||"",D=k==="a"||k==="button"||L==="button"||L==="link"||A.closest("a,button,[role=button],[role=link]")!==null,y=(A.textContent||"").trim().length>0,_=!!A.getAttribute("aria-label"),C=!!A.getAttribute("aria-labelledby"),I=!!A.getAttribute("title"),O=!!A.querySelector('img[alt]:not([alt=""])');if(A.closest('[aria-hidden="true"]')){let N=A.closest("a[href]");if(!!N&&Array.from(document.querySelectorAll("a[href]")).some(F=>F!==N&&F.href===N.href&&!F.closest('[aria-hidden="true"]')))continue}if(_||C||I||O||y||!D)continue;let j=A.closest("a,button,[role=button],[role=link]");if(j&&j!==A){let N=(j.textContent||"").trim(),B=j.getAttribute("aria-label")||j.getAttribute("title")||"",F=j.getAttribute("aria-labelledby"),P=!!j.querySelector('img[alt]:not([alt=""])');if(N||B.trim()||F||P)continue}let W=R;try{W=new URL(R,location.href).toString();}catch{continue}let K=typeof uniqueSel=="function"?uniqueSel(A):"",G=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:k,nearbyHeading:""};v.push({selector:K,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${W.slice(0,140)} | tag: ${k} | role: ${L||"(none)"} | parent: ${G.parentTag}${G.nearbyHeading?" | heading: "+G.nearbyHeading:""}`,needsAI:true,imageSrc:W,outerHtml:(A.outerHTML||"").slice(0,300)});}return v},Mh={name:"backgroundImages",cap:20,async detect(p){return p.evaluate(sI)}},lI=()=>{let d=[],v=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let m of Array.from(v)){if(d.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m)||(m.textContent||"").trim().length>0)continue;let A=m.getAttribute("aria-label");if(A&&A.trim()||m.getAttribute("aria-labelledby")||m.getAttribute("aria-hidden")==="true")continue;let b=typeof uniqueSel=="function"?uniqueSel(m):"";d.push({selector:b,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${m.tagName.toLowerCase()}`,needsAI:false,needsReview:true,reviewReason:"Empty heading may be a layout anchor populated by JS after load; hiding it from assistive tech could suppress real content.",fixValue:"true",outerHtml:(m.outerHTML||"").slice(0,200)});}return d},Ph={cap:15,name:"emptyHeadings",async detect(p){return p.evaluate(lI)}},uI=()=>{let d=[],v=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let m of Array.from(v)){if(d.length>=15)break;if(m.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(m))continue;let h=(m.getAttribute("role")||"").toLowerCase();if(h==="button")continue;let A=(m.textContent||"").trim();if(!A)continue;let b=typeof uniqueSel=="function"?uniqueSel(m):"";d.push({selector:b,attribute:"role",currentValue:h||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(A.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(m.outerHTML||"").slice(0,200)});}return d},Oh={cap:15,name:"javascriptLinks",async detect(p){return p.evaluate(uI)}};var cI=()=>{let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",v=[];return document.querySelectorAll("svg").forEach(h=>{if(v.length>=50||h.closest(p)||!isVisible(h)||h.getAttribute("aria-hidden")==="true")return;let b=h.getAttribute("role");if(b==="presentation"||b==="none"||h.closest('[aria-hidden="true"]'))return;let w=h.getAttribute("aria-label")||"",T=h.getAttribute("aria-labelledby")||"",R=h.querySelector("title"),E=R?(R.textContent||"").trim():"";if(w.trim()||T.trim()||E)return;let k=h.getBoundingClientRect(),L=k.width<=16&&k.height<=16;if(k.width<=4||k.height<=4||h.getAttribute("preserveAspectRatio")==="none")return;let D=h.closest('a, button, [role="button"], [role="link"], [onclick]');if(D){if(D.getAttribute("aria-label")?.trim()||D.getAttribute("aria-labelledby")?.trim())return;let B=getAccessibleName(D),F=D.cloneNode(true);F.querySelectorAll("svg").forEach(V=>V.remove());let P=(F.textContent||"").trim().replace(/\s+/g," ");if(B&&P.length>0)return}else {if(L)return;let B=h.parentElement;if(B&&(B.textContent||"").trim().replace(/\s+/g," ").length>3)return}let y=uniqueSel(h),_=getNearbyContext(D||h),C=D&&D.getAttribute("href")||"",I=(D||h).outerHTML.slice(0,300),O=h.getAttribute("class")||"",j=h.getAttribute("data-icon")||"",W=D||h,K=W&&W!==h&&W.getAttribute("class")||"",G=typeof lookupIconLabel=="function"?lookupIconLabel(String(O),j,"")||lookupIconLabel(String(K),"",""):null,N=D?uniqueSel(D):y;v.push({selector:N,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(D||h).tagName?(D||h).tagName.toLowerCase():"svg",href:C,nearbyHeading:_.nearbyHeading,parentRole:_.parentRole,svgClasses:O,iconLib:G||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!G,fixValue:G||void 0,outerHtml:I});}),v},Nh={name:"svgNames",cap:50,async detect(p){return p.evaluate(cI)}};var dI=()=>{let v=[],m=["a[href]","button",'input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="checkbox"]','input[type="radio"]','[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="menuitem"]','[role="tab"]','[role="switch"]',"[onclick]"].join(","),h=m;function A(R,E){let k=Array.from(R.getClientRects()).filter(_=>_.height>0);if(!k.length)return false;let L=document.createTreeWalker(E,NodeFilter.SHOW_TEXT),D,y=0;for(;(D=L.nextNode())&&y<400;){y++;let _=D.parentElement;if(!_||R.contains(D)||!/[\p{L}\p{N}]{2,}/u.test(D.textContent||"")||_.closest(h))continue;let C=document.createRange();C.selectNodeContents(D);for(let I of Array.from(C.getClientRects()))if(!(I.width===0||I.height===0)){for(let O of k)if(Math.min(O.bottom,I.bottom)-Math.max(O.top,I.top)>Math.min(O.height,I.height)/2)return true}}return false}function b(R){let E=R.getBoundingClientRect(),k=E.left,L=E.top,D=E.right,y=E.bottom;for(let _ of Array.from(R.querySelectorAll("img, svg, picture, video, canvas"))){let C=_.getBoundingClientRect(),I=C.left,O=C.top,j=C.right,W=C.bottom;for(let K=_.parentElement;K;K=K.parentElement){let G=getComputedStyle(K),N=K.getBoundingClientRect();if(G.overflowX!=="visible"&&(I=Math.max(I,N.left),j=Math.min(j,N.right)),G.overflowY!=="visible"&&(O=Math.max(O,N.top),W=Math.min(W,N.bottom)),K===R)break}j-I<=0||W-O<=0||(k=Math.min(k,I),L=Math.min(L,O),D=Math.max(D,j),y=Math.max(y,W));}return new DOMRect(k,L,D-k,y-L)}let w=document.querySelectorAll(m),T=[];for(let R of w){if(typeof isWidget=="function"&&isWidget(R)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(R)||typeof isVisible=="function"&&!isVisible(R)||!R.offsetParent&&R.tagName!=="BODY")continue;let E=b(R);E.width===0&&E.height===0||T.push({el:R,rect:E});}for(let{el:R,rect:E}of T){if(v.length>=50)break;let k=E.width,L=E.height;if(k>=24&&L>=24)continue;let D=R.parentElement;if(D&&getComputedStyle(R).display==="inline"){if(Array.from(D.childNodes).some(F=>F.nodeType===3&&(F.textContent||"").trim().length>3))continue;let B=D;for(;B&&B!==document.body&&getComputedStyle(B).display.startsWith("inline");)B=B.parentElement;if(B&&A(R,B))continue}let y=false,_=E.left+E.width/2,C=E.top+E.height/2;for(let N of T){if(N.el===R||N.el.contains(R)||R.contains(N.el))continue;if(N.rect.width<24||N.rect.height<24){let F=N.rect.left+N.rect.width/2,P=N.rect.top+N.rect.height/2;if(Math.hypot(_-F,C-P)<24){y=true;break}}else {let F=Math.max(N.rect.left-_,0,_-N.rect.right),P=Math.max(N.rect.top-C,0,C-N.rect.bottom);if(Math.hypot(F,P)<12){y=true;break}}}if(!y&&k>=1&&L>=1)continue;let O=Math.max(0,24-L),W=Math.ceil(O/2),K=[];K.push("min-width:24px"),K.push("min-height:24px"),K.push("display:inline-block"),K.push("box-sizing:border-box"),W>0&&K.push("padding-top:"+W+"px"),W>0&&K.push("padding-bottom:"+W+"px");let G=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();v.push({selector:G,attribute:"style",currentValue:Math.round(k)+"x"+Math.round(L)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${R.tagName.toLowerCase()} is ${Math.round(k)}x${Math.round(L)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:K.join(";")+";",outerHtml:R.outerHTML.slice(0,200)});}return v},qh={name:"targetSize",cap:50,async detect(p){return p.evaluate(dI)}};var fI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,h=document.querySelectorAll('[style*="important" i]');for(let A of Array.from(h)){if(v.length>=30)break;if(A.closest(p))continue;let b=A.getAttribute("style")||"";if(!m.test(b))continue;let w=[];/line-height\s*:[^;!]*!important/i.test(b)&&w.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(b)&&w.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(b)&&w.push("word-spacing");let T=typeof uniqueSel=="function"?uniqueSel(A):"",R=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("blocked: "+w.join(",")),E.push("tag: "+A.tagName.toLowerCase()),R.nearbyHeading&&E.push("heading: "+R.nearbyHeading),E.push("parent: "+R.parentTag),v.push({selector:T,attribute:"style",currentValue:b.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:E.join(" | "),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)});}return v},Bh={name:"textSpacing",cap:30,async detect(p){return p.evaluate(fI)}};var pI=()=>{let p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",v=[],m=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let h of m){if(v.length>=50)break;if(h.closest(p)||!isVisible(h))continue;let A=h,b=(A.getAttribute("aria-label")||"").trim(),w=A.getAttribute("aria-labelledby"),T=(A.getAttribute("title")||"").trim(),R=(A.getAttribute("value")||"").trim(),E=(A.textContent||"").trim().replace(/\s+/g," "),k="";w&&(k=typeof __resolveIdRefs=="function"?__resolveIdRefs(w):"");let L=A.querySelector('img[alt]:not([alt=""])'),D=A.querySelector("svg title"),y=A.querySelector("svg[aria-label]");if(!!(b||k||T||R||E||L||D||y))continue;let C=uniqueSel(A),I=getNearbyContext(A),O=A.closest("form"),j=O&&(O.getAttribute("id")||O.getAttribute("name"))||"",W=A.className||"",K=A.querySelector('i, svg, span[class*="icon"]'),G=K&&K.className||"",N=K&&K.getAttribute("data-icon")||"",B=K?(K.textContent||"").trim():"",F=typeof lookupIconLabel=="function"?lookupIconLabel(String(G),N,B):null,P=!F&&typeof lookupIconLabel=="function"?lookupIconLabel(String(W),"",""):null,V=F||P,z=[];j&&z.push("form: "+j),I.nearbyHeading&&z.push("heading: "+I.nearbyHeading),G&&z.push("icon: "+String(G).slice(0,80)),W&&z.push("class: "+String(W).slice(0,80)),z.push("parent: "+I.parentTag),V&&z.push("icon-lib: "+V),v.push({selector:C,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:z.join(" | "),needsAI:!V,fixValue:V||void 0,outerHtml:A.outerHTML.slice(0,300)});}return v},Hh={name:"unlabeledButtons",cap:50,async detect(p){return p.evaluate(pI)}};var mI=()=>{let p=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),d=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),v={};function m(B,F){if(isWidget(B)||!isVisible(B))return;let P=getAccessibleName(B);if(!P)return;let V=(F?"b:":"a:")+P.toLowerCase().trim();v[V]=(v[V]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(B=>m(B,true)),document.querySelectorAll("a[href]").forEach(B=>m(B,false));let h=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),A=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function b(B){let F=B.toLowerCase();return h.has(F)||A.some(P=>F.startsWith(P))}let w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function T(B,F){return w.test(B)?1:F}let R=50,E=[];function k(B){if((B.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let P=B.querySelectorAll("i, span, em");for(let V of P)if((typeof V.className=="string"?V.className:"").split(/\s+/).some(b))return true;return false}function L(B){let F=B.className||"";return typeof F!="string"?false:F.split(/\s+/).some(b)}function D(B,F){if(E.length>=R||isWidget(B)||!isVisible(B))return;let P=getAccessibleName(B);if(!P)return;let V=P.toLowerCase().trim(),z=false,J=P.length>=2&&/^[A-Z][A-Z0-9]+$/.test(P.trim()),Q=!F&&/^[[(]?\d{1,4}[\])]?$/.test(P.trim());if(P.length<T(P,3)&&!J&&!Q)z=true;else if(p.has(V))z=true;else if(d.has(V)&&(v[(F?"b:":"a:")+V]||0)>=2){let Te=(B.getAttribute("aria-label")||"").trim().toLowerCase(),Ee=!!B.getAttribute("aria-labelledby")||!!Te&&Te!==V,De=B.querySelector&&B.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),Ne=De?(De.textContent||"").trim().toLowerCase():"";!Ee&&!(De&&Ne!==V)&&(z=true);}else (k(B)||L(B)&&P.length===0)&&(B.getAttribute("aria-label")||B.getAttribute("aria-labelledby")||B.querySelector&&B.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(z=true));if(!z)return;let ie=getNearbyContext(B),ne=uniqueSel(B),se=B.getAttribute("href")||"",we=B.outerHTML.slice(0,300);E.push({selector:ne,attribute:"aria-label",currentValue:(B.getAttribute("aria-label")||"").trim(),message:(F?"weak button name: ":"weak link name: ")+(B.getAttribute("aria-label")||B.getAttribute("aria-labelledby")?`"${P}" is too generic for a control \u2014 add distinguishing context`:`text "${P}" is too generic for a control \u2014 add distinguishing context`),issueType:F?"weak_button_name":"weak_link_name",wcag:F?"4.1.2":"2.4.4",...F?{}:{needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes."},context:JSON.stringify({currentText:P,href:se,nearbyHeading:ie.nearbyHeading,parentTag:ie.parentTag,parentRole:ie.parentRole,cardText:ie.cardText||"",imgAlt:ie.imgAlt||""}),needsAI:true,outerHtml:we});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(B=>D(B,true)),document.querySelectorAll("a[href]").forEach(B=>D(B,false));let y=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,_=/^(iframe|embed|widget|frame|content|untitled)$/i,C=/^(skip|go|→|\->|main|content)$/i,I=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function O(B){return !!(!B||B.getAttribute("aria-hidden")==="true"||B.closest('[aria-hidden="true"]'))}function j(B,F,P,V,z,J){if(E.length>=R)return;let Q=uniqueSel(B),ie=(B.outerHTML||"").slice(0,300);E.push({selector:Q,attribute:F,currentValue:P,issueType:V,wcag:z,context:JSON.stringify(J),needsAI:true,outerHtml:ie});}let W=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let B=0;B<W.length&&!(E.length>=R);B++){let F=W[B];if(!F||isWidget(F)||O(F)||!isVisible(F))continue;let P=getAccessibleName(F);if(!P)continue;let V=P.toLowerCase().trim(),z=V.split(/\s+/).filter(Boolean),J=false;if((P.length<T(P,3)||z.length===1&&(p.has(V)||I.has(V))||/^page\s*\d+$/i.test(V)||/^section\s*\d+$/i.test(V)||/^chapter\s*\d+$/i.test(V)||/^[^\p{L}\p{N}]+$/u.test(P))&&(J=true),!J)continue;let Q=getNearbyContext(F);j(F,"textContent",P,"weak_heading","2.4.6",{currentText:P,tag:F.tagName.toLowerCase(),nearbyHeading:Q.nearbyHeading,parentTag:Q.parentTag,parentRole:Q.parentRole});}let K=document.querySelectorAll("iframe");for(let B=0;B<K.length&&!(E.length>=R);B++){let F=K[B];if(!F||isWidget(F)||O(F))continue;let P=getComputedStyle(F);if(F.getClientRects().length===0||P.visibility==="hidden"||P.visibility==="collapse"||(F.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let V=(F.getAttribute("title")||"").trim();if(!V)continue;let z=V.toLowerCase(),J=false;if((V.length<T(V,3)||_.test(z)||p.has(z))&&(J=true),!J)continue;let Q=(F.getAttribute("src")||"").slice(0,120),ie=getNearbyContext(F);j(F,"title",V,"weak_iframe_title","4.1.2",{currentTitle:V,src:Q,nearbyHeading:ie.nearbyHeading,parentTag:ie.parentTag});}if(E.length<R){let B=document.querySelector("head > title, title"),F=(document.title||"").trim();if(B&&F){let P=F.toLowerCase(),V=false;(F.length<T(F,5)||y.test(P)||/^untitled/i.test(F))&&(V=true),V&&E.push({selector:"title",attribute:"textContent",currentValue:F,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:F,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(B.outerHTML||"").slice(0,300)});}}let G=document.querySelectorAll("svg");for(let B=0;B<G.length&&!(E.length>=R);B++){let F=G[B];if(!F||isWidget(F)||O(F)||F.getAttribute("role")==="presentation"||F.getAttribute("role")==="none"||!isVisible(F))continue;let P=F.querySelector("title"),V=P?(P.textContent||"").trim():"",z=(F.getAttribute("aria-label")||"").trim(),J=z||V;if(!J)continue;let Q=J.toLowerCase(),ie=false;if((J.length<T(J,3)||p.has(Q)||/^(icon|svg|image|graphic|logo)$/i.test(J))&&(ie=true),!ie)continue;let ne=F.closest('a, button, [role="button"], [role="link"]'),se=getNearbyContext(F);j(F,z?"aria-label":"title",J,"weak_svg_name","1.1.1",{currentName:J,svgClasses:F.getAttribute("class")||"",parentTag:ne?ne.tagName.toLowerCase():se.parentTag,parentHref:ne&&ne.getAttribute("href")||"",nearbyHeading:se.nearbyHeading});}let N=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 B=0;B<N.length&&!(E.length>=R);B++){let F=N[B];if(!F||isWidget(F)||O(F))continue;let P=getAccessibleName(F);if(!P)continue;let V=P.toLowerCase().trim(),z=false;if((P.length<T(P,4)||C.test(V)||V==="skip"||V==="skip link"||V==="jump")&&(z=true),!z)continue;let J=F.getAttribute("href")||"";E.push({selector:uniqueSel(F),attribute:"textContent",currentValue:P,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:P,href:J}),needsAI:false,fixValue:"Skip to main content",outerHtml:(F.outerHTML||"").slice(0,300)});}return E},Vh={name:"weakNames",cap:50,async detect(p){return p.evaluate(mI)}};var hI=()=>{let d=[],v=document.querySelector('meta[name="viewport"]');if(v){let h=(v.getAttribute("content")||"").trim(),A=h.toLowerCase(),b=false,w=[];(A.indexOf("user-scalable=no")>=0||A.indexOf("user-scalable=0")>=0)&&(b=true,w.push("user-scalable=no blocks pinch-zoom"));let T=A.match(/maximum-scale\s*=\s*([\d.]+)/);T&&parseFloat(T[1])<2&&(b=true,w.push("maximum-scale="+T[1]+" (<2)")),b&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:h,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let m=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let h=0;h<m.length&&!(d.length>=5);h++){let A=m[h];if(A.el)try{let w=(getComputedStyle(A.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&d.push({selector:A.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+A.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},jh={name:"zoomUnlock",cap:5,async detect(p){return p.evaluate(hI)}};var gI=()=>{let p=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),v=new Set,m=Math.min(d.length,200);for(let h=0;h<m;h++){let A=d[h];if(v.has(A)||!A.offsetParent)continue;v.add(A);let b=getComputedStyle(A),w=parseInt(b.order||"0",10),T=b.position;if(w>=3){let R=A.getBoundingClientRect();if(R.width>0&&R.height>0){let E=(A.textContent?.trim().length||0)>10,k=!!A.querySelector("a, button, input, select, textarea");(E||k)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(A):A.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(T==="absolute"){if(!!!A.querySelector("a, button, input, select, textarea"))continue;let E=A.parentElement;if(!E||E.children.length<=2)continue;let k=A.getBoundingClientRect(),L=E.getBoundingClientRect();(k.top<L.top-100||k.left<L.left-300)&&p.push({selector:typeof uniqueSel=="function"?uniqueSel(A):A.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${T}, displaced ${Math.round(Math.abs(k.top-L.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 p},$h={name:"meaningfulSequence",async detect(p){return p.evaluate(gI)}};var zh={name:"sensoryCharacteristics",async detect(p){let d=await p.evaluate(()=>{let m=[],h=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),A=Math.min(h.length,300);for(let b=0;b<A;b++){let w=h[b];if(!w.offsetParent||w.children.length>3)continue;let T=w.textContent?.trim()||"";T.length<15||T.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(T)&&m.push({text:T,selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase()});}return m.slice(0,20)});if(d.length===0)return [];let v=[];for(let{text:m,selector:h}of d){m.toLowerCase();let b=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(m)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(m),w=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(m)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m),T=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(m)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(m),R=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(m)&&/\b(click|tap|press|select|find)\b/i.test(m);if(b||w||T||R){let E=b?"shape":w?"position":T?"color":"size";v.push({selector:h,attribute:"data-sensory-review",currentValue:m.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${E} alone: "${m.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return v}};var vI=()=>{let p=[],d=document.querySelectorAll("img");for(let v of d){if(!v.offsetParent||v.width<50||v.height<20||v.complete&&v.naturalWidth===0)continue;let m=v.src||v.getAttribute("data-src")||"",h=m.indexOf(","),A=(m.toLowerCase().startsWith("data:")&&h!==-1?m.slice(0,h):m).toLowerCase(),b=v.getAttribute("alt")||"",w=v.getAttribute("role")||"";if(v.getAttribute("aria-hidden")==="true"||!!v.closest('[aria-hidden="true"]')||w==="presentation"||w==="none"||v.hasAttribute("alt")&&b.trim()==="")continue;let R=v.width>200&&v.height<80&&v.height>15,E=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(A);if(!(E||R)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(A)&&!E)continue;let L=v.closest("a[href]"),D=(()=>{if(!L)return false;let K=L.getAttribute("href")||"";if(K==="/"||K==="")return true;try{let G=new URL(L.href,location.href);return G.origin!==location.origin?!1:!!(G.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(G.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(G.pathname))}catch{return false}})();if(D&&(L.textContent||"").trim().length===0)continue;let _="";if(L&&!D&&(L.textContent||"").trim().length===0)try{let K=new URL(L.href,location.href),G=b.trim().split(/\s+/).filter(Boolean);if(K.origin!==location.origin&&/^https?:$/.test(K.protocol)&&G.length>0&&G.length<=4&&b.trim().length<=40){let N=z=>z.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),B=N(b),F=K.hostname.toLowerCase().split(".").filter(z=>z&&z!=="www"),P=(F.length>1?F.slice(0,-1):F).map(N).filter(Boolean);_=B.length>=3&&(B===N(F.join(""))||B===P.join("")||P.some(z=>B===z||z.length>=5&&B.startsWith(z)))?"exempt":"review";}}catch{}let C=!!v.closest('header, [role="banner"], footer, [role="contentinfo"]'),I=v.height>0&&v.height<=120,O=C&&I,j=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,W=O||j.test(A)||j.test(v.className)||j.test(v.id||"");A.includes("icon")||A.includes("avatar")||A.includes("emoji")||p.push({selector:typeof uniqueSel=="function"?uniqueSel(v):"img",attribute:"data-image-of-text",currentValue:A.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="${b.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:v.src,...W||_?{needsReview:true,reviewReason:O?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":_==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":_==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return p},Gh={name:"imagesOfText",async detect(p){return p.evaluate(vI)}};var Wh={name:"reflow",async detect(p){let d=p;if(!d.setViewport)return [];let v=d.viewport?.()??{width:1280,height:720},m=v.width??1280,h=v.height??720;try{return await d.setViewport({width:320,height:h}),await new Promise(b=>setTimeout(b,500)),await p.evaluate(b=>{let w=[],T=document.querySelectorAll("body *"),R=Math.min(T.length,500);for(let E=0;E<R;E++){let k=T[E];if(!k.offsetParent)continue;let L=k.tagName.toLowerCase();if(L==="script"||L==="style"||L==="noscript")continue;let D=k.getBoundingClientRect();D.right>b+5&&D.width>b*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(k):L,attribute:"style",currentValue:`${Math.round(D.width)}px wide at ${b}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(D.width)}px wide and overflows the ${b}px viewport by ${Math.round(D.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&&w.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"}),w},320)}finally{await d.setViewport({width:m,height:h}).catch(()=>{});}}};var bI=()=>{let p=[],d=document.querySelectorAll("video");for(let m of d){if(m.autoplay&&!m.muted&&p.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 A=m.getBoundingClientRect();if(A.width===0&&A.height===0||m.error)continue;let b=/mute|unmute|sound|volume|audio|play|pause/i,w=!!m.parentElement?.querySelector('button, [role="button"]')||!!m.id&&!!document.querySelector('[aria-controls~="'+m.id.replace(/"/g,"")+'"]');for(let D=m.parentElement?.parentElement||null,y=0;D&&!w&&y<3;D=D.parentElement,y++)w=Array.from(D.querySelectorAll('button, [role="button"]')).some(_=>b.test((_.getAttribute("aria-label")||"")+" "+(_.getAttribute("title")||"")+" "+(_.textContent||"")));if((m.muted||m.hasAttribute("muted"))&&(m.loop||m.hasAttribute("loop"))&&!m.hasAttribute("controls")&&!w)continue;let T=m.querySelectorAll("track"),R=Array.from(T).find(D=>D.kind==="captions"||D.kind==="subtitles"),E=Array.from(T).find(D=>D.kind==="descriptions");m.src||m.querySelector("source")?.src||"";let L=typeof uniqueSel=="function"?uniqueSel(m):"video";R||p.push({selector:L,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||p.push({selector:L,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let v=document.querySelectorAll("audio");for(let m of v){let h=typeof uniqueSel=="function"?uniqueSel(m):"audio";m.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||p.push({selector:h,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&&p.push({selector:h,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return p},Uh={name:"mediaAlternatives",cap:50,async detect(p){return (await p.evaluate(bI)).slice(0,50)}};var yI=()=>{let p=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let C=d.getAttribute("content")||"",I=parseInt(C,10);!isNaN(I)&&I>0&&I<72e3&&p.push({selector:`meta[http-equiv="refresh"][content*="${C.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:C,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${I}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let v=document.querySelectorAll("[accesskey]");for(let C of v){let I=C.getAttribute("accesskey")||"";if(I.length===1){let O=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();p.push({selector:O,attribute:"accesskey",currentValue:I,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${I}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let m=document.querySelectorAll("select");for(let C of m){let I=C.hasAttribute("onchange"),O=C.getAttribute("onchange")||"";if(I&&/submit|location|href|navigate|window\./i.test(O)){let j=typeof uniqueSel=="function"?uniqueSel(C):"select";p.push({selector:j,attribute:"onchange",currentValue:O.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let h=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let C of h)if(!(C.hasAttribute("onclick")||C.hasAttribute("onkeydown")||C.hasAttribute("onkeyup"))){let O=typeof uniqueSel=="function"?uniqueSel(C):C.tagName.toLowerCase();p.push({selector:O,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let A=document.querySelectorAll("[onmousedown]");for(let C of A){let I=C.hasAttribute("onmouseup"),O=C.tagName.toLowerCase();if(!I&&O!=="a"&&O!=="button"&&O!=="input"){let j=typeof uniqueSel=="function"?uniqueSel(C):O;p.push({selector:j,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 C of b){let I=C.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(I)){p.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"),T='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',R=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,E=/card|payment/i,k=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,L=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,D=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,y=/\b(?:save|update|change)\b/i,_=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let C of w){let I=Array.from(C.querySelectorAll(T)),O=De=>[De.getAttribute("name"),De.id,De.getAttribute("autocomplete"),De.getAttribute("placeholder"),De.getAttribute("aria-label")].join(" "),j=Array.from(C.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(De=>De.tagName!=="BUTTON"||!De.getAttribute("type")||(De.getAttribute("type")||"").toLowerCase()==="submit").map(De=>(De.getAttribute("value")||"")+" "+(De.textContent||"")+" "+(De.getAttribute("aria-label")||"")).join(" . "),W=I.some(De=>R.test(O(De)))||Array.from(C.querySelectorAll("iframe")).some(De=>E.test((De.getAttribute("title")||"")+" "+(De.getAttribute("name")||""))),K=I.some(De=>/signature/i.test(O(De))),G=W||k.test(j),N=L.test(j),B=K||D.test(j),F=I.length>0&&I.some(De=>(De.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(O(De)))&&I.every(De=>{let Ne=De.tagName.toLowerCase()==="input"?(De.getAttribute("type")||"text").toLowerCase():De.tagName.toLowerCase();return Ne==="email"||Ne==="checkbox"||Ne==="tel"?true:Ne==="text"||Ne==="search"?_.test(O(De)+" "+(De.closest("label")?.textContent||"")):false}),P=(C.textContent||"").toLowerCase(),V=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(P),z=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(P),J=/delete.*account|remove.*data|cancel.*account/i.test(P),Q=G||N||B,ie=F&&(y.test(j)||J),ne=!Q&&(!F&&(V||z||J)||ie);if(!Q&&!ne)continue;let se=!!C.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),we=!!C.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(se||we)continue;let Te=typeof uniqueSel=="function"?uniqueSel(C):"form",Ee=Q?G?"financial":N?"data-deletion":"legal":ie?J?"data-deletion":"data-modification":V?"financial":z?"legal":"data-deletion";p.push({selector:Te,attribute:"data-error-prevention",currentValue:Ee,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${Ee.charAt(0).toUpperCase()+Ee.slice(1)} form lacks a confirmation/review step. For ${Ee} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...ne?{needsReview:true,reviewReason:ie&&J?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":ie?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${Ee} topics but its controls show no ${Ee} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return p},Xh={name:"timingAndInput",async detect(p){return p.evaluate(yI)}};var wI=()=>{let p=[],d=document.querySelectorAll('nav, [role="navigation"]');for(let h of d){if(!h.offsetParent||h.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||h.parentElement?.closest('nav, [role="navigation"]'))continue;let A=h.getBoundingClientRect();if(A.top<=window.innerHeight)continue;let b=typeof uniqueSel=="function"?uniqueSel(h):"nav";p.push({selector:b,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 v=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let h of v){if(!h.offsetParent)continue;let A=h.getBoundingClientRect();if(A.width<1||A.height<1||!(h.textContent||"").trim()&&!h.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(h).backgroundImage==="none")continue;let b=typeof uniqueSel=="function"?uniqueSel(h):h.tagName.toLowerCase();p.push({selector:b,attribute:"data-flashing",currentValue:h.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 m=document.querySelectorAll('img[src*=".gif"]');for(let h of m){if(!h.offsetParent||h.width<25||h.height<25)continue;let A=h.getBoundingClientRect();if(A.width>100&&A.height>100){let b=typeof uniqueSel=="function"?uniqueSel(h):"img";p.push({selector:b,attribute:"data-animated-gif",currentValue:(h.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 p},Yh={name:"navigationAndWayfinding",async detect(p){return p.evaluate(wI)}};var Kh={name:"flashDetection",async detect(p){let d=[];if(!p.screenshot)return d;let m=await p.evaluate(()=>{let E=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(E){let k=document.querySelectorAll("*");for(let L of k)L.style.removeProperty("animation-play-state"),L.style.removeProperty("transition");}return E}),h=8,A=120,b=9,w=3,T=[];for(let R=0;R<h;R++){let E=await p.evaluate(k=>{let L=window.innerWidth,D=window.innerHeight,y=3,_=3,C=[];for(let I=0;I<_;I++)for(let O=0;O<y;O++){let j=Math.floor((O+.5)*(L/y)),W=Math.floor((I+.5)*(D/_)),K=document.elementFromPoint(j,W);if(!K){C.push(0);continue}let N=getComputedStyle(K).backgroundColor||"rgba(0,0,0,0)",B=typeof parseCssColor=="function"?parseCssColor(N):null;if(!B){C.push(0);continue}let F=.2126*B[0]+.7152*B[1]+.0722*B[2];C.push(F);}return C},b);T.push(E),R<h-1&&await new Promise(k=>setTimeout(k,A));}m&&await p.evaluate(()=>{let R=document.querySelectorAll("*");for(let E of R)E.style.setProperty("animation-play-state","paused","important"),E.style.setProperty("transition","none","important");});for(let R=0;R<b;R++){let E=0,k=T[0][R],L=null;for(let _=1;_<h;_++){let C=T[_][R];if(Math.abs(C-k)>25){let O=C>k?"up":"down";L&&O!==L&&E++,L=O;}k=C;}let D=h*A/1e3,y=E/D;if(y>=w){let _=R%3,C=Math.floor(R/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${y.toFixed(1)} flashes/sec in region (${_},${C})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${y.toFixed(1)} times/second in screen region (row ${C}, col ${_}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return d}};var Jh={name:"reducedMotion",async detect(p){let d=[],v=await p.evaluate(()=>{let m=false,h=false;for(let b of document.styleSheets)try{for(let w of b.cssRules){let T=w.cssText||"";/animation|transition|@keyframes/i.test(T)&&!/prefers-reduced-motion/.test(T)&&(m=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(h=!0);}}catch{}let A=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return A.length>0&&(m=true),{hasAnimations:m,hasReducedMotionQuery:h,animatedCount:A.length}});return v.hasAnimations&&!v.hasReducedMotionQuery&&d.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; } }"}),d}};var HI=[Vh,kh,Nh,Q1,Z1,Dh,bh,vh,qh,ih,Rh,fh,Hh,ph,ch,Lh,eh,Sh,yh,dh,sh,_h,lh,uh,gh,Ch,wh,jh,rh,Ah,nh,ah,xh,Fh,Bh,Th,oh,Mh,Ph,Oh,th,Eh,Ih,$h,zh,Gh,Wh,Uh,Xh,Yh,Kh,Jh];async function ug(p,d,v,m){let h=d??[];try{let{UNIQUE_SELECTOR_JS:C,IS_VISIBLE_JS:I,ACCESSIBLE_NAME_JS:O,WIDGET_SKIP_JS:j,IS_HIDDEN_FROM_AT_JS:W,IS_TRACKING_PIXEL_JS:K,NEARBY_CONTEXT_JS:G}=await Promise.resolve().then(()=>(Qh(),Zh)),{ICON_LABELS_JS:N}=await Promise.resolve().then(()=>(tg(),eg)),{COLOR_MATH_JS:B}=await Promise.resolve().then(()=>(ng(),rg)),P=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
379
|
+
`+[C,I,O,j,W,K,G,N,B].join(`
|
|
380
|
+
`),{inject:V}=await Promise.resolve().then(()=>(Wa(),vu));try{await V(p,{tool:"detector-helpers",content:P});}catch{await p.evaluate(`(0,eval)(${JSON.stringify(P)})`);}}catch(C){console.warn("[webability] helper injection failed:",C.message),(v??[]).push("color:kernel-injection-failed");}let A=[];try{let{detectPlatform:C,applyPlatformTemplates:I}=await Promise.resolve().then(()=>(lg(),sg)),O=await C(p);A=await I(p,O);}catch{}let{guardDetectorState:b}=await Promise.resolve().then(()=>(Wa(),vu)),w=globalThis.process?.env?.WA_STRICT_STATE==="1",T={strict:w,bugs:m?.internalBugs},R=await b(p,"detectors:parallel",v??[],()=>Promise.allSettled(HI.map(async C=>{try{let I=await C.detect(p);return C.cap&&I.length>=C.cap&&h.push({detector:C.name,cap:C.cap}),I}catch{return []}})),T),E=[];m?.skipFocusMutating&&(v??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let k=[...m?.skipFocusMutating?[]:[hh,mh],...m?.extraSerialDetectors??[]];for(let C of k){let I=[];try{I=await b(p,C.name,v??[],()=>C.detect(p).catch(()=>[]),T);}catch(O){if(w)throw O}try{C.cap&&I.length>=C.cap&&h.push({detector:C.name,cap:C.cap}),E=E.concat(I);}catch{}}let L=[...R.flatMap(C=>C.status==="fulfilled"?C.value:[]),...E],D=[...A,...L],y=VI(D),_=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return y.filter(C=>{let I=C.selector.toLowerCase();return I.trim()?!_.some(O=>I.includes(O)):false})}function VI(p){let d=new Set;return p.filter(v=>{let m=`${v.selector}::${v.issueType}`;return d.has(m)?false:(d.add(m),true)})}function yu(p){let d=new Map,v=[...p].sort((m,h)=>{let A={webability:0,"axe-core":1,"deep-analysis":2},b=A[m.source]??3,w=A[h.source]??3;return b-w});for(let m of v){let h=jI(m);d.has(h)?!d.get(h).fix?.suggestedValue&&m.fix?.suggestedValue&&d.set(h,m):d.set(h,m);}return Array.from(d.values())}function jI(p){let d=p.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),v=p.wcag||"";return d&&v?`${d}::${v}`:`${p.type}::${d||p.id}`}var $I=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,zI=new Set(["2.4.1","3.1.1","2.4.2"]);async function cg(p,d){if(d.length<2)return d;let v=Array.from(new Set(d.map(E=>E.selector).filter(Boolean))),m;try{m=await p.evaluate(E=>{let k=Array.from(document.querySelectorAll("*")),L=new Map;k.forEach((y,_)=>L.set(y,_));let D={};for(let y of E){let _=null;try{_=document.querySelector(y);}catch{}if(!_){let C=y.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(C!==y)try{_=document.querySelector(C);}catch{}}if(_){let C=_.closest("table");D[y]={el:L.get(_),table:C?L.get(C):-1,doc:_===document.documentElement||_===document.body};}}return D},v);}catch{return d}let h={webability:0,"axe-core":1,"deep-analysis":2},A=E=>{let k=m[E.selector];if(!k)return null;let L=E.wcag||E.type;return k.doc?{key:zI.has(E.wcag||"")?`doc::${L}`:`doc::${L}::${E.type}`,owner:true}:k.table>=0&&$I.test(E.type)?{key:`${k.table}::${L}::table-headers`,owner:k.el===k.table}:{key:`${k.el}::${L}`,owner:true}},b=[...d].sort((E,k)=>{let L=A(E),D=A(k),y=L?.owner?0:1,_=D?.owner?0:1;return y-_||(h[E.source]??3)-(h[k.source]??3)}),w=new Map,T=[];for(let E of b){let k=A(E);if(!k){T.push(E);continue}let L=w.get(k.key);L?!L.fix?.suggestedValue&&E.fix?.suggestedValue&&(A(L)?.owner??true)===k.owner&&w.set(k.key,E):w.set(k.key,E);}let R=new Set([...w.values(),...T]);return d.filter(E=>R.has(E))}var GI=new Set(["1.4.3","1.4.6","1.4.11"]);function dg(p){return GI.has(p.wcag)||/contrast/i.test(p.type||"")}async function fg(p,d){let v=Array.from(new Set(d.filter(b=>dg(b)&&b.selector).map(b=>b.selector))).slice(0,100);if(v.length===0)return d;let m;try{m=await p.evaluate(b=>{let w=[],T={},R=Math.max(document.documentElement.scrollWidth,window.innerWidth),E=Math.max(document.documentElement.scrollHeight,window.innerHeight),k=L=>{let D=L.match(/rgba?\(([^)]+)\)/);if(!D)return !1;let y=D[1].split(/[ ,/]+/).filter(Boolean);return y.length<4||parseFloat(y[3])>=.95};for(let L of b){let D=null;try{D=document.querySelector(L);}catch{continue}if(!D)continue;let y=getComputedStyle(D),_=D.getBoundingClientRect(),C=y.clipPath&&y.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(y.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(y.clip||""),I=_.width<=1||_.height<=1,O=window.scrollX,j=window.scrollY,W=_.right+O<=0||_.bottom+j<=0||_.left+O>=R||_.top+j>=E,K=!1;if(W)for(let z=D.parentElement;z&&z!==document.body&&z!==document.documentElement;z=z.parentElement){let J=getComputedStyle(z);if(J.overflowX!=="visible"||J.overflowY!=="visible"||J.transform&&J.transform!=="none"){K=!0;break}}if(W&&K){T[L]="text is outside the visible page inside a scrolling / clipped container \u2014 check contrast where it is shown";continue}if(C||I||W){w.push(L);continue}let G=D,N=!1;for(;G&&G!==document.documentElement;){if(parseFloat(getComputedStyle(G).opacity)===0){N=!0;break}G=G.parentElement;}if(N){T[L]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let B=_.left+_.width/2,F=_.top+_.height/2,P=D,V=!1;for(let z=0;P&&P!==document.body&&z<8;z++){let J=getComputedStyle(P);if(k(J.backgroundColor)||J.backgroundImage&&J.backgroundImage!=="none")break;let Q=P.querySelectorAll("video, canvas, img, picture");for(let ie=0;ie<Q.length;ie++){let ne=Q[ie];if(ne.contains(D)||D.contains(ne))continue;let se=ne.getBoundingClientRect();if(se.width>0&&se.height>0&&B>=se.left&&B<=se.right&&F>=se.top&&F<=se.bottom){V=!0;break}}if(V)break;P=P.parentElement;}V&&(T[L]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:w,review:T}},v);}catch{return d}let h=new Set(m.hidden),A=[];for(let b of d){if(!dg(b)){A.push(b);continue}if(h.has(b.selector))continue;let w=m.review[b.selector];A.push(w&&b.confidence!=="needs_review"?{...b,confidence:"needs_review",reviewReason:w,...b.fix?{fix:{...b.fix,needsManualReview:true}}:{}}:b);}return A}async function pg(p,d){let v=Array.from(new Set(d.filter(A=>A.selector).map(A=>A.selector))).slice(0,200);if(v.length===0)return d;let m;try{m=await p.evaluate(A=>{let b=[];for(let w of A){let T=null;try{T=document.querySelector(w);}catch{continue}if(!T||T.tagName!=="IFRAME")continue;let R=getComputedStyle(T),E=T.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse",k=(T.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(E||k)&&b.push(w);}return b},v);}catch{return d}if(m.length===0)return d;let h=new Set(m);return d.filter(A=>!h.has(A.selector))}Wa();function Io(p){let d=[],v=[];for(let m of p)m.confidence==="needs_review"||UI(m)?v.push(m):d.push(WI(m));return {verdicts:d,undecided:v}}function WI(p){if(p.confidence===void 0&&p.reviewReason===void 0)return p;let{confidence:d,reviewReason:v,...m}=p;return m}function UI(p){let d=(p.type||"").toLowerCase(),v=p.wcag||"",m=p.html||"",h=(p.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||v==="1.4.3"||v==="1.4.11")&&XI(m))return "background uses gradient or image";if(d==="image_of_text"||v==="1.4.5"){let A=mg(m,"src").toLowerCase();A.startsWith("data:")&&(A=A.split(",")[0]);let b=mg(m,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(A))return "brand imagery";if(b.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(b))return "branded imagery"}return (d==="inconsistent_navigation"||h.includes("inconsistent navigation"))&&(/<footer/i.test(m)||/<aside/i.test(m))?"footer/aside nav":""}function XI(p){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(p)}function mg(p,d){let v=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),m=p.match(v);return m?m[1]:""}var xu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function hg(p){return p.includes("wcag21aa")||p.includes("wcag22aa")||p.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function Du(p,d){return d==="AAA"&&!p.includes("wcag2aaa")?[...p,"wcag2aaa"]:p}var YI={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.1":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};function wu(p){return YI[p]??"AA"}var Ua={A:1,AA:2,AAA:3};function KI(p){let d=String(p.wcag||"").split(/[,\s]+/).filter(m=>/^\d+\.\d+\.\d+$/.test(m));if(d.length===0)return p.level??"AA";let v="AAA";for(let m of d)Ua[wu(m)]<Ua[v]&&(v=wu(m));return v}function Xa(p,d="AA"){let v=Ua[d]??Ua.AA;return p.filter(m=>Ua[KI(m)]<=v)}var JI=new Set(["new_window_link","external_link_warning","download_link_warning"]);function gg(p){let d=JI.has(p.issueType)?"minor":p.needsAI?"serious":"moderate",v=p.attribute==="style",m=p.attribute.startsWith("data-"),h=v&&p.fixValue?ZI(p.fixValue):p.fixValue;return {id:`wa-${p.issueType}-${Lo(p.selector)}`,source:"webability",type:p.issueType,wcag:p.wcag,level:wu(p.wcag),impact:d,message:QI(p,h,m),selector:p.selector,html:p.outerHtml,...p.needsReview?{confidence:"needs_review"}:{},...p.reviewReason?{reviewReason:p.reviewReason}:{},fix:{attribute:p.attribute,currentValue:p.currentValue,suggestedValue:h,needsManualReview:p.needsAI||v||m||!!p.needsReview||!!p.manualFix}}}function ZI(p){let d=p.trim();if(!d)return "";let v=d.endsWith(";"),h=d.split(";").map(A=>{let w=A.toLowerCase().lastIndexOf("!important");return w===-1?A.trim():A.slice(0,w).trim()}).filter(A=>A.length>0);return h.length===0?"":h.join(";")+(v?";":"")}function QI(p,d,v){if(p.message)return p.message;let m=p.issueType.replace(/_/g," "),h=d??p.fixValue;return v?h?`${m}: ${h}`:p.currentValue?`${m}: ${p.currentValue}`:p.context?`${m}: ${p.context}`:m:h?`${m}: set ${p.attribute}="${h}"`:p.currentValue?`${m}: ${p.attribute} is "${p.currentValue}"`:`${m}: missing ${p.attribute}`}function Ya(p){return Array.isArray(p)?p.flat(1/0).filter(v=>typeof v=="string").join(" >>> "):typeof p=="string"?p:""}function Lo(p){let d=0;for(let v=0;v<p.length;v++)d=(d<<5)-d+p.charCodeAt(v)|0;return Math.abs(d).toString(36)}function Au(p){return p==="critical"||p==="serious"||p==="moderate"||p==="minor"?p:"moderate"}function vg(p,d=[]){return {total:p.length,critical:p.filter(v=>v.impact==="critical").length,serious:p.filter(v=>v.impact==="serious").length,moderate:p.filter(v=>v.impact==="moderate").length,minor:p.filter(v=>v.impact==="minor").length,incomplete:0}}function eL(p){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(p);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function _u(p){for(let d of p){let v=eL(d);if(v)return v}return ""}function Eu(p){return p.includes("wcag2aaa")?"AAA":p.includes("wcag2aa")||p.includes("wcag21aa")||p.includes("wcag22aa")?"AA":"A"}Wa();var tL=60,rL=3,nL=120,aL=1200,iL=300,oL=2e5,sL=8e3;var lL="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function uL(p){let{selectors:d,maxBoxes:v,maxW:m,maxH:h,maxArea:A}=p,b=document.documentElement.scrollWidth,w=document.documentElement.scrollHeight,T=document.createElement("canvas");T.width=T.height=1;let R=T.getContext("2d",{willReadFrequently:true}),E=C=>{try{R.clearRect(0,0,1,1),R.fillStyle="#000",R.fillStyle=C,R.fillRect(0,0,1,1);let I=R.getImageData(0,0,1,1).data;return [I[0],I[1],I[2],I[3]]}catch{return null}},k={},L=document.querySelectorAll("video,canvas,iframe,embed,object");if(L.length>200){for(let C of d)k[C]=null;return k}let D=Array.from(L).map(C=>C.getBoundingClientRect()),y=window.scrollX,_=window.scrollY;for(let C of d){k[C]=null;let I=null;try{I=document.querySelector(C);}catch{continue}if(!I)continue;let O=getComputedStyle(I);if(O.visibility!=="visible"||O.display==="none"||O.webkitBackgroundClip==="text"||O.backgroundClip==="text")continue;let j=false,W=0;for(let ne=I;ne;ne=ne.parentElement){if(++W>64){j=true;break}let se=getComputedStyle(ne);parseFloat(se.opacity)<1&&(j=true),(se.transform!=="none"||se.mixBlendMode!=="normal"||se.filter!=="none")&&(j=true);}if(j)continue;let K=E(O.color);if(!K||K[3]<255)continue;let G=parseFloat(O.fontSize),N=parseInt(O.fontWeight,10)>=700,B=G>=24||N&&G>=18.66,F=[],P=I.getBoundingClientRect();if(P.height>h*v||P.width>m*2)continue;let V=document.createTreeWalker(I,NodeFilter.SHOW_TEXT),z,J=0,Q=false;for(;!Q&&(z=V.nextNode());){if(++J>50){Q=true;break}if(z.parentElement!==I)continue;let ne=z.textContent||"";if(ne.length>2e3){Q=true;break}if(!ne.trim())continue;let se=document.createRange();se.selectNodeContents(z);let we=se.getClientRects();if(we.length>v){Q=true;break}for(let Te=0;Te<we.length;Te++){let Ee=we[Te];if(!(Ee.width<2||Ee.height<2)&&(F.push({x:Math.round(Ee.left+y),y:Math.round(Ee.top+_),w:Math.max(1,Math.round(Ee.width)),h:Math.max(1,Math.round(Ee.height))}),F.length>v)){Q=true;break}}}Q||F.length===0||F.length>v||F.some(ne=>ne.w>m||ne.h>h||ne.w*ne.h>A||ne.x<0||ne.y<0||ne.x+ne.w>b||ne.y+ne.h>w)||F.some(ne=>D.some(se=>ne.x<se.right+y&&ne.x+ne.w>se.left+y&&ne.y<se.bottom+_&&ne.y+ne.h>se.top+_))||(k[C]={fg:`rgb(${K[0]},${K[1]},${K[2]})`,threshold:B?3:4.5,boxes:F});}return k}async function cL(p){let{b64:d,fg:v}=p,m=atob(d),h=new Uint8Array(m.length);for(let j=0;j<m.length;j++)h[j]=m.charCodeAt(j);let A=await createImageBitmap(new Blob([h],{type:"image/png"})),b=document.createElement("canvas");b.width=A.width,b.height=A.height;let w=b.getContext("2d",{willReadFrequently:true});w.drawImage(A,0,0);let T=w.getImageData(0,0,b.width,b.height).data,R=j=>{let W=j/255;return W<=.03928?W/12.92:Math.pow((W+.055)/1.055,2.4)},E=(j,W,K)=>.2126*R(j)+.7152*R(W)+.0722*R(K),k=v.match(/\d+/g).map(Number),L=E(k[0],k[1],k[2]),D=Math.max(1,Math.floor(Math.sqrt(b.width*b.height/1500))),y=0,_=1/0,C="",I="",O=0;for(let j=0;j<b.height;j+=D)for(let W=0;W<b.width;W+=D){let K=(j*b.width+W)*4;if(T[K+3]<255)continue;let G=E(T[K],T[K+1],T[K+2]),N=Math.max(L,G),B=Math.min(L,G),F=(N+.05)/(B+.05);F>y&&(y=F,I=`rgb(${T[K]},${T[K+1]},${T[K+2]})`),F<_&&(_=F,C=`rgb(${T[K]},${T[K+1]},${T[K+2]})`),O++;}return O===0?null:{best:y,worst:_,worstBg:C,bestBg:I}}var Mo=class extends Error{};function Ka(p,d){let v=d-Date.now();if(v<=0)return Promise.reject(new Mo("pixel pass deadline"));let m,h=new Promise((A,b)=>{m=setTimeout(()=>b(new Mo("pixel pass deadline")),v);});return Promise.race([p,h]).finally(()=>clearTimeout(m))}async function bg(p,d){let v=p.screenshot;if(typeof v!="function"||d.length===0)return [];let m=Array.from(new Set(d)).slice(0,tL),h=[],A=false,b=Date.now()+sL;try{await Ka(p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),b);let w=await Ka(p.evaluate(uL,{selectors:m,maxBoxes:rL,maxW:aL,maxH:iL,maxArea:oL}),b);await Ka(fu(p,{tool:"contrast-pixels",css:lL}),b),A=!0;let T=0;for(let R of m){let E=w[R];if(!E)continue;if(Date.now()>b||T+E.boxes.length>nL)break;let k=0,L=1/0,D="",y="",_=!0;for(let C of E.boxes){T++;let I=await Ka(v.call(p,{clip:{x:C.x,y:C.y,width:C.w,height:C.h},fullPage:!0,type:"png",animations:"disabled"}),b),O=globalThis.Buffer,j=O?O.from(I).toString("base64"):"",W=await Ka(p.evaluate(cL,{b64:j,fg:E.fg}),b);if(!W){_=!1;break}W.best>k&&(k=W.best,y=W.bestBg),W.worst<L&&(L=W.worst,D=W.worstBg);}_&&h.push({selector:R,fail:k<E.threshold*.97,bestRatio:k,worstRatio:L,...D?{worstBg:D}:{},...y?{bestBg:y}:{},threshold:E.threshold,fg:E.fg});}}catch(w){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",w);}finally{if(A)try{await Promise.race([p.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(w=>w.remove())),new Promise(w=>setTimeout(w,1e3))]);}catch{}}return h}function dL(p){p=p.replace("#",""),p.length===3&&(p=p[0]+p[0]+p[1]+p[1]+p[2]+p[2]);let d=parseInt(p,16);return [d>>16&255,d>>8&255,d&255]}function Cu(p){let d=p/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function yg(p,d,v){return .2126*Cu(p)+.7152*Cu(d)+.0722*Cu(v)}function fL(p,d){let v=Math.max(p,d),m=Math.min(p,d);return (v+.05)/(m+.05)}function wg(p){if(p.startsWith("#"))return dL(p);let d=p.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return d?[parseInt(d[1]),parseInt(d[2]),parseInt(d[3])]:null}function An(p,d){let v=wg(p),m=wg(d);return !v||!m?0:fL(yg(...v),yg(...m))}var pL=30,mL=10,hL=2e4,gL=30,vL=400*1024,bL="https://openrouter.ai/api/v1",yL="anthropic/claude-haiku-4.5",xg="deepseek/deepseek-v4-flash",Dg=400,Ag=125,Su=160,wL=2e3,Po=new Map;function xL(p){let d=0;for(let v=0;v<p.length;v++)d=(d<<5)-d+p.charCodeAt(v)|0;return Math.abs(d).toString(36)}var ku=p=>p.wcag||p.type,_g=(p,d,v)=>`${p}|${d.selector}|${ku(d)}|${xL(v)}`,Tu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function DL(p){let{selectors:d,maxHtml:v}=p,m={elements:{}},h=[],A=C=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(C)&&!/^\s*not\b/i.test(C),b=C=>{let I=C.split(",").map(O=>O.trim()).filter(Boolean);return I.length?I.every(O=>{let j=O.match(/^(-?[\d.]+)(ms|s)$/i);return j?parseFloat(j[1])*(j[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},w=(C,I,O)=>{if(!(O>8))for(let j of Array.from(C)){let W=j.media?.mediaText,K=I||typeof W=="string"&&A(W),G=j.style,N=j.selectorText;if(K&&G&&typeof N=="string"){let P=G.getPropertyValue("animation-name").trim(),V=/^none(\s*,\s*none)*$/i.test(P)||b(G.getPropertyValue("animation-duration"))||/^paused/i.test(G.getPropertyValue("animation-play-state").trim()),z=/^none(\s*,\s*none)*$/i.test(G.getPropertyValue("transition-property").trim())||b(G.getPropertyValue("transition-duration"));(V||z)&&h.push({selector:N,anim:V,trans:z});}let B=j.cssRules;B&&B.length&&w(B,K,O+1);let F=j.styleSheet;if(F)try{w(F.cssRules,K||A(j.media?.mediaText||""),O+1);}catch{}}};try{for(let C of Array.from(document.styleSheets))try{w(C.cssRules,A(C.media?.mediaText||""),0);}catch{}}catch{}let T=(C,I)=>{try{return C.matches(I)}catch{return false}},R=C=>C.split(",").map(I=>{let O=I.trim().match(/^(-?[\d.]+)(ms|s)$/i);return O?parseFloat(O[1])*(O[2].toLowerCase()==="s"?1e3:1):0}),E=C=>{let I=C.cloneNode(true);I.querySelectorAll("script, style").forEach(j=>j.remove());let O=(I.textContent||"").replace(/\s+/g," ").trim();if(!O){for(let j of Array.from(C.querySelectorAll("img[alt], [aria-label]")))if(O=(j.getAttribute("alt")||j.getAttribute("aria-label")||"").trim(),O)break}return O},k=C=>{let I=(C.getAttribute("aria-label")||"").trim();if(I)return I;let j=(C.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(G=>{let N=document.getElementById(G);return N?(N.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(j)return j;let W=E(C);if(W)return W;let K=C instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(C.type)?(C.value||C.alt||"").trim():"";return K||(C.getAttribute("title")||"").trim()},L='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',D=window.scrollX||0,y=window.scrollY||0,_=[];for(let C of d){let I=null;try{I=document.querySelector(C);}catch{}if(!I){m.elements[C]={found:false};continue}let O=_.indexOf(I);O<0&&(O=_.push(I)-1);let j=getComputedStyle(I),W=I.getBoundingClientRect(),K=I.tagName.toLowerCase(),G={found:true,elementKey:O,tag:K,html:(I.outerHTML||"").slice(0,v),rect:{x:W.left+D,y:W.top+y,w:W.width,h:W.height},role:(I.getAttribute("role")||"").toLowerCase(),ariaHidden:I.getAttribute("aria-hidden")==="true"||!!I.closest('[aria-hidden="true"]'),hidden:j.display==="none"||j.visibility==="hidden"||!!I.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(j.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:j.color,bg:j.backgroundColor,fontSize:parseFloat(j.fontSize)||0,fontWeight:parseInt(j.fontWeight,10)||400};if(K==="img"){let z=I;G.img={src:(z.currentSrc||z.getAttribute("src")||"").slice(0,300),alt:z.getAttribute("alt"),naturalW:z.naturalWidth||0,naturalH:z.naturalHeight||0,attrW:parseInt(z.getAttribute("width")||"0",10)||0,attrH:parseInt(z.getAttribute("height")||"0",10)||0};}if(G.cssBackgroundImage){let z=I.closest(L);z&&(G.control={tag:z.tagName.toLowerCase(),name:k(z).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(K)){let z=j.animationName.split(",").some(se=>se.trim()&&se.trim()!=="none")&&R(j.animationDuration).some(se=>se>10),J=R(j.transitionDuration).some(se=>se>10)&&j.transitionProperty.trim()!=="none",Q=h.filter(se=>T(I,se.selector)),ie=!z||Q.some(se=>se.anim),ne=!J||Q.some(se=>se.trans);G.reducedMotionHandled=(z||J)&&ie&≠}let N=I.closest('a[href], button, [role="button"], [role="link"]');if(N&&N!==I){let z=N.cloneNode(true);z.querySelectorAll("img, svg").forEach(ie=>ie.remove());let J=(z.textContent||"").replace(/\s+/g," ").trim(),Q=(N.getAttribute("aria-label")||"").trim();G.parentInteractive={tag:N.tagName.toLowerCase(),text:(J||Q).slice(0,120)};}let B=z=>{let J=z.cloneNode(true);return J.querySelectorAll("script, style").forEach(Q=>Q.remove()),(J.textContent||"").replace(/\s+/g," ").trim()},F=I.matches('a[href], [role="link"]'),P=B(I),V=I.parentElement;if(F&&(V=I.closest("p, li, td, th, dd, dt, figcaption, blockquote")||I.parentElement),V){let z=B(V),J=F&&P?z.indexOf(P):-1,Q=J>120?J-120:0;G.nearText=(Q?"\u2026":"")+z.slice(Q,Q+240);}m.elements[C]=G;}return m}function AL(p,d){let v=(p.type||"").toLowerCase(),m=p.wcag||"";return v==="decorative_image_with_title"?"generic":m==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(v))?"alt":m==="1.4.3"||m==="1.4.6"||v==="color-contrast"||v==="contrast_insufficient"||v==="contrast_enhanced"?"contrast":m==="2.2.2"||m==="2.3.3"||/motion|animation|reduced_motion/.test(v)?"motion":"generic"}function Ru(p){return !!p&&p.tag!=="img"&&p.cssBackgroundImage&&!p.img}var _L=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function EL(p){let d=String(p??"").replace(/\s+/g," ").replace(_L,"judged").trim();if(d.length<=Su)return d;let v=d.slice(0,Su-1),m=v.lastIndexOf(" ");return (m>Su/2?v.slice(0,m):v).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function CL(p){let d=String(p??"").replace(/\s+/g," ").trim();if(d=d.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),d=d.replace(/^["'“”]+|["'“”]+$/g,"").trim(),d.length>Ag){d=d.slice(0,Ag);let v=d.lastIndexOf(" ");v>60&&(d=d.slice(0,v)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function Un(p){let d=p.match(/\d+(\.\d+)?/g);return !d||d.length<3?p:"#"+d.slice(0,3).map(v=>Math.round(Number(v)).toString(16).padStart(2,"0")).join("")}var Sg=/^#?([0-9a-f]{6})$/i;function SL(p){let d=String(p??"").trim().match(Sg);return d?"#"+d[1].toLowerCase():null}function kL(p){let{confidence:d,reviewReason:v,...m}=p;return {...m,id:p.id.replace("axe-incomplete-","axe-")}}function TL(p){let d=p;if(typeof p=="string"){let h=p.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!h)return null;try{d=JSON.parse(h[0]);}catch{return null}}else p&&typeof p=="object"&&Array.isArray(p.verdicts)&&(d=p.verdicts);if(!Array.isArray(d))return null;let v=[];for(let m of d){if(!m||typeof m!="object")continue;let{id:h,verdict:A,reason:b,fix:w}=m;if(typeof h!="string"||A!=="pass"&&A!=="violation")continue;let T=w&&typeof w=="object"?w:void 0;v.push({id:h,verdict:A,reason:typeof b=="string"?b:void 0,fix:T?{attribute:typeof T.attribute=="string"?T.attribute:void 0,value:typeof T.value=="string"?T.value:void 0}:void 0});}return v}var Xn=class extends Error{},RL=`You are the final accessibility judge for a WCAG scanner. Automated engines could not decide the findings below. You MUST decide each one: "pass" (not a violation) or "violation". There is no third option \u2014 never answer "unsure", never defer to a human.
|
|
379
381
|
|
|
380
382
|
Rules:
|
|
381
383
|
- Images (1.1.1): "pass" when the image is decorative, purely presentational, a spacer/tracking pixel, or is named by the text of its enclosing link/button. Otherwise "violation" with fix.attribute="alt" and a concrete alt text written from the image and its context: \u2264125 characters, no "image of"/"picture of" prefix, no file names.
|
|
382
384
|
- CSS background images (1.1.1) on a control with no accessible name (context.control.accessibleName is empty): the image is the control's only content, so "violation" with fix.value = a short name for what the control does, written from the crop and nearby text (\u2264125 characters, no "image of"). "pass" only if the control is clearly not meant to be operated.
|
|
383
385
|
- Images of text (1.4.5): logos, wordmarks and brand signatures are exempt \u2192 "pass". Essential informational text rendered as an image \u2192 "violation".
|
|
384
386
|
- Text contrast (1.4.3 / 1.4.6): you receive the text colour, the required ratio for its font size, and the best/worst measured ratio behind the glyphs plus a crop. "violation" when the text is not readable at the required ratio over a meaningful part of its background; then fix.attribute="style" and fix.value = a 6-digit hex text colour that meets the ratio against the background's dominant colour. "pass" when the text clearly meets the ratio everywhere the glyphs sit.
|
|
387
|
+
- Link purpose (2.4.4): the context is the link text plus its sentence, paragraph, list item or table cell (nearbyText). "pass" when the text names the destination page or topic (Home, About, Info, Contact, Pricing, a product or article name), even as a single word in a site menu. "violation" only for generic text that names no destination (here, click here, more, read more, learn more, link) when that context does not supply it.
|
|
388
|
+
- Dead in-page link (2.4.1): the item is an <a href="#fragment"> near the top of the page whose fragment matches no id or <a name> (context.engineNote names it). WCAG 2.4.1 is about bypassing repeated blocks. "violation" only when the link is the page's bypass mechanism (a skip link that should jump past the header or navigation) and its target is missing, so activating it goes nowhere. Any other dead fragment link is "pass" for 2.4.1: an ordinary or script-driven link (tab, accordion, modal or menu trigger, back-to-top).
|
|
389
|
+
- Form with no submit control (3.2.2): the item is a <form> with visible fields and no submit button, input type=submit/image or outside button. "violation" only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) and no submit control exists to ask for it. "pass" for a script-driven form, a single search box, or a form whose fields change nothing until the user acts.
|
|
390
|
+
- Decorative image with a title (1.1.1): the item is an <img alt=""> that also has a non-empty title (context.engineNote gives it). "violation" when the picture conveys information the title names (a logo, chart, labelled icon, photo of a named subject), so the empty alt hides it. "pass" when the picture is purely decorative and the title only repeats nearby text or adds nothing. Do not write alt text for this item.
|
|
385
391
|
- Non-text contrast (1.4.11), motion (2.2.2 / 2.3.3), duplicate ids, ARIA references, captions and everything else: decide from the markup, the context and the crop. For a "violation", give fix.attribute/fix.value only when you are certain of the exact value.
|
|
386
392
|
- Be strict: "pass" only when confident the finding is not a real barrier.
|
|
387
393
|
|
|
388
394
|
Respond with ONLY a JSON array, one object per item, same ids:
|
|
389
395
|
[{"id": "...", "verdict": "pass" | "violation", "reason": "one sentence", "fix": {"attribute": "...", "value": "..."}}]
|
|
390
|
-
Omit "fix" for passes.`;function
|
|
396
|
+
Omit "fix" for passes.`;function FL(p){let d=p.items.map(({screenshot:v,...m})=>({...m,...v?{screenshot:"attached (crop, same order)"}:p.vision?{screenshot:"no image attached for this item: judge it from the markup and context only"}:{}}));return `Page: ${p.url}
|
|
391
397
|
Conformance level: ${p.level}
|
|
392
398
|
|
|
393
399
|
Findings:
|
|
394
|
-
${JSON.stringify(f,null,1)}`}function gL(p){let f=(p.baseUrl||tL).replace(/\/+$/,"");return async(v,m)=>{let g=v.vision&&v.items.some(S=>S.screenshot),C=g?p.visionModel||rL:p.textModel||aL,y=[{type:"text",text:hL(v)}];if(g)for(let S of v.items)S.screenshot&&(y.push({type:"text",text:`Crop for ${S.id}:`}),y.push({type:"image_url",image_url:{url:`data:image/png;base64,${S.screenshot}`}}));let b=await fetch(`${f}/chat/completions`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify({model:C,temperature:0,max_tokens:4096,messages:[{role:"system",content:mL},{role:"user",content:y}]})});if(!b.ok)throw new zn(`judge model HTTP ${b.status}`);let R=(await b.json()).choices?.[0]?.message?.content;if(typeof R=="string")return R;if(Array.isArray(R))return R.map(S=>typeof S?.text=="string"?S.text:"").join("");throw new Error("judge model returned no content")}}function vL(p){let f=p.apiUrl.replace(/\/+$/,"");return async(v,m)=>{let g=await fetch(`${f}/api/judge-incomplete`,{method:"POST",signal:m,headers:{"Content-Type":"application/json",...p.token?{Authorization:`Bearer ${p.token}`}:{}},body:JSON.stringify(v)});if(!g.ok)throw new zn(`judge endpoint HTTP ${g.status}`);return g.json()}}function bL(p){return p.transport?p.transport:p.apiKey?gL({apiKey:p.apiKey,baseUrl:p.baseUrl,visionModel:p.visionModel,textModel:p.textModel}):p.apiUrl?vL({apiUrl:p.apiUrl,token:p.apiToken}):null}async function vg(p,f,v){let m={promoted:[],judged:[]},g=bL(v);if(!g||f.length===0)return m;let C=v.level??"AA",y=v.timeoutMs??QI,b=Date.now()+y,A=Vn([...f],C);if(A.length===0)return m;let R=new Map;for(let V of A){let B=`${V.selector}|${mu(V)}`,j=R.get(B);j?j.members.push(V):R.set(B,{key:B,members:[V],rep:V,ctx:void 0,kind:"generic"});}let S={elements:{}};if(p)try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),S=await p.evaluate(oL,{selectors:[...R.keys()].map(V=>R.get(V).rep.selector),maxHtml:dg});}catch{}for(let V of R.values())V.ctx=S.elements[V.rep.selector],V.ctx&&!V.ctx.found&&(V.ctx=void 0),V.kind=sL(V.rep,V.ctx);let D=new Map;for(let[V,B]of [...R]){if(!B.ctx)continue;let j=`${B.ctx.elementKey}|${mu(B.rep)}`,Z=D.get(j);if(!Z){D.set(j,B);continue}Z.members.push(...B.members),R.delete(V);}let T={promoted:[],judged:[]},E=(V,B)=>{for(let j of V.members){if(B.verdict==="violation"){let Z=xL(j,V,B);if(!Z)continue;T.promoted.push(Z);}T.judged.push({id:j.id.replace("axe-incomplete-","axe-"),type:j.type,verdict:B.verdict,reason:B.reason});}},w=[...R.values()].filter(V=>V.kind==="contrast");if(w.length&&p){for(let B of w)B.pixels=v.measured?.get(B.rep.selector);let V=w.filter(B=>!B.pixels).map(B=>B.rep.selector);if(V.length)try{for(let B of await lg(p,V))for(let j of w)j.rep.selector===B.selector&&(j.pixels=B);}catch{}}let _=[];for(let V of R.values()){let B=To.get(pg(v.url,V.rep,V.ctx?.html??V.rep.html??""));if(B){E(V,B);continue}let j=yL(V);if(j!=="drop"){if(j){E(V,j);continue}_.push(V);}}if(_.length===0)return T;let F=v.vision!==false,L=new Map,H=V=>({id:V.rep.id,type:V.rep.type,wcag:V.rep.wcag,message:V.rep.message,selector:V.rep.selector,html:(V.ctx?.html??V.rep.html??"").slice(0,dg),context:wL(V),...L.has(V.key)?{screenshot:L.get(V.key)}:{}}),U=JI;for(let V=0;V<_.length;V+=U){let B=b-Date.now();if(B<=0)break;let j=_.slice(V,V+U);let Z=new Map(j.map(re=>[re.rep.id,re])),N=new AbortController,z=setTimeout(()=>N.abort(),B),X=null,K=false,ne=Date.now();try{let re=await Promise.race([g({url:v.url,level:C,vision:F,items:j.map(H)},N.signal),new Promise((me,se)=>N.signal.addEventListener("abort",()=>se(new Error("judge deadline"))))]);X=pL(re),mg()&&console.error(`ai judge: batch ${j.length} items, ${j.filter(me=>L.has(me.key)).length} crops, ${Date.now()-ne}ms, ${X?X.length+" verdicts":"MALFORMED: "+String(re).slice(0,200)}`);}catch(re){mg()&&console.error(`ai judge: batch ${j.length} items failed after ${Date.now()-ne}ms: ${re.message}`),X=null,K=re instanceof zn;}finally{clearTimeout(z);}if(!X){if(N.signal.aborted||K)break;continue}for(let re of X){let me=Z.get(re.id);if(!me)continue;Z.delete(re.id);let se={verdict:re.verdict,reason:uL(re.reason),fix:re.fix};To.size>=nL&&To.clear(),To.set(pg(v.url,me.rep,me.ctx?.html??me.rep.html??""),se),E(me,se);}}return T}function yL(p){let f=p.ctx;if(p.kind==="alt"){if(f?.role==="presentation"||f?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(f?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(f?.img){let{attrW:v,attrH:m,naturalW:g,naturalH:C}=f.img;if(v>0&&v<=1&&m>0&&m<=1||g>0&&g<=1&&C>0&&C<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return f&&hu(f)?f.control?f.control.name?{verdict:"pass",reason:`${f.control.tag} is named ("${f.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:f?.parentInteractive?.text?{verdict:"pass",reason:`${f.parentInteractive.tag} is named by its visible link text ("${f.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(p.kind==="motion")return f?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(p.kind==="contrast"){if(!p.pixels)return "drop";let v=gu(p.rep,p.pixels.threshold);return p.pixels.worstRatio>=v?{verdict:"pass",reason:`measured ${p.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${v}:1`}:p.pixels.bestRatio<v*.97?{verdict:"violation",reason:`measured ${p.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${v}:1 everywhere`}:null}return p.rep.type==="duplicate_id"&&/first occurrence/i.test(p.rep.reviewReason||"")?{verdict:"pass",reason:"first occurrence of the id; the duplicate is reported on the later copies"}:null}function wL(p){let f=p.ctx,v={};return p.rep.reviewReason&&(v.engineNote=p.rep.reviewReason),f&&(v.tag=f.tag,f.nearText&&(v.nearbyText=f.nearText),f.parentInteractive&&(v.parentControl=f.parentInteractive),p.kind==="alt"&&hu(f)&&f.control&&(v.control={tag:f.control.tag,accessibleName:f.control.name}),p.kind==="alt"&&f.img&&(v.image={src:f.img.src,alt:f.img.alt,width:f.img.naturalW||f.img.attrW||f.rect.w,height:f.img.naturalH||f.img.attrH||f.rect.h}),p.kind==="contrast"&&p.pixels&&(v.fg=$a(p.pixels.fg),v.threshold=gu(p.rep,p.pixels.threshold),v.bestRatio=hg(p.pixels.bestRatio),v.worstRatio=hg(p.pixels.worstRatio),v.fontSize=f.fontSize,v.fontWeight=f.fontWeight),p.kind==="generic"&&(v.fg=$a(f.fg),v.bg=$a(f.bg),v.size={w:Math.round(f.rect.w),h:Math.round(f.rect.h)})),v}function gu(p,f){return p.wcag==="1.4.6"||p.type==="contrast_enhanced"?f===3?4.5:7:f}var hg=p=>Math.round(p*100)/100;function xL(p,f,v){let m=fL(p);if(f.kind==="alt"){let C=cL(v.fix?.value);return C?hu(f.ctx)?{...m,fix:{attribute:"aria-label",currentValue:"",suggestedValue:C,needsManualReview:false}}:{...m,fix:{attribute:"alt",currentValue:f.ctx?.img?.alt??p.fix?.currentValue??"",suggestedValue:C,needsManualReview:false}}:null}if(f.kind==="contrast"){let C=f.pixels;if(!C)return null;let y=$a(C.fg),b=gu(p,C.threshold),A=C.worstBg?$a(C.worstBg):null,R=C.bestBg?$a(C.bestBg):null,S=w=>!!w&&!!A&&ya(w,A)>=b&&(!R||ya(w,R)>=b),D,T=dL(v.fix?.value),E=A?DL(y,A,b):null;return T&&T!==y.toLowerCase()&&S(T)?D=`color:${T} !important;`:S(E)?D=`color:${E} !important;`:R&&ya(y,R)>=b&&(D=`background-color:${R} !important;`),{...m,impact:"serious",message:`contrast: ${y} text on its rendered background measures ${C.worstRatio.toFixed(2)}:1 at worst (${C.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${v.reason||"not readable"}), needs ${b}:1`,fix:{attribute:"style",currentValue:y,...D?{suggestedValue:D}:{},needsManualReview:true}}}let g=p.fix;return g?{...m,fix:g}:v.fix?.attribute&&v.fix.value?{...m,fix:{attribute:v.fix.attribute,currentValue:"",suggestedValue:v.fix.value,needsManualReview:true}}:m}function DL(p,f,v){let m=p.match(gg);if(!m)return null;let g=parseInt(m[1],16),C=[g>>16&255,g>>8&255,g&255],y=R=>"#"+R.map(S=>Math.round(Math.min(255,Math.max(0,S))).toString(16).padStart(2,"0")).join(""),b=(R,S)=>y(C.map(D=>S?D*(1-R):D+(255-D)*R)),A=null;for(let R of [true,false]){if(ya(b(1,R),f)<v)continue;let S=0,D=1;for(let E=0;E<24;E++){let w=(S+D)/2;ya(b(w,R),f)>=v?D=w:S=w;}let T=b(D,R);ya(T,f)>=v&&(!A||D<A.t)&&(A={t:D,hex:T});}return A?.hex??null}function bg(p=globalThis){if(p.__waDomKernelInstalled)return;function m(N){try{return document.querySelectorAll(N).length===1}catch{return false}}function g(N){if(!N||/^_?[Rr]_[a-z0-9]+_/.test(N)||/^:[Rr][0-9a-z]+:/.test(N)||/^«[Rr][0-9a-z]+»/.test(N)||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(N)||/^[\w-]*(react|gatsby|root|__next|hash|uuid)[\w-]*$/i.test(N)||/^(radix|headlessui|mui|mantine|cdk|ng|ember|downshift|react-select|react-aria|floating-ui)[-_:]/i.test(N)||/[0-9a-f]{16,}/i.test(N))return true;for(var z=N.split(/[-_:.]/).filter(Boolean),X=z.some(function(se){var fe=(se.match(/[a-z]/gi)||[]).length,ke=(se.match(/[aeiou]/gi)||[]).length;return fe>=4&&ke>=1&&!/\d/.test(se)}),K=0;K<z.length;K++){var ne=z[K];if(!X&&/^\d{7,}$/.test(ne)||/^[0-9a-f]{13}$/i.test(ne)&&/[a-f]/i.test(ne)&&/\d/.test(ne))return true;if(ne.length>=7&&/\d/.test(ne)&&/[a-z]/i.test(ne)){var re=(ne.match(/[aeiou]/gi)||[]).length,me=(ne.match(/[a-z]/gi)||[]).length;if(me>=4&&re/me<.2||(ne.match(/\d[a-z]|[a-z]\d/gi)||[]).length>=4)return true}}return false}function C(N){if(!N.classList||!N.classList.length)return [];for(var z=[],X=0;X<N.classList.length&&z.length<3;X++){var K=N.classList[X];K&&(/^(active|open|focus|hover|disabled|selected|hidden|sr-only|css-[a-z0-9]{4,}|jss[0-9]+|sc-[a-z0-9]+|[a-z]+-[a-f0-9]{6,}|_\d|chakra-|MuiBox-|MuiButton-)$/i.test(K)||/^[a-z][a-z0-9_-]{1,40}$/i.test(K)&&z.push(K));}return z}function y(N){var z=N.tagName.toLowerCase(),X=C(N);return X.length?z+"."+X.map(function(K){return CSS.escape(K)}).join("."):z}function b(N){var z=N.tagName.toLowerCase();if(!N.parentElement)return z;var X=Array.from(N.parentElement.children).filter(function(K){return K.tagName===N.tagName});return X.length===1?z:z+":nth-of-type("+(X.indexOf(N)+1)+")"}function A(N){for(var z=[],X=N;X&&X!==document.body&&X!==document.documentElement;)z.unshift(b(X)),X=X.parentElement;return z.join(" > ")}function R(N){if(!N||N===document.body||N===document.documentElement)return "body";if(N.id&&!g(N.id)){var z="#"+CSS.escape(N.id);if(m(z))return z}for(var X=["data-testid","data-cy","data-qa","data-test","data-component","data-id","data-key"],K=0;K<X.length;K++){var ne=N.getAttribute(X[K]);if(ne&&ne.length<60){var re=N.tagName.toLowerCase()+"["+X[K]+'="'+CSS.escape(ne)+'"]';if(m(re))return re}}var me=y(N);if(me.indexOf(".")!==-1&&m(me))return me;for(var se=[],fe=null,ke=N;ke&&ke!==document.body&&ke!==document.documentElement;){if(ke.id&&!g(ke.id)){var He="#"+CSS.escape(ke.id);if(m(He)){fe=He;break}}var Pe=y(ke);if(Pe.indexOf(".")!==-1&&m(Pe)){fe=Pe;break}if(se.unshift(ke),ke=ke.parentElement,se.length>6)break}var Ie=se.map(function(Ce){var $t=y(Ce);if($t.indexOf(".")!==-1&&Ce.parentElement){var ra=Ce.parentElement.querySelectorAll(":scope > "+$t);if(ra.length===1)return "> "+$t}return "> "+b(Ce)}).join(" "),Ue="";if(fe&&Ie?Ue=(fe+" "+Ie).slice(0,200):fe&&(Ue=fe),Ue&&m(Ue))return Ue;var Fe=A(N);return Fe&&m(Fe)?Fe:Ue||Fe||y(N)}function S(N){if(!N)return false;let z=getComputedStyle(N);if(z.display==="none"||z.visibility==="hidden")return false;let X=parseFloat(z.opacity);if(!isNaN(X)&&X<.1)return false;if(!isNaN(X)&&X<.5){var K=z.transform||"";if(K&&K!=="none"&&K!=="matrix(1, 0, 0, 1, 0, 0)")return false}let ne=N.getBoundingClientRect();if(ne.width<=1||ne.height<=1)return false;var re=z.clipPath||"";return !(re!=="none"&&/inset\(\s*(?:50|100)%/.test(re)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(z.clip||""))}function D(N){if(!N)return "";for(var z=[],X=String(N).trim().split(/\s+/),K=0;K<X.length;K++){var ne=document.getElementById(X[K]);if(ne){var re=(ne.textContent||"").trim();re&&z.push(re);}}return z.join(" ").replace(/\s+/g," ").trim()}function T(N){var z=D(N.getAttribute("aria-labelledby"));if(z)return z;var X=N.getAttribute("aria-label")||"";if(X.trim())return X.trim();var K=N.tagName?N.tagName.toLowerCase():"";if(K==="input"||K==="select"||K==="textarea"){if(N.id)try{var ne=document.querySelector('label[for="'+CSS.escape(N.id)+'"]');if(ne&&(ne.textContent||"").trim())return (ne.textContent||"").trim().replace(/\s+/g," ")}catch{}var re=N.closest?N.closest("label"):null;if(re&&(re.textContent||"").trim())return (re.textContent||"").trim().replace(/\s+/g," ")}var me=(N.textContent||"").trim().replace(/\s+/g," ");if(!me&&N.querySelector){var se=N.querySelector('img[alt]:not([alt=""])');if(se&&(me=(se.getAttribute("alt")||"").trim()),!me){var fe=N.querySelector("svg > title");fe&&(me=(fe.textContent||"").trim());}}if(me)return me;var ke=N.getAttribute("title")||"";return ke.trim()}let E="[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]";function w(N){return N?N.closest(E)!==null:false}function _(N){if(!N)return false;if(N.getAttribute("aria-hidden")==="true"||N.getAttribute("role")==="presentation"||N.getAttribute("role")==="none")return true;let z=N.parentElement,X=0;for(;z&&z!==document.body&&X<6;){if(z.getAttribute("aria-hidden")==="true")return true;z=z.parentElement,X++;}return false}function F(N){let z=N.naturalWidth||N.width||0,X=N.naturalHeight||N.height||0;if(z<=2&&X<=2)return true;let K=N.getBoundingClientRect();if(K.width<=2&&K.height<=2)return true;let ne=(N.src||"").toLowerCase();return !!(ne.includes("pixel")||ne.includes("beacon")||ne.includes("tracker")||ne.includes("analytics")||ne.includes("adsrvr")||ne.includes("doubleclick")||ne.includes("facebook.com/tr"))}function L(N){var z=N.closest("article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]");z||(z=N.closest("div,nav,main,aside,header,footer"));var X=z?z.querySelector("h1,h2,h3,h4,h5,h6"):null,K=X?(X.textContent||"").trim().slice(0,80):"",ne=N.parentElement,re=ne?ne.tagName.toLowerCase():"",me=ne&&ne.getAttribute("role")||"",se="";if(z){var fe=z.querySelector("p,.description,.excerpt,[class*=desc],[class*=summary]");fe&&(se=(fe.textContent||"").trim().slice(0,120));}var ke="";if(z){var He=z.querySelector('img[alt]:not([alt=""])');He&&(ke=(He.getAttribute("alt")||"").trim().slice(0,60));}return {nearbyHeading:K,parentTag:re,parentRole:me,cardText:se,imgAlt:ke}}var P={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"},H=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;function U(N,z,X){var K=[];if(N)for(var ne=N.split(/\s+/),re=0;re<ne.length;re++){var me=ne[re];if(me){var se=me.toLowerCase().replace(H,"").replace(/^icon-/,"");se&&se!==me.toLowerCase()&&K.push(se);}}if(z&&K.push(z.toLowerCase().trim()),X){var fe=X.trim().toLowerCase();fe.length<30&&/^[a-z_-]+$/.test(fe)&&K.push(fe.replace(/_/g,"-"));}for(var ke=0;ke<K.length;ke++)if(P[K[ke]])return P[K[ke]];for(var He=0;He<K.length;He++)for(var Pe=K[He].split("-"),Ie=0;Ie<Pe.length;Ie++)if(P[Pe[Ie]])return P[Pe[Ie]];return null}var V;function B(N){if(!N)return null;var z=N.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);if(z)return [parseInt(z[1],10),parseInt(z[2],10),parseInt(z[3],10),z[4]?parseFloat(z[4]):1];if(N==="transparent"||N==="none")return [0,0,0,0];try{if(V===void 0){var X=document.createElement("canvas");X.width=1,X.height=1,V=X.getContext("2d",{willReadFrequently:!0});}if(!V)return null;V.clearRect(0,0,1,1),V.fillStyle="#000000",V.fillStyle=N,V.fillRect(0,0,1,1);var K=V.getImageData(0,0,1,1).data;return [K[0],K[1],K[2],K[3]/255]}catch{return null}}function j(N,z,X){var K=function(ne){var re=ne/255;return re<=.03928?re/12.92:Math.pow((re+.055)/1.055,2.4)};return .2126*K(N)+.7152*K(z)+.0722*K(X)}function Z(N,z){var X=j(N[0],N[1],N[2]),K=j(z[0],z[1],z[2]),ne=Math.max(X,K),re=Math.min(X,K);return (ne+.05)/(re+.05)}Object.assign(p,{__isUnique:m,__isGeneratedId:g,__cleanClasses:C,__tagWithClass:y,__nthSelector:b,__fullPath:A,uniqueSel:R,isVisible:S,__resolveIdRefs:D,getAccessibleName:T,isWidget:w,isHiddenFromAT:_,isTrackingPixel:F,getNearbyContext:L,__ICON_LABELS:P,__ICON_PREFIX_STRIP:H,lookupIconLabel:U,__colorCtx:V,parseCssColor:B,relLuminance:j,contrastRatio:Z}),p.__waDomKernelInstalled=true;}var yg="1.8.0";function _L(p){return {async evaluate(f,...v){if(typeof f!="function")throw new Error("string evaluate not supported in DOM mode");return await f(...v)},async addScriptTag(){},url:()=>p.location.href}}async function rO(p={}){let f=p.window??globalThis;if(typeof f.document>"u")throw new Error("scanDocument requires a DOM (window.document)");bg(f);let v=_L(f),m=[],g=[],C=[],y=await Zh(v,g,C,{skipFocusMutating:p.interactiveChecks!==true});if(m.push(...y.map(og)),p.includeAxe!==false)try{let D=await Promise.resolve().then(()=>g3(xg(),1)),E=await(D.default??D).run(f.document,{runOnly:{type:"tag",values:ig(p.wcagTags??ng,p.level)},resultTypes:["violations","incomplete"]});for(let w of E.violations??[])for(let _ of w.nodes??[])m.push({id:`axe-${w.id}-${So(jn(_.target))}`,source:"axe-core",type:w.id,wcag:cu(w.tags),level:du(w.tags),impact:uu(w.impact),message:w.help,selector:jn(_.target),html:_.html?.slice(0,300)});for(let w of E.incomplete??[])for(let _ of w.nodes??[])m.push({id:`axe-incomplete-${w.id}-${So(jn(_.target))}`,source:"axe-core",type:w.id,wcag:cu(w.tags),level:du(w.tags),impact:uu(w.impact),message:w.help,selector:jn(_.target),html:_.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{C.push("axe:failed \u2014 axe-core did not complete; results are detector-only");}let b=su(Co(m).verdicts);try{b=await tg(v,b);}catch{}try{b=await rg(v,b);}catch{}try{b=await Qh(v,b);}catch{}b=Vn(b,p.level??"AA");let A=Co(b),R=A.verdicts,S;if(p.judge)try{let D=Vn([...Co(m).undecided,...A.undecided],p.level??"AA"),T=await vg(v,D,{...p.judge,url:f.location.href,level:p.judge.level??p.level??"AA",vision:!1});T.judged.length&&(S=T.judged),T.promoted.length&&(R=su([...R,...T.promoted]));}catch{}return {url:f.location.href,timestamp:new Date().toISOString(),engine:yg,issues:R,incomplete:[],...S?{judged:S}:{},...g.length?{truncated:g}:{},...C.length?{engineWarnings:C}:{},summary:sg(R)}}/*! Bundled license information:
|
|
400
|
+
${JSON.stringify(d,null,1)}`}function IL(p,d={}){let v=p.vision&&p.items.some(A=>A.screenshot),m=v?d.visionModel||yL:d.textModel||xg,h=[{type:"text",text:FL(p)}];if(v)for(let A of p.items)A.screenshot&&(h.push({type:"text",text:`Crop for ${A.id}:`}),h.push({type:"image_url",image_url:{url:`data:image/png;base64,${A.screenshot}`}}));return {model:m,temperature:0,max_tokens:4096,...m===xg&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:RL},{role:"user",content:h}]}}function LL(p){let d=(p.baseUrl||bL).replace(/\/+$/,""),v=false;try{let m=new URL(d).hostname;v=m==="openrouter.ai"||m.endsWith(".openrouter.ai");}catch{}return async(m,h)=>{let A=await fetch(`${d}/chat/completions`,{method:"POST",signal:h,headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(IL(m,{visionModel:p.visionModel,textModel:p.textModel,disableTextModelReasoning:v}))});if(!A.ok)throw new Xn(`judge model HTTP ${A.status}`);let w=(await A.json()).choices?.[0]?.message?.content;if(typeof w=="string")return w;if(Array.isArray(w))return w.map(T=>typeof T?.text=="string"?T.text:"").join("");throw new Error("judge model returned no content")}}function ML(p){let d=p.apiUrl.replace(/\/+$/,"");return async(v,m)=>{let h=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:m,redirect:"manual",headers:{"Content-Type":"application/json",...p.token?{Authorization:`Bearer ${p.token}`}:{},...p.internalSecret?{"x-mcp-internal":p.internalSecret}:{}},body:JSON.stringify(v)});if(h.status>=300&&h.status<400)throw new Xn(`judge endpoint redirected (HTTP ${h.status}); not followed`);if(!h.ok)throw new Xn(`judge endpoint HTTP ${h.status}`);return h.json()}}function PL(p){return p.transport?p.transport:p.apiKey?LL({apiKey:p.apiKey,baseUrl:p.baseUrl,visionModel:p.visionModel,textModel:p.textModel}):p.apiUrl?ML({apiUrl:p.apiUrl,token:p.apiToken,internalSecret:p.internalSecret}):null}function OL(p){return p.maxCropChars??(!p.transport&&!p.apiKey&&p.apiUrl?vL:void 0)}async function kg(p,d,v){let m={promoted:[],judged:[]},h=PL(v);if(d.length===0)return m;let A=v.level??"AA",b=v.timeoutMs??hL,w=Date.now()+b,T=Xa([...d],A);if(T.length===0)return m;let R=new Map;for(let N of T){let B=`${N.selector}|${ku(N)}`,F=R.get(B);F?F.members.push(N):R.set(B,{key:B,members:[N],rep:N,ctx:void 0,kind:"generic"});}let E={elements:{}};if(p)try{await p.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),E=await p.evaluate(DL,{selectors:[...R.keys()].map(N=>R.get(N).rep.selector),maxHtml:Dg});}catch{}for(let N of R.values())N.ctx=E.elements[N.rep.selector],N.ctx&&!N.ctx.found&&(N.ctx=void 0),N.kind=AL(N.rep,N.ctx);let k=new Map;for(let[N,B]of [...R]){if(!B.ctx)continue;let F=`${B.ctx.elementKey}|${ku(B.rep)}`,P=k.get(F);if(!P){k.set(F,B);continue}P.members.push(...B.members),R.delete(N);}let L={promoted:[],judged:[]},D=(N,B)=>{for(let F of N.members){if(B.verdict==="violation"){let P=qL(F,N,B);if(!P)continue;L.promoted.push(P);}L.judged.push({id:F.id.replace("axe-incomplete-","axe-"),type:F.type,verdict:B.verdict,reason:B.reason});}},y=[...R.values()].filter(N=>N.kind==="contrast");if(y.length&&p){for(let B of y)B.pixels=v.measured?.get(B.rep.selector);let N=y.filter(B=>!B.pixels).map(B=>B.rep.selector);if(N.length)try{for(let B of await bg(p,N))for(let F of y)F.rep.selector===B.selector&&(F.pixels=B);}catch{}}let _=[];for(let N of R.values()){let B=h?Po.get(_g(v.url,N.rep,N.ctx?.html??N.rep.html??"")):void 0;if(B){D(N,B);continue}let F=NL(N);if(F!=="drop"){if(F){D(N,F);continue}_.push(N);}}if(_.length===0||!h)return L;let C=v.vision!==false&&!!p&&typeof p.screenshot=="function",I=new Map,O=new Set,j=0,W=OL(v),K=N=>({id:N.rep.id,type:N.rep.type,wcag:N.rep.wcag,message:N.rep.message,selector:N.rep.selector,html:(N.ctx?.html??N.rep.html??"").slice(0,Dg),context:O.has(N.key)?{...Eg(N),cropNote:"no image attached: the crop was too large to send"}:Eg(N),...I.has(N.key)?{screenshot:I.get(N.key)}:{}}),G=C?mL:pL;for(let N=0;N<_.length;N+=G){let B=w-Date.now();if(B<=0)break;let F=_.slice(N,N+G);if(C){for(let ne of F){if(j>=gL||Date.now()>w)break;let se=await VL(p,ne.ctx,W);se&&(j++,se.data?I.set(ne.key,se.data):O.add(ne.key));}if(Date.now()>w)break}let P=new Map(F.map(ne=>[ne.rep.id,ne])),V=new AbortController,z=setTimeout(()=>V.abort(),B),J=null,Q=false,ie=Date.now();try{let ne=await Promise.race([h({url:v.url,level:A,vision:C,items:F.map(K)},V.signal),new Promise((se,we)=>V.signal.addEventListener("abort",()=>we(new Error("judge deadline"))))]);J=TL(ne),Tu()&&console.error(`ai judge: batch ${F.length} items, ${F.filter(se=>I.has(se.key)).length} crops, ${Date.now()-ie}ms, ${J?J.length+" verdicts":"MALFORMED: "+String(ne).slice(0,200)}`);}catch(ne){Tu()&&console.error(`ai judge: batch ${F.length} items failed after ${Date.now()-ie}ms: ${ne.message}`),J=null,Q=ne instanceof Xn;}finally{clearTimeout(z);}if(!J){if(V.signal.aborted||Q)break;continue}for(let ne of J){let se=P.get(ne.id);if(!se)continue;P.delete(ne.id);let we={verdict:ne.verdict,reason:EL(ne.reason),fix:ne.fix};Po.size>=wL&&Po.clear(),Po.set(_g(v.url,se.rep,se.ctx?.html??se.rep.html??""),we),D(se,we);}}return L}function NL(p){let d=p.ctx;if(p.kind==="alt"){if(d?.role==="presentation"||d?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(d?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(d?.img){let{attrW:v,attrH:m,naturalW:h,naturalH:A}=d.img;if(v>0&&v<=1&&m>0&&m<=1||h>0&&h<=1&&A>0&&A<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Ru(d)?d.control?d.control.name?{verdict:"pass",reason:`${d.control.tag} is named ("${d.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:d?.parentInteractive?.text?{verdict:"pass",reason:`${d.parentInteractive.tag} is named by its visible link text ("${d.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(p.kind==="motion")return d?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(p.kind==="contrast"){if(!p.pixels)return "drop";let v=Fu(p.rep,p.pixels.threshold);return p.pixels.worstRatio>=v?{verdict:"pass",reason:`measured ${p.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${v}:1`}:p.pixels.bestRatio<v*.97?{verdict:"violation",reason:`measured ${p.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${v}:1 everywhere`}:null}return p.rep.type==="duplicate_id"&&/first occurrence/i.test(p.rep.reviewReason||"")?{verdict:"pass",reason:"first occurrence of the id; the duplicate is reported on the later copies"}:null}function Eg(p){let d=p.ctx,v={};return p.rep.reviewReason&&(v.engineNote=p.rep.reviewReason),d&&(v.tag=d.tag,d.nearText&&(v.nearbyText=d.nearText),d.parentInteractive&&(v.parentControl=d.parentInteractive),p.kind==="alt"&&Ru(d)&&d.control&&(v.control={tag:d.control.tag,accessibleName:d.control.name}),p.kind==="alt"&&d.img&&(v.image={src:d.img.src,alt:d.img.alt,width:d.img.naturalW||d.img.attrW||d.rect.w,height:d.img.naturalH||d.img.attrH||d.rect.h}),p.kind==="contrast"&&p.pixels&&(v.fg=Un(p.pixels.fg),v.threshold=Fu(p.rep,p.pixels.threshold),v.bestRatio=Cg(p.pixels.bestRatio),v.worstRatio=Cg(p.pixels.worstRatio),v.fontSize=d.fontSize,v.fontWeight=d.fontWeight),p.kind==="generic"&&(v.fg=Un(d.fg),v.bg=Un(d.bg),v.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),v}function Fu(p,d){return p.wcag==="1.4.6"||p.type==="contrast_enhanced"?d===3?4.5:7:d}var Cg=p=>Math.round(p*100)/100;function qL(p,d,v){let m=kL(p);if(d.kind==="alt"){let A=CL(v.fix?.value);return A?Ru(d.ctx)?{...m,fix:{attribute:"aria-label",currentValue:"",suggestedValue:A,needsManualReview:false}}:{...m,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??p.fix?.currentValue??"",suggestedValue:A,needsManualReview:false}}:null}if(d.kind==="contrast"){let A=d.pixels;if(!A)return null;let b=Un(A.fg),w=Fu(p,A.threshold),T=A.worstBg?Un(A.worstBg):null,R=A.bestBg?Un(A.bestBg):null,E=y=>!!y&&!!T&&An(y,T)>=w&&(!R||An(y,R)>=w),k,L=SL(v.fix?.value),D=T?BL(b,T,w):null;return L&&L!==b.toLowerCase()&&E(L)?k=`color:${L} !important;`:E(D)?k=`color:${D} !important;`:R&&An(b,R)>=w&&(k=`background-color:${R} !important;`),{...m,impact:"serious",message:`contrast: ${b} text on its rendered background measures ${A.worstRatio.toFixed(2)}:1 at worst (${A.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${v.reason||"not readable"}), needs ${w}:1`,fix:{attribute:"style",currentValue:b,...k?{suggestedValue:k}:{},needsManualReview:true}}}let h=p.fix;return h?{...m,fix:h}:v.fix?.attribute&&v.fix.value?{...m,fix:{attribute:v.fix.attribute,currentValue:"",suggestedValue:v.fix.value,needsManualReview:true}}:m}function BL(p,d,v){let m=p.match(Sg);if(!m)return null;let h=parseInt(m[1],16),A=[h>>16&255,h>>8&255,h&255],b=R=>"#"+R.map(E=>Math.round(Math.min(255,Math.max(0,E))).toString(16).padStart(2,"0")).join(""),w=(R,E)=>b(A.map(k=>E?k*(1-R):k+(255-k)*R)),T=null;for(let R of [true,false]){if(An(w(1,R),d)<v)continue;let E=0,k=1;for(let D=0;D<24;D++){let y=(E+k)/2;An(w(y,R),d)>=v?k=y:E=y;}let L=w(k,R);An(L,d)>=v&&(!T||k<T.t)&&(T={t:k,hex:L});}return T?.hex??null}var HL=[1,.6,.35];async function VL(p,d,v){let m=p.screenshot;if(typeof m!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let A=Math.min(1200,d.rect.w+16),b=Math.min(600,d.rect.h+16),w=d.rect.x+d.rect.w/2,T=d.rect.y+d.rect.h/2,R=globalThis.Buffer;if(!R)return null;let E=0;for(let k of v===void 0?[1]:HL){let L=Math.max(2,Math.round(A*k)),D=Math.max(2,Math.round(b*k)),y=k===1?Math.max(0,d.rect.x-8):Math.max(0,w-L/2),_=k===1?Math.max(0,d.rect.y-8):Math.max(0,T-D/2),C=await m.call(p,{clip:{x:y,y:_,width:L,height:D},fullPage:!0,type:"png",animations:"disabled"}),I=R.from(C).toString("base64");if(E=I.length,v===void 0||I.length<=v)return {data:I}}return Tu()&&console.error(`ai judge: crop for ${d.tag} left out (${E} base64 chars > ${v} at the smallest clip)`),{}}catch{return null}}function Tg(p=globalThis){if(p.__waDomKernelInstalled)return;function m(F){try{return document.querySelectorAll(F).length===1}catch{return false}}function h(F){if(!F||/^_?[Rr]_[a-z0-9]+_/.test(F)||/^:[Rr][0-9a-z]+:/.test(F)||/^«[Rr][0-9a-z]+»/.test(F)||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(F)||/^[\w-]*(react|gatsby|root|__next|hash|uuid)[\w-]*$/i.test(F)||/^(radix|headlessui|mui|mantine|cdk|ng|ember|downshift|react-select|react-aria|floating-ui)[-_:]/i.test(F)||/[0-9a-f]{16,}/i.test(F))return true;for(var P=F.split(/[-_:.]/).filter(Boolean),V=P.some(function(ne){var se=(ne.match(/[a-z]/gi)||[]).length,we=(ne.match(/[aeiou]/gi)||[]).length;return se>=4&&we>=1&&!/\d/.test(ne)}),z=0;z<P.length;z++){var J=P[z];if(!V&&/^\d{7,}$/.test(J)||/^[0-9a-f]{13}$/i.test(J)&&/[a-f]/i.test(J)&&/\d/.test(J))return true;if(J.length>=7&&/\d/.test(J)&&/[a-z]/i.test(J)){var Q=(J.match(/[aeiou]/gi)||[]).length,ie=(J.match(/[a-z]/gi)||[]).length;if(ie>=4&&Q/ie<.2||(J.match(/\d[a-z]|[a-z]\d/gi)||[]).length>=4)return true}}return false}function A(F){if(!F.classList||!F.classList.length)return [];for(var P=[],V=0;V<F.classList.length&&P.length<3;V++){var z=F.classList[V];z&&(/^(active|open|focus|hover|disabled|selected|hidden|sr-only|css-[a-z0-9]{4,}|jss[0-9]+|sc-[a-z0-9]+|[a-z]+-[a-f0-9]{6,}|_\d|chakra-|MuiBox-|MuiButton-)$/i.test(z)||/^[a-z][a-z0-9_-]{1,40}$/i.test(z)&&P.push(z));}return P}function b(F){var P=F.tagName.toLowerCase(),V=A(F);return V.length?P+"."+V.map(function(z){return CSS.escape(z)}).join("."):P}function w(F){var P=F.tagName.toLowerCase();if(!F.parentElement)return P;var V=Array.from(F.parentElement.children).filter(function(z){return z.tagName===F.tagName});return V.length===1?P:P+":nth-of-type("+(V.indexOf(F)+1)+")"}function T(F){for(var P=[],V=F;V&&V!==document.body&&V!==document.documentElement;)P.unshift(w(V)),V=V.parentElement;return P.join(" > ")}function R(F){if(!F||F===document.body||F===document.documentElement)return "body";if(F.id&&!h(F.id)){var P="#"+CSS.escape(F.id);if(m(P))return P}for(var V=["data-testid","data-cy","data-qa","data-test","data-component","data-id","data-key"],z=0;z<V.length;z++){var J=F.getAttribute(V[z]);if(J&&J.length<60){var Q=F.tagName.toLowerCase()+"["+V[z]+'="'+CSS.escape(J)+'"]';if(m(Q))return Q}}var ie=b(F);if(ie.indexOf(".")!==-1&&m(ie))return ie;for(var ne=[],se=null,we=F;we&&we!==document.body&&we!==document.documentElement;){if(we.id&&!h(we.id)){var Te="#"+CSS.escape(we.id);if(m(Te)){se=Te;break}}var Ee=b(we);if(Ee.indexOf(".")!==-1&&m(Ee)){se=Ee;break}if(ne.unshift(we),we=we.parentElement,ne.length>6)break}var De=ne.map(function(Ce){var kt=b(Ce);if(kt.indexOf(".")!==-1&&Ce.parentElement){var Tr=Ce.parentElement.querySelectorAll(":scope > "+kt);if(Tr.length===1)return "> "+kt}return "> "+w(Ce)}).join(" "),Ne="";if(se&&De?Ne=(se+" "+De).slice(0,200):se&&(Ne=se),Ne&&m(Ne))return Ne;var Re=T(F);return Re&&m(Re)?Re:Ne||Re||b(F)}function E(F){if(!F)return false;let P=getComputedStyle(F);if(P.display==="none"||P.visibility==="hidden")return false;let V=parseFloat(P.opacity);if(!isNaN(V)&&V<.1)return false;if(!isNaN(V)&&V<.5){var z=P.transform||"";if(z&&z!=="none"&&z!=="matrix(1, 0, 0, 1, 0, 0)")return false}let J=F.getBoundingClientRect();if(J.width<=1||J.height<=1)return false;var Q=P.clipPath||"";return !(Q!=="none"&&/inset\(\s*(?:50|100)%/.test(Q)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(P.clip||""))}function k(F){if(!F)return "";for(var P=[],V=String(F).trim().split(/\s+/),z=0;z<V.length;z++){var J=document.getElementById(V[z]);if(J){var Q=(J.textContent||"").trim();Q&&P.push(Q);}}return P.join(" ").replace(/\s+/g," ").trim()}function L(F){var P=k(F.getAttribute("aria-labelledby"));if(P)return P;var V=F.getAttribute("aria-label")||"";if(V.trim())return V.trim();var z=F.tagName?F.tagName.toLowerCase():"";if(z==="input"||z==="select"||z==="textarea"){if(F.id)try{var J=document.querySelector('label[for="'+CSS.escape(F.id)+'"]');if(J&&(J.textContent||"").trim())return (J.textContent||"").trim().replace(/\s+/g," ")}catch{}var Q=F.closest?F.closest("label"):null;if(Q&&(Q.textContent||"").trim())return (Q.textContent||"").trim().replace(/\s+/g," ")}var ie=(F.textContent||"").trim().replace(/\s+/g," ");if(!ie&&F.querySelector){var ne=F.querySelector('img[alt]:not([alt=""])');if(ne&&(ie=(ne.getAttribute("alt")||"").trim()),!ie){var se=F.querySelector("svg > title");se&&(ie=(se.textContent||"").trim());}}if(ie)return ie;var we=F.getAttribute("title")||"";return we.trim()}let D="[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]";function y(F){return F?F.closest(D)!==null:false}function _(F){if(!F)return false;if(F.getAttribute("aria-hidden")==="true"||F.getAttribute("role")==="presentation"||F.getAttribute("role")==="none")return true;let P=F.parentElement,V=0;for(;P&&P!==document.body&&V<6;){if(P.getAttribute("aria-hidden")==="true")return true;P=P.parentElement,V++;}return false}function C(F){let P=F.naturalWidth||F.width||0,V=F.naturalHeight||F.height||0;if(P<=2&&V<=2)return true;let z=F.getBoundingClientRect();if(z.width<=2&&z.height<=2)return true;let J=(F.src||"").toLowerCase();return !!(J.includes("pixel")||J.includes("beacon")||J.includes("tracker")||J.includes("analytics")||J.includes("adsrvr")||J.includes("doubleclick")||J.includes("facebook.com/tr"))}function I(F){var P=F.closest("article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]");P||(P=F.closest("div,nav,main,aside,header,footer"));var V=P?P.querySelector("h1,h2,h3,h4,h5,h6"):null,z=V?(V.textContent||"").trim().slice(0,80):"",J=F.parentElement,Q=J?J.tagName.toLowerCase():"",ie=J&&J.getAttribute("role")||"",ne="";if(P){var se=P.querySelector("p,.description,.excerpt,[class*=desc],[class*=summary]");se&&(ne=(se.textContent||"").trim().slice(0,120));}var we="";if(P){var Te=P.querySelector('img[alt]:not([alt=""])');Te&&(we=(Te.getAttribute("alt")||"").trim().slice(0,60));}return {nearbyHeading:z,parentTag:Q,parentRole:ie,cardText:ne,imgAlt:we}}var O={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"},j=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;function W(F,P,V){var z=[];if(F)for(var J=F.split(/\s+/),Q=0;Q<J.length;Q++){var ie=J[Q];if(ie){var ne=ie.toLowerCase().replace(j,"").replace(/^icon-/,"");ne&&ne!==ie.toLowerCase()&&z.push(ne);}}if(P&&z.push(P.toLowerCase().trim()),V){var se=V.trim().toLowerCase();se.length<30&&/^[a-z_-]+$/.test(se)&&z.push(se.replace(/_/g,"-"));}for(var we=0;we<z.length;we++)if(O[z[we]])return O[z[we]];for(var Te=0;Te<z.length;Te++)for(var Ee=z[Te].split("-"),De=0;De<Ee.length;De++)if(O[Ee[De]])return O[Ee[De]];return null}var K;function G(F){if(!F)return null;var P=F.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);if(P)return [parseInt(P[1],10),parseInt(P[2],10),parseInt(P[3],10),P[4]?parseFloat(P[4]):1];if(F==="transparent"||F==="none")return [0,0,0,0];try{if(K===void 0){var V=document.createElement("canvas");V.width=1,V.height=1,K=V.getContext("2d",{willReadFrequently:!0});}if(!K)return null;K.clearRect(0,0,1,1),K.fillStyle="#000000",K.fillStyle=F,K.fillRect(0,0,1,1);var z=K.getImageData(0,0,1,1).data;return [z[0],z[1],z[2],z[3]/255]}catch{return null}}function N(F,P,V){var z=function(J){var Q=J/255;return Q<=.03928?Q/12.92:Math.pow((Q+.055)/1.055,2.4)};return .2126*z(F)+.7152*z(P)+.0722*z(V)}function B(F,P){var V=N(F[0],F[1],F[2]),z=N(P[0],P[1],P[2]),J=Math.max(V,z),Q=Math.min(V,z);return (J+.05)/(Q+.05)}Object.assign(p,{__isUnique:m,__isGeneratedId:h,__cleanClasses:A,__tagWithClass:b,__nthSelector:w,__fullPath:T,uniqueSel:R,isVisible:E,__resolveIdRefs:k,getAccessibleName:L,isWidget:y,isHiddenFromAT:_,isTrackingPixel:C,getNearbyContext:I,__ICON_LABELS:O,__ICON_PREFIX_STRIP:j,lookupIconLabel:W,__colorCtx:K,parseCssColor:G,relLuminance:N,contrastRatio:B}),p.__waDomKernelInstalled=true;}var Rg="1.10.0";function jL(p){return {async evaluate(d,...v){if(typeof d!="function")throw new Error("string evaluate not supported in DOM mode");return await d(...v)},async addScriptTag(){},url:()=>p.location.href}}async function cO(p={}){let d=p.window??globalThis;if(typeof d.document>"u")throw new Error("scanDocument requires a DOM (window.document)");Tg(d);let v=jL(d),m=[],h=[],A=[],b=[];await pu(v);let w=await ug(v,h,A,{skipFocusMutating:p.interactiveChecks!==true,internalBugs:b});if(m.push(...w.map(gg)),p.includeAxe!==false)try{let L=await Promise.resolve().then(()=>E3(Ig(),1)),y=await(L.default??L).run(d.document,{runOnly:{type:"tag",values:Du(p.wcagTags??xu,p.level)},rules:hg(Du(p.wcagTags??xu,p.level)),resultTypes:["violations","incomplete"]});for(let _ of y.violations??[])for(let C of _.nodes??[])m.push({id:`axe-${_.id}-${Lo(Ya(C.target))}`,source:"axe-core",type:_.id,wcag:_u(_.tags),level:Eu(_.tags),impact:Au(_.impact),message:_.help,selector:Ya(C.target),html:C.html?.slice(0,300)});for(let _ of y.incomplete??[])for(let C of _.nodes??[])m.push({id:`axe-incomplete-${_.id}-${Lo(Ya(C.target))}`,source:"axe-core",type:_.id,wcag:_u(_.tags),level:Eu(_.tags),impact:Au(_.impact),message:_.help,selector:Ya(C.target),html:C.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{A.push("axe:failed \u2014 axe-core did not complete; results are detector-only");}let T=yu(Io(m).verdicts);try{T=await fg(v,T);}catch{}try{T=await pg(v,T);}catch{}try{T=await cg(v,T);}catch{}T=Xa(T,p.level??"AA");let R=Io(T),E=R.verdicts,k;if(p.judge)try{let L=Xa([...Io(m).undecided,...R.undecided],p.level??"AA"),D=await kg(v,L,{...p.judge,url:d.location.href,level:p.judge.level??p.level??"AA",vision:!1});D.judged.length&&(k=D.judged),D.promoted.length&&(E=yu([...E,...D.promoted]));}catch{}try{E=await gu(v,E,b);}catch{}return hu(b,await mu(v)),{url:d.location.href,timestamp:new Date().toISOString(),engine:Rg,issues:E,internal_bugs:b,incomplete:[],...k?{judged:k}:{},...h.length?{truncated:h}:{},...A.length?{engineWarnings:A}:{},summary:vg(E)}}/*! Bundled license information:
|
|
395
401
|
|
|
396
402
|
axe-core/axe.js:
|
|
397
403
|
(*! axe v4.11.3
|
|
@@ -405,4 +411,4 @@ axe-core/axe.js:
|
|
|
405
411
|
* distribute or in any file that contains substantial portions of this source
|
|
406
412
|
* code.
|
|
407
413
|
*)
|
|
408
|
-
*/exports.createDomPage=
|
|
414
|
+
*/exports.createDomPage=jL;exports.scanDocument=cO;
|