@webability/core 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/dist/dom.cjs +23 -23
- package/dist/dom.d.cts +1 -1
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +23 -23
- package/dist/index.cjs +38 -38
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +38 -38
- package/dist/playwright.cjs +396 -0
- package/dist/playwright.d.cts +20 -0
- package/dist/playwright.d.ts +20 -0
- package/dist/playwright.js +396 -0
- package/dist/{types-10iqML3X.d.cts → types-CznpCIVi.d.cts} +9 -0
- package/dist/{types-10iqML3X.d.ts → types-CznpCIVi.d.ts} +9 -0
- package/package.json +18 -13
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
'use strict';var aR=Object.create;var zu=Object.defineProperty;var nR=Object.getOwnPropertyDescriptor;var iR=Object.getOwnPropertyNames;var oR=Object.getPrototypeOf,sR=Object.prototype.hasOwnProperty;var Rr=(h,p)=>()=>(h&&(p=h(h=0)),p);var uR=(h,p)=>()=>(p||h((p={exports:{}}).exports,p),p.exports),Ir=(h,p)=>{for(var y in p)zu(h,y,{get:p[y],enumerable:true});},lR=(h,p,y,v)=>{if(p&&typeof p=="object"||typeof p=="function")for(let f of iR(p))!sR.call(h,f)&&f!==y&&zu(h,f,{get:()=>p[f],enumerable:!(v=nR(p,f))||v.enumerable});return h};var cR=(h,p,y)=>(y=h!=null?aR(oR(h)):{},lR(zu(y,"default",{value:h,enumerable:true}),h));var Gu={};Ir(Gu,{ACCESSIBLE_NAME_JS:()=>gI,IS_HIDDEN_FROM_AT_JS:()=>bI,IS_TRACKING_PIXEL_JS:()=>yI,IS_VISIBLE_JS:()=>hI,NEARBY_CONTEXT_JS:()=>wI,UNIQUE_SELECTOR_JS:()=>mI,WIDGET_SKIP_JS:()=>vI});var mI,hI,gI,vI,bI,yI,wI,Uu=Rr(()=>{mI=`
|
|
2
|
+
function __isUnique(sel) {
|
|
3
|
+
try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
|
|
4
|
+
}
|
|
5
|
+
function __isGeneratedId(id) {
|
|
6
|
+
// STRUCTURAL classifier, not a vendor blocklist (regex enumeration loses
|
|
7
|
+
// to variety \u2014 DEV-835 follow-up). Tuned against a labeled prod corpus:
|
|
8
|
+
// 339 known-generated vs 1123 approved ids. Any change to this function
|
|
9
|
+
// is gated by core/src/__tests__/generated-id-classifier.test.ts.
|
|
10
|
+
if (!id) return true;
|
|
11
|
+
// framework structural forms (definitive)
|
|
12
|
+
if (/^_?[Rr]_[a-z0-9]+_/.test(id)) return true; // React 18 useId SSR (+ -form-item etc.)
|
|
13
|
+
if (/^:[Rr][0-9a-z]+:/.test(id) || /^\xAB[Rr][0-9a-z]+\xBB/.test(id)) return true; // useId client (18/19)
|
|
14
|
+
if (/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(id)) return true; // uuid
|
|
15
|
+
if (/^[\\w-]*(react|gatsby|root|__next|hash|uuid)[\\w-]*$/i.test(id)) return true; // legacy fast path
|
|
16
|
+
if (/^(radix|headlessui|mui|mantine|cdk|ng|ember|downshift|react-select|react-aria|floating-ui)[-_:]/i.test(id)) return true;
|
|
17
|
+
if (/[0-9a-f]{16,}/i.test(id)) return true; // long hex hash anywhere (md5/sha/objectid)
|
|
18
|
+
// general structure over delimiter tokens
|
|
19
|
+
var tokens = id.split(/[-_:.]/).filter(Boolean);
|
|
20
|
+
var hasWordToken = tokens.some(function (t) {
|
|
21
|
+
var letters = (t.match(/[a-z]/gi) || []).length;
|
|
22
|
+
var vowels = (t.match(/[aeiou]/gi) || []).length;
|
|
23
|
+
return letters >= 4 && vowels >= 1 && !/\\d/.test(t);
|
|
24
|
+
});
|
|
25
|
+
for (var i = 0; i < tokens.length; i++) {
|
|
26
|
+
var t = tokens[i];
|
|
27
|
+
// bare timestamp-scale counter \u2014 unless a word-like token anchors
|
|
28
|
+
// authored naming (Shopify Slide-template--174\u2026__main-258\u2026 is stable)
|
|
29
|
+
if (!hasWordToken && /^\\d{7,}$/.test(t)) return true;
|
|
30
|
+
if (/^[0-9a-f]{13}$/i.test(t) && /[a-f]/i.test(t) && /\\d/.test(t)) return true; // PHP uniqid() hex
|
|
31
|
+
if (t.length >= 7 && /\\d/.test(t) && /[a-z]/i.test(t)) {
|
|
32
|
+
var vw = (t.match(/[aeiou]/gi) || []).length;
|
|
33
|
+
var lt = (t.match(/[a-z]/gi) || []).length;
|
|
34
|
+
if (lt >= 4 && vw / lt < 0.2) return true; // vowel-starved base36 hash
|
|
35
|
+
if ((t.match(/\\d[a-z]|[a-z]\\d/gi) || []).length >= 4) return true; // heavy interleave
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function __cleanClasses(el) {
|
|
41
|
+
if (!el.classList || !el.classList.length) return [];
|
|
42
|
+
var out = [];
|
|
43
|
+
for (var i = 0; i < el.classList.length && out.length < 3; i++) {
|
|
44
|
+
var c = el.classList[i];
|
|
45
|
+
// Skip generated/utility classes that change between builds
|
|
46
|
+
if (!c) continue;
|
|
47
|
+
if (/^(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(c)) continue;
|
|
48
|
+
if (/^[a-z][a-z0-9_-]{1,40}$/i.test(c)) out.push(c);
|
|
49
|
+
}
|
|
50
|
+
return out;
|
|
51
|
+
}
|
|
52
|
+
function __tagWithClass(el) {
|
|
53
|
+
var tag = el.tagName.toLowerCase();
|
|
54
|
+
var cls = __cleanClasses(el);
|
|
55
|
+
return cls.length ? tag + '.' + cls.map(function(c){return CSS.escape(c);}).join('.') : tag;
|
|
56
|
+
}
|
|
57
|
+
function __nthSelector(el) {
|
|
58
|
+
var tag = el.tagName.toLowerCase();
|
|
59
|
+
if (!el.parentElement) return tag;
|
|
60
|
+
var sibs = Array.from(el.parentElement.children).filter(function(s){return s.tagName === el.tagName;});
|
|
61
|
+
if (sibs.length === 1) return tag;
|
|
62
|
+
return tag + ':nth-of-type(' + (sibs.indexOf(el) + 1) + ')';
|
|
63
|
+
}
|
|
64
|
+
// Guaranteed-unique positional path, anchored ALL THE WAY to <body>. Every
|
|
65
|
+
// segment uniquely picks one direct child within its parent (nth-of-type when
|
|
66
|
+
// it has same-tag siblings, bare tag otherwise), so the full chain resolves to
|
|
67
|
+
// exactly one node. Deliberately NOT capped in depth and NOT truncated: the
|
|
68
|
+
// capped/head-truncating fallbacks below can start mid-tree or lose the
|
|
69
|
+
// disambiguating leaf, producing a selector that matches several sibling
|
|
70
|
+
// subtrees (the non-unique-selector defect). This is only used when the
|
|
71
|
+
// preferred stable selector fails a uniqueness check, so it stays rare.
|
|
72
|
+
function __fullPath(el) {
|
|
73
|
+
var parts = [];
|
|
74
|
+
var cur = el;
|
|
75
|
+
while (cur && cur !== document.body && cur !== document.documentElement) {
|
|
76
|
+
parts.unshift(__nthSelector(cur));
|
|
77
|
+
cur = cur.parentElement;
|
|
78
|
+
}
|
|
79
|
+
return parts.join(' > ');
|
|
80
|
+
}
|
|
81
|
+
function uniqueSel(el) {
|
|
82
|
+
if (!el || el === document.body || el === document.documentElement) return 'body';
|
|
83
|
+
|
|
84
|
+
// 1. Real id wins immediately if it's actually unique on the document.
|
|
85
|
+
// Skip machine-generated ids (React useId, radix, uuid, counters) \u2014
|
|
86
|
+
// they change on every render/deploy and produce phantom selectors.
|
|
87
|
+
if (el.id && !__isGeneratedId(el.id)) {
|
|
88
|
+
var idSel = '#' + CSS.escape(el.id);
|
|
89
|
+
if (__isUnique(idSel)) return idSel;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// 2. Test-friendly data attributes \u2014 these are stable across renders by
|
|
93
|
+
// convention. data-testid, data-cy, data-qa, data-test, data-component.
|
|
94
|
+
var dataAttrs = ['data-testid','data-cy','data-qa','data-test','data-component','data-id','data-key'];
|
|
95
|
+
for (var i = 0; i < dataAttrs.length; i++) {
|
|
96
|
+
var v = el.getAttribute(dataAttrs[i]);
|
|
97
|
+
if (v && v.length < 60) {
|
|
98
|
+
var dSel = el.tagName.toLowerCase() + '[' + dataAttrs[i] + '="' + CSS.escape(v) + '"]';
|
|
99
|
+
if (__isUnique(dSel)) return dSel;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// 3. Tag + class combination if globally unique.
|
|
104
|
+
var tagClass = __tagWithClass(el);
|
|
105
|
+
if (tagClass.indexOf('.') !== -1 && __isUnique(tagClass)) return tagClass;
|
|
106
|
+
|
|
107
|
+
// 4. Anchor from nearest ancestor with a stable handle (id or unique class),
|
|
108
|
+
// descend using child class-or-nth selectors. This produces selectors
|
|
109
|
+
// that survive small DOM shifts because the anchor is fixed.
|
|
110
|
+
var ancestors = [];
|
|
111
|
+
var anchor = null;
|
|
112
|
+
var cur = el;
|
|
113
|
+
while (cur && cur !== document.body && cur !== document.documentElement) {
|
|
114
|
+
if (cur.id && !__isGeneratedId(cur.id)) {
|
|
115
|
+
var aSel = '#' + CSS.escape(cur.id);
|
|
116
|
+
if (__isUnique(aSel)) { anchor = aSel; break; }
|
|
117
|
+
}
|
|
118
|
+
var atc = __tagWithClass(cur);
|
|
119
|
+
if (atc.indexOf('.') !== -1 && __isUnique(atc)) { anchor = atc; break; }
|
|
120
|
+
ancestors.unshift(cur);
|
|
121
|
+
cur = cur.parentElement;
|
|
122
|
+
if (ancestors.length > 6) break;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
var descend = ancestors.map(function(node) {
|
|
126
|
+
var tc = __tagWithClass(node);
|
|
127
|
+
if (tc.indexOf('.') !== -1 && node.parentElement) {
|
|
128
|
+
var sameTagClass = node.parentElement.querySelectorAll(':scope > ' + tc);
|
|
129
|
+
if (sameTagClass.length === 1) return '> ' + tc;
|
|
130
|
+
}
|
|
131
|
+
return '> ' + __nthSelector(node);
|
|
132
|
+
}).join(' ');
|
|
133
|
+
|
|
134
|
+
var candidate = '';
|
|
135
|
+
if (anchor && descend) candidate = (anchor + ' ' + descend).slice(0, 200);
|
|
136
|
+
else if (anchor) candidate = anchor;
|
|
137
|
+
// Only trust the stable selector if it actually resolves to ONE node. The
|
|
138
|
+
// anchor is verified unique, but the 200-char slice can drop the
|
|
139
|
+
// disambiguating tail and leave a selector that matches several elements \u2014
|
|
140
|
+
// the non-unique-selector defect (duplicate suggestions collapsing onto one
|
|
141
|
+
// shared selector). Verify before returning.
|
|
142
|
+
if (candidate && __isUnique(candidate)) return candidate;
|
|
143
|
+
|
|
144
|
+
// 5. Guaranteed-unique positional path from <body>. Preferred over the old
|
|
145
|
+
// 6-level-capped/truncated fallback because those could return a
|
|
146
|
+
// non-unique path; only reached when the stable selector above is
|
|
147
|
+
// missing or non-unique.
|
|
148
|
+
var full = __fullPath(el);
|
|
149
|
+
if (full && __isUnique(full)) return full;
|
|
150
|
+
|
|
151
|
+
// Absolute last resort: return the best we have rather than an empty string
|
|
152
|
+
// (an empty selector is unactionable downstream).
|
|
153
|
+
return candidate || full || __tagWithClass(el);
|
|
154
|
+
}
|
|
155
|
+
`,hI=`
|
|
156
|
+
function isVisible(el) {
|
|
157
|
+
if (!el) return false;
|
|
158
|
+
const s = getComputedStyle(el);
|
|
159
|
+
if (s.display === 'none' || s.visibility === 'hidden') return false;
|
|
160
|
+
const opacity = parseFloat(s.opacity);
|
|
161
|
+
if (!isNaN(opacity) && opacity < 0.1) return false;
|
|
162
|
+
if (!isNaN(opacity) && opacity < 0.5) {
|
|
163
|
+
// Pre-animation: low opacity + transform that isn't the identity matrix
|
|
164
|
+
// (matrix(1, 0, 0, 1, 0, 0) or 'none') = element is mid-fade-in.
|
|
165
|
+
var t = s.transform || '';
|
|
166
|
+
if (t && t !== 'none' && t !== 'matrix(1, 0, 0, 1, 0, 0)') return false;
|
|
167
|
+
}
|
|
168
|
+
const r = el.getBoundingClientRect();
|
|
169
|
+
// sr-only / visually-hidden pattern: 1x1 (or collapsed) box, usually with
|
|
170
|
+
// clip/clip-path. AT can read it, sighted users cannot \u2014 for visual
|
|
171
|
+
// checks (contrast, icons, target size) it is NOT visible.
|
|
172
|
+
if (r.width <= 1 || r.height <= 1) return false;
|
|
173
|
+
var cp = s.clipPath || '';
|
|
174
|
+
if (cp !== 'none' && /inset\\(\\s*(?:50|100)%/.test(cp)) return false;
|
|
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
|
+
return true;
|
|
177
|
+
}
|
|
178
|
+
`,gI=`
|
|
179
|
+
// aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
|
|
180
|
+
// the whole attribute with getElementById silently failed on multi-ID
|
|
181
|
+
// references (bug existed in 7 copies across detectors \u2014 now one kernel).
|
|
182
|
+
function __resolveIdRefs(idrefs) {
|
|
183
|
+
if (!idrefs) return '';
|
|
184
|
+
var parts = [];
|
|
185
|
+
var ids = String(idrefs).trim().split(/\\s+/);
|
|
186
|
+
for (var i = 0; i < ids.length; i++) {
|
|
187
|
+
var ref = document.getElementById(ids[i]);
|
|
188
|
+
if (ref) {
|
|
189
|
+
var t = (ref.textContent || '').trim();
|
|
190
|
+
if (t) parts.push(t);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
return parts.join(' ').replace(/\\s+/g, ' ').trim();
|
|
194
|
+
}
|
|
195
|
+
function getAccessibleName(el) {
|
|
196
|
+
// 1. aria-labelledby (full idref-list resolution)
|
|
197
|
+
var fromRefs = __resolveIdRefs(el.getAttribute('aria-labelledby'));
|
|
198
|
+
if (fromRefs) return fromRefs;
|
|
199
|
+
// 2. aria-label
|
|
200
|
+
var ariaLabel = el.getAttribute('aria-label') || '';
|
|
201
|
+
if (ariaLabel.trim()) return ariaLabel.trim();
|
|
202
|
+
// 3. native label association for form controls
|
|
203
|
+
var tag = el.tagName ? el.tagName.toLowerCase() : '';
|
|
204
|
+
if (tag === 'input' || tag === 'select' || tag === 'textarea') {
|
|
205
|
+
if (el.id) {
|
|
206
|
+
try {
|
|
207
|
+
var lbl = document.querySelector('label[for="' + CSS.escape(el.id) + '"]');
|
|
208
|
+
if (lbl && (lbl.textContent || '').trim()) return (lbl.textContent || '').trim().replace(/\\s+/g, ' ');
|
|
209
|
+
} catch (e) { /* invalid id chars */ }
|
|
210
|
+
}
|
|
211
|
+
var wrap = el.closest ? el.closest('label') : null;
|
|
212
|
+
if (wrap && (wrap.textContent || '').trim()) return (wrap.textContent || '').trim().replace(/\\s+/g, ' ');
|
|
213
|
+
}
|
|
214
|
+
// 4. name from content, including descendant img alt / svg title
|
|
215
|
+
var content = (el.textContent || '').trim().replace(/\\s+/g, ' ');
|
|
216
|
+
if (!content && el.querySelector) {
|
|
217
|
+
var img = el.querySelector('img[alt]:not([alt=""])');
|
|
218
|
+
if (img) content = (img.getAttribute('alt') || '').trim();
|
|
219
|
+
if (!content) {
|
|
220
|
+
var svgTitle = el.querySelector('svg > title');
|
|
221
|
+
if (svgTitle) content = (svgTitle.textContent || '').trim();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
if (content) return content;
|
|
225
|
+
// 5. title attribute fallback
|
|
226
|
+
var title = el.getAttribute('title') || '';
|
|
227
|
+
return title.trim();
|
|
228
|
+
}
|
|
229
|
+
`,vI=`
|
|
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
|
+
function isWidget(el) {
|
|
232
|
+
if (!el) return false;
|
|
233
|
+
return el.closest(WIDGET_SKIP) !== null;
|
|
234
|
+
}
|
|
235
|
+
`,bI=`
|
|
236
|
+
function isHiddenFromAT(el) {
|
|
237
|
+
if (!el) return false;
|
|
238
|
+
if (el.getAttribute('aria-hidden') === 'true') return true;
|
|
239
|
+
if (el.getAttribute('role') === 'presentation' || el.getAttribute('role') === 'none') return true;
|
|
240
|
+
// Check ancestors \u2014 cap at 6 levels to match the Python analyzer's
|
|
241
|
+
// parent-walk behavior (links.py hierarchy_level < 3 + margin). Prevents
|
|
242
|
+
// pathological walks on deeply-nested pages with 20+ wrapper divs.
|
|
243
|
+
let cur = el.parentElement;
|
|
244
|
+
let depth = 0;
|
|
245
|
+
while (cur && cur !== document.body && depth < 6) {
|
|
246
|
+
if (cur.getAttribute('aria-hidden') === 'true') return true;
|
|
247
|
+
cur = cur.parentElement;
|
|
248
|
+
depth++;
|
|
249
|
+
}
|
|
250
|
+
return false;
|
|
251
|
+
}
|
|
252
|
+
`,yI=`
|
|
253
|
+
function isTrackingPixel(img) {
|
|
254
|
+
const w = img.naturalWidth || img.width || 0;
|
|
255
|
+
const h = img.naturalHeight || img.height || 0;
|
|
256
|
+
if (w <= 2 && h <= 2) return true;
|
|
257
|
+
const rect = img.getBoundingClientRect();
|
|
258
|
+
if (rect.width <= 2 && rect.height <= 2) return true;
|
|
259
|
+
const src = (img.src || '').toLowerCase();
|
|
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
|
+
return false;
|
|
262
|
+
}
|
|
263
|
+
`,wI=`
|
|
264
|
+
function getNearbyContext(el) {
|
|
265
|
+
// Walk up to the nearest semantic container
|
|
266
|
+
var container = el.closest('article,section,li,.card,[class*=card],[class*=post],[class*=item],[class*=product],[class*=entry]');
|
|
267
|
+
if (!container) container = el.closest('div,nav,main,aside,header,footer');
|
|
268
|
+
var h = container ? container.querySelector('h1,h2,h3,h4,h5,h6') : null;
|
|
269
|
+
var hText = h ? (h.textContent || '').trim().slice(0, 80) : '';
|
|
270
|
+
var parent = el.parentElement;
|
|
271
|
+
var parentTag = parent ? parent.tagName.toLowerCase() : '';
|
|
272
|
+
var parentRole = parent ? (parent.getAttribute('role') || '') : '';
|
|
273
|
+
|
|
274
|
+
// Grab sibling/card text for richer AI context
|
|
275
|
+
var cardText = '';
|
|
276
|
+
if (container) {
|
|
277
|
+
var p = container.querySelector('p,.description,.excerpt,[class*=desc],[class*=summary]');
|
|
278
|
+
if (p) cardText = (p.textContent || '').trim().slice(0, 120);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Check for an associated image alt (common in product/post cards)
|
|
282
|
+
var imgAlt = '';
|
|
283
|
+
if (container) {
|
|
284
|
+
var img = container.querySelector('img[alt]:not([alt=""])');
|
|
285
|
+
if (img) imgAlt = (img.getAttribute('alt') || '').trim().slice(0, 60);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
return { nearbyHeading: hText, parentTag: parentTag, parentRole: parentRole, cardText: cardText, imgAlt: imgAlt };
|
|
289
|
+
}
|
|
290
|
+
`;});var Mh={};Ir(Mh,{ICON_LABELS_JS:()=>AI,ICON_LABELS_JSON:()=>_I,lookupIconLabel:()=>xI});function xI(h,p="",y=""){let v=[];if(h)for(let f of h.split(/\s+/)){if(!f)continue;let b=f.toLowerCase().replace(DI,"").replace(/^icon-/,"");b&&b!==f.toLowerCase()&&v.push(b);}if(p&&v.push(p.toLowerCase().trim()),y){let f=y.trim().toLowerCase();f.length<30&&/^[a-z_-]+$/.test(f)&&v.push(f.replace(/_/g,"-"));}for(let f of v)if(Ia[f])return Ia[f];for(let f of v)for(let b of f.split("-"))if(Ia[b])return Ia[b];return null}var Ia,DI,_I,AI,Nh=Rr(()=>{Ia={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"},DI=/^(fa|fas|far|fab|fal|fad|fass|bi|bi-icon|material-icons|material-symbols|ion|ionicon|feather|lucide|dashicons|glyphicon|icofont|heroicon)-/;_I=JSON.stringify(Ia),AI=`
|
|
291
|
+
var __ICON_LABELS = ${JSON.stringify(Ia)};
|
|
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
|
+
function lookupIconLabel(classString, dataIcon, textContent) {
|
|
294
|
+
var parts = [];
|
|
295
|
+
if (classString) {
|
|
296
|
+
var tokens = classString.split(/\\s+/);
|
|
297
|
+
for (var i = 0; i < tokens.length; i++) {
|
|
298
|
+
var cls = tokens[i];
|
|
299
|
+
if (!cls) continue;
|
|
300
|
+
var stripped = cls.toLowerCase().replace(__ICON_PREFIX_STRIP, '').replace(/^icon-/, '');
|
|
301
|
+
if (stripped && stripped !== cls.toLowerCase()) parts.push(stripped);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
if (dataIcon) parts.push(dataIcon.toLowerCase().trim());
|
|
305
|
+
if (textContent) {
|
|
306
|
+
var t = textContent.trim().toLowerCase();
|
|
307
|
+
if (t.length < 30 && /^[a-z_-]+$/.test(t)) parts.push(t.replace(/_/g, '-'));
|
|
308
|
+
}
|
|
309
|
+
for (var j = 0; j < parts.length; j++) {
|
|
310
|
+
if (__ICON_LABELS[parts[j]]) return __ICON_LABELS[parts[j]];
|
|
311
|
+
}
|
|
312
|
+
for (var k = 0; k < parts.length; k++) {
|
|
313
|
+
var subs = parts[k].split('-');
|
|
314
|
+
for (var m = 0; m < subs.length; m++) {
|
|
315
|
+
if (__ICON_LABELS[subs[m]]) return __ICON_LABELS[subs[m]];
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return null;
|
|
319
|
+
}
|
|
320
|
+
`;});var qh={};Ir(qh,{COLOR_MATH_JS:()=>EI});var EI,Bh=Rr(()=>{EI=`
|
|
321
|
+
var __colorCtx;
|
|
322
|
+
function parseCssColor(str) {
|
|
323
|
+
if (!str) return null;
|
|
324
|
+
var m = str.match(/rgba?\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*(?:,\\s*([\\d.]+))?\\s*\\)/);
|
|
325
|
+
if (m) return [parseInt(m[1], 10), parseInt(m[2], 10), parseInt(m[3], 10), m[4] ? parseFloat(m[4]) : 1];
|
|
326
|
+
if (str === 'transparent' || str === 'none') return [0, 0, 0, 0];
|
|
327
|
+
try {
|
|
328
|
+
if (__colorCtx === undefined) {
|
|
329
|
+
var c = document.createElement('canvas');
|
|
330
|
+
c.width = 1; c.height = 1;
|
|
331
|
+
__colorCtx = c.getContext('2d', { willReadFrequently: true });
|
|
332
|
+
}
|
|
333
|
+
if (!__colorCtx) return null;
|
|
334
|
+
__colorCtx.clearRect(0, 0, 1, 1);
|
|
335
|
+
__colorCtx.fillStyle = '#000000';
|
|
336
|
+
__colorCtx.fillStyle = str; // invalid values keep the previous fillStyle
|
|
337
|
+
__colorCtx.fillRect(0, 0, 1, 1);
|
|
338
|
+
var d = __colorCtx.getImageData(0, 0, 1, 1).data;
|
|
339
|
+
return [d[0], d[1], d[2], d[3] / 255];
|
|
340
|
+
} catch (e) {
|
|
341
|
+
return null;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
function relLuminance(r, g, b) {
|
|
345
|
+
var f = function (v) {
|
|
346
|
+
var x = v / 255;
|
|
347
|
+
return x <= 0.03928 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
|
|
348
|
+
};
|
|
349
|
+
return 0.2126 * f(r) + 0.7152 * f(g) + 0.0722 * f(b);
|
|
350
|
+
}
|
|
351
|
+
function contrastRatio(fg, bg) {
|
|
352
|
+
var l1 = relLuminance(fg[0], fg[1], fg[2]);
|
|
353
|
+
var l2 = relLuminance(bg[0], bg[1], bg[2]);
|
|
354
|
+
var hi = Math.max(l1, l2), lo = Math.min(l1, l2);
|
|
355
|
+
return (hi + 0.05) / (lo + 0.05);
|
|
356
|
+
}
|
|
357
|
+
`;});var Hh={};Ir(Hh,{applyPlatformTemplates:()=>kI,detectPlatform:()=>SI,isAriaHiddenSafeForTemplate:()=>Wu});function Wu(h){let p=h.trim().split(/[\s>~+]+/),v=p[p.length-1].trim().match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(!v)return true;let f=v[1].toLowerCase();return f==="body"||f==="html"?false:!new Set(["a","button","input","select","textarea"]).has(f)}function CI(){if(La)return La;try{let h=globalThis.process,p=h?.getBuiltinModule?.("fs"),y=h?.getBuiltinModule?.("path");if(!p||!y)throw new Error("fs unavailable");let v=p.readFileSync(y.join(__dirname,"platformTemplates.json"),"utf-8");return La=JSON.parse(v),La}catch{return La={},La}}async function SI(h){return h.evaluate(()=>{let p=[],y=document.documentElement.outerHTML.slice(0,5e4).toLowerCase(),f=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (y.includes("shopify")||y.includes("cdn.shopify.com")||window.Shopify)&&p.push("shopify"),(f.includes("wordpress")||y.includes("wp-content")||y.includes("wp-includes"))&&p.push("wordpress"),(y.includes("civicplus")||y.includes("civicalerts")||y.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&p.push("civicplus"),(y.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&p.push("finalsite"),(y.includes("dealersocket")||y.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&p.push("dealer"),(y.includes("wix.com")||y.includes("wixsite.com"))&&p.push("wix"),(y.includes("squarespace")||f.includes("squarespace"))&&p.push("squarespace"),(y.includes("webflow")||f.includes("webflow"))&&p.push("webflow"),p.push("universal"),p.push("universal_iframe"),p})}async function kI(h,p,y="scan"){let v=CI(),f=[];for(let g of p)v[g]&&f.push(...v[g]);return f.length?y==="manifest"?f.filter(g=>g.attribute==="aria-hidden"&&g.value==="true"?Wu(g.selector):true).map(g=>({selector:g.selector,attribute:g.attribute,currentValue:"",issueType:g.attribute==="alt"?"missing_alt":g.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:g.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${g.platform} (template)`,needsAI:false,fixValue:g.value})):(await h.evaluate(g=>{let w=[];for(let _ of g)try{let E=document.querySelectorAll(_.selector);if(E.length>0){let x=!1;for(let A of E){let k=A.getAttribute(_.attribute)||"";if(_.attribute==="alt"&&A.getAttribute("alt")===null)x=!0;else if(_.attribute==="alt"&&k===""&&_.value==="")x=!0;else if(_.attribute==="aria-label"&&!k)x=!0;else if(_.attribute==="title"&&!k)x=!0;else if(_.attribute==="role"&&k!==_.value)x=!0;else if(_.attribute==="aria-level"&&!A.getAttribute("aria-level"))x=!0;else if(_.attribute==="aria-hidden"&&A.getAttribute("aria-hidden")!=="true"){let S=A.tagName.toLowerCase(),F=S==="a"&&A.hasAttribute("href")||S==="button"||S==="input"||S==="select"||S==="textarea"||Number(A.getAttribute("tabindex")??-1)>=0;S!=="body"&&S!=="html"&&!F&&(x=!0);}if(x)break}x&&w.push({selector:_.selector,attribute:_.attribute,value:_.value,platform:_.platform,matchCount:E.length});}}catch{}return w},f.filter(g=>!(g.attribute==="aria-hidden"&&g.value==="true")||Wu(g.selector)).map(g=>({selector:g.selector,attribute:g.attribute,value:g.value,platform:g.platform})))).map(g=>({selector:g.selector,attribute:g.attribute,currentValue:"",issueType:g.attribute==="alt"?"missing_alt":g.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:g.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${g.platform} (${g.matchCount} elements)`,needsAI:false,fixValue:g.value})):[]}var La,Vh=Rr(()=>{La=null;});var Gh=uR((zh,Tn)=>{(function h(p){var y=p,v=p.document,f=f||{};f.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return f}),(typeof Tn>"u"?"undefined":te(Tn))==="object"&&Tn.exports&&typeof h.toString=="function"&&(f.source="("+h.toString()+')(typeof window === "object" ? window : this);',Tn.exports=f),typeof p.getComputedStyle=="function"&&(p.axe=f);var g=["precision","format","inGamut"],w=["space"],_=["algorithm"],E=["method"],x=["maxDeltaE","deltaEMethod","steps","maxSteps"],A=["node"],k=["relatedNodes"],S=["node"],F=["variant"],I=["matches"],q=["chromium"],H=["noImplicit"],$=["noPresentational"],z=["node"],V=["environmentData"],ee=["environmentData"],W=["environmentData"],Y=["environmentData"],re=["environmentData"];function Q(G){return il(G)||tl(G)||Pn(G)||nl()}function fe(G){var K=typeof Map=="function"?new Map:void 0;return fe=function(be){if(be===null||!ce(be))return be;if(typeof be!="function")throw new TypeError("Super expression must either be null or a function");if(K!==void 0){if(K.has(be))return K.get(be);K.set(be,et);}function et(){return Fe(be,arguments,wt(this).constructor)}return et.prototype=Object.create(be.prototype,{constructor:{value:et,enumerable:false,writable:true,configurable:true}}),Tt(et,be)},fe(G)}function ce(G){try{return Function.toString.call(G).indexOf("[native code]")!==-1}catch{return typeof G=="function"}}function Se(G,K,se){return (K=sl(K))in G?Object.defineProperty(G,K,{value:se,enumerable:true,configurable:true,writable:true}):G[K]=se,G}function Fe(G,K,se){if(nt())return Reflect.construct.apply(null,arguments);var be=[null];be.push.apply(be,K);var et=new(G.bind.apply(G,be));return se&&Tt(et,se.prototype),et}function Ae(G,K){if(G==null)return {};var se,be,et=Ge(G,K);if(Object.getOwnPropertySymbols){var gt=Object.getOwnPropertySymbols(G);for(be=0;be<gt.length;be++)se=gt[be],K.indexOf(se)===-1&&{}.propertyIsEnumerable.call(G,se)&&(et[se]=G[se]);}return et}function Ge(G,K){if(G==null)return {};var se={};for(var be in G)if({}.hasOwnProperty.call(G,be)){if(K.indexOf(be)!==-1)continue;se[be]=G[be];}return se}function Re(G,K,se){return K=wt(K),Ve(G,nt()?Reflect.construct(K,se||[],wt(G).constructor):K.apply(G,se))}function Ve(G,K){if(K&&(te(K)=="object"||typeof K=="function"))return K;if(K!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Qe(G)}function Qe(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}function nt(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (nt=function(){return !!G})()}function wt(G){return wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(K){return K.__proto__||Object.getPrototypeOf(K)},wt(G)}function ht(G,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(K&&K.prototype,{constructor:{value:G,writable:true,configurable:true}}),Object.defineProperty(G,"prototype",{writable:false}),K&&Tt(G,K);}function Tt(G,K){return Tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(se,be){return se.__proto__=be,se},Tt(G,K)}function Oe(){return Oe=Object.assign?Object.assign.bind():function(G){for(var K=1;K<arguments.length;K++){var se=arguments[K];for(var be in se)({}).hasOwnProperty.call(se,be)&&(G[be]=se[be]);}return G},Oe.apply(null,arguments)}function Ee(G){return pg(G)||tl(G)||Pn(G)||Ln()}function Ln(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
358
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tl(G){if(typeof Symbol<"u"&&G[Symbol.iterator]!=null||G["@@iterator"]!=null)return Array.from(G)}function pg(G){if(Array.isArray(G))return On(G)}function Lr(G,K,se){al(G,K),K.set(G,se);}function rl(G,K){al(G,K),K.add(G);}function al(G,K){if(K.has(G))throw new TypeError("Cannot initialize the same private elements twice on an object")}function tr(G,K){return G.get(ca(G,K))}function Nt(G,K,se){return G.set(ca(G,K),se),se}function ca(G,K,se){if(typeof G=="function"?G===K:G.has(K))return arguments.length<3?K:se;throw new TypeError("Private element is not present on this object")}function he(G,K){return il(G)||mg(G,K)||Pn(G,K)||nl()}function nl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
359
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mg(G,K){var se=G==null?null:typeof Symbol<"u"&&G[Symbol.iterator]||G["@@iterator"];if(se!=null){var be,et,gt,Ft,Wt=[],At=true,Ot=false;try{if(gt=(se=se.call(G)).next,K===0){if(Object(se)!==se)return;At=!1;}else for(;!(At=(be=gt.call(se)).done)&&(Wt.push(be.value),Wt.length!==K);At=!0);}catch(Pa){Ot=true,et=Pa;}finally{try{if(!At&&se.return!=null&&(Ft=se.return(),Object(Ft)!==Ft))return}finally{if(Ot)throw et}}return Wt}}function il(G){if(Array.isArray(G))return G}function rr(G,K){if(!(G instanceof K))throw new TypeError("Cannot call a class as a function")}function ol(G,K){for(var se=0;se<K.length;se++){var be=K[se];be.enumerable=be.enumerable||false,be.configurable=true,"value"in be&&(be.writable=true),Object.defineProperty(G,sl(be.key),be);}}function ar(G,K,se){return K&&ol(G.prototype,K),se&&ol(G,se),Object.defineProperty(G,"prototype",{writable:false}),G}function sl(G){var K=hg(G,"string");return te(K)=="symbol"?K:K+""}function hg(G,K){if(te(G)!="object"||!G)return G;var se=G[Symbol.toPrimitive];if(se!==void 0){var be=se.call(G,K);if(te(be)!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return (K==="string"?String:Number)(G)}function tt(G,K){var se=typeof Symbol<"u"&&G[Symbol.iterator]||G["@@iterator"];if(!se){if(Array.isArray(G)||(se=Pn(G))||K){se&&(G=se);var be=0,et=function(){};return {s:et,n:function(){return be>=G.length?{done:true}:{done:false,value:G[be++]}},e:function(Ot){throw Ot},f:et}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
360
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var gt,Ft=true,Wt=false;return {s:function(){se=se.call(G);},n:function(){var Ot=se.next();return Ft=Ot.done,Ot},e:function(Ot){Wt=true,gt=Ot;},f:function(){try{Ft||se.return==null||se.return();}finally{if(Wt)throw gt}}}}function Pn(G,K){if(G){if(typeof G=="string")return On(G,K);var se={}.toString.call(G).slice(8,-1);return se==="Object"&&G.constructor&&(se=G.constructor.name),se==="Map"||se==="Set"?Array.from(G):se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se)?On(G,K):void 0}}function On(G,K){(K==null||K>G.length)&&(K=G.length);for(var se=0,be=Array(K);se<K;se++)be[se]=G[se];return be}function te(G){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},te(G)}((function(G,K,se,be,et,gt,Ft,Wt,At,Ot,Pa){var gg=Object.create,Oa=Object.defineProperty,vg=Object.getPrototypeOf,bg=Object.prototype.hasOwnProperty,yg=Object.getOwnPropertyNames,wg=Object.getOwnPropertyDescriptor,Dg=function(t,r,a){return r in t?Oa(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},xg=function(t){return Oa(t,"__esModule",{value:true})},O=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},nr=function(t,r){for(var a in r)Oa(t,a,{get:r[a],enumerable:true});},_g=function(t,r,a){if(r&&te(r)==="object"||typeof r=="function"){var n=tt(yg(r)),i;try{var o=function(){var u=i.value;!bg.call(t,u)&&u!=="default"&&Oa(t,u,{get:function(){return r[u]},enumerable:!(a=wg(r,u))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(s){n.e(s);}finally{n.f();}}return t},fr=function(t){return _g(xg(Oa(t!=null?gg(vg(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},ul=function(t,r,a){return Dg(t,te(r)!=="symbol"?r+"":r,a),a},Ag=O(function(e,t){(function(r,a){te(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(X){var ne=te(X);return X!==null&&(ne==="object"||ne==="function")}function a(X){return typeof X=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(ne){return Object.prototype.toString.call(ne)==="[object Array]"};var i=n,o=0,s=void 0,u=void 0,l=function(ne,le){U[o]=ne,U[o+1]=le,o+=2,o===2&&(u?u(J):pe());};function c(X){u=X;}function d(X){l=X;}var m=typeof p<"u"?p:void 0,D=m||{},C=D.MutationObserver||D.WebKitMutationObserver,T=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",R=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function L(){return function(){return process.nextTick(J)}}function P(){return typeof s<"u"?function(){s(J);}:B()}function M(){var X=0,ne=new C(J),le=v.createTextNode("");return ne.observe(le,{characterData:true}),function(){le.data=X=++X%2;}}function N(){var X=new MessageChannel;return X.port1.onmessage=J,function(){return X.port2.postMessage(0)}}function B(){var X=setTimeout;return function(){return X(J,1)}}var U=new Array(1e3);function J(){for(var X=0;X<o;X+=2){var ne=U[X],le=U[X+1];ne(le),U[X]=void 0,U[X+1]=void 0;}o=0;}function ae(){try{var X=Function("return this")().require("vertx");return s=X.runOnLoop||X.runOnContext,P()}catch{return B()}}var pe=void 0;T?pe=L():C?pe=M():R?pe=N():m===void 0?pe=ae():pe=B();function Z(X,ne){var le=this,De=new this.constructor(me);De[de]===void 0&&st(De);var Me=le._state;if(Me){var je=arguments[Me-1];l(function(){return at(Me,De,je,le._result)});}else ze(le,De,X,ne);return De}function oe(X){var ne=this;if(X&&te(X)==="object"&&X.constructor===ne)return X;var le=new ne(me);return ve(le,X),le}var de=Math.random().toString(36).substring(2);function me(){}var Ce=void 0,Pe=1,we=2;function Te(){return new TypeError("You cannot resolve a promise with itself")}function ue(){return new TypeError("A promises callback cannot return that same promise.")}function _e(X,ne,le,De){try{X.call(ne,le,De);}catch(Me){return Me}}function j(X,ne,le){l(function(De){var Me=false,je=_e(le,ne,function(_t){Me||(Me=true,ne!==_t?ve(De,_t):ye(De,_t));},function(_t){Me||(Me=true,xe(De,_t));},"Settle: "+(De._label||" unknown promise"));!Me&&je&&(Me=true,xe(De,je));},X);}function ge(X,ne){ne._state===Pe?ye(X,ne._result):ne._state===we?xe(X,ne._result):ze(ne,void 0,function(le){return ve(X,le)},function(le){return xe(X,le)});}function ie(X,ne,le){ne.constructor===X.constructor&&le===Z&&ne.constructor.resolve===oe?ge(X,ne):le===void 0?ye(X,ne):a(le)?j(X,ne,le):ye(X,ne);}function ve(X,ne){if(X===ne)xe(X,Te());else if(r(ne)){var le=void 0;try{le=ne.then;}catch(De){xe(X,De);return}ie(X,ne,le);}else ye(X,ne);}function Le(X){X._onerror&&X._onerror(X._result),Je(X);}function ye(X,ne){X._state===Ce&&(X._result=ne,X._state=Pe,X._subscribers.length!==0&&l(Je,X));}function xe(X,ne){X._state===Ce&&(X._state=we,X._result=ne,l(Le,X));}function ze(X,ne,le,De){var Me=X._subscribers,je=Me.length;X._onerror=null,Me[je]=ne,Me[je+Pe]=le,Me[je+we]=De,je===0&&X._state&&l(Je,X);}function Je(X){var ne=X._subscribers,le=X._state;if(ne.length!==0){for(var De=void 0,Me=void 0,je=X._result,_t=0;_t<ne.length;_t+=3)De=ne[_t],Me=ne[_t+le],De?at(le,De,Me,je):Me(je);X._subscribers.length=0;}}function at(X,ne,le,De){var Me=a(le),je=void 0,_t=void 0,Ra=true;if(Me){try{je=le(De);}catch(fo){Ra=false,_t=fo;}if(ne===je){xe(ne,ue());return}}else je=De;ne._state!==Ce||(Me&&Ra?ve(ne,je):Ra===false?xe(ne,_t):X===Pe?ye(ne,je):X===we&&xe(ne,je));}function pt(X,ne){try{ne(function(De){ve(X,De);},function(De){xe(X,De);});}catch(le){xe(X,le);}}var Dt=0;function yt(){return Dt++}function st(X){X[de]=Dt++,X._state=void 0,X._result=void 0,X._subscribers=[];}function Fa(){return new Error("Array Methods must be provided an Array")}var kt=(function(){function X(ne,le){this._instanceConstructor=ne,this.promise=new ne(me),this.promise[de]||st(this.promise),i(le)?(this.length=le.length,this._remaining=le.length,this._result=new Array(this.length),this.length===0?ye(this.promise,this._result):(this.length=this.length||0,this._enumerate(le),this._remaining===0&&ye(this.promise,this._result))):xe(this.promise,Fa());}return X.prototype._enumerate=function(le){for(var De=0;this._state===Ce&&De<le.length;De++)this._eachEntry(le[De],De);},X.prototype._eachEntry=function(le,De){var Me=this._instanceConstructor,je=Me.resolve;if(je===oe){var _t=void 0,Ra=void 0,fo=false;try{_t=le.then;}catch($u){fo=true,Ra=$u;}if(_t===Z&&le._state!==Ce)this._settledAt(le._state,De,le._result);else if(typeof _t!="function")this._remaining--,this._result[De]=le;else if(Me===dt){var ju=new Me(me);fo?xe(ju,Ra):ie(ju,le,_t),this._willSettleAt(ju,De);}else this._willSettleAt(new Me(function($u){return $u(le)}),De);}else this._willSettleAt(je(le),De);},X.prototype._settledAt=function(le,De,Me){var je=this.promise;je._state===Ce&&(this._remaining--,le===we?xe(je,Me):this._result[De]=Me),this._remaining===0&&ye(je,this._result);},X.prototype._willSettleAt=function(le,De){var Me=this;ze(le,void 0,function(je){return Me._settledAt(Pe,De,je)},function(je){return Me._settledAt(we,De,je)});},X})();function ut(X){return new kt(this,X).promise}function xt(X){var ne=this;return i(X)?new ne(function(le,De){for(var Me=X.length,je=0;je<Me;je++)ne.resolve(X[je]).then(le,De);}):new ne(function(le,De){return De(new TypeError("You must pass an array to race."))})}function mt(X){var ne=this,le=new ne(me);return xe(le,X),le}function Lt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Pt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var dt=(function(){function X(ne){this[de]=yt(),this._result=this._state=void 0,this._subscribers=[],me!==ne&&(typeof ne!="function"&&Lt(),this instanceof X?pt(this,ne):Pt());}return X.prototype.catch=function(le){return this.then(null,le)},X.prototype.finally=function(le){var De=this,Me=De.constructor;return a(le)?De.then(function(je){return Me.resolve(le()).then(function(){return je})},function(je){return Me.resolve(le()).then(function(){throw je})}):De.then(le,le)},X})();dt.prototype.then=Z,dt.all=ut,dt.race=xt,dt.resolve=oe,dt.reject=mt,dt._setScheduler=c,dt._setAsap=d,dt._asap=l;function Ze(){var X=void 0;if(typeof y<"u")X=y;else if(typeof self<"u")X=self;else try{X=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var ne=X.Promise;if(ne){var le=null;try{le=Object.prototype.toString.call(ne.resolve());}catch{}if(le==="[object Promise]"&&!ne.cast)return}X.Promise=dt;}return dt.polyfill=Ze,dt.Promise=dt,dt});}),Eg=O(function(e){var t=1e5,r=(function(){var j=Object.prototype.toString,ge=Object.prototype.hasOwnProperty;return {Class:function(ve){return j.call(ve).replace(/^\[object *|\]$/g,"")},HasProperty:function(ve,Le){return Le in ve},HasOwnProperty:function(ve,Le){return ge.call(ve,Le)},IsCallable:function(ve){return typeof ve=="function"},ToInt32:function(ve){return ve>>0},ToUint32:function(ve){return ve>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,s=Math.min,u=Math.pow,l=Math.round;function c(j,ge,ie){return j<ge?ge:j>ie?ie:j}var d=Object.getOwnPropertyNames||function(j){if(j!==Object(j))throw new TypeError("Object.getOwnPropertyNames called on non-object");var ge=[],ie;for(ie in j)r.HasOwnProperty(j,ie)&&ge.push(ie);return ge},m;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?m=Object.defineProperty:m=function(ge,ie,ve){if(!ge===Object(ge))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(ve,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(ge,ie,ve.get),r.HasProperty(ve,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(ge,ie,ve.set),r.HasProperty(ve,"value")&&(ge[ie]=ve.value),ge};function D(j){if(d&&m){var ge=d(j),ie;for(ie=0;ie<ge.length;ie+=1)m(j,ge[ie],{value:j[ge[ie]],writable:false,enumerable:false,configurable:false});}}function C(j){if(!m)return;if(j.length>t)throw new RangeError("Array too large for polyfill");function ge(ve){m(j,ve,{get:function(){return j._getter(ve)},set:function(ye){j._setter(ve,ye);},enumerable:true,configurable:false});}var ie;for(ie=0;ie<j.length;ie+=1)ge(ie);}function T(j,ge){var ie=32-ge;return j<<ie>>ie}function R(j,ge){var ie=32-ge;return j<<ie>>>ie}function L(j){return [j&255]}function P(j){return T(j[0],8)}function M(j){return [j&255]}function N(j){return R(j[0],8)}function B(j){return j=l(Number(j)),[j<0?0:j>255?255:j&255]}function U(j){return [j>>8&255,j&255]}function J(j){return T(j[0]<<8|j[1],16)}function ae(j){return [j>>8&255,j&255]}function pe(j){return R(j[0]<<8|j[1],16)}function Z(j){return [j>>24&255,j>>16&255,j>>8&255,j&255]}function oe(j){return T(j[0]<<24|j[1]<<16|j[2]<<8|j[3],32)}function de(j){return [j>>24&255,j>>16&255,j>>8&255,j&255]}function me(j){return R(j[0]<<24|j[1]<<16|j[2]<<8|j[3],32)}function Ce(j,ge,ie){var ve=(1<<ge-1)-1,Le,ye,xe,ze,Je,at,pt;function Dt(yt){var st=i(yt),Fa=yt-st;return Fa<.5?st:Fa>.5||st%2?st+1:st}for(j!==j?(ye=(1<<ge)-1,xe=u(2,ie-1),Le=0):j===1/0||j===-1/0?(ye=(1<<ge)-1,xe=0,Le=j<0?1:0):j===0?(ye=0,xe=0,Le=1/j===-1/0?1:0):(Le=j<0,j=n(j),j>=u(2,1-ve)?(ye=s(i(o(j)/a),1023),xe=Dt(j/u(2,ye)*u(2,ie)),xe/u(2,ie)>=2&&(ye=ye+1,xe=1),ye>ve?(ye=(1<<ge)-1,xe=0):(ye=ye+ve,xe=xe-u(2,ie))):(ye=0,xe=Dt(j/u(2,1-ve-ie)))),Je=[],ze=ie;ze;ze-=1)Je.push(xe%2?1:0),xe=i(xe/2);for(ze=ge;ze;ze-=1)Je.push(ye%2?1:0),ye=i(ye/2);for(Je.push(Le?1:0),Je.reverse(),at=Je.join(""),pt=[];at.length;)pt.push(parseInt(at.substring(0,8),2)),at=at.substring(8);return pt}function Pe(j,ge,ie){var ve=[],Le,ye,xe,ze,Je,at,pt,Dt;for(Le=j.length;Le;Le-=1)for(xe=j[Le-1],ye=8;ye;ye-=1)ve.push(xe%2?1:0),xe=xe>>1;return ve.reverse(),ze=ve.join(""),Je=(1<<ge-1)-1,at=parseInt(ze.substring(0,1),2)?-1:1,pt=parseInt(ze.substring(1,1+ge),2),Dt=parseInt(ze.substring(1+ge),2),pt===(1<<ge)-1?Dt===0?at*(1/0):NaN:pt>0?at*u(2,pt-Je)*(1+Dt/u(2,ie)):Dt!==0?at*u(2,-(Je-1))*(Dt/u(2,ie)):at<0?-0:0}function we(j){return Pe(j,11,52)}function Te(j){return Ce(j,11,52)}function ue(j){return Pe(j,8,23)}function _e(j){return Ce(j,8,23)}((function(){function j(yt){if(yt=r.ToInt32(yt),yt<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=yt,this._bytes=[],this._bytes.length=yt;var st;for(st=0;st<this.byteLength;st+=1)this._bytes[st]=0;D(this);}e.ArrayBuffer=e.ArrayBuffer||j;function ge(){}function ie(yt,st,Fa){var kt;return kt=function(xt,mt,Lt){var Pt,dt,Ze,X;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Lt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new j(this.byteLength),this.byteOffset=0;}else if(te(arguments[0])==="object"&&arguments[0].constructor===kt)for(Pt=arguments[0],this.length=Pt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new j(this.byteLength),this.byteOffset=0,Ze=0;Ze<this.length;Ze+=1)this._setter(Ze,Pt._getter(Ze));else if(te(arguments[0])==="object"&&!(arguments[0]instanceof j||r.Class(arguments[0])==="ArrayBuffer"))for(dt=arguments[0],this.length=r.ToUint32(dt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new j(this.byteLength),this.byteOffset=0,Ze=0;Ze<this.length;Ze+=1)X=dt[Ze],this._setter(Ze,Number(X));else if(te(arguments[0])==="object"&&(arguments[0]instanceof j||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=xt,this.byteOffset=r.ToUint32(mt),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT;}else this.length=r.ToUint32(Lt),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=kt,D(this),C(this);},kt.prototype=new ge,kt.prototype.BYTES_PER_ELEMENT=yt,kt.prototype._pack=st,kt.prototype._unpack=Fa,kt.BYTES_PER_ELEMENT=yt,kt.prototype._getter=function(ut){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(ut=r.ToUint32(ut),!(ut>=this.length)){for(var xt=[],mt=0,Lt=this.byteOffset+ut*this.BYTES_PER_ELEMENT;mt<this.BYTES_PER_ELEMENT;mt+=1,Lt+=1)xt.push(this.buffer._bytes[Lt]);return this._unpack(xt)}},kt.prototype.get=kt.prototype._getter,kt.prototype._setter=function(ut,xt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(ut=r.ToUint32(ut),ut<this.length){var mt=this._pack(xt),Lt,Pt;for(Lt=0,Pt=this.byteOffset+ut*this.BYTES_PER_ELEMENT;Lt<this.BYTES_PER_ELEMENT;Lt+=1,Pt+=1)this.buffer._bytes[Pt]=mt[Lt];}},kt.prototype.set=function(ut,xt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var mt,Lt,Pt,dt,Ze,X,ne,le,De,Me;if(te(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(mt=arguments[0],Pt=r.ToUint32(arguments[1]),Pt+mt.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(le=this.byteOffset+Pt*this.BYTES_PER_ELEMENT,De=mt.length*this.BYTES_PER_ELEMENT,mt.buffer===this.buffer){for(Me=[],Ze=0,X=mt.byteOffset;Ze<De;Ze+=1,X+=1)Me[Ze]=mt.buffer._bytes[X];for(Ze=0,ne=le;Ze<De;Ze+=1,ne+=1)this.buffer._bytes[ne]=Me[Ze];}else for(Ze=0,X=mt.byteOffset,ne=le;Ze<De;Ze+=1,X+=1,ne+=1)this.buffer._bytes[ne]=mt.buffer._bytes[X];}else if(te(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Lt=arguments[0],dt=r.ToUint32(Lt.length),Pt=r.ToUint32(arguments[1]),Pt+dt>this.length)throw new RangeError("Offset plus length of array is out of range");for(Ze=0;Ze<dt;Ze+=1)X=Lt[Ze],this._setter(Pt+Ze,Number(X));}else throw new TypeError("Unexpected argument type(s)")},kt.prototype.subarray=function(ut,xt){ut=r.ToInt32(ut),xt=r.ToInt32(xt),arguments.length<1&&(ut=0),arguments.length<2&&(xt=this.length),ut<0&&(ut=this.length+ut),xt<0&&(xt=this.length+xt),ut=c(ut,0,this.length),xt=c(xt,0,this.length);var mt=xt-ut;return mt<0&&(mt=0),new this.constructor(this.buffer,this.byteOffset+ut*this.BYTES_PER_ELEMENT,mt)},kt}var ve=ie(1,L,P),Le=ie(1,M,N),ye=ie(1,B,N),xe=ie(2,U,J),ze=ie(2,ae,pe),Je=ie(4,Z,oe),at=ie(4,de,me),pt=ie(4,_e,ue),Dt=ie(8,Te,we);e.Int8Array=e.Int8Array||ve,e.Uint8Array=e.Uint8Array||Le,e.Uint8ClampedArray=e.Uint8ClampedArray||ye,e.Int16Array=e.Int16Array||xe,e.Uint16Array=e.Uint16Array||ze,e.Int32Array=e.Int32Array||Je,e.Uint32Array=e.Uint32Array||at,e.Float32Array=e.Float32Array||pt,e.Float64Array=e.Float64Array||Dt;}))(),(function(){function j(ye,xe){return r.IsCallable(ye.get)?ye.get(xe):ye[xe]}var ge=(function(){var ye=new e.Uint16Array([4660]),xe=new e.Uint8Array(ye.buffer);return j(xe,0)===18})();function ie(ye,xe,ze){if(arguments.length===0)ye=new e.ArrayBuffer(0);else if(!(ye instanceof e.ArrayBuffer||r.Class(ye)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=ye||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(xe),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(ze),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");D(this);}function ve(ye){return function(xe,ze){if(xe=r.ToUint32(xe),xe+ye.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");xe+=this.byteOffset;var Je=new e.Uint8Array(this.buffer,xe,ye.BYTES_PER_ELEMENT),at=[],pt;for(pt=0;pt<ye.BYTES_PER_ELEMENT;pt+=1)at.push(j(Je,pt));return !!ze==!!ge&&at.reverse(),j(new ye(new e.Uint8Array(at).buffer),0)}}ie.prototype.getUint8=ve(e.Uint8Array),ie.prototype.getInt8=ve(e.Int8Array),ie.prototype.getUint16=ve(e.Uint16Array),ie.prototype.getInt16=ve(e.Int16Array),ie.prototype.getUint32=ve(e.Uint32Array),ie.prototype.getInt32=ve(e.Int32Array),ie.prototype.getFloat32=ve(e.Float32Array),ie.prototype.getFloat64=ve(e.Float64Array);function Le(ye){return function(xe,ze,Je){if(xe=r.ToUint32(xe),xe+ye.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var at=new ye([ze]),pt=new e.Uint8Array(at.buffer),Dt=[],yt,st;for(yt=0;yt<ye.BYTES_PER_ELEMENT;yt+=1)Dt.push(j(pt,yt));!!Je==!!ge&&Dt.reverse(),st=new e.Uint8Array(this.buffer,xe,ye.BYTES_PER_ELEMENT),st.set(Dt);}}ie.prototype.setUint8=Le(e.Uint8Array),ie.prototype.setInt8=Le(e.Int8Array),ie.prototype.setUint16=Le(e.Uint16Array),ie.prototype.setInt16=Le(e.Int16Array),ie.prototype.setUint32=Le(e.Uint32Array),ie.prototype.setInt32=Le(e.Int32Array),ie.prototype.setFloat32=Le(e.Float32Array),ie.prototype.setFloat64=Le(e.Float64Array),e.DataView=e.DataView||ie;})();}),Cg=O(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(s,u,l){a?Object.defineProperty(s,u,{configurable:true,writable:true,value:l}):s[u]=l;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",u("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],true):false}),n(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var d=c[this._id];return !!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var m=c[this._id];return m&&m[0]===c?(m[1]=d,this):(n(c,this._id,[c,d]),this)});function s(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+te(c))}function u(c){return c+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof p<"u"?p:typeof y<"u"?y:e);}),ir=O(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":te(globalThis))=="object"&&globalThis)||r((typeof p>"u"?"undefined":te(p))=="object"&&p)||r((typeof self>"u"?"undefined":te(self))=="object"&&self)||r((typeof y>"u"?"undefined":te(y))=="object"&&y)||r(te(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),or=O(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),Mn=O(function(e,t){var r=or();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Sg=O(function(e,t){var r=Mn(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":te(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),Xt=O(function(e,t){var r=Mn(),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)}};}),Nn=O(function(e,t){var r=Xt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),ll=O(function(e,t){var r=Nn(),a=Xt();t.exports=function(n){if(r(n)==="Function")return a(n)};}),qt=O(function(e,t){var r=(typeof v>"u"?"undefined":te(v))=="object"&&v.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),pr=O(function(e,t){var r=or();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),Kr=O(function(e,t){var r=Mn(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),cl=O(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;}),qn=O(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),kg=O(function(e,t){var r=Xt(),a=or(),n=Nn(),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;}),go=O(function(e,t){t.exports=function(r){return r==null};}),Bn=O(function(e,t){var r=go(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),Ma=O(function(e,t){var r=kg(),a=Bn();t.exports=function(n){return r(a(n))};}),Pr=O(function(e,t){var r=qt();t.exports=function(a){return te(a)=="object"?a!==null:r(a)};}),Na=O(function(e,t){t.exports={};}),vo=O(function(e,t){var r=Na(),a=ir(),n=qt(),i=function(s){return n(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][s]||a[o]&&a[o][s]};}),Tg=O(function(e,t){var r=Xt();t.exports=r({}.isPrototypeOf);}),Fg=O(function(e,t){var r=ir(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Rg=O(function(e,t){var r=ir(),a=Fg(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,s=o&&o.v8,u,l;s&&(u=s.split("."),l=u[0]>0&&u[0]<4?1:+(u[0]+u[1])),!l&&a&&(u=a.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=a.match(/Chrome\/(\d+)/),u&&(l=+u[1]))),t.exports=l;}),dl=O(function(e,t){var r=Rg(),a=or(),n=ir(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),fl=O(function(e,t){var r=dl();t.exports=r&&!Symbol.sham&&te(Symbol.iterator)=="symbol";}),pl=O(function(e,t){var r=vo(),a=qt(),n=Tg(),i=fl(),o=Object;t.exports=i?function(s){return te(s)=="symbol"}:function(s){var u=r("Symbol");return a(u)&&n(u.prototype,o(s))};}),ml=O(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Hn=O(function(e,t){var r=qt(),a=ml(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),bo=O(function(e,t){var r=Hn(),a=go();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Ig=O(function(e,t){var r=Kr(),a=qt(),n=Pr(),i=TypeError;t.exports=function(o,s){var u,l;if(s==="string"&&a(u=o.toString)&&!n(l=r(u,o))||a(u=o.valueOf)&&!n(l=r(u,o))||s!=="string"&&a(u=o.toString)&&!n(l=r(u,o)))return l;throw new i("Can't convert object to primitive value")};}),yo=O(function(e,t){t.exports=true;}),Lg=O(function(e,t){var r=ir(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),Vn=O(function(e,t){var r=yo(),a=ir(),n=Lg(),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"});}),hl=O(function(e,t){var r=Vn();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),wo=O(function(e,t){var r=Bn(),a=Object;t.exports=function(n){return a(r(n))};}),_r=O(function(e,t){var r=Xt(),a=wo(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return n(a(o),s)};}),gl=O(function(e,t){var r=Xt(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Ar=O(function(e,t){var r=ir(),a=hl(),n=_r(),i=gl(),o=dl(),s=fl(),u=r.Symbol,l=a("wks"),c=s?u.for||u:u&&u.withoutSetter||i;t.exports=function(d){return n(l,d)||(l[d]=o&&n(u,d)?u[d]:c("Symbol."+d)),l[d]};}),Pg=O(function(e,t){var r=Kr(),a=Pr(),n=pl(),i=bo(),o=Ig(),s=Ar(),u=TypeError,l=s("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var m=i(c,l),D;if(m){if(d===void 0&&(d="default"),D=r(m,c,d),!a(D)||n(D))return D;throw new u("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)};}),vl=O(function(e,t){var r=Pg(),a=pl();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),bl=O(function(e,t){var r=ir(),a=Pr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),yl=O(function(e,t){var r=pr(),a=or(),n=bl();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),Og=O(function(e){var t=pr(),r=Kr(),a=cl(),n=qn(),i=Ma(),o=vl(),s=_r(),u=yl(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(d,m){if(d=i(d),m=o(m),u)try{return l(d,m)}catch{}if(s(d,m))return n(!r(a.f,d,m),d[m])};}),Mg=O(function(e,t){var r=or(),a=qt(),n=/#|\.prototype\./,i=function(d,m){var D=s[o(d)];return D===l?true:D===u?false:a(m)?r(m):!!m},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i;}),wl=O(function(e,t){var r=ll(),a=Hn(),n=Mn(),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)}};}),Dl=O(function(e,t){var r=pr(),a=or();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),da=O(function(e,t){var r=Pr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),jn=O(function(e){var t=pr(),r=yl(),a=Dl(),n=da(),i=vl(),o=TypeError,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?a?function(D,C,T){if(n(D),C=i(C),n(T),typeof D=="function"&&C==="prototype"&&"value"in T&&d in T&&!T[d]){var R=u(D,C);R&&R[d]&&(D[C]=T.value,T={configurable:c in T?T[c]:R[c],enumerable:l in T?T[l]:R[l],writable:false});}return s(D,C,T)}:s:function(D,C,T){if(n(D),C=i(C),n(T),r)try{return s(D,C,T)}catch{}if("get"in T||"set"in T)throw new o("Accessors not supported");return "value"in T&&(D[C]=T.value),D};}),qa=O(function(e,t){var r=pr(),a=jn(),n=qn();t.exports=r?function(i,o,s){return a.f(i,o,n(1,s))}:function(i,o,s){return i[o]=s,i};}),$n=O(function(e,t){var r=ir(),a=Sg(),n=ll(),i=qt(),o=Og().f,s=Mg(),u=Na(),l=wl(),c=qa(),d=_r();Vn();var m=function(C){var T=function(L,P,M){if(this instanceof T){switch(arguments.length){case 0:return new C;case 1:return new C(L);case 2:return new C(L,P)}return new C(L,P,M)}return a(C,this,arguments)};return T.prototype=C.prototype,T};t.exports=function(D,C){var T=D.target,R=D.global,L=D.stat,P=D.proto,M=R?r:L?r[T]:r[T]&&r[T].prototype,N=R?u:u[T]||c(u,T,{})[T],B=N.prototype,U,J,ae,pe,Z,oe,de,me,Ce;for(pe in C)U=s(R?pe:T+(L?".":"#")+pe,D.forced),J=!U&&M&&d(M,pe),oe=N[pe],J&&(D.dontCallGetSet?(Ce=o(M,pe),de=Ce&&Ce.value):de=M[pe]),Z=J&&de?de:C[pe],!(!U&&!P&&te(oe)==te(Z))&&(D.bind&&J?me=l(Z,r):D.wrap&&J?me=m(Z):P&&i(Z)?me=n(Z):me=Z,(D.sham||Z&&Z.sham||oe&&oe.sham)&&c(me,"sham",true),c(N,pe,me),P&&(ae=T+"Prototype",d(u,ae)||c(u,ae,{}),c(u[ae],pe,Z),D.real&&B&&(U||!B[pe])&&c(B,pe,Z)));};}),Ng=O(function(){var e=$n(),t=_r();e({target:"Object",stat:true},{hasOwn:t});}),qg=O(function(e,t){Ng();var r=Na();t.exports=r.Object.hasOwn;}),Bg=O(function(e,t){var r=qg();t.exports=r;}),Hg=O(function(e,t){var r=Bg();t.exports=r;}),Do=O(function(e,t){var r=hl(),a=gl(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Vg=O(function(e,t){var r=or();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),xo=O(function(e,t){var r=_r(),a=qt(),n=wo(),i=Do(),o=Vg(),s=i("IE_PROTO"),u=Object,l=u.prototype;t.exports=o?u.getPrototypeOf:function(c){var d=n(c);if(r(d,s))return d[s];var m=d.constructor;return a(m)&&d instanceof m?m.prototype:d instanceof u?l:null};}),jg=O(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)};}),_o=O(function(e,t){var r=jg();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),$g=O(function(e,t){var r=_o(),a=Math.max,n=Math.min;t.exports=function(i,o){var s=r(i);return s<0?a(s+o,0):n(s,o)};}),zg=O(function(e,t){var r=_o(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),xl=O(function(e,t){var r=zg();t.exports=function(a){return r(a.length)};}),Gg=O(function(e,t){var r=Ma(),a=$g(),n=xl(),i=function(s){return function(u,l,c){var d=r(u),m=n(d);if(m===0)return !s&&-1;var D=a(c,m),C;if(s&&l!==l){for(;m>D;)if(C=d[D++],C!==C)return true}else for(;m>D;D++)if((s||D in d)&&d[D]===l)return s||D||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Ao=O(function(e,t){t.exports={};}),Ug=O(function(e,t){var r=Xt(),a=_r(),n=Ma(),i=Gg().indexOf,o=Ao(),s=r([].push);t.exports=function(u,l){var c=n(u),d=0,m=[],D;for(D in c)!a(o,D)&&a(c,D)&&s(m,D);for(;l.length>d;)a(c,D=l[d++])&&(~i(m,D)||s(m,D));return m};}),_l=O(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),Al=O(function(e,t){var r=Ug(),a=_l();t.exports=Object.keys||function(i){return r(i,a)};}),Wg=O(function(e,t){var r=pr(),a=or(),n=Xt(),i=xo(),o=Al(),s=Ma(),u=cl().f,l=n(u),c=n([].push),d=r&&a(function(){var D=Object.create(null);return D[2]=2,!l(D,2)}),m=function(C){return function(T){for(var R=s(T),L=o(R),P=d&&i(R)===null,M=L.length,N=0,B=[],U;M>N;)U=L[N++],(!r||(P?U in R:l(R,U)))&&c(B,C?[U,R[U]]:R[U]);return B}};t.exports={entries:m(true),values:m(false)};}),Xg=O(function(){var e=$n(),t=Wg().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),Yg=O(function(e,t){Xg();var r=Na();t.exports=r.Object.values;}),Kg=O(function(e,t){var r=Yg();t.exports=r;}),Jg=O(function(e,t){var r=Kg();t.exports=r;}),Eo=O(function(e,t){var r=Ar(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),zn=O(function(e,t){var r=Eo(),a=qt(),n=Nn(),i=Ar(),o=i("toStringTag"),s=Object,u=n((function(){return arguments})())==="Arguments",l=function(d,m){try{return d[m]}catch{}};t.exports=r?n:function(c){var d,m,D;return c===void 0?"Undefined":c===null?"Null":typeof(m=l(d=s(c),o))=="string"?m:u?n(d):(D=n(d))==="Object"&&a(d.callee)?"Arguments":D};}),El=O(function(e,t){var r=zn(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),Zg=O(function(e,t){var r=Xt(),a=_o(),n=El(),i=Bn(),o=r("".charAt),s=r("".charCodeAt),u=r("".slice),l=function(d){return function(m,D){var C=n(i(m)),T=a(D),R=C.length,L,P;return T<0||T>=R?d?"":void 0:(L=s(C,T),L<55296||L>56319||T+1===R||(P=s(C,T+1))<56320||P>57343?d?o(C,T):L:d?u(C,T,T+2):(L-55296<<10)+(P-56320)+65536)}};t.exports={codeAt:l(false),charAt:l(true)};}),Qg=O(function(e,t){var r=ir(),a=qt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),ev=O(function(e,t){var r=Qg(),a=ir(),n=Pr(),i=qa(),o=_r(),s=Vn(),u=Do(),l=Ao(),c="Object already initialized",d=a.TypeError,m=a.WeakMap,D,C,T,R=function(B){return T(B)?C(B):D(B,{})},L=function(B){return function(U){var J;if(!n(U)||(J=C(U)).type!==B)throw new d("Incompatible receiver, "+B+" required");return J}};r||s.state?(P=s.state||(s.state=new m),P.get=P.get,P.has=P.has,P.set=P.set,D=function(B,U){if(P.has(B))throw new d(c);return U.facade=B,P.set(B,U),U},C=function(B){return P.get(B)||{}},T=function(B){return P.has(B)}):(M=u("state"),l[M]=true,D=function(B,U){if(o(B,M))throw new d(c);return U.facade=B,i(B,M,U),U},C=function(B){return o(B,M)?B[M]:{}},T=function(B){return o(B,M)});var P,M;t.exports={set:D,get:C,has:T,enforce:R,getterFor:L};}),tv=O(function(e,t){var r=pr(),a=_r(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),s=o&&function(){}.name==="something",u=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:u};}),rv=O(function(e){var t=pr(),r=Dl(),a=jn(),n=da(),i=Ma(),o=Al();e.f=t&&!r?Object.defineProperties:function(u,l){n(u);for(var c=i(l),d=o(l),m=d.length,D=0,C;m>D;)a.f(u,C=d[D++],c[C]);return u};}),av=O(function(e,t){var r=vo();t.exports=r("document","documentElement");}),Cl=O(function(e,t){var r=da(),a=rv(),n=_l(),i=Ao(),o=av(),s=bl(),u=Do(),l=">",c="<",d="prototype",m="script",D=u("IE_PROTO"),C=function(){},T=function(B){return c+m+l+B+c+"/"+m+l},R=function(B){B.write(T("")),B.close();var U=B.parentWindow.Object;return B=null,U},L=function(){var B=s("iframe"),U="java"+m+":",J;return B.style.display="none",o.appendChild(B),B.src=String(U),J=B.contentWindow.document,J.open(),J.write(T("document.F=Object")),J.close(),J.F},P,M=function(){try{P=new ActiveXObject("htmlfile");}catch{}M=typeof v<"u"?v.domain&&P?R(P):L():R(P);for(var B=n.length;B--;)delete M[d][n[B]];return M()};i[D]=true,t.exports=Object.create||function(B,U){var J;return B!==null?(C[d]=r(B),J=new C,C[d]=null,J[D]=B):J=M(),U===void 0?J:a.f(J,U)};}),Sl=O(function(e,t){var r=qa();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),kl=O(function(e,t){var r=or(),a=qt(),n=Pr(),i=Cl(),o=xo(),s=Sl(),u=Ar(),l=yo(),c=u("iterator"),d=false,m,D,C;[].keys&&(C=[].keys(),"next"in C?(D=o(o(C)),D!==Object.prototype&&(m=D)):d=true);var T=!n(m)||r(function(){var R={};return m[c].call(R)!==R});T?m={}:l&&(m=i(m)),a(m[c])||s(m,c,function(){return this}),t.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:d};}),nv=O(function(e,t){var r=Eo(),a=zn();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),Tl=O(function(e,t){var r=Eo(),a=jn().f,n=qa(),i=_r(),o=nv(),s=Ar(),u=s("toStringTag");t.exports=function(l,c,d,m){var D=d?l:l&&l.prototype;D&&(i(D,u)||a(D,u,{configurable:true,value:c}),m&&!r&&n(D,"toString",o));};}),Gn=O(function(e,t){t.exports={};}),iv=O(function(e,t){var r=kl().IteratorPrototype,a=Cl(),n=qn(),i=Tl(),o=Gn(),s=function(){return this};t.exports=function(u,l,c,d){var m=l+" Iterator";return u.prototype=a(r,{next:n(+!d,c)}),i(u,m,false,true),o[m]=s,u};}),ov=O(function(e,t){var r=Xt(),a=Hn();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),sv=O(function(e,t){var r=Pr();t.exports=function(a){return r(a)||a===null};}),uv=O(function(e,t){var r=sv(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),lv=O(function(e,t){var r=ov(),a=Pr(),n=Bn(),i=uv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},u;try{u=r(Object.prototype,"__proto__","set"),u(s,[]),o=s instanceof Array;}catch{}return function(c,d){return n(c),i(d),a(c)&&(o?u(c,d):c.__proto__=d),c}})():void 0);}),cv=O(function(e,t){var r=$n(),a=Kr(),n=yo(),i=tv(),o=qt(),s=iv(),u=xo(),l=lv(),c=Tl(),d=qa(),m=Sl(),D=Ar(),C=Gn(),T=kl(),R=i.PROPER,L=i.CONFIGURABLE,P=T.IteratorPrototype,M=T.BUGGY_SAFARI_ITERATORS,N=D("iterator"),B="keys",U="values",J="entries",ae=function(){return this};t.exports=function(pe,Z,oe,de,me,Ce,Pe){s(oe,Z,de);var we=function(ze){if(ze===me&&ge)return ge;if(!M&&ze&&ze in _e)return _e[ze];switch(ze){case B:return function(){return new oe(this,ze)};case U:return function(){return new oe(this,ze)};case J:return function(){return new oe(this,ze)}}return function(){return new oe(this)}},Te=Z+" Iterator",ue=false,_e=pe.prototype,j=_e[N]||_e["@@iterator"]||me&&_e[me],ge=!M&&j||we(me),ie=Z==="Array"&&_e.entries||j,ve,Le,ye;if(ie&&(ve=u(ie.call(new pe)),ve!==Object.prototype&&ve.next&&(!n&&u(ve)!==P&&(l?l(ve,P):o(ve[N])||m(ve,N,ae)),c(ve,Te,true,true),n&&(C[Te]=ae))),R&&me===U&&j&&j.name!==U&&(!n&&L?d(_e,"name",U):(ue=true,ge=function(){return a(j,this)})),me)if(Le={values:we(U),keys:Ce?ge:we(B),entries:we(J)},Pe)for(ye in Le)(M||ue||!(ye in _e))&&m(_e,ye,Le[ye]);else r({target:Z,proto:true,forced:M||ue},Le);return (!n||Pe)&&_e[N]!==ge&&m(_e,N,ge,{name:me}),C[Z]=ge,Le};}),dv=O(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),fv=O(function(){var e=Zg().charAt,t=El(),r=ev(),a=cv(),n=dv(),i="String Iterator",o=r.set,s=r.getterFor(i);a(String,"String",function(u){o(this,{type:i,string:t(u),index:0});},function(){var l=s(this),c=l.string,d=l.index,m;return d>=c.length?n(void 0,true):(m=e(c,d),l.index+=m.length,n(m,false))});}),pv=O(function(e,t){var r=Kr(),a=da(),n=bo();t.exports=function(i,o,s){var u,l;a(i);try{if(u=n(i,"return"),!u){if(o==="throw")throw s;return s}u=r(u,i);}catch(c){l=true,u=c;}if(o==="throw")throw s;if(l)throw u;return a(u),s};}),mv=O(function(e,t){var r=da(),a=pv();t.exports=function(n,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(u){a(n,"throw",u);}};}),hv=O(function(e,t){var r=Ar(),a=Gn(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),gv=O(function(e,t){var r=Xt(),a=qt(),n=Vn(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),vv=O(function(e,t){var r=Xt(),a=or(),n=qt(),i=zn(),o=vo(),s=gv(),u=function(){},l=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),m=!c.test(u),D=function(R){if(!n(R))return false;try{return l(u,[],R),!0}catch{return false}},C=function(R){if(!n(R))return false;switch(i(R)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return m||!!d(c,s(R))}catch{return true}};C.sham=true,t.exports=!l||a(function(){var T;return D(D.call)||!D(Object)||!D(function(){T=true;})||T})?C:D;}),bv=O(function(e,t){var r=pr(),a=jn(),n=qn();t.exports=function(i,o,s){r?a.f(i,o,n(0,s)):i[o]=s;};}),yv=O(function(e,t){var r=Nn();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),wv=O(function(e,t){var r=pr(),a=yv(),n=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,u){if(a(s)&&!i(s,"length").writable)throw new n("Cannot set read only .length");return s.length=u}:function(s,u){return s.length=u};}),Fl=O(function(e,t){var r=zn(),a=bo(),n=go(),i=Gn(),o=Ar(),s=o("iterator");t.exports=function(u){if(!n(u))return a(u,s)||a(u,"@@iterator")||i[r(u)]};}),Dv=O(function(e,t){var r=Kr(),a=Hn(),n=da(),i=ml(),o=Fl(),s=TypeError;t.exports=function(u,l){var c=arguments.length<2?o(u):l;if(a(c))return n(r(c,u));throw new s(i(u)+" is not iterable")};}),xv=O(function(e,t){var r=wl(),a=Kr(),n=wo(),i=mv(),o=hv(),s=vv(),u=xl(),l=bv(),c=wv(),d=Dv(),m=Fl(),D=Array;t.exports=function(T){var R=n(T),L=s(this),P=arguments.length,M=P>1?arguments[1]:void 0,N=M!==void 0;N&&(M=r(M,P>2?arguments[2]:void 0));var B=m(R),U=0,J,ae,pe,Z,oe,de;if(B&&!(this===D&&o(B)))for(ae=L?new this:[],Z=d(R,B),oe=Z.next;!(pe=a(oe,Z)).done;U++)de=N?i(Z,M,[pe.value,U],true):pe.value,l(ae,U,de);else for(J=u(R),ae=L?new this(J):D(J);J>U;U++)de=N?M(R[U],U):R[U],l(ae,U,de);return c(ae,U),ae};}),_v=O(function(e,t){var r=Ar(),a=r("iterator"),n=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){n=!0;}},o[a]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,u){try{if(!u&&!n)return !1}catch{return false}var l=false;try{var c={};c[a]=function(){return {next:function(){return {done:l=!0}}}},s(c);}catch{}return l};}),Av=O(function(){var e=$n(),t=xv(),r=_v(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),Ev=O(function(e,t){fv(),Av();var r=Na();t.exports=r.Array.from;}),Cv=O(function(e,t){var r=Ev();t.exports=r;}),Rl=O(function(e,t){var r=Cv();t.exports=r;}),Il=O(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var s=o.length,u="",l=0;l<s;){var c=o.charAt(l);if(e.identSpecialChars[c])u+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||l!==0&&c>="0"&&c<="9")u+=c;else {var d=c.charCodeAt(0);if((d&63488)===55296){var m=o.charCodeAt(l++);if((d&64512)!==55296||(m&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(m&1023)+65536;}u+="\\"+d.toString(16)+" ";}l++;}return u}e.escapeIdentifier=n;function i(o){for(var s=o.length,u="",l=0,c;l<s;){var d=o.charAt(l);d==='"'?d='\\"':d==="\\"?d="\\\\":(c=e.strReplacementsRev[d])!==void 0&&(d=c),u+=d,l++;}return '"'+u+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
361
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
362
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),Sv=O(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Il();function r(a,n,i,o,s,u){var l=a.length,c="";function d(P,M){var N="";for(n++,c=a.charAt(n);n<l;){if(c===P)return n++,N;if(c==="\\"){n++,c=a.charAt(n);var B=void 0;if(c===P)N+=P;else if((B=M[c])!==void 0)N+=B;else if(t.isHex(c)){var U=c;for(n++,c=a.charAt(n);t.isHex(c);)U+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),N+=String.fromCharCode(parseInt(U,16));continue}else N+=c;}else N+=c;n++,c=a.charAt(n);}return N}function m(){var P="";for(c=a.charAt(n);n<l;){if(t.isIdent(c))P+=c;else if(c==="\\"){if(n++,n>=l)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])P+=c;else if(t.isHex(c)){var M=c;for(n++,c=a.charAt(n);t.isHex(c);)M+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),P+=String.fromCharCode(parseInt(M,16));continue}else P+=c;}else return P;n++,c=a.charAt(n);}return P}function D(){c=a.charAt(n);for(var P=false;c===" "||c===" "||c===`
|
|
363
|
+
`||c==="\r"||c==="\f";)P=true,n++,c=a.charAt(n);return P}function C(){var P=T();if(n<l)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return P}function T(){var P=R();if(!P)return null;var M=P;for(c=a.charAt(n);c===",";){if(n++,D(),M.type!=="selectors"&&(M={type:"selectors",selectors:[P]}),P=R(),!P)throw Error('Rule expected after ",".');M.selectors.push(P);}return M}function R(){D();var P={type:"ruleSet"},M=L();if(!M)return null;for(var N=P;M&&(M.type="rule",N.rule=M,N=M,D(),c=a.charAt(n),!(n>=l||c===","||c===")"));)if(s[c]){var B=c;if(n++,D(),M=L(),!M)throw Error('Rule expected after "'+B+'".');M.nestingOperator=B;}else M=L(),M&&(M.nestingOperator=null);return P}function L(){for(var P=null;n<l;)if(c=a.charAt(n),c==="*")n++,(P=P||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(P=P||{}).tagName=m();else if(c===".")n++,P=P||{},(P.classNames=P.classNames||[]).push(m());else if(c==="#")n++,(P=P||{}).id=m();else if(c==="["){n++,D();var M={name:m()};if(D(),c==="]")n++;else {var N="";if(o[c]&&(N=c,n++,c=a.charAt(n)),n>=l)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');M.operator=N+"=",n++,D();var B="";if(M.valueType="string",c==='"')B=d('"',t.doubleQuotesEscapeChars);else if(c==="'")B=d("'",t.singleQuoteEscapeChars);else if(u&&c==="$")n++,B=m(),M.valueType="substitute";else {for(;n<l&&c!=="]";)B+=c,n++,c=a.charAt(n);B=B.trim();}if(D(),n>=l)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,M.value=B;}P=P||{},(P.attrs=P.attrs||[]).push(M);}else if(c===":"){n++;var U=m(),J={name:U};if(c==="("){n++;var ae="";if(D(),i[U]==="selector")J.valueType="selector",ae=T();else {if(J.valueType=i[U]||"string",c==='"')ae=d('"',t.doubleQuotesEscapeChars);else if(c==="'")ae=d("'",t.singleQuoteEscapeChars);else if(u&&c==="$")n++,ae=m(),J.valueType="substitute";else {for(;n<l&&c!==")";)ae+=c,n++,c=a.charAt(n);ae=ae.trim();}D();}if(n>=l)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,J.value=ae;}P=P||{},(P.pseudos=P.pseudos||[]).push(J);}else break;return P}return C()}e.parseCssSelector=r;}),kv=O(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Il();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;}),Tv=O(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=Sv(),r=kv(),a=(function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.pseudos[l]="selector";}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.pseudos[l];}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.pseudos[l]="numeric";}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.pseudos[l];}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.ruleNestingOperators[l]=true;}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.ruleNestingOperators[l];}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];this.attrEqualityMods[l]=true;}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,u=i;s<u.length;s++){var l=u[s];delete this.attrEqualityMods[l];}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n})();e.CssSelectorParser=a;}),Fv=O(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false,doNotSkipEncoded:false},template:void 0,compile:void 0,log:true};((function(){if((typeof globalThis>"u"?"undefined":te(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{p.globalThis=(function(){if(typeof self<"u")return self;if(typeof p<"u")return p;if(typeof y<"u")return y;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},l=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(l,function(d){return u[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(s,u,l){return (typeof u=="string"?u:u.toString()).replace(s.define||n,function(c,d,m,D){return d.indexOf("def.")===0&&(d=d.substring(4)),d in l||(m===":"?(s.defineParams&&D.replace(s.defineParams,function(C,T,R){l[d]={arg:T,text:R};}),d in l||(l[d]=D)):new Function("def","def['"+d+"']="+D)(l)),""}).replace(s.use||n,function(c,d){s.useParams&&(d=d.replace(s.useParams,function(D,C,T,R){if(l[T]&&l[T].arg&&R){var L=(T+":"+R).replace(/'|\\/g,"_");return l.__exp=l.__exp||{},l.__exp[L]=l[T].text.replace(new RegExp("(^|[^\\w$])"+l[T].arg+"([^\\w$])","g"),"$1"+R+"$2"),C+"def.__exp['"+L+"']"}}));var m=new Function("def","return "+d)(l);return m&&i(s,m,l)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,u,l){u=u||r.templateSettings;var c=u.append?a.append:a.split,d,m=0,D,C=u.use||u.define?i(u,s,l||{}):s;C=("var out='"+(u.strip?C.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):C).replace(/'|\\/g,"\\$&").replace(u.interpolate||n,function(T,R){return c.start+o(R)+c.end}).replace(u.encode||n,function(T,R){return d=true,c.startencode+o(R)+c.end}).replace(u.conditional||n,function(T,R,L){return R?L?"';}else if("+o(L)+"){out+='":"';}else{out+='":L?"';if("+o(L)+"){out+='":"';}out+='"}).replace(u.iterate||n,function(T,R,L,P){return R?(m+=1,D=P||"i"+m,R=o(R),"';var arr"+m+"="+R+";if(arr"+m+"){var "+L+","+D+"=-1,l"+m+"=arr"+m+".length-1;while("+D+"<l"+m+"){"+L+"=arr"+m+"["+D+"+=1];out+='"):"';} } out+='"}).replace(u.evaluate||n,function(T,R){return "';"+o(R)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),d&&(!u.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(u.doNotSkipEncoded)),C="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(u.doNotSkipEncoded||"")+"));"+C);try{return new Function(u.varname,C)}catch(T){throw typeof console<"u"&&console.log("Could not create a template function: "+C),T}},r.compile=function(s,u){return r.template(s,null,u)};})();}),Rv=O(function(e,t){t.exports=function(){};}),Jr=O(function(e,t){var r=Rv()();t.exports=function(a){return a!==r&&a!==null};}),Ll=O(function(e,t){var r=Jr(),a=Array.prototype.forEach,n=Object.create,i=function(s,u){var l;for(l in s)u[l]=s[l];};t.exports=function(o){var s=n(null);return a.call(arguments,function(u){r(u)&&i(Object(u),s);}),s};}),Iv=O(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),Lv=O(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Pv=O(function(e,t){t.exports=Iv()()?Math.sign:Lv();}),Ov=O(function(e,t){var r=Pv(),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)))};}),Zr=O(function(e,t){var r=Ov(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Pl=O(function(e,t){var r=Zr();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),Or=O(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),fa=O(function(e,t){var r=Jr();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),Mv=O(function(e,t){var r=Or(),a=fa(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(u,l){return function(c,d){var m,D=arguments[2],C=arguments[3];return c=Object(a(c)),r(d),m=o(c),C&&m.sort(typeof C=="function"?n.call(C,c):void 0),typeof u!="function"&&(u=m[u]),i.call(u,m,function(T,R){return s.call(c,T)?i.call(d,D,c[T],T,c,R):l})}};}),Un=O(function(e,t){t.exports=Mv()("forEach");}),Qr=O(function(){}),Nv=O(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")};}),qv=O(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Bv=O(function(e,t){var r=Jr(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),Hv=O(function(e,t){t.exports=qv()()?Object.keys:Bv();}),Vv=O(function(e,t){var r=Hv(),a=fa(),n=Math.max;t.exports=function(i,o){var s,u,l=n(arguments.length,2),c;for(i=Object(a(i)),c=function(m){try{i[m]=o[m];}catch(D){s||(s=D);}},u=1;u<l;++u)o=arguments[u],r(o).forEach(c);if(s!==void 0)throw s;return i};}),Ol=O(function(e,t){t.exports=Nv()()?Object.assign:Vv();}),jv=O(function(e,t){var r=Jr(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[te(n)]||false};}),$v=O(function(e,t){var r=Ol(),a=jv(),n=Jr(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),u=arguments[1],l=arguments[2];return n(l)||a(u)&&(l=u,u=null),n(l)&&r(s,l),n(u)&&(s.code=u),i&&i(s,t.exports),s};}),Ml=O(function(e,t){var r=fa(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,u){var l,c=Object(r(u));if(s=Object(r(s)),i(c).forEach(function(d){try{a(s,d,n(u,d));}catch(m){l=m;}}),typeof o=="function"&&o(c).forEach(function(d){try{a(s,d,n(u,d));}catch(m){l=m;}}),l!==void 0)throw l;return s};}),Nl=O(function(e,t){var r=Zr(),a=function(l,c){return c},n,i,o,s;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(u,l){return l=r(l),u.length===l?u:(n.value=l,i(u,"length",n))}):(s=Ml(),o=(function(){var u=[];return function(l){var c,d=0;if(u[l])return u[l];for(c=[];l--;)c.push("a"+(++d).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(u,l){var c;if(l=r(l),u.length===l)return u;c=o(l)(u);try{s(c,u);}catch{}return c});}),ql=O(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),zv=O(function(e,t){var r=ql(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,te(n)):false};}),Gv=O(function(e,t){var r=zv();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),Uv=O(function(e,t){var r=Gv();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)};}),Wv=O(function(e,t){var r=Uv(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),Xv=O(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Yv=O(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),Kv=O(function(e,t){t.exports=Xv()()?String.prototype.contains:Yv();}),ea=O(function(e,t){var r=ql(),a=Wv(),n=Ol(),i=Ll(),o=Kv(),s=t.exports=function(u,l){var c,d,m,D,C;return arguments.length<2||typeof u!="string"?(D=l,l=u,u=null):D=arguments[2],r(u)?(c=o.call(u,"c"),d=o.call(u,"e"),m=o.call(u,"w")):(c=m=true,d=false),C={value:l,configurable:c,enumerable:d,writable:m},D?n(i(D),C):C};s.gs=function(u,l,c){var d,m,D,C;return typeof u!="string"?(D=c,c=l,l=u,u=null):D=arguments[3],r(l)?a(l)?r(c)?a(c)||(D=c,c=void 0):c=void 0:(D=l,l=c=void 0):l=void 0,r(u)?(d=o.call(u,"c"),m=o.call(u,"e")):(d=true,m=false),C={get:l,set:c,configurable:d,enumerable:m},D?n(i(D),C):C};}),Jv=O(function(e,t){var r=ea(),a=Or(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,u=Object.defineProperties,l=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},d,m,D,C,T,R,L;d=function(M,N){var B;return a(N),l.call(this,"__ee__")?B=this.__ee__:(B=c.value=o(null),s(this,"__ee__",c),c.value=null),B[M]?te(B[M])==="object"?B[M].push(N):B[M]=[B[M],N]:B[M]=N,this},m=function(M,N){var B,U;return a(N),U=this,d.call(this,M,B=function(){D.call(U,M,B),n.call(N,this,arguments);}),B.__eeOnceListener__=N,this},D=function(M,N){var B,U,J,ae;if(a(N),!l.call(this,"__ee__"))return this;if(B=this.__ee__,!B[M])return this;if(U=B[M],te(U)==="object")for(ae=0;J=U[ae];++ae)(J===N||J.__eeOnceListener__===N)&&(U.length===2?B[M]=U[ae?0:1]:U.splice(ae,1));else (U===N||U.__eeOnceListener__===N)&&delete B[M];return this},C=function(M){var N,B,U,J,ae;if(l.call(this,"__ee__")&&(J=this.__ee__[M],!!J))if(te(J)==="object"){for(B=arguments.length,ae=new Array(B-1),N=1;N<B;++N)ae[N-1]=arguments[N];for(J=J.slice(),N=0;U=J[N];++N)n.call(U,this,ae);}else switch(arguments.length){case 1:i.call(J,this);break;case 2:i.call(J,this,arguments[1]);break;case 3:i.call(J,this,arguments[1],arguments[2]);break;default:for(B=arguments.length,ae=new Array(B-1),N=1;N<B;++N)ae[N-1]=arguments[N];n.call(J,this,ae);}},T={on:d,once:m,off:D,emit:C},R={on:r(d),once:r(m),off:r(D),emit:r(C)},L=u({},R),t.exports=e=function(M){return M==null?o(L):u(Object(M),R)},e.methods=T;}),Zv=O(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"))};}),Qv=O(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":te(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),eb=O(function(e,t){var r=function(){if((typeof self>"u"?"undefined":te(self))==="object"&&self)return self;if((typeof p>"u"?"undefined":te(p))==="object"&&p)return p;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),Wn=O(function(e,t){t.exports=Qv()()?globalThis:eb();}),tb=O(function(e,t){var r=Wn(),a={object:true,symbol:true};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return false;i=n("test symbol");try{String(i);}catch{return false}return !(!a[te(n.iterator)]||!a[te(n.toPrimitive)]||!a[te(n.toStringTag)])};}),rb=O(function(e,t){t.exports=function(r){return r?te(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Bl=O(function(e,t){var r=rb();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),ab=O(function(e,t){var r=ea(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(s){for(var u=0,l,c;o[s+(u||"")];)++u;return s+=u||"",o[s]=true,l="@@"+s,n(i,l,r.gs(null,function(d){c||(c=true,n(this,l,r(d)),c=false);})),l};}),nb=O(function(e,t){var r=ea(),a=Wn().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"))})};}),ib=O(function(e,t){var r=ea(),a=Bl(),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})})};}),ob=O(function(e,t){var r=ea(),a=Bl(),n=Wn().Symbol,i=ab(),o=nb(),s=ib(),u=Object.create,l=Object.defineProperties,c=Object.defineProperty,d,m,D;if(typeof n=="function")try{String(n()),D=!0;}catch{}else n=null;m=function(T){if(this instanceof m)throw new TypeError("Symbol is not a constructor");return d(T)},t.exports=d=function C(T){var R;if(this instanceof C)throw new TypeError("Symbol is not a constructor");return D?n(T):(R=u(m.prototype),T=T===void 0?"":String(T),l(R,{__description__:r("",T),__name__:r("",i(T))}))},o(d),s(d),l(m.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),l(d.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var C=a(this);return te(C)==="symbol"?C:C.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(m.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(m.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]));}),sb=O(function(e,t){t.exports=tb()()?Wn().Symbol:ob();}),ub=O(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),lb=O(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))};}),cb=O(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&te(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),db=O(function(e,t){var r=sb().iterator,a=ub(),n=lb(),i=Zr(),o=Or(),s=fa(),u=Jr(),l=cb(),c=Array.isArray,d=Function.prototype.call,m={configurable:true,enumerable:true,writable:true,value:null},D=Object.defineProperty;t.exports=function(C){var T=arguments[1],R=arguments[2],L,P,M,N,B,U,J,ae,pe,Z;if(C=Object(s(C)),u(T)&&o(T),!this||this===Array||!n(this)){if(!T){if(a(C))return B=C.length,B!==1?Array.apply(null,C):(N=new Array(1),N[0]=C[0],N);if(c(C)){for(N=new Array(B=C.length),P=0;P<B;++P)N[P]=C[P];return N}}N=[];}else L=this;if(!c(C)){if((pe=C[r])!==void 0){for(J=o(pe).call(C),L&&(N=new L),ae=J.next(),P=0;!ae.done;)Z=T?d.call(T,R,ae.value,P):ae.value,L?(m.value=Z,D(N,P,m)):N[P]=Z,ae=J.next(),++P;B=P;}else if(l(C)){for(B=C.length,L&&(N=new L),P=0,M=0;P<B;++P)Z=C[P],P+1<B&&(U=Z.charCodeAt(0),U>=55296&&U<=56319&&(Z+=C[++P])),Z=T?d.call(T,R,Z,M):Z,L?(m.value=Z,D(N,M,m)):N[M]=Z,++M;B=M;}}if(B===void 0)for(B=i(C.length),L&&(N=new L(B)),P=0;P<B;++P)Z=T?d.call(T,R,C[P],P):C[P],L?(m.value=Z,D(N,P,m)):N[P]=Z;return L&&(m.value=null,N.length=B),N};}),Co=O(function(e,t){t.exports=Zv()()?Array.from:db();}),fb=O(function(e,t){var r=Co(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),pb=O(function(e,t){var r=fb(),a=Jr(),n=Or(),i=Array.prototype.slice,o;o=function(u){return this.map(function(l,c){return l?l(u[c]):u[c]}).concat(i.call(u,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(u){a(u)&&n(u);}),o.bind(s)};}),mb=O(function(e,t){var r=Or();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))};}),hb=O(function(e,t){var r=$v(),a=Nl(),n=ea(),i=Jv().methods,o=pb(),s=mb(),u=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,m=i.on,D=i.emit;t.exports=function(C,T,R){var L=c(null),P,M,N,B,U,J,ae,pe,Z,oe,de,me,Ce,Pe,we;return T!==false?M=T:isNaN(C.length)?M=1:M=C.length,R.normalizer&&(oe=s(R.normalizer),N=oe.get,B=oe.set,U=oe.delete,J=oe.clear),R.resolvers!=null&&(we=o(R.resolvers)),N?Pe=a(function(Te){var ue,_e,j=arguments;if(we&&(j=we(j)),ue=N(j),ue!==null&&hasOwnProperty.call(L,ue))return de&&P.emit("get",ue,j,this),L[ue];if(j.length===1?_e=l.call(C,this,j[0]):_e=u.call(C,this,j),ue===null){if(ue=N(j),ue!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ue=B(j);}else if(hasOwnProperty.call(L,ue))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[ue]=_e,me&&P.emit("set",ue,null,_e),_e},M):T===0?Pe=function(){var ue;if(hasOwnProperty.call(L,"data"))return de&&P.emit("get","data",arguments,this),L.data;if(arguments.length?ue=u.call(C,this,arguments):ue=l.call(C,this),hasOwnProperty.call(L,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return L.data=ue,me&&P.emit("set","data",null,ue),ue}:Pe=function(ue){var _e,j=arguments,ge;if(we&&(j=we(arguments)),ge=String(j[0]),hasOwnProperty.call(L,ge))return de&&P.emit("get",ge,j,this),L[ge];if(j.length===1?_e=l.call(C,this,j[0]):_e=u.call(C,this,j),hasOwnProperty.call(L,ge))throw r("Circular invocation","CIRCULAR_INVOCATION");return L[ge]=_e,me&&P.emit("set",ge,null,_e),_e},P={original:C,memoized:Pe,profileName:R.profileName,get:function(ue){return we&&(ue=we(ue)),N?N(ue):String(ue[0])},has:function(ue){return hasOwnProperty.call(L,ue)},delete:function(ue){var _e;hasOwnProperty.call(L,ue)&&(U&&U(ue),_e=L[ue],delete L[ue],Ce&&P.emit("delete",ue,_e));},clear:function(){var ue=L;J&&J(),L=c(null),P.emit("clear",ue);},on:function(ue,_e){return ue==="get"?de=true:ue==="set"?me=true:ue==="delete"&&(Ce=true),m.call(this,ue,_e)},emit:D,updateEnv:function(){C=P.original;}},N?ae=a(function(Te){var ue,_e=arguments;we&&(_e=we(_e)),ue=N(_e),ue!==null&&P.delete(ue);},M):T===0?ae=function(){return P.delete("data")}:ae=function(ue){return we&&(ue=we(arguments)[0]),P.delete(ue)},pe=a(function(){var Te,ue=arguments;return T===0?L.data:(we&&(ue=we(ue)),N?Te=N(ue):Te=String(ue[0]),L[Te])}),Z=a(function(){var Te,ue=arguments;return T===0?P.has("data"):(we&&(ue=we(ue)),N?Te=N(ue):Te=String(ue[0]),Te===null?false:P.has(Te))}),d(Pe,{__memoized__:n(true),delete:n(ae),clear:n(P.clear),_get:n(pe),_has:n(Z)}),P};}),gb=O(function(e,t){var r=Or(),a=Un(),n=Qr(),i=hb(),o=Pl();t.exports=function s(u){var l,c,d;if(r(u),l=Object(arguments[1]),l.async&&l.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(u,"__memoized__")&&!l.force?u:(c=o(l.length,u.length,l.async&&n.async),d=i(u,c,l),a(n,function(m,D){l[D]&&m(l[D],d,l);}),s.__profiler__&&s.__profiler__(d),d.updateEnv(),d.memoized)};}),vb=O(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};}),bb=O(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 ""}};}),yb=O(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),wb=O(function(e,t){t.exports=function(r){return r!==r};}),Db=O(function(e,t){t.exports=yb()()?Number.isNaN:wb();}),So=O(function(e,t){var r=Db(),a=Zr(),n=fa(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,u=Math.floor;t.exports=function(l){var c,d,m,D;if(!r(l))return i.apply(this,arguments);for(d=a(n(this).length),m=arguments[1],isNaN(m)?m=0:m>=0?m=u(m):m=a(this.length)-u(s(m)),c=m;c<d;++c)if(o.call(this,c)&&(D=this[c],r(D)))return c;return -1};}),xb=O(function(e,t){var r=So(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(u){var l=0,c=i,d,m=u.length;if(m===0)return c[m]||null;if(c=c[m]){for(;l<m-1;){if(d=r.call(c[0],u[l]),d===-1)return null;c=c[1][d],++l;}return d=r.call(c[0],u[l]),d===-1?null:c[1][d]||null}return null},set:function(u){var l=0,c=i,d,m=u.length;if(m===0)c[m]=++n;else {for(c[m]||(c[m]=[[],[]]),c=c[m];l<m-1;)d=r.call(c[0],u[l]),d===-1&&(d=c[0].push(u[l])-1,c[1].push([[],[]])),c=c[1][d],++l;d=r.call(c[0],u[l]),d===-1&&(d=c[0].push(u[l])-1),c[1][d]=++n;}return o[n]=u,n},delete:function(u){var l=0,c=i,d,m=o[u],D=m.length,C=[];if(D===0)delete c[D];else if(c=c[D]){for(;l<D-1;){if(d=r.call(c[0],m[l]),d===-1)return;C.push(c,d),c=c[1][d],++l;}if(d=r.call(c[0],m[l]),d===-1)return;for(u=c[1][d],c[0].splice(d,1),c[1].splice(d,1);!c[0].length&&C.length;)d=C.pop(),c=C.pop(),c[0].splice(d,1),c[1].splice(d,1);}delete o[u];},clear:function(){i=[],o=a(null);}}};}),_b=O(function(e,t){var r=So();t.exports=function(){var a=0,n=[],i=[];return {get:function(s){var u=r.call(n,s[0]);return u===-1?null:i[u]},set:function(s){return n.push(s[0]),i.push(++a),a},delete:function(s){var u=r.call(i,s);u!==-1&&(n.splice(u,1),i.splice(u,1));},clear:function(){n=[],i=[];}}};}),Ab=O(function(e,t){var r=So(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],s=a(null);return {get:function(l){for(var c=0,d=o,m;c<n-1;){if(m=r.call(d[0],l[c]),m===-1)return null;d=d[1][m],++c;}return m=r.call(d[0],l[c]),m===-1?null:d[1][m]||null},set:function(l){for(var c=0,d=o,m;c<n-1;)m=r.call(d[0],l[c]),m===-1&&(m=d[0].push(l[c])-1,d[1].push([[],[]])),d=d[1][m],++c;return m=r.call(d[0],l[c]),m===-1&&(m=d[0].push(l[c])-1),d[1][m]=++i,s[i]=l,i},delete:function(l){for(var c=0,d=o,m,D=[],C=s[l];c<n-1;){if(m=r.call(d[0],C[c]),m===-1)return;D.push(d,m),d=d[1][m],++c;}if(m=r.call(d[0],C[c]),m!==-1){for(l=d[1][m],d[0].splice(m,1),d[1].splice(m,1);!d[0].length&&D.length;)m=D.pop(),d=D.pop(),d[0].splice(m,1),d[1].splice(m,1);delete s[l];}},clear:function(){o=[[],[]],s=a(null);}}};}),Hl=O(function(e,t){var r=Or(),a=Un(),n=Function.prototype.call;t.exports=function(i,o){var s={},u=arguments[2];return r(o),a(i,function(l,c,d,m){s[c]=n.call(o,u,l,c,d,m);}),s};}),ko=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=v.createTextNode(""),s,u,l=0;return new i(function(){var c;if(s)u&&(s=u.concat(s));else {if(!u)return;s=u;}if(u=s,s=null,typeof u=="function"){c=u,u=null,c();return}for(o.data=l=++l%2;u;)c=u.shift(),u.length||(u=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=l=++l%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":te(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof v>"u"?"undefined":te(v))==="object"&&v){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":te(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Eb=O(function(){var e=Co(),t=Hl(),r=Ml(),a=Nl(),n=ko(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;Qr().async=function(u,l){var c=s(null),d=s(null),m=l.memoized,D=l.original,C,T,R;l.memoized=a(function(L){var P=arguments,M=P[P.length-1];return typeof M=="function"&&(C=M,P=i.call(P,0,-1)),m.apply(T=this,R=P)},m);try{r(l.memoized,m);}catch{}l.on("get",function(L){var P,M,N;if(C){if(c[L]){typeof c[L]=="function"?c[L]=[c[L],C]:c[L].push(C),C=null;return}P=C,M=T,N=R,C=T=R=null,n(function(){var B;hasOwnProperty.call(d,L)?(B=d[L],l.emit("getasync",L,N,M),o.call(P,B.context,B.args)):(C=P,T=M,R=N,m.apply(M,N));});}}),l.original=function(){var L,P,M,N;return C?(L=e(arguments),P=function B(U){var J,ae,pe=B.id;if(pe==null){n(o.bind(B,this,arguments));return}if(delete B.id,J=c[pe],delete c[pe],!!J)return ae=e(arguments),l.has(pe)&&(U?l.delete(pe):(d[pe]={context:this,args:ae},l.emit("setasync",pe,typeof J=="function"?1:J.length))),typeof J=="function"?N=o.call(J,this,ae):J.forEach(function(Z){N=o.call(Z,this,ae);},this),N},M=C,C=T=R=null,L.push(P),N=o.call(D,this,L),P.cb=M,C=P,N):o.call(D,this,arguments)},l.on("set",function(L){if(!C){l.delete(L);return}c[L]?typeof c[L]=="function"?c[L]=[c[L],C.cb]:c[L].push(C.cb):c[L]=C.cb,delete C.cb,C.id=L,C=null;}),l.on("delete",function(L){var P;hasOwnProperty.call(c,L)||d[L]&&(P=d[L],delete d[L],l.emit("deleteasync",L,i.call(P.args,1)));}),l.on("clear",function(){var L=d;d=s(null),l.emit("clearasync",t(L,function(P){return i.call(P.args,1)}));});};}),Cb=O(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};}),Vl=O(function(e,t){t.exports=function(r){return typeof r=="function"};}),Sb=O(function(e,t){var r=Vl();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),kb=O(function(e,t){var r=fa(),a=Sb();t.exports=function(n){return a(r(n))};}),Tb=O(function(e,t){var r=Vl();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),Fb=O(function(e,t){var r=Tb(),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};}),jl=O(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(te(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Rb=O(function(){var e=Hl(),t=Cb(),r=kb(),a=Fb(),n=jl(),i=ko(),o=Object.create,s=t("then","then:finally","done","done:finally");Qr().promise=function(u,l){var c=o(null),d=o(null),m=o(null);if(u===true)u=null;else if(u=r(u),!s[u])throw new TypeError("'"+a(u)+"' is not valid promise mode");l.on("set",function(D,C,T){var R=false;if(!n(T)){d[D]=T,l.emit("setasync",D,1);return}c[D]=1,m[D]=T;var L=function(U){var J=c[D];if(R)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
|
|
364
|
+
Consider to rely on 'then' or 'done' mode instead.`);J&&(delete c[D],d[D]=U,l.emit("setasync",D,J));},P=function(){R=true,c[D]&&(delete c[D],delete m[D],l.delete(D));},M=u;if(M||(M="then"),M==="then"){var N=function(){i(P);};T=T.then(function(B){i(L.bind(this,B));},N),typeof T.finally=="function"&&T.finally(N);}else if(M==="done"){if(typeof T.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");T.done(L,P);}else if(M==="done:finally"){if(typeof T.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof T.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");T.done(L),T.finally(P);}}),l.on("get",function(D,C,T){var R;if(c[D]){++c[D];return}R=m[D];var L=function(){l.emit("getasync",D,C,T);};n(R)?typeof R.done=="function"?R.done(L):R.then(function(){i(L);}):L();}),l.on("delete",function(D){if(delete m[D],c[D]){delete c[D];return}if(hasOwnProperty.call(d,D)){var C=d[D];delete d[D],l.emit("deleteasync",D,[C]);}}),l.on("clear",function(){var D=d;d=o(null),c=o(null),m=o(null),l.emit("clearasync",e(D,function(C){return [C]}));});};}),Ib=O(function(){var e=Or(),t=Un(),r=Qr(),a=Function.prototype.apply;r.dispose=function(n,i,o){var s;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(l,c){a.call(n,null,c);}),i.on("clearasync",function(u){t(u,function(l,c){s(c,l);});});return}i.on("delete",s=function(l,c){n(c);}),i.on("clear",function(u){t(u,function(l,c){s(c,l);});});};}),Lb=O(function(e,t){t.exports=2147483647;}),Pb=O(function(e,t){var r=Zr(),a=Lb();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),Ob=O(function(){var e=Co(),t=Un(),r=ko(),a=jl(),n=Pb(),i=Qr(),o=Function.prototype,s=Math.max,u=Math.min,l=Object.create;i.maxAge=function(c,d,m){var D,C,T,R;c=n(c),c&&(D=l(null),C=m.async&&i.async||m.promise&&i.promise?"async":"",d.on("set"+C,function(L){D[L]=setTimeout(function(){d.delete(L);},c),typeof D[L].unref=="function"&&D[L].unref(),R&&(R[L]&&R[L]!=="nextTick"&&clearTimeout(R[L]),R[L]=setTimeout(function(){delete R[L];},T),typeof R[L].unref=="function"&&R[L].unref());}),d.on("delete"+C,function(L){clearTimeout(D[L]),delete D[L],R&&(R[L]!=="nextTick"&&clearTimeout(R[L]),delete R[L]);}),m.preFetch&&(m.preFetch===true||isNaN(m.preFetch)?T=.333:T=s(u(Number(m.preFetch),1),0),T&&(R={},T=(1-T)*c,d.on("get"+C,function(L,P,M){R[L]||(R[L]="nextTick",r(function(){var N;R[L]==="nextTick"&&(delete R[L],d.delete(L),m.async&&(P=e(P),P.push(o)),N=d.memoized.apply(M,P),m.promise&&a(N)&&(typeof N.done=="function"?N.done(o,o):N.then(o,o)));}));}))),d.on("clear"+C,function(){t(D,function(L){clearTimeout(L);}),D={},R&&(t(R,function(L){L!=="nextTick"&&clearTimeout(L);}),R={});}));};}),Mb=O(function(e,t){var r=Zr(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,u=a(null),l=a(null),c=0,d;return i=r(i),{hit:function(D){var C=l[D],T=++c;if(u[T]=D,l[D]=T,!C)return ++o,o<=i?void 0:(D=u[s],d(D),D);if(delete u[C],s===C)for(;!n.call(u,++s););},delete:d=function(D){var C=l[D];if(C&&(delete u[C],delete l[D],--o,s===C)){if(!o){c=0,s=1;return}for(;!n.call(u,++s););}},clear:function(){o=0,s=1,u=a(null),l=a(null),c=0;}}};}),Nb=O(function(){var e=Zr(),t=Mb(),r=Qr();r.max=function(a,n,i){var o,s,u;a=e(a),a&&(s=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,u=function(c){c=s.hit(c),c!==void 0&&n.delete(c);}),n.on("get"+o,u),n.on("delete"+o,s.delete),n.on("clear"+o,s.clear));};}),qb=O(function(){var e=ea(),t=Qr(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var s,u;s=r(null),u=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+u,function(l,c){s[l]=c||1;}),i.on("get"+u,function(l){++s[l];}),i.on("delete"+u,function(l){delete s[l];}),i.on("clear"+u,function(){s={};}),a(i.memoized,{deleteRef:e(function(){var l=i.get(arguments);return l===null||!s[l]?null:--s[l]?false:(i.delete(l),true)}),getRefCount:e(function(){var l=i.get(arguments);return l===null||!s[l]?0:s[l]})});};}),Bb=O(function(e,t){var r=Ll(),a=Pl(),n=gb();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=vb():s>1&&(o.normalizer=bb()(s)):s===false?o.normalizer=xb()():s===1?o.normalizer=_b()():o.normalizer=Ab()(s))),o.async&&Eb(),o.promise&&Rb(),o.dispose&&Ib(),o.maxAge&&Ob(),o.max&&Nb(),o.refCounter&&qb(),n(i,o)};}),Hb=[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}],sr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};Hb.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;sr[t]=r,sr[t+"_PRIO"]=a,sr[t+"_GROUP"]=n,sr.results[a]=r,sr.resultGroups[a]=n,sr.resultGroupMap[r]=n;}),Object.freeze(sr.results),Object.freeze(sr.resultGroups),Object.freeze(sr.resultGroupMap),Object.freeze(sr);var qe=sr;function Vb(){(typeof console>"u"?"undefined":te(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var ta=Vb,jb=/[\t\r\n\f]/g,$b=(function(){function e(){rr(this,e),this.parent=void 0;}return ar(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(jb," ").indexOf(n)>=0}}])})(),Et=$b,To={};nr(To,{DqElement:function(){return Zt},RuleError:function(){return Zi},aggregate:function(){return Xn},aggregateChecks:function(){return Gl},aggregateNodeResults:function(){return Ul},aggregateResult:function(){return Wl},areStylesSet:function(){return Kb},assert:function(){return We},checkHelper:function(){return as},clone:function(){return Er},closest:function(){return jt},collectResultsFromFrames:function(){return Md},contains:function(){return Cr},convertSelector:function(){return gi},cssParser:function(){return gd},deepMerge:function(){return gs},escapeSelector:function(){return ft},extendMetaData:function(){return vs},filterHtmlAttrs:function(){return Zp},finalizeRuleResult:function(){return Ba},findBy:function(){return nn},getAllChecks:function(){return Di},getAncestry:function(){return hi},getBaseLang:function(){return la},getCheckMessage:function(){return h2},getCheckOption:function(){return Ui},getElementSource:function(){return md},getEnvironmentData:function(){return Wr},getFlattenedTree:function(){return iu},getFrameContexts:function(){return I2},getFriendlyUriEnd:function(){return Kl},getNodeAttributes:function(){return ja},getNodeFromTree:function(){return He},getPreloadConfig:function(){return Xp},getRootNode:function(){return on},getRule:function(){return Ip},getScroll:function(){return Tr},getScrollState:function(){return O2},getSelector:function(){return ts},getSelectorData:function(){return mi},getShadowSelector:function(){return Zo},getStandards:function(){return M2},getStyleSheetFactory:function(){return Op},getXpath:function(){return pd},injectStyle:function(){return B2},isArrayLike:function(){return cu},isContextObject:function(){return du},isContextProp:function(){return Xi},isContextSpec:function(){return Mp},isHidden:function(){return H2},isHtmlElement:function(){return pu},isLabelledFramesSelector:function(){return fu},isLabelledShadowDomSelector:function(){return Yi},isNodeInContext:function(){return mu},isShadowRoot:function(){return _i},isValidLang:function(){return eo},isXHTML:function(){return Ja},matchAncestry:function(){return hu},matches:function(){return is},matchesExpression:function(){return ga},matchesSelector:function(){return pa},memoize:function(){return it},mergeResults:function(){return xi},nodeLookup:function(){return Ue},nodeSerializer:function(){return Qt},nodeSorter:function(){return gu},objectHasOwn:function(){return yr},parseCrossOriginStylesheet:function(){return bu},parseSameOriginStylesheet:function(){return Bp},parseStylesheet:function(){return vu},parseTabindex:function(){return wr},performanceTimer:function(){return Ye},pollyfillElementsFromPoint:function(){return Hp},preload:function(){return Up},preloadCssom:function(){return jp},preloadMedia:function(){return Gp},processMessage:function(){return lu},publishMetaData:function(){return Ki},querySelectorAll:function(){return Ut},querySelectorAllFilter:function(){return Dr},queue:function(){return hr},respondable:function(){return cr},ruleShouldRun:function(){return Jp},select:function(){return yu},sendCommandToFrame:function(){return Id},serializeError:function(){return Ji},setScrollState:function(){return yA},shadowSelect:function(){return wA},shadowSelectAll:function(){return wu},shouldPreload:function(){return Wp},toArray:function(){return Yl},tokenList:function(){return Mt},uniqueArray:function(){return Dn},uuid:function(){return Aw},validInputTypes:function(){return Qi},validLangs:function(){return am}});function zb(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var Xn=zb,Gb=qe.CANTTELL_PRIO,Ub=qe.FAIL_PRIO,Yn=[];Yn[qe.PASS_PRIO]=true,Yn[qe.CANTTELL_PRIO]=null,Yn[qe.FAIL_PRIO]=false;var $l=["any","all","none"];function zl(e,t){return $l.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Wb(e){var t=Object.assign({},e);zl(t,function(n,i){var o=typeof n.result>"u"?-1:Yn.indexOf(n.result);n.priority=o!==-1?o:qe.CANTTELL_PRIO,i==="none"&&(n.priority===qe.PASS_PRIO?n.priority=qe.FAIL_PRIO:n.priority===qe.FAIL_PRIO&&(n.priority=qe.PASS_PRIO));});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return $l.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)});}),[Gb,Ub].includes(t.priority)?t.impact=Xn(qe.impact,a):t.impact=null,zl(t,function(n){delete n.result,delete n.priority;}),t.result=qe.results[t.priority],delete t.priority,t}var Gl=Wb;function Ba(e){var t=f._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,Ul(e.nodes)),delete e.nodes,e}function Xb(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Gl(i);if(Array.isArray(i.node))return Ba(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Xn(qe.results,r,t.result);}else t.result="inapplicable";qe.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=qe.resultGroupMap[i.result];t[o].push(i);});var a=qe.FAIL_GROUP;if(t[a].length===0&&(a=qe.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Xn(qe.impact,n)||null;}else t.impact=null;return t}var Ul=Xb;function Fo(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),qe.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function Yb(e){var t={};return qe.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Fo(t,r,qe.CANTTELL_GROUP):r.result===qe.NA?Fo(t,r,qe.NA_GROUP):qe.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Fo(t,r,a);});}),t}var Wl=Yb;function Xl(e,t,r){var a=p.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:Xl(e.parentNode,t,r)}var Kb=Xl;function Jb(e,t){if(!e)throw new Error(t)}var We=Jb;function Zb(e){return Array.prototype.slice.call(e)}var Yl=Zb;function Qb(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var ft=Qb;function ey(){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 Ha(e,t){return [e.substring(0,t),e.substring(t)]}function Va(e){return e.replace(/\s+$/,"")}function ty(e){var t=e,r="",a="",n="",i="",o="",s="";if(e.includes("#")){var u=Ha(e,e.indexOf("#")),l=he(u,2);e=l[0],s=l[1];}if(e.includes("?")){var c=Ha(e,e.indexOf("?")),d=he(c,2);e=d[0],o=d[1];}if(e.includes("://")){var m=e.split("://"),D=he(m,2);r=D[0],e=D[1];var C=Ha(e,e.indexOf("/")),T=he(C,2);a=T[0],e=T[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var R=Ha(e,e.indexOf("/")),L=he(R,2);a=L[0],e=L[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var P=Ha(a,a.indexOf(":")),M=he(P,2);a=M[0],n=M[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:s}}function ry(){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=ty(e),o=i.path,s=i.domain,u=i.hash,l=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(u)return l&&(l+u).length<=n?Va(l+u):l.length<2&&u.length>2&&u.length<=n?Va(u):void 0;if(s&&s.length<n&&o.length<=1||o==="/"+l&&s&&r&&s!==r&&(s+o).length<=n)return Va(s+o);var c=l.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||l.length>2)&&l.length<=n&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!ey(l))return Va(l)}}var Kl=ry;function ay(e){return e.attributes instanceof p.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var ja=ay,ny=(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}})(),pa=ny,Jl={};nr(Jl,{ArrayFrom:function(){return sd.default},Colorjs:function(){return rt},CssSelectorParser:function(){return Zl.CssSelectorParser},doT:function(){return Mr.default},emojiRegexText:function(){return Ro},memoize:function(){return Ql.default}});var iy=fr(Ag()),oy=fr(Eg());fr(Cg());var sy=fr(Hg()),uy=fr(Jg()),ly=fr(Rl());"hasOwn"in Object||(Object.hasOwn=sy.default),"values"in Object||(Object.values=uy.default),"Promise"in p||iy.default.polyfill(),"Uint32Array"in p||(p.Uint32Array=oy.Uint32Array),p.Uint32Array&&("some"in p.Uint32Array.prototype||Object.defineProperty(p.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in p.Uint32Array.prototype||Object.defineProperty(p.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=ly.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),p.Node&&!("isConnected"in p.Node.prototype)&&Object.defineProperty(p.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Zl=fr(Tv()),Mr=fr(Fv()),Ro=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},Ql=fr(Bb());function vt(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var a=t[0].length,n=t[0].map(function(o,s){return t.map(function(u){return u[s]})}),i=e.map(function(o){return n.map(function(s){var u=0;if(!Array.isArray(o)){var l=tt(s),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;u+=o*d;}}catch(D){l.e(D);}finally{l.f();}return u}for(var m=0;m<o.length;m++)u+=o[m]*(s[m]||0);return u})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function $a(e){return Nr(e)==="string"}function Nr(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Kn(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 ec(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 tc(e){return e[e.length-1]}function Jn(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function rc(e,t,r){return (r-e)/(t-e)}function Io(e,t,r){return Jn(t[0],t[1],rc(e[0],e[1],r))}function ac(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 cy=Object.freeze({__proto__:null,isString:$a,type:Nr,toPrecision:Kn,parseFunction:ec,last:tc,interpolate:Jn,interpolateInv:rc,mapRange:Io,parseCoordGrammar:ac,multiplyMatrices:vt}),dy=(function(){function e(){rr(this,e);}return ar(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),qr=new dy,mr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},ur={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Lo(e){return Array.isArray(e)?e:ur[e]}function Zn(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Lo(e),t=Lo(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(qr.run("chromatic-adaptation-start",n),n.M||(n.W1===ur.D65&&n.W2===ur.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===ur.D50&&n.W2===ur.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),qr.run("chromatic-adaptation-end",n),n.M)return vt(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var fy=75e-6,lr=(G=new WeakSet,K=new WeakMap,(function(){function e(t){var r,a,n,i,o,s,u;rr(this,e),rl(this,G),Lr(this,K,void 0),this.id=t.id,this.name=t.name,this.base=t.base?lr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var l=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=l;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=Lo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var m=this.formats[d];m.type||(m.type="function"),m.name||(m.name=d);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((u=this.formats)!==null&&u!==void 0&&u.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Nt(K,this,ca(G,this,py).call(this).reverse()),qr.run("colorspace-init-end",this);}return ar(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?fy:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,u){var l=o[u];if(l.type!=="angle"&&l.range){if(Number.isNaN(s))return true;var c=he(l.range,2),d=c[0],m=c[1];return (d===void 0||s>=d-i)&&(m===void 0||s<=m+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(te(r)==="object")return r=ca(G,this,nc).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=ca(G,this,nc).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}if(r=lr.get(r),this===r)return a;a=a.map(function(m){return Number.isNaN(m)?0:m});for(var i=tr(K,this),o=tr(K,r),s,u,l=0;l<i.length&&i[l]===o[l];l++)s=i[l],u=l;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>u;c--)a=i[c].toBase(a);for(var d=u+1;d<o.length;d++)a=o[d].fromBase(a);return a}},{key:"from",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}return r=lr.get(r),r.to(this,a)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var a in this.coords){var n,i=this.coords[a],o=i.range||i.refRange;r.push((n=o?.min)!==null&&n!==void 0?n:0);}return r}}],[{key:"all",get:function(){return Ee(new Set(Object.values(lr.registry)))}},{key:"register",value:function(r,a){if(arguments.length===1&&(a=arguments[0],r=a.id),a=this.get(a),this.registry[r]&&this.registry[r]!==a)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=a,arguments.length===1&&a.aliases){var n=tt(a.aliases),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;this.register(o,a);}}catch(s){n.e(s);}finally{n.f();}}return a}},{key:"get",value:function(r){if(!r||r instanceof lr)return r;var a=Nr(r);if(a==="string"){var n=lr.registry[r.toLowerCase()];if(!n)throw new TypeError('No color space found with id = "'.concat(r,'"'));return n}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return lr.get.apply(lr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=Nr(r),i,o;if(n==="string")if(r.includes(".")){var s=r.split("."),u=he(s,2);i=u[0],o=u[1];}else i=void 0,o=r;else if(Array.isArray(r)){var l=he(r,2);i=l[0],o=l[1];}else i=r.space,o=r.coordId;if(i=lr.get(i),i||(i=a),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(n=Nr(o),n==="number"||n==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return Oe({space:i,id:c[0],index:o},c[1])}i=lr.get(i);var d=o.toLowerCase(),m=0;for(var D in i.coords){var C,T=i.coords[D];if(D.toLowerCase()===d||((C=T.name)===null||C===void 0?void 0:C.toLowerCase())===d)return Oe({space:i,id:D,index:m},T);m++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function nc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=ac(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=he(r,2);n[0];var o=n[1],s=e.coordGrammar[a][0],u=o.range||o.refRange,l=s.range,c="";return s=="<percentage>"?(l=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:u,toRange:l,suffix:c}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],s=o.fromRange,u=o.toRange,l=o.suffix;return s&&u&&(n=Io(s,u,n)),n=Kn(n,a),l&&(n+=l),n})};}return e}function py(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ke=lr;ul(ke,"registry",{}),ul(ke,"DEFAULT_FORMAT",{type:"functions",name:"color"});var Yt=new ke({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Bt=(function(e){function t(r){var a,n;if(rr(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=Yt),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var u=vt(r.toXYZ_M,s);return n.white!==n.base.white&&(u=Zn(n.white,n.base.white,u)),u}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Zn(n.base.white,n.white,s),vt(r.fromXYZ_M,s)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=Re(this,t,[r])}return ht(t,e),ar(t)})(ke);function ic(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(qr.run("parse-start",r),r.color)return r.color;if(r.parsed=ec(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=tt(ke.all),s;try{var u=function(){var pe=s.value,Z=pe.getFormat("color");if(Z){var oe;if(n===Z.id||(oe=Z.ids)!==null&&oe!==void 0&&oe.includes(n)){var de=Object.keys(pe.coords).length,me=Array(de).fill(0);return me.forEach(function(Ce,Pe){return me[Pe]=r.parsed.args[Pe]||0}),{v:{spaceId:pe.id,coords:me,alpha:i}}}}},l;for(o.s();!(s=o.n()).done;)if(l=u(),l)return l.v}catch(ae){o.e(ae);}finally{o.f();}var c="";if(n in ke.registry){var d,m=(d=ke.registry[n].formats)===null||d===void 0||(d=d.functions)===null||d===void 0||(d=d.color)===null||d===void 0?void 0:d.id;m&&(c="Did you mean color(".concat(m,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else {var D=tt(ke.all),C;try{var T=function(){var pe=C.value,Z=pe.getFormat(a);if(Z&&Z.type==="function"){var oe=1;(Z.lastAlpha||tc(r.parsed.args).alpha)&&(oe=r.parsed.args.pop());var de=r.parsed.args;return Z.coordGrammar&&Object.entries(pe.coords).forEach(function(me,Ce){var Pe,we=he(me,2),Te=we[0],ue=we[1],_e=Z.coordGrammar[Ce],j=(Pe=de[Ce])===null||Pe===void 0?void 0:Pe.type;if(_e=_e.find(function(Le){return Le==j}),!_e){var ge=ue.name||Te;throw new TypeError("".concat(j," not allowed for ").concat(ge," in ").concat(a,"()"))}var ie=_e.range;j==="<percentage>"&&(ie||(ie=[0,1]));var ve=ue.range||ue.refRange;ie&&ve&&(de[Ce]=Io(ie,ve,de[Ce]));}),{v:{spaceId:pe.id,coords:de,alpha:oe}}}},R;for(D.s();!(C=D.n()).done;)if(R=T(),R)return R.v}catch(ae){D.e(ae);}finally{D.f();}}}else {var L=tt(ke.all),P;try{for(L.s();!(P=L.n()).done;){var M=P.value;for(var N in M.formats){var B=M.formats[N];if(B.type==="custom"&&!(B.test&&!B.test(r.str))){var U=B.parse(r.str);if(U){var J;return (J=U.alpha)!==null&&J!==void 0||(U.alpha=1),U}}}}}catch(ae){L.e(ae);}finally{L.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function Ke(e){if(!e)throw new TypeError("Empty color reference");$a(e)&&(e=ic(e));var t=e.space||e.spaceId;return t instanceof ke||(e.space=ke.get(t)),e.alpha===void 0&&(e.alpha=1),e}function za(e,t){return t=ke.get(t),t.from(e)}function Kt(e,t){var r=ke.resolveCoord(t,e.space),a=r.space,n=r.index,i=za(e,a);return i[n]}function oc(e,t,r){return t=ke.get(t),e.coords=t.to(e.space,r),e}function Br(e,t,r){if(e=Ke(e),arguments.length===2&&Nr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Br(e,n,a[n]);}else {typeof r=="function"&&(r=r(Kt(e,t)));var i=ke.resolveCoord(t,e.space),o=i.space,s=i.index,u=za(e,o);u[s]=r,oc(e,o,u);}return e}var Po=new ke({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Yt,fromBase:function(t){return Zn(Yt.white,"D50",t)},toBase:function(t){return Zn("D50",Yt.white,t)},formats:{color:{}}}),my=216/24389,sc=24/116,Qn=24389/27,Oo=ur.D50,Vt=new ke({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Oo,base:Po,fromBase:function(t){var r=t.map(function(n,i){return n/Oo[i]}),a=r.map(function(n){return n>my?Math.cbrt(n):(Qn*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]>sc?Math.pow(r[0],3):(116*r[0]-16)/Qn,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Qn,r[2]>sc?Math.pow(r[2],3):(116*r[2]-16)/Qn];return a.map(function(n,i){return n*Oo[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function ei(e){return (e%360+360)%360}function hy(e,t){if(e==="raw")return t;var r=t.map(ei),a=he(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var Ga=new ke({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Vt,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o,s=.02;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),ei(o)]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];return n<0&&(n=0),isNaN(i)&&(i=0),[a,n*Math.cos(i*Math.PI/180),n*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),uc=Math.pow(25,7),ti=Math.PI,lc=180/ti,ma=ti/180;function Mo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,s=r.kH,u=s===void 0?1:s,l=Vt.from(e),c=he(l,3),d=c[0],m=c[1],D=c[2],C=Ga.from(Vt,[d,m,D])[1],T=Vt.from(t),R=he(T,3),L=R[0],P=R[1],M=R[2],N=Ga.from(Vt,[L,P,M])[1];C<0&&(C=0),N<0&&(N=0);var B=(C+N)/2,U=Math.pow(B,7),J=.5*(1-Math.sqrt(U/(U+uc))),ae=(1+J)*m,pe=(1+J)*P,Z=Math.sqrt(Math.pow(ae,2)+Math.pow(D,2)),oe=Math.sqrt(Math.pow(pe,2)+Math.pow(M,2)),de=ae===0&&D===0?0:Math.atan2(D,ae),me=pe===0&&M===0?0:Math.atan2(M,pe);de<0&&(de+=2*ti),me<0&&(me+=2*ti),de*=lc,me*=lc;var Ce=L-d,Pe=oe-Z,we=me-de,Te=de+me,ue=Math.abs(we),_e;Z*oe===0?_e=0:ue<=180?_e=we:we>180?_e=we-360:we<-180?_e=we+360:console.log("the unthinkable has happened");var j=2*Math.sqrt(oe*Z)*Math.sin(_e*ma/2),ge=(d+L)/2,ie=(Z+oe)/2,ve=Math.pow(ie,7),Le;Z*oe===0?Le=Te:ue<=180?Le=Te/2:Te<360?Le=(Te+360)/2:Le=(Te-360)/2;var ye=Math.pow(ge-50,2),xe=1+.015*ye/Math.sqrt(20+ye),ze=1+.045*ie,Je=1;Je-=.17*Math.cos((Le-30)*ma),Je+=.24*Math.cos(2*Le*ma),Je+=.32*Math.cos((3*Le+6)*ma),Je-=.2*Math.cos((4*Le-63)*ma);var at=1+.015*ie*Je,pt=30*Math.exp(-1*Math.pow((Le-275)/25,2)),Dt=2*Math.sqrt(ve/(ve+uc)),yt=-1*Math.sin(2*pt*ma)*Dt,st=Math.pow(Ce/(n*xe),2);return st+=Math.pow(Pe/(o*ze),2),st+=Math.pow(j/(u*at),2),st+=yt*(Pe/(o*ze))*(j/(u*at)),Math.sqrt(st)}var gy=75e-6;function Ua(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?gy:a;e=Ke(e),t=ke.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function Wa(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Hr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?mr.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if($a(arguments[1])&&(i=arguments[1]),i=ke.get(i),Ua(e,i,{epsilon:0}))return e;var o=Jt(e,i);if(a!=="clip"&&!Ua(e,i)){var s=Hr(Wa(o),{method:"clip",space:i});if(Mo(e,s)>2){for(var u=ke.resolveCoord(a),l=u.space,c=u.id,d=Jt(o,l),m=u.range||u.refRange,D=m[0],C=.01,T=D,R=Kt(d,c);R-T>C;){var L=Wa(d);L=Hr(L,{space:i,method:"clip"});var P=Mo(d,L);P-2<C?T=Kt(d,c):R=Kt(d,c),Br(d,c,(T+R)/2);}o=Jt(d,i);}else o=s;}if(a==="clip"||!Ua(o,i,{epsilon:0})){var M=Object.values(i.coords).map(function(N){return N.range||[]});o.coords=o.coords.map(function(N,B){var U=he(M[B],2),J=U[0],ae=U[1];return J!==void 0&&(N=Math.max(J,N)),ae!==void 0&&(N=Math.min(N,ae)),N});}return i!==e.space&&(o=Jt(o,e.space)),e.coords=o.coords,e}Hr.returns="color";function Jt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=Ke(e),t=ke.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Hr(i)),i}Jt.returns="color";function ri(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?mr.precision:n,o=a.format,s=o===void 0?"default":o,u=a.inGamut,l=u===void 0?true:u,c=Ae(a,g),d;e=Ke(e);var m=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:ke.DEFAULT_FORMAT,l||(l=s.toGamut);var D=e.coords;if(D=D.map(function(N){return N||0}),l&&!Ua(e)&&(D=Hr(Wa(e),l===true?void 0:l).coords),s.type==="custom")if(c.precision=i,s.serialize)d=s.serialize(D,e.alpha,c);else throw new TypeError("format ".concat(m," can only be used to parse colors, not for serialization"));else {var C=s.name||"color";s.serializeCoords?D=s.serializeCoords(D,i):i!==null&&(D=D.map(function(N){return Kn(N,i)}));var T=Ee(D);if(C==="color"){var R,L=s.id||((R=s.ids)===null||R===void 0?void 0:R[0])||e.space.id;T.unshift(L);}var P=e.alpha;i!==null&&(P=Kn(P,i));var M=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(P):"";d="".concat(C,"(").concat(T.join(s.commas?", ":" ")).concat(M,")");}return d}var vy=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],by=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],ai=new Bt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:vy,fromXYZ_M:by,formats:{color:{}}}),ni=1.09929682680944,cc=.018053968510807,dc=new Bt({id:"rec2020",name:"REC.2020",base:ai,toBase:function(t){return t.map(function(r){return r<cc*4.5?r/4.5:Math.pow((r+ni-1)/ni,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=cc?ni*Math.pow(r,.45)-(ni-1):4.5*r})},formats:{color:{}}}),yy=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],wy=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],fc=new Bt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:yy,fromXYZ_M:wy}),Dy=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],xy=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],pc=new Bt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:Dy,fromXYZ_M:xy,formats:{color:{}}}),mc={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]},hc=Array(3).fill("<percentage> | <number>[0, 255]"),gc=Array(3).fill("<number>[0, 255]"),Xa=new Bt({id:"srgb",name:"sRGB",base:pc,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:hc},rgb_number:{name:"rgb",commas:true,coords:gc,noAlpha:true},color:{},rgba:{coords:hc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:gc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(a){r.push(parseInt(a,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?true:n;r<1&&t.push(r),t=t.map(function(u){return Math.round(u*255)});var o=i&&t.every(function(u){return u%17===0}),s=t.map(function(u){return o?(u/17).toString(16):u.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=mc.black,r.alpha=0):r.coords=mc[t],r.coords)return r}}}}),vc=new Bt({id:"p3",name:"P3",base:fc,fromBase:Xa.fromBase,toBase:Xa.toBase,formats:{color:{id:"display-p3"}}});if(mr.display_space=Xa,typeof CSS<"u"&&(se=CSS)!==null&&se!==void 0&&se.supports)for(var No=0,bc=[Vt,dc,vc];No<bc.length;No++){var qo=bc[No],_y=qo.getMinCoords(),Ay={space:qo,coords:_y,alpha:1},Ey=ri(Ay);if(CSS.supports("color",Ey)){mr.display_space=qo;break}}function Cy(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?mr.display_space:a,i=Ae(r,w),o=ri(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!mr.display_space)o=new String(o),o.color=e;else {var s=Jt(e,n);o=new String(ri(s,i)),o.color=s;}return o}function yc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=ke.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,s){var u=n[s];return isNaN(o)||isNaN(u)?i:i+Math.pow(u-o,2)},0))}function Sy(e,t){return e=Ke(e),t=Ke(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Vr(e){return Kt(e,[Yt,"y"])}function wc(e,t){Br(e,[Yt,"y"],t);}function ky(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Vr(this)},set:function(r){wc(this,r);}});}var Ty=Object.freeze({__proto__:null,getLuminance:Vr,setLuminance:wc,register:ky});function Fy(e,t){e=Ke(e),t=Ke(t);var r=Math.max(Vr(e),0),a=Math.max(Vr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var Ry=.56,Iy=.57,Ly=.62,Py=.65,Dc=.022,Oy=1.414,My=.1,Ny=5e-4,qy=1.14,xc=.027,By=1.14;function _c(e){return e>=Dc?e:e+Math.pow(Dc-e,Oy)}function ha(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function Hy(e,t){t=Ke(t),e=Ke(e);var r,a,n,i,o,s;t=Jt(t,"srgb");var u=he(t.coords,3);i=u[0],o=u[1],s=u[2];var l=ha(i)*.2126729+ha(o)*.7151522+ha(s)*.072175;e=Jt(e,"srgb");var c=he(e.coords,3);i=c[0],o=c[1],s=c[2];var d=ha(i)*.2126729+ha(o)*.7151522+ha(s)*.072175,m=_c(l),D=_c(d),C=D>m;return Math.abs(D-m)<Ny?a=0:C?(r=Math.pow(D,Ry)-Math.pow(m,Iy),a=r*qy):(r=Math.pow(D,Py)-Math.pow(m,Ly),a=r*By),Math.abs(a)<My?n=0:a>0?n=a-xc:n=a+xc,n*100}function Vy(e,t){e=Ke(e),t=Ke(t);var r=Math.max(Vr(e),0),a=Math.max(Vr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}var i=r+a;return i===0?0:(r-a)/i}var jy=5e4;function $y(e,t){e=Ke(e),t=Ke(t);var r=Math.max(Vr(e),0),a=Math.max(Vr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?jy:(r-a)/a}function zy(e,t){e=Ke(e),t=Ke(t);var r=Kt(e,[Vt,"l"]),a=Kt(t,[Vt,"l"]);return Math.abs(r-a)}var Gy=216/24389,Ac=24/116,ii=24389/27,Bo=ur.D65,Ho=new ke({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Bo,base:Yt,fromBase:function(t){var r=t.map(function(n,i){return n/Bo[i]}),a=r.map(function(n){return n>Gy?Math.cbrt(n):(ii*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]>Ac?Math.pow(r[0],3):(116*r[0]-16)/ii,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/ii,r[2]>Ac?Math.pow(r[2],3):(116*r[2]-16)/ii];return a.map(function(n,i){return n*Bo[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Vo=Math.pow(5,.5)*.5+.5;function Uy(e,t){e=Ke(e),t=Ke(t);var r=Kt(e,[Ho,"l"]),a=Kt(t,[Ho,"l"]),n=Math.abs(Math.pow(r,Vo)-Math.pow(a,Vo)),i=Math.pow(n,1/Vo)*Math.SQRT2-40;return i<7.5?0:i}var oi=Object.freeze({__proto__:null,contrastWCAG21:Fy,contrastAPCA:Hy,contrastMichelson:Vy,contrastWeber:$y,contrastLstar:zy,contrastDeltaPhi:Uy});function Wy(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};$a(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Ae(a,_);if(!n){var o=Object.keys(oi).map(function(u){return u.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=Ke(e),t=Ke(t);for(var s in oi)if("contrast"+n.toLowerCase()===s.toLowerCase())return oi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Ec(e){var t=za(e,Yt),r=he(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return [4*a/o,9*n/o]}function Cc(e){var t=za(e,Yt),r=he(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function Xy(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Ec(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Cc(this)}});}var Yy=Object.freeze({__proto__:null,uv:Ec,xy:Cc,register:Xy});function Ky(e,t){return yc(e,t,"lab")}var Jy=Math.PI,Sc=Jy/180;function Zy(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=Vt.from(e),u=he(s,3),l=u[0],c=u[1],d=u[2],m=Ga.from(Vt,[l,c,d]),D=he(m,3),C=D[1],T=D[2],R=Vt.from(t),L=he(R,3),P=L[0],M=L[1],N=L[2],B=Ga.from(Vt,[P,M,N])[1];C<0&&(C=0),B<0&&(B=0);var U=l-P,J=C-B,ae=c-M,pe=d-N,Z=Math.pow(ae,2)+Math.pow(pe,2)-Math.pow(J,2),oe=.511;l>=16&&(oe=.040975*l/(1+.01765*l));var de=.0638*C/(1+.0131*C)+.638,me;Number.isNaN(T)&&(T=0),T>=164&&T<=345?me=.56+Math.abs(.2*Math.cos((T+168)*Sc)):me=.36+Math.abs(.4*Math.cos((T+35)*Sc));var Ce=Math.pow(C,4),Pe=Math.sqrt(Ce/(Ce+1900)),we=de*(Pe*me+1-Pe),Te=Math.pow(U/(n*oe),2);return Te+=Math.pow(J/(o*de),2),Te+=Z/Math.pow(we,2),Math.sqrt(Te)}var kc=203,jo=new ke({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:Yt,fromBase:function(t){return t.map(function(r){return Math.max(r*kc,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/kc,0)})}}),si=1.15,ui=.66,Tc=2610/Math.pow(2,14),Qy=Math.pow(2,14)/2610,Fc=3424/Math.pow(2,12),Rc=2413/Math.pow(2,7),Ic=2392/Math.pow(2,7),e0=1.7*2523/Math.pow(2,5),Lc=Math.pow(2,5)/(1.7*2523),li=-0.56,$o=16295499532821565e-27,t0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],r0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],a0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],n0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Pc=new ke({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:jo,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o=si*a-(si-1)*i,s=ui*n-(ui-1)*a,u=vt(t0,[o,s,i]),l=u.map(function(R){var L=Fc+Rc*Math.pow(R/1e4,Tc),P=1+Ic*Math.pow(R/1e4,Tc);return Math.pow(L/P,e0)}),c=vt(a0,l),d=he(c,3),m=d[0],D=d[1],C=d[2],T=(1+li)*m/(1+li*m)-$o;return [T,D,C]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o=(a+$o)/(1+li-li*(a+$o)),s=vt(n0,[o,n,i]),u=s.map(function(R){var L=Fc-Math.pow(R,Lc),P=Ic*Math.pow(R,Lc)-Rc,M=1e4*Math.pow(L/P,Qy);return M}),l=vt(r0,u),c=he(l,3),d=c[0],m=c[1],D=c[2],C=(d+(si-1)*D)/si,T=(m+(ui-1)*C)/ui;return [C,T,D]},formats:{color:{}}}),zo=new ke({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Pc,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),ei(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function i0(e,t){var r=zo.from(e),a=he(r,3),n=a[0],i=a[1],o=a[2],s=zo.from(t),u=he(s,3),l=u[0],c=u[1],d=u[2],m=n-l,D=i-c;Number.isNaN(o)&&Number.isNaN(d)?(o=0,d=0):Number.isNaN(o)?o=d:Number.isNaN(d)&&(d=o);var C=o-d,T=2*Math.sqrt(i*c)*Math.sin(C/2*(Math.PI/180));return Math.sqrt(Math.pow(m,2)+Math.pow(D,2)+Math.pow(T,2))}var Oc=3424/4096,Mc=2413/128,Nc=2392/128,qc=2610/16384,o0=2523/32,s0=16384/2610,Bc=32/2523,u0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],l0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],c0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],d0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Go=new ke({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:jo,fromBase:function(t){var r=vt(u0,t);return f0(r)},toBase:function(t){var r=p0(t);return vt(d0,r)},formats:{color:{}}});function f0(e){var t=e.map(function(r){var a=Oc+Mc*Math.pow(r/1e4,qc),n=1+Nc*Math.pow(r/1e4,qc);return Math.pow(a/n,o0)});return vt(l0,t)}function p0(e){var t=vt(c0,e),r=t.map(function(a){var n=Math.max(Math.pow(a,Bc)-Oc,0),i=Mc-Nc*Math.pow(a,Bc);return 1e4*Math.pow(n/i,s0)});return r}function m0(e,t){var r=Go.from(e),a=he(r,3),n=a[0],i=a[1],o=a[2],s=Go.from(t),u=he(s,3),l=u[0],c=u[1],d=u[2];return 720*Math.sqrt(Math.pow(n-l,2)+.25*Math.pow(i-c,2)+Math.pow(o-d,2))}var h0=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],g0=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],v0=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],b0=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],ci=new ke({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:Yt,fromBase:function(t){var r=vt(h0,t),a=r.map(function(n){return Math.cbrt(n)});return vt(v0,a)},toBase:function(t){var r=vt(b0,t),a=r.map(function(n){return Math.pow(n,3)});return vt(g0,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function y0(e,t){var r=ci.from(e),a=he(r,3),n=a[0],i=a[1],o=a[2],s=ci.from(t),u=he(s,3),l=u[0],c=u[1],d=u[2],m=n-l,D=i-c,C=o-d;return Math.sqrt(Math.pow(m,2)+Math.pow(D,2)+Math.pow(C,2))}var Uo=Object.freeze({__proto__:null,deltaE76:Ky,deltaECMC:Zy,deltaE2000:Mo,deltaEJz:i0,deltaEITP:m0,deltaEOK:y0});function Ya(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};$a(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?mr.deltaE:n,o=Ae(a,E);e=Ke(e),t=Ke(t);for(var s in Uo)if("deltae"+i.toLowerCase()===s.toLowerCase())return Uo[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function w0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ke.get("oklch","lch"),a=[r,"l"];return Br(e,a,function(n){return n*(1+t)})}function D0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ke.get("oklch","lch"),a=[r,"l"];return Br(e,a,function(n){return n*(1-t)})}var x0=Object.freeze({__proto__:null,lighten:w0,darken:D0});function Hc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[Ke(e),Ke(t)];if(e=n[0],t=n[1],Nr(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,s=o.space,u=o.outputSpace,l=o.premultiplied,c=Ka(e,t,{space:s,outputSpace:u,premultiplied:l});return c(r)}function Vc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(Wo(e)){a=e,r=t;var n=he(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,u=i.steps,l=u===void 0?2:u,c=i.maxSteps,d=c===void 0?1e3:c,m=Ae(i,x);if(!a){var D=[Ke(e),Ke(t)];e=D[0],t=D[1],a=Ka(e,t,m);}var C=Ya(e,t),T=o>0?Math.max(l,Math.ceil(C/o)+1):l,R=[];if(d!==void 0&&(T=Math.min(T,d)),T===1)R=[{p:.5,color:a(.5)}];else {var L=1/(T-1);R=Array.from({length:T},function(ae,pe){var Z=pe*L;return {p:Z,color:a(Z)}});}if(o>0)for(var P=R.reduce(function(ae,pe,Z){if(Z===0)return 0;var oe=Ya(pe.color,R[Z-1].color,s);return Math.max(ae,oe)},0);P>o;){P=0;for(var M=1;M<R.length&&R.length<d;M++){var N=R[M-1],B=R[M],U=(B.p+N.p)/2,J=a(U);P=Math.max(P,Ya(J,N.color),Ya(J,B.color)),R.splice(M,0,{p:U,color:a(U)}),M++;}}return R=R.map(function(ae){return ae.color}),R}function Ka(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Wo(e)){var a=e,n=t;return Ka.apply(void 0,Ee(a.rangeArgs.colors).concat([Oe({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,s=r.progression,u=r.premultiplied;e=Ke(e),t=Ke(t),e=Wa(e),t=Wa(t);var l={colors:[e,t],options:r};if(i?i=ke.get(i):i=ke.registry[mr.interpolationSpace]||e.space,o=o?ke.get(o):i,e=Jt(e,i),t=Jt(t,i),e=Hr(e),t=Hr(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],m=[Kt(e,d),Kt(t,d)],D=m[0],C=m[1],T=hy(c,[D,C]),R=he(T,2);D=R[0],C=R[1],Br(e,d,D),Br(t,d,C);}return u&&(e.coords=e.coords.map(function(L){return L*e.alpha}),t.coords=t.coords.map(function(L){return L*t.alpha})),Object.assign(function(L){L=s?s(L):L;var P=e.coords.map(function(B,U){var J=t.coords[U];return Jn(B,J,L)}),M=Jn(e.alpha,t.alpha,L),N={space:i,coords:P,alpha:M};return u&&(N.coords=N.coords.map(function(B){return B/M})),o!==i&&(N=Jt(N,o)),N},{rangeArgs:l})}function Wo(e){return Nr(e)==="function"&&!!e.rangeArgs}mr.interpolationSpace="lab";function _0(e){e.defineFunction("mix",Hc,{returns:"color"}),e.defineFunction("range",Ka,{returns:"function<color>"}),e.defineFunction("steps",Vc,{returns:"array<color>"});}var A0=Object.freeze({__proto__:null,mix:Hc,steps:Vc,range:Ka,isRange:Wo,register:_0}),jc=new ke({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Xa,fromBase:function(t){var r=Math.max.apply(Math,Ee(t)),a=Math.min.apply(Math,Ee(t)),n=he(t,3),i=n[0],o=n[1],s=n[2],u=NaN,l=0,c=(a+r)/2,d=r-a;if(d!==0){switch(l=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:u=(o-s)/d+(o<s?6:0);break;case o:u=(s-i)/d+2;break;case s:u=(i-o)/d+4;}u=u*60;}return [u,l*100,c*100]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];a=a%360,a<0&&(a+=360),n/=100,i/=100;function o(s){var u=(s+a/30)%12,l=n*Math.min(i,1-i);return i-l*Math.max(-1,Math.min(u-3,9-u,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),$c=new ke({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:jc,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return [a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return [a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),E0=new ke({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:$c,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var s=n/o;return [a,0,s*100]}var u=1-i,l=u===0?0:1-n/u;return [a,l*100,u*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),C0=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],S0=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],zc=new Bt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:C0,fromXYZ_M:S0}),k0=new Bt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:zc,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"}}}),T0=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],F0=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Gc=new Bt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Po,toXYZ_M:T0,fromXYZ_M:F0}),R0=1/512,I0=16/512,L0=new Bt({id:"prophoto",name:"ProPhoto",base:Gc,toBase:function(t){return t.map(function(r){return r<I0?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=R0?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),P0=new ke({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:ci,fromBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o,s=2e-4;return Math.abs(n)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),ei(o)]},toBase:function(t){var r=he(t,3),a=r[0],n=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=n*Math.cos(i*Math.PI/180),s=n*Math.sin(i*Math.PI/180)),[a,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Uc=203,Wc=2610/Math.pow(2,14),O0=Math.pow(2,14)/2610,M0=2523/Math.pow(2,5),Xc=Math.pow(2,5)/2523,Yc=3424/Math.pow(2,12),Kc=2413/Math.pow(2,7),Jc=2392/Math.pow(2,7),N0=new Bt({id:"rec2100pq",name:"REC.2100-PQ",base:ai,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,Xc)-Yc,0)/(Kc-Jc*Math.pow(r,Xc)),O0);return a*1e4/Uc})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*Uc/1e4,0),n=Yc+Kc*Math.pow(a,Wc),i=1+Jc*Math.pow(a,Wc);return Math.pow(n/i,M0)})},formats:{color:{id:"rec2100-pq"}}}),Zc=.17883277,Qc=.28466892,ed=.55991073,Xo=3.7743,q0=new Bt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:ai,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Xo:Math.exp((r-ed)/Zc+Qc)/12*Xo})},fromBase:function(t){return t.map(function(r){return r/=Xo,r<=1/12?Math.sqrt(3*r):Zc*Math.log(12*r-Qc)+ed})},formats:{color:{id:"rec2100-hlg"}}}),td={};qr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=rd(e.W1,e.W2,e.options.method));}),qr.add("chromatic-adaptation-end",function(e){e.M||(e.M=rd(e.W1,e.W2,e.options.method));});function di(e){var t=e.id;e.toCone_M;e.fromCone_M;td[t]=arguments[0];}function rd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=td[r],n=vt(a.toCone_M,e),i=he(n,3),o=i[0],s=i[1],u=i[2],l=vt(a.toCone_M,t),c=he(l,3),d=c[0],m=c[1],D=c[2],C=[[d/o,0,0],[0,m/s,0],[0,0,D/u]],T=vt(C,a.toCone_M),R=vt(a.fromCone_M,T);return R}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(ur,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),ur.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var B0=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],H0=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],ad=new Bt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:ur.ACES,toXYZ_M:B0,fromXYZ_M:H0,formats:{color:{}}}),fi=Math.pow(2,-16),Yo=-0.35828683,pi=(Math.log2(65504)+9.72)/17.52,V0=new Bt({id:"acescc",name:"ACEScc",coords:{r:{range:[Yo,pi],name:"Red"},g:{range:[Yo,pi],name:"Green"},b:{range:[Yo,pi],name:"Blue"}},referred:"scene",base:ad,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-fi)*2:a<pi?Math.pow(2,a*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:{}}}),nd=Object.freeze({__proto__:null,XYZ_D65:Yt,XYZ_D50:Po,XYZ_ABS_D65:jo,Lab_D65:Ho,Lab:Vt,LCH:Ga,sRGB_Linear:pc,sRGB:Xa,HSL:jc,HWB:E0,HSV:$c,P3_Linear:fc,P3:vc,A98RGB_Linear:zc,A98RGB:k0,ProPhoto_Linear:Gc,ProPhoto:L0,REC_2020_Linear:ai,REC_2020:dc,OKLab:ci,OKLCH:P0,Jzazbz:Pc,JzCzHz:zo,ICTCP:Go,REC_2100_PQ:N0,REC_2100_HLG:q0,ACEScg:ad,ACEScc:V0}),rt=(be=new WeakMap,(function(){function e(){var t=this;rr(this,e),Lr(this,be,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=Ke(n[0]));var o,s,u;r?(o=r.space||r.spaceId,s=r.coords,u=r.alpha):(o=n[0],s=n[1],u=n[2]),Nt(be,this,ke.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=u<1?u:1;for(var l=0;l<this.coords.length;l++)this.coords[l]==="NaN"&&(this.coords[l]=NaN);var c=function(D){Object.defineProperty(t,D,{get:function(){return t.get(D)},set:function(T){return t.set(D,T)}});};for(var d in tr(be,this).coords)c(d);}return ar(e,[{key:"space",get:function(){return tr(be,this)}},{key:"spaceId",get:function(){return tr(be,this).id}},{key:"clone",value:function(){return new rt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=Cy.apply(void 0,[this].concat(a));return i.color=new rt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof rt)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return Fe(rt,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,s=n.returns,u=function(){var c=a.apply(void 0,arguments);if(s==="color")c=rt.get(c);else if(s==="function<color>"){var d=c;c=function(){var D=d.apply(void 0,arguments);return rt.get(D)},Object.assign(c,d);}else s==="array<color>"&&(c=c.map(function(m){return rt.get(m)}));return c};r in rt||(rt[r]=u),o&&(rt.prototype[r]=function(){for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return u.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var a in r)rt.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(rt);else for(var a in r)rt.defineFunction(a,r[a]);}}])})());rt.defineFunctions({get:Kt,getAll:za,set:Br,setAll:oc,to:Jt,equals:Sy,inGamut:Ua,toGamut:Hr,distance:yc,toString:ri}),Object.assign(rt,{util:cy,hooks:qr,WHITES:ur,Space:ke,spaces:ke.registry,parse:ic,defaults:mr});for(var Ko=0,id=Object.keys(nd);Ko<id.length;Ko++){var j0=id[Ko];ke.register(nd[j0]);}for(var od in ke.registry)Jo(od,ke.registry[od]);qr.add("colorspace-init-end",function(e){var t;Jo(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Jo(r,e);});});function Jo(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(rt.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,u){try{return ke.resolveCoord([t,u]),!0}catch{}return Reflect.has(s,u)},get:function(s,u,l){if(u&&te(u)!=="symbol"&&!(u in s)){var c=ke.resolveCoord([t,u]),d=c.index;if(d>=0)return s[d]}return Reflect.get(s,u,l)},set:function(s,u,l,c){if(u&&te(u)!=="symbol"&&!(u in s)||u>=0){var d=ke.resolveCoord([t,u]),m=d.index;if(m>=0)return s[m]=l,n.setAll(e,s),true}return Reflect.set(s,u,l,c)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}rt.extend(Uo),rt.extend({deltaE:Ya}),rt.extend(x0),rt.extend({contrast:Wy}),rt.extend(Yy),rt.extend(Ty),rt.extend(A0),rt.extend(oi);var sd=fr(Rl());Mr.default.templateSettings.strip=false,f._memoizedFns=[];function $0(e){var t=(0, Ql.default)(e);return f._memoizedFns.push(t),t}var it=$0,z0=it(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),Ja=z0;function Zo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||v;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 G0=["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"],U0=31,W0=/([\\"])/g,X0=/(\r\n|\r|\n)/g;function Qo(e){return e.replace(W0,"\\$1").replace(X0,"\\a ")}function ud(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=Kl(e.getAttribute(r));n?a=ft(t.name)+'$="'+Qo(n)+'"':a=ft(t.name)+'="'+Qo(e.getAttribute(r))+'"';}else a=ft(r)+'="'+Qo(t.value)+'"';return a}function es(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function ld(e){return !G0.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<U0)}function mi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var u=s.nodeName;t.tags[u]?t.tags[u]++:t.tags[u]=1,s.classList&&Array.from(s.classList).forEach(function(l){var c=ft(l);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(ja(s)).filter(ld).forEach(function(l){var c=ud(s,l);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(a.push(r),r=o.children.slice());!r.length&&a.length;)r=a.pop();};r.length;)n();return t}function Y0(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=ft(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(es)}function K0(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&pa(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function J0(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||v,r="#"+ft(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function cd(e){var t=Ja(v);return ft(t?e.localName:e.nodeName.toLowerCase())}function Z0(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(ja(e)).filter(ld).forEach(function(i){var o=ud(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(es)}function Q0(e,t){var r="",a,n=Y0(e,t),i=Z0(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=cd(e)):(a=n.concat(i),a.sort(es),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=cd(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 ew(e,t,r){if(!f._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=J0(e);s||(s=Q0(e,f._selectorData),s+=K0(e,s)),i?i=s+" > "+i:i=s,!o||o.length>qe.selectorSimilarFilterLimit?o=rw(r,i):o=o.filter(function(u){return pa(u,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function tw(e,t){return Zo(ew,e,t)}var ts=it(tw),rw=it(function(e,t){return Array.from(e.querySelectorAll(t))});function dd(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,a=e.parentNode,n="";if(t!=="head"&&t!=="body"&&a?.children.length>1){var i=Array.prototype.indexOf.call(a.children,e)+1;n=":nth-child(".concat(i,")");}return r?dd(r)+" > "+t+n:t+n}function hi(e,t){return Zo(dd,e,t)}function fd(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=fd(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&ft(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function aw(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 nw(e){var t=fd(e);return aw(t)}var pd=nw,Za={},iw={set:function(t,r){ow(t),Za[t]=r;},get:function(t,r){if(sw(r),t in Za)return Za[t];if(typeof r=="function"){var a=r();return We(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),Za[t]}},clear:function(){Za={};}};function ow(e){We(typeof e=="string","key must be a string, "+te(e)+" given"),We(e!=="","key must not be empty");}function sw(e){We(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+te(e)+" given");}var Ne=iw;function uw(e,t){var r=t||e;return Ne.get("nodeMap")?Ne.get("nodeMap").get(r):null}var He=uw;function md(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 rs(s,a)}var u=lw(e);return u.length>a?cw(e,{maxLength:a,attrLimit:i}):u}function lw(e){var t=e.outerHTML;return !t&&typeof p.XMLSerializer=="function"&&(t=new p.XMLSerializer().serializeToString(e)),t||""}function cw(e,t){var r=t.maxLength,a=t.attrLimit,n=Ja(e.ownerDocument||v)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(ja(e)).map(function(C){var T=C.name,R=C.value;return {name:T,value:R}}),o=i.reduce(function(C,T){var R=T.name,L=T.value;return C+R.length+L.length+4},0);2+n.length+o>r&&i.forEach(function(C){C.name=rs(C.name,a),C.value=rs(C.value,a);});var s="<".concat(n),u=">",l=" ...>",c=tt(i),d;try{for(c.s();!(d=c.n()).done;){var m=d.value,D=" ".concat(m.name,'="').concat(m.value,'"');if(s.length+D.length>r-l.length){u=l;continue}s+=D;}}catch(C){c.e(C);}finally{c.f();}return s+u}function rs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var hd="DqElm.RunOptions",ra=it(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Ne.get(hd))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof Et?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=He(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,!f._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:md(this._element);}return this});ra.prototype={get selector(){return this.spec.selector||[ts(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[hi(this.element)]},get xpath(){return this.spec.xpath||[pd(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}},ra.fromFrame=function(t,r,a){var n=ra.mergeSpecs(t,a);return new ra(a.element,r,n)},ra.mergeSpecs=function(t,r){return Oe({},t,{selector:[].concat(Ee(r.selector),Ee(t.selector)),ancestry:[].concat(Ee(r.ancestry),Ee(t.ancestry)),xpath:[].concat(Ee(r.xpath),Ee(t.xpath)),nodeIndexes:[].concat(Ee(r.nodeIndexes),Ee(t.nodeIndexes)),fromFrame:true})},ra.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Ne.set(hd,{elementRef:r,absolutePaths:a});};var Zt=ra;function dw(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){p.Node&&(i instanceof p.Node||i instanceof Et?i=[i]:i=Yl(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Et&&(o=o.actualNode),o instanceof p.Node){var s=new Zt(o);e.relatedNodes.push(s);}}));}}}var as=dw;function Er(e){return ns(e,new Map)}function ns(e,t){var r,a;if(e===null||te(e)!=="object"||(r=p)!==null&&r!==void 0&&r.Node&&e instanceof p.Node||(a=p)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof p.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(s){n.push(ns(s,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=ns(e[o],t);return i}var Qa=new Zl.CssSelectorParser;Qa.registerSelectorPseudos("not"),Qa.registerSelectorPseudos("is"),Qa.registerNestingOperators(">"),Qa.registerAttrEqualityMods("^","$","*","~");var gd=Qa;function is(e,t){var r=gi(t);return r.some(function(a){return ga(e,a)})}function fw(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function pw(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function mw(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function hw(e,t){return !t.id||e.props.id===t.id}function gw(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return ga(e,a)});if(r.name==="is")return r.expressions.some(function(a){return ga(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function vd(e,t){return fw(e,t)&&pw(e,t)&&mw(e,t)&&hw(e,t)&&gw(e,t)}var en=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),os=/\\/g;function vw(e){if(e)return e.map(function(t){var r=t.name.replace(os,""),a=(t.value||"").replace(os,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+en(a));break;case "$=":i=new RegExp(en(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+en(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+en(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 bw(e){if(e)return e.map(function(t){return t=t.replace(os,""),{value:t,regexp:new RegExp("(^|\\s)"+en(t)+"(\\s|$)")}})}function yw(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=bd(r)),{name:t.name,expressions:r,value:t.value}})}function bd(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:vw(a.attrs),classes:bw(a.classNames),pseudos:yw(a.pseudos)}),a=a.rule;return r})}function gi(e){var t=gd.parse(e);return t=t.selectors?t.selectors:[t],bd(t)}function yd(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=vd(e,i);!o&&a&&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&&yd(e.parent,t,r-1,i.combinator===" ");}return o}function ga(e,t,r){return yd(e,t,t.length-1,r)}function ww(e,t){for(;e;){if(is(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=ww;function vi(){}function ss(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Dw(){var e=[],t=0,r=0,a=vi,n=false,i,o=function(D){i=D,setTimeout(function(){i!=null&&ta("Uncaught error (of queue)",i);},1);},s=o;function u(m){return function(D){e[m]=D,r-=1,!r&&a!==vi&&(n=true,a(e));}}function l(m){return a=vi,s(m),e}function c(){for(var m=e.length;t<m;t++){var D=e[t];try{D.call(null,u(t),l);}catch(C){l(C);}}}var d={defer:function(D){if(te(D)==="object"&&D.then&&D.catch){var C=D;D=function(R,L){C.then(R).catch(L);};}if(ss(D),i===void 0){if(n)throw new Error("Queue already completed");return e.push(D),++r,c(),d}},then:function(D){if(ss(D),a!==vi)throw new Error("queue `then` already set");return i||(a=D,r||(n=true,a(e))),d},catch:function(D){if(ss(D),s!==o)throw new Error("queue `catch` already set");return i?(D(i),i=null):s=D,d},abort:l};return d}var hr=Dw,va,ba,us=p.crypto||p.msCrypto;if(!ba&&us&&us.getRandomValues){var wd=new Uint8Array(16);ba=function(){return us.getRandomValues(wd),wd};}if(!ba){var Dd=new Array(16);ba=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),Dd[t]=r>>>((t&3)<<3)&255;return Dd};}for(var xd=typeof p.Buffer=="function"?p.Buffer:Array,ls=[],_d={},ya=0;ya<256;ya++)ls[ya]=(ya+256).toString(16).substr(1),_d[ls[ya]]=ya;function xw(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++]=_d[i]);});n<16;)t[a+n++]=0;return t}function cs(e,t){var r=t||0,a=ls;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 jr=ba(),_w=[jr[0]|1,jr[1],jr[2],jr[3],jr[4],jr[5]],Ad=(jr[6]<<8|jr[7])&16383,ds=0,fs=0;function Ed(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:Ad,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:fs+1,u=o-ds+(s-fs)/1e4;if(u<0&&e.clockseq==null&&(i=i+1&16383),(u<0||o>ds)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ds=o,fs=s,Ad=i,o+=122192928e5;var l=((o&268435455)*1e4+s)%4294967296;n[a++]=l>>>24&255,n[a++]=l>>>16&255,n[a++]=l>>>8&255,n[a++]=l&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var d=e.node||_w,m=0;m<6;m++)n[a+m]=d[m];return t||cs(n)}function aa(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new xd(16):null,e=null),e=e||{};var n=e.random||(e.rng||ba)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||cs(n)}va=aa,va.v1=Ed,va.v4=aa,va.parse=xw,va.unparse=cs,va.BufferClass=xd,f._uuid=Ed();var Aw=aa,Ew=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Cw(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:Cd()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Sw(e){var t;try{t=JSON.parse(e);}catch{return}if(kw(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,s=te(t.error)==="object"?Tw(t.error):t.payload;return {topic:a,message:s,messageId:i,channelId:n,keepalive:!!o}}}function kw(e){return e!==null&&te(e)==="object"&&typeof e.channelId=="string"&&e.source===Cd()}function Tw(e){var t=e.message||"Unknown error occurred",r=Ew.includes(e.name)?e.name:"Error",a=p[r]||Error;return e.stack&&(t+=`
|
|
365
|
+
`+e.stack.replace(e.message,"")),new a(t)}function Cd(){var e="axeAPI",t="";return typeof f<"u"&&f._audit&&f._audit.application&&(e=f._audit.application),typeof f<"u"&&(t=f.version),e+"."+t}function ps(e){kd(e),We(p.parent===e,"Source of the response must be the parent window.");}function Sd(e){kd(e),We(e.parent===p,"Respondable target must be a frame in the current window");}function kd(e){We(p!==e,"Messages can not be sent to the same window.");}var tn={};function Fw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;We(!Object.prototype.hasOwnProperty.call(tn,e),"A replyHandler already exists for this message channel."),tn[e]={replyHandler:t,sendToParent:r};}function Rw(e){return Object.prototype.hasOwnProperty.call(tn,e)?tn[e]:void 0}function Iw(e){delete tn[e];}var bi=[];function ms(){var e="".concat(aa(),":").concat(aa());return bi.includes(e)?ms():(bi.push(e),e)}function Lw(e){return bi.includes(e)?false:(bi.push(e),true)}function hs(e,t,r,a){if(r?ps(e):Sd(e),t.message instanceof Error&&!r)return f.log(t.message),false;var n=Cw(Oe({messageId:ms()},t)),i=f._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&Fw(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 Pw(e,t,r){if(!e.parent!==p)return f.log(t);try{hs(e,{topic:null,channelId:r,message:t,messageId:ms(),keepalive:!0},!0);}catch(a){return f.log(a)}}function Td(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};hs(e,s,r,o);}}function Ow(e){var t=f._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Mw(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Sw(a)||{},o=i.channelId,s=i.message,u=i.messageId;if(!Ow(r)||!Lw(u))return;if(s instanceof Error&&n.parent!==p)return f.log(s),!1;try{if(i.topic){var l=Td(n,o);ps(n),t(i,l);}else Nw(n,i);}catch(c){Pw(n,c,o);}}catch(c){return f.log(c),false}}function Nw(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Rw(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?ps(e):Sd(e);var u=Td(e,r,s);!n&&r&&Iw(r);try{o(a,n,u);}catch(l){f.log(l),u(l,n);}}}var qw={open:function(t){if(typeof p.addEventListener=="function"){var r=function(n){Mw(n,t);};return p.addEventListener("message",r,false),function(){p.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof p.addEventListener!="function"?false:hs(t,r,false,a)}};function Fd(e){e.updateMessenger(qw);}var yi,Rd,wi={};function cr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(aa(),":").concat(aa()),keepalive:a};return Rd(e,i,n)}function Bw(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(wi,r)?wi[r]:void 0;if(i)try{i(a,n,t);}catch(o){f.log(o),t(o,n);}}cr.updateMessenger=function(t){var r=t.open,a=t.post;We(typeof r=="function","open callback must be a function"),We(typeof a=="function","post callback must be a function"),yi&&yi();var n=r(Bw);n?(We(typeof n=="function","open callback must return a cleanup function"),yi=n):yi=null,Rd=a;},cr.subscribe=function(t,r){We(typeof r=="function","Subscriber callback must be a function"),We(!Object.prototype.hasOwnProperty.call(wi,t),"Topic ".concat(t," is already registered to.")),wi[t]=r;},cr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p;return !!t.frameElement},Fd(cr);function Id(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){ta("Frame does not have a content window",e),r(null);return}if(s===0){Ld(e,t,r,a);return}var u=setTimeout(function(){u=setTimeout(function(){t.debug?a(Pd("No response from frame",e)):r(null);},0);},s);cr(o,"axe.ping",null,void 0,function(){clearTimeout(u),Ld(e,t,r,a);});}function Ld(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,s=e.contentWindow,u=setTimeout(function(){a(Pd("Axe in frame timed out",e));},o);cr(s,"axe.start",t,void 0,function(l){clearTimeout(u),l instanceof Error?a(l):r(l);});}function Pd(e,t){var r;return f._tree&&(r=ts(t)),new Error(e+": "+(r||t))}var rn=null,an={update:function(t){We(te(t)==="object","serializer must be an object"),rn=t;},toSpec:function(t){return an.dqElmToSpec(new Zt(t))},dqElmToSpec:function(t,r){var a;return t instanceof Zt?(r&&(t=Hw(t,r)),typeof((a=rn)===null||a===void 0?void 0:a.toSpec)=="function"?rn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=rn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?rn.mergeSpecs(t,r):Zt.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Oe({},r,{nodes:an.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=Ae(r,A);n.node=an.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];n[s]=n[s].map(function(u){var l=u.relatedNodes,c=Ae(u,k);return c.relatedNodes=l.map(an.dqElmToSpec),c});}return n})}},Qt=an;function Hw(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new Zt(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:a?e.ancestry:[":root"],xpath:n?e.xpath:"/"}),e.fromFrame=r,e}function Vw(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Di=Vw;function jw(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&te(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var nn=jw;function $w(e,t,r){e.forEach(function(a){a.node=Qt.mergeSpecs(a.node,r);var n=Di(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return Qt.mergeSpecs(o,r)});});});}function zw(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Od(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(Ee(t)));return}}e.push.apply(e,Ee(t));}function Gw(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Uw(e,t){var r=[];return e.forEach(function(a){var n=Gw(a);if(!(!n||!n.length)){var i=Ww(a);n.forEach(function(o){o.nodes&&i&&$w(o.nodes,t,i);var s=nn(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&zw(s.nodes,o.nodes),o.error){var u;(u=s.error)!==null&&u!==void 0||(s.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return Od(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Od(){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 xi=Uw;function Ww(e){return e.frameElement?Qt.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Md(e,t,r,a,n,i){t=Oe({},t,{elementRef:false});var o=hr(),s=e.frames;s.forEach(function(u){var l=u.node,c=Ae(u,S);o.defer(function(d,m){var D={options:t,command:r,parameter:a,context:c};function C(T){return d(T?{results:T,frameElement:l}:null)}Id(l,D,C,m);});}),o.then(function(u){n(xi(u,t));}).catch(i);}function Cr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function Nd(){for(var e={},t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return r.forEach(function(n){if(!(!n||te(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||te(n[s])!=="object"||Array.isArray(e[s])?e[s]=n[s]:e[s]=Nd(e[s],n[s]);}}),e}var gs=Nd;function Xw(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 vs=Xw,Yw=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function Kw(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Yw.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var _i=Kw,bs={};nr(bs,{createGrid:function(){return ln},findElmsInContext:function(){return qd},findNearbyElms:function(){return Ri},findUp:function(){return Da},findUpVirtual:function(){return wa},focusDisabled:function(){return ks},getComposedParent:function(){return Ct},getElementByReference:function(){return Fs},getElementCoordinates:function(){return Ds},getElementStack:function(){return wf},getModalDialog:function(){return hf},getNodeGrid:function(){return Fi},getOverflowHiddenAncestors:function(){return sn},getRootNode:function(){return Rt},getScrollOffset:function(){return Qd},getTabbableElements:function(){return Df},getTargetRects:function(){return Li},getTargetSize:function(){return xf},getTextElementStack:function(){return Xs},getViewportSize:function(){return Ai},getVisibleChildTextRects:function(){return Ws},hasContent:function(){return Hi},hasContentVirtual:function(){return vn},hasLangText:function(){return Ks},idrefs:function(){return gr},insertedIntoFocusOrder:function(){return dp},isCurrentPageLink:function(){return Ts},isFixedPosition:function(){return Ei},isFocusable:function(){return bt},isHTML5:function(){return mp},isHiddenForEveryone:function(){return $r},isHiddenWithCSS:function(){return __},isInTabOrder:function(){return er},isInTextBlock:function(){return Js},isInert:function(){return Ii},isModalOpen:function(){return bn},isMultiline:function(){return gp},isNativelyFocusable:function(){return Ls},isNode:function(){return L_},isOffscreen:function(){return Ci},isOpaque:function(){return $_},isSkipLink:function(){return eu},isVisible:function(){return Y_},isVisibleOnScreen:function(){return $t},isVisibleToScreenReaders:function(){return lt},isVisualContent:function(){return Ys},reduceToElementsBelowFloating:function(){return vp},shadowElementsFromPoint:function(){return Z_},urlPropsFromAttribute:function(){return n2},visuallyContains:function(){return bp},visuallyOverlaps:function(){return tu},visuallySort:function(){return Rs}});function Jw(e){var t=e.getRootNode&&e.getRootNode()||v;return t===e&&(t=v),t}var on=Jw,Rt=on;function Zw(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,s=ft(r);return t.nodeType===9||t.nodeType===11?o=t:o=Rt(t),Array.from(o.querySelectorAll(i+"["+a+"="+s+"]"))}var qd=Zw;function Qw(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&&!pa(r,t)&&r!==v.documentElement);return !r||!pa(r,t)?null:r}var wa=Qw;function eD(e,t){return wa(He(e),t)}var Da=eD;function ys(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 Bd=it(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Bd(t.parent))}),sn=Bd,tD=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,rD=/(\w+)\((\d+)/;function Hd(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Vd(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 $d(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function zd(e){return e.attr("aria-hidden")==="true"}function Gd(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Ud(e){var t=Tr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function Wd(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=sn(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!aD(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!ys(i,s)})}function Xd(e){var t=e.getComputedStylePropertyValue("clip").match(tD),r=e.getComputedStylePropertyValue("clip-path").match(rD);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 ws(e,t){var r=jt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=on(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Ut(f._tree,'img[usemap="#'.concat(ft(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Yd(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 aD(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 nD=[Vd,jd,$d,Yd];function $r(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=Ue(e).vNode,r?Kd(e,n):Jd(e,n)}var Kd=it(function(t,r){return Hd(t)?true:t.actualNode?!!(nD.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Jd=it(function(t,r){return Kd(t,r)?true:t.parent?Jd(t.parent,true):false});function Zd(e){if(e.assignedSlot)return Zd(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Ct=Zd;function iD(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 Qd=iD;function oD(e){var t=Qd(v),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 Ds=oD;function sD(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 Ai=sD;function Ei(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Ue(e),n=a.vNode;return n?r?ef(n):tf(n):false}var ef=it(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),tf=it(function(t){return ef(t)?true:t.parent?tf(t.parent):false});function uD(e,t){for(e=Ct(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Ct(e);}return true}function lD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Ue(e),n=a.domNode;if(n){var i=v.documentElement,o=p.getComputedStyle(n),s=p.getComputedStyle(v.body||i).getPropertyValue("direction"),u=Ei(n),l=u?n.getBoundingClientRect():Ds(n);if(l.top===0&&l.bottom===0||l.left===0&&l.right===0)return false;if(l.bottom<=0&&(uD(n,l.bottom)||o.position==="absolute"))return true;var c=Ai(p);if(u&&l.top>=c.height)return true;var d=Math.max(i.scrollWidth,c.width);return !!((u||s==="rtl")&&l.left>=d||(u||s==="ltr")&&l.right<=0)}}var Ci=lD,cD=[Gd,Ud,Wd,Xd,Ci];function $t(e){return e=Ue(e).vNode,xs(e)}var xs=it(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!ws(t,xs):$r(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&cD.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?xs(t.parent,true):true});function _s(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new p.DOMRect(i,r,a-i,n-r)}function Si(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 rf={};nr(rf,{getBoundingRect:function(){return _s},getIntersectionRect:function(){return ki},getOffset:function(){return nf},getRectCenter:function(){return un},hasVisualOverlap:function(){return As},isPointInRect:function(){return Si},rectHasMinimumSize:function(){return Sr},rectsOverlap:function(){return ys},splitRects:function(){return Es}});function ki(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new p.DOMRect(r,n,a-r,i-n)}function un(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new p.DOMPoint(t+a/2,r+n/2)}var af=.05;function Sr(e,t){var r=t.width,a=t.height;return r+af>=e&&a+af>=e}function nf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Li(e),n=Li(t);return !a.length||!n.length?null:a.reduce(function(i,o){var s=un(o),u=tt(n),l;try{for(u.s();!(l=u.n()).done;){var c=l.value;if(Si(s,c))return 0;var d=dD(s,c),m=of(s,d);i=Math.min(i,m);}}catch(L){u.e(L);}finally{u.f();}var D=xf(t);if(Sr(r*2,D))return i;var C=n.reduce(_s),T=un(C),R=of(s,T)-r;return Math.max(0,Math.min(i,R))},1/0)}function dD(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 of(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function As(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:Rs(e,t)>0}function Es(e,t){var r=Array.isArray(e)?e:[e],a=tt(t),n;try{var i=function(){var s=n.value;if(r=r.reduce(function(u,l){return u.concat(fD(l,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function fD(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=r<t.bottom&&n>t.top,s=a<t.right&&i>t.left,u=[];if(Ti(t.top,r,n)&&s&&u.push({top:r,left:a,bottom:t.top,right:i}),Ti(t.right,a,i)&&o&&u.push({top:r,left:t.right,bottom:n,right:i}),Ti(t.bottom,r,n)&&s&&u.push({top:t.bottom,right:i,bottom:n,left:a}),Ti(t.left,a,i)&&o&&u.push({top:r,left:a,bottom:n,right:t.left}),u.length===0){if(mD(e,t))return [];u.push(e);}return u.map(pD)}var Ti=function(t,r,a){return t>r&&t<a};function pD(e){return new p.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function mD(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var sf=0,hD=.1,uf=.2,lf=.3,Cs=0;function ln(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ne.get("gridCreated")&&!r)return qe.gridSize;if(Ne.set("gridCreated",true),!r){var a=He(v.documentElement);if(a||(a=new ru(v.documentElement)),Cs=0,a._stackingOrder=[ff(sf,Cs++,null)],t??(t=new Ss),pf(t,a),Tr(a.actualNode)){var n=new Ss(a);a._subGrid=n;}}for(var i=v.createTreeWalker(e,p.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=He(o);s&&s.parent?r=s.parent:o.assignedSlot?r=He(o.assignedSlot):o.parentElement?r=He(o.parentElement):o.parentNode&&He(o.parentNode)&&(r=He(o.parentNode)),s||(s=new f.VirtualNode(o,r)),s._stackingOrder=gD(s,r,Cs++);var u=yD(s,r),l=u?u._subGrid:t;if(Tr(s.actualNode)){var c=new Ss(s);s._subGrid=c;}var d=s.boundingClientRect;d.width!==0&&d.height!==0&&$t(o)&&pf(l,s),_i(o)&&ln(o.shadowRoot,l,s),o=i.nextNode();}return qe.gridSize}function cf(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var u=e.getComputedStylePropertyValue("clip-path");if(u&&u!=="none")return true;var l=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(l!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var d=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(d!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var m=e.getComputedStylePropertyValue("will-change");if(m==="transform"||m==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var D=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(D)||a!=="auto"&&df(t))}function df(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function gD(e,t,r){var a=t._stackingOrder.slice();if(cf(e,t)){var n=a.findIndex(function(o){var s=o.stackLevel;return [sf,uf,lf].includes(s)});n!==-1&&a.splice(n,a.length-n);}var i=vD(e,t);return i!==null&&a.push(ff(i,r,e)),a}function ff(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function vD(e,t){var r=bD(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?lf:e.getComputedStylePropertyValue("float")!=="none"?uf:cf(e,t)?hD:null:parseInt(r)}function bD(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!df(t)?"auto":e.getComputedStylePropertyValue("z-index")}function yD(e,t){for(var r=null,a=[e];t;){if(Tr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=He(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function pf(e,t){var r=sn(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(s,u){return s&&ki(s,u.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var Ss=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;rr(this,e),this.container=t,this.cells=[];}return ar(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/qe.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;We(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),u=this.toGridIndex(i);We(Si({y:s,x:u},this.boundaries),"Element midpoint exceeds the grid bounds");var l=(a=this.cells[s-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=l[u-l._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,s=n.top,u=n.bottom;this.boundaries&&(r=_s(this.boundaries,r)),this.boundaries=r,mf(this.cells,s,u,function(l,c){mf(l,i,o,function(d,m){a(d,{row:c,col:m});});});}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-s),n=this.toGridIndex(n+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new p.DOMRect(o,a,n-o,i-a)}}])})();function mf(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,u=o;u<=s;u++){var l,c;(c=e[l=u])!==null&&c!==void 0||(e[l]=[]),a(e[u],u+e._negativeIndex);}}function Fi(e){ln();var t=Ue(e),r=t.vNode;return r._grid}function Ri(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=Fi(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=Ei(e),o=a.getGridPositionOfRect(n,r),s=[];return a.loopGridPosition(o,function(u){var l=tt(u),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;d&&d!==e&&!s.includes(d)&&i===Ei(d)&&s.push(d);}}catch(m){l.e(m);}finally{l.f();}}),s}var wD=it(function(){var t;if(!f._tree)return null;var r=Dr(f._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=v.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&$t(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=v.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=DD(n))!==null&&i!==void 0?i:{},s=o.vNode,u=o.rect;if(!s)return false;var l=v.elementsFromPoint(u.left+1,u.top+1);return !l.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),hf=wD;function DD(e){ln();var t=f._tree[0]._grid,r=new p.DOMRect(0,0,p.innerWidth,p.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var s=0;s<o.length;s++){var u=o[s],l=u.boundingClientRect,c=ki(l,r);if(u.props.nodeName!=="html"&&u!==e&&u.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:u,rect:c}}}}}function Ii(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?gf(e,a):vf(e,a)}var gf=it(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=hf();if(a&&!Cr(a,t))return true}return false}),vf=it(function(t,r){return gf(t,r)?true:t.parent?vf(t.parent,true):false}),xD=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function _D(e){return xD.includes(e)}function AD(e){var t=Ue(e),r=t.vNode;if(_D(r.props.nodeName)&&r.hasAttr("disabled")||Ii(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?$r(r):false}var ks=AD,ED=/^\/\#/,CD=/^#[!/]/;function Ts(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(ED.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(CD.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=p.location)===null||t===void 0?void 0:t.origin)!="string"||p.location.origin.indexOf("://")===-1)return null;var u=p.location.origin+p.location.pathname,l;return i?l="".concat(n,"//").concat(i).concat(o?":".concat(o):""):l=p.location.origin,s?l+=(s[0]!=="/"?"/":"")+s:l+=p.location.pathname,l===u}function SD(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Ts(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=v.getElementById(r);return a||(a=v.getElementsByName(r),a.length?a[0]:null)}var Fs=SD;function Rs(e,t){ln();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(R){return R.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(R){return R.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var s=p.Node,u=s.DOCUMENT_POSITION_FOLLOWING,l=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,d=n.compareDocumentPosition(i),m=d&u?1:-1,D=d&l||d&c,C=bf(e),T=bf(t);return C===T||D?m:T-C}function bf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:yf(e)?1:0}function yf(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=yf(e.parent);return e._isFloated=r,r}function Is(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=un(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),s=n.filter(function(l){return l.clientRects.some(function(c){var d=c.left,m=c.top;return i<Math.floor(d+c.width)&&i>=Math.floor(d)&&o<Math.floor(m+c.height)&&o>=Math.floor(m)})}),u=e.container;return u&&(s=Is(u._grid,u.boundingClientRect,true).concat(s)),r||(s=s.sort(Rs).map(function(l){return l.actualNode}).concat(v.documentElement).filter(function(l,c,d){return d.indexOf(l)===c})),s}function kD(e){var t=Fi(e);if(!t)return [];var r=He(e).boundingClientRect;return Is(t,r)}var wf=kD;function TD(e){var t=Ut(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=wr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var Df=TD;function FD(e){var t=Ue(e),r=t.vNode;if(!r||ks(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !Ut(r,"summary").length}return false}var Ls=FD;function bt(e){var t=Ue(e),r=t.vNode;if(r.props.nodeType!==1||ks(r))return false;if(Ls(r))return true;var a=wr(r.attr("tabindex"));return a!==null}function er(e){var t=Ue(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=wr(r.attr("tabindex"));return a<=-1?false:bt(r)}var Li=it(RD);function RD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=Ri(e).filter(function(i){return As(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!ID(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 Es(r,n)}function ID(e,t){return Cr(e,t)&&!er(t)}var xf=it(LD);function LD(e,t){var r=Li(e);return PD(r,t)}function PD(e,t){return e.reduce(function(r,a){var n=Sr(t,r),i=Sr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}var cn={};nr(cn,{accessibleText:function(){return na},accessibleTextVirtual:function(){return St},autocomplete:function(){return oa},formControlValue:function(){return Qf},formControlValueMethods:function(){return Vs},hasUnicode:function(){return zs},isHumanInterpretable:function(){return Us},isIconLigature:function(){return Gs},isValidAutocomplete:function(){return op},label:function(){return c_},labelText:function(){return js},labelVirtual:function(){return qi},nativeElementType:function(){return f_},nativeTextAlternative:function(){return tp},nativeTextMethods:function(){return ep},removeUnicode:function(){return gn},sanitize:function(){return Ie},subtreeText:function(){return Ur},titleText:function(){return Oi},unsupported:function(){return $f},visible:function(){return sp},visibleTextNodes:function(){return p_},visibleVirtual:function(){return br}});function OD(e,t){e=e.actualNode||e;try{var r=Rt(e),a=[],n=e.getAttribute(t);if(n){n=Mt(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var gr=OD;function MD(e,t){var r=He(e);return St(r,t)}var na=MD;function ND(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ue(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=gr(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var s=na(o,Oe({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(s):s},"")}var dn=ND;function fn(e){var t=Ue(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var qD={"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}},_f=qD,BD={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"]}},Af=BD,HD={"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"]}},VD=HD,jD={"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}},$D=jD,zD={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"]}},GD=zD,UD={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},WD=UD,Ef={ariaAttrs:_f,ariaRoles:Oe({},Af,VD,$D),htmlElms:GD,cssColors:WD},xa=Oe({},Ef);function XD(e){Object.keys(xa).forEach(function(t){e[t]&&(xa[t]=gs(xa[t],e[t]));});}function YD(){Object.keys(xa).forEach(function(e){xa[e]=Ef[e];});}var Xe=xa;function KD(e){var t=Xe.ariaRoles[e];return t?!!t.unsupported:false}var Ps=KD;function JD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=Xe.ariaRoles[e],o=Ps(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var pn=JD;function ZD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof Et?e:He(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Mt(i):[i],s=o.find(function(u){return !n&&u.substr(0,4)==="doc-"?false:pn(u,{allowAbstract:a})});return s||null}var $e=ZD;function QD(e){return Object.keys(Xe.htmlElms).filter(function(t){var r=Xe.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var Os=QD;function ex(){return Ne.get("globalAriaAttrs",function(){return Object.keys(Xe.ariaAttrs).filter(function(e){return Xe.ariaAttrs[e].global})})}var zr=ex;function tx(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var i=r[a].cells;t[a]=t[a]||[];for(var o=0,s=0,u=i.length;s<u;s++)for(var l=0;l<i[s].colSpan;l++){for(var c=i[s].getAttribute("rowspan"),d=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,m=0;m<d;m++){for(t[a+m]=t[a+m]||[];t[a+m][o];)o++;t[a+m][o]=i[s];}o++;}}return t}var kr=it(tx);function rx(e,t){var r,a;for(t||(t=kr(Da(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var Pi=it(rx);function Ms(e){var t=Ue(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=$e(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(n==="col"||n==="row")return n;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=kr(Da(a,"table")),s=Pi(a,o),u=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(u)return "col";var l=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return l?"row":"auto"}function ax(e){return ["col","auto"].indexOf(Ms(e))!==-1}var _a=ax;function nx(e){return ["row","auto"].includes(Ms(e))}var Aa=nx;function ix(e){return e?e.replace(/\r\n/g,`
|
|
366
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ie=ix,Cf=function(){return Ne.get("sectioningContentSelector",function(){return Os("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Sf=function(){return Ne.get("sectioningContentPlusMainSelector",function(){return Cf()+" , main:not([role]), [role=main]"})};function Ns(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(Ie(dn(e))||Ie(fn(e))||a&&e?.props.nodeType===1&&Ie(e.attr("title")))}var ox={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,Cf())&&!Ns(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,Sf());return r?null:"contentinfo"},form:function(t){return Ns(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=jt(t,Sf());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=zr().find(function(n){return t.hasAttr(n)});return r&&!a&&!bt(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=gr(t.actualNode,"list").filter(function(n){return !!n})[0];r=a&&a.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return Ns(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=jt(t,"table"),a=$e(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(_a(t))return "columnheader";if(Aa(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},qs=ox;function sx(e,t){var r=te(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var ia=sx;function ux(e,t){return ia(!!St(e),t)}var kf=ux;function lx(e,t){var r=te(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(a){return ia(e(a),t[a])})}var Bs=lx;function cx(e,t){return e=Ue(e).vNode,Bs(function(r){return e.attr(r)},t)}var Tf=cx;function Ff(e,t){return !!t(e)}function dx(e,t){return ia($e(e),t)}var Rf=dx;function fx(e,t){return ia(vr(e),t)}var If=fx;function px(e,t){return e=Ue(e).vNode,ia(e.props.nodeName,t)}var Lf=px;function mx(e,t){return e=Ue(e).vNode,Bs(function(r){return e.props[r]},t)}var Pf=mx;function hx(e,t){return ia(Be(e),t)}var Of=hx,Mf={hasAccessibleName:kf,attributes:Tf,condition:Ff,explicitRole:Rf,implicitRole:If,nodeName:Lf,properties:Pf,semanticRole:Of};function Nf(e,t){return e=Ue(e).vNode,Array.isArray(t)?t.some(function(r){return Nf(e,r)}):typeof t=="string"?is(e,t):Object.keys(t).every(function(r){if(!Mf[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=Mf[r],n=t[r];return a(e,n)})}var qf=Nf;function gx(e,t){return qf(e,t)}var zt=gx;zt.hasAccessibleName=kf,zt.attributes=Tf,zt.condition=Ff,zt.explicitRole=Rf,zt.fromDefinition=qf,zt.fromFunction=Bs,zt.fromPrimative=ia,zt.implicitRole=If,zt.nodeName=Lf,zt.properties=Pf,zt.semanticRole=Of;var mn=zt;function vx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=Xe.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=Ae(n,F);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var u=i[s],l=u.matches,c=Ae(u,I),d=Array.isArray(l)?l:[l],m=0;m<d.length&&a;m++)if(d[m].hasOwnProperty("hasAccessibleName"))return n;if(mn(e,l))for(var D in c)c.hasOwnProperty(D)&&(o[D]=c[D]);}for(var C in i.default)i.default.hasOwnProperty(C)&&typeof o[C]>"u"&&(o[C]=i.default[C]);return o}var Gr=vx;function bx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof Et?e:He(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=Gr(a),s=o.chromiumRole;return s||null}return typeof i=="function"?i(a):i||null}var vr=bx,yx={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 Bf(e,t){var r=yx[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var a=$e(e.parent,t);return ["none","presentation"].includes(a)&&!Vf(e.parent)?a:a?null:Bf(e.parent,t)}function Hf(e,t){var r=t.chromium,a=Ae(t,q),n=vr(e,{chromium:r});if(!n)return null;var i=Bf(e,a);return i||n}function Vf(e){var t=zr().some(function(r){return e.hasAttr(r)});return t||bt(e)}function wx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Ae(t,H),n=Ue(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=$e(i,a);return o?["presentation","none"].includes(o)&&Vf(i)?r?null:Hf(i,a):o:r?null:Hf(i,a)}function Dx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Ae(t,$),n=wx(e,a);return r&&["presentation","none"].includes(n)?null:n}var Be=Dx,xx=["iframe"];function _x(e){var t=Ue(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!zt(r,xx)&&["none","presentation"].includes(Be(r))?"":r.attr("title")}var Oi=_x;function Ax(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Et?e:He(e),e.props.nodeType!==1)return false;var a=Be(e),n=Xe.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var jf=Ax;function Ex(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=gr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return f.utils.getNodeFromTree(o)}),n=a.filter(function(o,s){return a.indexOf(o)===s}),i=r.filter(function(o){return !n.includes(o)});return [].concat(Ee(i),Ee(n))}return Ee(r)}var hn=Ex,$f={accessibleNameFromFieldValue:["progressbar"]};function lt(e){return e=Ue(e).vNode,Hs(e)}var Hs=it(function(t,r){return zd(t)||Ii(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!ws(t,Hs):$r(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Hs(t.parent,true):true});function zf(e,t,r){var a=Ue(e),n=a.vNode,i=t?lt:$t,o=!e.actualNode||e.actualNode&&i(e),s=n.children.map(function(u){var l=u.props,c=l.nodeType,d=l.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return zf(u,t)}).join("");return Ie(s)}var br=zf,Cx=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function Sx(e){e=e instanceof Et?e:He(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!Cx.includes((e.attr("type")||"").toLowerCase())}var Gf=Sx;function kx(e){e=e instanceof Et?e:He(e);var t=e.props.nodeName;return t==="select"}var Uf=kx;function Tx(e){var t=$e(e);return t==="textbox"}var Wf=Tx;function Fx(e){var t=$e(e);return t==="listbox"}var Xf=Fx;function Rx(e){var t=$e(e);return t==="combobox"}var Yf=Rx,Ix=["progressbar","scrollbar","slider","spinbutton"];function Lx(e){var t=$e(e);return Ix.includes(t)}var Kf=Lx,Jf=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Vs={nativeTextboxValue:Ox,nativeSelectValue:Mx,ariaTextboxValue:Nx,ariaListboxValue:Zf,ariaComboboxValue:qx,ariaRangeValue:Bx};function Px(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=$f.accessibleNameFromFieldValue||[],n=Be(e);if(t.startNode===e||!Jf.includes(n)||a.includes(n))return "";var i=Object.keys(Vs).map(function(s){return Vs[s]}),o=i.reduce(function(s,u){return s||u(e,t)},"");return t.debug&&ta(o||"{empty-value}",r,t),o}function Ox(e){var t=Ue(e),r=t.vNode;return Gf(r)&&r.props.value||""}function Mx(e){var t=Ue(e),r=t.vNode;if(!Uf(r))return "";var a=Ut(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return br(i)}).join(" ")||""}function Nx(e){var t=Ue(e),r=t.vNode,a=t.domNode;return Wf(r)?!a||a&&!$r(a)?br(r,true):a.textContent:""}function Zf(e,t){var r=Ue(e),a=r.vNode;if(!Xf(a))return "";var n=hn(a).filter(function(i){return Be(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":St(n[0],t)}function qx(e,t){var r=Ue(e),a=r.vNode;if(!Yf(a))return "";var n=hn(a).filter(function(i){return Be(i)==="listbox"})[0];return n?Zf(n,t):""}function Bx(e){var t=Ue(e),r=t.vNode;if(!Kf(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var Qf=Px;function Hx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=St.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,s=Be(e),u=Gr(e,{noMatchAccessibleName:true}),l=u.contentTypes;if(r(e,t)||e.props.nodeType!==1||l!=null&&l.includes("embedded")||Jf.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!jf(e,{strict:n}))return "";if(!n){var c=!i&&!o;t=Oe({subtreeDescendant:c},t);}return hn(e).reduce(function(d,m){return jx(d,m,t)},"")}var Vx=Os("phrasing").concat(["#text"]);function jx(e,t,r){var a=t.props.nodeName,n=St(t,r);return n?(Vx.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Ur=Hx;function $x(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=St.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Oe({inControlContext:true},t),n=zx(e),i=jt(e,"label"),o;return i?(o=[].concat(Ee(n),[i.actualNode]),o.sort(gu)):o=n,o.map(function(s){return na(s,a)}).filter(function(s){return s!==""}).join(" ")}function zx(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return qd({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var js=$x,Gx={submit:"Submit",image:"Submit",reset:"Reset",button:""},Ux={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return Gx[t.props.type]||""},tableCaptionText:Mi.bind(null,"caption"),figureText:Mi.bind(null,"figcaption"),svgTitleText:Mi.bind(null,"title"),fieldsetLegendText:Mi.bind(null,"legend"),altText:$s.bind(null,"alt"),tableSummaryText:$s.bind(null,"summary"),titleText:Oi,subtreeText:Ur,labelText:js,singleSpace:function(){return " "},placeholderText:$s.bind(null,"placeholder")};function $s(e,t){return t.attr(e)||""}function Mi(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?"":na(i,r)}var ep=Ux;function tp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Be(e)))return "";var a=Wx(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&f.log(n||"{empty-value}",r,t),n}function Wx(e){var t=Gr(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return ep[a]})}function rp(){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 ap(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function np(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function ip(){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 Xx(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Ro().test(e))),a&&(i||(i=rp().test(e)||np().test(e)||ip().test(e))),n&&(i||(i=ap().test(e))),i}var zs=Xx;function Gs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!Ie(a)||zs(a,{emoji:true,nonBmp:true}))return false;var n=Ne.get("canvasContext",function(){return v.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Ne.get("fonts",function(){return {}}),s=p.getComputedStyle(e.parent.actualNode),u=s.getPropertyValue("font-family");o[u]||(o[u]={occurrences:0,numLigatures:0});var l=o[u];if(l.occurrences>=r){if(l.numLigatures/l.occurrences===1)return true;if(l.numLigatures===0)return false}l.occurrences++;var c=30,d="".concat(c,"px ").concat(u);n.font=d;var m=a.charAt(0),D=n.measureText(m).width;if(D===0)return l.numLigatures++,true;if(D<30){var C=30/D;D*=C,c*=C,d="".concat(c,"px ").concat(u);}i.width=D,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(m,0,0);var T=new Uint32Array(n.getImageData(0,0,D,c).data.buffer);if(!T.some(function(U){return U}))return l.numLigatures++,true;n.clearRect(0,0,D,c),n.fillText(a,0,0);var R=new Uint32Array(n.getImageData(0,0,D,c).data.buffer),L=T.reduce(function(U,J,ae){return J===0&&R[ae]===0||J!==0&&R[ae]!==0?U:++U},0),P=a.split("").reduce(function(U,J){return U+n.measureText(J).width},0),M=n.measureText(a).width,N=L/T.length,B=1-M/P;return N>=t&&B>=t?(l.numLigatures++,true):false}function St(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=Zx(e,t),Kx(e,t)||Jx(e,t))return "";var r=[dn,fn,tp,Qf,Ur,Yx,Oi],a=r.reduce(function(n,i){return t.startNode===e&&(n=Ie(n)),n!==""?n:i(e,t)},"");return t.debug&&f.log(a||"{empty-value}",e.actualNode,t),a}function Yx(e){return e.props.nodeType!==3?"":e.props.nodeValue}function Kx(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!lt(e)}function Jx(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:Gs(e,n,i)}function Zx(e,t){return t.startNode||(t=Oe({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Oe({includeHidden:!lt(e)},t)),t}St.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function Qx(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Ro(),"")),a&&(e=e.replace(rp(),"").replace(np(),"").replace(ip(),"")),n&&(e=e.replace(ap(),"")),e}var gn=Qx;function e_(e){return t_(e)||r_(e)||a_(e)||n_(e)?0:1}function t_(e){return Ie(e).length===0}function r_(e){return e.length===1&&e.match(/\D/)}function a_(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function n_(e){var t=gn(e,{emoji:true,nonBmp:true,punctuations:true});return !Ie(t)}var Us=e_,oa={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function i_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?false:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,s=o===void 0?[]:o,u=t.qualifiers,l=u===void 0?[]:u,c=t.standaloneTerms,d=c===void 0?[]:c,m=t.qualifiedTerms,D=m===void 0?[]:m,C=t.ignoredValues,T=C===void 0?[]:C;if(e=e.toLowerCase().trim(),i=i.concat(oa.stateTerms),i.includes(e)||e==="")return true;l=l.concat(oa.qualifiers),s=s.concat(oa.locations),d=d.concat(oa.standaloneTerms),D=D.concat(oa.qualifiedTerms);var R=e.split(/\s+/g);if(R[R.length-1]==="webauthn"&&(R.pop(),R.length===0)||!a&&(R[0].length>8&&R[0].substr(0,8)==="section-"&&R.shift(),s.includes(R[0])&&R.shift(),l.includes(R[0])&&(R.shift(),d=[]),R.length!==1))return false;var L=R[R.length-1];if(!T.includes(L))return d.includes(L)||D.includes(L)}var op=i_;function o_(e){var t,r;return e.attr("aria-labelledby")&&(t=gr(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=He(a);return n?br(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ie(r),r))?r:null}var Ni=o_;function s_(e,t,r){return e=He(e),br(e,t,r)}var sp=s_;function u_(e){var t,r,a;if(r=Ni(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=ft(e.attr("id"));if(a=Rt(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&sp(t,true),r)return r}return t=jt(e,"label"),r=t&&br(t,true),r||null}var qi=u_;function l_(e){return e=He(e),qi(e)}var c_=l_,d_=[{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"]}],f_=d_;function up(e){var t=$t(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(up(a));}),r}var p_=up,m_=it(function(t){var r=He(t),a=r.boundingClientRect,n=[],i=sn(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ie(o.nodeValue)==="")){var s=h_(o);g_(s,a)||n.push.apply(n,Ee(lp(s,i)));}}),n.length?n:lp([a],i)}),Ws=m_;function h_(e){var t=v.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function g_(e,t){return e.some(function(r){var a=un(r);return !Si(a,t)})}function lp(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&&ki(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function v_(e){var t=Fi(e);if(!t)return [];var r=Ws(e);return r.map(function(a){return Is(t,a)})}var Xs=v_,b_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function y_(e){var t=Ue(e),r=t.vNode,a=f.commons.aria.getExplicitRole(r);if(a)return b_.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 Ys=y_,w_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Bi(e){return w_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function cp(e,t,r){return Bi(e)||Ys(e.actualNode)||!r&&!!Ni(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&cp(a)})}var vn=cp;function D_(e,t,r){return e=He(e),vn(e,t,r)}var Hi=D_;function Ks(e){return typeof e.children>"u"||Bi(e)?true:e.props.nodeType===1&&Ys(e)?!!f.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&Ks(t)&&!$r(t)})}function x_(e){var t=wr(e.getAttribute("tabindex"));return t>-1&&bt(e)&&!Ls(e)}var dp=x_;function fp(e,t){var r=Ue(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=pp(n,t)),a._isHiddenWithCSS):pp(n,t)}function pp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=p.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=Ct(e);return o&&!n.includes(i)?fp(o,i):false}var __=fp;function A_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var mp=A_;function E_(e){var t;(e instanceof Et||(t=p)!==null&&t!==void 0&&t.Node&&e instanceof p.Node)&&(e=f.commons.aria.getRole(e));var r=Xe.ariaRoles[e];return r?.type||null}var dr=E_,C_=["block","list-item","table","flex","grid"],S_=["inline-block","inline-flex","inline-grid"];function k_(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=Ue(e),o=i.vNode,s=i.domNode;if(Zs(s)||!n&&T_(o))return false;var u=F_(s),l="",c="",d=0;return hp(u,function(m){if(m===u.actualNode)return true;if(d===2)return false;if(m.nodeType===3&&(l+=m.nodeValue),m.nodeType===1){var D=(m.nodeName||"").toUpperCase();m===s&&(d=1);var C=Zs(m);if((C||["BR","HR"].includes(D))&&(d===0?(l="",c=""):d=2),C||m.style.display==="none"||m.style.overflow==="hidden"||!["",null,"none"].includes(m.style.float)||!["",null,"relative"].includes(m.style.position))return false;if(dr(m)==="widget")return c+=m.textContent,false}}),l=Ie(l),r?l.length!==0:(c=Ie(c),l.length>c.length)}var Js=k_;function Zs(e){var t=Ue(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return C_.includes(a)||a.substr(0,6)==="table-"}function T_(e){var t=e.getComputedStylePropertyValue("display");return S_.includes(t)}function hp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return hp(r,t)});}function F_(e){for(var t=Ct(e);t&&!Zs(t);)t=Ct(t);return He(t)}function R_(e){e=e||{};var t=e.modalPercent||.75;if(Ne.get("isModalOpen"))return Ne.get("isModalOpen");var r=Dr(f._tree[0],"dialog, [role=dialog], [aria-modal=true]",$t);if(r.length)return Ne.set("isModalOpen",true),true;for(var a=Ai(p),n=a.width*t,i=a.height*t,o=(a.width-n)/2,s=(a.height-i)/2,u=[{x:o,y:s},{x:a.width-o,y:s},{x:a.width/2,y:a.height/2},{x:o,y:a.height-s},{x:a.width-o,y:a.height-s}],l=u.map(function(D){return Array.from(v.elementsFromPoint(D.x,D.y))}),c=function(){var C=l[m].find(function(T){var R=p.getComputedStyle(T);return parseInt(R.width,10)>=n&&parseInt(R.height,10)>=i&&R.getPropertyValue("pointer-events")!=="none"&&(R.position==="absolute"||R.position==="fixed")});if(C&&l.every(function(T){return T.includes(C)}))return Ne.set("isModalOpen",true),{v:true}},d,m=0;m<l.length;m++)if(d=c(),d)return d.v;Ne.set("isModalOpen",void 0);}var bn=R_;function gp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var a=0,n=0,i=tt(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(a>s.top+t)a=Math.max(a,s.bottom);else if(n===0)a=s.bottom,n++;else return !0}}catch(u){i.e(u);}finally{i.f();}return false}function I_(e){return e instanceof p.Node}var L_=I_,Qs="color.incompleteData",P_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Ne.get(Qs,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Ne.get(Qs);return r?.[t]},clear:function(){Ne.set(Qs,{});}},ot=P_;function O_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return ot.set("bgColor","imgNode"),true;t=t||p.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);ot.set("bgColor",o?"bgGradient":"bgImage");}return i}var Vi=O_,M_=/^#[0-9a-f]{3,8}$/i,N_=/hsl\(\s*([-\d.]+)(rad|turn)/,yn=(et=new WeakMap,gt=new WeakMap,Ft=new WeakMap,Wt=new WeakMap,At=new WeakMap,Ot=new WeakMap,Pa=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(rr(this,e),rl(this,Pa),Lr(this,et,void 0),Lr(this,gt,void 0),Lr(this,Ft,void 0),Lr(this,Wt,void 0),Lr(this,At,void 0),Lr(this,Ot,void 0),t instanceof yn){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=a,this.alpha=n;}return ar(e,[{key:"r",get:function(){return tr(et,this)},set:function(r){Nt(et,this,r),Nt(Wt,this,Math.round(Ea(r,0,1)*255));}},{key:"g",get:function(){return tr(gt,this)},set:function(r){Nt(gt,this,r),Nt(At,this,Math.round(Ea(r,0,1)*255));}},{key:"b",get:function(){return tr(Ft,this)},set:function(r){Nt(Ft,this,r),Nt(Ot,this,Math.round(Ea(r,0,1)*255));}},{key:"red",get:function(){return tr(Wt,this)},set:function(r){Nt(et,this,r/255),Nt(Wt,this,Ea(r,0,255));}},{key:"green",get:function(){return tr(At,this)},set:function(r){Nt(gt,this,r/255),Nt(At,this,Ea(r,0,255));}},{key:"blue",get:function(){return tr(Ot,this)},set:function(r){Nt(Ft,this,r/255),Nt(Ot,this,Ea(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(N_,function(i,o,s){var u=o+s;switch(s){case "rad":return i.replace(u,B_(o));case "turn":return i.replace(u,H_(o))}});try{var a;"Prototype"in p&&"Version"in p.Prototype&&(a=Array.from,Array.from=sd.default);var n=new rt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw ot.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(M_)||[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 ca(Pa,this,q_).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 yn(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,d){return c.value-d.value}),o=he(i,3),s=o[0],u=o[1],l=o[2];return l.value>s.value?(u.value=(u.value-s.value)*r/(l.value-s.value),l.value=r):u.value=l.value=0,s.value=0,a[l.name]=l.value,a[s.name]=s.value,a[u.name]=u.value,a}},{key:"clip",value:function(){var r=new yn(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 q_(e){var t=new yn(this);return t.r+=e,t.g+=e,t.b+=e,t}var ct=yn;function Ea(e,t,r){return Math.min(Math.max(t,e),r)}function B_(e){return e*180/Math.PI}function H_(e){return e*360}function V_(e){var t=new ct;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var sa=V_;function j_(e){var t=p.getComputedStyle(e);return Vi(e,t)||sa(t).alpha===1}var $_=j_;function eu(e){if(!e.href)return false;var t=Ne.get("firstPageLink",z_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function z_(){var e;return p.location.origin?e=Ut(f._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Ts(t.actualNode)}):e=Ut(f._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var G_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,U_=/(\w+)\((\d+)/;function W_(e){var t=e.getPropertyValue("clip").match(G_),r=e.getPropertyValue("clip-path").match(U_);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 X_(e,t,r){var a=Da(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Rt(e);if(!i||i.nodeType!==9)return false;var o=Ut(f._tree,'img[usemap="#'.concat(ft(n),'"]'));return !o||!o.length?false:o.some(function(s){var u=s.actualNode;return ji(u,t,r)})}function ji(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof Et?e:He(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=p.Node)!==null&&a!==void 0?a:{},s=o.DOCUMENT_NODE,u=o.DOCUMENT_FRAGMENT_NODE,l=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(l===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&l===u&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return false}if(!e){var m=n.parent,D=true;return m&&(D=ji(m,t,true)),n&&(n[i]=D),D}var C=p.getComputedStyle(e,null);if(C===null)return false;if(c==="area")return X_(e,t,r);if(C.getPropertyValue("display")==="none")return false;var T=parseInt(C.getPropertyValue("height")),R=parseInt(C.getPropertyValue("width")),L=Tr(e),P=L&&T===0,M=L&&R===0,N=C.getPropertyValue("position")==="absolute"&&(T<2||R<2)&&C.getPropertyValue("overflow")==="hidden";if(!t&&(W_(C)||C.getPropertyValue("opacity")==="0"||P||M||N)||!r&&(C.getPropertyValue("visibility")==="hidden"||!t&&Ci(e)))return false;var B=e.assignedSlot?e.assignedSlot:e.parentNode,U=false;return B&&(U=ji(B,t,true)),n&&(n[i]=U),U}var Y_=ji;function K_(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var s=p.getComputedStyle(o);if(!n&&r.indexOf(s.position)!==-1){a=[];continue}a.push(o);}return a}var vp=K_;function bp(e,t){var r=yp(t);do{var a=yp(e);if(a===r||a===t)return J_(e,t);e=a;}while(e);return false}function yp(e){for(var t=He(e),r=t.parent;r;){if(Tr(r.actualNode))return r.actualNode;r=r.parent;}}function J_(e,t){var r=p.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof p.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function wp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Rt(n)===r}).reduce(function(n,i){if(_i(i)){var o=wp(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&bp(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var Z_=wp;function Q_(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=v.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=t2(i),s=o.pathname,u=o.filename;return {protocol:n,hostname:a.hostname,port:e2(a.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:r2(a.search),hash:a2(a.hash),filename:u}}}function e2(e){var t=["443","80"];return t.includes(e)?"":e}function t2(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function r2(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;a<r.length;a++){var n=r[a],i=n.split("="),o=he(i,2),s=o[0],u=o[1],l=u===void 0?"":u;t[decodeURIComponent(s)]=decodeURIComponent(l);}return t}function a2(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=he(r,1),n=a[0];return n==="#"?"":e}var n2=Q_;function i2(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=p.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof p.HTMLBodyElement||t instanceof p.HTMLHtmlElement:true}var tu=i2,Dp=0,o2=(function(e){function t(r,a,n){var i;if(rr(this,t),i=Re(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(Dp=0),i.nodeIndex=Dp++,i._isHidden=null,i._cache={},i._isXHTML=Ja(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Qi().includes(o)||(o="text"),i._type=o;}return Ne.get("nodeMap")&&Ne.get("nodeMap").set(r,i),i}return ht(t,e),ar(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,s=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},n===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof p.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=p.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=bt(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Df(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Et),ru=o2;function s2(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Mt=s2,ua=" [idsMap]";function xp(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(u){return _p(u)}))return;var o=new Set;t.forEach(function(u){var l,c=u2(u,a,n);c==null||(l=c.nodes)===null||l===void 0||l.forEach(function(d){c.isComplexSelector&&!ga(d,u)||o.add(d);});});var s=[];return o.forEach(function(u){return s.push(u)}),r&&(s=s.filter(r)),s.sort(function(u,l){return u.nodeIndex-l.nodeIndex})}}function u2(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(_p(a))n=t["*"];else {if(a.id){var o;if(!t[ua]||!Object.hasOwn(t[ua],a.id)||!((o=t[ua][a.id])!==null&&o!==void 0&&o.length))return;n=t[ua][a.id].filter(function(T){return T.shadowId===r});}if(a.tag&&a.tag!=="*"){var s;if(!((s=t[a.tag])!==null&&s!==void 0&&s.length))return;var u=t[a.tag];n=n?au(u,n):u;}if(a.classes){var l;if(!((l=t["[class]"])!==null&&l!==void 0&&l.length))return;var c=t["[class]"];n=n?au(c,n):c;}if(a.attributes)for(var d=0;d<a.attributes.length;d++){var m,D=a.attributes[d];if(D.type==="attrValue"&&(i=true),!((m=t["[".concat(D.key,"]")])!==null&&m!==void 0&&m.length))return;var C=t["[".concat(D.key,"]")];n=n?au(C,n):C;}}return {nodes:n,isComplexSelector:i}}function _p(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function au(e,t){return e.filter(function(r){return t.includes(r)})}function $i(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function Ap(e,t){e.props.nodeType===1&&($i(e.props.nodeName,e,t),$i("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[ua]=t[ua]||{},Mt(e.attr(r)).forEach(function(a){$i(a,e,t[ua]);})),$i("[".concat(r,"]"),e,t);}));}var nu;function iu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.documentElement,t=arguments.length>1?arguments[1]:void 0;nu=false;var r={};Ne.set("nodeMap",new WeakMap),Ne.set("selectorMap",r);var a=Ep(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=nu,a}function l2(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function ou(e,t,r){var a=new ru(e,t,r);return Ap(a,Ne.get("selectorMap")),a}function zi(e,t,r){var a=[];return e.forEach(function(n){var i=Ep(n,r,t);i&&a.push.apply(a,Ee(i));}),a}function Ep(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(_i(e))return nu=true,a=ou(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=zi(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),zi(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=l2(e));p.getComputedStyle(e);return zi(n,r,t)}if(e.nodeType===v.ELEMENT_NODE)return a=ou(e,r,t),n=Array.from(e.childNodes),a.children=zi(n,a,t),[a];if(e.nodeType===v.TEXT_NODE)return [ou(e,r)]}function c2(e){return e?e.trim().split("-")[0].toLowerCase():""}var la=c2;function d2(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=f._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
367
|
+
|
|
368
|
+
`)}var su=d2;function uu(){var e=f._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var Cp=qe.resultGroups;function wn(e,t){var r=f.utils.aggregateResult(e);return Cp.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]]);}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){if(te(i.node)==="object"){var o=Sp(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,f2(i,t),i})),Cp.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n});}),r}function f2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){return Sp(n,t)});});});}function Sp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=Qt.dqElmToSpec(e,t);var r={};if(f._audit.noHtml)r.html=null;else {var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined";}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var p2=/\$\{\s?data\s?\}/g;function Gi(e,t){if(typeof t=="string")return e.replace(p2,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n);}return e}function kp(e,t){if(e){if(Array.isArray(t)){if(t.values=t.join(", "),typeof e.singular=="string"&&typeof e.plural=="string"){var r=t.length===1?e.singular:e.plural;return Gi(r,t)}return Gi(e,t)}if(typeof e=="string")return Gi(e,t);if(typeof t=="string"){var a=e[t];return Gi(a,t)}var n=e.default||uu();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),kp(n,t)}}var lu=kp;function m2(e,t,r){var a=f._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return lu(a.messages[t],r)}var h2=m2;function g2(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var Ui=g2;function Wr(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p;return t&&te(t)==="object"?t:te(r)!=="object"?{}:{testEngine:{name:"axe-core",version:f.version},testRunner:{name:f._audit.brand},testEnvironment:v2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function v2(e){if(!e.navigator||te(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=b2(e)||{},i=n.angle,o=n.type;return {userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function b2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function Tp(e,t){var r=t.focusable,a=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&y2(e),size:w2(e),page:a}}function y2(e){var t=wr(e.getAttribute("tabindex"));return t===null||t>=0}function w2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r;}return {width:t,height:r}}function D2(e){if(du(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Xr(!yr(e,"fromFrames"),"fromFrames"+t),Xr(!yr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(Xi(e))e={include:e,exclude:[]};else return {include:[v],exclude:[]};var r=Fp(e.include);r.length===0&&r.push(v);var a=Fp(e.exclude);return {include:r,exclude:a}}function Fp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];cu(e)||(e=[e]);for(var r=0;r<e.length;r++){var a=x2(e[r]);a&&t.push(a);}return t}function x2(e){return e instanceof p.Node?e:typeof e=="string"?[e]:(fu(e)?(A2(e),e=e.fromFrames):Yi(e)&&(e=[e]),_2(e))}function _2(e){if(Array.isArray(e)){var t=[],r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;if(Yi(n)&&(E2(n),n=n.fromShadowDom),typeof n!="string"&&!C2(n))return;t.push(n);}}catch(i){r.e(i);}finally{r.f();}return t}}function A2(e){Xr(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Xr(e.fromFrames.every(function(t){return !yr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),Xr(!yr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function E2(e){Xr(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Xr(e.fromShadowDom.every(function(t){return !yr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),Xr(e.fromShadowDom.every(function(t){return !yr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function C2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function Xr(e,t){We(e,"Invalid context; ".concat(t,`
|
|
369
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function Rp(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof p.Node)if(i.documentElement instanceof p.Node)r.push(e.flatTree[0]);else if(i.host instanceof p.Node){var o=Array.from(i.children).map(function(u){return He(u)});r.push.apply(r,Ee(o));}else r.push(He(i));else if(i&&i.length)if(i.length>1)S2(e,t,i);else {var s=wu(i[0]);r.push.apply(r,Ee(s.map(function(u){return He(u)})));}}return r.filter(function(u){return u})}function S2(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=wu(a);n.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=Tp(i,e),e.frames.push(o)),o[t].push(r);});}function Wi(e,t){var r,a,n,i,o=this;e=Er(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=te((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=D2(e),this.flatTree=t??iu(R2(e)),this.exclude=e.exclude,this.include=e.include,this.include=Rp(this,"include"),this.exclude=Rp(this,"exclude"),yu("frame, iframe",this).forEach(function(s){mu(s,o)&&k2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=T2(this),this.frames.forEach(function(s){s.page=o.page;})),F2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(gu);}function k2(e,t){!lt(t)||nn(e.frames,"node",t)||e.frames.push(Tp(t,e));}function T2(e){var t=e.include;return t.length===1&&t[0].actualNode===v.documentElement}function F2(e){if(e.include.length===0&&e.frames.length===0){var t=cr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function R2(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof p.Element)return i.ownerDocument.documentElement;if(i instanceof p.Document)return i.documentElement}return v.documentElement}function I2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Wi(e),a=r.frames;return a.map(function(n){var i=n.node,o=Ae(n,z);o.initiator=false;var s=hi(i);return {frameSelector:s,frameContext:o}})}function Ip(e){var t=f._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 L2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=p.getComputedStyle(e),i=Lp(n,"overflow-x"),o=Lp(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Lp(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Tr=it(L2);function Pp(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Tr(r);return a&&t.push(a),t.concat(Pp(r))},[])}function P2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(Pp(v.body))}var O2=P2;function M2(){return Er(Xe)}function N2(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?false:a,i=t.shadowId,o=t.root,s=t.priority,u=t.isLink,l=u===void 0?false:u,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:s}}}var Op=N2,Gt;function q2(e){if(Gt&&Gt.parentNode)return Gt.styleSheet===void 0?Gt.appendChild(v.createTextNode(e)):Gt.styleSheet.cssText+=e,Gt;if(e){var t=v.head||v.getElementsByTagName("head")[0];return Gt=v.createElement("style"),Gt.type="text/css",Gt.styleSheet===void 0?Gt.appendChild(v.createTextNode(e)):Gt.styleSheet.cssText=e,t.appendChild(Gt),Gt}}var B2=q2;function cu(e){return !!e&&te(e)==="object"&&typeof e.length=="number"&&!(e instanceof p.Node)}function yr(e,t){return !e||te(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Mp(e){return du(e)||Xi(e)}function du(e){return ["include","exclude"].some(function(t){return yr(e,t)&&Xi(e[t])})}function Xi(e){return typeof e=="string"||e instanceof p.Node||fu(e)||Yi(e)||cu(e)}function fu(e){return yr(e,"fromFrames")}function Yi(e){return yr(e,"fromShadowDom")}function Np(e,t){var r=He(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=p.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Np(n,true);return r&&(r._isHidden=i),i}var H2=Np;function V2(e){var t,r,a=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!Xe.htmlElms[a]}var pu=V2;function mu(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Cr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Cr(c,e)});if(s.length===0)return true;var u=qp(o),l=qp(s);return Cr(l,u)}function qp(e){var t,r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Cr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function hu(e,t){return e.length!==t.length?false:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?false:r.every(function(i,o){return n[o]===i}):r===n})}function j2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var gu=j2;function Ue(e){return e instanceof Et?{vNode:e,domNode:e.actualNode}:{vNode:He(e),domNode:e}}function $2(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !a.includes(c)}),u=s.map(function(c,d){var m=[].concat(Ee(r),[d]),D=/^https?:\/\/|^\/\//i.test(c);return bu(c,t,m,a,D)}),l=i.filter(function(c){return c.type!==3});return l.length&&u.push(Promise.resolve(t.convertDataToStylesheet({data:l.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)}var Bp=$2;function z2(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=G2(e);return i?Bp(e,t,r,a,n):bu(e.href,t,r,a,true)}function G2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var vu=z2;function U2(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var s=new p.XMLHttpRequest;s.open("GET",e),s.timeout=qe.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(u){if(u.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return vu(o.sheet,t,r,a,o.isCrossOrigin)})}var bu=U2;function W2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var wr=W2,X2=(function(){function e(){if(p.performance&&p.performance)return p.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(n){var i;(i=p.performance)!==null&&i!==void 0&&i.mark&&p.performance.mark(n);},measure:function(n,i,o){var s,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=p.performance)!==null&&s!==void 0&&s.measure){try{p.performance.measure(n,i,o);}catch(l){this._log(l);}u||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,s,u=function(T){return Array.isArray(T)?T[T.length-1]:T},l=function(T){i._log("Measure "+T.name+" took "+T.duration+"ms");};if(!(!((o=p.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=p.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=u(p.performance.getEntriesByName("mark_axe_start"))||u(p.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var d=p.performance.getEntriesByType("measure").filter(function(C){return C.startTime>=c.startTime}),m=0;m<d.length;++m){var D=d[m];if(D.name===n){l(D);return}else n||l(D);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=p.performance)!==null&&n!==void 0&&n.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var u=0,l=o;u<l.length;u++){var c=l[u];p.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(n){ta(n);}}})(),Ye=X2;function Hp(){if(v.elementsFromPoint)return v.elementsFromPoint;if(v.msElementsFromPoint)return v.msElementsFromPoint;var e=(function(){var n=v.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=v.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,s,u,l=[],c=[];for(v.head.appendChild(a);(o=v.elementFromPoint(n,i))&&l.indexOf(o)===-1;)l.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(l.indexOf(v.documentElement)<l.length-1&&(l.splice(l.indexOf(v.documentElement),1),l.push(v.documentElement)),s=c.length;u=c[--s];)l[s].style.setProperty(t,u.value?u.value:"",u.priority);return v.head.removeChild(a),l}}typeof p.addEventListener=="function"&&(v.elementsFromPoint=Hp());function Y2(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Dn=Y2;function Vp(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 K2(e,t,r){for(var a=Ne.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=Vp(i,t,null,e[0].shadowId,a.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var u,l,c=o.vNodes[o.vNodesIndex++],d=null,m=null,D=(((u=o.anyLevel)===null||u===void 0?void 0:u.length)||0)+(((l=o.thisLevel)===null||l===void 0?void 0:l.length)||0),C=false,T=0;T<D;T++){var R,L,P,M=T<(((R=o.anyLevel)===null||R===void 0?void 0:R.length)||0)?o.anyLevel[T]:o.thisLevel[T-(((L=o.anyLevel)===null||L===void 0?void 0:L.length)||0)];if((!M[0].id||c.shadowId===o.parentShadowId)&&ga(c,M[0]))if(M.length===1)!C&&(!r||r(c))&&(s.push(c),C=true);else {var N=M.slice(1);if([" ",">"].includes(N[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+M[1].combinator);N[0].combinator===">"?(d=d||[]).push(N):(m=m||[]).push(N);}(!M[0].id||c.shadowId===o.parentShadowId)&&(P=o.anyLevel)!==null&&P!==void 0&&P.includes(M)&&(m=m||[]).push(M);}for(c.children&&c.children.length&&(n.push(o),o=Vp(c.children,m,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return s}function J2(e,t,r){e=Array.isArray(e)?e:[e];var a=gi(t),n=xp(e,a,r);return n||K2(e,a,r)}var Dr=J2;function Z2(e){var t=e.treeRoot,r=t===void 0?f._tree[0]:t,a=Q2(r);if(!a.length)return Promise.resolve();var n=v.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Op(n);return eA(a,i).then(function(o){return $p(o)})}var jp=Z2;function Q2(e){var t=[],r=Dr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:on(a.actualNode)}});return Dn(r,[])}function eA(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,s=tA(i,o,t);if(!s)return Promise.all(r);var u=n+1,l={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:u},c=[],d=Promise.all(s.map(function(m,D){var C=[u,D];return vu(m,l,C,c)}));r.push(d);}),Promise.all(r)}function $p(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat($p(r)):t.concat(r)},[])}function tA(e,t,r){var a;return e.nodeType===11&&t?a=rA(e,r):a=aA(e),iA(a)}function rA(e,t){return Array.from(e.children).filter(nA).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 aA(e){return Array.from(e.styleSheets).filter(function(t){return t.media?zp(t.media.mediaText):false})}function nA(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&&zp(e.media)}function zp(e){return e?!e.toUpperCase().includes("PRINT"):true}function iA(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function oA(e){var t=e.treeRoot,r=t===void 0?f._tree[0]:t,a=Dr(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 sA(i)}))}var Gp=oA;function sA(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Up(e){var t={cssom:jp,media:Gp};return Wp(e)?new Promise(function(r,a){var n=Xp(e),i=n.assets,o=n.timeout,s=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(u){return t[u](e).then(function(l){return Se({},u,l)})})).then(function(u){var l=u.reduce(function(c,d){return Oe({},c,d)},{});clearTimeout(s),r(l);}).catch(function(u){clearTimeout(s),a(u);});}):Promise.resolve()}function uA(e){return te(e)==="object"&&Array.isArray(e.assets)}function Wp(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:uA(e.preload)}function Xp(e){var t=qe.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return n.assets=Dn(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 Ki(e){var t=f._audit.data.checks||{},r=f._audit.data.rules||{},a=nn(f._audit.rules,"id",e.id)||{};e.tags=Er(a.tags||[]);var n=Yp(t,true,a),i=Yp(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),vs(e,Er(r[e.id]||{}));}function lA(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:uu()}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 Yp(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(te(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=lA(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=lu(o.message,a.data)),vs(a,o);}}function cA(e,t){return Dr(e,t)}var Ut=cA;function Kp(e,t){var r,a,n=f._audit&&f._audit.tagExclude?f._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 dA(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?Kp(e,a.values):Kp(e,[])}var Jp=dA;function Zp(e,t){if(!t)return e;var r=e.cloneNode(false),a=ja(r);if(r.nodeType===1){var n=r.outerHTML;r=Ne.get(n,function(){return Qp(r,a,e,t)});}else r=Qp(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Zp(i,t));}),r}function Qp(e,t,r,a){return t&&(e=v.createElement(e.nodeName),Array.from(t).forEach(function(n){fA(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function fA(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:pa(e,r[t])}function yu(e,t){var r=[],a;if(f._selectCache)for(var n=0,i=f._selectCache.length;n<i;n++){var o=f._selectCache[n];if(o.selector===e)return o.result}for(var s=pA(t.include),u=mA(t),l=0;l<s.length;l++){a=s[l];var c=Dr(a,e,u);r=hA(r,c);}return f._selectCache&&f._selectCache.push({selector:e,result:r}),r}function pA(e){return e.reduce(function(t,r){return (!t.length||!Cr(t[t.length-1],r))&&t.push(r),t},[])}function mA(e){return !e.exclude||e.exclude.length===0?null:function(t){return mu(t,e)}}function hA(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 Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(te(e)!=="object"||e===null)return {message:String(e)};var r={},a=tt(qe.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(te(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?Ji(e.cause,t+1):"..."),r}var gA=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,s=r.method,u=r.errorNode;return rr(this,t),n=Re(this,t),n.name=(a=i.name)!==null&&a!==void 0?a:"RuleError",n.message=i.message,n.stack=i.stack,i.cause&&(n.cause=Ji(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),s&&(n.method=s),u&&(n.errorNode=u),n}return ht(t,e),ar(t)})(fe(Error)),Zi=gA;function vA(e,t,r){if(e===p)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function bA(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return vA(r,a,n)});}var yA=bA;function wA(e){var t=Array.isArray(e)?Ee(e):[e];return em(t,v)}function em(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?em(e,a.shadowRoot):null}function wu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,r=Array.isArray(e)?Ee(e):[e];return e.length===0?[]:tm(r,t)}function tm(e,t){var r=Q(e),a=r[0],n=On(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],s=tt(i),u;try{for(s.s();!(u=s.n()).done;){var l=u.value;l!=null&&l.shadowRoot&&o.push.apply(o,Ee(tm(n,l.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function DA(){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 Qi=DA,rm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 xA(e){for(var t=rm;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 am(e){e=Array.isArray(e)?e:rm;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(am(r).map(function(i){return n+i})):t.push(n);}),t}var eo=xA,_A=(function(e){function t(r){var a;return rr(this,t),a=Re(this,t),a._props=EA(r),a._attrs=CA(r),a}return ht(t,e),ar(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Et),Du={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},nm={},AA=Object.keys(Du);AA.forEach(function(e){nm[Du[e]]=e;});function EA(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:nm[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Du[e.nodeName])!==null&&r!==void 0?r:1;We(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),We(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(),Qi().includes(o)||(o="text"));var s=Oe({},e,{nodeType:i,nodeName:n});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function CA(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(We(te(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=a[i]||i;n[s]=o!==null?String(o):null;}return n},{})}var im=_A;function SA(e,t){if(e=e||function(){},t=t||f.log,!f._audit)throw new Error("No audit configured");var r=f.utils.queue(),a=[];Object.keys(f.plugins).forEach(function(i){r.defer(function(o){var s=function(l){a.push(l),o();};try{f.plugins[i].cleanup(o,s);}catch(u){s(u);}});});var n=f.utils.getFlattenedTree(v.body);f.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,s){return f.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){a.length===0?e(i):t(a);}).catch(t);}var om=SA,xn={},sm;function um(e){return xn.hasOwnProperty(e)}function xu(e){return typeof e=="string"&&xn[e]?xn[e]:typeof e=="function"?e:sm}function kA(e,t,r){xn[e]=t,r&&(sm=t);}function TA(e){var t=f._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var a=r.split("-"),n=he(a,2),i=n[0],o=n[1],s=i.split(".").map(Number),u=he(s,3),l=u[0],c=u[1],d=u[2],m=f.version.split("-"),D=he(m,2),C=D[0],T=D[1],R=C.split(".").map(Number),L=he(R,3),P=L[0],M=L[1],N=L[2];if(l!==P||M<c||M===c&&N<d||l===P&&c===M&&d===N&&o&&o!==T)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(f.version))}if(e.reporter&&(typeof e.reporter=="function"||um(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(U){if(!U.id)throw new TypeError("Configured check ".concat(JSON.stringify(U)," is invalid. Checks must be an object with at least an id property"));t.addCheck(U);});}var B=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(U){if(!U.id)throw new TypeError("Configured rule ".concat(JSON.stringify(U)," is invalid. Rules must be an object with at least an id property"));B.push(U.id),t.addRule(U);});}if(e.disableOtherRules&&t.rules.forEach(function(U){B.includes(U.id)===false&&(U.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&XD(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(qe.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var FA=TA;function RA(e){cr.updateMessenger(e);}function IA(e){e=e||[];var t=e.length?f._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):f._audit.rules,r=f._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 LA=IA;function PA(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&vn(r)){var n=p.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=Ct(e),o=i&&p.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var OA=PA,lm={};nr(lm,{getAllCells:function(){return _u},getCellPosition:function(){return Pi},getHeaders:function(){return to},getScope:function(){return Ms},isColumnHeader:function(){return _a},isDataCell:function(){return dm},isDataTable:function(){return ro},isHeader:function(){return VA},isRowHeader:function(){return Aa},toArray:function(){return kr},toGrid:function(){return kr},traverse:function(){return Au}});function MA(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 _u=MA;function cm(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Aa:_a,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),u=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,l=u-1,c=t.y+l,d=t.x+o,m=e==="row"?t.y:0,D=e==="row"?0:t.x,C,T=[],R=c;R>=m&&!C;R--)for(var L=d;L>=D;L--){var P=r[R]?r[R][L]:void 0;if(P){var M=f.utils.getNodeFromTree(P);if(M[a]){C=M[a];break}T.push(P);}}return C=(C||[]).concat(T.filter(n)),T.forEach(function(N){var B=f.utils.getNodeFromTree(N);B[a]=C;}),C}function NA(e,t){if(e.getAttribute("headers")){var r=gr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=kr(Da(e,"table")));var a=Pi(e,t),n=cm("row",a,t),i=cm("col",a,t);return [].concat(n,i).reverse()}var to=NA;function qA(e){if(!e.children.length&&!e.textContent.trim())return false;var t=$e(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var dm=qA;function BA(e){var t=$e(e);if((t==="presentation"||t==="none")&&!bt(e))return false;if(e.getAttribute("contenteditable")==="true"||Da(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||dr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,a=e.children.length;r<a;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var n=0,i=e.rows.length,o,s,u=false,l=0;l<i;l++){o=e.rows[l];for(var c=0,d=o.cells.length;c<d;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!u&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(u=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes($e(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var m=e.rows[Math.ceil(i/2)];if(m.cells.length===1&&m.cells[0].colSpan===1)return false;if(m.cells.length>=5||u)return true;for(var D,C,T=0;T<i;T++){if(o=e.rows[T],D&&D!==p.getComputedStyle(o).getPropertyValue("background-color")||(D=p.getComputedStyle(o).getPropertyValue("background-color"),C&&C!==p.getComputedStyle(o).getPropertyValue("background-image")))return true;C=p.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Ds(e).width>Ai(p).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var ro=BA;function HA(e){if(_a(e)||Aa(e))return true;if(e.getAttribute("id")){var t=ft(e.getAttribute("id"));return !!v.querySelector('[headers~="'.concat(t,'"]'))}return false}var VA=HA;function fm(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=fm(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function jA(e,t,r,a){if(Array.isArray(t)&&(a=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return fm(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Au=jA,pm={};nr(pm,{allowedAttr:function(){return mm},arialabelText:function(){return fn},arialabelledbyText:function(){return dn},getAccessibleRefs:function(){return Eu},getElementUnallowedRoles:function(){return vm},getExplicitRole:function(){return $e},getImplicitRole:function(){return vr},getOwnedVirtual:function(){return hn},getRole:function(){return Be},getRoleType:function(){return dr},getRolesByType:function(){return eE},getRolesWithNameFromContents:function(){return aE},implicitNodes:function(){return iE},implicitRole:function(){return vr},isAccessibleRef:function(){return ao},isAriaRoleAllowedOnElement:function(){return gm},isComboboxPopup:function(){return Su},isUnsupportedRole:function(){return Ps},isValidRole:function(){return pn},label:function(){return Dm},labelVirtual:function(){return Ni},lookupTable:function(){return ym},namedFromContents:function(){return jf},requiredAttr:function(){return xm},requiredContext:function(){return ku},requiredOwned:function(){return Tu},validateAttr:function(){return no},validateAttrValue:function(){return _m}});function $A(e){var t=Xe.ariaRoles[e],r=Ee(zr());return t&&(t.allowedAttrs&&r.push.apply(r,Ee(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Ee(t.requiredAttrs))),r}var mm=$A,zA=/^idrefs?$/;function hm(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e]);}for(var n=0;n<r.length;++n){var i=r[n],o=Ie(e.getAttribute(i)||"");if(o){var s=tt(Mt(o)),u;try{for(s.s();!(u=s.n()).done;){var l=u.value;t.has(l)?t.get(l).push(e):t.set(l,[e]);}}catch(d){s.e(d);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&hm(e.childNodes[c],t,r);}function GA(e){var t;e=e.actualNode||e;var r=Rt(e);r=r.documentElement||r;var a=Ne.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(Xe.ariaAttrs).filter(function(o){var s=Xe.ariaAttrs[o].type;return zA.test(s)});hm(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Eu=GA;function UA(e,t){var r=e instanceof Et?e:He(e),a=vr(r),n=Gr(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var gm=UA,WA=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],XA={header:"banner",footer:"contentinfo"};function YA(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Mt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return pn(a)})}function KA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Ue(e),a=r.vNode;if(!pu(a))return [];var n=a.props.nodeName,i=vr(a)||XA[n],o=YA(a);return o.filter(function(s){return !JA(s,a,t,i)})}function JA(e,t,r,a){return r&&e===a?true:WA.includes(e)&&dr(e)!==a?false:gm(t,e)}var vm=KA;function ZA(e){return Object.keys(Xe.ariaRoles).filter(function(t){return Xe.ariaRoles[t].type===e})}var Ca=ZA;function QA(e){return Ca(e)}var eE=QA;function tE(){return Ne.get("ariaRolesNameFromContent",function(){return Object.keys(Xe.ariaRoles).filter(function(e){return Xe.ariaRoles[e].nameFromContent})})}var Cu=tE;function rE(){return Cu()}var aE=rE,bm=function(t){return t===null},It=function(t){return t!==null},Fr={};Fr.attributes={"aria-activedescendant":{type:"idref",allowEmpty:true,unsupported:false},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:false},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:false},"aria-busy":{type:"boolean",values:["true","false"],unsupported:false},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-colcount":{type:"int",unsupported:false},"aria-colindex":{type:"int",unsupported:false},"aria-colspan":{type:"int",unsupported:false},"aria-controls":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],unsupported:false},"aria-describedby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-describedat":{unsupported:true,unstandardized:true},"aria-details":{type:"idref",allowEmpty:true,unsupported:false},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:false},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:false},"aria-errormessage":{type:"idref",allowEmpty:true,unsupported:false},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-flowto":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:false},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:false},"aria-invalid":{type:"nmtoken",allowEmpty:true,values:["true","false","spelling","grammar"],unsupported:false},"aria-keyshortcuts":{type:"string",allowEmpty:true,unsupported:false},"aria-label":{type:"string",allowEmpty:true,unsupported:false},"aria-labelledby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-level":{type:"int",unsupported:false},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:false},"aria-modal":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:false},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:false},"aria-owns":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-placeholder":{type:"string",allowEmpty:true,unsupported:false},"aria-posinset":{type:"int",unsupported:false},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:false},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:false},"aria-required":{type:"boolean",values:["true","false"],unsupported:false},"aria-roledescription":{type:"string",allowEmpty:true,unsupported:false},"aria-rowcount":{type:"int",unsupported:false},"aria-rowindex":{type:"int",unsupported:false},"aria-rowspan":{type:"int",unsupported:false},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-setsize":{type:"int",unsupported:false},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:false},"aria-valuemax":{type:"decimal",unsupported:false},"aria-valuemin":{type:"decimal",unsupported:false},"aria-valuenow":{type:"decimal",unsupported:false},"aria-valuetext":{type:"string",unsupported:false}},Fr.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],Fr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:It}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:It}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:It}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:It}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:It}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:It}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:It}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:It}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:It}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:It}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:It}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:It}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:It}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:It}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Fr.implicitHtmlRole=qs,Fr.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:It}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:It}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof f.AbstractVirtualNode||(t=f.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Fr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:bm}},{nodeName:"img",attributes:{alt:bm}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Fr.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?a:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case "":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case "button":case "image":return n;case "checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?true:n;case "radio":return a==="menuitemradio";case "text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case "tel":return a==="combobox"||a==="spinbutton";case "url":case "search":case "email":return a==="combobox";default:return false}},LI:function(t){var r=t.node,a=t.out,n=f.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=f.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !a},SELECT:function(t){var r=t.node,a=t.role;return !r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:a}},Fr.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var ym=Fr;function nE(e){var t=null,r=ym.role[e];return r&&r.implicit&&(t=Er(r.implicit)),t}var iE=nE;function oE(e){return !!Eu(e).length}var ao=oE;function Su(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Be(e);if(r??(r=_f["aria-haspopup"].values),!r.includes(a))return false;var n=sE(e);if(wm(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=on(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(wm)}var wm=function(t){return t&&Be(t)==="combobox"};function sE(e){for(;e=e.parent;)if(Be(e,{noPresentational:true})!==null)return e;return null}function uE(e){return e=He(e),Ni(e)}var Dm=uE;function lE(e){var t=Xe.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Ee(t.requiredAttrs)}var xm=lE;function cE(e){var t=Xe.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Ee(t.requiredContext)}var ku=cE;function dE(e){var t=Xe.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Ee(t.requiredOwned)}var Tu=dE;function fE(e,t){e=e instanceof Et?e:He(e);var r,a,n=e.attr(t),i=Xe.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=Mt(n),a.reduce(function(u,l){return u&&i.values.includes(l)},a.length!==0);case "idref":try{var o=Rt(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return gr(e,t).some(function(u){return !!u});case "string":return n.trim()!=="";case "decimal":return r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(n)&&parseInt(n)>=s}}var _m=fE;function pE(e){var t=Xe.ariaAttrs[e];return !!t}var no=pE;function mE(e){var t=_u(e),r=this,a=[];t.forEach(function(s){var u=s.getAttribute("headers");u&&(a=a.concat(u.split(/\s+/)));var l=s.getAttribute("aria-labelledby");l&&(a=a.concat(l.split(/\s+/)));});var n=t.filter(function(s){return Ie(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf($e(s))!==-1}),i=kr(e),o=true;return n.forEach(function(s){if(!(s.getAttribute("id")&&a.includes(s.getAttribute("id")))){var u=Pi(s,i),l=false;_a(s)&&(l=Au("down",u,i).find(function(c){return !_a(c)&&to(c,i).includes(s)})),!l&&Aa(s)&&(l=Au("right",u,i).find(function(c){return !Aa(c)&&to(c,i).includes(s)})),l||r.relatedNodes(s),o=o&&l;}}),o?true:void 0}var hE=mE,_n=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Am=_n[0],Em=_n[1],Cm=_n[2],Fu=_n[3];function gE(e){for(var t=[],r={},a=0;a<e.rows.length;a++)for(var n=e.rows[a],i=0;i<n.cells.length;i++){var o=n.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Be(o));}var u=Se(Se(Se(Se({},Cm,new Set),Am,new Set),Em,new Set),Fu,new Set);t.forEach(function(m){if(!(!m.hasAttribute("headers")||!lt(m))){var D=m.getAttribute("headers").trim();if(!D){u[Fu].add(m);return}var C=m.getAttribute("id"),T=Mt(D);T.forEach(function(R){C&&R===C?u[Cm].add(m):r[R]?["columnheader","rowheader"].includes(r[R])||u[Em].add(m):u[Am].add(m);});}});var l=tt(_n),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;if(u[d].size>0)return this.relatedNodes(Ee(u[d])),d===Fu?void 0:(this.data({messageKey:d}),!1)}}catch(m){l.e(m);}finally{l.f();}return true}function vE(e){var t=[],r=_u(e),a=kr(e);return r.forEach(function(n){if(Hi(n)&&dm(n)&&!Dm(n)){var i=to(n,a).some(function(o){return o!==null&&!!Hi(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var bE=vE;function yE(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var wE=yE,DE=xE;function xE(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(_E),i=n?Ie(Ur(n)):false;return !i||!a?false:Ie(a).toLowerCase()===Ie(i).toLowerCase()}}function _E(e){return e.props.nodeName==="caption"}function AE(e){return mp(v)?e.nodeName.toUpperCase()==="TH":true}var EE=AE;function CE(e){var t=kr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},false)}var SE=CE;function kE(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),false;try{var n=Ur(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var TE=kE,Sm={};nr(Sm,{getAriaRolesByType:function(){return Ca},getAriaRolesSupportingNameFromContent:function(){return Cu},getElementSpec:function(){return Gr},getElementsByContentType:function(){return Os},getGlobalAriaAttrs:function(){return zr},implicitHtmlRoles:function(){return qs}});function FE(e,t,r){var a=$e(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var n=Be(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=zr().some(function(u){return r.hasAttr(u)}),o=bt(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:n}),false}function RE(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 IE=RE;function LE(e){return $t(e)}var PE=LE;function OE(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,u=t.noImportant,l=t.multiLineOnly;if(!u&&e.style.getPropertyPriority(r)!=="important"||l&&!gp(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(Oe({value:d},c)),true;var m=ME(e,{absoluteValues:a,cssProperty:r,normalValue:s});if(this.data(Oe({value:m},c)),typeof m=="number")return (typeof n!="number"||m>=n)&&(typeof i!="number"||m<=i)}function ME(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=p.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var s=parseFloat(o);if(a)return s;var u=parseFloat(i.getPropertyValue("font-size")),l=Math.round(s/u*100)/100;return isNaN(l)?o:l}function NE(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var qE=NE;function BE(){}var HE=BE;function VE(){var e=v.title;return !!Ie(e)}var jE=VE;function $E(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),false):true}var zE=$E;function GE(e,t,r){try{return !!Ie(dn(r))}catch{return}}var UE=GE;function WE(e,t,r){return !!Ie(fn(r))}var XE=WE;function YE(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Rt(e),a=Array.from(r.querySelectorAll('[id="'.concat(ft(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var KE=YE;function JE(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var ZE=JE;function QE(e,t,r){var a=Ie(r.attr("title")).toLowerCase();return this.data(a),true}var eC=QE;function tC(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 rC=tC;function aC(e){var t=Fs(e,"href");return t?lt(t)||void 0:false}var nC=aC,iC=["alert","log","status"];function oC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Ne.get("regionlessNodes",function(){return sC(t)});return !a.includes(r)}function sC(e){var t=km(f._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==v.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function km(e,t){var r=e.actualNode;if(Be(e)==="button"||lC(e,t)||["iframe","frame"].includes(e.props.nodeName)||eu(e.actualNode)&&Fs(e.actualNode,"href")||!lt(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==v.body&&Hi(r,true)&&!uC(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return km(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function uC(e){return ["none","presentation"].includes(Be(e))&&!Bi(e)}function lC(e,t){var r=e.actualNode,a=Be(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Ca("landmark");return !!(["assertive","polite"].includes(n)||iC.includes(a)||i.includes(a)||t.regionMatcher&&mn(e,t.regionMatcher))}function cC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var a=r.node.ancestry.slice(0,-1),n=tt(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(hu(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 dC=cC;function fC(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 pC(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 Ru(e){var t=p.getComputedStyle(pC(e));return {fontWeight:fC(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function Tm(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 mC(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(R){return R.nodeName.toUpperCase()==="P"}),s=a.slice(0,n).reverse().find(function(R){return R.nodeName.toUpperCase()==="P"}),u=Ru(e),l=o?Ru(o):null,c=s?Ru(s):null,d=t.passLength,m=t.failLength,D=e.textContent.trim().length,C=o?.textContent.trim().length;if(D>C*d||!l||!Tm(u,l,i))return true;var T=wa(r,"blockquote");if(!(T&&T.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!Tm(u,c,i))&&!(D>C*m))return false}var hC=mC,gC=/[;,\s]/,vC=/^[0-9.]+$/;function bC(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(gC),u=he(s,1),l=u[0];if(!l.match(vC))return true;var c=parseFloat(l);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function yC(e,t,r){var a=Ut(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var wC=yC,Fm={};nr(Fm,{aria:function(){return pm},color:function(){return Rm},dom:function(){return bs},forms:function(){return $m},matches:function(){return mn},math:function(){return rf},standards:function(){return Sm},table:function(){return lm},text:function(){return cn},utils:function(){return To}});var Rm={};nr(Rm,{Color:function(){return ct},centerPointOfRect:function(){return xC},elementHasImage:function(){return Vi},elementIsDistinct:function(){return Lm},filteredRectStack:function(){return CC},flattenColors:function(){return xr},flattenShadowColors:function(){return Lu},getBackgroundColor:function(){return En},getBackgroundStack:function(){return Pu},getContrast:function(){return Sa},getForegroundColor:function(){return so},getOwnBackgroundColor:function(){return sa},getRectStack:function(){return Pm},getStackingContext:function(){return Mu},getStrokeColorsFromShadows:function(){return Ou},getTextShadowColors:function(){return oo},hasValidContrastRatio:function(){return XC},incompleteData:function(){return ot},parseTextShadows:function(){return Nm},stackingContextToColor:function(){return An}});function DC(e){if(!(e.left>p.innerWidth)&&!(e.top>p.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),p.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),p.innerHeight-1);return {x:t,y:r}}}var xC=DC;function Im(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function _C(e,t){var r=p.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(s,u){var l=new ct;return l.parseString(r.getPropertyValue(u+"-color")),s||r.getPropertyValue(u+"-style")!=="none"&&parseFloat(r.getPropertyValue(u+"-width"))>0&&l.alpha!==0},false);if(a)return true;var n=p.getComputedStyle(t);if(Im(r)[0]!==Im(n)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,u){return s||r.getPropertyValue(u)!==n.getPropertyValue(u)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var Lm=_C;function AC(e){var t=wf(e),r=Xs(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Pm=AC;function EC(e){var t=Pm(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],s=t[i];a=o.every(function(u,l){return u===s[l]})||r.includes(e);}}),a?t[0]:(ot.set("bgColor","elmPartiallyObscuring"),null)}return ot.set("bgColor","outsideViewport"),null}var CC=EC,SC=["hue","saturation","color","luminosity"],Om={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 xr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=TC(t,e,r),n=Iu(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Iu(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Iu(e.blue,e.alpha,t.blue,t.alpha,a.b*255),s=kC(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new ct(n,i,o,s);var u=Math.round(n/s),l=Math.round(i/s),c=Math.round(o/s);return new ct(u,l,c,s)}function Iu(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function kC(e,t,r){return Math.min(Math.max(t,e),r)}function TC(e,t,r){if(SC.includes(r))return Om[r](e,t);var a=new ct;return ["r","g","b"].forEach(function(n){a[n]=Om[r](e[n],t[n]);}),a}function Lu(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new ct(a,n,i,o)}function Pu(e){for(var t=Xs(e).map(function(n){return n=vp(n,e),n=FC(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return ot.set("bgColor","bgOverlap"),null;if(r!==0&&!RC(a,t[0]))return ot.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function FC(e){var t=e.indexOf(v.body),r=e,a=sa(p.getComputedStyle(v.documentElement));if(t>1&&a.alpha===0&&!Vi(v.documentElement)){t>1&&(r.splice(t,1),r.push(v.body));var n=r.indexOf(v.documentElement);n>0&&(r.splice(n,1),r.push(v.documentElement));}return r}function RC(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 IC=.54,io=.5,LC=1.5,Mm=["top","right","bottom","left"];function Ou(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=PC(e),i=Object.entries(n).map(function(o){var s=he(o,2),u=s[0],l=s[1],c=Mm.filter(function(d){return l[d].length!==0}).length;return {colorStr:u,sides:l,edgeCount:c}});return !a&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(OC).filter(function(o){return o!==null})}function PC(e){var t={},r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,s=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var u=t[o],l=he(s,2),c=l[0],d=l[1];c>io?u.right.push(c):-c>io&&u.left.push(-c),d>io?u.bottom.push(d):-d>io&&u.top.push(-d);}}catch(m){r.e(m);}finally{r.f();}return t}function OC(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new ct;n.parseString(t);var i=0,o=true;return Mm.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(u){return u>LC}));}),o||(n.alpha=1-Math.pow(IC,i)),n}function Nm(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)We(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){We(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]===",")We(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(s){var u=s.pixels;u.length===2&&u.push(0);}),a}function oo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=p.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var u=o.getPropertyValue("font-size"),l=parseInt(u);We(isNaN(l)===false,"Unable to determine font-size value ".concat(u));var c=[],d=Nm(s),m=tt(d),D;try{for(m.s();!(D=m.n()).done;){var C=D.value,T=C.colorStr||o.getPropertyValue("color"),R=he(C.pixels,3),L=R[0],P=R[1],M=R[2],N=M===void 0?0:M;if(!(a&&N>=l*a)){if(r&&N<l*r){c.push({colorStr:T,pixels:C.pixels});continue}if(c.length>0){var B=Ou(c,{ignoreEdgeCount:n});if(B===null)return null;i.push.apply(i,Ee(B)),c.splice(0,c.length);}var U=MC({colorStr:T,offsetX:L,offsetY:P,blurRadius:N,fontSize:l});i.push(U);}}}catch(ae){m.e(ae);}finally{m.f();}if(c.length>0){var J=Ou(c,{ignoreEdgeCount:n});if(J===null)return null;i.push.apply(i,Ee(J));}return i}function MC(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new ct(0,0,0,0);var o=new ct;return o.parseString(t),o.alpha*=NC(n,i),o}function NC(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Mu(e,t){var r=He(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??Pu(e),t.forEach(function(i){var o,s=He(i),u=HC(s),l=s._stackingOrder.filter(function(m){var D=m.vNode;return !!D});l.forEach(function(m,D){var C,T=m.vNode,R=(C=l[D-1])===null||C===void 0?void 0:C.vNode,L=Bm(n,T,R);D===0&&!n.get(T)&&a.unshift(L),n.set(T,L);});var c=(o=l[l.length-1])===null||o===void 0?void 0:o.vNode,d=Bm(n,s,c);l.length||a.unshift(d),d.bgColor=u;}),r._stackingContext=a,a}function An(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(qC,qm()),n=xr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function qC(e,t){var r;e instanceof ct?r=e:r=An(e).color;var a=An(t).color;return xr(a,r,t.blendMode)}function qm(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new ct(0,0,0,0),blendMode:BC(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function BC(e){return e||void 0}function Bm(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:qm(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function HC(e){var t=new ct;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function En(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=He(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,Ee(n.bgElms)),ot.set("bgColor",n.incompleteData),n.bgColor;var i=VC(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:ot.get("bgColor")},i}function VC(e,t,r){var a,n,i=Pu(e);if(!i)return null;var o=Ws(e),s=(a=oo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];s.length&&(s=[{color:s.reduce(Lu)}]);for(var u=0;u<i.length;u++){var l=i[u],c=p.getComputedStyle(l);if(Vi(l,c))return t.push(l),null;var d=void 0;try{if(d=sa(c),d.alpha===0)continue}catch(T){if(T&&ot.get("colorParse"))return null;throw T}if(c.getPropertyValue("display")!=="inline"&&!Hm(l,o))return t.push(l),ot.set("bgColor","elmPartiallyObscured"),null;if(t.push(l),d.alpha===1)break}var m=Mu(e,i);s=m.map(An).concat(s);var D=jC(e,i.includes(v.body));if((n=s).unshift.apply(n,Ee(D)),s.length===0)return new ct(255,255,255,1);var C=s.reduce(function(T,R){return xr(R.color,T.color instanceof ct?T.color:T,R.blendMode)});return xr(C.color instanceof ct?C.color:C,new ct(255,255,255,1))}function Hm(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=p.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),u=parseInt(i.getPropertyValue("padding-right"),10),l=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof p.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+u,n=r.top+e.scrollHeight+l+c),t.every(function(d){return d.top>=r.top&&d.bottom<=n&&d.left>=r.left&&d.right<=a})}function Vm(e){return e||void 0}function jC(e,t){var r=[];if(!t){var a=v.documentElement,n=v.body,i=p.getComputedStyle(a),o=p.getComputedStyle(n),s=sa(i),u=sa(o),l=u.alpha!==0&&Hm(n,e.getBoundingClientRect());(u.alpha!==0&&s.alpha===0||l&&u.alpha!==1)&&r.unshift({color:u,blendMode:Vm(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!l||l&&u.alpha!==1)&&r.unshift({color:s,blendMode:Vm(i.getPropertyValue("mix-blend-mode"))});}return r}function $C(e,t){if(!t||!e)return null;t.alpha<1&&(t=xr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Sa=$C;function so(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=p.getComputedStyle(e),i=[function(){return GC(n,a)},function(){return zC(n)},function(){return oo(e,{minRatio:0})}],o=[];try{for(var s=0,u=i;s<u.length;s++){var l=u[s],c=l();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(T){if(T&&ot.get("colorParse"))return null;throw T}var d=o.reduce(function(T,R){return xr(T,R)});if(r??(r=En(e,[])),r===null){var m=ot.get("bgColor");return ot.set("fgColor",m),null}var D=Mu(e),C=jm(D,e);return xr(UC(d,C,D),new ct(255,255,255,1))}function zC(e){return new ct().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function GC(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new ct().parseString(s)}function UC(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(An);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,u){return xr(u.color,s.color instanceof ct?s.color:s)},{color:new ct(0,0,0,0),blendMode:"normal"});e=xr(e,o),t=t.ancestor;}return e}function jm(e,t){var r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value;if(((n=i.vNode)===null||n===void 0?void 0:n.actualNode)===t)return i;var o=jm(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function WC(e,t,r,a){var n=Sa(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 XC=WC,$m={};nr($m,{isAriaCombobox:function(){return Yf},isAriaListbox:function(){return Xf},isAriaRange:function(){return Kf},isAriaTextbox:function(){return Wf},isDisabled:function(){return Cn},isNativeSelect:function(){return Uf},isNativeTextbox:function(){return Gf}});var YC=["fieldset","button","select","input","textarea"];function zm(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return YC.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=zm(e.parent):t=false,e._isDisabled=t,t}var Cn=zm;function KC(e,t,r){var a=cn.accessibleTextVirtual(r),n=cn.sanitize(cn.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:bs.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var JC=KC;function Gm(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return false;var n=r.every(function(i){var o=e[i],s=t[i];return te(o)!==te(s)?false:te(o)==="object"||te(s)==="object"?Gm(o,s):o===s});return n}function ZC(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],a={},n=function(s){var u,l=t[s],c=l.data,d=c.name,m=c.urlProps;if(a[d])return 1;var D=t.filter(function(T,R){var L=T.data;return L.name===d&&R!==s}),C=D.every(function(T){var R=T.data;return Gm(R.urlProps,m)});D.length&&!C&&(l.result=void 0),l.relatedNodes=[],(u=l.relatedNodes).push.apply(u,Ee(D.map(function(T){return T.relatedNodes[0]}))),a[d]=D,r.push(l);},i=0;i<t.length;i++)n(i);return r}var QC=ZC;function eS(e){var t=Be(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=he(i,2),s=o[1];return r?s&&!a?parseInt(s,10):isNaN(n)||n<1?s?parseInt(s,10):2:n||-1:-1}function tS(){var e=Ne.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Dr(f._tree[0],t,lt);return e=r.map(function(a){return {ancestry:[hi(a.actualNode)],level:eS(a)}}),this.data({headingOrder:e}),Ne.set("headingOrder",r),true}var rS=tS;function aS(e){var t=iS(e);return e.forEach(function(r){r.result=nS(r,t);}),e}function nS(e,t){var r,a,n,i,o=Um(t,e.node.ancestry),s=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,u=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return true;if(s!==-1)return s-u<=1}function iS(e){e=Ee(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(oS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function oS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=Wm(t.node.ancestry,1);if(!a)return e;var i=a.map(function(s){return uS(s,n)}),o=sS(e,n);return o===-1?e.push.apply(e,Ee(i)):e.splice.apply(e,[o,0].concat(Ee(i))),e}function sS(e,t){for(;t.length;){var r=Um(e,t);if(r!==-1)return r;t=Wm(t,1);}return -1}function Um(e,t){return e.findIndex(function(r){return hu(r.ancestry,t)})}function uS(e,t){var r=t.concat(e.ancestry);return Oe({},e,{ancestry:r})}function Wm(e,t){return e.slice(0,e.length-t)}function lS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Sr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Sr.bind(null,a),o=Ri(r),s=cS(r,o),u=dS(r,o),l=u.fullyObscuringElms,c=u.partialObscuringElms;if(s.length&&(l.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Sn(s));return}if(l.length)return this.relatedNodes(Sn(l)),this.data({messageKey:"obscured"}),true;var d=er(r)?false:void 0;if(!i(n))return this.data(Oe({minSize:a},uo(n))),d;var m=mS(c);if(!m.length)return this.data(Oe({minSize:a},uo(n))),true;var D=fS(r,m,a);if(!D){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(D)){if(s.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(Sn(s));return}var C=m.every(er),T="partiallyObscured".concat(C?"":"NonTabbable");return this.data(Oe({messageKey:T,minSize:a},uo(D))),this.relatedNodes(Sn(m)),C?d:void 0}return this.data(Oe({minSize:a},uo(D||n))),this.relatedNodes(Sn(m)),true}function cS(e,t){return t.filter(function(r){return !Xm(r,e)&&Ym(e,r)})}function dS(e,t){var r=[],a=[],n=tt(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!Ym(e,o)&&As(e,o)&&hS(o)!=="none"&&(Xm(e,o)?r.push(o):a.push(o));}}catch(s){n.e(s);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function fS(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=Es(a,n);}catch{return null}return pS(i,r)}function pS(e,t){return e.reduce(function(r,a){var n=Sr(t,r),i=Sr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,s=a.width*a.height;return o>s?r:a})}function mS(e){return e.filter(function(t){return dr(t)==="widget"&&bt(t)})}function Xm(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 hS(e){return e.getComputedStylePropertyValue("pointer-events")}function uo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Ym(e,t){return Cr(e,t)&&!er(t)}function Sn(e){return e.map(function(t){var r=t.actualNode;return r})}var gS=.05;function vS(e,t,r){var a=t?.minOffset||24;if(Sr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=tt(Ri(r,a)),s;try{for(o.s();!(s=o.n()).done;){var u=s.value;if(!(dr(u)!=="widget"||!bt(u))){var l=null;try{l=nf(r,u,a/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}l!==null&&(l=bS(l)*2,!(l+gS>=a)&&(i=Math.min(i,l),n.push(u)));}}}catch(c){o.e(c);}finally{o.f();}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),true;if(this.relatedNodes(n.map(function(c){var d=c.actualNode;return d})),!n.some(er)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),er(r)?false:void 0}function bS(e){return Math.round(e*10)/10}function yS(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,s=o===void 0?false:o,u=r.attr("content")||"";if(!u)return true;var l=u.split(/[;,]/).reduce(function(d,m){var D=m.trim();if(!D)return d;var C=D.split("="),T=he(C,2),R=T[0],L=T[1];if(!R||!L)return d;var P=R.toLowerCase().trim(),M=L.toLowerCase().trim();return P==="maximum-scale"&&M==="yes"&&(M=1),P==="maximum-scale"&&parseFloat(M)<0||(d[P]=M),d},{});if(s&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<s)return true;if(!s&&l["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(l["user-scalable"]);return !s&&l["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):l["maximum-scale"]&&parseFloat(l["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var wS=yS;function DS(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,s=t||{},u=s.degreeThreshold,l=u===void 0?0:u;if(!o||!o.length)return;for(var c=false,d=[],m=R(o),D=function(){var oe=T[C],de=m[oe],me=de.root,Ce=de.rules,Pe=Ce.filter(L);if(!Pe.length)return 1;Pe.forEach(function(we){var Te=we.cssRules;Array.from(Te).forEach(function(ue){var _e=P(ue);if(_e&&ue.selectorText.toUpperCase()!=="HTML"){var j=Array.from(me.querySelectorAll(ue.selectorText))||[];d=d.concat(j);}c=c||_e;});});},C=0,T=Object.keys(m);C<T.length;C++)D();if(!c)return true;return d.length&&this.relatedNodes(d),false;function R(Z){return Z.reduce(function(oe,de){var me=de.sheet,Ce=de.root,Pe=de.shadowId,we=Pe||"topDocument";if(oe[we]||(oe[we]={root:Ce,rules:[]}),!me||!me.cssRules)return oe;var Te=Array.from(me.cssRules);return oe[we].rules=oe[we].rules.concat(Te),oe},{})}function L(Z){var oe=Z.type,de=Z.cssText;return oe!==4?false:/orientation:\s*landscape/i.test(de)||/orientation:\s*portrait/i.test(de)}function P(Z){var oe=Z.selectorText,de=Z.style;if(!oe||de.length<=0)return false;var me=de.transform||de.webkitTransform||de.msTransform||false;if(!me&&!de.rotate)return false;var Ce=M(me),Pe=N("rotate",de.rotate),we=Ce+Pe;return !we||(we=Math.abs(we),Math.abs(we-180)%180<=l)?false:Math.abs(we-90)%90<=l}function M(Z){if(!Z)return 0;var oe=Z.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!oe)return 0;var de=he(oe,3),me=de[1],Ce=de[2];return N(me,Ce)}function N(Z,oe){switch(Z){case "rotate":case "rotateZ":return B(oe);case "rotate3d":var de=oe.split(",").map(function(we){return we.trim()}),me=he(de,4),Ce=me[2],Pe=me[3];return parseInt(Ce)===0?void 0:B(Pe);case "matrix":case "matrix3d":return U(oe);default:return 0}}function B(Z){var oe=Z.match(/(deg|grad|rad|turn)/)||[],de=he(oe,1),me=de[0];if(!me)return 0;var Ce=parseFloat(Z.replace(me,""));switch(me){case "rad":return J(Ce);case "grad":return ae(Ce);case "turn":return pe(Ce);default:return parseInt(Ce)}}function U(Z){var oe=Z.split(",");if(oe.length<=6){var de=he(oe,2),me=de[0],Ce=de[1],Pe=Math.atan2(parseFloat(Ce),parseFloat(me));return J(Pe)}var we=parseFloat(oe[8]),Te=Math.asin(we),ue=Math.cos(Te),_e=Math.acos(parseFloat(oe[0])/ue);return J(_e)}function J(Z){return Math.round(Z*(180/Math.PI))}function ae(Z){return Z=Z%400,Z<0&&(Z+=400),Math.round(Z/400*360)}function pe(Z){return Math.round(360/(1/Z))}}var xS=DS;function _S(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var a=t.allowedDuration,n=a===void 0?3:a,i=o(e);if(i<=n)return true;if(!r)return false;return true;function o(l){if(!l.currentSrc)return 0;var c=s(l.currentSrc);return c?c.length===1?Math.abs(l.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(l.duration-(l.currentTime||0))}function s(l){var c=l.match(/#t=(.*)/);if(c){var d=he(c,2),m=d[1],D=m.split(",");return D.map(function(C){return /:/.test(C)?u(C):parseFloat(C)})}}function u(l){for(var c=l.split(":"),d=0,m=1;c.length>0;)d+=m*parseInt(c.pop(),10),m*=60;return parseFloat(d)}}var AS=_S;function ES(e,t){return t.isViolation?false:void 0}var CS=ES,Km=" > ";function SS(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(Km);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(Km);return t[i]&&(t[i].result=true),false})}var kS=SS;function TS(e,t,r){var a=Ut(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var FS=TS;function RS(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 IS=RS;function LS(e,t,r){var a=false,n=false,i=true,o=[],s=[],u=[];return r.children.forEach(function(l){var c=l.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){a=true;return}if(!(c.nodeType!==1||!lt(c))){i=false;var d=c.nodeName.toUpperCase()==="LI",m=Be(l),D=m==="listitem";!d&&!D&&o.push(c),d&&!D&&(s.push(c),u.includes(m)||u.push(m)),D&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:u.join(", ")}),true)}var PS=LS;function OS(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,u){var l=u.actualNode;return l.nodeName.toUpperCase()==="DIV"&&Be(l)===null?s.concat(u.children):s.concat(u)},[]),o=i.reduce(function(s,u){var l=u.actualNode,c=l.nodeName.toUpperCase();if(l.nodeType===1&<(l)){var d=$e(l);(c!=="DT"&&c!=="DD"||d)&&(a.includes(d)||s.badNodes.push(l));}else l.nodeType===3&&l.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function MS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=$e(a);return ["presentation","none","list"].includes(i)?true:i&&pn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function NS(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=Jm(r.children);i.length;){var o,s=i.shift(),u=s.vChild,l=s.nested;if(t.divGroups&&!l&&BS(u)){if(!u.children)return;var c=Jm(u.children,true);i.push.apply(i,Ee(c));continue}var d=qS(u,l,t);d&&(n.includes(d)||n.push(d),(u==null||(o=u.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(u.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function qS(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,u=s.nodeName,l=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(l===3&&c.trim()!=="")return d+"#text";if(l!==1||!lt(e))return false;var m=$e(e);return m?n.includes(m)?false:d+"[role=".concat(m,"]"):o.includes(u)?false:d+u}function BS(e){return e.props.nodeName==="div"&&$e(e)===null}function Jm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function HS(e){var t=Ct(e),r=t.nodeName.toUpperCase(),a=$e(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=Ct(t),r=t.nodeName.toUpperCase(),a=$e(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var VS=HS;function jS(e,t,r){var a=la(r.attr("lang")),n=la(r.attr("xml:lang"));return a===n}var $S=jS;function zS(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=la(i),s=t.value?!t.value.map(la).includes(o):!eo(o);(o!==""&&s||i!==""&&!Ie(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!Ks(r)?false:(this.data(a),true)}var GS=zS;function Nu(e){return (e||"").trim()!==""}function US(e,t,r){var a=typeof v<"u"?Ja(v):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Nu(r.attr("xml:lang"))&&!Nu(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Nu(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var WS=US;function XS(e,t,r){var a=Be(e),n=St(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var YS=XS;function KS(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 JS=KS;function ZS(e,t,r){var a=qi(r),n=Oi(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var QS=ZS;function ek(e){var t=ft(e.getAttribute("id")),r=e.parentNode,a=Rt(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(s){return !$r(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(s){return lt(s)});if(i.length>1)return;var o=gr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var tk=ek;function rk(e,t){var r=Zm(t),a=Zm(e);return !r||!a?false:r.includes(a)}function Zm(e){var t=gn(e,{emoji:true,nonBmp:true,punctuations:true});return Ie(t)}function ak(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=na(e).toLowerCase(),s=Ie(Ur(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(Us(o)<1||Us(s)<1))return rk(s,o)}var nk=ak;function ik(e,t,r){try{var a=jt(r,"label");if(a){var n=Ie(St(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var ok=ik;function sk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Rt(e),n=ft(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!lt(i)){var o;try{o=St(r).trim();}catch{return}var s=o==="";return s}}return false}var uk=sk;function lk(e,t,r){var a=qi(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=gr(e,"aria-describedby");n=i.map(function(o){return o?na(o):""}).join("");}return Ie(n)===Ie(a)}var ck=lk;function dk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Rt(r.actualNode),i=ft(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if($t(s)){var u=Ie(na(s,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:u}),!!u}else return !0})}catch{return}}}var fk=dk;function pk(e,t,r){if(["none","presentation"].includes(Be(r)))return false;var a=jt(r,t.parentSelector);if(!a)return false;var n=br(a,true).toLowerCase();return n===""?false:n===St(r).toLowerCase()}var mk=pk;function hk(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var gk=hk;function vk(e,t,r){var a=wr(r.attr("tabindex"));return a===null||a<=0}var bk=vk;function yk(e,t,r){if(r.children)try{var a=Qm(r);if(!a.length)return !0;var n=a.filter(wk);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function Qm(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){dr(r)==="widget"&&bt(r)?t.push(r):t.push.apply(t,Ee(Qm(r)));}),t}function wk(e){var t=wr(e.attr("tabindex"));return t!==null&&t<0}function Dk(e){var t=Ca("landmark"),r=Ct(e),a=Be(e);for(this.data({role:a});r;){var n=$e(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=vr(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=Ct(r);}return true}var xk=Dk;function _k(e,t,r){if(r.children)try{return !r.children.some(function(a){return e1(a)})}catch{return}}function e1(e){if(er(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return e1(t)})}function Ak(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||bn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),u=parseInt(o.getComputedStylePropertyValue("width")),l=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(u===0||l===0)&&s==="none"})?void 0:false}var Ek=Ak;function Ck(e,t,r){if(!er(r))return false;try{return !St(r)}catch{return}}var Sk=Ck;function kk(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(bn()){this.relatedNodes(a);return}return true}var Tk=kk;function Fk(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return er(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=jt(r.parent,"[contenteditable]");return o?a(o):false}}var Rk=Fk;function Ik(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||bn()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),u=parseInt(o.getComputedStylePropertyValue("width")),l=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(u===0||l===0)&&s==="none"})?void 0:false}var Lk=Ik;function Pk(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 Ok=Pk;function Mk(e,t,r){return $r(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var Nk=Mk;function qk(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 Bk=qk;function Hk(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var a="page-no-duplicate;"+t.selector;if(Ne.get(a)){this.data("ignored");return}Ne.set(a,true);var n=Dr(f._tree[0],t.selector,function(i){return lt(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!wa(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return Be(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var Vk=Hk;function jk(e){return e.filter(function(t){return t.data!=="ignored"})}var $k=jk;function zk(e,t,r){return mn(r,t.matcher)}var Gk=zk;function Uk(e,t,r){try{return Ie(Ur(r))!==""}catch{return}}function Wk(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&&bn())return true;var a=Dr(r,t.selector,function(n){return lt(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var Xk=Wk;function Yk(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var Kk=Yk;function Jk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var a=r.attr(t.attribute),n=!Ie(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var Zk=Jk;function Qk(e,t,r){var a=r.attr("autocomplete")||"";return op(a,t)}var eT=Qk;function tT(e,t,r){if(r.props.nodeName!=="input")return true;var a=["text","search","number","tel"],n=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};te(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),u=s[s.length-1];if(oa.stateTerms.includes(u))return true;var l=i[u],c=r.hasAttr("type")?Ie(r.attr("type")).toLowerCase():"text";return c=Qi().includes(c)?c:"text",typeof l>"u"?c==="text":l.includes(c)}var rT=tT,aT=["block","list-item","table","flex","grid","inline-block"];function nT(e){if(t1(e))return false;for(var t=Ct(e);t&&t.nodeType===1&&!t1(t);)t=Ct(t);if(t){if(this.relatedNodes([t]),Lm(e,t))return true;if(iT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function t1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return aT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function iT(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=p.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function r1(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var oT=["block","list-item","table","flex","grid","inline-block"];function a1(e){var t=p.getComputedStyle(e).getPropertyValue("display");return oT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function sT(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(a1(e))return false;for(var n=Ct(e);n&&n.nodeType===1&&!a1(n);)n=Ct(n);if(n){this.relatedNodes([n]);var i=so(e),o=so(n),s=En(e),u=En(n),l=i&&o?r1(i,o):void 0;if(l&&(l=Math.floor(l*100)/100),l&&l>=r)return true;var c=s&&u?r1(s,u):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var d,m=(d=ot.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:m}),ot.clear();return}if(l)return a&&l===1&&c===1?true:l===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:u?u.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var uT=sT;function lT(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,u=t.largeTextPt,l=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!$t(e))return this.data({messageKey:"hidden"}),true;var m=br(r,false,true);if(a&&dT(m)){this.data({messageKey:"nonBmp"});return}var D=p.getComputedStyle(e),C=parseFloat(D.getPropertyValue("font-size")),T=D.getPropertyValue("font-weight"),R=parseFloat(T)>=o||T==="bold",L=Math.ceil(C*72)/96,P=R&&L<s||!R&&L<u,M=P?l.normal:l.large,N=M.expected,B=M.minThreshold,U=M.maxThreshold,J=cT(r,{ignorePseudo:i,pseudoSizeThreshold:d});if(J){this.data({fontSize:"".concat((C*72/96).toFixed(1),"pt (").concat(C,"px)"),fontWeight:R?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:N+":1"}),this.relatedNodes(J.actualNode);return}var ae=oo(e,{minRatio:.001,maxRatio:c});if(ae===null){this.data({messageKey:"complexTextShadows"});return}var pe=[],Z=En(e,pe,c),oe=so(e,false,Z,t),de=null,me=null,Ce=null;if(ae.length===0)de=Sa(Z,oe);else if(oe&&Z){Ce=[].concat(Ee(ae),[Z]).reduce(Lu);var Pe=Sa(Z,oe),we=Sa(Z,Ce),Te=Sa(Ce,oe);de=Math.max(Pe,we,Te),de!==Pe&&(me=we>Te?"shadowOnBgColor":"fgOnShadowColor");}var ue=de>N;if(typeof B=="number"&&(typeof de!="number"||de<B)||typeof U=="number"&&(typeof de!="number"||de>U))return this.data({contrastRatio:de}),true;var _e=Math.floor(de*100)/100,j,ge;Z===null?ot.get("colorParse")?(j="colorParse",ge=ot.get("colorParse")):j=ot.get("bgColor"):ue||(j=me),oe===null&&ot.get("colorParse")&&(j="colorParse",ge=ot.get("colorParse"));var ie=_e===1,ve=m.length===1;if(ie?j=ot.set("bgColor","equalRatio"):!ue&&ve&&!n&&(j="shortTextContent"),this.data({fgColor:oe?oe.toHexString():void 0,bgColor:Z?Z.toHexString():void 0,contrastRatio:_e,fontSize:"".concat((C*72/96).toFixed(1),"pt (").concat(C,"px)"),fontWeight:R?"bold":"normal",messageKey:j,expectedContrastRatio:N+":1",shadowColor:Ce?Ce.toHexString():void 0,colorParse:ge}),oe===null||Z===null||ie||ve&&!n&&!ue){j=null,ot.clear(),this.relatedNodes(pe);return}return ue||this.relatedNodes(pe),ue}function cT(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?false:n;if(!i){var o=e.boundingClientRect,s=o.width*o.height*a;do{var u=n1(e.actualNode,":before"),l=n1(e.actualNode,":after");if(u+l>s)return e}while(e=e.parent)}}var n1=it(function(t,r){var a=p.getComputedStyle(t,r),n=function(u,l){return a.getPropertyValue(u)===l};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||sa(a).alpha===0&&n("background-image","none"))return 0;var i=i1(a.getPropertyValue("width")),o=i1(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function dT(e){var t={nonBmp:true},r=zs(e,t),a=Ie(gn(e,t))==="";return r&&a}function i1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=he(r,3),n=a[1],i=n===void 0?"":n,o=a[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var fT={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},pT={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 mT(e){var t=e.nodeName.toUpperCase();return fT[t]||false}function hT(e,t){var r=$e(e);return r&&(pT[r]||t.roles.includes(r))||false}function gT(e,t){return hT(e,t)||mT(e)}var vT=gT;function bT(e,t,r){var a=Be(r,{dpub:true,fallback:true}),n=Ps(a);return n&&this.data(a),n}var yT=bT;function wT(e,t,r){var a=Be(r,{noImplicit:true});this.data(a);var n,i;try{n=Ie(js(r)).toLowerCase(),i=Ie(St(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var DT=wT;function xT(e,t,r){return bt(r)}var _T=xT;function AT(e,t,r){var a=Mt(r.attr("role")),n=a.every(function(i){return !pn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var ET=AT;function CT(e,t,r){var a=$e(r);if(a===null)return false;var n=dr(a);return n==="widget"||n==="composite"}var ST=CT;function kT(e,t,r){var a=zr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var TT=kT;function FT(e,t){var r=vr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function RT(e,t,r){var a=Mt(r.attr("role"));return a.length<=1?false:FT(r,a)?void 0:true}var IT=RT;function LT(e,t,r){var a=Be(r,{dpub:true,fallback:true}),n=Xe.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function PT(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(Ie(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ie(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function OT(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return Ie(St(r))!==""}catch{return}}function MT(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,s=["aria-errormessage"],u={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=f._tree&&f._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=f._tree&&f._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(l){if(!(s.includes(l)||t.includes(l)||!o.test(l))){var c,d=r.attr(l);try{c=_m(r,l);}catch{a="".concat(l,'="').concat(d,'"'),n="idrefs";return}(!u[l]||u[l](c))&&!c&&(d===""&&!NT(l)?(a=l,n="empty"):i.push("".concat(l,'="').concat(d,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function NT(e){var t;return ((t=Xe.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function qT(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)&&!no(i)&&a.push(i);}),a.length?(this.data(a),false):true}var BT=qT;function HT(e,t,r){var a=r.attrNames.filter(function(n){var i=Xe.ariaAttrs[n];if(!no(n))return false;var o=i.unsupported;return te(o)!=="object"?!!o:!mn(e,o.exceptions)});return a.length?(this.data(a),true):false}var VT=HT;function jT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=Be(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var $T=jT;function o1(e,t,r,a){var n=$e(e);if(r||(r=ku(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var s=Be(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(u){return u!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function zT(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=ft(e.getAttribute("id")),n=Rt(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function GT(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=o1(r,a);if(!n)return true;var i=zT(e);if(i){for(var o=0,s=i.length;o<s;o++)if(n=o1(He(i[o]),a,n,true),!n)return true}return this.data(n),false}var UT=GT;function WT(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=$e(r,{dpub:true}),i=Tu(n);if(i===null)return true;var o=XT(r,i),s=o.filter(function(l){var c=l.role,d=l.vNode;return d.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(l){var c=l.vNode;return c}));var u=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:u,values:s.map(function(l){var c=l.vNode,d=l.attr;return JT(c,d)}).filter(function(l,c,d){return d.indexOf(l)===c}).join(", ")}),false}if(YT(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(ZT)))return false}function XT(e,t){for(var r,a=[],n=hn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!lt(r))return 1;var s=Be(r,{noPresentational:true}),u=KT(r),l=!!u||bt(r);if(!s&&!l||["group","rowgroup"].includes(s)&&t.some(function(d){return d===s}))n.push.apply(n,Ee(r.children));else if(s||l){var c=u||"tabindex";a.push({role:s,attr:c,vNode:r});}};r=n.shift();)i();return a}function YT(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function KT(e){return zr().find(function(t){return e.hasAttr(t)})}function JT(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=$e(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function ZT(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:vn(t,false,true)}function QT(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=$e(a),i=a.attrNames,o=xm(n);if(Array.isArray(r[n])&&(o=Dn(r[n],o)),!n||!i.length||!o.length||e5(a,n)||r5(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=Gr(a),u=o.filter(function(l){return !a.attr(l)&&!t5(s,l)});return u.length?(this.data(u),false):true}function e5(e,t){return t==="separator"&&!bt(e)}function t5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function r5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function a5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t?.elementsAllowedAriaLabel||[],n=r.props.nodeName,i=Be(r,{chromium:true,fallback:true}),o=n5(r,i,n,a),s=o.filter(function(c){return r.attrNames.includes(c)?Ie(r.attr(c))!=="":false});if(s.length===0)return false;var u=i!==null?"hasRole":"noRole";u+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:u,prohibited:s});var l=Ur(r,{subtreeDescendant:true});if(Ie(l)==="")return true}function n5(e,t,r,a){var n=Xe.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||s1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var s1=it(function(t){if(t){var r=Be(t,{noPresentational:true,chromium:true});return r?dr(r):s1(t.parent)}});function i5(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var o5=i5;function s5(e,t,r){return r.attr("aria-hidden")!=="true"}var u5=s5;function l5(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(u){if(u.trim()==="")return Xe.ariaAttrs["aria-errormessage"].allowEmpty;var l=Mt(u);if(l.length>1)return this.data({messageKey:"unsupported",values:l}),false;var c;try{c=u&&gr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:l});return}if(c){if(!lt(c))return this.data({messageKey:"hidden",values:l}),false;var d=Mt(r.attr("aria-describedby"));return $e(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||l.some(function(m){return d.includes(m)})}}return t.indexOf(a)===-1&&n?(this.data(Mt(a)),s.call(this,a)):true}function u1(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=c5(i),u=s&&Be(s);if(!u||u==="treegrid")return true;var l="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:l,invalidAttrs:o,ownerRole:u}),false}function c5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return jt(e,t)}}function l1(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=f5(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var s=d5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function d5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function f5(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var c1={row:u1,checkbox:l1};function p5(e,t,r){var a=Be(r);return c1[a]?c1[a].call(this,e,t,r):true}function m5(e,t,r){return r.attr("aria-busy")==="true"}function h5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?true:a,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(l){return l.toLowerCase()}).includes(s))return true;var u=vm(r,n);return u.length?(this.data(u),lt(r)?false:void 0):true}var g5=h5;function v5(e,t,r){var a=[],n=Be(r),i=mm(n);Array.isArray(t[n])&&(i=Dn(t[n].concat(i)));var o=tt(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var u=s.value;no(u)&&!i.includes(u)&&!b5(u,r.attr(u),r)&&a.push(u);}}catch(l){o.e(l);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(l){return l+'="'+r.attr(l)+'"'})),!(!n&&!pu(r)&&!bt(r)))return false}function b5(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function y5(e,t,r){var a=Gr(r);if(!a.allowedAriaAttrs)return true;var n=$e(r);if(n)return true;var i=a.allowedAriaAttrs,o=zr(),s=[],u=tt(r.attrNames),l;try{for(u.s();!(l=u.n()).done;){var c=l.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(m){u.e(m);}finally{u.f();}if(!s.length)return true;var d=s.length>1?"plural":"singular";return this.data({messageKey:d,nodeName:r.props.nodeName,values:s.map(function(m){return m+'="'+r.attr(m)+'"'}).join(", ")}),false}function w5(e,t,r){var a=Mt(r.attr("role")).filter(function(n){return dr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var D5=w5;function x5(e){var t=la(e.getAttribute("lang")),r=la(e.getAttribute("xml:lang"));return eo(t)&&eo(r)}var _5=x5;function A5(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var E5=A5;function C5(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!jt(t,"svg")}catch{return false}}var qu=C5;function S5(e,t){return k5.every(function(r){return r(e,t)})}var k5=[function(e,t){return d1(t)},function(e,t){return T5(t)},function(e,t){return !qu(e,t)},function(e,t){return bt(t)},function(e,t){return er(t)||!F5(t)},function(e){return !Js(e,{noLengthCompare:true,includeInlineBlock:true})}];function d1(e){return dr(e)==="widget"}function T5(e){return e.props.nodeName!=="area"}var F5=it(function e(t){return t!=null&&t.parent?d1(t.parent)&&er(t.parent)?true:e(t.parent):false});function R5(e,t){var r=Be(t);return ["treegrid","grid","table"].includes(r)}function I5(e,t){var r=t.parent;if(r.props.nodeName!=="details"||L5(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function L5(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function P5(e){return eu(e)&&Ci(e)}var O5=P5;function M5(e,t){return Tr(e,13)!==void 0&&Su(t)===false&&N5(t)}function N5(e){var t=e.boundingClientRect;return Ut(e,"*").some(function(r){if(!vn(r,true,true))return false;var a=[];if(Bi(r)){var n;(n=a).push.apply(n,Ee(q5(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 q5(e){var t=v.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function B5(e,t){return vr(t,{chromiumRoles:true})!==null}var H5=B5;function V5(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 j5=V5;function $5(e,t){var r=$e(t);if(!r||["none","presentation"].includes(r))return true;var a=Af[r]||{},n=a.accessibleNameRequired;return !!(n||bt(t))}var f1=$5,z5=function(t,r){return [f1,G5].every(function(a){return a(t,r)})};function G5(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 U5(e,t){return t.props.nodeName!=="html"}var W5=U5;function X5(e,t){return !t.attr("role")}var Y5=X5;function K5(e,t){var r=wr(t.attr("tabindex"));return r===null||r>=0}var J5=K5;function Z5(e,t){var r=Gr(t),a=r.namingMethods;return !(a&&a.length!==0||$e(t)==="combobox"&&Ut(t,'input:not([type="hidden"])').length||Su(t,{popupRoles:["listbox"]}))}var Q5=Z5;function eF(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var tF=eF;function rF(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var aF=rF;function nF(e,t){var r=Be(t);return r?!!Xe.ariaRoles[r].childrenPresentational:false}var iF=nF;function oF(e){var t=Ie(e.innerText),r=$e(e);return r&&r!=="link"||!t||!$t(e)?false:Js(e)}var sF=oF;function uF(e){return !ro(e)&&!bt(e)}var lF=uF;function cF(e,t){return dF(t)&<(t)}function dF(e){var t=Ca("landmark"),r=Be(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=St(e);return !!n}return t.indexOf(r)>=0||r==="region"}function fF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!wa(t,r)}var pF=fF;function mF(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 hF=mF;function gF(e,t){var r=Be(e);if(!r)return false;var a=Ca("widget"),n=a.includes(r);if(!n)return false;var i=Cu();return !(!i.includes(r)||!Ie(fn(t))&&!Ie(dn(e))||!Ie(br(t)))}var vF=gF;function bF(e,t){return $t(t)}function yF(e){return $t(e)}function wF(e,t,r){return r.initiator}var p1=wF;function DF(e){return dp(e)}var xF=DF;function _F(e,t){var r=!!St(t);if(!r)return false;var a=Be(e);return !(a&&a!=="link")}var AF=_F;function EF(e,t){return !qu(e,t)}var CF=EF;function SF(e,t){return Be(t)==="heading"}function kF(e,t){return vr(t,{chromium:true})!==null}var TF=kF;function FF(e){var t=e.getAttribute("title");return !!Ie(t)}var RF=FF;function IF(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 LF=IF;function PF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(ft(t),'"]'),a=Array.from(Rt(e).querySelectorAll(r));return !ao(e)&&a.every(function(n){return !bt(n)})}var OF=PF;function MF(e){return ao(e)}var NF=MF;function qF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(ft(t),'"]'),a=Array.from(Rt(e).querySelectorAll(r));return !ao(e)&&a.some(bt)}var BF=qF;function HF(e){return ro(e)}var VF=HF;function jF(e){if(ro(e)){var t=kr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var $F=jF;function zF(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||Cn(t)||Ii(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var s=p.getComputedStyle(e),u=parseInt(s.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!tu(l,e))return false}return true}var c=wa(t,"label");if(a==="label"||c){var d=c||e,m=c?He(c):t;if(d.htmlFor){var D=Rt(d),C=D.getElementById(d.htmlFor),T=C&&He(C);if(T&&Cn(T))return false}var R='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',L=Ut(m,R)[0];if(L&&Cn(L))return false}for(var P=[],M=t;M;){if(M.props.id){var N=Eu(M).filter(function(oe){return Mt(oe.getAttribute("aria-labelledby")||"").includes(M.props.id)}).map(function(oe){return He(oe)});P.push.apply(P,Ee(N));}M=M.parent;}if(P.length>0&&P.every(Cn)||!WF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var B=v.createRange(),U=t.children,J=0;J<U.length;J++){var ae=U[J];ae.actualNode.nodeType===3&&Ie(ae.actualNode.nodeValue)!==""&&B.selectNodeContents(ae.actualNode);}var pe=Array.from(B.getClientRects()),Z=sn(t);return pe.some(function(oe){var de=tu(oe,e);if(!Z.length)return de;var me=Z.some(function(Ce){return ys(oe,Ce.boundingClientRect)});return de&&me})}var GF=zF,UF={emoji:true,nonBmp:false,punctuations:true};function WF(e){var t=br(e,false,true);return t===""||gn(t,UF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Gs(r)})}function XF(e,t,r){return p1(e,t,r)?!!e.querySelector("a[href]"):true}var YF=XF;function KF(e,t){var r=t.attr("autocomplete");if(!r||Ie(r)==="")return false;var a=t.props.nodeName;if(["textarea","input","select"].includes(a)===false)return false;var n=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||n.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(a==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=$e(t),u=wr(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var l=Xe.ariaRoles[s];if(l===void 0||l.type!=="widget")return false}return !(u<0&&t.actualNode&&!$t(t)&&!lt(t))}var JF=KF;function ZF(e,t){var r=$e(t);return !!ku(r)}var QF=ZF;function e3(e,t){var r=$e(t,{dpub:true});return !!Tu(r)}var t3=e3;function m1(e){return e?e.getAttribute("aria-hidden")==="true"?false:m1(Ct(e)):true}function r3(e){return m1(Ct(e))}var a3=r3;function n3(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var i3=n3;function o3(e,t){return $e(t,{dpub:true,fallback:true})!==null}var s3=o3;function u3(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 l3=u3,c3={"abstractrole-evaluate":D5,"accesskeys-after":Bk,"accesskeys-evaluate":Nk,"alt-space-value-evaluate":gk,"aria-allowed-attr-elm-evaluate":y5,"aria-allowed-attr-evaluate":v5,"aria-allowed-attr-matches":l3,"aria-allowed-role-evaluate":g5,"aria-allowed-role-matches":s3,"aria-busy-evaluate":m5,"aria-conditional-attr-evaluate":p5,"aria-conditional-checkbox-attr-evaluate":l1,"aria-conditional-row-attr-evaluate":u1,"aria-errormessage-evaluate":l5,"aria-has-attr-matches":i3,"aria-hidden-body-evaluate":u5,"aria-hidden-focus-matches":a3,"aria-label-evaluate":XE,"aria-labelledby-evaluate":UE,"aria-level-evaluate":o5,"aria-prohibited-attr-evaluate":a5,"aria-required-attr-evaluate":QT,"aria-required-children-evaluate":WT,"aria-required-children-matches":t3,"aria-required-parent-evaluate":UT,"aria-required-parent-matches":QF,"aria-roledescription-evaluate":$T,"aria-unsupported-attr-evaluate":VT,"aria-valid-attr-evaluate":BT,"aria-valid-attr-value-evaluate":MT,"attr-non-space-content-evaluate":Zk,"autocomplete-appropriate-evaluate":rT,"autocomplete-matches":JF,"autocomplete-valid-evaluate":eT,"avoid-inline-spacing-evaluate":zE,"braille-label-equivalent-evaluate":OT,"braille-roledescription-equivalent-evaluate":PT,"bypass-matches":YF,"caption-evaluate":FS,"caption-faked-evaluate":SE,"color-contrast-evaluate":lT,"color-contrast-matches":GF,"css-orientation-lock-evaluate":xS,"data-table-large-matches":$F,"data-table-matches":VF,"deprecatedrole-evaluate":LT,"dlitem-evaluate":VS,"doc-has-title-evaluate":jE,"duplicate-id-active-matches":BF,"duplicate-id-after":ZE,"duplicate-id-aria-matches":NF,"duplicate-id-evaluate":KE,"duplicate-id-misc-matches":OF,"duplicate-img-label-evaluate":mk,"exists-evaluate":HE,"explicit-evaluate":fk,"fallbackrole-evaluate":IT,"focusable-content-evaluate":Ok,"focusable-disabled-evaluate":Lk,"focusable-element-evaluate":Rk,"focusable-modal-open-evaluate":Tk,"focusable-no-name-evaluate":Sk,"focusable-not-tabbable-evaluate":Ek,"frame-focusable-content-evaluate":_k,"frame-focusable-content-matches":LF,"frame-tested-after":kS,"frame-tested-evaluate":CS,"frame-title-has-text-matches":RF,"has-alt-evaluate":qE,"has-descendant-after":Kk,"has-descendant-evaluate":Xk,"has-global-aria-attribute-evaluate":TT,"has-implicit-chromium-role-matches":TF,"has-lang-evaluate":WS,"has-text-content-evaluate":Uk,"has-widget-role-evaluate":ST,"heading-matches":SF,"heading-order-after":aS,"heading-order-evaluate":rS,"help-same-as-label-evaluate":ck,"hidden-content-evaluate":OA,"hidden-explicit-label-evaluate":uk,"html-namespace-matches":CF,"html5-scope-evaluate":EE,"identical-links-same-purpose-after":QC,"identical-links-same-purpose-evaluate":JC,"identical-links-same-purpose-matches":AF,"implicit-evaluate":ok,"inline-style-property-evaluate":OE,"inserted-into-focus-order-matches":xF,"internal-link-present-evaluate":wC,"invalid-children-evaluate":NS,"invalidrole-evaluate":ET,"is-element-focusable-evaluate":_T,"is-initiator-matches":p1,"is-on-screen-evaluate":PE,"is-visible-matches":yF,"is-visible-on-screen-matches":bF,"label-content-name-mismatch-evaluate":nk,"label-content-name-mismatch-matches":vF,"label-matches":hF,"landmark-has-body-context-matches":pF,"landmark-is-top-level-evaluate":xk,"landmark-is-unique-after":JS,"landmark-is-unique-evaluate":YS,"landmark-unique-matches":cF,"layout-table-matches":lF,"link-in-text-block-evaluate":uT,"link-in-text-block-matches":sF,"link-in-text-block-style-evaluate":nT,"listitem-evaluate":MS,"matches-definition-evaluate":Gk,"meta-refresh-evaluate":bC,"meta-viewport-scale-evaluate":wS,"multiple-label-evaluate":tk,"nested-interactive-matches":iF,"no-autoplay-audio-evaluate":AS,"no-autoplay-audio-matches":aF,"no-empty-role-matches":tF,"no-explicit-name-required-matches":f1,"no-focusable-content-evaluate":yk,"no-implicit-explicit-label-evaluate":DT,"no-naming-method-matches":Q5,"no-negative-tabindex-matches":J5,"no-role-matches":Y5,"non-empty-if-present-evaluate":IE,"not-html-matches":W5,"object-is-loaded-matches":z5,"only-dlitems-evaluate":OS,"only-listitems-evaluate":PS,"p-as-heading-evaluate":hC,"p-as-heading-matches":j5,"page-no-duplicate-after":$k,"page-no-duplicate-evaluate":Vk,"presentation-role-conflict-matches":H5,"presentational-role-evaluate":FE,"region-after":dC,"region-evaluate":oC,"same-caption-summary-evaluate":DE,"scope-value-evaluate":wE,"scrollable-region-focusable-matches":M5,"skip-link-evaluate":nC,"skip-link-matches":O5,"structured-dlitems-evaluate":IS,"summary-interactive-matches":I5,"svg-namespace-matches":qu,"svg-non-empty-title-evaluate":TE,"tabindex-evaluate":bk,"table-or-grid-role-matches":R5,"target-offset-evaluate":vS,"target-size-evaluate":lS,"td-has-header-evaluate":bE,"td-headers-attr-evaluate":gE,"th-has-data-cells-evaluate":hE,"title-only-evaluate":QS,"unique-frame-title-after":rC,"unique-frame-title-evaluate":eC,"unsupportedrole-evaluate":yT,"valid-lang-evaluate":GS,"valid-scrollable-semantics-evaluate":vT,"widget-not-inline-matches":S5,"window-is-top-matches":E5,"xml-lang-mismatch-evaluate":$S,"xml-lang-mismatch-matches":_5},lo=c3;function d3(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Bu=d3;function Hu(e){if(typeof e=="string"){if(lo[e])return lo[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 h1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||te(e)!=="object")&&(e={value:e}),e}function ka(e){e&&(this.id=e.id,this.configure(e));}ka.prototype.enabled=true,ka.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var u=new Bu(this),l=as(u,r,n,i),c;try{c=this.evaluate.call(l,t.actualNode,s,t,a);}catch(d){t&&t.actualNode&&(d.errorNode=Qt.toSpec(t)),i(d);return}l.isAsync||(u.result=c,n(u));}else n(null);},ka.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),u=new Bu(this),l=as(u);l.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(l,t.actualNode,s,t,a);}catch(d){throw t&&t.actualNode&&(d.errorNode=Qt.toSpec(t)),d}return u.result=c,u},ka.prototype.configure=function(t){var r=this;(!t.evaluate||lo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=h1(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Hu(t[a])});},ka.prototype.getOptions=function(t){return this._internalCheck?gs(this.options,h1(t||{})):t||this.options};var g1=ka;function f3(e){this.id=e.id,this.result=qe.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var co=f3;function Ht(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(We(qe.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=Hu(e.matches));}Ht.prototype.matches=function(){return true},Ht.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&Ye.mark(a);var s=yu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Ye.mark(i),s=s.filter(function(u){return lt(u)}),r.performanceTimer&&(Ye.mark(o),Ye.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Ye.mark(n),Ye.measure("rule_"+this.id+"#gather",a,n)),s},Ht.prototype.runChecks=function(t,r,a,n,i,o){var s=this,u=hr();this[t].forEach(function(l){var c=s._audit.checks[l.id||l],d=Ui(c,s.id,a);u.defer(function(m,D){c.run(r,d,n,m,function(C){D(new Zi({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new Zt(r),error:C}));});});}),u.then(function(l){l=l.filter(function(c){return c}),i({type:t,results:l});}).catch(o);},Ht.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(s){var u=i._audit.checks[s.id||s],l=Ui(u,i.id,a);o.push(u.runSync(r,l,n));}),o=o.filter(function(s){return s}),{type:t,results:o}},Ht.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=hr(),s=new co(this),u;try{u=this.gatherAndMatchNodes(t,a);}catch(l){i(l);return}a.performanceTimer&&this._logGatherPerformance(u),u.forEach(function(l){o.defer(function(c,d){var m=hr();["any","all","none"].forEach(function(D){m.defer(function(C,T){r.runChecks(D,l,a,t,C,T);});}),m.then(function(D){var C=v1(D);C&&(C.node=new Zt(l),s.nodes.push(C),r.reviewOnFail&&(["any","all"].forEach(function(T){C[T].forEach(function(R){R.result===false&&(R.result=void 0);});}),C.none.forEach(function(T){T.result===true&&(T.result=void 0);}))),c();}).catch(function(D){return d(D)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(s);},0);}).catch(function(l){a.performanceTimer&&r._logRulePerformance(),i(l);});},Ht.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new co(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(l){s.push(r.runChecksSync(l,o,a,t));});var u=v1(s);u&&(u.node=o.actualNode?new Zt(o):null,n.nodes.push(u),r.reviewOnFail&&(["any","all"].forEach(function(l){u[l].forEach(function(c){c.result===false&&(c.result=void 0);});}),u.none.forEach(function(l){l.result===true&&(l.result=void 0);})));}),a.performanceTimer&&this._logRulePerformance(),n},Ht.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;},Ht.prototype._logGatherPerformance=function(t){ta("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(Ye.timeElapsed(),"ms")),Ye.mark(this._markChecksStart);},Ht.prototype._logRulePerformance=function(){Ye.mark(this._markChecksEnd),Ye.mark(this._markEnd),Ye.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Ye.measure("rule_"+this.id,this._markStart,this._markEnd);};function v1(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}}Ht.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&Ye.mark(n),o=o.filter(function(s){try{return a.matches(s.actualNode,s,t)}catch(u){throw new Zi({ruleId:a.id,method:"#matches",errorNode:new Zt(s),error:u})}}),r.performanceTimer&&(Ye.mark(i),Ye.measure("rule_"+this.id+"#matches",n,i)),o};function p3(e){return Di(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function m3(e,t){var r=[];return e.forEach(function(a){var n=Di(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function h3(e){return e.filter(function(t){return t.filtered!==true})}function g3(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=h3(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}Ht.prototype.after=function(t,r){var a=this,n=p3(this);return n.forEach(function(i){var o=m3(t.nodes,i.id),s=Ui(i,a.id,r),u;try{u=i.after(o,s.options);}catch(c){var l;throw new Zi({ruleId:a.id,method:"".concat(i.id,"#after"),errorNode:(l=t.nodes)===null||l===void 0||(l=l[0])===null||l===void 0?void 0:l.node,error:c})}a.reviewOnFail&&u.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===false,m=a.none.includes(c.id)&&c.result===true;(d||m)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,u.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=g3(t),t},Ht.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=Hu(t.matches)),t.impact&&(We(qe.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Ta=/\{\{.+?\}\}/g,v3=(function(){function e(t){rr(this,e),this.lang="en",this.defaultConfig=t,this.standards=Xe,this._init(),this._defaultLocale=null;}return ar(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],s=o.messages,u=s.pass,l=s.fail,c=s.incomplete;r.checks[i]={pass:u,fail:l,incomplete:c};}for(var d=Object.keys(this.data.rules),m=0;m<d.length;m++){var D=d[m],C=this.data.rules[D],T=C.description,R=C.help;r.rules[D]={description:T,help:R};}for(var L=Object.keys(this.data.failureSummaries),P=0;P<L.length;P++){var M=L[P],N=this.data.failureSummaries[M],B=N.failureMessage;r.failureSummaries[M]={failureMessage:B};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=y3(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]=w3(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]=D3(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=x3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=y1();this.allowedOrigins=[];var n=tt(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===qe.allOrigins){this.allowedOrigins=["*"];return}else o!==qe.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(s){n.e(s);}finally{n.f();}}},{key:"_init",value:function(){var r=b3(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,w1(r.rules,this,"addRule"),w1(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 Ht(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;te(a)==="object"&&(this.data.checks[r.id]=a,te(a.messages)==="object"&&Object.keys(a.messages).filter(function(n){return a.messages.hasOwnProperty(n)&&typeof a.messages[n]=="string"}).forEach(function(n){a.messages[n].indexOf("function")===0&&(a.messages[n]=new Function("return "+a.messages[n]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new g1(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),Zt.setRunOptions(a),f._selectCache=[];var o=_3(this.rules,r,a),s=o.now,u=o.later,l=hr();s.forEach(function(m){l.defer(D1(m,r,a));});var c=hr();u.length&&c.defer(function(m){Up(a).then(function(D){return m(D)}).catch(function(D){console.warn("Couldn't load preload assets: ",D),m(void 0);});});var d=hr();d.defer(l),d.defer(c),d.then(function(m){var D=m.pop();if(D&&D.length){var C=D[0];C&&(r=Oe({},r,C));}var T=m[0];if(!u.length){f._selectCache=void 0,n(T.filter(function(L){return !!L}));return}var R=hr();u.forEach(function(L){var P=D1(L,r,a);R.defer(P);}),R.then(function(L){f._selectCache=void 0,n(T.concat(L).filter(function(P){return !!P}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=nn(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 x1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(a){return a.id===r})}},{key:"normalizeOptions",value:function(r){var a=this,n=[],i=[];if(a.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(d){n.includes(d)||n.push(d);});}),["object","string"].includes(te(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return n.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var u=r.runOnly;if(u.value&&!u.values&&(u.values=u.value,delete u.value),!Array.isArray(u.values)||u.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(u.type))u.type="rule",u.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(u.type)){u.type="tag";var l=u.values.filter(function(c){return !n.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});l.length!==0&&f.log("Could not find tags `"+l.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(u.type,"'"))}return te(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var a={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(a);}},{key:"_constructHelpUrls",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=(f.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===_1(a,i.id,n))&&(o.helpUrl=_1(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),b1=v3;function y1(){if(p.origin&&p.origin!=="null")return p.origin;if(p.location&&p.location.origin&&p.location.origin!=="null")return p.location.origin}function b3(e){var t;if(e?(t=Er(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=y1();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Oe({checks:{},rules:{}},t.data),t}function w1(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var y3=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Ta.test(a)&&(a=Mr.default.compile(a)),typeof n=="string"&&Ta.test(n)&&(n=Mr.default.compile(n)),Oe({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:te(t.messages.incomplete)==="object"?Oe({},t.messages.incomplete,r.incomplete):r.incomplete}})},w3=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Ta.test(a)&&(a=Mr.default.compile(a)),typeof n=="string"&&Ta.test(n)&&(n=Mr.default.compile(n)),Oe({},t,{help:a||t.help,description:n||t.description})},D3=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Ta.test(a)&&(a=Mr.default.compile(a)),Oe({},t,{failureMessage:a||t.failureMessage})},x3=function(t,r){return typeof r=="string"&&Ta.test(r)&&(r=Mr.default.compile(r)),r||t};function _3(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return Jp(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function D1(e,t,r){return r.performanceTimer&&Ye.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(x1(e,i));});}}function x1(e,t){var r=t.errorNode,a=Ji(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new Zt(v.documentElement);return Object.assign(new co(e),{error:a,result:qe.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function _1(e,t,r){var a=e.brand,n=e.application,i=e.lang;return qe.helpUrlBase+a+"/"+(r||f.version.substring(0,f.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function A1(e){var t=p&&"Node"in p&&"NodeList"in p,r=!!v;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Ne.set("globalDocumentSet",true),v=e.ownerDocument),t||(Ne.set("globalWindowSet",true),p=v.defaultView);}}function A3(){Ne.get("globalDocumentSet")&&(Ne.set("globalDocumentSet",false),v=null),Ne.get("globalWindowSet")&&(Ne.set("globalWindowSet",false),p=null);}function E3(){A3(),f._memoizedFns.forEach(function(e){return e.clear()}),Ne.clear(),f._tree=void 0,f._selectorData=void 0,f._selectCache=void 0;}var Yr=E3;function E1(e,t,r,a){try{e=new Wi(e),f._tree=e.flatTree,f._selectorData=mi(e.flatTree);}catch(o){return Yr(),a(o)}var n=hr(),i=f._audit;t.performanceTimer&&Ye.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,s){Md(e,t,"rules",null,o,s);}),n.defer(function(o,s){i.run(e,t,o,s);}),n.then(function(o){try{t.performanceTimer&&Ye.auditEnd();var s=xi(o.map(function(u){return {results:u}}));e.initiator&&(t.performanceTimer&&Ye.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(Ye.mark("auditAfterEnd"),Ye.measure("audit.after","auditAfterStart","auditAfterEnd"),Ye.logMeasures("audit.after")),s.forEach(Ki),s=s.map(Ba));try{r(s,Yr);}catch(u){Yr(),ta(u);}}catch(u){Yr(),a(u);}}).catch(function(o){Yr(),a(o);});}function C3(e){f._audit=new b1(e);}function S3(e,t,r){var a=r,n=function(u){u instanceof Error||(u=new Error(u)),r(u);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[v]);var o=e&&e.options||{};switch(e.command){case "rules":return E1(i,o,function(s,u){s=Qt.mapRawResults(s),a(s),u();},n);case "cleanup-plugin":return om(a,n);default:if(f._audit&&f._audit.commands&&f._audit.commands[e.command])return f._audit.commands[e.command](e,r)}}p.top!==p&&(cr.subscribe("axe.start",S3),cr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function kn(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){f._audit.registerCommand(t);});}kn.prototype.run=function(){return this._run.apply(this,arguments)},kn.prototype.collect=function(){return this._collect.apply(this,arguments)},kn.prototype.cleanup=function(t){var r=f.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},kn.prototype.add=function(t){this._registry[t.id]=t;};function k3(e){f.plugins[e.id]=new kn(e);}var T3=k3;function F3(){var e=f._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),YD();}var R3=F3;function I3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||f._audit.reporter||"v1",f._selectorData={},t instanceof Et||(t=new im(t));var a=Ip(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);Ki(i),Ba(i);var o=Wl([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(u){u.failureSummary=su(u);})}),Oe({},Wr(),o,{toolOptions:r})}function C1(e){var t,r,a,n=he(e,3),i=n[0],o=n[1],s=n[2],u=new TypeError("axe.run arguments are invalid");if(!Mp(i)){if(s!==void 0)throw u;s=o,o=i,i=v;}if(te(o)!=="object"){if(s!==void 0)throw u;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw u;return o=Er(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=f._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Vu=function(){};function L3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];A1(t[0]);var a=C1(t),n=a.context,i=a.options,o=a.callback,s=o===void 0?Vu:o,u=P3(s),l=u.thenable,c=u.resolve,d=u.reject;try{We(f._audit,"No audit configured"),We(!f._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(C){return M3(C,s)}f._running=true,i.performanceTimer&&Ye.start();function m(C,T){var R=function(M){i.performanceTimer&&(Ye.mark("reporterEnd"),Ye.measure("reporter","reporterStart","reporterEnd"),Ye.logMeasures("reporter"),Ye.end()),f._running=false,T();try{c(M);}catch(N){f.log(N);}},L=function(M){f._running=false,T();try{d(M);}catch(N){f.log(N);}};try{i.performanceTimer&&Ye.mark("reporterStart"),O3(C,i,R,L);}catch(P){L(P);}}function D(C){i.performanceTimer&&Ye.end(),f._running=false,s(C),d(C);}return f._runRules(n,i,m,D),l}function P3(e){var t,r,a;return typeof Promise=="function"&&e===Vu?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 O3(e,t,r,a){var n=xu(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function M3(e,t){if(typeof t=="function"&&t!==Vu){t(e.message);return}throw e}function N3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=C1(t),n=a.options,i=a.context;We(f._audit,"Axe is not configured. Audit is missing."),We(!f._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 Wi(i,f._tree);return f._tree=o.flatTree,f._selectorData=mi(o.flatTree),f._running=true,n.elementRef=false,new Promise(function(s,u){f._audit.run(o,n,s,u);}).then(function(s){s=Qt.mapRawResults(s);var u=o.frames.map(function(c){var d=c.node;return Qt.toSpec(d)}),l;return o.initiator&&(l=Wr()),f._running=false,Yr(),{results:s,frames:u,environmentData:l}}).catch(function(s){return f._running=false,Yr(),Promise.reject(s)})}function q3(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Er(n);var i=e.find(function(u){return u.environmentData})||{},o=i.environmentData;f._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=f._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",B3(e);var s=xi(e);return s=f._audit.after(s,n),s.forEach(Ki),s=s.map(Ba),V3(s,Oe({environmentData:o},n))}function B3(e){var t=[],r=tt(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=H3(n);t.unshift.apply(t,Ee(o));}}}catch(s){r.e(s);}finally{r.f();}}function H3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return Qt.mergeSpecs(a,r)}):t}function V3(e,t){return new Promise(function(r,a){var n=xu(t.reporter);n(e,t,r,a);})}function j3(e){if(f._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&te(e.documentElement)==="object"&&te(e.defaultView)==="object"&&(e=e.documentElement),A1(e),f._tree=iu(e),f._selectorData=mi(f._tree),f._tree[0]}var $3=j3,z3=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,V);a(Oe({},Wr(i),{toolOptions:o},wn(t,r)));},G3=z3,U3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,ee);r.resultTypes=["violations"];var s=wn(t,r),u=s.violations;a(Oe({},Wr(i),{toolOptions:o,violations:u}));},W3=U3,X3=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=Oe({},i),s=["passes","violations","incomplete","inapplicable"],u=0,l=s;u<l.length;u++){var c=l[u];o[c]=Qt.mapRawNodeResults(o[c]);}return o});a(n);},S1=X3,Y3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,W);S1(t,o,function(s){var u=Wr(i);a({raw:s,env:u});});},K3=Y3,J3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,Y),s=wn(t,r),u=function(c){c.nodes.forEach(function(d){d.failureSummary=su(d);});};s.incomplete.forEach(u),s.violations.forEach(u),a(Oe({},Wr(i),{toolOptions:o},s));},Z3=J3,Q3=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ae(n,re),s=wn(t,r);a(Oe({},Wr(i),{toolOptions:o},s));},eR=Q3,tR={base:{Audit:b1,CheckResult:Bu,Check:g1,Context:Wi,RuleResult:co,Rule:Ht,metadataFunctionMap:lo},public:{reporters:xn},helpers:{failureSummary:su,incompleteFallbackMessage:uu,processAggregate:wn},utils:{setDefaultFrameMessenger:Fd,cacheNodeSelectors:Ap,getNodesMatchingExpression:xp,convertSelector:gi},commons:{dom:{nativelyHidden:Hd,displayHidden:Vd,visibilityHidden:jd,contentVisibiltyHidden:$d,ariaHidden:zd,opacityHidden:Gd,scrollHidden:Ud,overflowHidden:Wd,clipHidden:Xd,areaHidden:ws,detailsHidden:Yd}}},rR=tR;f._thisWillBeDeletedDoNotUse=rR,f.constants=qe,f.log=ta,f.AbstractVirtualNode=Et,f.SerialVirtualNode=im,f.VirtualNode=ru,f._cache=Ne,f.imports=Jl,f.cleanup=om,f.configure=FA,f.frameMessenger=RA,f.getRules=LA,f._load=C3,f.plugins={},f.registerPlugin=T3,f.hasReporter=um,f.getReporter=xu,f.addReporter=kA,f.reset=R3,f._runRules=E1,f.runVirtualRule=I3,f.run=L3,f.setup=$3,f.teardown=Yr,f.runPartial=N3,f.finishRun=q3,f.commons=Fm,f.utils=To,f.addReporter("na",G3),f.addReporter("no-passes",W3),f.addReporter("rawEnv",K3),f.addReporter("raw",S1),f.addReporter("v1",Z3),f.addReporter("v2",eR,true);}))(),f._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(K){var se="Fix any of the following:",be=K;if(be)for(var et,gt=-1,Ft=be.length-1;gt<Ft;)et=be[gt+=1],se+=`
|
|
371
|
+
`+et.split(`
|
|
372
|
+
`).join(`
|
|
373
|
+
`);return se}},none:{failureMessage:function(K){var se="Fix all of the following:",be=K;if(be)for(var et,gt=-1,Ft=be.length-1;gt<Ft;)et=be[gt+=1],se+=`
|
|
374
|
+
`+et.split(`
|
|
375
|
+
`).join(`
|
|
376
|
+
`);return se}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:zh);});var eg={};Ir(eg,{dismissModals:()=>$I});async function $I(h){await h.evaluate(p=>{for(let y of p){let v=document.querySelectorAll(y);for(let f of v)if(f.offsetParent!==null){f.click();return}}},jI),await new Promise(p=>setTimeout(p,500));}var jI,tg=Rr(()=>{jI=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var mo={};Ir(mo,{pruneHiddenIframeIssues:()=>WI,pruneInvisibleContrast:()=>UI,waitForRenderSettle:()=>zI});async function zI(h,p=4e3){let y=Date.now()+p;try{await h.waitForLoadState?.("load",{timeout:Math.min(p/2,2e3)});}catch{}let v="";for(;Date.now()<y;){let f;try{f=await h.evaluate(()=>{let b=typeof document.getAnimations=="function"?document.getAnimations():[],g=0;for(let x of b){if(x.playState!=="running")continue;let A;try{A=x.effect?.getComputedTiming?.().iterations;}catch{A=void 0;}A!==1/0&&g++;}let w="",_=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],E=Math.min(_.length,50);for(let x=0;x<E;x++)w+=getComputedStyle(_[x]).opacity+",";return g+"|"+w});}catch{return}if(f.indexOf("0|")===0&&f===v)return;v=f,await new Promise(b=>setTimeout(b,150));}}function rg(h){return GI.has(h.wcag)||/contrast/i.test(h.type||"")}async function UI(h,p){let y=Array.from(new Set(p.filter(b=>rg(b)&&b.selector).map(b=>b.selector))).slice(0,100);if(y.length===0)return p;let v;try{v=await h.evaluate(b=>{let g=[];for(let w of b){let _=null;try{_=document.querySelector(w);}catch{continue}if(!_)continue;let E=getComputedStyle(_),x=_.getBoundingClientRect(),A=E.clipPath&&E.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(E.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(E.clip||""),k=x.width<=1||x.height<=1;(A||k)&&g.push(w);}return g},y);}catch{return p}if(v.length===0)return p;let f=new Set(v);return p.filter(b=>!(rg(b)&&f.has(b.selector)))}async function WI(h,p){let y=Array.from(new Set(p.filter(b=>b.selector).map(b=>b.selector))).slice(0,200);if(y.length===0)return p;let v;try{v=await h.evaluate(b=>{let g=[];for(let w of b){let _=null;try{_=document.querySelector(w);}catch{continue}if(!_||_.tagName!=="IFRAME")continue;let E=getComputedStyle(_),x=_.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse",A=(_.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(x||A)&&g.push(w);}return g},y);}catch{return p}if(v.length===0)return p;let f=new Set(v);return p.filter(b=>!f.has(b.selector))}var GI,ho=Rr(()=>{GI=new Set(["1.4.3","1.4.6","1.4.11"]);});var og={};Ir(og,{htmlcsTypeFromCode:()=>ng,runHtmlcs:()=>YI});async function YI(h,p="WCAG2AA"){try{await h.addScriptTag({content:`
|
|
377
|
+
window.__htmlcsLoaded = false;
|
|
378
|
+
window.__htmlcsResults = [];
|
|
379
|
+
`});try{let{UNIQUE_SELECTOR_JS:f}=await Promise.resolve().then(()=>(Uu(),Gu));await h.addScriptTag({content:`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
380
|
+
`+f});}catch{}let y=h;return y.addScriptTag&&await y.addScriptTag({url:XI}).catch(()=>{}),await new Promise(f=>setTimeout(f,1e3)),(await h.evaluate(f=>new Promise(b=>{let g=window;if(!g.HTMLCS){b([]);return}g.HTMLCS.process(f,document,()=>{let _=g.HTMLCS.getMessages().filter(E=>E.type===1).slice(0,50).map(E=>{let x="";try{if(E.element&&E.element.tagName){let A=E.element,k=window.uniqueSel;typeof k=="function"?x=k(A):x=A.className&&typeof A.className=="string"&&A.className.trim()?`${A.tagName.toLowerCase()}.${A.className.trim().split(/\s+/)[0]}`:A.tagName.toLowerCase();}}catch{}return {type:E.type,code:E.code||"",msg:E.msg||"",element:E.element?.outerHTML?.slice(0,150)||"",selector:x}});b(_);});}),p)).map((f,b)=>{let g=ig(f.code);return {id:`htmlcs-${b}-${KI(f.selector)}`,source:"webability",type:ng(f.code),wcag:g,level:"AA",impact:"moderate",message:f.msg.slice(0,200),selector:f.selector,html:f.element}})}catch{return []}}function ng(h){let p=ig(h);if(p&&ag[p])return ag[p];let y=h.split("."),v=y.findIndex(g=>/^\d+_\d+_\d+$/.test(g));return (v>=0?y.slice(v+1):y).join("_").toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/^_+|_+$/g,"")||"htmlcs_rule"}function ig(h){let p=h.match(/Guideline(\d+)_(\d+)\.(\d+)_(\d+)_(\d+)/);if(p)return `${p[3]}.${p[4]}.${p[5]}`;let y=h.match(/(\d+)_(\d+)_(\d+)/);return y?`${y[1]}.${y[2]}.${y[3]}`:""}function KI(h){let p=0;for(let y=0;y<h.length;y++)p=(p<<5)-p+h.charCodeAt(y)|0;return Math.abs(p).toString(36)}var XI,ag,sg=Rr(()=>{XI="https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js";ag={"1.4.3":"contrast_insufficient"};});var Qu={};Ir(Qu,{dedupeByElementIdentity:()=>QI,deduplicateIssues:()=>JI});function JI(h){let p=new Map,y=[...h].sort((v,f)=>{let b={webability:0,"axe-core":1,"deep-analysis":2},g=b[v.source]??3,w=b[f.source]??3;return g-w});for(let v of y){let f=ZI(v);p.has(f)?!p.get(f).fix?.suggestedValue&&v.fix?.suggestedValue&&p.set(f,v):p.set(f,v);}return Array.from(p.values())}function ZI(h){let p=h.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),y=h.wcag||"";return p&&y?`${p}::${y}`:`${h.type}::${p||h.id}`}async function QI(h,p){if(p.length<2)return p;let y=Array.from(new Set(p.map(E=>E.selector).filter(Boolean))),v;try{v=await h.evaluate(E=>{let x=Array.from(document.querySelectorAll("*")),A=new Map;x.forEach((S,F)=>A.set(S,F));let k={};for(let S of E){let F=null;try{F=document.querySelector(S);}catch{}if(!F){let I=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(I!==S)try{F=document.querySelector(I);}catch{}}F&&(k[S]=A.get(F));}return k},y);}catch{return p}let f={webability:0,"axe-core":1,"deep-analysis":2},b=[...p].sort((E,x)=>(f[E.source]??3)-(f[x.source]??3)),g=new Map,w=[];for(let E of b){let x=v[E.selector];if(x===void 0){w.push(E);continue}let A=`${x}::${E.wcag||E.type}`,k=g.get(A);k?!k.fix?.suggestedValue&&E.fix?.suggestedValue&&g.set(A,E):g.set(A,E);}let _=new Set([...g.values(),...w]);return p.filter(E=>_.has(E))}var el=Rr(()=>{});var ug={};Ir(ug,{scopeIssuesToRoot:()=>eL});async function eL(h,p,y){let v=Array.from(new Set(p.map(b=>b.selector).filter(Boolean))),f;try{f=await h.evaluate(({rootSel:b,sels:g})=>{let w=x=>{try{let k=document.querySelector(x);if(k)return k}catch{}let A=x.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(A!==x)try{return document.querySelector(A)}catch{return null}return null},_=null;try{_=document.querySelector(b);}catch{return {invalid:!0,matched:!1,within:{}}}if(!_)return {invalid:!1,matched:!1,within:{}};let E={};for(let x of g){let A=w(x);E[x]=A?A===_||_.contains(A):!0;}return {invalid:!1,matched:!0,within:E}},{rootSel:y,sels:v});}catch{return {issues:p,warning:`scope:evaluate-failed (${y}) \u2014 results unfiltered`}}return f.invalid?{issues:p,warning:`scope:invalid-selector (${y}) \u2014 results unfiltered`}:f.matched?{issues:p.filter(b=>b.selector?f.within[b.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${y} matched nothing \u2014 empty result)`}}var lg=Rr(()=>{});var po={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};var dR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],v=new Set;function f(w){let _=(w.textContent||"").trim().replace(/\s+/g,""),E=w.querySelector("img, svg, picture")!==null,x=w.querySelector("i[class], span[class]")!==null;if(_.length>0&&!E&&!x)return false;if(E){let A=w.querySelectorAll("img"),k="";A.forEach(I=>{k+=(I.getAttribute("alt")||"").trim();});let S=_.replace(/\s+/g,""),F=k.replace(/\s+/g,"");return S===""||S===F}return false}function b(w){let _=w.nextElementSibling;for(;_;){if(isVisible(_))return _;_=_.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(y.length>=50||w.closest(h)||!isVisible(w)||v.has(w))return;let _=w.getAttribute("href");if(!_||_==="#")return;let E=b(w);if(!E||E.tagName!=="A"||E.getAttribute("href")!==_||v.has(E)||w.getAttribute("aria-hidden")==="true"||E.getAttribute("aria-hidden")==="true")return;let A=f(w),k=f(E);if(!A&&!k)return;let S=A?w:E,F=A?E:w;v.add(S),v.add(F);let I=uniqueSel(S),q=S.outerHTML.slice(0,300),H=(F.textContent||"").trim().slice(0,80);y.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:_,imageLink:true,adjacentLinkText:H,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:q}),y.push({selector:I,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:_}),needsAI:false,fixValue:"-1",outerHtml:q});}),y},k1={name:"adjacentLinks",cap:50,async detect(h){return h.evaluate(dR)}};var fR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",p='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',y=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),v=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),f=50,b=[],g=new Set;function w(x){let A=x,k=0;for(;A&&A.nodeType===1&&A!==document.body&&k<20;){try{let S=getComputedStyle(A);if(S.display==="none"||S.visibility==="hidden"||S.visibility==="collapse")return !0}catch{}A=A.parentElement,k++;}return false}function _(x){let A=x.tagName,k=x.getAttribute("tabindex");if(k!==null){let S=parseInt(k,10);if(!isNaN(S)&&S>=0)return true;if(!isNaN(S)&&S<0)return false}return v.has(A)?!(A==="A"&&!x.hasAttribute("href")||x.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(x=>{if(b.length>=f||x.closest(h)||x.closest(p)||x.closest(y)||x.matches(y))return;let A=[];if(_(x)&&A.push(x),x.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(S=>{_(S)&&A.push(S);}),A.length!==0)for(let S of A){if(b.length>=f)return;let F=uniqueSel(S),I=F+"\0tabindex";if(g.has(I))continue;g.add(I);let q=w(S);b.push({selector:F,attribute:"tabindex",currentValue:S.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:S.tagName.toLowerCase(),parentHidden:x.tagName.toLowerCase(),collapsed:q,suggestion:q?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'Add tabindex="-1" to the focusable child so it cannot be tabbed into while parent is aria-hidden'}),needsAI:false,fixValue:"-1",...q?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},outerHtml:(S.outerHTML||"").slice(0,300)});}}),b},T1={name:"ariaHiddenFocusable",cap:50,async detect(h){return h.evaluate(fR)}};var pR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=new Set,f=[{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 b(g){if(!(g.textContent||"").trim())return true;let _=getComputedStyle(g);return !!(_.display==="none"||_.visibility==="hidden"||_.opacity==="0"||_.maxHeight==="0px"||_.height==="0px"||g.hasAttribute("data-bind")||g.hasAttribute("v-if")||g.hasAttribute("v-show")||g.hasAttribute("ng-if")||g.hasAttribute("ng-show")||g.hasAttribute(":class")||g.hasAttribute("x-show")||g.hasAttribute("x-if")||g.hasAttribute("aria-atomic"))}for(let g of f){if(y.length>=50)break;let w=document.querySelectorAll("*");for(let _ of w){if(y.length>=50)break;if(v.has(_)||_.closest(h))continue;let E=_.className&&typeof _.className=="string"?_.className:"",x=_.getAttribute("id")||"";if(!g.regex.test(E)&&!g.regex.test(x)||_.getAttribute("aria-live"))continue;let A=_.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(A)||!/\btoast\b|\bsnackbar\b|error[-_]|success[-_]|alert[-_]|flash[-_]/i.test(E+" "+x)&&!b(_))continue;v.add(_);let S=uniqueSel(_),F=g.regex.test(E)?"class":"id",I=F==="class"?E.slice(0,60):x;y.push({selector:S,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:F+": "+I+" | pattern: "+g.regex.source,needsAI:false,fixValue:g.ariaLive});}}return y},F1={name:"ariaLive",cap:50,async detect(h){return h.evaluate(pR)}};var mR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",y=[],v=new Set,f=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(y.length>=50)&&!w.closest(h)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let _ of f){let E=w.getAttribute(_);if(!E||!E.trim())continue;let x=E.trim().split(/\s+/).filter(z=>z.length>0);if(x.length===0||!x.every(z=>!document.getElementById(z)))continue;let k=w.getAttribute("aria-label");if(k&&k.trim())continue;let S=getAccessibleName(w);if(S&&S.trim())continue;let F=uniqueSel(w),I=F+"\0"+_;if(v.has(I))continue;v.add(I);let{nearbyHeading:q,parentTag:H,parentRole:$}=getNearbyContext(w);y.push({selector:F,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:_,brokenIds:x,nearbyHeading:q,parentTag:H,parentRole:$,suggestion:`All IDs in ${_}="${E}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),y},R1={name:"brokenAriaReferences",cap:50,async detect(h){return h.evaluate(mR)}};var hR=()=>{let p=[],y=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],v=document.querySelectorAll("button");for(let f of v){if(p.length>=50)break;let b=f;if(isWidget(b)||b.hasAttribute("type")||!b.closest("form"))continue;let g=(b.textContent||"").trim().slice(0,60),w=(b.getAttribute("aria-label")||"").trim().slice(0,60),_=g||w||"(no label)",E=_.toLowerCase();y.some(A=>E.includes(A))||p.push({selector:uniqueSel(b),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+_,needsAI:false,fixValue:"button",outerHtml:(b.outerHTML||"").slice(0,300)});}return p},I1={name:"buttonType",cap:50,async detect(h){return h.evaluate(hR)}};var gR=()=>{let p=[],y=document.querySelectorAll("video, audio");for(let v of Array.from(y)){if(p.length>=20)break;if(isWidget(v)||typeof isVisible=="function"&&!isVisible(v)||v.error)continue;let f=v.tagName==="VIDEO";if(f){let I=v.hasAttribute("muted")||v.muted,q=v.hasAttribute("autoplay"),H=v.hasAttribute("controls"),$=v.hasAttribute("loop");if(I&&q&&$&&!H)continue}let b=v.querySelectorAll("track"),g=false;for(let I of Array.from(b)){let q=(I.getAttribute("kind")||"").toLowerCase();if(q==="captions"||q==="subtitles"){g=true;break}}if(g)continue;let w=v.currentSrc||v.getAttribute("src")||"";if(w||(w=v.querySelector("source")?.getAttribute("src")||""),!w)continue;let _=w.toLowerCase();if(_.startsWith("blob:")||_.startsWith("data:")||_.startsWith("about:")||_.startsWith("javascript:")||_.endsWith(".m3u8")||_.includes(".m3u8?")||_.endsWith(".mpd")||_.includes(".mpd?"))continue;let E=w;try{E=new URL(w,location.href).toString();}catch{continue}let x=typeof uniqueSel=="function"?uniqueSel(v):"",A=v.getAttribute("title")||v.getAttribute("aria-label")||"",k=typeof getNearbyContext=="function"?getNearbyContext(v):{parentTag:v.tagName.toLowerCase(),nearbyHeading:""},S=[];S.push("media: "+v.tagName.toLowerCase()),S.push("src: "+E.slice(0,200)),A&&S.push("title: "+A.slice(0,80)),k.nearbyHeading&&S.push("heading: "+k.nearbyHeading),S.push("parent: "+k.parentTag);let F=f;p.push({selector:x,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:S.join(" | "),needsAI:true,...F?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:E,outerHtml:(v.outerHTML||"").slice(0,300)});}return p},L1={name:"captions",cap:20,async detect(h){return h.evaluate(gR)}};var vR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v="p, li, blockquote, article, section, main, div",f=document.querySelectorAll("a[href]");for(let b of Array.from(f)){if(y.length>=40)break;if(b.closest(h)||b.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(b))continue;let g=b.closest(v);if(!g)continue;let w=(g.textContent||"").trim(),_=(b.textContent||"").trim();if(!_||w.length<_.length+20||b.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let E=getComputedStyle(b),x=getComputedStyle(g);if((E.textDecorationLine||E.textDecoration||"").includes("underline"))continue;let k=parseInt(E.fontWeight||"400",10),S=parseInt(x.fontWeight||"400",10);if(Number.isFinite(k)&&Number.isFinite(S)&&k-S>=300||(E.borderBottomStyle||"none")!=="none"&&(E.borderBottomWidth||"0px")!=="0px"||E.color===x.color)continue;let I=typeof uniqueSel=="function"?uniqueSel(b):"",q=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},H=[];H.push("link: "+_.slice(0,40)),H.push("color: "+E.color),H.push("parent-color: "+x.color),q.nearbyHeading&&H.push("heading: "+q.nearbyHeading),H.push("parent: "+q.parentTag),y.push({selector:I,attribute:"style",currentValue:E.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:H.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(b.outerHTML||"").slice(0,300)});}return y},P1={name:"colorOnly",cap:40,async detect(h){return h.evaluate(vR)}};var bR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],v=['[role="combobox"]',"input[list]","input[aria-autocomplete]","select"].join(",");return document.querySelectorAll(v).forEach(b=>{if(y.length>=30||b.closest(h)||typeof isVisible=="function"&&!isVisible(b)||b.getAttribute("aria-hidden")==="true"||b.disabled||b.getAttribute("type")==="hidden"||(b.getAttribute("aria-label")||"").trim())return;let g=b.getAttribute("aria-labelledby");if(g){let I=false;for(let q of g.split(/\s+/)){let H=document.getElementById(q);if(H&&(H.textContent||"").trim()){I=true;break}}if(I)return}let w=b.getAttribute("id");if(w){let I=document.querySelector('label[for="'+CSS.escape(w)+'"]');if(I&&(I.textContent||"").trim())return}let _=b.closest("label");if(_&&(_.textContent||"").trim()||(b.getAttribute("title")||"").trim())return;let E=typeof uniqueSel=="function"?uniqueSel(b):"",x=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},A=(b.getAttribute("placeholder")||"").trim(),k=b.getAttribute("name")||"",S=b.getAttribute("role")||b.tagName.toLowerCase(),F=[];F.push("role: "+S),A&&F.push("placeholder: "+A.slice(0,40)),k&&F.push("name: "+k),x.nearbyHeading&&F.push("heading: "+x.nearbyHeading),F.push("parent: "+x.parentTag),y.push({selector:E,attribute:"aria-label",currentValue:"",issueType:"combobox_name_missing",wcag:"4.1.2",context:F.join(" | "),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}),y},O1={name:"comboboxName",cap:30,async detect(h){return h.evaluate(bR)}};var yR=()=>{let p=[],y=S=>typeof parseCssColor=="function"?parseCssColor(S):null,v=(S,F,I)=>typeof relLuminance=="function"?relLuminance(S,F,I):0,f=(S,F)=>typeof contrastRatio=="function"?contrastRatio(S,F):1;function b(S){let F=String(S.backgroundImage||"none");if(F==="none")return false;if(/gradient\(/i.test(F))return true;if(!/url\(/i.test(F))return false;let I=String(S.backgroundRepeat||"").toLowerCase(),q=String(S.backgroundSize||"").toLowerCase(),H=I.split(",").map(z=>z.trim()).some(z=>z!==""&&z!=="no-repeat"),$=/cover|contain|100%/.test(q);return H||$}function g(S){let F=S,I=0;for(;F&&F!==document.documentElement&&I<12;){let q=getComputedStyle(F);if(b(q))return null;let H=y(q.backgroundColor||"");if(H&&H[3]>.5)return [H[0],H[1],H[2]];F=F.parentElement,I++;}return [255,255,255]}function w(S,F,I){return "#"+[S,F,I].map(q=>{let H=Math.max(0,Math.min(255,Math.round(q))).toString(16);return H.length===1?"0"+H:H}).join("")}function _(S,F,I){let H=v(F[0],F[1],F[2])>.5,$=0,z=1,V=null;for(let ee=0;ee<20;ee++){let W=($+z)/2,Y=H?[S[0]*(1-W),S[1]*(1-W),S[2]*(1-W)]:[S[0]+(255-S[0])*W,S[1]+(255-S[1])*W,S[2]+(255-S[2])*W];f(Y,F)>=I?(V=[Math.round(Y[0]),Math.round(Y[1]),Math.round(Y[2])],z=W):$=W;}return V}let E=document.createTreeWalker(document.body,4),x=new Set,A=[],k=E.nextNode();for(;k;){if((k.textContent||"").trim().length>=2){let F=k.parentElement;F&&!x.has(F)&&(x.add(F),A.push(F));}k=E.nextNode();}for(let S of A){if(p.length>=30)break;if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S))continue;let F=getComputedStyle(S),I=y(F.color||"");if(!I)continue;if(I[3]<.5){let Fe=F.webkitBackgroundClip||F.backgroundClip||"",Ae=F.backgroundImage||"";if(String(Fe).includes("text")&&/gradient\(/i.test(Ae)){let Ge=Array.from(S.childNodes).filter(Re=>Re.nodeType===3).map(Re=>(Re.textContent||"").trim()).join("");Ge&&p.push({selector:uniqueSel(S),attribute:"style",currentValue:"gradient-clipped text",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(Ge.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"gradient-clipped text \u2014 verify the lightest gradient stop still meets 4.5:1 against the surrounding background",outerHtml:S.outerHTML.slice(0,200)});}continue}let q=g(S),H=parseFloat(F.fontSize||"16"),$=parseInt(F.fontWeight||"400",10),V=H>=24||H>=18.66&&$>=700?3:4.5,ee=Array.from(S.childNodes).filter(Fe=>Fe.nodeType===3).map(Fe=>(Fe.textContent||"").trim()).join("");if(!ee)continue;let W=w(I[0],I[1],I[2]),Y=uniqueSel(S);if(q===null){p.push({selector:Y,attribute:"style",currentValue:W,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+W+" bg=<gradient-or-image> needs="+V+" text="+JSON.stringify(ee.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:S.outerHTML.slice(0,200)});continue}let re=f([I[0],I[1],I[2]],q);if(re>=V)continue;let Q=_([I[0],I[1],I[2]],q,V);if(!Q)continue;let fe=w(Q[0],Q[1],Q[2]),ce=w(q[0],q[1],q[2]),Se="color:"+fe+" !important;";p.push({selector:Y,attribute:"style",currentValue:W,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+W+" bg="+ce+" ratio="+re.toFixed(2)+" needs="+V+" text="+JSON.stringify(ee.slice(0,40)),needsAI:false,fixValue:Se,outerHtml:S.outerHTML.slice(0,200)});}return p},M1={name:"contrast",cap:30,async detect(h){return h.evaluate(yR)}};var wR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],v=document.querySelectorAll("marquee, blink");for(let _ of Array.from(v)){if(y.length>=30)break;if(_.closest(h))continue;let E=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();y.push({selector:E,attribute:"aria-hidden",currentValue:_.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${_.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,needsReview:true,reviewReason:`Deprecated ${_.tagName.toLowerCase()} usually contains real content; WCAG 2.2.2 needs a pause/stop control, not aria-hidden which would hide the content from assistive tech.`,fixValue:"true",outerHtml:(_.outerHTML||"").slice(0,300)});}let f=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let _ of Array.from(f)){if(y.length>=30)break;if(_.closest(h))continue;let E=_.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(E)||typeof isVisible=="function"&&!isVisible(_))continue;let x=_.getBoundingClientRect();if(x.width<=40&&x.height<=40)continue;let A=typeof uniqueSel=="function"?uniqueSel(_):"img";y.push({selector:A,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${E.split("/").pop()?.slice(0,60)||E.slice(-60)}`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});}let b=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let _ of Array.from(b)){if(y.length>=30)break;let E=(_.getAttribute("content")||"").trim(),x=parseInt((E.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(x)||x<=0||y.push({selector:`meta[http-equiv="refresh"][content*="${E.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:E,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${x}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${x}s time limit before it triggers.`,outerHtml:(_.outerHTML||"").slice(0,200)});}try{let _=!1,E=!1;for(let x of Array.from(document.styleSheets)){let A=null;try{A=x.cssRules;}catch{continue}if(A)for(let k of Array.from(A)){let S=k.cssText||"";if(/animation[^;]*\binfinite\b/i.test(S)&&/(keyframes|animation-name)/i.test(S+" "+(k.name||""))&&(_=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(S)&&(E=!0),k.cssRules)for(let F of Array.from(k.cssRules)){let I=F.cssText||"";/animation[^;]*\binfinite\b/i.test(I)&&(_=!0);}}}_&&!E&&y.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let g=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let _ of Array.from(w)){if(y.length>=30)break;if(_.closest(h)||_.tagName==="BODY"||_.tagName==="HTML")continue;let E=_.className&&typeof _.className=="string"?_.className:"";if(!g.test(E)||typeof isVisible=="function"&&!isVisible(_))continue;let A=getComputedStyle(_).animationDuration,k=9999;if(A){let F=parseFloat(A);Number.isFinite(F)&&(k=/ms/i.test(A)?F:F*1e3);}if(k>333)continue;let S=typeof uniqueSel=="function"?uniqueSel(_):"";y.push({selector:S,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${k}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(_.outerHTML||"").slice(0,300)});}return y},N1={name:"cssAnimations",cap:30,async detect(h){return h.evaluate(wR)}};var DR=()=>{let p=[];function y(g){let w=(g.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(g.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function v(g){if(!g)return 0;let w=g.querySelectorAll("th, td"),_=0;for(let E=0;E<w.length;E++){let x=parseInt(w[E].getAttribute("colspan")||"1",10);_+=isNaN(x)||x<1?1:x;}return _}function f(g){let w=g.querySelectorAll("tr"),_=[];for(let E=0;E<w.length;E++){let x=w[E];x.closest("table")===g&&_.push(x);}return _}let b=document.querySelectorAll("table");for(let g=0;g<b.length&&!(p.length>=30);g++){let w=b[g];if(isWidget(w)||!isVisible(w)||y(w))continue;let _=f(w);if(_.length<=1)continue;let E=_[0],x=v(E);if(x<=1)continue;let A=uniqueSel(w),k=getNearbyContext(w),S=null,F=w.querySelectorAll("caption");for(let Q=0;Q<F.length;Q++)if(F[Q].closest("table")===w){S=F[Q];break}let I=S?(S.textContent||"").trim():"",q=(w.getAttribute("aria-label")||"").trim(),H=(w.getAttribute("title")||"").trim(),$=w.getAttribute("aria-labelledby"),z="";if($){let Q=$.split(/\s+/);for(let fe=0;fe<Q.length;fe++){let ce=document.getElementById(Q[fe]);ce&&(z+=" "+(ce.textContent||""));}z=z.trim();}(!S||!I)&&!(q||z||H)&&p.length<30&&p.push({selector:A,attribute:"caption",currentValue:"",issueType:"missing_table_caption",wcag:"1.3.1",context:JSON.stringify({reason:S?"empty <caption>":"no <caption> element",rows:_.length,cols:x,nearbyHeading:k.nearbyHeading,parentTag:k.parentTag}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});let ee=null,W=w.querySelectorAll("thead");for(let Q=0;Q<W.length;Q++)if(W[Q].closest("table")===w){ee=W[Q];break}if(ee&&ee.querySelector("tr")!==null||p.length<30&&p.push({selector:A,attribute:"thead",currentValue:ee?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:ee?"<thead> has no <tr>":"no <thead> element",rows:_.length,cols:x,nearbyHeading:k.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),x>2){let Q=E.querySelectorAll("th, td"),fe=Q.length>0;for(let ce=0;ce<Q.length;ce++)if((Q[ce].tagName||"").toLowerCase()!=="td"){fe=false;break}if(fe)for(let ce=0;ce<Q.length&&!(p.length>=30);ce++){let Se=Q[ce],Fe=uniqueSel(Se),Ae=(Se.textContent||"").trim().slice(0,60);p.push({selector:Fe,attribute:"role",currentValue:Se.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"first-row <td> in data table \u2014 should be <th>",cellText:Ae,colIndex:ce,nearbyHeading:k.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(Se.outerHTML||"").slice(0,300)});}}let re=w.querySelectorAll("th");for(let Q=0;Q<re.length&&!(p.length>=30);Q++){let fe=re[Q];if(fe.closest("table")!==w)continue;let ce=(fe.getAttribute("scope")||"").trim().toLowerCase();if(ce==="col"||ce==="row"||ce==="colgroup"||ce==="rowgroup")continue;let Se=fe.closest("tr"),Fe=fe.closest("thead")!==null,Ae=false;Se&&_.length>0&&_[0]===Se&&(Ae=true);let Ge=false;if(Se){let nt=Se.querySelectorAll("th, td");nt.length>0&&nt[0]===fe&&(Ge=true);}let Re="col";Fe||Ae?Re="col":Ge&&(Re="row");let Ve=uniqueSel(fe),Qe=(fe.textContent||"").trim().slice(0,60);p.push({selector:Ve,attribute:"scope",currentValue:ce,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:Re,inThead:Fe,firstRow:Ae,firstCol:Ge,headerText:Qe}),needsAI:false,fixValue:Re,outerHtml:(fe.outerHTML||"").slice(0,300)});}}return p},q1={name:"dataTables",cap:30,async detect(h){return h.evaluate(DR)}};var xR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI], [id*=ae_], [class*=ae-exclude]",y=[],v='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"]',f=S=>{try{return !!(S.querySelector&&S.querySelector(v))}catch{return false}},b=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),g=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-"],w=["spinner","loading","spin","loader","pulse"],_=document.querySelectorAll('i, span[class*="icon"], span[class*="fa-"], span[class*="bi-"], span[class*="material"]');for(let S of _){if(y.length>=50)break;if(S.closest(h)||isHiddenFromAT(S)||!isVisible(S))continue;let F=S.className&&typeof S.className=="string"?S.className.toLowerCase():"";if(!F.split(/\s+/).filter(Boolean).some(z=>b.has(z)||g.some(V=>z.startsWith(V)))||S.closest(v)||f(S))continue;let H=w.some(z=>F.includes(z)),$=uniqueSel(S);y.push({selector:$,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:H?"spinner/loader icon":"icon classes: "+F.slice(0,80),needsAI:false,fixValue:"true",outerHtml:S.outerHTML.slice(0,300)});}let E=document.querySelectorAll("svg");for(let S of E){if(y.length>=50)break;if(S.closest(h)||isHiddenFromAT(S)||!isVisible(S)||S.closest(v)||f(S))continue;let F=S.getAttribute("aria-label")||"",I=S.getAttribute("aria-labelledby")||"",q=S.querySelector("title"),H=q?(q.textContent||"").trim():"",$=S.getAttribute("role");if(F.trim()||I.trim()||H||$==="img")continue;let z=S.getBoundingClientRect(),V=z.width<=16&&z.height<=16,ee=S.parentElement?(S.parentElement.textContent||"").trim().replace(/\s+/g," "):"",W=z.width<=4||z.height<=4,Y=S.getAttribute("preserveAspectRatio")==="none";if(!V&&ee.length<=3&&!W&&!Y)continue;let re=uniqueSel(S);y.push({selector:re,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"decorative SVG without title or aria-label",needsAI:false,fixValue:"true",outerHtml:S.outerHTML.slice(0,300)});}let x=S=>S.indexOf(":")!==-1?false:/^(?:[a-z0-9]+[-_])*(?:disabled|inactive)$/i.test(S),A=document.querySelectorAll('[class*="disabled"], [class*="inactive"], [aria-disabled="true"]');for(let S of A){if(y.length>=50)break;if(S.closest(h)||isHiddenFromAT(S))continue;let F=S.tagName.toLowerCase();if(!(F==="a"||F==="button"||F==="input"||F==="select"||F==="textarea"||S.getAttribute("role")==="button"||S.getAttribute("role")==="link"||S.getAttribute("role")==="tab")||S.hasAttribute("disabled"))continue;let q=S.className&&typeof S.className=="string"?S.className:"",H=q.split(/\s+/).some(x),$=S.getAttribute("aria-disabled")==="true",z=getComputedStyle(S).pointerEvents==="none";if(!$&&!(H&&z))continue;let V=S.getAttribute("tabindex")!=="-1"||f(S),ee=uniqueSel(S);y.push({selector:ee,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"disabled/inactive element still exposed to assistive technology: "+q.toLowerCase().slice(0,60),needsAI:false,fixValue:"true",...V?{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:S.outerHTML.slice(0,300)});}let k=document.querySelectorAll('[class*="visuallyHidden"], [class*="visually-hidden"], [class*="sr-only"], [class*="screenreader"]');for(let S of k){if(y.length>=50)break;if(S.closest(h)||isHiddenFromAT(S))continue;let F=S.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(F.length===0)continue;let I=uniqueSel(S);y.push({selector:I,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"sr-only/visually-hidden container with "+F.length+" focusable children (keyboard trap risk)",needsAI:false,fixValue:"true",needsReview:true,reviewReason:"container has "+F.length+' keyboard-focusable descendant(s); aria-hidden="true" alone would create hidden focusables \u2014 also set tabindex="-1" on those children or confirm intent',outerHtml:S.outerHTML.slice(0,300)});}return y},B1={name:"decorativeIcons",cap:50,async detect(h){return h.evaluate(xR)}};var _R=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=new Map,f=document.querySelectorAll("[id]");for(let b of f){if(b.closest(h))continue;let g=(b.getAttribute("id")||"").trim();if(!g)continue;let w=v.get(g);w?w.push(b):v.set(g,[b]);}for(let[b,g]of v)if(!(g.length<=1)){if(y.length<50){let w=g[0];y.push({selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase(),attribute:"id",currentValue:b,issueType:"duplicate_id",wcag:"4.1.1",context:'id "'+b+'" is shared by '+g.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<g.length&&!(y.length>=50);w++){let _=g[w],E=w+1,x=b+"-"+E,A=_.tagName.toLowerCase(),k=_.parentElement,S=A;if(k){let F=Array.from(k.children).filter(q=>q.tagName===_.tagName);if(F.length>1){let q=F.indexOf(_)+1;S=A+":nth-of-type("+q+")";}let I=k.tagName.toLowerCase();if(k.id&&k.id!==b)S="#"+CSS.escape(k.id)+" > "+S;else {let q=k.parentElement;if(q){let H=Array.from(q.children).filter($=>$.tagName===k.tagName);if(H.length>1){let $=H.indexOf(k)+1;S=I+":nth-of-type("+$+") > "+S;}else S=I+" > "+S;}}}y.push({selector:S,attribute:"id",currentValue:b,issueType:"duplicate_id",wcag:"4.1.1",context:"duplicate #"+E+' of id="'+b+'" | tag: <'+A+">",needsAI:false,fixValue:x});}}return y},H1={name:"duplicateIds",cap:50,async detect(h){return h.evaluate(_R)}};var AR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=/^[^\p{L}\p{N}\s]*$/u,y=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,f=[],b=document.querySelectorAll("a");for(let g of b){if(f.length>=50)break;if(g.closest(h)||g.getAttribute("aria-hidden")==="true"||g.getAttribute("role")==="presentation"||g.closest('[aria-hidden="true"]')||!isVisible(g))continue;let w=getAccessibleName(g);if(w&&w.length>0&&!y.test(w)&&!p.test(w))continue;let _=g.querySelectorAll("img[alt]"),E="";for(let V of _){let ee=(V.getAttribute("alt")||"").trim();ee&&(E+=ee+" ");}if(E.trim())continue;let x=g.getAttribute("aria-labelledby");if(x&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(x))continue;let A=uniqueSel(g),k=g.getAttribute("href")||"",S=(g.textContent||"").trim(),F=getNearbyContext(g),I="";S&&y.test(S)?I="[whitespace only]":S&&p.test(S)&&(I=S);let q="",H=true;if(k&&k!=="#"&&!k.startsWith("javascript:")){if(k.startsWith("mailto:")){let V=k.slice(7).split("?")[0];V&&V.includes("@")&&(q="Email "+V,H=false);}else if(k.startsWith("tel:")){let V=k.slice(4);try{V=decodeURIComponent(V);}catch{}V=V.replace(/^\+/,"").trim(),V&&(q="Call "+V,H=false);}}let $=[];g.closest("nav")&&$.push("inside nav"),F.nearbyHeading&&$.push("heading: "+F.nearbyHeading),k&&$.push("href: "+k.slice(0,120)),$.push("parent: "+F.parentTag);let z={selector:A,attribute:"aria-label",currentValue:I,issueType:"empty_link",wcag:"2.4.4",context:$.join(" | "),needsAI:H,outerHtml:g.outerHTML.slice(0,300)};!H&&q&&(z.fixValue=q),f.push(z);}return f},V1={name:"emptyLinks",cap:50,async detect(h){return h.evaluate(AR)}};var ER=()=>{let p=[],y=new Set;function v(x){return (x||"").trim()}function f(x){let A=v(x.getAttribute("aria-label")||"");if(A)return A;let k=x.getAttribute("aria-labelledby");if(k){let F=k.split(/\s+/),I="";for(let q=0;q<F.length;q++){let H=document.getElementById(F[q]);H&&(I+=" "+(H.textContent||""));}if(v(I))return v(I)}let S=v(x.getAttribute("title")||"");return S||""}let b=document.querySelectorAll("fieldset");for(let x=0;x<b.length&&!(p.length>=30);x++){let A=b[x];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;if(f(A)){y.add(A);continue}let k=null,S=A.querySelectorAll("legend");for(let z=0;z<S.length;z++)if(S[z].closest("fieldset")===A){k=S[z];break}let F=k!==null,I=k?v(k.textContent||""):"";if(F&&I){y.add(A);continue}let q=getNearbyContext(A),H=A.querySelectorAll("input, select, textarea"),$=uniqueSel(A);p.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:F?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:H.length,nearbyHeading:q.nearbyHeading,parentTag:q.parentTag}),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)}),y.add(A);}let g=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let x=0;x<g.length&&!(p.length>=30);x++){let A=g[x];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A)||y.has(A))continue;if(f(A)){y.add(A);continue}let k=A.getAttribute("role")||"",S=getNearbyContext(A),F=A.querySelectorAll("input, select, textarea"),I=uniqueSel(A);p.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+k+'" container without accessible name',role:k,controlCount:F.length,nearbyHeading:S.nearbyHeading,parentTag:S.parentTag}),needsAI:true,outerHtml:(A.outerHTML||"").slice(0,300)}),y.add(A);}let w={},_=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let x=0;x<_.length;x++){let A=_[x];if(isWidget(A)||!isVisible(A)||isHiddenFromAT(A))continue;let k=A.getAttribute("name")||"";if(!k)continue;let S=A.closest("form"),F=S?S.getAttribute("id")||S.getAttribute("action")||S.tagName:"no-form",I=(A.getAttribute("type")||"").toLowerCase(),q=F+"::"+I+"::"+k;w[q]||(w[q]=[]),w[q].push(A);}let E=Object.keys(w);for(let x=0;x<E.length&&!(p.length>=30);x++){let A=w[E[x]];if(A.length<3)continue;let k=A[0],S=k.closest('fieldset, [role="group"], [role="radiogroup"]'),F=false;if(S){F=true;for(let V=1;V<A.length;V++)if(!S.contains(A[V])){F=false;break}}if(F&&S)continue;let I=k.parentElement;for(;I&&I!==document.body;){let V=true;for(let ee=1;ee<A.length;ee++)if(!I.contains(A[ee])){V=false;break}if(V)break;I=I.parentElement;}if(!I||I===document.body||y.has(I))continue;let q=(k.getAttribute("type")||"").toLowerCase(),H=k.getAttribute("name")||"",$=getNearbyContext(k),z=uniqueSel(I);p.push({selector:z,attribute:"role",currentValue:I.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+q+" group ("+A.length+' inputs share name="'+H+'")',inputType:q,inputCount:A.length,name:H,nearbyHeading:$.nearbyHeading,parentTag:$.parentTag}),needsAI:false,fixValue:q==="radio"?"radiogroup":"group",outerHtml:(I.outerHTML||"").slice(0,300)}),y.add(I);}return p},j1={name:"fieldsetLegend",cap:30,async detect(h){return h.evaluate(ER)}};var CR=()=>{let h=[],p=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),y=0;for(let v of Array.from(p)){let f=getComputedStyle(v);if(f.display==="none"||f.visibility==="hidden"||f.position!=="sticky"&&f.position!=="fixed")continue;let b=v.getBoundingClientRect();if(b.top>50||b.bottom<=0)continue;let g=Math.round(b.height);g<40||g>240||g>y&&(y=g);}if(y>0){let v=window.scrollX,f=window.scrollY,b=0,g=0;try{let _=[],E=new Set;document.querySelectorAll('a[href^="#"]').forEach(x=>{let A=x.getAttribute("href").slice(1);if(!A)return;let k=document.getElementById(A);k&&!E.has(k)&&(E.add(k),_.push(k));});for(let x of _){if(g>=8)break;let A=getComputedStyle(x);if(A.display==="none"||A.visibility==="hidden")continue;g++,x.scrollIntoView({block:"start"});let k=x.getBoundingClientRect(),S=Math.max(k.height,1);Math.max(0,Math.min(k.bottom,y)-Math.max(k.top,0))/Math.min(S,y)>=.5&&b++;}}catch{}try{window.scrollTo(v,f);}catch{}let w=`scroll-margin-top: ${y+8}px; scroll-padding-top: ${y+8}px;`;g>0&&b>0?h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${y}px \u2014 ${b}/${g} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):g===0&&h.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${y}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:w});}return h},$1={name:"focusObscured",async detect(h){return h.evaluate(CR)}};var z1={name:"focusVisible",cap:40,async detect(h){let p=typeof h.keyboard?.press=="function";if(p)try{await h.keyboard.press("Tab");}catch{}return h.evaluate(y=>{let f=[],b=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(","),g=document.querySelectorAll(b),w=document.activeElement;for(let _ of g){if(f.length>=40)break;if(typeof isWidget=="function"&&isWidget(_)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(_)||typeof isVisible=="function"&&!isVisible(_)||!_.offsetParent&&_.tagName!=="BODY")continue;let E=getComputedStyle(_),x=E.outline,A=E.outlineWidth,k=E.outlineStyle,S=E.boxShadow,F=E.border,I=E.backgroundColor;try{_.focus({preventScroll:!0});}catch{continue}if(document.activeElement!==_)continue;let q=getComputedStyle(_),H=q.outline,$=(q.outlineStyle||"").toLowerCase(),z=parseFloat(q.outlineWidth||"0"),V=q.boxShadow,ee=q.border,W=q.backgroundColor,Y=H!==x,re=$!=="none"&&$!=="hidden"&&z>0;if(Y&&re||V!==S&&V!=="none"&&V!==""||ee!==F||W!==I||parseFloat(A)>0&&k!=="none")continue;let Fe=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();f.push({selector:Fe+":focus-visible",attribute:"style",currentValue:k+" "+A,issueType:"focus_not_visible",wcag:"2.4.7",context:`${_.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:_.outerHTML.slice(0,200),...y?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{w?w.focus({preventScroll:!0}):document.activeElement?.blur();}catch{}return f},p)}};var SR=()=>{let p=[],y=["new","register","signup","sign-up","sign_up","create","change","reset"],v=["confirm","verify","retype","re-type","repeat","again"];function f(A){if(!A)return false;let k=" "+((A.id||"")+" "+(A.className||"")+" "+(A.getAttribute("name")||"")+" "+(A.getAttribute("action")||"")).toLowerCase()+" ";for(let S=0;S<y.length;S++)if(k.indexOf(y[S])!==-1)return true;return false}function b(A){let k=((A.getAttribute("name")||"")+" "+(A.getAttribute("id")||"")+" "+(A.getAttribute("placeholder")||"")+" "+(A.getAttribute("aria-label")||"")).toLowerCase();for(let S=0;S<v.length;S++)if(k.indexOf(v[S])!==-1)return true;return false}let g=document.querySelectorAll("input[required], select[required], textarea[required]");for(let A of g){if(p.length>=30)break;let k=A;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let S=(k.getAttribute("aria-required")||"").trim().toLowerCase();if(S==="true")continue;let F=uniqueSel(k),I=(k.getAttribute("type")||k.tagName.toLowerCase()||"").toLowerCase();p.push({selector:F,attribute:"aria-required",currentValue:S,issueType:"missing_aria_required",wcag:"3.3.2",context:"required input missing aria-required | type: "+I+" | name: "+(k.getAttribute("name")||""),needsAI:false,fixValue:"true",outerHtml:(k.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("input[pattern]");for(let A of w){if(p.length>=30)break;let k=A;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k)||(k.getAttribute("title")||"").trim()||(k.getAttribute("aria-describedby")||"").trim())continue;let I=uniqueSel(k),q=(k.getAttribute("pattern")||"").slice(0,80),H=k.getAttribute("name")||"",$=k.getAttribute("placeholder")||"";p.push({selector:I,attribute:"title",currentValue:"",issueType:"missing_pattern_title",wcag:"3.3.2",context:"pattern: "+q+" | name: "+H+" | placeholder: "+$,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}let _=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let A of _){if(p.length>=30)break;let k=A;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let S=(k.getAttribute("autocomplete")||"").trim().toLowerCase();if(b(k)){if(S==="new-password")continue;let $=uniqueSel(k);p.push({selector:$,attribute:"autocomplete",currentValue:S,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(k.outerHTML||"").slice(0,300)});continue}if(S)continue;let I=k.form||k.closest("form"),q=f(I),H=uniqueSel(k);p.push({selector:H,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(q?"new/signup/change password form":"login form")+" | name: "+(k.getAttribute("name")||"")+" | id: "+(k.getAttribute("id")||""),needsAI:false,fixValue:q?"new-password":"current-password",outerHtml:(k.outerHTML||"").slice(0,300)});}let E=document.querySelectorAll("form"),x=/\*|\brequired\b|\bmandatory\b/i;for(let A of E){if(p.length>=30)break;let k=A;if(isWidget(k)||!isVisible(k))continue;let S=k.querySelectorAll("input[required], select[required], textarea[required]");if(!S.length)continue;let F=0;for(let z of S)isVisible(z)&&F++;if(F===0)continue;let I=k.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),q=0;for(let z of I)isVisible(z)&&q++;if(F>=q||(k.getAttribute("data-asw-required-hint")||"").trim())continue;let H=(k.textContent||"").trim();if(x.test(H))continue;let $=uniqueSel(k);p.push({selector:$,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${F} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return p},G1={name:"formAttributes",cap:30,async detect(h){return h.evaluate(SR)}};var kR=()=>{let p=[],y=Array.from(document.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(g=>{if(isWidget(g)||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]')||g.getClientRects().length===0)return false;let w=getComputedStyle(g).visibility;return !(w==="hidden"||w==="collapse")});if(y.length===0)return p;let v='main, header, footer, aside, nav, section, article, [role="main"], [role="banner"], [role="contentinfo"], [role="complementary"], [role="navigation"], [role="region"], [role="dialog"]',f=new Map,b=0;for(let g of y){if(p.length>=50)break;let w;if(g.getAttribute("role")==="heading"){let F=g.getAttribute("aria-level");w=F?parseInt(F,10):2;}else w=parseInt(g.tagName.charAt(1),10);if(isNaN(w)||w<1||w>6)continue;let E=g.closest(v)||document.body,x=f.get(E)??0,A=uniqueSel(g),k=(g.textContent||"").trim().slice(0,80),S=g.outerHTML.slice(0,300);if(w===1&&(b++,b>1&&(p.push({selector:A,attribute:"data-multiple-h1",currentValue:"1",issueType:"multiple_h1",wcag:"1.3.1",context:JSON.stringify({headingText:k,h1Number:b,suggestion:"Demote to h2 \u2014 only one h1 per page (retag the element; aria-level is ignored on native headings)"}),needsAI:false,outerHtml:S}),w=2)),x>0&&w>x+1){let F=x+1;p.push({selector:A,attribute:"data-heading-skip",currentValue:String(w),issueType:"heading_skip",wcag:"1.3.1",context:JSON.stringify({reason:"level_skip",headingText:k,currentLevel:w,previousLevel:x,expectedLevel:F,suggestion:"Should be h"+F+" (was h"+w+", previous was h"+x+") \u2014 retag the element"}),needsAI:false,needsReview:true,reviewReason:"level skips need a human retag \u2014 aria-level is ignored on native headings and never clears on rescan",outerHtml:S});}f.set(E,w);}return p},U1={name:"headingHierarchy",cap:50,async detect(h){return h.evaluate(kR)}};var TR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude],[id*=goog-gt],[class*=goog-te]",y=[],v=new Set;function f(b){let g=b,w=0;for(;g&&g!==document.body&&w<6;){if(g.getAttribute("aria-hidden")==="true")return true;g=g.parentElement,w++;}return false}return document.querySelectorAll('[aria-disabled=true]:not([tabindex="-1"]), .disabled:not([tabindex="-1"])').forEach(b=>{if(y.length>=50||b.closest(h)||!b.matches("a[href], button, [role=button]")||f(b))return;let g=getComputedStyle(b);if(g.display==="none"||g.visibility==="hidden")return;let w=uniqueSel(b);v.has(w)||(v.add(w),y.push({selector:w,attribute:"tabindex",currentValue:b.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(b=>{if(y.length>=50||b.closest(h)||f(b))return;let g=getComputedStyle(b),w=parseInt(g.width)||0,_=parseInt(g.height)||0;if((w===0||_===0)&&b.getAttribute("aria-hidden")!=="true"){let E=uniqueSel(b);if(v.has(E))return;v.add(E),y.push({selector:E,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"4.1.2",context:"zero-size iframe without aria-hidden",needsAI:false,fixValue:"true"});}}),y},W1={name:"hiddenInteractive",cap:50,async detect(h){return h.evaluate(TR)}};var FR=()=>{let h=document.documentElement;return h?(h.getAttribute("lang")||"").trim()?[]:[{selector:"html",attribute:"lang",currentValue:"",issueType:"missing_semantic_role",wcag:"3.1.1",context:"Document language not declared",needsAI:false,fixValue:"en"}]:[]},X1={name:"htmlLang",async detect(h){return h.evaluate(FR)}};var RR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=[{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"}],f=/^(iframe|embed|widget|frame|content|untitled)$/i,b=document.querySelectorAll("iframe");for(let g of b){if(y.length>=50)break;if(g.closest(h))continue;let w=(g.getAttribute("aria-hidden")||"").trim(),_=(g.getAttribute("role")||"").trim().toLowerCase();if(w==="true"||_==="presentation")continue;let E=getComputedStyle(g);if(g.getClientRects().length===0||E.visibility==="hidden"||E.visibility==="collapse"||(g.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let x=(g.getAttribute("title")||"").trim(),A=x.length===0,k=!A&&(x.length<3||f.test(x));if(!A&&!k)continue;let S=(g.getAttribute("src")||"").toLowerCase(),F=uniqueSel(g),I=getNearbyContext(g),q="src: "+S.slice(0,120)+(I.nearbyHeading?" | heading: "+I.nearbyHeading:""),H=false;for(let $ of v)if(S.includes($.pattern)){y.push({selector:F,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:q,needsAI:false,fixValue:$.title,outerHtml:g.outerHTML.slice(0,300)}),H=true;break}!H&&A&&y.push({selector:F,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:q,needsAI:true,outerHtml:g.outerHTML.slice(0,300)});}return y},Y1={name:"iframeTitle",cap:50,async detect(h){return h.evaluate(RR)}};var IR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],v=[],f={email:"email",tel:"tel",password:"current-password"},b=[{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"}],g=document.querySelectorAll("input, select, textarea");for(let w of g){if(v.length>=50)break;if(w.closest(h))continue;let _=w,E=(_.getAttribute("type")||"text").toLowerCase();if(p.includes(E)||_.getAttribute("autocomplete")||!isVisible(_))continue;let x="";if(f[E]&&(x=f[E]),!x){let k=(_.getAttribute("name")||"").toLowerCase(),S=(_.getAttribute("id")||"").toLowerCase(),F=(_.getAttribute("placeholder")||"").toLowerCase(),I=k+" "+S+" "+F;for(let q of b)if(I.includes(q.pattern)){x=q.autocomplete;break}}if(!x)continue;let A=uniqueSel(_);v.push({selector:A,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+E+" | name: "+(_.getAttribute("name")||"")+" | id: "+(_.getAttribute("id")||""),needsAI:false,fixValue:x});}return v},K1={name:"inputPurpose",cap:50,async detect(h){return h.evaluate(IR)}};var LR=()=>{let p=[],y={alert:true,alertdialog:true,application:true,article:true,banner:true,blockquote:true,button:true,caption:true,cell:true,checkbox:true,code:true,columnheader:true,combobox:true,command:true,comment:true,complementary:true,composite:true,contentinfo:true,definition:true,deletion:true,dialog:true,directory:true,document:true,emphasis:true,feed:true,figure:true,form:true,generic:true,grid:true,gridcell:true,group:true,heading:true,img:true,input:true,insertion:true,landmark:true,link:true,list:true,listbox:true,listitem:true,log:true,main:true,marquee:true,math:true,menu:true,menubar:true,menuitem:true,menuitemcheckbox:true,menuitemradio:true,meter:true,navigation:true,none:true,note:true,option:true,paragraph:true,presentation:true,progressbar:true,radio:true,radiogroup:true,range:true,region:true,roletype:true,row:true,rowgroup:true,rowheader:true,scrollbar:true,search:true,searchbox:true,section:true,sectionhead:true,select:true,separator:true,slider:true,spinbutton:true,status:true,strong:true,structure:true,subscript:true,suggestion:true,superscript:true,switch:true,tab:true,table:true,tablist:true,tabpanel:true,term:true,textbox:true,time:true,timer:true,toolbar:true,tooltip:true,tree:true,treegrid:true,treeitem:true,widget:true,window:true},v=document.querySelectorAll("[role]");for(let f of v){if(p.length>=20)break;let b=f;if(isWidget(b))continue;let g=(b.getAttribute("role")||"").trim().toLowerCase();if(!g)continue;let w=g.split(/\s+/).filter(Boolean);if(w.length===0)continue;let _=true,E="";for(let x=0;x<w.length;x++)if(!y[w[x]]){_=false,E=w[x];break}_||p.push({selector:uniqueSel(b),attribute:"remove_attribute",currentValue:g,issueType:"invalid_aria_role",wcag:"4.1.2",context:'invalid ARIA role: "'+E+'" \u2014 removing',needsAI:false,fixValue:"role",outerHtml:(b.outerHTML||"").slice(0,300)});}return p},J1={name:"invalidAriaRole",cap:20,async detect(h){return h.evaluate(LR)}};var PR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=['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(","),f=document.querySelectorAll(v);for(let b of f){if(y.length>=30)break;if(b.closest(h)||!b.hasAttribute("tabindex"))continue;let g=b.getAttribute("tabindex")||"",w=parseInt(g,10);if(!Number.isFinite(w)||w===0||b.getAttribute("aria-disabled")==="true"||b.getAttribute("aria-hidden")==="true"||b.closest('[aria-hidden="true"]')||b.closest("[hidden]"))continue;let _=b.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(_&&!(_.hasAttribute("open")||_.getAttribute("aria-modal")==="true"||_.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(b))continue;let E=(b.getAttribute("role")||"").toLowerCase();if(w<0&&b.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;let A=typeof uniqueSel=="function"?uniqueSel(b):"",k=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},S,F;w<0?(S="keyboard_trap",F="2.1.1"):(S="focus_order_disruption",F="2.4.3");let I=[];I.push("tabindex: "+w),I.push("tag: "+b.tagName.toLowerCase()),E&&I.push("role: "+E),k.nearbyHeading&&I.push("heading: "+k.nearbyHeading),I.push("parent: "+k.parentTag),y.push({selector:A,attribute:"tabindex",currentValue:String(w),issueType:S,wcag:F,context:I.join(" | "),needsAI:false,fixValue:"0",outerHtml:(b.outerHTML||"").slice(0,300)});}return y},Z1={name:"keyboardTrap",cap:30,async detect(h){return h.evaluate(PR)}};var OR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],f=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let b of Array.from(f)){if(y.length>=40)break;if(b.closest(h)||typeof isVisible=="function"&&!isVisible(b))continue;let g="",w=[];try{let Q=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,fe=/icon|awesome|glyph|material symbols|dashicons/i,ce=!1;try{ce=fe.test(getComputedStyle(b).fontFamily||"");}catch{}let Se=document.createTreeWalker(b,NodeFilter.SHOW_TEXT),Fe;for(;Fe=Se.nextNode();){let Ae=Fe.parentElement;if(!Ae)continue;let Ge=(Fe.textContent||"").trim();if(!Ge||Ae===b&&ce)continue;let Re=!1;for(let Ve=Ae;Ve&&Ve!==b;Ve=Ve.parentElement){if(Ve.getAttribute("aria-hidden")==="true"){Re=!0;break}if(Q.test(Ve.className||"")||Q.test(Ve.id||"")){Re=!0;break}try{let Qe=getComputedStyle(Ve);if(Qe.display==="none"||Qe.visibility==="hidden"){Re=!0;break}if(fe.test(Qe.fontFamily||"")){Re=!0;break}}catch{}}Re||w.push(Ge);}g=w.join(" ").trim().toLowerCase();}catch{g=((b.innerText!=null?b.innerText:b.textContent)||"").trim().toLowerCase();}if(!g||!/[\p{L}\p{N}]/u.test(g)||/^\p{L}$/u.test(g))continue;let E=/[\p{L}\p{N}\p{M}]/u,x=(b.getAttribute("aria-label")||"").trim().toLowerCase();if(!x){let Q=b.getAttribute("aria-labelledby");Q&&(x=(typeof __resolveIdRefs=="function"?__resolveIdRefs(Q):"").toLowerCase());}if(!x)continue;let A=g.replace(/\s+/g," ").normalize("NFC"),k=x.replace(/\s+/g," ").normalize("NFC"),S=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,F=(Q,fe)=>!Q||!E.test(Q)||S.test(Q)||S.test(fe),I=(Q,fe)=>{if(fe<=0)return "";let ce=Q.charCodeAt(fe-1);return ce>=56320&&ce<=57343&&fe>=2?Q.slice(fe-2,fe):Q.charAt(fe-1)},q=(Q,fe)=>{let ce=Q.codePointAt(fe);return ce===void 0?"":String.fromCodePoint(ce)},H=A.substring(0,40),$=A.length>=40,z=q(H,0),V=I(H,H.length),ee=false;for(let Q=0;!ee;){let fe=k.indexOf(H,Q);if(fe<0)break;F(I(k,fe),z)&&($||F(q(k,fe+H.length),V))&&(ee=true),Q=fe+1;}if(ee)continue;if(w.length>1){let Q=true,fe=0;for(let ce of w){let Se=ce.replace(/\s+/g," ").trim().normalize("NFC").toLowerCase();if(!Se)continue;let Fe=Se.slice(0,40),Ae=-1;for(let Ge=fe;;){let Re=k.indexOf(Fe,Ge);if(Re<0)break;let Ve=F(I(k,Re),q(Fe,0)),Qe=Fe.length>=40||F(q(k,Re+Fe.length),I(Fe,Fe.length));if(Ve&&Qe){Ae=Re;break}Ge=Re+1;}if(Ae<0){Q=false;break}fe=Ae+Fe.length;}if(Q)continue}let W=typeof uniqueSel=="function"?uniqueSel(b):"",Y=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},re=[];re.push("visible: "+g.slice(0,40)),re.push("aria-label: "+x.slice(0,60)),Y.nearbyHeading&&re.push("heading: "+Y.nearbyHeading),re.push("parent: "+Y.parentTag),y.push({selector:W,attribute:"aria-label",currentValue:x,issueType:"label_in_name",wcag:"2.5.3",context:re.join(" | "),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}return y},Q1={name:"labelInName",cap:40,async detect(h){return h.evaluate(OR)}};var MR=()=>{function h(x){let A=x.closest("section,article,div,nav,main,aside,header,footer"),k=A?A.querySelector("h1,h2,h3,h4,h5,h6"):null;return k?(k.textContent||"").trim().slice(0,80):""}let p="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",y=50,v=[];document.querySelector('main, [role="main"]')||v.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 b=document.querySelectorAll("div, section, ul, ol");for(let x of b){if(v.length>=y)break;if(x.closest(p)||!isVisible(x)||isHiddenFromAT(x)||x.tagName.toLowerCase()==="nav")continue;let A=x.getAttribute("role");if(A&&A!=="navigation")continue;let k=(x.className&&typeof x.className=="string"?x.className:"").toLowerCase(),S=(x.id||"").toLowerCase();if(!(k.includes("nav")||k.includes("menu")||k.includes("navigation")||S.includes("nav")||S.includes("menu")||S.includes("navigation"))||x.closest('nav, [role="navigation"]'))continue;let I=x.querySelectorAll("a[href]");if(I.length<3)continue;let q=uniqueSel(x);v.push({selector:q,attribute:"role",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:'navigation-like container missing role="navigation"',linkCount:I.length,classes:k.slice(0,80)}),needsAI:false,fixValue:"navigation",outerHtml:x.outerHTML.slice(0,300)});}let g=document.querySelectorAll('aside, [role="complementary"]'),w=Array.from(g).filter(x=>!x.closest(p)&&isVisible(x)&&!isHiddenFromAT(x));if(w.length>1)for(let x of w){if(v.length>=y)break;let A=x.getAttribute("aria-label")||"",k=x.getAttribute("aria-labelledby")||"",S=x.getAttribute("title")||"";if(A.trim()||k.trim()||S.trim())continue;let F=h(x),I=uniqueSel(x);v.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"multiple complementary landmarks without distinguishing labels",totalAsides:g.length,nearbyHeading:F}),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}let _=document.querySelectorAll('nav, [role="navigation"]'),E=Array.from(_).filter(x=>!x.closest(p)&&isVisible(x)&&!isHiddenFromAT(x));if(E.length>1)for(let x of E){if(v.length>=y)break;let A=x.getAttribute("aria-label")||"",k=x.getAttribute("aria-labelledby")||"",S=x.getAttribute("title")||"";if(A.trim()||k.trim()||S.trim())continue;let F=h(x),I=uniqueSel(x);v.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"1.3.1",context:JSON.stringify({tag:x.tagName.toLowerCase(),reason:"multiple nav landmarks without distinguishing labels",totalNavs:_.length,nearbyHeading:F}),needsAI:true,outerHtml:x.outerHTML.slice(0,300)});}return v},eh={name:"landmarkRoles",cap:50,async detect(h){return h.evaluate(MR)}};var NR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",y=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],v=[];function f(x){if(!x)return "";let A=x.split("#")[0];return A.length>1&&A.charAt(A.length-1)==="/"&&(A=A.substring(0,A.length-1)),A}function b(x){let A=(x.getAttribute("aria-label")||"").trim();return A||(x.textContent||"").trim().replace(/\s+/g," ")}function g(x){return !!x.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},_=document.querySelectorAll("a[href]");for(let x=0;x<_.length;x++){let A=_[x];if(A.closest(h)||A.getAttribute("aria-hidden")==="true"||!isVisible(A))continue;let k=A.getAttribute("href")||"";if(!k)continue;let S=k.toLowerCase();if(S.charAt(0)==="#"||S.indexOf("javascript:")===0||S.indexOf("mailto:")===0||S.indexOf("tel:")===0)continue;let F=A.href||k,I=f(F);if(!I||g(A))continue;let q=(A.textContent||"").trim(),H=!!A.querySelector("img, svg, picture");if(!q&&H)continue;let $=b(A);if(!$)continue;let z=$.toLowerCase();z===S||z===F.toLowerCase()||(w[I]||(w[I]=[]),w[I].push(A));}let E=Object.keys(w);for(let x=0;x<E.length&&!(v.length>=30);x++){let A=w[E[x]];if(!A||A.length<2)continue;let k={},S="";for(let H=0;H<A.length;H++){let $=b(A[H]),z=$.toLowerCase();k[z]=true,$.length>S.length&&(S=$);}if(Object.keys(k).length<2)continue;let I=S.toLowerCase().trim();if(I.length<5)continue;let q=false;for(let H=0;H<y.length;H++)if(I===y[H]){q=true;break}if(!q)for(let H=0;H<A.length&&!(v.length>=30);H++){let $=A[H],z=b($);if(z.toLowerCase()===I)continue;let V=uniqueSel($);v.push({selector:V,attribute:"aria-label",currentValue:z,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+A.length+' link(s) on this page with different text (e.g. "'+S.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:$.outerHTML.slice(0,300)});}}return v},th={name:"linkConsistency",cap:30,async detect(h){return h.evaluate(NR)}};var qR=()=>{let p=[],y=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],v={".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"},f="";try{f=window.location&&window.location.hostname||"";}catch{f="";}f=(f||"").toLowerCase();function b(F,I){if(!F||!I)return false;if(F===I||F.endsWith("."+I)||I.endsWith("."+F))return true;let q=H=>{let $=H.split(".");if($.length<=2)return H;let z=$[$.length-1],V=$[$.length-2],ee=["co","com","net","org","ac","gov","edu"],W=z.length===2&&ee.indexOf(V)>=0?3:2;return $.slice(-W).join(".")};return q(F)===q(I)}function g(F){return F.indexOf("www.")===0?F.slice(4):F}function w(F){if(!F)return "";let I=F.toLowerCase();if(I.charAt(0)==="#"||I.charAt(0)==="/"||I.charAt(0)==="?"||I.indexOf("javascript:")===0||I.indexOf("mailto:")===0||I.indexOf("tel:")===0)return "";try{return (new window.URL(F,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function _(F){if(!F)return "";let I=F,q=I.indexOf("?");q>=0&&(I=I.slice(0,q));let H=I.indexOf("#");H>=0&&(I=I.slice(0,H)),I=I.toLowerCase();for(let $=0;$<y.length;$++){let z=y[$];if(I.length>=z.length&&I.slice(I.length-z.length)===z)return z}return ""}function E(F){let I=[],q=(F.getAttribute("aria-label")||"").trim();q&&I.push(q);let H=(F.getAttribute("title")||"").trim();H&&I.push(H);let $=F.getAttribute("aria-labelledby");if($)try{let z=typeof __resolveIdRefs=="function"?__resolveIdRefs($):"";z&&I.push(z);}catch{}return I.push((F.textContent||"").trim()),I.join(" ").toLowerCase()}function x(F,I,q){let H="";try{typeof getAccessibleName=="function"&&(H=(getAccessibleName(F)||"").trim());}catch{}let $=(I||q||H||F.textContent||"").replace(/\s+/g," ").trim();return $||(F.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}function A(F,I){let H=200-I.length;H<8&&(H=8);let $=F;if($.length>H){let z=$.slice(0,H),V=z.lastIndexOf(" ");V>H*.6&&(z=z.slice(0,V)),$=z.replace(/[\s…,;:.\-]+$/,"")+"\u2026";}return ($+I).slice(0,200)}let k=document.querySelectorAll("a"),S=k.length;for(let F=0;F<S&&!(p.length>=50);F++){let I=k[F];if(!I||isWidget(I)||I.getAttribute("aria-hidden")==="true")continue;try{if(I.closest&&I.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(I))continue;let q=I.getAttribute("href");if(q==null)continue;let H=String(q).trim();if(!H)continue;let $=H.toLowerCase(),z=E(I),V=(I.getAttribute("rel")||"").toLowerCase(),ee=uniqueSel(I),W=(I.textContent||"").trim().slice(0,80),Y=(I.getAttribute("target")||"").toLowerCase(),re=(I.outerHTML||"").slice(0,300),Q=H==="#",fe=$.indexOf("javascript:")===0;if((Q||fe)&&(I.getAttribute("role")||"").toLowerCase()!=="button"){let Re=I.hasAttribute&&I.hasAttribute("onclick"),Ve=I.hasAttribute&&(I.hasAttribute("data-action")||I.hasAttribute("data-click")||I.hasAttribute("data-toggle")||I.hasAttribute("data-target")),Qe=typeof I.onclick=="function",nt=Re||Ve||Qe,wt=[];wt.push("href: "+H),W&&wt.push("text: "+W),wt.push(nt?"has click handler (should be <button> or role=button)":"dead link \u2014 remove or replace with navigation");let ht='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',Tt=Ee=>{let Ln=getComputedStyle(Ee);return Ln.display!=="none"&&Ln.visibility!=="hidden"},Oe=Array.prototype.some.call(I.querySelectorAll(ht),Ee=>Tt(Ee)&&!isHiddenFromAT(Ee));nt&&!Oe&&p.push({selector:ee,attribute:"role",currentValue:H,issueType:"placeholder_link",wcag:"2.4.4",context:wt.join(" | "),needsAI:false,fixValue:"button",outerHtml:re});continue}if(H.charAt(0)==="#"&&H.length>1){let Ge=H.slice(1),Re=Ge;try{Re=decodeURIComponent(Ge);}catch{Re=Ge;}let Ve=null;try{Ve=document.getElementById(Re);}catch{Ve=null;}if(!Ve)try{Ve=document.querySelector('[name="'+Re.replace(/"/g,'\\"')+'"]');}catch{Ve=null;}continue}let ce=_($);if(ce){let Ge=I.hasAttribute&&I.hasAttribute("download"),Re=(v[ce]||ce).toLowerCase(),Ve=z.indexOf(ce)>=0||z.indexOf(Re)>=0||z.indexOf("download")>=0;if(!Ge&&!Ve){let Qe=x(I,(I.getAttribute("aria-label")||"").trim(),""),nt=A(Qe," ("+(v[ce]||ce)+" download)");p.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 "+ce+" | href: "+H.slice(0,120),needsAI:false,fixValue:nt,outerHtml:re});continue}}let Se=w(H),Fe=$.indexOf("http://")===0||$.indexOf("https://")===0||$.indexOf("//")===0,Ae=!!Se&&!!f&&!b(g(Se),g(f));if(Y==="_blank"){let Ge=V.indexOf("noopener")>=0||V.indexOf("noreferrer")>=0,Re=z.indexOf("new window")>=0||z.indexOf("new tab")>=0||z.indexOf("opens in")>=0;if(!Re){let Ve=(I.getAttribute("aria-label")||"").trim(),Qe="",nt=I.getAttribute("aria-labelledby")||"";if(!Ve&&nt)try{typeof __resolveIdRefs=="function"&&(Qe=(__resolveIdRefs(nt)||"").trim());}catch{}let wt=x(I,Ve,Qe),ht=A(wt," (opens in new window)"),Tt=[];Ge||Tt.push("missing rel=noopener"),Re||Tt.push('missing "new window" hint'),Tt.push("href: "+H.slice(0,120)),p.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:Tt.join(" | "),needsAI:false,fixValue:ht,outerHtml:re});continue}}if(Ae&&Fe){let Ge=V.indexOf("external")>=0,Re=z.indexOf("external")>=0||z.indexOf("opens in")>=0||z.indexOf("new window")>=0||z.indexOf("new tab")>=0;if(!Ge&&!Re){let Ve=(I.getAttribute("aria-label")||"").trim(),Qe="",nt=I.getAttribute("aria-labelledby")||"";if(!Ve&&nt)try{typeof __resolveIdRefs=="function"&&(Qe=(__resolveIdRefs(nt)||"").trim());}catch{}let wt=x(I,Ve,Qe),ht=A(wt," (external link)");p.push({selector:ee,attribute:"aria-label",currentValue:(I.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+Se+" (page: "+f+") | href: "+H.slice(0,120),needsAI:false,fixValue:ht,outerHtml:re});}}}return p},rh={name:"linkWarnings",cap:50,async detect(h){return h.evaluate(qR)}};var BR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",y=[],v=new Set,f=document.querySelectorAll('main, [role="main"]'),b=[];return f.forEach(g=>{let w=getComputedStyle(g);w.display!=="none"&&w.visibility!=="hidden"&&b.push(g);}),f.forEach(g=>{if(y.length>=10||g.closest(h)||g.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(g);if(w.display==="none"||w.visibility==="hidden"||g.closest('[role="dialog"]')||g.closest('[role="alertdialog"]')||g.closest("dialog")||b.some(A=>A!==g&&A.getAttribute("aria-hidden")!=="true"))return;let E=g.parentElement;for(;E&&E!==document.body&&E!==document.documentElement;){if(E.getAttribute("aria-hidden")==="true")return;E=E.parentElement;}let x=uniqueSel(g);v.has(x)||(v.add(x),y.push({selector:x,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:g.tagName.toLowerCase(),role:g.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:(g.outerHTML||"").slice(0,300)}));}),y},ah={name:"mainContentHidden",cap:10,async detect(h){return h.evaluate(BR)}};var HR=()=>{let p=[];function y(g){return !!(!g||isWidget(g)||(g.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function v(g){return (g.outerHTML||"").slice(0,300)}let f=document.querySelectorAll("video");for(let g of f){if(p.length>=10)break;let w=g;if(y(w))continue;let _=w.hasAttribute("controls"),E=w.hasAttribute("autoplay"),x=w.hasAttribute("muted"),A=typeof isVisible=="function"?isVisible(w):true;if(!_&&A&&(p.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:v(w)}),p.length>=10))break;E&&!x&&p.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:v(w)});}let b=document.querySelectorAll("audio");for(let g of b){if(p.length>=10)break;let w=g;if(y(w))continue;let _=w.hasAttribute("controls"),E=w.hasAttribute("autoplay");if(!_&&(p.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:v(w)}),p.length>=10))break;E&&p.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:v(w)});}return p},nh={name:"mediaControls",cap:10,async detect(h){return h.evaluate(HR)}};var VR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,f=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|screenshot|Screen\s*Shot|Bildschirmfoto|capture|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,b=document.querySelectorAll("img");for(let g of b){if(y.length>=50)break;if(g.closest(h))continue;let w=g.getAttribute("src")||"",_=g.getAttribute("alt");if(w.startsWith("data:"))continue;let E=g.naturalWidth||g.width,x=g.naturalHeight||g.height;if(E<=3&&x<=3&&E>0&&x>0||E<=2&&x<=2)continue;let A=g.getBoundingClientRect();if(A.width<=2&&A.height<=2||!isVisible(g)||g.getAttribute("role")==="presentation"||g.getAttribute("role")==="none"||g.getAttribute("aria-hidden")==="true"||g.closest('[aria-hidden="true"]'))continue;let k=(g.getAttribute("aria-label")||"").trim(),S=(g.getAttribute("aria-labelledby")||"").trim();if(k||S)continue;let F=g.getBoundingClientRect(),I=F.width>0&&F.width<=30&&F.height<=30,q=!!g.closest('a, button, [role="button"], [role="link"]');if(I&&!q&&_===null){let ee=uniqueSel(g);y.push({selector:ee,attribute:"aria-hidden",currentValue:"",issueType:"decorative_icon",wcag:"1.1.1",context:"small icon ("+Math.round(F.width)+"x"+Math.round(F.height)+"px) \u2014 likely decorative",needsAI:false,fixValue:"true"});continue}if(_===null){let ee=uniqueSel(g),W=getNearbyContext(g),Y=[],re=g.closest("figure");if(re){let ce=re.querySelector("figcaption");ce&&Y.push("figcaption: "+(ce.textContent||"").trim().slice(0,80));}W.nearbyHeading&&Y.push("heading: "+W.nearbyHeading);let Q=g.closest("a");if(Q){let ce=Q.getAttribute("href")||"",Se=(Q.textContent||"").trim().replace(/\s+/g," ");Se&&Y.push("link text: "+Se.slice(0,60)),ce&&Y.push("link href: "+ce.slice(0,80));}w&&Y.push("src: "+w.slice(0,120)),Y.push("parent: "+W.parentTag);let fe=w;try{fe=new URL(w,document.baseURI).href;}catch{}y.push({selector:ee,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:Y.join(" | "),needsAI:true,imageSrc:fe,outerHtml:g.outerHTML.slice(0,300)});continue}let H=(_||"").trim();if(H==="")continue;let $=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(H),z=v.test(H),V=f.test(H);if($||z||V){let ee=uniqueSel(g),W=getNearbyContext(g),Y=[];W.nearbyHeading&&Y.push("heading: "+W.nearbyHeading),w&&Y.push("src: "+w.slice(0,120)),Y.push("parent: "+W.parentTag);let re=w;try{re=new URL(w,document.baseURI).href;}catch{}y.push({selector:ee,attribute:"alt",currentValue:H,issueType:"missing_alt",wcag:"1.1.1",context:Y.join(" | "),needsAI:true,imageSrc:re,outerHtml:g.outerHTML.slice(0,300)});}}return y},ih={name:"missingAlt",cap:50,async detect(h){return h.evaluate(VR)}};var jR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=["hidden","submit","button","reset","image"],y=["wpnonce","_token","csrf","nonce","captcha"],f=[],b=document.querySelectorAll("input, select, textarea");for(let g of b){if(f.length>=50)break;if(g.closest(h))continue;let w=g,_=w.getAttribute("type")||w.tagName.toLowerCase();if(p.includes(_.toLowerCase())||!isVisible(w)||w.closest('[id*="goog-gt"],[class*="goog-te"],[id*="recaptcha"],[class*="intercom"],[class*="drift-"],[class*="crisp-"],[class*="tawk-"]')||getComputedStyle(w).display==="none")continue;let A=w.getAttribute("id")||"",k=w.getAttribute("name")||"",S=(A+" "+k).toLowerCase();if(y.some(ee=>S.includes(ee)))continue;let F=false;if(A){let ee=document.querySelector('label[for="'+CSS.escape(A)+'"]');ee&&(ee.textContent||"").trim()&&(F=true);}if(!F){let ee=w.closest("label");ee&&(ee.textContent||"").trim()&&(F=true);}if(!F&&(w.getAttribute("aria-label")||"").trim()&&(F=true),!F){let ee=w.getAttribute("aria-labelledby");ee&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(ee)&&(F=true);}if(!F&&(w.getAttribute("title")||"").trim()&&(F=true),F)continue;let I=uniqueSel(w),q=getNearbyContext(w),H=(w.getAttribute("placeholder")||"").trim(),$=w.closest("form"),z=$&&($.getAttribute("id")||$.getAttribute("action"))||"",V=[];H&&V.push("placeholder: "+H),k&&V.push("name: "+k),_&&V.push("type: "+_),z&&V.push("form: "+z.slice(0,60)),q.nearbyHeading&&V.push("heading: "+q.nearbyHeading),V.push("parent: "+q.parentTag),f.push({selector:I,attribute:"aria-label",currentValue:"",issueType:"missing_label",wcag:"1.3.1",context:V.join(" | "),needsAI:true,outerHtml:w.outerHTML.slice(0,300)});}return f},oh={name:"missingLabels",cap:50,async detect(h){return h.evaluate(jR)}};var $R=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",y=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(y.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E))return;let x=E.getAttribute("role");if(x==="button"||x==="link"||x==="tab"||x==="menuitem"||x==="checkbox"||x==="radio")return;let A=uniqueSel(E),k=E.outerHTML.slice(0,300);y.push({selector:A,attribute:"role",currentValue:x||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),hasOnclick:true,currentTabindex:E.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:k}),E.getAttribute("tabindex")===null&&y.push({selector:A,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:k});}),document.querySelectorAll('a:not([href]), a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]').forEach(E=>{if(y.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let A=E.hasAttribute("onclick"),k=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!A&&!k)return;let S=uniqueSel(E),F=E.outerHTML.slice(0,300);y.push({selector:S,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:E.getAttribute("href")||"",hasOnclick:A}),needsAI:false,fixValue:"button",outerHtml:F});}),document.querySelectorAll('a[href^="#"]:not([href="#"]), a[href^="javascript:"]').forEach(E=>{if(y.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let A=E.getAttribute("href")||"",k=false;if(A.startsWith("#")&&A.length>1){if(A.charAt(1)==="/")return;let q=A.slice(1);if(document.getElementById(q))return;try{if(document.querySelector('[name="'+CSS.escape(q)+'"]'))return}catch{}k=true;}let S=A.startsWith("javascript:")||E.hasAttribute("onclick")||E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click")||E.hasAttribute("aria-haspopup")||E.hasAttribute("aria-expanded")||E.hasAttribute("aria-controls"),F=k&&!S,I=uniqueSel(E);y.push({selector:I,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:A,reason:"non-navigating link acting as button"}),needsAI:false,fixValue:"button",outerHtml:E.outerHTML.slice(0,300),...F?{needsReview:true,reviewReason:"fragment href has no matching target and no click-behavior evidence \u2014 may be a dead link, not a button"}:{}});}),document.querySelectorAll("nav, ol, ul").forEach(E=>{if(y.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E))return;let x=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),A=(E.id||"").toLowerCase();if(!x.includes("breadcrumb")&&!x.includes("crumb")&&!A.includes("breadcrumb")&&!A.includes("crumb"))return;let k=E.querySelectorAll("a");if(k.length<2)return;let S=(E.getAttribute("aria-label")||"").toLowerCase(),F=E.getAttribute("role");if(S.includes("breadcrumb")||S.includes("crumb")||F==="navigation"&&S)return;let I=uniqueSel(E);y.push({selector:I,attribute:"aria-label",currentValue:S,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:k.length}),needsAI:false,fixValue:"Breadcrumb",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(y.length>=50||E.closest(h)||!isVisible(E)||isHiddenFromAT(E))return;let x=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),A=(E.id||"").toLowerCase();if(!x.includes("search")&&!A.includes("search")||!E.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let S=E.getAttribute("role");if(S==="search"||E.closest('[role="search"]')||E.querySelector('[role="search"]')||Array.prototype.some.call(E.querySelectorAll("form, section, div"),q=>{let H=(q.className&&typeof q.className=="string"?q.className:"").toLowerCase(),$=(q.id||"").toLowerCase();return !H.includes("search")&&!$.includes("search")||q.getAttribute("role")==="search"?false:!!q.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let I=uniqueSel(E);y.push({selector:I,attribute:"role",currentValue:S||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(E=>{if(E.closest(h))return;let x=E.getAttribute("role")||"menu",A=Array.from(E.querySelectorAll("a")).filter(S=>{if(!isVisible(S)||isHiddenFromAT(S))return false;let F=S.getAttribute("role");return F!=="menuitem"&&F!=="menuitemcheckbox"&&F!=="menuitemradio"});if(A.length===0)return;let k=uniqueSel(E);y.push({selector:k,attribute:"role",currentValue:x,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:`${A.length} link(s) inside role="${x}" without menuitem roles`,sample:A.slice(0,3).map(S=>(S.textContent||"").trim().slice(0,40))}),message:`container role="${x}" holds ${A.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:E.outerHTML.slice(0,300)});}),y},sh={name:"missingRoles",cap:50,async detect(h){return h.evaluate($R)}};var zR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],v={navigation:'nav, [role="navigation"]',complementary:'aside, [role="complementary"]',search:'[role="search"]',region:'[role="region"]'},f=b=>{let g=E=>{let x=E.tagName.toLowerCase(),A=E.parentElement;if(!A)return x;let k=Array.from(A.children).filter(S=>S.tagName===E.tagName);return k.length>1?`${x}:nth-of-type(${k.indexOf(E)+1})`:x},w=[],_=b;for(;_&&_!==document.body&&_!==document.documentElement;)w.unshift(g(_)),_=_.parentElement;return w.length?w.join(" > "):b.tagName.toLowerCase()};for(let[b,g]of Object.entries(v)){let w=Array.from(document.querySelectorAll(g));w=w.filter(_=>!_.closest(h)),w=w.filter(_=>typeof isVisible=="function"?isVisible(_):true),w=w.filter(_=>_.getAttribute("aria-hidden")!=="true"),!(w.length<2)&&w.forEach(_=>{if(y.length>=30||(_.getAttribute("aria-label")||"").trim()||(_.getAttribute("title")||"").trim())return;let E=_.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))return;let x=typeof uniqueSel=="function"?uniqueSel(_):f(_),A=typeof getNearbyContext=="function"?getNearbyContext(_):{nearbyHeading:""},k=_.querySelector("h1, h2, h3, h4, h5, h6"),S=k?(k.textContent||"").trim().slice(0,60):"";y.push({selector:x,attribute:"aria-label",currentValue:"",issueType:"landmark_duplicate_unlabeled",wcag:"1.3.1",context:`type: ${b} | total: ${w.length} | inner-heading: ${S} | nearby: ${A.nearbyHeading||""}`,needsAI:true,outerHtml:(_.outerHTML||"").slice(0,300)});});}return y},uh={name:"multipleLandmarks",cap:30,async detect(h){return h.evaluate(zR)}};var GR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[],v={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[f,b]of Object.entries(v))document.querySelectorAll(b).forEach(w=>{if(y.length>=30||w.closest(h)||typeof isVisible=="function"&&!isVisible(w))return;let _=w.parentElement,E=null;for(;_&&_!==document.body;){if(_.matches(b)){E=_;break}_=_.parentElement;}if((f==="banner"||f==="contentinfo")&&w.closest("article, section, aside, main, nav")||!E||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let x=typeof uniqueSel=="function"?uniqueSel(w):"",A=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};y.push({selector:x,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${f} | tag: ${w.tagName.toLowerCase()} | heading: ${A.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return y},lh={name:"nestedLandmarks",cap:30,async detect(h){return h.evaluate(GR)}};var UR=()=>{let p=[],y=x=>typeof parseCssColor=="function"?parseCssColor(x):null,v=(x,A,k)=>typeof relLuminance=="function"?relLuminance(x,A,k):0,b=(x,A)=>typeof contrastRatio=="function"?contrastRatio(x,A):1;function g(x){let A=x.parentElement,k=0;for(;A&&A!==document.documentElement&&k<6;){let S=getComputedStyle(A).backgroundColor||"",F=y(S);if(F&&F[3]>.5)return [F[0],F[1],F[2]];A=A.parentElement,k++;}return [255,255,255]}function w(x,A,k){return "#"+[x,A,k].map(S=>{let F=Math.max(0,Math.min(255,Math.round(S))).toString(16);return F.length===1?"0"+F:F}).join("")}function _(x,A,k){let F=v(A[0],A[1],A[2])>.5,I=0,q=1,H=null;for(let $=0;$<20;$++){let z=(I+q)/2,V=F?[x[0]*(1-z),x[1]*(1-z),x[2]*(1-z)]:[x[0]+(255-x[0])*z,x[1]+(255-x[1])*z,x[2]+(255-x[2])*z];b(V,A)>=k?(H=[Math.round(V[0]),Math.round(V[1]),Math.round(V[2])],q=z):I=z;}return H}let E=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let x of E){if(p.length>=30)break;if(isWidget(x)||isHiddenFromAT(x)||!isVisible(x))continue;let A=getComputedStyle(x),k=g(x),S=y(A.backgroundColor||""),F=y(A.borderTopColor||""),I=parseFloat(A.borderTopWidth||"0"),q=(A.borderTopStyle||"").toLowerCase(),H=I>0&&q!=="none"&&q!=="hidden",$=x.tagName.toLowerCase(),z=$==="input"||$==="select"||$==="textarea",V=null,ee=false,W="";if(z)if(H&&F&&F[3]>.5){let Ae=b([F[0],F[1],F[2]],k);V=Ae,Ae<3&&(ee=true);}else if(S&&S[3]>.5){let Ae=b([S[0],S[1],S[2]],k);V=Ae,Ae<3&&(ee=true);}else ee=true,V=1;else {let Ae=false,Ge=document.createTreeWalker(x,4),Re=Ge.nextNode();for(;Re;){if((Re.textContent||"").trim()&&Re.parentElement&&isVisible(Re.parentElement)){Ae=true;break}Re=Ge.nextNode();}if(Ae)continue;let Ve=x.querySelector('img, svg, picture, canvas, i[class], [class*="icon"]'),Qe=!!(Ve&&isVisible(Ve)),nt=false,wt=A.position;if((wt==="absolute"||wt==="fixed")&&x.parentElement){let ht=x.getBoundingClientRect(),Tt=x.parentElement.getBoundingClientRect(),Oe=Tt.width*Tt.height;Oe>0&&ht.width*ht.height/Oe>=.85&&(nt=true);}if(Qe||nt){if(ee=true,V=H&&F&&F[3]>.5?b([F[0],F[1],F[2]],k):1,V>=3)continue;W=Qe?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else if(H&&F&&F[3]>.5){let ht=b([F[0],F[1],F[2]],k);V=ht,ht<3&&(ee=true);}else if(S&&S[3]>.5){let ht=b([S[0],S[1],S[2]],k);V=ht,ht<3&&(ee=true);}else ee=true,V=1;}if(!ee)continue;let Y=F&&F[3]>.5?[F[0],F[1],F[2]]:S&&S[3]>.5?[S[0],S[1],S[2]]:[128,128,128],re=_(Y,k,3);if(!re)continue;let Q=w(re[0],re[1],re[2]),fe=w(k[0],k[1],k[2]),ce="border: 1px solid "+Q+" !important;",Se=uniqueSel(x),Fe=x.tagName.toLowerCase();p.push({selector:Se,attribute:"style",currentValue:V?V.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Fe+" bg="+fe+" ratio="+(V?V.toFixed(2):"?")+" needs=3",needsAI:false,...W?{needsReview:true,reviewReason:W}:{fixValue:ce},outerHtml:x.outerHTML.slice(0,200)});}return p},ch={name:"nonTextContrast",cap:30,async detect(h){return h.evaluate(UR)}};var WR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,f=document.querySelectorAll("[onfocus]");for(let b of Array.from(f)){if(y.length>=20)break;if(b.closest(h))continue;let g=b.getAttribute("onfocus")||"";if(!g||!v.test(g))continue;let w=typeof uniqueSel=="function"?uniqueSel(b):"",_=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("tag: "+b.tagName.toLowerCase()),E.push("onfocus: "+g.slice(0,100)),_.nearbyHeading&&E.push("heading: "+_.nearbyHeading),E.push("parent: "+_.parentTag),y.push({selector:w,attribute:"onfocus",currentValue:g.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:E.join(" | "),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}return y},dh={name:"onFocus",cap:20,async detect(h){return h.evaluate(WR)}};var XR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v={navigation:["nav"],main:["main"],banner:["header"],contentinfo:["footer"],complementary:["aside"],button:["button"],link:["a"],form:["form"],search:["search"],article:["article"],region:["section"],heading:["h1","h2","h3","h4","h5","h6"],list:["ul","ol"],listitem:["li"],img:["img"],table:["table"],row:["tr"],cell:["td"],columnheader:["th"]},f=document.querySelectorAll("[role]");for(let b of f){if(y.length>=50)break;if(b.closest(h))continue;let g=(b.getAttribute("role")||"").trim().toLowerCase();if(!g)continue;let w=b.tagName.toLowerCase(),_=v[g];if(!_||!_.includes(w)||g==="link"&&w==="a"&&!b.hasAttribute("href")||(g==="banner"||g==="contentinfo")&&b.closest("article, section, aside, main, nav")||(g==="region"&&w==="section"||g==="form"&&w==="form")&&!((b.getAttribute("aria-label")||"").trim()||(b.getAttribute("aria-labelledby")||"").trim()||(b.getAttribute("title")||"").trim())||g==="complementary"&&w==="aside"&&b.parentElement&&b.parentElement.closest("article, section, aside, main, nav")&&!((b.getAttribute("aria-label")||"").trim()||(b.getAttribute("aria-labelledby")||"").trim()||(b.getAttribute("title")||"").trim())||(g==="list"||g==="listitem")&&(w==="ul"||w==="ol"||w==="li")&&getComputedStyle(b).listStyleType==="none")continue;let E=uniqueSel(b);y.push({selector:E,attribute:"remove_attribute",currentValue:g,issueType:"redundant_role",wcag:"4.1.2",context:"tag: <"+w+'> already has implicit role "'+g+'"',needsAI:false,fixValue:"role"});}return y},fh={name:"redundantRoles",cap:50,async detect(h){return h.evaluate(XR)}};var YR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",v=[],f=new Set,b=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(v.length>=30||w.closest(h))return;let _=w.tagName;if(_==="BODY"||_==="HTML"||!isVisible(w)||isHiddenFromAT(w)||w.hasAttribute("tabindex"))return;let E=w.getAttribute("role");if(E&&b.has(E))return;let x=getComputedStyle(w),A=x.overflowY,k=x.overflowX,S=A==="auto"||A==="scroll",F=k==="auto"||k==="scroll";if(!S&&!F)return;let I=S&&w.scrollHeight-w.clientHeight>50,q=F&&w.scrollWidth-w.clientWidth>50;if(!I&&!q||w.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type=hidden]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').length>0)return;let $=uniqueSel(w);if(f.has($))return;f.add($);let{nearbyHeading:z}=getNearbyContext(w),V="";if(z)V=z;else {let Y=(typeof w.className=="string"?w.className:"").toLowerCase(),re=(w.id||"").toLowerCase();Y.includes("code")||Y.includes("snippet")||_==="PRE"||_==="CODE"?V="Code block":Y.includes("terms")||Y.includes("tos")||Y.includes("legal")?V="Terms and conditions":Y.includes("chat")||Y.includes("message")?V="Chat messages":Y.includes("table")||Y.includes("data")?V="Data table":re?V=re.replace(/[-_]/g," "):V="Scrollable content";}let ee=(w.outerHTML||"").slice(0,300);v.push({selector:$,attribute:"tabindex",currentValue:"",issueType:"scrollable_not_focusable",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),overflowY:S?A:void 0,overflowX:F?k:void 0,scrollHeight:w.scrollHeight,clientHeight:w.clientHeight,scrollWidth:w.scrollWidth,clientWidth:w.clientWidth,suggestion:'Add tabindex="0" so keyboard users can scroll this container'}),needsAI:false,fixValue:"0",outerHtml:ee}),E||v.push({selector:$,attribute:"role",currentValue:"",issueType:"missing_semantic_role",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),supplementary:'role="region" needed alongside tabindex="0" for screen reader announcement'}),needsAI:false,fixValue:"region",outerHtml:ee}),w.getAttribute("aria-label")||w.getAttribute("aria-labelledby")||v.push({selector:$,attribute:"aria-label",currentValue:"",issueType:"missing_landmark",wcag:"2.1.1",context:JSON.stringify({tag:_.toLowerCase(),labelHint:V,supplementary:"aria-label needed so screen readers announce the scrollable region"}),needsAI:true,outerHtml:ee});}),v},ph={name:"scrollableFocus",cap:30,async detect(h){return h.evaluate(YR)}};var KR=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",y=["fa-","fa ","fas ","far ","fab ","fal ","fad ","material-icons","material-symbols","bi-","bi ","icon-","glyphicon","icofont-","dashicons-","heroicon","feather-","lucide-"],v=[],f=document.querySelectorAll("b, i");for(let b=0;b<f.length&&!(v.length>=30);b++){let g=f[b];if(g.closest(h)||g.getAttribute("aria-hidden")==="true"||g.parentElement&&g.parentElement.closest("strong, em"))continue;let w=g.className&&typeof g.className=="string"?g.className.toLowerCase():"";if(w){let k=false;for(let S=0;S<y.length;S++)if(w.indexOf(y[S])!==-1){k=true;break}if(k)continue}let _=(g.textContent||"").trim();if(!_)continue;let E=g.tagName.toLowerCase(),x=E==="b"?"strong":"em",A=uniqueSel(g);v.push({selector:A,attribute:"tagName",currentValue:E,fixValue:x,issueType:"semantic_emphasis",wcag:"1.3.1",context:"<"+E+'> used for "'+_.slice(0,60)+'". Replace with <'+x+"> so assistive tech conveys the emphasis.",needsAI:false,outerHtml:g.outerHTML.slice(0,300)});}return v},mh={name:"semanticEmphasis",cap:30,async detect(h){return h.evaluate(KR)}};var JR=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",p=[],y=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],v=false;for(let x of y){let A=document.querySelector(x);if(A&&!A.closest(h)){v=true;break}}if(!v){let x=document.querySelectorAll('a[href^="#"]');for(let A of x){if(A.closest(h))continue;let k=(A.textContent||"").toLowerCase();if(k.includes("skip")&&(k.includes("main")||k.includes("content")||k.includes("nav"))){v=true;break}}}if(v)return p;let f="",b=document.querySelector('main[id], [role="main"][id]');if(b&&b.getAttribute("id"))f=b.getAttribute("id");else {let x=document.querySelector("h1[id]");if(x&&x.getAttribute("id"))f=x.getAttribute("id");else {let A=["main-content","maincontent","main","content","skip-content"];for(let k of A)if(document.getElementById(k)){f=k;break}}}let g=f==="",w=f||"main-content",E="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+w+'" class="wa-skip-link">Skip to main content</a>';return p.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:g?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+w,needsAI:false,fixValue:E,...g?{needsReview:true,reviewReason:'No element with a referenceable id was found for the skip-link target. Add id="main-content" to the <main> landmark (or point the link at a real anchor) before applying this fix.'}:{}}),p},hh={name:"skipLink",async detect(h){return h.evaluate(JR)}};var ZR=()=>{let y=[],v=document.querySelectorAll("*"),f=0;for(let b of Array.from(v)){if(f++>5e3||y.length>=20)break;if(b.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(b))continue;let w=getComputedStyle(b).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let _=w.match(/url\((['"]?)(.*?)\1\)/);if(!_)continue;let E=_[2];if(!E||E.startsWith("data:")&&E.length<256)continue;let x=b.getBoundingClientRect();if(x.width<32||x.height<32)continue;let A=b.tagName.toLowerCase(),k=b.getAttribute("role")||"",S=A==="a"||A==="button"||k==="button"||k==="link"||b.closest("a,button,[role=button],[role=link]")!==null,F=(b.textContent||"").trim().length>0,I=!!b.getAttribute("aria-label"),q=!!b.getAttribute("aria-labelledby"),H=!!b.getAttribute("title"),$=!!b.querySelector('img[alt]:not([alt=""])');if(I||q||H||$||F||!S)continue;let z=b.closest("a,button,[role=button],[role=link]");if(z&&z!==b){let Y=(z.textContent||"").trim(),re=z.getAttribute("aria-label")||z.getAttribute("title")||"",Q=z.getAttribute("aria-labelledby"),fe=!!z.querySelector('img[alt]:not([alt=""])');if(Y||re.trim()||Q||fe)continue}let V=E;try{V=new URL(E,location.href).toString();}catch{continue}let ee=typeof uniqueSel=="function"?uniqueSel(b):"",W=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:A,nearbyHeading:""};y.push({selector:ee,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${V.slice(0,140)} | tag: ${A} | role: ${k||"(none)"} | parent: ${W.parentTag}${W.nearbyHeading?" | heading: "+W.nearbyHeading:""}`,needsAI:true,imageSrc:V,outerHtml:(b.outerHTML||"").slice(0,300)});}return y},gh={name:"backgroundImages",cap:20,async detect(h){return h.evaluate(ZR)}},QR=()=>{let h=[],p=Array.from(document.querySelectorAll("h1")),y=p.filter(v=>{if(v.getAttribute("aria-hidden")==="true"||v.closest('[aria-hidden="true"]')||v.getClientRects().length===0)return false;let f=getComputedStyle(v).visibility;return f==="hidden"||f==="collapse"?false:(v.textContent||"").trim().length>0});if(y.length===0)h.push({selector:"body",attribute:"data-missing-h1",currentValue:"",issueType:"missing_h1",wcag:"1.3.1",context:`Page has ${p.length} <h1> element(s) total but 0 visible+non-empty`,needsAI:false,outerHtml:"<body>"});else if(y.length>1)for(let v=1;v<y.length&&v<5;v++){let f=y[v],b=typeof uniqueSel=="function"?uniqueSel(f):"";h.push({selector:b,attribute:"data-multiple-h1",currentValue:"",issueType:"multiple_h1",wcag:"1.3.1",context:`${y.length} <h1> elements on page. Text: ${JSON.stringify((f.textContent||"").slice(0,80))}`,needsAI:false,outerHtml:(f.outerHTML||"").slice(0,200)});}return h},vh={name:"h1Presence",async detect(h){return h.evaluate(QR)}},eI=()=>{let p=[],y=document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]");for(let v of Array.from(y)){if(p.length>=15)break;if(v.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(v)||(v.textContent||"").trim().length>0)continue;let b=v.getAttribute("aria-label");if(b&&b.trim()||v.getAttribute("aria-labelledby")||v.getAttribute("aria-hidden")==="true")continue;let g=typeof uniqueSel=="function"?uniqueSel(v):"";p.push({selector:g,attribute:"aria-hidden",currentValue:"",issueType:"empty_heading",wcag:"1.3.1",context:`Empty heading: ${v.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:(v.outerHTML||"").slice(0,200)});}return p},bh={cap:15,name:"emptyHeadings",async detect(h){return h.evaluate(eI)}},tI=()=>{let p=[],y=document.querySelectorAll('a[href^="javascript:"], a[href^="JAVASCRIPT:"]');for(let v of Array.from(y)){if(p.length>=15)break;if(v.closest("[class*=asw-], [class*=userway], [class*=acsb]")||typeof isVisible=="function"&&!isVisible(v))continue;let f=(v.getAttribute("role")||"").toLowerCase();if(f==="button")continue;let b=(v.textContent||"").trim();if(!b)continue;let g=typeof uniqueSel=="function"?uniqueSel(v):"";p.push({selector:g,attribute:"role",currentValue:f||"",issueType:"javascript_link",wcag:"2.1.1",context:`<a href="javascript:..."> text: ${JSON.stringify(b.slice(0,60))}`,needsAI:false,fixValue:"button",outerHtml:(v.outerHTML||"").slice(0,200)});}return p},yh={cap:15,name:"javascriptLinks",async detect(h){return h.evaluate(tI)}};var rI=()=>{let h="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",y=[];return document.querySelectorAll("svg").forEach(f=>{if(y.length>=50||f.closest(h)||!isVisible(f)||f.getAttribute("aria-hidden")==="true")return;let g=f.getAttribute("role");if(g==="presentation"||g==="none"||f.closest('[aria-hidden="true"]'))return;let w=f.getAttribute("aria-label")||"",_=f.getAttribute("aria-labelledby")||"",E=f.querySelector("title"),x=E?(E.textContent||"").trim():"";if(w.trim()||_.trim()||x)return;let A=f.getBoundingClientRect(),k=A.width<=16&&A.height<=16;if(A.width<=4||A.height<=4||f.getAttribute("preserveAspectRatio")==="none")return;let S=f.closest('a, button, [role="button"], [role="link"], [onclick]');if(S){if(S.getAttribute("aria-label")?.trim()||S.getAttribute("aria-labelledby")?.trim())return;let re=getAccessibleName(S),Q=S.cloneNode(true);Q.querySelectorAll("svg").forEach(ce=>ce.remove());let fe=(Q.textContent||"").trim().replace(/\s+/g," ");if(re&&fe.length>0)return}else {if(k)return;let re=f.parentElement;if(re&&(re.textContent||"").trim().replace(/\s+/g," ").length>3)return}let F=uniqueSel(f),I=getNearbyContext(S||f),q=S&&S.getAttribute("href")||"",H=(S||f).outerHTML.slice(0,300),$=f.getAttribute("class")||"",z=f.getAttribute("data-icon")||"",V=S||f,ee=V&&V!==f&&V.getAttribute("class")||"",W=typeof lookupIconLabel=="function"?lookupIconLabel(String($),z,"")||lookupIconLabel(String(ee),"",""):null,Y=S?uniqueSel(S):F;y.push({selector:Y,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(S||f).tagName?(S||f).tagName.toLowerCase():"svg",href:q,nearbyHeading:I.nearbyHeading,parentRole:I.parentRole,svgClasses:$,iconLib:W||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:!W,fixValue:W||void 0,outerHtml:H});}),y},wh={name:"svgNames",cap:50,async detect(h){return h.evaluate(rI)}};var aI=()=>{let y=[],v=["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(","),f=document.querySelectorAll(v),b=[];for(let g of f){if(typeof isWidget=="function"&&isWidget(g)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(g)||typeof isVisible=="function"&&!isVisible(g)||!g.offsetParent&&g.tagName!=="BODY")continue;let w=g.getBoundingClientRect();w.width===0&&w.height===0||b.push({el:g,rect:w});}for(let{el:g,rect:w}of b){if(y.length>=50)break;let _=w.width,E=w.height;if(_>=24&&E>=24)continue;let x=g.parentElement;if(x&&g.tagName==="A"){let V=x.tagName.toLowerCase();if(["p","li","td","th","dd","span","label","figcaption"].includes(V)&&Array.from(x.childNodes).some(W=>W.nodeType===3&&(W.textContent||"").trim().length>3))continue}let A=false,k=w.left+w.width/2,S=w.top+w.height/2;for(let V of b){if(V.el===g||V.el.contains(g)||g.contains(V.el))continue;if(V.rect.width<24||V.rect.height<24){let W=V.rect.left+V.rect.width/2,Y=V.rect.top+V.rect.height/2;if(Math.hypot(k-W,S-Y)<24){A=true;break}}else {let W=Math.max(V.rect.left-k,0,k-V.rect.right),Y=Math.max(V.rect.top-S,0,S-V.rect.bottom);if(Math.hypot(W,Y)<12){A=true;break}}}if(!A&&_>=1&&E>=1)continue;let I=Math.max(0,24-E),H=Math.ceil(I/2),$=[];$.push("min-width:24px"),$.push("min-height:24px"),$.push("display:inline-block"),$.push("box-sizing:border-box"),H>0&&$.push("padding-top:"+H+"px"),H>0&&$.push("padding-bottom:"+H+"px");let z=typeof uniqueSel=="function"?uniqueSel(g):g.tagName.toLowerCase();y.push({selector:z,attribute:"style",currentValue:Math.round(_)+"x"+Math.round(E)+"px",issueType:"target_too_small",wcag:"2.5.8",context:`${g.tagName.toLowerCase()} is ${Math.round(_)}x${Math.round(E)}px with adjacent targets \u2014 minimum 24x24px or sufficient spacing required`,needsAI:false,fixValue:$.join(";")+";",outerHtml:g.outerHTML.slice(0,200)});}return y},Dh={name:"targetSize",cap:50,async detect(h){return h.evaluate(aI)}};var nI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=/(line-height|letter-spacing|word-spacing)\s*:[^;!]*!important/i,f=document.querySelectorAll('[style*="important" i]');for(let b of Array.from(f)){if(y.length>=30)break;if(b.closest(h))continue;let g=b.getAttribute("style")||"";if(!v.test(g))continue;let w=[];/line-height\s*:[^;!]*!important/i.test(g)&&w.push("line-height"),/letter-spacing\s*:[^;!]*!important/i.test(g)&&w.push("letter-spacing"),/word-spacing\s*:[^;!]*!important/i.test(g)&&w.push("word-spacing");let _=typeof uniqueSel=="function"?uniqueSel(b):"",E=typeof getNearbyContext=="function"?getNearbyContext(b):{parentTag:b.tagName.toLowerCase(),nearbyHeading:""},x=[];x.push("blocked: "+w.join(",")),x.push("tag: "+b.tagName.toLowerCase()),E.nearbyHeading&&x.push("heading: "+E.nearbyHeading),x.push("parent: "+E.parentTag),y.push({selector:_,attribute:"style",currentValue:g.slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:x.join(" | "),needsAI:true,outerHtml:(b.outerHTML||"").slice(0,300)});}return y},xh={name:"textSpacing",cap:30,async detect(h){return h.evaluate(nI)}};var iI=()=>{let h="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y=[],v=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let f of v){if(y.length>=50)break;if(f.closest(h)||!isVisible(f))continue;let b=f,g=(b.getAttribute("aria-label")||"").trim(),w=b.getAttribute("aria-labelledby"),_=(b.getAttribute("title")||"").trim(),E=(b.getAttribute("value")||"").trim(),x=(b.textContent||"").trim().replace(/\s+/g," "),A="";w&&(A=typeof __resolveIdRefs=="function"?__resolveIdRefs(w):"");let k=b.querySelector('img[alt]:not([alt=""])'),S=b.querySelector("svg title"),F=b.querySelector("svg[aria-label]");if(!!(g||A||_||E||x||k||S||F))continue;let q=uniqueSel(b),H=getNearbyContext(b),$=b.closest("form"),z=$&&($.getAttribute("id")||$.getAttribute("name"))||"",V=b.className||"",ee=b.querySelector('i, svg, span[class*="icon"]'),W=ee&&ee.className||"",Y=ee&&ee.getAttribute("data-icon")||"",re=ee?(ee.textContent||"").trim():"",Q=typeof lookupIconLabel=="function"?lookupIconLabel(String(W),Y,re):null,fe=!Q&&typeof lookupIconLabel=="function"?lookupIconLabel(String(V),"",""):null,ce=Q||fe,Se=[];z&&Se.push("form: "+z),H.nearbyHeading&&Se.push("heading: "+H.nearbyHeading),W&&Se.push("icon: "+String(W).slice(0,80)),V&&Se.push("class: "+String(V).slice(0,80)),Se.push("parent: "+H.parentTag),ce&&Se.push("icon-lib: "+ce),y.push({selector:q,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:Se.join(" | "),needsAI:!ce,fixValue:ce||void 0,outerHtml:b.outerHTML.slice(0,300)});}return y},_h={name:"unlabeledButtons",cap:50,async detect(h){return h.evaluate(iI)}};var oI=()=>{let h=new Set(ALWAYS_VAGUE_WORDS),p=new Set(CONTEXT_VAGUE_WORDS),y={};function v(W,Y){if(isWidget(W)||!isVisible(W))return;let re=getAccessibleName(W);if(!re)return;let Q=(Y?"b:":"a:")+re.toLowerCase().trim();y[Q]=(y[Q]||0)+1;}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(W=>v(W,true)),document.querySelectorAll("a[href]").forEach(W=>v(W,false));let f=isIconClassToken,b=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function g(W,Y){return b.test(W)?1:Y}let w=50,_=[];function E(W){if((W.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let re=W.querySelectorAll("i, span, em");for(let Q of re)if((typeof Q.className=="string"?Q.className:"").split(/\s+/).some(f))return true;return false}function x(W){let Y=W.className||"";return typeof Y!="string"?false:Y.split(/\s+/).some(f)}function A(W,Y){if(_.length>=w||isWidget(W)||!isVisible(W))return;let re=getAccessibleName(W);if(!re)return;let Q=re.toLowerCase().trim(),fe=false,ce=re.length>=2&&/^[A-Z][A-Z0-9]+$/.test(re.trim()),Se=!Y&&/^[[(]?\d{1,4}[\])]?$/.test(re.trim());if(re.length<g(re,3)&&!ce&&!Se)fe=true;else if(h.has(Q))fe=true;else if(p.has(Q)&&(y[(Y?"b:":"a:")+Q]||0)>=2){let Ve=(W.getAttribute("aria-label")||"").trim().toLowerCase(),Qe=!!W.getAttribute("aria-labelledby")||!!Ve&&Ve!==Q,nt=W.querySelector&&W.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),wt=nt?(nt.textContent||"").trim().toLowerCase():"";!Qe&&!(nt&&wt!==Q)&&(fe=true);}else (E(W)||x(W)&&re.length===0)&&(W.getAttribute("aria-label")||W.getAttribute("aria-labelledby")||W.querySelector&&W.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(fe=true));if(!fe)return;let Fe=getNearbyContext(W),Ae=uniqueSel(W),Ge=W.getAttribute("href")||"",Re=W.outerHTML.slice(0,300);_.push({selector:Ae,attribute:"aria-label",currentValue:(W.getAttribute("aria-label")||"").trim(),message:(Y?"weak button name: ":"weak link name: ")+(W.getAttribute("aria-label")||W.getAttribute("aria-labelledby")?`"${re}" is too generic for a control \u2014 add distinguishing context`:`text "${re}" is too generic for a control \u2014 add distinguishing context`),issueType:Y?"weak_button_name":"weak_link_name",wcag:Y?"4.1.2":"2.4.4",context:JSON.stringify({currentText:re,href:Ge,nearbyHeading:Fe.nearbyHeading,parentTag:Fe.parentTag,parentRole:Fe.parentRole,cardText:Fe.cardText||"",imgAlt:Fe.imgAlt||""}),needsAI:true,outerHtml:Re});}document.querySelectorAll('button, [role="button"], input[type="button"], input[type="submit"]').forEach(W=>A(W,true)),document.querySelectorAll("a[href]").forEach(W=>A(W,false));let k=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,S=/^(iframe|embed|widget|frame|content|untitled)$/i,F=/^(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 q(W){return !!(!W||W.getAttribute("aria-hidden")==="true"||W.closest('[aria-hidden="true"]'))}function H(W,Y,re,Q,fe,ce){if(_.length>=w)return;let Se=uniqueSel(W),Fe=(W.outerHTML||"").slice(0,300);_.push({selector:Se,attribute:Y,currentValue:re,issueType:Q,wcag:fe,context:JSON.stringify(ce),needsAI:true,outerHtml:Fe});}let $=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let W=0;W<$.length&&!(_.length>=w);W++){let Y=$[W];if(!Y||isWidget(Y)||q(Y)||!isVisible(Y))continue;let re=getAccessibleName(Y);if(!re)continue;let Q=re.toLowerCase().trim(),fe=Q.split(/\s+/).filter(Boolean),ce=false;if((re.length<g(re,3)||fe.length===1&&(h.has(Q)||I.has(Q))||/^page\s*\d+$/i.test(Q)||/^section\s*\d+$/i.test(Q)||/^chapter\s*\d+$/i.test(Q)||/^[^\p{L}\p{N}]+$/u.test(re))&&(ce=true),!ce)continue;let Se=getNearbyContext(Y);H(Y,"textContent",re,"weak_heading","2.4.6",{currentText:re,tag:Y.tagName.toLowerCase(),nearbyHeading:Se.nearbyHeading,parentTag:Se.parentTag,parentRole:Se.parentRole});}let z=document.querySelectorAll("iframe");for(let W=0;W<z.length&&!(_.length>=w);W++){let Y=z[W];if(!Y||isWidget(Y)||q(Y))continue;let re=getComputedStyle(Y);if(Y.getClientRects().length===0||re.visibility==="hidden"||re.visibility==="collapse"||(Y.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let Q=(Y.getAttribute("title")||"").trim();if(!Q)continue;let fe=Q.toLowerCase(),ce=false;if((Q.length<g(Q,3)||S.test(fe)||h.has(fe))&&(ce=true),!ce)continue;let Se=(Y.getAttribute("src")||"").slice(0,120),Fe=getNearbyContext(Y);H(Y,"title",Q,"weak_iframe_title","4.1.2",{currentTitle:Q,src:Se,nearbyHeading:Fe.nearbyHeading,parentTag:Fe.parentTag});}if(_.length<w){let W=document.querySelector("head > title, title"),Y=(document.title||"").trim();if(W&&Y){let re=Y.toLowerCase(),Q=false;(Y.length<g(Y,5)||k.test(re)||/^untitled/i.test(Y))&&(Q=true),Q&&_.push({selector:"title",attribute:"textContent",currentValue:Y,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:Y,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(W.outerHTML||"").slice(0,300)});}}let V=document.querySelectorAll("svg");for(let W=0;W<V.length&&!(_.length>=w);W++){let Y=V[W];if(!Y||isWidget(Y)||q(Y)||Y.getAttribute("role")==="presentation"||Y.getAttribute("role")==="none"||!isVisible(Y))continue;let re=Y.querySelector("title"),Q=re?(re.textContent||"").trim():"",fe=(Y.getAttribute("aria-label")||"").trim(),ce=fe||Q;if(!ce)continue;let Se=ce.toLowerCase(),Fe=false;if((ce.length<g(ce,3)||h.has(Se)||/^(icon|svg|image|graphic|logo)$/i.test(ce))&&(Fe=true),!Fe)continue;let Ae=Y.closest('a, button, [role="button"], [role="link"]'),Ge=getNearbyContext(Y);H(Y,fe?"aria-label":"title",ce,"weak_svg_name","1.1.1",{currentName:ce,svgClasses:Y.getAttribute("class")||"",parentTag:Ae?Ae.tagName.toLowerCase():Ge.parentTag,parentHref:Ae&&Ae.getAttribute("href")||"",nearbyHeading:Ge.nearbyHeading});}let ee=document.querySelectorAll('a[href="#main"], a[href="#main-content"], a[href="#content"], a[href="#skip"], a[href="#maincontent"], a.skip-link, a.skip-nav, a.skip-to-content, a.skiplink, a.skip-navigation, [class*="skip-link"], [class*="skip-nav"]');for(let W=0;W<ee.length&&!(_.length>=w);W++){let Y=ee[W];if(!Y||isWidget(Y)||q(Y))continue;let re=getAccessibleName(Y);if(!re)continue;let Q=re.toLowerCase().trim(),fe=false;if((re.length<g(re,4)||F.test(Q)||Q==="skip"||Q==="skip link"||Q==="jump")&&(fe=true),!fe)continue;let ce=Y.getAttribute("href")||"";_.push({selector:uniqueSel(Y),attribute:"textContent",currentValue:re,issueType:"weak_skip_link",wcag:"2.4.1",context:JSON.stringify({currentText:re,href:ce}),needsAI:false,fixValue:"Skip to main content",outerHtml:(Y.outerHTML||"").slice(0,300)});}return _},Ah={name:"weakNames",cap:50,async detect(h){return h.evaluate(oI)}};var sI=()=>{let p=[],y=document.querySelector('meta[name="viewport"]');if(y){let f=(y.getAttribute("content")||"").trim(),b=f.toLowerCase(),g=false,w=[];(b.indexOf("user-scalable=no")>=0||b.indexOf("user-scalable=0")>=0)&&(g=true,w.push("user-scalable=no blocks pinch-zoom"));let _=b.match(/maximum-scale\s*=\s*([\d.]+)/);_&&parseFloat(_[1])<2&&(g=true,w.push("maximum-scale="+_[1]+" (<2)")),g&&p.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:f,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let v=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let f=0;f<v.length&&!(p.length>=5);f++){let b=v[f];if(b.el)try{let w=(getComputedStyle(b.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&p.push({selector:b.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+b.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return p},Eh={name:"zoomUnlock",cap:5,async detect(h){return h.evaluate(sI)}};var uI=()=>{let h=[],p=document.querySelectorAll('main *, [role="main"] *, body > div *'),y=new Set,v=Math.min(p.length,200);for(let f=0;f<v;f++){let b=p[f];if(y.has(b)||!b.offsetParent)continue;y.add(b);let g=getComputedStyle(b),w=parseInt(g.order||"0",10),_=g.position;if(w>=3){let E=b.getBoundingClientRect();if(E.width>0&&E.height>0){let x=(b.textContent?.trim().length||0)>10,A=!!b.querySelector("a, button, input, select, textarea");(x||A)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(_==="absolute"){if(!!!b.querySelector("a, button, input, select, textarea"))continue;let x=b.parentElement;if(!x||x.children.length<=2)continue;let A=b.getBoundingClientRect(),k=x.getBoundingClientRect();(A.top<k.top-100||A.left<k.left-300)&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(b):b.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${_}, displaced ${Math.round(Math.abs(A.top-k.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return h},Ch={name:"meaningfulSequence",async detect(h){return h.evaluate(uI)}};var Sh={name:"sensoryCharacteristics",async detect(h){let p=await h.evaluate(()=>{let v=[],f=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),b=Math.min(f.length,300);for(let g=0;g<b;g++){let w=f[g];if(!w.offsetParent||w.children.length>3)continue;let _=w.textContent?.trim()||"";_.length<15||_.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(_)&&v.push({text:_,selector:typeof uniqueSel=="function"?uniqueSel(w):w.tagName.toLowerCase()});}return v.slice(0,20)});if(p.length===0)return [];let y=[];for(let{text:v,selector:f}of p){v.toLowerCase();let g=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(v)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(v),w=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(v)&&!/\b(navigation|menu|header|footer|sidebar menu|breadcrumb)\b/i.test(v)&&/\b(click|tap|press|select|find)\b/i.test(v),_=/\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(v)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(v),E=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(v)&&/\b(click|tap|press|select|find)\b/i.test(v);if(g||w||_||E){let x=g?"shape":w?"position":_?"color":"size";y.push({selector:f,attribute:"data-sensory-review",currentValue:v.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${x} alone: "${v.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return y}};var lI=()=>{let h=[];for(let p of document.styleSheets)try{for(let y of p.cssRules)if(y instanceof CSSMediaRule){let v=y.conditionText||y.media?.mediaText||"";if(/orientation\s*:\s*(portrait|landscape)/i.test(v))for(let f of y.cssRules){let b=f.cssText||"";/display\s*:\s*none|visibility\s*:\s*hidden|transform\s*:\s*rotate/i.test(b)&&h.push({selector:"html",attribute:"data-orientation-lock",currentValue:v,issueType:"orientation_lock",wcag:"1.3.4",context:`CSS media query "${v}" hides or rotates content. Content must not be restricted to a single orientation.`,needsAI:!1,fixValue:"Remove orientation-dependent display:none/visibility:hidden rules"});}}}catch{}return h},kh={name:"orientation",async detect(h){return h.evaluate(lI)}};var cI=()=>{let h=[],p=document.querySelectorAll("img");for(let y of p){if(!y.offsetParent||y.width<50||y.height<20||y.complete&&y.naturalWidth===0)continue;let v=y.src||y.getAttribute("data-src")||"",f=v.indexOf(","),b=(v.toLowerCase().startsWith("data:")&&f!==-1?v.slice(0,f):v).toLowerCase(),g=y.getAttribute("alt")||"",w=y.getAttribute("role")||"";if(y.getAttribute("aria-hidden")==="true"||!!y.closest('[aria-hidden="true"]')||w==="presentation"||w==="none"||y.hasAttribute("alt")&&g.trim()==="")continue;let E=y.width>200&&y.height<80&&y.height>15,x=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(b);if(!(x||E)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(b)&&!x)continue;let k=y.closest("a[href]");if((()=>{if(!k)return false;let V=k.getAttribute("href")||"";if(V==="/"||V==="")return true;try{let ee=new URL(k.href,location.href);return ee.origin!==location.origin?!1:!!(ee.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(ee.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(ee.pathname))}catch{return false}})()&&(k.textContent||"").trim().length===0)continue;let I=!!y.closest('header, [role="banner"], footer, [role="contentinfo"]'),q=y.height>0&&y.height<=120,H=I&&q,$=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,z=H||$.test(b)||$.test(y.className)||$.test(y.id||"");b.includes("icon")||b.includes("avatar")||b.includes("emoji")||h.push({selector:typeof uniqueSel=="function"?uniqueSel(y):"img",attribute:"data-image-of-text",currentValue:b.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${y.width}x${y.height}px, alt="${g.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:y.src,...z?{needsReview:true,reviewReason:H?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return h},Th={name:"imagesOfText",async detect(h){return h.evaluate(cI)}};var Fh={name:"reflow",async detect(h){let p=h;if(!p.setViewport)return [];let y=p.viewport?.()??{width:1280,height:720},v=y.width??1280,f=y.height??720;try{return await p.setViewport({width:320,height:f}),await new Promise(g=>setTimeout(g,500)),await h.evaluate(g=>{let w=[],_=document.querySelectorAll("body *"),E=Math.min(_.length,500);for(let x=0;x<E;x++){let A=_[x];if(!A.offsetParent)continue;let k=A.tagName.toLowerCase();if(k==="script"||k==="style"||k==="noscript")continue;let S=A.getBoundingClientRect();S.right>g+5&&S.width>g*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(A):k,attribute:"style",currentValue:`${Math.round(S.width)}px wide at ${g}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(S.width)}px wide and overflows the ${g}px viewport by ${Math.round(S.right-g)}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>g+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${g}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${g}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),w},320)}finally{await p.setViewport({width:v,height:f}).catch(()=>{});}}};var dI=()=>{let h=[],p=document.querySelectorAll("video");for(let f of p){if(f.autoplay&&!f.muted&&h.push({selector:typeof uniqueSel=="function"?uniqueSel(f):"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"}),!(f.offsetParent!==null&&getComputedStyle(f).display!=="none"))continue;let g=f.getBoundingClientRect();if(g.width===0&&g.height===0||f.error||f.muted&&f.autoplay&&f.loop&&!f.hasAttribute("controls"))continue;let w=f.querySelectorAll("track"),_=Array.from(w).find(k=>k.kind==="captions"||k.kind==="subtitles"),E=Array.from(w).find(k=>k.kind==="descriptions");f.src||f.querySelector("source")?.src||"";let A=typeof uniqueSel=="function"?uniqueSel(f):"video";_||h.push({selector:A,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:'Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Add: <track kind="captions" src="captions.vtt" srclang="en" label="English">',needsAI:false,fixValue:'Add <track kind="captions" src="captions.vtt" srclang="en" label="English" default>',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),E||h.push({selector:A,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true});}let y=document.querySelectorAll("audio");for(let f of y){let b=typeof uniqueSel=="function"?uniqueSel(f):"audio";f.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||h.push({selector:b,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}),f.autoplay&&!f.muted&&h.push({selector:b,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}let v=document.querySelectorAll("iframe");for(let f of v){let b=(f.src||"").toLowerCase();if(!b.includes("youtube")&&!b.includes("vimeo")&&!b.includes("dailymotion")&&!b.includes("wistia")||!f.offsetParent||getComputedStyle(f).display==="none")continue;let g=f.getBoundingClientRect();if(g.width===0&&g.height===0)continue;let w=typeof uniqueSel=="function"?uniqueSel(f):"iframe";f.closest("figure, div, section, article")?.querySelector('a[href*="transcript"], [class*="transcript"], [id*="transcript"]')||h.push({selector:w,attribute:"data-video-transcript",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:`Embedded video player detected (${b.split("/").slice(0,4).join("/")}). Verify captions are enabled in the player settings. Provide a transcript link near the video for users who can't access the player.`,needsAI:true});}return h},Rh={name:"mediaAlternatives",cap:50,async detect(h){return (await h.evaluate(dI)).slice(0,50)}};var fI=()=>{let h=[],p=document.querySelector('meta[http-equiv="refresh"]');if(p){let _=p.getAttribute("content")||"",E=parseInt(_,10);!isNaN(E)&&E>0&&E<72e3&&h.push({selector:`meta[http-equiv="refresh"][content*="${_.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:_,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${E}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,needsReview:true,reviewReason:`Auto-refresh via <meta http-equiv="refresh"> is not mechanically auto-fixable. Remove the meta tag, or replace it with an on-page control that lets users turn off, adjust, or extend the ${E}s time limit before it triggers.`});}let y=document.querySelectorAll("[accesskey]");for(let _ of y){let E=_.getAttribute("accesskey")||"";if(E.length===1){let x=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();h.push({selector:x,attribute:"accesskey",currentValue:E,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${E}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let v=document.querySelectorAll("select");for(let _ of v){let E=_.hasAttribute("onchange"),x=_.getAttribute("onchange")||"";if(E&&/submit|location|href|navigate|window\./i.test(x)){let A=typeof uniqueSel=="function"?uniqueSel(_):"select";h.push({selector:A,attribute:"onchange",currentValue:x.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let f=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let _ of f)if(!(_.hasAttribute("onclick")||_.hasAttribute("onkeydown")||_.hasAttribute("onkeyup"))){let x=typeof uniqueSel=="function"?uniqueSel(_):_.tagName.toLowerCase();h.push({selector:x,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let b=document.querySelectorAll("[onmousedown]");for(let _ of b){let E=_.hasAttribute("onmouseup"),x=_.tagName.toLowerCase();if(!E&&x!=="a"&&x!=="button"&&x!=="input"){let A=typeof uniqueSel=="function"?uniqueSel(_):x;h.push({selector:A,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let g=document.querySelectorAll("script:not([src])");for(let _ of g){let E=_.textContent||"";if(/devicemotion|deviceorientation|accelerometer|gyroscope/i.test(E)){h.push({selector:"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let w=document.querySelectorAll("form");for(let _ of w){let E=(_.textContent||"").toLowerCase(),x=/payment|credit card|billing|purchase|order|subscribe|checkout|bank|account number/i.test(E),A=/agree|terms|contract|binding|signature|consent|waiver/i.test(E),k=/delete.*account|remove.*data|unsubscribe|cancel.*account/i.test(E);if(x||A||k){let S=!!_.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),F=!!_.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(!S&&!F){let I=typeof uniqueSel=="function"?uniqueSel(_):"form",q=x?"financial":A?"legal":"data-deletion";h.push({selector:I,attribute:"data-error-prevention",currentValue:q,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${q.charAt(0).toUpperCase()+q.slice(1)} form lacks a confirmation/review step. For ${q} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true});}}}return h},Ih={name:"timingAndInput",async detect(h){return h.evaluate(fI)}};var pI=()=>{let h=[],p=!!document.querySelector('nav, [role="navigation"]'),y=!!document.querySelector('input[type="search"], [role="search"], form[action*="search"], input[name="s"], input[name="q"], input[placeholder*="search" i]'),v=!!document.querySelector('a[href*="sitemap"], a[href*="site-map"]'),f=!!document.querySelector('[class*="breadcrumb" i], [role="breadcrumb"], nav[aria-label*="breadcrumb" i], ol[class*="breadcrumb" i]'),b=!!document.querySelector('[class*="table-of-contents" i], [class*="toc" i], [id*="toc"]'),g=[p,y,v,f,b].filter(Boolean).length;if(g<2&&document.querySelectorAll("a[href]").length>20){let x=[];y||x.push("search"),v||x.push("sitemap link"),f||x.push("breadcrumbs"),h.push({selector:"body",attribute:"data-multiple-ways",currentValue:`${g} navigation method(s)`,issueType:"insufficient_navigation",wcag:"2.4.5",context:`Page has ${g} way(s) to navigate. WCAG requires multiple ways to locate pages (e.g., navigation + search, or navigation + sitemap). Consider adding: ${x.join(", ")}.`,needsAI:false,fixValue:`Add ${x[0]||"additional navigation method"}`});}let w=document.querySelectorAll('nav, [role="navigation"]');for(let x of w){if(!x.offsetParent||x.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||x.parentElement?.closest('nav, [role="navigation"]'))continue;let A=x.getBoundingClientRect();if(A.top<=window.innerHeight)continue;let k=typeof uniqueSel=="function"?uniqueSel(x):"nav";h.push({selector:k,attribute:"data-nav-position",currentValue:`top: ${Math.round(A.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let _=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let x of _){if(!x.offsetParent)continue;let A=typeof uniqueSel=="function"?uniqueSel(x):x.tagName.toLowerCase();h.push({selector:A,attribute:"data-flashing",currentValue:x.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let E=document.querySelectorAll('img[src*=".gif"]');for(let x of E){if(!x.offsetParent||x.width<25||x.height<25)continue;let A=x.getBoundingClientRect();if(A.width>100&&A.height>100){let k=typeof uniqueSel=="function"?uniqueSel(x):"img";h.push({selector:k,attribute:"data-animated-gif",currentValue:(x.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return h},Lh={name:"navigationAndWayfinding",async detect(h){return h.evaluate(pI)}};var Ph={name:"flashDetection",async detect(h){let p=[];if(!h.screenshot)return p;let v=await h.evaluate(()=>{let x=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(x){let A=document.querySelectorAll("*");for(let k of A)k.style.removeProperty("animation-play-state"),k.style.removeProperty("transition");}return x}),f=8,b=120,g=9,w=3,_=[];for(let E=0;E<f;E++){let x=await h.evaluate(A=>{let k=window.innerWidth,S=window.innerHeight,F=3,I=3,q=[];for(let H=0;H<I;H++)for(let $=0;$<F;$++){let z=Math.floor(($+.5)*(k/F)),V=Math.floor((H+.5)*(S/I)),ee=document.elementFromPoint(z,V);if(!ee){q.push(0);continue}let Y=getComputedStyle(ee).backgroundColor||"rgba(0,0,0,0)",re=typeof parseCssColor=="function"?parseCssColor(Y):null;if(!re){q.push(0);continue}let Q=.2126*re[0]+.7152*re[1]+.0722*re[2];q.push(Q);}return q},g);_.push(x),E<f-1&&await new Promise(A=>setTimeout(A,b));}v&&await h.evaluate(()=>{let E=document.querySelectorAll("*");for(let x of E)x.style.setProperty("animation-play-state","paused","important"),x.style.setProperty("transition","none","important");});for(let E=0;E<g;E++){let x=0,A=_[0][E],k=null;for(let I=1;I<f;I++){let q=_[I][E];if(Math.abs(q-A)>25){let $=q>A?"up":"down";k&&$!==k&&x++,k=$;}A=q;}let S=f*b/1e3,F=x/S;if(F>=w){let I=E%3,q=Math.floor(E/3);p.push({selector:"body",attribute:"data-flash-detected",currentValue:`${F.toFixed(1)} flashes/sec in region (${I},${q})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${F.toFixed(1)} times/second in screen region (row ${q}, col ${I}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return p}};var Oh={name:"reducedMotion",async detect(h){let p=[],y=await h.evaluate(()=>{let v=false,f=false;for(let g of document.styleSheets)try{for(let w of g.cssRules){let _=w.cssText||"";/animation|transition|@keyframes/i.test(_)&&!/prefers-reduced-motion/.test(_)&&(v=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(f=!0);}}catch{}let b=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return b.length>0&&(v=true),{hasAnimations:v,hasReducedMotionQuery:f,animatedCount:b.length}});return y.hasAnimations&&!y.hasReducedMotionQuery&&p.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${y.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),p}};var TI=[Ah,sh,U1,wh,T1,k1,eh,Y1,W1,X1,Dh,M1,ch,V1,_h,oh,j1,B1,hh,F1,ih,K1,fh,H1,q1,rh,G1,nh,J1,Z1,Eh,I1,th,mh,L1,P1,Q1,dh,xh,lh,O1,uh,N1,gh,vh,bh,yh,R1,ah,ph,Ch,Sh,kh,Th,Fh,Rh,Ih,Lh,Ph,Oh];async function jh(h,p,y,v){let f=p??[];try{let{UNIQUE_SELECTOR_JS:k,IS_VISIBLE_JS:S,ACCESSIBLE_NAME_JS:F,WIDGET_SKIP_JS:I,IS_HIDDEN_FROM_AT_JS:q,IS_TRACKING_PIXEL_JS:H,NEARBY_CONTEXT_JS:$}=await Promise.resolve().then(()=>(Uu(),Gu)),{ICON_LABELS_JS:z}=await Promise.resolve().then(()=>(Nh(),Mh)),{COLOR_MATH_JS:V}=await Promise.resolve().then(()=>(Bh(),qh)),W=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
|
|
381
|
+
`+[k,S,F,I,q,H,$,z,V].join(`
|
|
382
|
+
`);try{await h.addScriptTag({content:W});}catch{await h.evaluate(`(0,eval)(${JSON.stringify(W)})`);}}catch(k){console.warn("[webability] helper injection failed:",k.message),(y??[]).push("color:kernel-injection-failed");}let b=[];try{let{detectPlatform:k,applyPlatformTemplates:S}=await Promise.resolve().then(()=>(Vh(),Hh)),F=await k(h);b=await S(h,F);}catch{}let g=await Promise.allSettled(TI.map(async k=>{try{let S=await k.detect(h);return k.cap&&S.length>=k.cap&&f.push({detector:k.name,cap:k.cap}),S}catch{return []}})),w=[];for(let k of [z1,$1])try{let S=await k.detect(h);k.cap&&S.length>=k.cap&&f.push({detector:k.name,cap:k.cap}),w=w.concat(S);}catch{}let _=[...g.flatMap(k=>k.status==="fulfilled"?k.value:[]),...w],E=[...b,..._],x=FI(E),A=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return x.filter(k=>{let S=k.selector.toLowerCase();return S.trim()?!A.some(F=>S.includes(F)):false})}function FI(h){let p=new Set;return h.filter(y=>{let v=`${y.selector}::${y.issueType}`;return p.has(v)?false:(p.add(v),true)})}var $h="1.4.0";async function Uh(h,p){try{let{AxeBuilder:y}=await import('@axe-core/playwright');return await new y({page:h}).withTags(p).analyze()}catch{return RI(h,p)}}async function RI(h,p){let y=await Promise.resolve().then(()=>cR(Gh())),v=y.source??y.default?.source;if(!v)throw new Error("axe-core source unavailable");return await h.addScriptTag({content:v}),await h.evaluate(b=>new Promise((g,w)=>{let _=window;if(!_.axe)return w(new Error("axe-core not loaded"));_.axe.run(document,{runOnly:{type:"tag",values:b},resultTypes:["violations","incomplete"]}).then(g).catch(w);}),p)}function II(h){if(h.confidence==="needs_review")return {...h,confidence:"needs_review"};let p=LI(h);return p?{...h,confidence:"needs_review",reviewReason:p}:{...h,confidence:"high"}}function Xh(h){let p=[],y=[];for(let v of h){let f=II(v);f.confidence==="needs_review"?y.push(f):p.push(f);}return {highConfidence:p,needsReview:y}}function LI(h){let p=(h.type||"").toLowerCase(),y=h.wcag||"",v=h.html||"",f=(h.message||"").toLowerCase();if((p==="contrast_insufficient"||p==="color-contrast"||y==="1.4.3"||y==="1.4.11")&&PI(v))return "background uses gradient or image \u2014 contrast cannot be reliably computed";if(p==="image_of_text"||y==="1.4.5"){let b=Wh(v,"src").toLowerCase();b.startsWith("data:")&&(b=b.split(",")[0]);let g=Wh(v,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(b))return "filename pattern suggests marketing/brand imagery, exempt under WCAG 1.4.5";if(g.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(g))return "alt text suggests branded imagery, exempt under WCAG 1.4.5"}return (p==="inconsistent_navigation"||f.includes("inconsistent navigation"))&&(/<footer/i.test(v)||/<aside/i.test(v))?"nav lives inside footer/aside \u2014 position variance is expected":""}function PI(h){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(h)}function Wh(h,p){let y=new RegExp(`\\b${p}\\s*=\\s*"([^"]*)"`,"i"),v=h.match(y);return v?v[1]:""}function Jh(){let h=f=>{let b=f.getBoundingClientRect();if(b.width===0||b.height===0)return false;let g=window.getComputedStyle(f);return g.visibility!=="hidden"&&g.display!=="none"&&g.opacity!=="0"},p=Array.from(document.querySelectorAll('input[type="password"]')),y=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(h).map(f=>(f.value||f.textContent||"").trim().toLowerCase()).filter(f=>f.length>0&&f.length<40),v=Array.from(document.querySelectorAll("button, a")).filter(h).filter(f=>/sign in with|continue with|log in with/i.test(f.textContent||"")).length;return {passwordFields:p.length,visiblePasswordFields:p.filter(h).length,submitLabels:y,oauthButtons:v,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var OI=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,MI=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Yh(h){try{let p=new URL(h).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(p)}catch{return false}}function Zh(h,p,y){if(Yh(p))return null;let v=Kh(p)!==Kh(y),f=h.submitLabels.some(A=>OI.test(A)),b=MI.test(h.headingText),g=Yh(y),w=[];g&&w.push("url"),f&&w.push("submit"),b&&w.push("heading"),v&&w.push("redirected");let _=h.visiblePasswordFields>0,E=h.oauthButtons>0&&h.bodyTextLength<600&&h.formCount<=1;if(!_&&!E||w.length<2)return null;let x=`${_?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${y}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:x,finalUrl:y}}function Kh(h){try{let p=new URL(h);return `${p.origin}${p.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return h.toLowerCase()}}var Xu=["wcag2a","wcag2aa","wcag21aa","wcag22aa"],NI={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.3.1":"A","3.3.2":"A","4.1.1":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA"};function qI(h){return NI[h]??"AA"}var BI=new Set(["new_window_link","external_link_warning","download_link_warning"]);function Qh(h){let p=BI.has(h.issueType)?"minor":h.needsAI?"serious":"moderate",y=h.attribute==="style",v=h.attribute.startsWith("data-"),f=y&&h.fixValue?HI(h.fixValue):h.fixValue;return {id:`wa-${h.issueType}-${Rn(h.selector)}`,source:"webability",type:h.issueType,wcag:h.wcag,level:qI(h.wcag),impact:p,message:VI(h,f,v),selector:h.selector,html:h.outerHtml,...h.needsReview?{confidence:"needs_review"}:{},...h.reviewReason?{reviewReason:h.reviewReason}:{},fix:{attribute:h.attribute,currentValue:h.currentValue,suggestedValue:f,needsManualReview:h.needsAI||y||v||!!h.needsReview}}}function HI(h){let p=h.trim();if(!p)return "";let y=p.endsWith(";"),f=p.split(";").map(b=>{let w=b.toLowerCase().lastIndexOf("!important");return w===-1?b.trim():b.slice(0,w).trim()}).filter(b=>b.length>0);return f.length===0?"":f.join(";")+(y?";":"")}function VI(h,p,y){if(h.message)return h.message;let v=h.issueType.replace(/_/g," "),f=p??h.fixValue;return y?f?`${v}: ${f}`:h.currentValue?`${v}: ${h.currentValue}`:`${v}: flagged for manual review`:f?`${v}: set ${h.attribute}="${f}"`:h.currentValue?`${v}: ${h.attribute} is "${h.currentValue}"`:`${v}: missing ${h.attribute}`}function Fn(h){return Array.isArray(h)?h.flat(1/0).filter(y=>typeof y=="string").join(" >>> "):typeof h=="string"?h:""}function Rn(h){let p=0;for(let y=0;y<h.length;y++)p=(p<<5)-p+h.charCodeAt(y)|0;return Math.abs(p).toString(36)}function Yu(h){return h==="critical"||h==="serious"||h==="moderate"||h==="minor"?h:"moderate"}function Ku(h,p){return {total:h.length,critical:h.filter(y=>y.impact==="critical").length,serious:h.filter(y=>y.impact==="serious").length,moderate:h.filter(y=>y.impact==="moderate").length,minor:h.filter(y=>y.impact==="minor").length,incomplete:p.length}}function Ju(h){let p=h.find(v=>/^wcag\d{3,4}$/.test(v));if(!p)return "";let y=p.replace("wcag","");return y.length===3?`${y[0]}.${y[1]}.${y[2]}`:y.length===4?`${y[0]}.${y[1]}.${y.slice(2)}`:""}function Zu(h){return h.includes("wcag2aaa")?"AAA":h.includes("wcag2aa")||h.includes("wcag21aa")||h.includes("wcag22aa")?"AA":"A"}async function tL(h){try{return await h.evaluate(()=>{let p=(document.title||"").toLowerCase(),y=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[b,g]of y)if(p.includes(b))return {vendor:g,signal:`title:"${document.title}"`,needsCorroboration:!1};let v=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[b,g]of v)if(document.querySelector(b))return {vendor:g,signal:`marker:${b}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let f=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[b,g]of f)if(p.includes(b))return {vendor:g,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function rL(h){try{return await h.evaluate(()=>{let p=document.querySelectorAll("body *").length;if(p>250)return null;let y=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let f of y)try{if(document.querySelector(f))return {signal:`marker:${f}`,elements:p}}catch{}let v=(document.title||"").toLowerCase();return v.includes("captcha")||v.includes("security check")||v.includes("bot verification")?{signal:`title:"${document.title}"`,elements:p}:null})}catch{return null}}async function aL(h,p){let y=await tL(h),v=typeof p=="number"&&p>=400,f=y&&(!y.needsCorroboration||v)?y:null;if(!f&&!v)return null;let b=[];return f&&b.push(`served a ${f.vendor} bot-challenge / interstitial page`),v&&b.push(`main document returned HTTP ${p}`),{reason:`Scan did not reach the real page \u2014 the target ${b.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...f?{vendor:f.vendor}:{},...typeof p=="number"?{status:p}:{},...f?{signal:f.signal}:v?{signal:`status:${p}`}:{}}}async function In(h,p){let y=typeof h=="string",v={wcagTags:Xu,includeAxe:true,deep:false,dismissModals:y,...p},f,b,g,w;if(y){g=h.startsWith("http")?h:`https://${h}`;let _=typeof v.viewport=="string"?po[v.viewport]??po.desktop:v.viewport??po.desktop;b=await(await import('playwright')).chromium.launch({headless:v.browser?.headless??true}),f=await(await b.newContext({viewport:_})).newPage();let A=await f.goto(g,{waitUntil:"domcontentloaded",timeout:v.browser?.timeout??3e4});w=typeof A?.status=="function"?A.status():void 0;}else f=h,g=f.url(),w=v.mainStatus;if(v.dismissModals)try{let{dismissModals:_}=await Promise.resolve().then(()=>(tg(),eg));await _(f);}catch{}if(v.settle!==false)try{let{waitForRenderSettle:_}=await Promise.resolve().then(()=>(ho(),mo));await _(f,typeof v.settle=="number"?v.settle:void 0);}catch{}try{try{let z=await f.evaluate(Jh),V=Zh(z,g,typeof f.url=="function"?f.url():g);if(V)return {url:g,timestamp:new Date().toISOString(),blocked:{reason:V.reason,signal:`auth-wall:${V.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let _=await aL(f,w);if(_)return {url:g,timestamp:new Date().toISOString(),blocked:_,issues:[],incomplete:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let E=[],x=[],A=[],k=await rL(f);k&&A.push(`challenge:suspected-interstitial (${k.signal}; ${k.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`);let S=await jh(f,x,A);if(E.push(...S.map(Qh)),v.includeAxe)try{let z=await Uh(f,v.wcagTags??Xu);for(let V of z.violations)for(let ee of V.nodes)E.push({id:`axe-${V.id}-${Rn(Fn(ee.target))}`,source:"axe-core",type:V.id,wcag:Ju(V.tags),level:Zu(V.tags),impact:Yu(V.impact),message:V.help,selector:Fn(ee.target),html:ee.html?.slice(0,300)});for(let V of z.incomplete??[])for(let ee of V.nodes)E.push({id:`axe-incomplete-${V.id}-${Rn(Fn(ee.target))}`,source:"axe-core",type:V.id,wcag:Ju(V.tags),level:Zu(V.tags),impact:Yu(V.impact),message:V.help,selector:Fn(ee.target),html:ee.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}catch{}try{let{runHtmlcs:z}=await Promise.resolve().then(()=>(sg(),og)),V=await z(f);E.push(...V);}catch{}let{deduplicateIssues:F}=await Promise.resolve().then(()=>(el(),Qu)),I=F(E);try{let{pruneInvisibleContrast:z}=await Promise.resolve().then(()=>(ho(),mo));I=await z(f,I);}catch{}try{let{pruneHiddenIframeIssues:z}=await Promise.resolve().then(()=>(ho(),mo));I=await z(f,I);}catch{}try{let{dedupeByElementIdentity:z}=await Promise.resolve().then(()=>(el(),Qu));I=await z(f,I);}catch{}if(v.deep&&v.deepApiKey)try{let z=await nL(g,I,v);I.push(...z);}catch{}if(v.rootSelector)try{let{scopeIssuesToRoot:z}=await Promise.resolve().then(()=>(lg(),ug)),V=await z(f,I,v.rootSelector);I=V.issues,V.warning&&A.push(V.warning);}catch{}let{highConfidence:q,needsReview:H}=Xh(I),$={url:g,timestamp:new Date().toISOString(),engine:$h,issues:q,incomplete:H,...x.length?{truncated:x}:{},...A.length?{engineWarnings:A}:{},summary:Ku(q,H)};if(v.review!==!1&&v.deepApiKey)try{$=await iL($,v);}catch{}return $}finally{b&&await b.close();}}async function nL(h,p,y){let v=y.deepApiUrl||"https://api.webability.io",f=await fetch(`${v}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${y.deepApiKey}`},body:JSON.stringify({url:h,standardIssues:p.slice(0,30).map(({source:g,...w})=>w)})});return f.ok?((await f.json()).issues??[]).map((g,w)=>({id:`deep-${w}-${Rn(g.selector||g.element||"")}`,source:"deep-analysis",type:`wcag-${g.wcag}`,wcag:g.wcag,level:"AA",impact:g.severity==="High"?"critical":g.severity==="Medium"?"serious":"moderate",message:g.message,selector:g.selector||g.element||""})):[]}function cg(h){let p=h.fix?.attribute??"";return !!h.fix?.needsManualReview&&p!=="style"&&!p.startsWith("data-")}async function iL(h,p){let y=p.deepApiUrl||"https://api.webability.io",v=h.issues.filter(cg);if(v.length===0)return h;try{let f=await fetch(`${y}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${p.deepApiKey}`},body:JSON.stringify({url:h.url,issues:v.slice(0,30).map(({source:_,...E})=>E)})});if(!f.ok)return h;let b=await f.json();if(!b.confirmed_ids)return h;let g=new Set(b.confirmed_ids),w=h.issues.filter(_=>!cg(_)||g.has(_.id));return {...h,issues:w,summary:Ku(w,h.incomplete)}}catch{return h}}function fg(h){return {...h,issues:h.issues.map(({source:p,...y})=>y)}}async function oL(h,p){return fg(await In(h,{...p,dismissModals:false}))}var dg=class{page;options;snapshots=[];observer=false;constructor(p,y){this.page=p,this.options=y??{};}async analyze(p){return oL(this.page,{...this.options,...p})}async start(p){this.snapshots=[],this.observer=true;let y={...this.options,...p},v=await In(this.page,{...y,dismissModals:false});this.snapshots.push(v),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let f=await In(this.page,{...y,dismissModals:!1});this.snapshots.push(f);}catch{}}),await this.page.evaluate(()=>{let f=new MutationObserver(()=>{window.__webabilityOnMutation?.();});f.observe(document.body,{childList:true,subtree:true}),window.__webabilityObserver=f;});}async stop(){this.observer=false,await this.page.evaluate(()=>{window.__webabilityObserver?.disconnect();}).catch(()=>{});let p=await In(this.page,{...this.options,dismissModals:false});this.snapshots.push(p);let y=new Map;for(let b of this.snapshots)for(let g of b.issues)y.set(g.id,g);let v=Array.from(y.values()),f={url:p.url,timestamp:p.timestamp,issues:v,incomplete:[],summary:{total:v.length,critical:v.filter(b=>b.impact==="critical").length,serious:v.filter(b=>b.impact==="serious").length,moderate:v.filter(b=>b.impact==="moderate").length,minor:v.filter(b=>b.impact==="minor").length,incomplete:0}};return this.snapshots=[],fg(f)}};/*! Bundled license information:
|
|
383
|
+
|
|
384
|
+
axe-core/axe.js:
|
|
385
|
+
(*! axe v4.11.3
|
|
386
|
+
* Copyright (c) 2015 - 2026 Deque Systems, Inc.
|
|
387
|
+
*
|
|
388
|
+
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
389
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
390
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
391
|
+
*
|
|
392
|
+
* This entire copyright notice must appear in every copy of this file you
|
|
393
|
+
* distribute or in any file that contains substantial portions of this source
|
|
394
|
+
* code.
|
|
395
|
+
*)
|
|
396
|
+
*/exports.WebAbility=dg;exports.a11yCheck=oL;
|