axe-mcp-server 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see content.bundle.js.LICENSE.txt */
2
- (()=>{var e={7451(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/autocomplete-correct",impact:"serious",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","advanced","non-deterministic","AI"],metadata:{description:"Ensure form fields have appropriate autocomplete attributes for their purpose",help:"Form fields must have correct autocomplete values"},seedRules:["recorder/form-structure"],requiredInput:["screenshot"],any:["advanced/autocomplete-correct"]}},2131(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/css-focus-visible",impact:"serious",tags:["cat.keyboard","wcag2aa","wcag247","TTv5","TT4.d","EN-301-549","EN-9.2.4.7","RGAAv4","RGAA-10.7.1","advanced"],metadata:{description:"Ensure links, buttons and other controls do not have their focus hidden with CSS",help:"Controls must have visible focus"},seedRules:["recorder/css-focus-visible"],any:["advanced/css-focus-visible"]}},5699(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/heading-markup",impact:"serious",tags:["cat.semantics","wcag2aa","wcag131","TTv5","TT13.c","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","advanced","non-deterministic","AI"],metadata:{description:"Ensure each heading is marked up as a heading element or with a heading role",help:"Headings must use heading markup"},seedRules:["recorder/screenshot-features"],requiredInput:["screenshot","screenshotFeatures"],any:["advanced/heading-markup"]}},2820(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/image-decorative",impact:"moderate",tags:["cat.text-alternatives","wcag2a","wcag111","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.2.1","advanced","non-deterministic","work-in-progress","AI"],metadata:{description:"Ensure decorative images are ignored by screen readers",help:"Decorative images must be hidden from screen readers"},seedRules:["recorder/image-description"],requiredInput:["screenshot"],requiredPerElementInput:["imageDescriptions"],any:["advanced/image-decorative"]}},5003(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/image-informative-has-alt",impact:"critical",tags:["cat.text-alternatives","wcag2a","wcag111","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.1","advanced","non-deterministic","AI"],metadata:{description:"Ensure informative images have accessible names",help:"Informative images must have accessible names"},seedRules:["recorder/image-description"],requiredInput:["screenshot"],requiredPerElementInput:["imageDescriptions"],any:["advanced/image-informative-has-alt"]}},8822(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/text-contrast",impact:"serious",tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","RGAAv4","RGAA-3.2.1","ACT","advanced","non-deterministic"],metadata:{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",help:"Text must have sufficient color contrast"},seedRules:["recorder/text-contrast"],requiredInput:["screenshot"],any:["advanced/text-contrast"]}},6741(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/visual-role-mismatch",impact:"serious",tags:["cat.semantics","wcag2aa","wcag131","TTv5","TT13.c","EN-301-549","EN-9.1.3.1","advanced","non-deterministic","work-in-progress","AI"],metadata:{description:"Ensures the visual appearance of controls matches their ARIA roles",help:"ARIA roles must match visual appearance"},seedRules:["recorder/screenshot-features"],requiredInput:["screenshot","screenshotFeatures"],any:["advanced/visual-role-mismatch"]}},8260(e,t,n){"use strict";var r=n.cw(function(e,t){t.addEventNS=t.k=void 0;const n=Pr();t.k=`recorder:${n.version}`;t.addEventNS=e=>`${t.k}:${e}`}),o=n.cw(function(e,t){t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error(t)}}),i=n.cw(function(e,t){t.cache=void 0;const n=o(),r=c();class i{#e=new Map;#t=new Map;set(e,t){this.#e.set(e,t)}get(e,t){if(function(e){(0,n.assert)("function"==typeof e||void 0===e,"creator must be a function or undefined, "+typeof e+" given")}(t),this.#e.has(e))return this.#e.get(e);if("function"!=typeof t)return;const r=t();return(0,n.assert)(void 0!==r,"Cache creator function should not return undefined"),this.#e.set(e,r),r}has(e){return this.#e.has(e)}async getAsync(e,t){const n=this.get(e);if(n?.resolved&&!n.error)return n.result;if(n?.error)throw n.error;if(!1===n?.resolved)return new Promise((e,t)=>n.promises?.push([e,t]));this.set(e,{resolved:!1,promises:[],result:void 0,error:null});try{let n;n="symbol"==typeof e&&e.description?await r.perf.run(e.description,t):await t();const o=this.get(e);return this.set(e,{resolved:!0,result:n,error:null,promises:void 0}),o?.promises?.forEach(([e])=>e(n)),n}catch(t){const n=this.get(e);throw this.set(e,{resolved:!0,result:void 0,error:t,promises:void 0}),n?.promises?.forEach(([,e])=>e(t)),t}}clear(){this.#e.clear(),this.#t.forEach(e=>e.clear())}child(e){if(function(e){(0,n.assert)("symbol"==typeof e,"key must be a symbol, "+typeof e+" given")}(e),this.#t.has(e))return this.#t.get(e);const t=new i;return this.#t.set(e,t),t}}t.cache=new i}),s=n.cw(function(e,t){t.createLazyProxy=void 0;const n=o(),r=Symbol("initialize"),i=Symbol("unset");t.createLazyProxy=function(){let e=null,t=!1;const o=new Proxy(function(...r){return(0,n.assert)(t,"Cannot call method before the object is initialized"),(0,n.assert)("function"==typeof e,"Real object is not a function"),e.apply(this,r)},{get:(o,s,a)=>s===r?n=>(e=n,t=!0,!0):s===i?()=>(e=null,t=!1,!0):((0,n.assert)(t,`Cannot access property '${String(s)}' before the object is initialized`),Reflect.get(e,s,a)),set:(r,o,i)=>((0,n.assert)(t,`Cannot set property '${String(o)}' before the object is initialized`),Reflect.set(e,o,i)),has:(r,o)=>((0,n.assert)(t,`Cannot check for property '${String(o)}' before the object is initialized`),Reflect.has(e,o)),apply:(r,o,i)=>((0,n.assert)(t,"Cannot call method before the object is initialized"),(0,n.assert)("function"==typeof e,"Real object is not a function"),Reflect.apply(e,o,i)),construct:(r,o,i)=>((0,n.assert)(t,"Cannot construct before the object is initialized"),(0,n.assert)("function"==typeof e,"Real object is not a constructor"),Reflect.construct(e,o,i))}),s=()=>(o[i](),o);return{proxy:o,setRealObject:e=>(o[r](e),s)}}}),a=n.cw(function(e,t){t.setAxeProxy=t.axe=void 0;const n=(0,s().createLazyProxy)();t.axe=n.proxy,t.setAxeProxy=n.setRealObject}),c=n.cw(function(e,t){t.perf=void 0;let n=!1;const r={},o={};t.perf={enable(){n=!0},disable(){t.perf.flush(),n=!1},start(e){n&&(o[e]&&console.warn(`${e} already started`),o[e]=performance.now())},end(e,{minDuration:i=0,flush:s=!1}={}){if(!n)return;if(!o[e])return void console.warn(`${e} not started`);const a=performance.now()-o[e];delete o[e],a<=i||(r[e]??=[],r[e].push(a),s&&t.perf.flush(e))},run(e,t){if(!n)return t();const o=performance.now(),i=t();if(i instanceof Promise)return i.finally(()=>{const t=performance.now();r[e]??=[],r[e].push(t-o)});const s=performance.now();return r[e]??=[],r[e].push(s-o),i},flush(...e){Object.keys(o).forEach(n=>{e.length&&!e?.includes(n)||t.perf.end(n)}),Object.entries(r).forEach(([t,n])=>{e.length&&!e?.includes(t)||(console.log(`${t}: ${n.reduce((e,t)=>e+t)}ms total (${n.length}x)`),delete r[t])})}}}),l=n.cw(function(e,t){t.serialError=void 0,t.serialError=function e(t,n=0){if("object"!=typeof t||null===t)return{message:String(t)};const r=t,o={...r};for(const e of["message","stack","name"])"string"==typeof r[e]&&(o[e]=r[e]);return r.cause&&(o.cause=n<10?e(r.cause,n+1):"..."),o}}),u=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundRecorderClient=void 0;const n=r(),o=d(),i=_n();t.BackgroundRecorderClient=class{#n;constructor({bridge:e,axe:t}){this.#n=e,i.listeners.initContentBridgeListeners(e),Object.entries(o.contentActions).forEach(([r,o])=>{e.listen((0,n.addEventNS)(r),({message:e})=>o(e,{axe:t}))})}get bridge(){return this.#n}async#r(e,t){const r=await this.#n.send("background",(0,n.addEventNS)(e),t??{});if(void 0===r)throw new Error("BackgroundRecorder is not running in a known context");if(null===r)throw new Error("Unable to establish a connection with the background recorder");if("backgroundRecorderError"in r){const{message:e,stack:t,name:n}=r.backgroundRecorderError;throw new Error(`Background ${n}: ${e}\n${t}`)}if(0!==Object.keys(r).length)return r}attachDebugger(){return this.#r("attachDebugger")}detachDebugger(){return this.#r("detachDebugger")}captureFullScreenshot(){return this.#r("captureFullScreenshot")}getComputedFocusStyles(e){return 0===e.focusTriggers.length?{computedFocusStylesMap:{}}:this.#r("getComputedFocusStyles",e)}getEventListeners(e){return this.#r("getEventListeners",e)}getFrameId(){return this.#r("getFrameId")}getStyleSheets(e){return this.#r("getStyleSheets",e)}setup(e){return this.#r("setup",e)}teardown(e){return this.#r("teardown",e)}}}),d=n.cw(function(e,t){t.contentActions=void 0;const n=f(),r=p(),o=p();t.contentActions={[n.batchGetComputedStyleTopic]:n.batchGetComputedStyle,[o.frameSetupTopic]:o.frameSetup,[r.frameTeardownTopic]:r.frameTeardown}}),f=n.cw(function(e,t){t.batchGetComputedStyle=t.batchGetComputedStyleTopic=void 0;const n=o();function r(e){const t={},n=["0px","","normal","none","auto","0","0s"],r={"outline-style":"auto"},o=(e,t)=>"string"!=typeof t||n.includes(t)&&r[e]!==t;for(const n of e){const r=e.getPropertyValue(n);o(n,r)||(t[n]=r)}return t}t.batchGetComputedStyleTopic="batchGetComputedStyle",t.batchGetComputedStyle=function({computedStyleTargets:e},{axe:t}){return e.map(({selector:e,pseudoElm:o})=>{const i=t.utils.shadowSelect(e);(0,n.assert)(i,`Element not found for selector ${e}`);const s=i.ownerDocument.defaultView;(0,n.assert)(s,"Window not found");return{computedStyle:r(s.getComputedStyle(i,o?`::${o}`:void 0)),selector:e,pseudoElm:o}})}}),h=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=i(),r=D(),o=Symbol("disableAnimations");t.default={disable:function(){const e=n.cache.get(o,()=>[]),t=[document,...Array.from((0,r.getShadowRoots)(document))],i=new Set,a=e=>{for(const t of e.getAnimations()){if(!t.effect||0===t.playbackRate||i.has(t))continue;const e=t.effect.getComputedTiming().endTime;Number.isFinite(e)?s(()=>t.finish()):s(()=>t.cancel())}};for(const n of t){const t=a.bind(null,n);t(),n.addEventListener("transitionrun",t),n.addEventListener("animationstart",t),e.push(()=>{n.removeEventListener("transitionrun",t),n.removeEventListener("animationstart",t)})}e.push(()=>{for(const e of i)s(()=>e.play())})},restore:function(){const e=n.cache.get(o);e&&(e.forEach(e=>e()),n.cache.set(o,[]))}};const s=e=>{try{e()}catch{}}}),p=n.cw(function(e,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.frameTeardown=t.frameTeardownTopic=t.frameSetup=t.frameSetupTopic=void 0;const r=i(),o=c(),s=n(h());t.frameSetupTopic="frameSetup",t.frameSetup=function({performanceTimer:e,skipAnimations:t}){r.cache.clear(),e?(o.perf.enable(),o.perf.start("advancedRun")):o.perf.disable(),t&&s.default.disable()},t.frameTeardownTopic="frameTeardown",t.frameTeardown=function(){s.default.restore(),o.perf.disable(),r.cache.clear()}}),m=n.cw(function(e,t){t.fromDOMRect=t.toDOMRect=void 0,t.toDOMRect=function(e){return new DOMRect(e.x,e.y,e.width,e.height)},t.fromDOMRect=function(e){const{x:t,y:n,width:r,height:o}=e;return{x:t,y:n,width:r,height:o}}}),g=n.cw(function(e,t){t.cachedQueryAll=t.Z=void 0;const n=i(),r=Symbol("selectorCache");t.Z=n.cache.child(r),t.cachedQueryAll=function(e,n){const r=t.Z.get(e,()=>new Map),o=r.get(n);if(o)return o;const i=Array.from(n.querySelectorAll(e));return r.set(n,i),i}}),y=n.cw(function(e,t){t.findNearbyElms=void 0;const n=a();function r(e){if(e)return n.axe.commons.dom.getNodeGrid?.(e)??e._grid}t.findNearbyElms=function(e){n.axe.commons.dom.createGrid();const t=e.boundingClientRect,o=[];let i=r(e);for(;i;){const n=i.getGridPositionOfRect(t);i.loopGridPosition(n,t=>{for(const n of t)n&&n!==e&&!o.includes(n)&&o.push(n)}),i=r(i.container)}return o}}),b=n.cw(function(e,t){t.isContentEditable=void 0;const n=i(),r=Symbol("isContentEditable"),o=n.cache.child(r),s=new Set(["","true","plaintext-only"]),a=new Set(["false"]);t.isContentEditable=function e(t){return o.get(t,()=>{const n=t.getAttribute("contenteditable")?.toLowerCase()??null;return!!s.has(n)||!(a.has(n)||!t.parentElement)&&e(t.parentElement)})}}),v=n.cw(function(e,t){t.isShadowRoot=t.isElement=void 0;t.isElement=e=>1===e.nodeType;t.isShadowRoot=e=>11===e.nodeType&&"host"in e&&1===e.host?.nodeType}),w=n.cw(function(e,t){t.isFocusableMedia=void 0,t.isFocusableMedia=function({vNode:e,axe:t}){if("video"!==e.props.nodeName&&"audio"!==e.props.nodeName)return!1;if(!e.hasAttr("controls"))return!1;const n=function(e){const t=e.attr("tabindex")?.match(/^\s*([-+]?\d+)/);return t?parseInt(t[1]):null}(e);return!(null!==n&&n<0)&&!t.commons.dom.isHiddenForEveryone(e)}}),S=n.cw(function(e,t){t.findFocusIndicators=t.E=void 0;const n=N(),r=i(),s=c(),a=_(),l=o(),u=j(),d=R(),f=Symbol();function*h(e,r,o){const i=(0,a.getRootNode)(r),c=o.get(i);(0,l.assert)(c,"Style sheets for root of node not found");const u=function(e){return e.flatMap(({cssRules:e})=>Array.from(e)).filter(e=>e instanceof CSSStyleRule)}(c).flatMap(e=>e.selectorText.includes(":focus")?function(e,r){const o=t.E.get(e,()=>new Map);let i=o.get(r);if(!i){const t=`queryWithFocusTriggers: ${e}`;s.perf.start(t),i=(0,n.queryWithFocusTriggers)(e,r),s.perf.end(t,{minDuration:100,flush:!0}),o.set(r,i)}return i}(e.selectorText,i):[]);for(const{triggers:t=[],...n}of u)for(const{type:r,elm:o}of t){const t=1===r.length&&"focus-within"===r[0];(o===e||t&&(0,d.flatTreeContains)(o,e))&&(yield n)}}t.E=r.cache.child(f),t.findFocusIndicators=function(e,t){const n=(0,a.getRootNode)(e),r=t.get(n);(0,l.assert)(r,"Style sheets for root of node not found");const o=new Map;o.set(e,new Set([void 0]));let i=e.shadowRoot??e;do{const n=Array.from(h(e,i,t));for(const{elm:e,pseudoElm:t}of n){const n=o.get(e);n?n.add(t):o.set(e,new Set([t]))}}while(i=(0,u.closestCrossTreeAncestor)(i));const s=[];for(const[e,t]of o)for(const n of t)n?s.push({elm:e,pseudoElm:n}):s.push({elm:e});return s}}),E=n.cw(function(e,t){t.eachIndicator=void 0,t.eachIndicator=function*(e){for(const[t,n]of e)for(const[e,r]of n)yield{elm:t,pseudoElm:e,triggers:r}}}),O=n.cw(function(e,t){t.groupRuleItems=t.D=void 0;const n=I();t.D=["focus-within","focus","focus-visible"],t.groupRuleItems=function(e){const r=[],o=[],i=[],s=[],a=[];for(let c=0;c<e.length;c++){const l=e[c];if("PseudoElement"===l.type){if("part"===l.name){return{pseudoElmItems:r,pseudoClassSelectorItems:o,focusClassItems:i,hostItems:s,partItems:e.slice(c),otherItems:a}}r.push(l)}else"PseudoClass"===l.type?"host"===l.name.substring(0,4)?s.push(l):n.pseudoClassSelectorNames.includes(l.name)?o.push(l):t.D.includes(l.name)?i.push(l):a.push(l):a.push(l)}return{pseudoElmItems:r,pseudoClassSelectorItems:o,focusClassItems:i,hostItems:s,partItems:[],otherItems:a}}}),x=n.cw(function(e,t){t.mergeTriggers=void 0,t.mergeTriggers=function(e,t){t=[...t];const n=[];for(const r of e){const e=t.findIndex(e=>e.elm===r.elm);if(-1===e){n.push(r);continue}const o=t.splice(e,1)[0],i=Array.from(new Set([...r.type,...o.type]));n.push({elm:r.elm,type:i})}return n.push(...t),n}}),A=n.cw(function(e,t){t.runHasPseudoClass=void 0;const n=Hn(),r=E(),o=N();t.runHasPseudoClass=function(e,t){const i=(0,n.render)(e),s=new Map;for(const{elm:n,pseudoElm:a,triggers:c}of(0,r.eachIndicator)(t)){const t=(0,o.runSelector)(i,e,n);let l=!1;for(const e of(0,r.eachIndicator)(t))e.pseudoElm||(e.triggers.length&&c.push(...e.triggers),l||=!0);l&&s.set(n,new Map([[a,c]]))}return s}}),T=n.cw(function(e,t){t.runHostPseudoClass=void 0;const n=Hn(),r=o(),i=k(),s=E(),a=x(),c=v(),l=N();function u(e,t,n){if(t.items.some(e=>"PseudoElement"===e.type))return new Map;let r=n.host,o=[],u=!1;for(;r&&((0,c.isElement)(r)||(0,c.isShadowRoot)(r));){const[n]=(0,l.runRuleItems)(t,r,{selfOnly:!0});if("host-context"!==e)return n;n.size&&(u=!0);for(const{pseudoElm:e,triggers:t}of(0,s.eachIndicator)(n))""===e&&(o=(0,a.mergeTriggers)(o,t));r=(0,i.getFlatTreeParent)(r)}return u?new Map([[n.host,new Map([["",o]])]]):new Map}t.runHostPseudoClass=function(e,t){const o=new Map;for(const{argument:i,name:c}of e){if(!i){o.has(t.host)||o.set(t.host,new Map([["",[]]]));continue}(0,r.assert)("Selector"===i.type,`Unexpected argument type ${i.type} in "${(0,n.render)(i)}"`);const e=i.rules[0];if(1!==i.rules.length||e.nestedRule)return null;const l=u(c,e,t);if(0===l.size)return null;for(const{elm:e,pseudoElm:t,triggers:n}of(0,s.eachIndicator)(l)){if(""!==t)return null;const i=o.get(e);if(i){const e=i.get("");(0,r.assert)(e,"indicator missing triggers"),i.set("",(0,a.mergeTriggers)(e,n))}else o.set(e,new Map([["",n]]))}}return o}}),C=n.cw(function(e,t){t.runPartPseudoElm=void 0;const n=o(),r=M(),i=E(),s=O();t.runPartPseudoElm=function(e,t){const[o,...a]=e;(0,n.assert)("PseudoElement"===o.type,"Expected pseudo element");const{argument:c}=o;(0,n.assert)("String"===c?.type,`Invalid ::part argument type ${c?.type}`);const{focusClassItems:l,pseudoElmItems:u,...d}=(0,s.groupRuleItems)(a);if(Object.values(d).some(e=>e.length))return[new Map];let f="";if(u.length){if(u.length>1||u[0]!==a.at(-1))return[new Map];f=u[0].name}const h=l.map(e=>e.name),p=new Map;for(const{elm:e,triggers:n}of(0,i.eachIndicator)(t)){const t=(0,r.getParts)(e);if(!t)continue;const o=c.value.split(/\s+/);t.forEach((e,t)=>{if(o.every(t=>e.has(t))){const e=[...n];h.length&&e.push({elm:t,type:h}),p.set(t,new Map([[f,e]]))}})}return[p]}}),I=n.cw(function(e,t){t.runPseudoClassSelector=t.pseudoClassSelectorNames=void 0;const n=Hn(),r=o(),i=_(),s=N(),a=A(),c=E(),l=x();t.pseudoClassSelectorNames=["is","where","not","has"],t.runPseudoClassSelector=function({argument:e,name:o},u,d){if(!1===t.pseudoClassSelectorNames.includes(o)||"Selector"!==e?.type)throw new Error("Invalid sub-selector");if("has"===o)return(0,a.runHasPseudoClass)(e,u);const f="not"===o?u:new Map,h=(0,n.render)(e),p=(0,i.getRootNode)(d),m=(0,s.runSelector)(h,e,p);for(const e of(0,c.eachIndicator)(m)){if(e.pseudoElm)continue;if("not"===o&&!e.triggers.length){f.delete(e.elm);continue}const t=u.get(e.elm);if(!t)continue;const n=Array.from(t.entries());(0,r.assert)(1===n.length,"Only one (pseudo-)element should exist");const[i,s]=n[0],a="not"===o?[...s,...e.triggers]:(0,l.mergeTriggers)(s,e.triggers);t.set(i,a),f.set(e.elm,t)}return f}}),P=n.cw(function(e,t){t.runSlottedPseudoElm=void 0;const n=o(),r=v(),i=_(),s=N(),a=E();function c(e){return"slot"===e.nodeName.toLowerCase()}t.runSlottedPseudoElm=function({argument:e},t,o){const l=(0,i.getRootNode)(o);if(!(0,r.isShadowRoot)(l))return[new Map];if((0,n.assert)("Selector"===e?.type,`Invalid ::slotted argument type ${e?.type}`),1!==e.rules.length||e.rules[0].nestedRule)return[new Map];const u=e?.rules[0],d=new Map;for(const{elm:e,triggers:r}of(0,a.eachIndicator)(t))if(c(e))for(const t of e.assignedElements()){const[e]=(0,s.runRuleItems)(u,t,{selfOnly:!0});if(0===e.size)continue;const o=e.get(t);(0,n.assert)(e.size<=1,"Only one pseudo element should exist"),(0,n.assert)(o,"Pseudo element map missing");const i=o.get("");(0,n.assert)(i,"Existing triggers missing"),i.push(...r),o.set("",i),d.set(t,o)}return[d]}}),N=n.cw(function(e,t){t.runRuleItems=t.runSelector=t.queryWithFocusTriggers=t.K3=t.PE=void 0;const n=Hn(),r=o(),s=i(),a=_(),c=O(),l=x(),u=E(),d=v(),f=I(),h=P(),p=T(),m=C(),y=g(),b=Symbol("selectorCache");function w(e,n,r){const o=t.PE.get(e,()=>new Map),i=o.get(r);if(i)return i;const s=new Map;for(const e of n.rules){const t=S(e,r);for(const{elm:e,pseudoElm:n,triggers:r}of(0,u.eachIndicator)(t)){const t=s.get(e),o=t?.get(n);t?o?t.set(n,[...o,...r]):t.set(n,r):s.set(e,new Map([[n,r]]))}}return o.set(r,s),s}function S(e,t){const n=new Map,[o,i]=A(e,t);for(const{elm:t,pseudoElm:s,triggers:a}of(0,u.eachIndicator)(o)){if(!e.nestedRule){const e=n.get(t);e?((0,r.assert)(!e.has(s),"Pseudo element already exists"),e.set(s,a)):n.set(t,new Map([[s,a]]));continue}if(s)continue;const o=i??t,c=S(e.nestedRule,o);for(const e of(0,u.eachIndicator)(c)){const t=(0,l.mergeTriggers)(a,e.triggers),r=n.get(e.elm);r?r.set(e.pseudoElm,t):n.set(e.elm,new Map([[e.pseudoElm,t]]))}}return n}function A(e,t,{selfOnly:r}={selfOnly:!1}){const{pseudoElmItems:o,pseudoClassSelectorItems:i,focusClassItems:s,hostItems:a,partItems:l,otherItems:u}=(0,c.groupRuleItems)(e.items);if(a.length>0){if(!(0,d.isShadowRoot)(t)||s.length||o.length||i.length||u.length)return[new Map];const e=(0,p.runHostPseudoClass)(a,t);return e?[e,t]:[new Map]}if(o.length>1||o[0]&&o[0]!==e.items.at(-1))return[new Map];const g=(0,n.render)(n.ast.rule({items:u}))||"*";let b=[];if(r){if(!(0,d.isElement)(t))return[new Map];b=t.matches(g)?[t]:[]}else b=e?.combinator?function(e,t){if(">"===e)return Array.from(t.children);if(!(0,d.isElement)(t))return[];if("+"===e)return[t.nextElementSibling].filter(Boolean);if("~"===e){const e=[];let n=t.nextElementSibling;for(;n;)e.push(n),n=n.nextElementSibling;return e}throw new Error(`Unknown combinator: ${e}`)}(e?.combinator,t).filter(e=>e.matches(g)):(0,y.cachedQueryAll)(g,t);if(0===b.length)return[new Map];let v=new Map;const w=["slotted","part"].includes(o[0]?.name)?"":o[0]?.name??"",S=s.map(e=>e.name);b.forEach(e=>{const t=S.length?[{elm:e,type:S}]:[];v.set(e,new Map([[w,t]]))});for(const e of i)v=(0,f.runPseudoClassSelector)(e,v,t);return"slotted"===o[0]?.name?e.nestedRule?[new Map]:(0,h.runSlottedPseudoElm)(o[0],v,t):l.length?e.nestedRule?[new Map]:(0,m.runPartPseudoElm)(l,v):[v]}t.PE=s.cache.child(b),t.K3=(0,n.createParser)({strict:!1,syntax:{baseSyntax:"progressive"}}),t.queryWithFocusTriggers=function(e,n){let o,i;(0,r.assert)(n,"Node must be provided");try{o=(0,t.K3)(e)}catch{return console.error("Failed to process selector",e),[]}try{i=w(e,o,(0,a.getRootNode)(n))}catch(e){return console.error(e?.message),[]}const s=[];for(const{elm:e,pseudoElm:t,triggers:n}of(0,u.eachIndicator)(i))s.push({elm:e,...t?{pseudoElm:t}:{},...n.length?{triggers:n}:{}});return s},t.runSelector=w,t.runRuleItems=A}),j=n.cw(function(e,t){t.closestCrossTreeAncestor=void 0;const n=o(),r=v(),s=i(),a=Symbol("closestAncestor"),c=s.cache.child(a);t.closestCrossTreeAncestor=function e(t,o=0){return(0,n.assert)(++o<1e4,"Infinite loop in closestCrossTreeAncestor"),c.get(t,()=>(0,r.isShadowRoot)(t)?t.host:t.assignedSlot?t.assignedSlot:t.parentNode&&(0,r.isShadowRoot)(t.parentNode)?t.parentNode.host:t.parentElement?e(t.parentElement,o):null)}}),R=n.cw(function(e,t){t.flatTreeContains=void 0;const n=j(),r=o();t.flatTreeContains=function(e,t){const o=e.getRootNode();let i=t,s=0;do{if((0,r.assert)(++s<1e4,"Infinite loop in flatTreeContains"),o===i.getRootNode())return e.contains(i)}while(i=(0,n.closestCrossTreeAncestor)(i));return!1}}),k=n.cw(function(e,t){t.getFlatTreeParent=void 0,t.getFlatTreeParent=function(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e&&e.host?.nodeType===Node.ELEMENT_NODE?e.host:e.nodeType===Node.ELEMENT_NODE&&"assignedSlot"in e&&e.assignedSlot?.nodeType===Node.ELEMENT_NODE?e.assignedSlot:e.parentNode}}),M=n.cw(function(e,t){t.getParts=void 0;const n=i(),r=Symbol("PARTS_OF_SHADOW_ROOT"),o=n.cache.child(r);function s({shadowRoot:e}){return e?o.get(e,()=>function(e){const t=e.querySelectorAll("[part]"),n=new Map;for(const e of Array.from(t)){const t=e.getAttribute("part");if(!t)continue;const r=t.split(/\s+/).map(e=>e.trim()).filter(e=>e.match(/^[^0-9]/)),o=new Set(r);o.size&&n.set(e,o)}const r=e.querySelectorAll("[exportparts]");for(const e of Array.from(r)){const t=e.getAttribute("exportparts"),r=t?a(t):null;if(!r||!r.size)continue;const o=s(e)??[];for(const[e,t]of o){const o=new Set;t.forEach(e=>{const t=r.get(e);t&&o.add(t)}),o.size&&n.set(e,o)}}return n}(e)):null}function a(e){const t=e.split(",").map(e=>e.split(":")).map(([e,t])=>[e=e.trim(),t=t?.trim()??e]);return new Map(t)}t.getParts=s}),_=n.cw(function(e,t){t.getRootNode=void 0,t.getRootNode=function(e){const t=e.getRootNode();if(t.nodeType===Node.DOCUMENT_NODE)return t;if("host"in t)return t;throw new Error("Node is not attached to the DOM")}}),D=n.cw(function(e,t){t.getShadowRoots=void 0,t.getShadowRoots=function*e(t=document){const r=(n(t)?t:t.ownerDocument).createTreeWalker(t,NodeFilter.SHOW_ELEMENT);for(;r.nextNode();){const{shadowRoot:t}=r.currentNode;t&&(yield t,yield*e(t))}};const n=e=>e.nodeType===e.DOCUMENT_NODE}),L=n.cw(function(e,t){t.getAllStyleSheets=void 0;const n=D(),r=i(),o=Symbol("requestStyleSheetsFromBackground");t.getAllStyleSheets=async function(e,t=document){return r.cache.getAsync(o,()=>async function(e,t=document){const{CSSImportRule:r}=t.defaultView,o=new Map,i=[t,...(0,n.getShadowRoots)(t)];i.forEach(e=>{const t=Array.from(e.styleSheets).concat(e.adoptedStyleSheets);for(const n of t)try{if(n.disabled)continue;for(const e of Array.from(n.cssRules))e instanceof r&&e.styleSheet&&t.push(e.styleSheet);o.has(e)?o.get(e)?.push(n):o.set(e,[n])}catch{}});const s=[];for(const e of o.values())e.forEach(e=>{e.href&&s.push(e.href)});const a=await e.getStyleSheets({ignoreSheets:s}),c=await(l=a.styleSheets,Promise.all(l.map(({content:e})=>(new CSSStyleSheet).replace(e))));var l;return i.forEach(e=>{o.has(e)?o.get(e)?.push(...c):o.set(e,[...c])}),o}(e,t))}}),F=n.cw(function(e,t){t.getBorder=void 0,t.getBorder=function(e){return{top:parseFloat(e.getPropertyValue("border-top-width")),right:parseFloat(e.getPropertyValue("border-right-width")),bottom:parseFloat(e.getPropertyValue("border-bottom-width")),left:parseFloat(e.getPropertyValue("border-left-width"))}}}),V=n.cw(function(e,t){t.getPadding=void 0,t.getPadding=function(e){return{top:parseFloat(e.getPropertyValue("padding-top")),right:parseFloat(e.getPropertyValue("padding-right")),bottom:parseFloat(e.getPropertyValue("padding-bottom")),left:parseFloat(e.getPropertyValue("padding-left"))}}}),B=n.cw(function(e,t){t.isRotated=void 0,t.isRotated=function(e){return 0!==function(e){const t=e.getPropertyValue("rotate");if(!t||"none"===t)return 0;const n=t.split(" ");return parseFloat(n[n.length-1])}(e)||0!==function(e){const t=e.getPropertyValue("transform");if(!t||"none"===t)return 0;const n=t.split(","),r=n[0].indexOf("("),o=parseFloat(n[0].substr(r+1)),i=parseFloat(n[1]);return 180*Math.atan2(i,o)/Math.PI}(e)}}),$=n.cw(function(e,t){t.getAccDescription=void 0;const n=a();function r(e){if(e.attr("aria-describedby")){return n.axe.commons.dom.idrefs(e,"aria-describedby").map(e=>e?n.axe.commons.text.accessibleText(e,{inLabelledByContext:!0}):"").join("")}}function o(e){if(e.attr("aria-description"))return n.axe.commons.text.sanitize(e.attr("aria-description"))}function i(e,t){const r=n.axe.commons.text.sanitize(e.attr("title"));if(null!==r&&!t.includes(r))return r}t.getAccDescription=function(e,t){return[r,o,i].reduce((n,r)=>n??r(e,t),void 0)??""}}),H=n.cw(function(e,t){t.getWordRects=void 0;const n=a(),r=o();function i(e,t,n){const r=document.createRange();return r.setStart(e,t),r.setEnd(e,t+n),Array.from(r.getClientRects())}t.getWordRects=function(e){(0,r.assert)(e.children,"vNode.children is not defined");const t=[];for(const{actualNode:n}of e.children){if(!s(n)||!n.nodeValue)continue;const e=o(n);for(const{index:r,length:o}of e)t.push(...i(n,r,o))}return t;function o({nodeValue:e}){(0,r.assert)(e,"textNode.nodeValue is not defined");let t=0,n=0,o="";const i=[],s=e=>{(e.charCount>1||/[0-9]/.test(e.word))&&i.push(e)};for(const r of e)a(r)?(o+=r,t++):o.length>0?(s({charCount:t,index:n,length:o.length,word:o}),n+=o.length+r.length,o="",t=0):n+=r.length;return s({index:n,length:o.length,word:o,charCount:t}),i}function a(e){return!/\s/.test(e)&&!n.axe.commons.text.hasUnicode(e,{emoji:!0,nonBmp:!0,punctuations:!0})}};const s=e=>e?.nodeType===Node.TEXT_NODE}),W=n.cw(function(e,t){t.isInAccessibleText=void 0;const n=a(),r=o(),s=i(),c=z(),l=Symbol("accTextCache"),u=s.cache.child(l);function d(e){return u.get(e,()=>{(0,r.assert)(e.actualNode instanceof Element,"vNode.actualNode must be an Element");const t=e.actualNode;if((0,c.isNameFromContent)(e))return t;const o=n.axe.commons.aria.getAccessibleRefs(e).find(e=>!!n.axe.commons.aria.getRole(e,{noPresentational:!0})&&function(e,t){return f.filter(r=>{const o=e.getAttribute(r);return!!o&&n.axe.utils.tokenList(o).includes(t.id)})}(e,t).length);if(o)return o;const i=function(e){if("label"!==e.nodeName.toLowerCase())return null;const t=e.getAttribute("for")?.trim(),n=t&&e.ownerDocument?.getElementById(t);if(n&&p(n))return n;const r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>t!==e&&t instanceof HTMLElement&&p(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=r.nextNode();return o instanceof HTMLElement?o:null}(t);return i||(e.parent?d(e.parent):null)})}t.isInAccessibleText=function(e){return null!==d(e)};const f=["aria-labelledby","aria-describedby"];const h=["button","input","meter","output","progress","select","textarea"];function p(e){const t=e.nodeName.toLowerCase();return("input"!==t||"hidden"!==e.getAttribute("type"))&&h.includes(t)}}),z=n.cw(function(e,t){t.isNameFromContent=void 0;const n=i(),r=a(),o=Symbol("nameFromContentRoles"),s=["term","directory","listitem","section","figure"];t.isNameFromContent=function(e){const t=n.cache.get(o,()=>r.axe.commons.standards.getAriaRolesSupportingNameFromContent().filter(e=>!s.includes(e))),i=r.axe.commons.aria.getRole(e);return!!i&&t.includes(i)}}),U=n.cw(function(e,t){function n(e){return["include","exclude"].some(t=>o(e,t)&&r(e[t]))}function r(e){return"string"==typeof e||e instanceof window.Node||o(e,"fromFrames")||function(e){return o(e,"fromShadowDom")}(e)||!!(t=e)&&"object"==typeof t&&"length"in t&&"number"==typeof t.length;var t}function o(e,t){return!(!e||"object"!=typeof e)&&Object.prototype.hasOwnProperty.call(e,t)}t.isContextSpec=void 0,t.isContextSpec=function(e){return n(e)||r(e)}}),G=n.cw(function(e,t){t.dropObscuredRects=void 0;const n=a(),r=q();t.dropObscuredRects=function(e,t,o={}){const{rectsOverlap:i}=n.axe.commons.math,s=(0,r.getObscuredRects)(e),a=[];for(const e of t){if(0===s.filter(t=>i(e,t)).length)a.push(e);else if(o.split)try{const t=n.axe.commons.math.splitRects(e,s).filter(({width:e,height:t})=>e>=1&&t>=1);a.push(...t)}catch{}}return a}}),q=n.cw(function(e,t){t.getObscuredRects=void 0;const n=a(),r=i(),o=J(),s=y(),c=Symbol("getObscuringRects"),l=r.cache.child(c);t.getObscuredRects=function(e){return l.get(e,()=>(0,s.findNearbyElms)(e).filter(t=>n.axe.commons.math.hasVisualOverlap(e,t)).map(o.getObscuringRects).flat())}}),J=n.cw(function(e,t){t.getObscuringRects=void 0;const n=a(),r=Y();t.getObscuringRects=function(e){const t=e.getComputedStylePropertyValue.bind(e),o=e.actualNode;if(o instanceof Element==!1||"0"===t("opacity")||t("filter").includes("opacity(0)"))return[];const i=new n.axe.commons.color.Color;if(i.parseString(t("background-color")),0!==i.alpha||"none"!==t("background-image")||"none"!==t("backdrop-filter")||function(e){switch(e.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!0;case"input":return"hidden"!==e.props.type;default:return!1}}(e))return Array.from(o.getClientRects());const s=(0,r.getTextContentRect)(e);return s?[s]:[]}}),Y=n.cw(function(e,t){t.getTextContentRect=void 0;const n=G();t.getTextContentRect=function(e){const t=document.createRange(),r=[];for(const{actualNode:n}of e.children??[])n?.nodeType===Node.TEXT_NODE&&(t.selectNodeContents(n),r.push(...Array.from(t.getClientRects())));if(0===r.length)return null;const o=(0,n.dropObscuredRects)(e,r,{split:!0});if(0===o.length)return null;const i=Math.min(...o.map(({x:e})=>e)),s=Math.min(...o.map(({y:e})=>e)),a=Math.max(...o.map(({x:e,width:t})=>e+t)),c=Math.max(...o.map(({y:e,height:t})=>e+t));return{x:i,y:s,width:a-i,height:c-s}}}),K=n.cw(function(e,t){t.getVisibilityRects=void 0;const n=o();function r(e,t){const{vNode:n}=e.utils.nodeLookup(t);return n._advancedVisibleRects||(n._advancedVisibleRects=i(e,n)),n._advancedVisibleRects}function i(e,t){if(!t.parent){const e=function(e){const t=e.actualNode,r=function(e){const t=e.actualNode?.ownerDocument.defaultView;return(0,n.assert)(t,"Frame window not found"),t}(e),{overflowX:o,overflowY:i}=s(e);let{innerWidth:a,innerHeight:c}=r,l=0,u=0;r.top===r&&"hidden"!==i&&(u=-r.scrollY||0,c=t.scrollHeight+parseFloat(e.getComputedStylePropertyValue("margin-top"))+parseFloat(e.getComputedStylePropertyValue("margin-bottom")));if(r.top===r&&"hidden"!==o){const n=parseFloat(e.getComputedStylePropertyValue("margin-left"));l=-r.scrollX||0,a=Math.max(a,t.scrollWidth+n)}return new DOMRect(l,u,a,c)}(t);return{visibleRect:e,clippingRect:e}}const o=t.boundingClientRect,i=function(e,{parent:t}){(0,n.assert)(t,"Cannot get clipping rect for a node without a parent");const{clippingRect:o,visibleRect:i}=r(e,t);if("visible"===t.getComputedStylePropertyValue("overflow"))return o;if(t.parent&&"body"===t.props.nodeName&&s(t.parent).fromBody)return o;return i}(e,t);return{visibleRect:e.commons.math.getIntersectionRect(o,i)??new DOMRect(o.x,o.y,0,0),clippingRect:i}}function s(e){const t=e.getComputedStylePropertyValue("overflow-x"),n=e.getComputedStylePropertyValue("overflow-y"),r=e.children?.find(e=>"body"===e.props.nodeName);return r&&"visible"===t&&"visible"===n?{overflowX:r.getComputedStylePropertyValue("overflow-x"),overflowY:r.getComputedStylePropertyValue("overflow-y"),fromBody:!0}:{overflowX:t,overflowY:n,fromBody:!1}}t.getVisibilityRects=r}),X=n.cw(function(e,t){t.addRecorderToAxe=void 0;const n=Re(),r=be(),i=ce(),s=Q(),c=oe(),l=ne(),d=u(),f=ee(),h=Pr(),p=o(),m=a(),g=Symbol("BACKGROUND_RECORDER_CLIENT");t.addRecorderToAxe=function(e,{bridge:t}){let o;(0,p.assert)(!e.recorderVersion||e.recorderVersion===h.version,`Failed to add Recorder v${h.version} because Recorder v${e.recorderVersion} is already installed.`),e.recorderVersion?(o=e[g],(0,p.assert)(o,"Advanced rules already initialized without a bridge"),(0,p.assert)(o.bridge===t,"Advanced rules already initialized with a different bridge")):(o=new d.BackgroundRecorderClient({bridge:t,axe:e}),e[g]=o,(0,l.updateAxeRun)(e,{background:o},f.advancedRun)),e.recorderVersion=h.version;const a=(0,c.createReporter)(e,i.recorderAsyncReporter);e.addReporter("advancedInputReporter",a);const u=n.recorderRules.map(t=>b(e,t)),y=r.recorderChecks.map(t=>v(e,t,o));e.configure({rules:u,checks:y,reporter:"advancedInputReporter"}),(0,s.updateNodeSerializer)(e),(0,m.setAxeProxy)(e)};const y={passed:!0,failed:!1,incomplete:void 0};function b(e,t){const n=function(e,t){return"function"!=typeof t?t:(n,r)=>t({domNode:n,vNode:r,axe:e})}(e,t.matches),r={...t,matches:n};return n||delete r.matches,r}function v(e,t,n){return{...t,evaluate(r,o,i){const s={domNode:r,options:o,vNode:i,axe:e,background:n},a=t.evaluate(s);if("result"in a){const{data:e,result:t,relatedNodes:n}=a;return this.data(e),n&&this.relatedNodes(n),y[t]}const c=this.async();a.then(({data:e,result:t,relatedNodes:n})=>{this.data(e),n&&this.relatedNodes(n),c(y[t])},e=>{e instanceof Error?c(e):c(new Error(String(e)))})}}}}),Z=n.cw(function(e,t){t.NODE_LIMIT=void 0,t.NODE_LIMIT=15e3}),Q=n.cw(function(e,t){t.updateNodeSerializer=void 0;const n=o(),r=m(),i=F(),s=V(),a=B(),c=K();function l(e,t,o){(0,n.assert)(t.advanced._frameProps,"frameProps is missing");const{innerFrameRect:i,clippingRect:s}=t.advanced._frameProps,a=o.commons.math.getIntersectionRect((0,r.toDOMRect)(e),new DOMRect(0,0,i.width,i.height));if(!a)return{x:e.x+i.x,y:e.y+i.y,width:0,height:0};a.x+=i.x,a.y+=i.y;const c=o.commons.math.getIntersectionRect((0,r.toDOMRect)(a),(0,r.toDOMRect)(s));return c?(0,r.fromDOMRect)(c):{x:a.x,y:a.y,width:0,height:0}}t.updateNodeSerializer=function(e){e.utils.nodeSerializer.update({toSpec(t){const{element:n}=t,{visibleRect:o,clippingRect:l}=(0,c.getVisibilityRects)(e,n),u=n.ownerDocument.defaultView;let d={x:0,y:0};u&&u.top===u&&(d={x:-u.scrollX||0,y:-u.scrollY||0});const f={visibleBoundingRect:(0,r.fromDOMRect)(o),clippingRect:(0,r.fromDOMRect)(l),windowCoordinate:d};if(function(e,t){const{vNode:n}=e.utils.nodeLookup(t);return["frame","iframe"].includes(n.props.nodeName)}(e,n)){const e=function(e){const t=window.getComputedStyle(e),n=(0,i.getBorder)(t),r=(0,s.getPadding)(t),{x:o,y:c,width:l,height:u}=e.getBoundingClientRect();return{innerFrameRect:{x:o+n.left+r.left,y:c+n.top+r.top,width:l-n.left-n.right-r.left-r.right,height:u-n.top-n.bottom-r.top-r.bottom},rotated:(0,a.isRotated)(t)}}(n);f._frameProps={...e,clippingRect:l}}return{...t.toJSON(),advanced:f}},mergeSpecs(t,r){(0,n.assert)(r.advanced?._frameProps,"required frameProps are missing. Was the iframe configured correctly?"),(0,n.assert)(t.advanced,"node from an inner frame is missing advanced metadata. Was the advanced recorder added to the child frame?");const{mergeSpecs:o}=e.utils.DqElement;if(!t.advanced.visibleBoundingRect||!t.advanced.clippingRect||!t.advanced.windowCoordinate||r.advanced._frameProps.rotated)return{...o(t,r),advanced:{visibleBoundingRect:null,windowCoordinate:null,clippingRect:null}};const i=l(t.advanced.visibleBoundingRect,r,e),s=l(t.advanced.clippingRect,r,e),a=function(e,t){const{windowCoordinate:r}=e.advanced,o=t.advanced._frameProps?.innerFrameRect;return(0,n.assert)(r,"windowCoordinate is missing"),(0,n.assert)(o,"innerFrameRect is missing"),{x:o.x+r.x,y:o.y+r.y}}(t,r),c={visibleBoundingRect:i,clippingRect:s,windowCoordinate:a};return{...o(t,r),advanced:c}}})}}),ee=n.cw(function(e,t){t.advancedRun=void 0;const n=o(),r=c(),i=te(),s=Re(),a=l();function u(e,t){const n={ruleId:t.id,method:"#asyncAfter",...(0,a.serialError)(e)},r=t.incomplete[0].node,o=[{id:"error-occurred",data:n,result:void 0,message:"Axe encountered an error; test the page for this type of problem manually"}];return{...t,result:"incomplete",error:n,passes:[],violations:[],incomplete:[{result:"cantTell",impact:void 0,node:r,any:[],all:[],none:o}]}}t.advancedRun=async function({axe:e,context:t=document,options:o={},background:a}){const{runOptions:c,backgroundOptions:l}=(0,i.extractRunOptions)(e,o);try{let o,i;if(await(a?.setup(l)),a&&l.screenshot){const{scrollX:e,scrollY:t}=window;({screenshot:o,zoom:i}=await r.perf.run("captureFullScreenshot",()=>a.captureFullScreenshot())),e===window.scrollX&&t===window.scrollY||window.scrollTo(e,t)}const d=await e.run(t,c);return d.advancedRuleInput.screenshot=o,d.advancedRuleInput.screenshotScale=i,await async function({ruleResults:e,...t}){const{recorderResults:o=[]}=e.advancedRuleInput;for(let e=0;e<o.length;e++){const i=o[e],a=s.recorderRules.find(e=>e.id===i.id);if(a&&"asyncAfter"in a){const s=await r.perf.run(`asyncAfter ${a.id}`,()=>((0,n.assert)("function"==typeof a.asyncAfter,"asyncAfter is not a function"),i.error?i:a.asyncAfter({rawRuleResult:i,...t}).catch(e=>u(e,i))));o[e]=s}}return e}({ruleResults:d,axe:e,background:a})}finally{await(a?.teardown(l))}}}),te=n.cw(function(e,t){t.extractRunOptions=void 0;const n=Re();t.extractRunOptions=function(e,t){const r=t.advanced??{};let o=t;e.utils.normalizeRunOptions?o=e.utils.normalizeRunOptions(t):e._audit.normalizeOptions&&(o=e._audit.normalizeOptions(t));const i=n.recorderRules.some(t=>e.utils.ruleShouldRun(t,{},o)),s={attachDebugger:r.attachDebugger??i,screenshot:r.screenshot??i,skipAnimations:r.skipAnimations??i,performanceTimer:!!t.performanceTimer};if(r.aiDisabled){const e=n.recorderRules.filter(e=>e.tags?.includes("AI")),t={...o.rules};e.forEach(e=>{t[e.id]={enabled:!1}}),o={...o,rules:t}}if(!0!==r.testFormStructure){const e={...o.rules};e["recorder/form-structure"]={enabled:!1},o={...o,rules:e}}return{backgroundOptions:s,runOptions:o}}}),ne=n.cw(function(e,t){t.updateAxeRun=void 0;const n=U();t.updateAxeRun=function(e,{background:t},r){const o=Object.create(e);o.run=e.run,e.run=function(...i){const{context:s,options:a,callback:c}=function(e,t){const r=e.findIndex(e=>"function"==typeof e),o=e.findIndex(t.utils.isContextSpec??n.isContextSpec);return{callback:-1!==r?e[r]:void 0,context:-1!==o?e[o]:document,options:e.find((e,t)=>![r,o].includes(t))??{}}}(i,e);try{const e=r({axe:o,background:t,context:s,options:a});return c?void e.then(e=>c(null,e),e=>c(e)):e}catch(e){return c?void c(e):Promise.reject(e)}}}}),re=n.cw(function(e,t){const n=X();var r=u();const o=le();var i=ue();t.default={addRecorderToAxe:n.addRecorderToAxe,v1AdvancedAsyncReporter:o.v1AdvancedAsyncReporter}}),oe=n.cw(function(e,t){t.createReporter=void 0;t.createReporter=(e,t)=>(n,r,o,i)=>{t(e,n,r).then(o,e=>i(e))}}),ie=n.cw(function(e,t){t.dedupeContrastResults=void 0,t.dedupeContrastResults=function(e){const t=e.find(({id:e})=>"color-contrast"===e),n=e.find(({id:e})=>"recorder/text-contrast"===e);if(!t||!n)return;if(0===t.incomplete.length)return n.incomplete=[],void(n.result="inapplicable");const r=t.incomplete.reduce((e,t)=>e.add(JSON.stringify(t.node.ancestry)),new Set);n.incomplete=n.incomplete.filter(e=>r.has(JSON.stringify(e.node.ancestry))),t.incomplete=[],t.violations.length>0?t.result="failed":t.passes.length>0?t.result="passed":t.result="inapplicable"}}),se=n.cw(function(e,t){t.dedupeImageDescription=void 0,t.dedupeImageDescription=function(e){const t=e.find(({id:e})=>"image-alt"===e),n=e.find(({id:e})=>"recorder/image-description"===e);if(!t||!n)return;const r=(e.find(({id:e})=>"image-alt"===e)?.violations??[]).reduce((e,t)=>e.add(JSON.stringify(t.node.ancestry)),new Set);n.incomplete=n.incomplete.filter(e=>!r.has(JSON.stringify(e.node.ancestry))),0===n.incomplete.length&&(n.result="inapplicable")}}),ae=n.cw(function(e,t){t.limitRecorderResultsNodes=void 0;const n=Z();function r(e,t){const n={...e,passes:[],incomplete:[],violations:[]};let r=0;const o=["violations","incomplete","passes"];for(const i of o){const o=Math.min(e[i].length,t-r);n[i]=e[i].slice(0,o),r+=o}return n}function o(e){return e.passes.length+e.incomplete.length+e.violations.length}t.limitRecorderResultsNodes=function(e,t=n.NODE_LIMIT){const i=e.map((e,t)=>({result:e,nodeCount:o(e),originalIndex:t}));i.sort((e,t)=>e.nodeCount-t.nodeCount);let s=t,a=null;const c=new Array(e.length);for(let e=0;e<i.length;e++){const{result:t,nodeCount:n,originalIndex:o}=i[e];if(null!==a){c[o]=r(t,a);continue}const l=i.length-e,u=Math.floor(s/l);n>u?(a=u,c[o]=r(t,a)):(c[o]=t,s-=n)}return c}}),ce=n.cw(function(e,t){t.recorderAsyncReporter=void 0;const n=Pr(),r=le(),o=ie(),i=se(),s=ae();t.recorderAsyncReporter=async(e,t,a)=>{(0,o.dedupeContrastResults)(t),(0,i.dedupeImageDescription)(t);const c=t.filter(e=>!e.tags.includes("advanced")),l=t.filter(e=>e.tags.includes("advanced")),u=await(0,r.v1AdvancedAsyncReporter)(e,c,a),d=await new Promise((t,n)=>{e.getReporter("raw")(l,a,t,n)});return{...u,advancedRuleInput:{recorderResults:(0,s.limitRecorderResultsNodes)(d),recorderSpec:{branding:e._audit.brand,lang:e._audit.lang,coreVersion:e.version,recorderVersion:n.version},runOptions:u.toolOptions,testEnvironment:u.testEnvironment,url:u.url}}}}),le=n.cw(function(e,t){t.v1AdvancedAsyncReporter=void 0;const n=["passes","incomplete","violations"];function r(e,t,n){const r=o.bind(null,e,t),s=n.nodes.map(n=>{const o=i(n.ancestry);return!0!==t.ancestry&&delete n.ancestry,{...n,any:n.any.map(r),all:n.all.map(r),none:n.none.map(r),advanced:e.get(o)}});return{...n,nodes:s}}function o(e,t,{relatedNodes:n,...r}){return n?{...r,relatedNodes:n.map(n=>{const r=i(n.ancestry);!0!==t.ancestry&&delete n.ancestry;const o=e.get(r);return{...n,advanced:o}})}:r}t.v1AdvancedAsyncReporter=async function(e,t,o){const s=function(e,t){const r={selectors:!1,ancestry:!0},o=e=>t.utils.nodeSerializer.dqElmToSpec(e,r),s=new Map;for(const t of e)for(const e of n)for(const n of t[e]){for(const e of["any","all","none"])n[e].forEach(e=>e.relatedNodes?.forEach(e=>{const t=o(e);s.set(i(t.ancestry),t.advanced)}));const e=o(n.node);s.set(i(e.ancestry),e.advanced)}return s}(t,e),a=r.bind(null,s,o),c=await new Promise((n,r)=>{const i=e.getReporter("v1"),s={...o,ancestry:!0};i(t,s,n,r)});return{...c,passes:c.passes.map(a),violations:c.violations.map(a),incomplete:c.incomplete.map(a),inapplicable:c.inapplicable.map(a)}};const i=e=>e.flat().join(" >>> ")}),ue=n.cw(function(e,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.advancedRuleSpecs=void 0;const r=n(fe()),o=n(he()),i=n(ge()),s=n(ye()),a=n(pe()),c=n(me()),l=n(de());t.advancedRuleSpecs={[r.default.id]:r.default,[o.default.id]:o.default,[i.default.id]:i.default,[s.default.id]:s.default,[a.default.id]:a.default,[c.default.id]:c.default,[l.default.id]:l.default}}),de=()=>n(7451),fe=()=>n(2131),he=()=>n(5699),pe=()=>n(2820),me=()=>n(5003),ge=()=>n(8822),ye=()=>n(6741),be=n.cw(function(e,t){t.recorderChecks=void 0;const n=De(),r=ke(),o=we(),i=Pe(),s=Oe();t.recorderChecks=[n.textContrastCheck,r.screenshotFeaturesCheck,o.focusVisibleCheck,i.imageDescriptionCheck,s.formStructureCheck]}),ve=n.cw(function(e,t){t.findFocusListeners=void 0;const n=/^([^ :>]+):nth-child\(\d+\)/;function r(e,t,n={}){if(t.length<=e.length&&t.every((t,n)=>o(e[n],t)))return!0;if(!n.matchAncestor)return!1;const r=Math.min(t.length,e.length)-1;return!!e.slice(0,r).every((e,n)=>o(e,t[n]))&&!!o(e[r],t[r],n)}function o(e,t,{matchAncestor:r}={}){return!t.startsWith("html")&&!e.match(n)&&(t=t.replace(n,"$1")),r?e.startsWith(t):e===t}t.findFocusListeners=function(e,t){return t.filter(t=>{if(t.ancestry.length!==e.length)return!1;const n="focusin"===t.type||t.useCapture;for(let o=0;o<t.ancestry.length;o++){if(!r(i(e[o]),i(t.ancestry[o]),{matchAncestor:n&&o===t.ancestry.length-1}))return!1}return!0})};const i=e=>Array.isArray(e)?e:[e]}),we=n.cw(function(e,t){t.focusVisibleCheck=t.p=void 0;const n=L(),r=S(),o=i(),s="incomplete";t.p=3,t.focusVisibleCheck={id:"recorder/focus-visible",options:{},async evaluate({background:e,domNode:o}){if(!e)return{result:s,data:{checkVersion:t.p}};const[i,a]=await Promise.all([c(e),(0,n.getAllStyleSheets)(e)]),l=(0,r.findFocusIndicators)(o,a);let u=0;const d=new Map,f=l.map(({elm:e,pseudoElm:t})=>{if(e===o)return{relatedNodeIndex:-1,...t?{pseudoElm:t}:{}};let n=d.get(e)??-1;return-1===n&&(n=u,d.set(e,n),u++),{relatedNodeIndex:n,...t?{pseudoElm:t}:{}}}),h=new Array(u);d.forEach((e,t)=>{h[e]=t});const p={checkVersion:t.p,possibleIndicators:f,frameId:i};return{result:s,data:p,relatedNodes:h}}};const a=Symbol("background.getFrameId");async function c(e){return o.cache.getAsync(a,async()=>(await e.getFrameId()).frameId)}}),Se=n.cw(function(e,t){t.focusVisibleMatches=void 0;const n=b(),r=w();t.focusVisibleMatches=function({vNode:e,domNode:t,axe:i}){return!!(0,r.isFocusableMedia)({vNode:e,axe:i})||!(!i.commons.dom.isInTabOrder(e)||function(e,t){if("input"===e.props.nodeName)return!o.has(e.props.type);if("textarea"===e.props.nodeName)return!0;return(0,n.isContentEditable)(t)}(e,t))};const o=new Set(["button","checkbox","color","file","image","radio","range","reset","submit"])}),Ee=n.cw(function(e,t){t.focusVisible=void 0;const n=we(),r=o(),i=ve(),s=Se();t.focusVisible={id:"recorder/css-focus-visible",excludeHidden:!1,selector:"a, area, audio, button, input, select, summary, textarea, video, [tabindex]",matches:s.focusVisibleMatches,tags:["advanced"],any:[n.focusVisibleCheck.id],async asyncAfter({rawRuleResult:e,background:t}){const n=function(e){const t=[];return e.forEach(e=>{const n=e.any[0].data,o=e.any[0].relatedNodes;if(a(n)&&n.possibleIndicators.length){const i=n.possibleIndicators.map(({pseudoElm:t,relatedNodeIndex:n})=>{let i=e.node.ancestry[e.node.ancestry.length-1];if(-1!==n){const e=`relatedNode ${n} not found`;(0,r.assert)(o?.[n],e);const t=o[n].ancestry;i=t[t.length-1]}return{selector:i,...t?{pseudoElm:t}:{}}});t.push({...n,ancestry:e.node.ancestry,possibleIndicators:i})}}),t}(e.incomplete);let o={},s=[];if(t){const e=await Promise.all([t.getComputedFocusStyles({focusTriggers:n}),t.getEventListeners({types:["focus","focusin"]})]);o=e[0].computedFocusStylesMap,s=e[1].listeners}return e.incomplete.forEach(e=>{e.any[0].data=function(e,t,n){const r=e.any[0].data,{checkVersion:o}=r;if(!a(r))return{checkVersion:o};const s=JSON.stringify(e.node.ancestry),c=t[s],l=(0,i.findFocusListeners)(e.node.ancestry,n);if(!c)return{checkVersion:o};return{checkVersion:o,focusIndicators:c.focusIndicators,error:c.error,focusListeners:l}}(e,o,s)}),e}};const a=e=>!!e.possibleIndicators}),Oe=n.cw(function(e,t){t.formStructureCheck=t.p=void 0;const n=$(),r=Ce(),o=Te(),i=Ie();t.p=1;const s=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]);function a(e){return(e.attr("placeholder")??e.attr("aria-placeholder")??"").trim()}function c(e,t){const n=e.props?.nodeName;return"select"===n||"textarea"===n||!("input"!==n||!t)&&!s.has(t)}function l(e){const t=e.props?.nodeName;return("input"===t||"textarea"===t)&&e.hasAttr("readonly")}t.formStructureCheck={id:"recorder/form-structure",options:{},evaluate({vNode:e,axe:s}){const u=s.commons.text.accessibleTextVirtual(e),d=(0,r.getNearestForm)(e),f=function(e){if("input"!==e.props?.nodeName)return null;return e.props?.type??null}(e);return{data:{checkVersion:t.p,accessibleName:u,role:s.commons.aria.getRole(e,{noPresentational:!0}),accessibleDescription:(0,n.getAccDescription)(e,u),placeholder:a(e),inputType:f,autocompleteValue:(e.attr("autocomplete")??"").trim(),autocompleteSupport:c(e,f),fieldsetNames:(0,o.getFieldsetNames)(e),nearestHeadingText:(0,i.getPreviousHeading)(e),isDisabled:s.commons.forms.isDisabled(e),isInert:s.commons.dom.isInert(e),isReadonly:l(e)},result:"incomplete",relatedNodes:d?[d]:[]}}}}),xe=n.cw(function(e,t){t.formStructureMatches=void 0;const n=new Set(["textbox","spinbutton","combobox","checkbox","radio","switch","slider","listbox","searchbox"]),r=new Set(["input","select","textarea"]);t.formStructureMatches=function({vNode:e,axe:t}){const o=t.commons.aria.getRole(e);if(null===o){const t=e.props.nodeName;return r.has(t)}return!!n.has(o)}}),Ae=n.cw(function(e,t){t.formStructure=void 0;const n=Oe(),r=xe();t.formStructure={id:"recorder/form-structure",selector:"input, select, textarea, [role]",excludeHidden:!0,matches:r.formStructureMatches,tags:["advanced","AI"],any:[n.formStructureCheck.id]}}),Te=n.cw(function(e,t){t.getFieldsetNames=void 0;const n=i(),r=a(),o=Symbol("FIELDSET_NAMES"),s=n.cache.child(o);t.getFieldsetNames=function e(t){return s.get(t,()=>{const n=t.parent;if(!n)return[];const o=e(n),i=n.props?.nodeName,s=r.axe.commons.aria.getRole(n,{noPresentational:!0});if(!("fieldset"===i)&&!("group"===s))return o;const a=r.axe.commons.text.accessibleTextVirtual(n).trim();return a?[a,...o]:o})}}),Ce=n.cw(function(e,t){t.getNearestForm=void 0;const n=o(),r=i(),s=a(),c=Symbol("NEAREST_FORM"),l=r.cache.child(c);t.getNearestForm=function e(t){return l.get(t,()=>{const r=t.parent;if(!r)return null;if("form"===r.props?.nodeName){const e=r.actualNode;return(0,n.assert)(e instanceof Element,"form element is not an Element"),e}if("form"===s.axe.commons.aria.getRole(r)){const e=r.actualNode;return(0,n.assert)(e instanceof Element,"form element is not an Element"),e}return e(r)})}}),Ie=n.cw(function(e,t){t.getPreviousHeading=void 0;const n=i(),r=a(),o=Symbol("PREVIOUS_HEADING"),s=n.cache.child(o);function c(e){const t=e.children??[];return 0===t.length?e:c(t[t.length-1])}t.getPreviousHeading=function e(t){return s.get(t,()=>{const n=t.parent;if(!n)return"";const o=function(e){const t=e.parent?.children??[],n=t.indexOf(e);if(n<1)return;return c(t[n-1])}(t)??n;return function(e){const t=r.axe.commons.aria.getRole(e);return"heading"===t}(o)?r.axe.commons.text.accessibleTextVirtual(o):e(o)})}}),Pe=n.cw(function(e,t){t.imageDescriptionCheck=t.p=void 0;const n=$(),r=q();t.p=1,t.imageDescriptionCheck={id:"recorder/image-description",options:{},evaluate({vNode:e,axe:o}){const i=o.commons.text.accessibleTextVirtual(e),s=(0,n.getAccDescription)(e,i),a=(0,r.getObscuredRects)(e);return{data:{checkVersion:t.p,label:i,description:s,obscuredRects:a},result:"incomplete"}}}}),Ne=n.cw(function(e,t){t.imageDescriptionMatches=void 0;const n=a(),r=W(),o=q();t.imageDescriptionMatches=function({domNode:e,vNode:t}){const i=(0,o.getObscuredRects)(t);return 0!==n.axe.commons.math.splitRects(t.boundingClientRect,i).length&&(e instanceof HTMLImageElement&&e.complete&&e.naturalHeight>0&&!(0,r.isInAccessibleText)(t))}}),je=n.cw(function(e,t){t.imageDescription=void 0;const n=Pe(),r=Ne();t.imageDescription={id:"recorder/image-description",selector:"img",matches:r.imageDescriptionMatches,tags:["advanced","AI"],any:[n.imageDescriptionCheck.id]}}),Re=n.cw(function(e,t){t.recorderRules=void 0;const n=Le(),r=_e(),o=je(),i=Ee(),s=Ae();t.recorderRules=[n.textContrast,r.screenshotFeatures,o.imageDescription,i.focusVisible,s.formStructure]}),ke=n.cw(function(e,t){t.screenshotFeaturesCheck=t.p=void 0;const n=a(),r=Y();t.p=5;function o(e){if(!e?.parent||"body"===e.props.nodeName)return[];const t=o(e.parent),r=n.axe.commons.aria.getRole(e,{noPresentational:!0});return r?t.concat(r):t}t.screenshotFeaturesCheck={id:"recorder/screenshot-features",options:{},evaluate({vNode:e,axe:n}){const i=(0,r.getTextContentRect)(e),s=n.commons.dom.isVisibleOnScreen(e),a=o(e),c=n.commons.aria.getRole(e,{noPresentational:!1}),l=n.commons.dom.isFocusable(e),u=!!i;return{data:{checkVersion:t.p,contentRect:i,roles:a,visible:s,role:c,focusable:l,hasChildTextNodes:u},result:"incomplete"}}}}),Me=n.cw(function(e,t){t.screenshotFeaturesMatches=void 0,t.screenshotFeaturesMatches=function(e){const{vNode:t,axe:n}=e;return!(!n.commons.dom.isFocusable(t)&&!function({vNode:e,axe:t}){const n=t.commons.aria.getRoleType(e);return"widget"===n||"composite"===n}(e))||!!function({vNode:e,axe:t}){return t.commons.dom.isVisibleOnScreen(e)&&t.commons.dom.hasContentVirtual(e,!0,!0)}(e)}}),_e=n.cw(function(e,t){t.screenshotFeatures=void 0;const n=ke(),r=Me();t.screenshotFeatures={id:"recorder/screenshot-features",selector:"*",matches:r.screenshotFeaturesMatches,excludeHidden:!0,tags:["advanced","AI"],any:[n.screenshotFeaturesCheck.id]}}),De=n.cw(function(e,t){t.textContrastCheck=t.p=void 0;const n=H(),r=Fe(),o=Ve(),i=G();t.p=4,t.textContrastCheck={id:"recorder/text-contrast",options:{},evaluate({vNode:e}){const s=(0,n.getWordRects)(e);return{data:{checkVersion:t.p,rects:(0,i.dropObscuredRects)(e,s),fontSize:parseFloat(e.getComputedStylePropertyValue("font-size")),fontWeight:parseFloat(e.getComputedStylePropertyValue("font-weight")),ownCss:(0,o.getOwnCssProps)(e),ancestorCss:(0,r.getAncestorCssProps)(e)},result:"incomplete"}}}}),Le=n.cw(function(e,t){t.textContrast=void 0;const n=De();t.textContrast={id:"recorder/text-contrast",matches:"color-contrast-matches",excludeHidden:!1,tags:["advanced"],all:[n.textContrastCheck.id]}}),Fe=n.cw(function(e,t){t.getAncestorCssProps=t.D=void 0,t.D=[{name:"-webkit-background-clip",ignore:/box/},{name:"background-clip",ignore:/box/},{name:"filter",ignore:"none"},{name:"mix-blend-mode",ignore:"normal"},{name:"opacity",ignore:"1"},{name:"rotate",ignore:"none"},{name:"scale",ignore:"none"},{name:"text-decoration-line",ignore:/none/},{name:"text-decoration",ignore:"none"},{name:"text-underline-offset",ignore:"auto"},{name:"transform",ignore:"none"},{name:"transform-box",ignore:"view-box"}],t.getAncestorCssProps=function e(r){if(!r)return[];const o=[];for(const{name:e,ignore:i}of t.D){const t=r.getComputedStylePropertyValue(e);t&&!n(i,t)&&o.push([e,t])}const i=e(r.parent),s=Object.fromEntries(o);return s["text-decoration-line"]||delete s["text-decoration"],Object.keys(s).length>0&&i.push(s),i};const n=(e,t)=>e instanceof RegExp?e.test(t):t===e}),Ve=n.cw(function(e,t){t.getOwnCssProps=t.H=void 0,t.H=["color","font","font-palette","text-emphasis","text-shadow","-webkit-text-stroke"],t.getOwnCssProps=function(e){const n={};for(const r of t.H)n[r]=e.getComputedStylePropertyValue(r);return n}}),Be=n.cw(function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},r=this&&this.__generator||function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var i,s,a,c=ln();function l(e,t,n){for(var r=null,o=[],a=e,l=0,d=function(){var e=g(function(e){var t=e.getAttribute("id");if(t&&s.idName(t))return{name:"#"+c(t,{isIdentifier:!0}),penalty:0};return null}(a))||g.apply(void 0,function(e){var t=Array.from(e.attributes).filter(function(e){return s.attr(e.name,e.value)});return t.map(function(e){return{name:"["+c(e.name,{isIdentifier:!0})+'="'+c(e.value)+'"]',penalty:.5}})}(a))||g.apply(void 0,function(e){var t=Array.from(e.classList).filter(s.className);return t.map(function(e){return{name:"."+c(e,{isIdentifier:!0}),penalty:1}})}(a))||g(function(e){var t=e.tagName.toLowerCase();if(s.tagName(t))return{name:t,penalty:2};return null}(a))||[{name:"*",penalty:3}],d=function(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;var r=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}(a);if(t===i.All)d&&(e=e.concat(e.filter(m).map(function(e){return p(e,d)})));else if(t===i.Two)e=e.slice(0,1),d&&(e=e.concat(e.filter(m).map(function(e){return p(e,d)})));else if(t===i.One){var f=(e=e.slice(0,1))[0];d&&m(f)&&(e=[p(f,d)])}for(var h=0,y=e;h<y.length;h++){(f=y[h]).level=l}if(o.push(e),o.length>=s.seedMinLength&&(r=u(o,n)))return"break";a=a.parentElement,l++};a&&a!==s.root.parentElement;){if("break"===d())break}return r||(r=u(o,n)),r}function u(e,t){var n=v(b(e));if(n.length>s.threshold)return t?t():null;for(var r=0,o=n;r<o.length;r++){var i=o[r];if(h(i))return i}return null}function d(e){for(var t=e[0],n=t.name,r=1;r<e.length;r++){var o=e[r].level||0;n=t.level===o-1?e[r].name+" > "+n:e[r].name+" "+n,t=e[r]}return n}function f(e){return e.map(function(e){return e.penalty}).reduce(function(e,t){return e+t},0)}function h(e){switch(a.querySelectorAll(d(e)).length){case 0:throw new Error("Can't select any node with this selector: "+d(e));case 1:return!0;default:return!1}}function p(e,t){return{name:e.name+":nth-child("+t+")",penalty:e.penalty+1}}function m(e){return"html"!==e.name&&!e.name.startsWith("#")}function g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(y);return n.length>0?n:null}function y(e){return null!=e}function b(e,t){var n,i,s;return void 0===t&&(t=[]),r(this,function(r){switch(r.label){case 0:if(!(e.length>0))return[3,5];n=0,i=e[0],r.label=1;case 1:return n<i.length?(s=i[n],[5,o(b(e.slice(1,e.length),t.concat(s)))]):[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[3,7];case 5:return[4,t];case 6:r.sent(),r.label=7;case 7:return[2]}})}function v(e){return Array.from(e).sort(function(e,t){return f(e)-f(t)})}function w(e,t,n){var i,c,l;return void 0===n&&(n={counter:0,visited:new Map}),r(this,function(r){switch(r.label){case 0:if(!(e.length>2&&e.length>s.optimizedMinLength))return[3,5];i=1,r.label=1;case 1:return i<e.length-1?n.counter>s.maxNumberOfTries?[2]:(n.counter+=1,(c=e.slice()).splice(i,1),l=d(c),n.visited.has(l)?[2]:h(c)&&function(e,t){return a.querySelector(d(e))===t}(c,t)?[4,c]:[3,4]):[3,5];case 2:return r.sent(),n.visited.set(l,!0),[5,o(w(c,t,n))];case 3:r.sent(),r.label=4;case 4:return i++,[3,1];case 5:return[2]}})}!function(e){e[e.All=0]="All",e[e.Two=1]="Two",e[e.One=2]="One"}(i||(i={})),t.default=function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===e.tagName.toLowerCase())return"html";var r={root:document.body,idName:function(e){return!0},className:function(e){return!0},tagName:function(e){return!0},attr:function(e,t){return!1},seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4};s=n({},r,t),a=function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return e;if(e===t.root)return e.ownerDocument;return e}(s.root,r);var o=l(e,i.All,function(){return l(e,i.Two,function(){return l(e,i.One)})});if(o){var c=v(w(o,e));return c.length>0&&(o=c[0]),d(o)}throw new Error("Selector was not found.")}}),$e=n.cw(function(e,t){n.d(t,["rt",0,"internals:gather","w8",0,"internals:feature-enabled"])}),He=n.cw(function(e,t){n.d(t,["pW",0,"AxeChrome"])}),We=n.cw(function(e,t){n.d(t,["JV",0,'li, dt, [role="listitem"]',"NF",0,'h1, h2, h3, h4, h5, h6, [role="heading"]',"Pc",0,["children","previousSiblings","previousSibling","ancestors","slotAncestors","slotChildren","element","source","groot"],"Po",0,'dl:not([role]), ol:not([role]), ul:not([role]), [role="list"]',"QC",0,["group","groupId","groupSelector","groupVnodeIds","define-group"]])}),ze=n.cw(function(e,t){jn();const r=e=>{var t,n;if(null!==(t=e.element)&&void 0!==t&&t.isConnected)return e.element;if(null!==(n=e.selector)&&void 0!==n&&n.length)try{const t=(0,_t().A)(e.selector);if(t)return t}catch{}return null},o=async e=>{let t=!1;if(function(e){return e instanceof jn().UV}(e)&&(t=e.isCrossOrigin),!t){const t=r(e);if(t)return t}return(0,Ue().A)(e.selector)};n.d(t,["A",0,o,"O",0,r])}),Ue=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Rn();const s=async e=>{if(!e||0===e.length)return null;const t=await Rn().yS.send(Rn()._O.content,"selector:identify",{selector:e});if(!Array.isArray(t)||null==t||!t.length)return null;const n=t.pop(),r=await Rn().yS.send(Rn()._O.content,"highlight:get-node-metadata",{selector:n.selector},{frameId:n.frameId});if(!r)return null;const[i,...s]=await Promise.all([n,...t].map(e=>Rn().yS.send(Rn()._O.content,"highlight:get-element-layout",{selector:e.selector},{frameId:e.frameId}))),a=s.reduce((e,t)=>({top:e.top+t.offsetTop+t.border.top,left:e.left+t.offsetLeft+t.border.left}),{top:0,left:0});return o(o({},r),{},{selector:e,frameId:n.frameId,layout:o(o({},i),{},{top:i.top+a.top,left:i.left+a.left})})};n.d(t,["A",0,s])}),Ge=n.cw(function(e,t){n.d(t,["M",0,(e,t,n=[])=>{var r;const o=null==e?void 0:e.capturedRegion;if(!o||!t)return!1;const i=(0,Pt().CR)(n);return(0!==i.frameCount||(null===(r=t.ownerDocument)||void 0===r?void 0:r.defaultView)===window.top)&&!(0,Tt().AI)(((e,t={left:0,top:0})=>{const n=e.getBoundingClientRect(),r=n.left+t.left+window.scrollX,o=n.top+t.top+window.scrollY;return{left:r,top:o,right:r+n.width,bottom:o+n.height}})(t,i),o)}])}),qe=n.cw(function(e,t){async function r(e){if(window.frames.length>0){const t=500,n=Promise.all(Array.from(window.frames).map(t=>(0,Qt().A)(t,"axe:ping",e).catch(()=>{}))),r=new Promise(e=>setTimeout(e,t));await Promise.race([n,r])}}async function o(e,{registerElementInternals:t=!0}={}){var n,o,i,s,a,c;const l=(0,Nt().s)(e);if(!l&&!(0,Rt().Ay)(e))return!1;if(l&&window.axe||null!==(n=window.axeVersions)&&void 0!==n&&n[xt().e[e]]){if(t){const t=l?window.axe:window.axeVersions[xt().e[e]];await(0,Je().A)(t)}return await r(e),!0}let u;try{u=await async function(e){let t;globalThis.define=(e,n,r)=>{"axe-core"===e&&(t=r())},globalThis.define.amd=!0;const n=xt().e[e],r=async()=>await import(browser.runtime.getURL(`axe-versions/${"latest"===e?e:n}/axe.js`));if(window.axeVersions=window.axeVersions||{},"latest"===e)await r();else if(!window.axeVersions[n]){const e=window.axe;await r(),void 0!==e?window.axe=e:delete window.axe,window.axeVersions[n]=t}return delete globalThis.define,t}(l?"latest":e)}catch{return!1}const d=["wcag22aaa","wcag22aa","wcag22a","wcag21aaa","wcag2aaa"],f=[];if("function"==typeof(null===(o=u)||void 0===o?void 0:o.getRules))for(const{ruleId:e}of u.getRules(d)){u.utils.getRule(e).enabled||f.push(e)}null===(i=u)||void 0===i||i.configure({branding:{brand:"axe",application:He().pW},rules:f.map(e=>({id:e,enabled:!0}))});const h=l||null===(s=u)||void 0===s||!s.version?"axe-frame-messenger":`axe-frame-messenger@${u.version}`;return null===(a=u)||void 0===a||null===(c=a.frameMessenger)||void 0===c||c.call(a,{post:async(e,t,n)=>{n(await(0,Qt().A)(e,h,t,{timeout:"axe.ping"===t.topic?5e3:6e4}))},open:e=>{Rn().yS.listen(h,async({message:t})=>await new Promise(n=>{e(t,e=>{n(JSON.parse(JSON.stringify(e)))})}))}}),t&&await(0,Je().A)(u),await r(e),!0}n.d(t,{A:()=>o}),Qt(),Rn(),Rt(),Nt(),Je()}),Je=n.cw(function(e,t){n.d(t,{A:()=>s}),Rn();const r=5e3;let o=null,i=!1;async function s(e){const t=e;"function"==typeof(null==t?void 0:t.externalAPIs)&&await async function(){try{return!0===await Rn().yS.send(Rn()._O.background,$e().w8)}catch{return!1}}()&&(i||(i=!0,document.addEventListener("axe-set-frame-uuid",e=>{const t=e.detail;o="string"==typeof(null==t?void 0:t.uuid)?t.uuid:null}),document.addEventListener("axe-clear-frame-uuid",()=>{o=null})),t._enableElementInternals=!0,t.externalAPIs({elementInternalsTimeout:r,getElementInternals:()=>async function(){try{if(!o)return[];const e=await Rn().yS.send(Rn()._O.background,$e().rt,{uuid:o});return Array.isArray(e)?e:[]}catch(e){return console.error("axe element-internals: gather failed, continuing without internals",e),[]}}()}))}}),Ye=n.cw(function(e,t){n.d(t,["Q",0,e=>e.matches(":modal")])}),Ke=n.cw(function(e,t){function r(e){return Object.entries(e).filter(([e])=>!We().Pc.includes(e)).reduce((e,[t,n])=>(e[t]=n,e),{})}n.d(t,{A:()=>r})}),Xe=n.cw(function(e,t){const r=(e,t)=>{const{defaultView:n,documentElement:r}=e.ownerDocument;return n&&n!==n.top?{left:Math.max(t.left,0),top:Math.max(t.top,0),right:Math.min(t.right,r.clientWidth),bottom:Math.min(t.bottom,r.clientHeight)}:t};n.d(t,["k",0,(e,t)=>{const n=e.getBoundingClientRect();if(!t)return n;let{left:o,top:i,right:s,bottom:a}=n;for(const n of e.querySelectorAll(t)){const e=r(n,n.getBoundingClientRect());e.right<=e.left||e.bottom<=e.top||(o=Math.min(o,e.left),i=Math.min(i,e.top),s=Math.max(s,e.right),a=Math.max(a,e.bottom))}return{x:o,y:i,left:o,top:i,right:s,bottom:a,width:s-o,height:a-i}}])}),Ze=n.cw(function(e,t){n.d(t,{S:()=>r}),Rn();class r{constructor(e){this.highlighter=e,this.replayInProgress=!1,this.tabStops=[],this.startReplay=this.startReplay.bind(this),this.stopReplay=this.stopReplay.bind(this)}setTabStops(e){this.tabStops=e}attach(){Rn().yS.listen("tab-record:replay-start",this.startReplay),Rn().yS.listen("tab-record:replay-stop",this.stopReplay)}detach(){Rn().yS.unlisten("tab-record:replay-start",this.startReplay),Rn().yS.unlisten("tab-record:replay-stop",this.stopReplay)}async startReplay(){await this.highlighter.clearHighlights(),this.replayInProgress=!0;for(const e of this.tabStops){if(!this.replayInProgress)return;const t=this.highlighter.createHighlighter(e);t.highlight({theme:"badge",showMetadata:!1,showTooltip:!1}),t.scrollIntoView({behavior:"instant"}),await new Promise(e=>setTimeout(e,300))}Rn().yS.send(Rn()._O.devtools,"tab-record:replay-complete")}async stopReplay(){this.replayInProgress=!1,this.highlighter.clearHighlights(),this.showHighlighters()}showHighlighters(){this.highlighter.showHighlights(),this.tabStops.filter(e=>!this.highlighter.highlighterExists(e)).forEach(e=>{const t=this.highlighter.createHighlighter(e);null==t||t.highlight({theme:"badge",showMetadata:!1,showTooltip:!1})})}}}),Qe=n.cw(function(e,t){async function r(e,t){!e||"function"!=typeof e.getAnimations||t<=0||await Promise.race([Promise.all(e.getAnimations({subtree:!0}).map(e=>e.finished.catch(()=>{}))),(0,jt().y)(t)])}n.d(t,{M:()=>r})}),et=n.cw(function(e,t){n.d(t,{a:()=>y}),kt();const r=900,o=600,i=250,s=500,a=e=>{try{return!0===kt().Ay.isOffscreen(e)||!1===kt().Ay.isVisible(e)}catch{return!1}},c=(e,t)=>"0"===t.opacity||"hidden"===t.visibility?e:(e=>{let t=e.parentElement;for(;t;){if("0"===getComputedStyle(t).opacity)return t;t=t.parentElement}return null})(e),l=new Set(["all","opacity","visibility","transform","translate","top","left","right","bottom","clip","clip-path","height","max-height","filter"]),u=e=>{const t=(e.transitionProperty||"").split(","),n=(e.transitionDuration||"").split(",");return t.some((e,t)=>!!l.has(e.trim())&&parseFloat(n[t%n.length])>0)},d=e=>{const{opacity:t,visibility:n}=getComputedStyle(e),{top:r,left:o,width:i,height:s}=e.getBoundingClientRect();return`${t}|${n}|${r},${o},${i},${s}`},f=e=>e.map(d).join("#"),h=e=>"function"==typeof(null==e?void 0:e.matches),p=()=>new Promise(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(()=>e()):setTimeout(e,16)}),m=async(e,t)=>{for(;e()&&performance.now()<t;)await p()},g=async(e,t)=>{let n=f(e),r=performance.now();for(;performance.now()<t;){await p();const t=f(e);if(t===n){if(performance.now()-r>=50)return}else n=t,r=performance.now()}};async function y(e,t=r){if(!h(e)||"function"!=typeof getComputedStyle)return;let n=performance.now()+t;const l=()=>n-performance.now(),d=getComputedStyle(e),p=c(e,d),y=!p&&a(e);if(!p&&!y)return;const b=p&&p!==e?[e,p]:[e],v=f(b),w=()=>f(b)===v,S=p&&p!==e?getComputedStyle(p):d,E=Math.min(n,performance.now()+(u(S)?s:i));if(await Promise.race([m(w,E),(0,jt().y)(E-performance.now())]),w())return;n=performance.now()+Math.min(o,t),l()>0&&await Promise.race([g(b,n),(0,jt().y)(l())]);const O=l();await Promise.all(b.map(e=>(0,Qe().M)(e,O)))}}),tt=n.cw(function(e,t){kt();const r=(e,t=!1,n=new Set)=>{if(n.has(e))return[];n.add(e);const o=e.getRootNode(),i=e.id?Array.from(o.querySelectorAll(`[for="${e.id}"]`)):[];"FIELDSET"===e.tagName&&e.firstElementChild&&"LEGEND"===e.firstElementChild.tagName&&i.push(e.firstElementChild);const s=e.getAttribute("aria-labelledby"),a=e.getAttribute("aria-describedby"),c=e=>e?e.split(" "):[],l=[...c(s),...c(a)].filter(Boolean).map(e=>o.getElementById(e)),u=[...i,...l].filter(Boolean).map(e=>r(e,!1,n)).flat(),d=new Set([e,...l,...u]);return t&&d.delete(e),[...d]};n.d(t,["e",0,(e,t)=>{kt().Ay.setupTrees();const n=r(e,!0).filter(e=>e&&kt().Ay.isVisible(e)).map(e=>(0,Ke().A)((0,wt().t)(t.get(e))));return kt().Ay.cleanupTrees(),n}])}),nt=n.cw(function(e,t){function r(e){kt().Ay.setupTrees();const t=e.getAttribute("aria-labelledby");if(t){const e=t.split(" ");if(null!=e&&e.length){return e.map(e=>{const t=document.getElementById(e);return t?kt().Ay.name(t):""}).join(" ")}}kt().Ay.cleanupTrees();const n=e.getAttribute("aria-label");if(n)return kt().Ay.sanitize(n);if("FIELDSET"===e.tagName){var r;const t=kt().Ay.name(e.firstElementChild);return"LEGEND"===(null===(r=e.firstElementChild)||void 0===r?void 0:r.tagName)&&t}return null}n.d(t,{A:()=>r}),kt()}),rt=n.cw(function(e,t){function r(e){return!!e.selector&&e.selector.length>1}async function o(e,t){const n=await Rn().yS.send(Rn()._O.content,"selector:identify",{selector:e});if(!Array.isArray(n)||0===n.length)return{tagged:!1,frameURL:null};const r=n[n.length-1],o=await Rn().yS.send(Rn()._O.content,"igt:inspect:tag-selector",{selector:r.selector,token:t},{frameId:r.frameId});return{tagged:!(null==o||!o.tagged),frameURL:r.frameURL??null}}async function i(e,t,n=Ue().A){for(const o of t){const t=e.getById(o);if(t){if((0,ze().O)(t))return{exists:!0};if(r(t)&&await n(t.selector))return{exists:!0}}}return{exists:!1}}async function s(e,t,n,i,s=o){const a=e.getById(n),c=a?(0,ze().O)(a):null;if(c){var l;(0,At().sp)(t,c,i);const e=c.ownerDocument;return{tagged:!0,frameURL:e&&e!==t?(null===(l=e.location)||void 0===l?void 0:l.href)??null:null}}if(a&&r(a)){const{tagged:e,frameURL:t}=await s(a.selector,i);return{tagged:e,frameURL:t}}return{tagged:!1,frameURL:null}}n.d(t,{c:()=>i,i:()=>s}),Rn()}),ot=n.cw(function(e,t){n.d(t,{UD:()=>y,iF:()=>m,kA:()=>g,lr:()=>p});const r=200,o=16384,i=1,s=["hidden","clip","auto","scroll"],a=e=>s.includes(e);function c(e,t){const{overflowX:n}=getComputedStyle(e);return!!a(n)&&(e.scrollWidth>e.clientWidth+i||function(e,t){if(!t)return!1;const n=e.getBoundingClientRect();return t.left<n.left-i||t.right>n.right+i}(e,t))}function l(e,t){const{overflowY:n}=getComputedStyle(e);return!!a(n)&&(e.scrollHeight>e.clientHeight+i||function(e,t){if(!t)return!1;const n=e.getBoundingClientRect();return t.top<n.top-i||t.bottom>n.bottom+i}(e,t))}function u(e){if(e===document.scrollingElement)return!0;if(e!==document.body)return!1;const{overflowX:t,overflowY:n}=getComputedStyle(document.documentElement);return"visible"===t&&"visible"===n}function d(e,t){const n=t??e.getBoundingClientRect(),r=[];for(let t=e.parentElement;t&&t!==document.documentElement;t=t.parentElement){if(u(t))continue;const{overflowX:e,overflowY:o}=getComputedStyle(t),s=a(e),c=a(o);if(!s&&!c)continue;const d=t.getBoundingClientRect(),f=s&&(n.right>d.right+i||n.left<d.left-i),h=c&&(n.bottom>d.bottom+i||n.top<d.top-i);(f||h)&&r.push({element:t,clipsVertically:h||l(t)})}return r}function f(e,t){return d(e,t).length>0}function h(e,t){return c(e,t)||l(e,t)}function p(e){return h(e)}function m(e,t){return h(e,t)||f(e,t)}function g(e,t){const n=l(e,t);return(c(e,t)||n?[{element:e,clipsVertically:n}]:[]).concat(d(e,t))}function y(e,t,{screenshotWidthPx:n,screenshotHeightPx:i,zoom:s}){if(!e||!e.isConnected)return"unmeasurable";const a=e.getBoundingClientRect();if(0===a.width||0===a.height)return t&&t.width>0&&t.height>0?"stable":"unmeasurable";const c=a.top,l=a.left,u=a.right,d=a.bottom,h=a.width,p=a.height,m=s>0?s:1,g=i>0?i:o,y=n>0?n:document.documentElement.scrollWidth*m;if(c<0||l<0||d*m>g||u*m>y)return"unstable_out_of_bounds";if(f(e))return"unstable_clipped";if(!t)return"unmeasurable";return Math.max(Math.abs(l-t.left),Math.abs(c-t.top),Math.abs(h-t.width),Math.abs(p-t.height))>r?"unstable_moved":"stable"}}),it=n.cw(function(e,t){Rn();n.d(t,["t",0,(e,t)=>{Rn().yS.listen(e,({message:e})=>{const{vnodes:n,screenshotWidthPx:r,screenshotHeightPx:o,zoom:i}=e,s={};if(null==n||!n.length)return s;const a=t(),c=window.scrollX,l=window.scrollY,u=0!==c||0!==l;u&&window.scrollTo({top:0,left:0,behavior:"instant"});try{for(const{vnodeId:e,moment1Box:t}of n){const n=null==a?void 0:a.getById(e);s[e]=(0,ot().UD)(null==n?void 0:n.element,t,{screenshotWidthPx:r,screenshotHeightPx:o,zoom:i})}}finally{u&&window.scrollTo({top:l,left:c,behavior:"instant"})}return s})}])}),st=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>u}),Rn(),kt(),qt(),zt(),Wt(),Gt(),$t(),tt();const s=e=>{var t;const n=o(o({},e.properties),{},{disabled:e.element.disabled,multiple:e.element.multiple,placeholder:e.element.placeholder,required:e.element.required});let r={};return e.element.matches(Gt().IY)&&(r={label:(0,Xt().A)(e.element),type:e.element.type}),o(o(o({},(0,qt().Ay)(e,{visibleLabels:e.visibleLabels},"accessibleText")),r),{},{properties:n,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[]})},a=(e,t)=>{const n=t.selectAll([Gt().IY],{isRelativeSelector:!0}).filter(t=>!!t.ancestors.find(t=>t.vnodeId===e.vnodeId)).map(e=>e.element),r=kt().Ay.getTabbableElements(e.element);return e.element.matches(Gt().IY)&&n.push(e.element),n.filter(e=>kt().Ay.isVisible(e,!0)||!(null==r||!r.includes(e)))},c=e=>t=>("form"===t.tagName||"form"===t.attributes.role)&&((e,t)=>a(e,t).length>0)(t,e),l=e=>o(o({},s(e)),{},{box:(0,Wt().Ay)(e)});function u(e){Rn().yS.listen("igt:forms:get-forms",async()=>function(e){kt().Ay.setupTrees();const t=e();return kt().Ay.cleanupTrees(),t}(()=>{const t=e(),n=(null==t?void 0:t.values())||[];return(0,zt().A)(n,c(t),!0).map(l)})),Rn().yS.listen("igt:forms:get-form",async({message:{vnodeId:t}})=>{const n=e().getById(t);return l(n)}),Rn().yS.listen("igt:forms:get-inputs",async({message:t})=>{const n=e(),r=n.getById(t.selectedForm.vnodeId),i=a(r,n).map(e=>o(o({},n.get(e)),{},{visibleLabels:(0,tt().e)(e,n)})),c=[...(0,$t().jr)(i,r,n),...(0,$t().q)(i,n)];return{inputs:i.map(e=>{const t=c.find(t=>t.vnodeIds.includes(e.vnodeId)),n=s(e);return t?o({groupId:t.id,groupLabel:t.label},n):n}),groups:c}}),Rn().yS.listen("igt:forms:get-error-message",async({message:t})=>{const n=e(),{element:r}=n.getById(t.vnodeId),o=r.getAttribute("aria-describedby"),i=o&&o.split(" ");return{errorMessage:i&&i.map(e=>{const t=document.getElementById(e);return t&&t.textContent}).join(" ")}})}}),at=n.cw(function(e,t){const r=e=>{const{children:t}=e,n=[];if(!t||0===t.length)return n;n.push(...t);for(const e of t)n.push(...r(e));return n},o=r;n.d(t,["A",0,o])}),ct=n.cw(function(e,t){n.d(t,{A:()=>i,p:()=>o});const r=["input","select","textarea","button"];function o(e){const{element:t}=e;return"function"==typeof t.matches&&t.matches(":disabled")}function i(e){const{element:t,ancestors:n,tagName:i}=e,s=[],a=null==n?void 0:n.find(e=>{var t,n;return r.includes(i)&&"fieldset"===e.tagName&&("true"===(null===(t=e.attributes)||void 0===t?void 0:t["aria-disabled"])||(null===(n=e.properties)||void 0===n?void 0:n.disabled))});(o(e)||"true"===t.getAttribute("aria-disabled")||a)&&s.push("disabled");const c=t.getAttribute("aria-pressed"),l=t.getAttribute("aria-expanded"),u=t.getAttribute("aria-selected"),d=t.getAttribute("aria-checked"),f=t.getAttribute("aria-readonly"),h=t.getAttribute("aria-haspopup"),p=t instanceof HTMLInputElement,m=p&&"checkbox"===t.type,g=p&&"radio"===t.type,y=t.getAttribute("aria-current");return"true"===c&&s.push("pressed"),"false"===c&&s.push("not-pressed"),"mixed"===c&&s.push("mixed-pressed"),"true"===l&&s.push("expanded"),"false"===l&&s.push("collapsed"),"true"===u&&s.push("selected"),"false"===u&&s.push("not-selected"),("true"===d||p&&t.checked)&&s.push("checked"),("false"===d||g&&!t.checked)&&s.push("not-checked"),("false"===d||m&&!t.checked)&&s.push("not-checked"),("mixed"===d||m&&t.indeterminate)&&s.push("mixed-checked"),("true"===f||p&&t.readOnly)&&s.push("readonly"),"true"===y&&s.push("current"),"page"===y&&s.push("current-page"),"step"===y&&s.push("current-step"),"location"===y&&s.push("current-location"),"date"===y&&s.push("current-date"),"time"===y&&s.push("current-time"),"true"===h&&s.push("has-popup"),"listbox"===h&&s.push("has-popup-listbox"),"menu"===h&&s.push("has-popup-menu"),"dialog"===h&&s.push("has-popup-dialog"),"tree"===h&&s.push("has-popup-tree"),"grid"===h&&s.push("has-popup-grid"),h||"combobox"!==t.getAttribute("role")||s.push("has-popup-listbox"),s}}),lt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Nn();const i=(...e)=>t=>e.some(e=>e(t));n.d(t,["i",0,e=>{const t=e.reduce((e,t)=>{const n=t.role||"none";return e[n]=e[n]||{role:n,vnodeIds:[]},e[n].vnodeIds.push(t.vnodeId),e},{});return Object.entries(t).map(([e,t])=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({id:e},t))},"q",0,e=>{const t=[];for(const n of e){const{element:e,box:r,role:o}=n,s=null==e?void 0:e.ownerDocument,a=null==s?void 0:s.defaultView,c=null==a?void 0:a.getComputedStyle(e),l=null==c?void 0:c.getPropertyValue("background-color"),u=null==c?void 0:c.getPropertyValue("color"),d=null==c?void 0:c.getPropertyValue("border-width"),f=null==c?void 0:c.getPropertyValue("border-style"),h=null==c?void 0:c.getPropertyValue("border-color"),p=null==c?void 0:c.getPropertyValue("border-radius"),m=null==c?void 0:c.getPropertyValue("font-weight"),g=null==c?void 0:c.getPropertyValue("font-size"),{height:y,width:b,y:v,x:w}=r||{},S=t.find(i(no()()({height:y,background:l,textColor:u,borderWidth:d,borderStyle:f,borderRadius:p,fontSize:g}),no()()({width:b,background:l,textColor:u,borderWidth:d,borderStyle:f,borderRadius:p,fontSize:g}),no()()({role:o,background:l,textColor:u,fontSize:g,x:w}),no()()({role:o,background:l,textColor:u,fontSize:g,y:v})));S?S.vnodeIds.push(n.vnodeId):t.push({id:t.length,role:o,height:y,background:l,textColor:u,borderWidth:d,borderStyle:f,borderColor:h,borderRadius:p,x:w,y:v,width:b,fontSize:g,fontWeight:m,vnodeIds:[n.vnodeId]})}return(e=>{let t,n=e.length;for(;n--;){const r=e[n];if(1===r.vnodeIds.length){if(t)t.vnodeIds.push(...r.vnodeIds);else{const{id:e,vnodeIds:n}=r;t={id:e,vnodeIds:n,type:"misc"}}e.splice(n,1)}}return t&&e.push(t),e})(t)}])}),ut=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>D}),Nn(),fn(),Rn(),Wt(),kt(),Yt(),qt(),Gt(),it();const s=e=>e?[...e.querySelectorAll("text")].map(e=>{var t;return(null===(t=e.textContent)||void 0===t?void 0:t.replace(/(\r\n|\n|\r)/gm,"").trim())||""}).join(" ").trim():null,a=e=>"true"===e.attributes["aria-hidden"],c=e=>a(e)||!!e.ancestors.find(a),l=new Set(["img","graphics-symbol"]),u=new Set(["heading","article"]),d=(e,t)=>!!kt().Ay.isFocusable(e)||!!t&&(e=>u.has(e)||kt().Ay.isLandmarkRole(e))(t),f=e=>{const t=(e=>{var t;return null!==(t=e.slotAncestors)&&void 0!==t&&t.length?e.slotAncestors:e.ancestors||[]})(e),n=[];for(let e=t.length-1;e>=0;e--){const r=t[e],o=r.element;if((null==o?void 0:o.nodeType)!==Node.ELEMENT_NODE)continue;const i=kt().Ay.getRole(o);if(i&&l.has(i))n.push(r);else if(d(o,i))break}return n},h=["img","svg","canvas","video"];function p(e,t){var n,r,o;const i=[],s=null===(n=e.tagName)||void 0===n?void 0:n.toLowerCase().trim();return h.includes(s)&&i.push(s),"input"===s&&"image"===(null===(r=e.attributes)||void 0===r?void 0:r.type)&&i.push("input-image"),null!==(o=e.style)&&void 0!==o&&o.pseudo&&i.push("pseudo"),_(null,e)&&i.push("background-image"),"img"===t&&i.push("role-img"),i}function m(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}const g=50,y=529;function b(e,t){if(!m(t,e.getBoundingClientRect()))return"";const n=[];for(const o of e.childNodes)if(o.nodeType===Node.TEXT_NODE){var r;const e=null===(r=o.textContent)||void 0===r?void 0:r.trim();e&&n.push(e)}else if(o.nodeType===Node.ELEMENT_NODE){const e=b(o,t).trim();e&&n.push(e)}return(0,Ct().D)(n.join(" ")).trim()}function v(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.getBoundingClientRect(),n=e.ownerDocument,r=t.width,o=t.height;if("function"!=typeof n.elementsFromPoint||r<1||o<1)return"";try{const i=Math.ceil(Math.sqrt(y)),s=Math.min(i,Math.ceil(r/g)),a=Math.min(i,Math.ceil(o/g)),c=[];for(let e=0;e<s;e++)for(let n=0;n<a;n++){const i=t.left+r*(e+.5)/s,l=t.top+o*(n+.5)/a;c.push({x:i,y:l})}const l=new Set;for(const{x:r,y:o}of c)for(const i of n.elementsFromPoint(r,o))i.nodeType===Node.ELEMENT_NODE&&i!==e&&m(t,i.getBoundingClientRect())&&l.add(i);const u=[...l].filter(e=>{var t,n,r;return!(null===(t=(null===(n=e.innerText)||void 0===n?void 0:n.trim())||(null===(r=e.textContent)||void 0===r?void 0:r.trim()))||void 0===t||!t.length)});if(!u.length)return"";const d=u.filter(e=>!u.some(t=>{return t!==e&&((n=e)!==(r=t)&&n.contains(r));var n,r}));return d.map(e=>b(e,t)).filter(Boolean).join(" ")}catch{return""}}function w(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.innerText;return"string"==typeof t?(0,Ct().D)(t).trim():""}const S=(...e)=>t=>e.some(e=>e(t));function E(e,t){const n=[];for(const r of t){const{style:t,box:o}=r,{height:i,width:s,y:a}=o,c=t["background-image"],l=e.getById(r.vnodeId),{tagName:u,attributes:d}=l,f=d["xlink:href"],{src:h,class:p}=d,m=!!(f||c||h),g=/#/.test(h||c||f),y=(f||c||h).replace(/^([0-9a-z]+)\.|#.+|\?.+/gi,""),b=n.find(S(no()()({width:s,y:a}),no()()({external:m,sprite:g,extension:y}),no()()({tagName:u,className:p,height:i,width:s}),no()()({tagName:u,height:i,width:s})));b?b.vnodes.push(r):n.push({id:n.length,type:"autogenerated",tagName:u,className:p,height:i,width:s,y:a,external:m,sprite:g,vnodes:[r]})}return function(e){let t,n=e.length;for(;n--;){const r=e[n];if(1===r.vnodes.length){if(t)t.vnodes.push(...r.vnodes);else{const{id:e,vnodes:n}=r;t={id:e,vnodes:n,type:"misc"}}e.splice(n,1)}}return t&&e.push(t),e.map((e,t)=>o(o({},e),{},{displayName:fn().Ay`Group ${t+1}:n`}))}(n)}function O(e,{countOnly:t=!1,rebuildTree:n=!1}={}){const r=e.values(),i=[],a=new Set;n&&kt().Ay.setupTrees();for(const e of r){if(e.element.nodeType!==Node.ELEMENT_NODE)continue;if(!kt().Ay.isAxeSetUp(e.element)){const t=(0,Mt().rJ)(e.element);t.teardown(),t.setup()}const{vnodeId:n,element:r,selector:l}=e,u=o(o({selector:l,vnodeId:n,imageId:`${i.length}`,src:"",style:M(r),box:(0,Wt().Ay)(e)},(0,Ke().A)(e)),{},{source:kt().Ay.getSource(r),accessibleText:(0,qt().GR)(e.element)||""});if([j,R,N,P].some(t=>t(e,u)))continue;let d;const h=()=>d??(d=kt().Ay.getRole(e.element)),m=p(u,e.attributes.role?h():null),g=!!m.length;if(g){if(f(e).find(({vnodeId:e})=>a.has(e)))continue}const y=!t&&I(e);if(g){const n=h(),r="svg"===e.tagName;a.add(e.vnodeId),i.push(o(o({},u),{},{isBackgroundImage:_(null,u),imageTypes:m,overlappingText:v(e.element),elementText:w(e.element),isEmptyAltImg:"img"===e.tagName&&""===e.element.getAttribute("alt")||!!r&&("img"===n?""===u.accessibleText:!u.accessibleText),isAriaHidden:c(e),role:n,isRoleImg:"img"===n,hint:(0,Yt().S8)(e.element),svgTextContent:r&&s(e.element)||"",interactiveParent:y?{accessibleText:(0,qt().GR)(y.element)||"",isAriaHidden:c(y),hasOtherContent:T(y.element,e.element)}:void 0},(0,Ke().A)(t?e:(0,Yt().D8)(e))))}y&&(u.vnodeId=y.vnodeId,u.box=(0,Wt().Ay)(e,y))}return i}const x='img, svg, canvas, video, picture, object, embed, iframe, input[type="image"]',A="script, style, noscript";function T(e,t){const n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:e=>{var t;return null!==(t=e.parentElement)&&void 0!==t&&t.closest(A)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});let r;for(;r=n.nextNode();){var o;if(null!==(o=r.textContent)&&void 0!==o&&o.trim()&&!t.contains(r))return!0}return[...e.querySelectorAll(x)].some(e=>e!==t&&!t.contains(e)&&!e.contains(t)&&!e.closest(A))}const C=`a, label, button, input, summary, ${Gt().oi}`;function I(e){var t;return null===(t=e.ancestors)||void 0===t?void 0:t.find(e=>{var t,n;return null===(t=e.element)||void 0===t||null===(n=t.matches)||void 0===n?void 0:n.call(t,C)})}function P(e){return"input"===e.tagName&&"hidden"===e.attributes.type}function N(e,t){const{box:n}=t,{height:r,width:o}=n;return 0===o||0===r}function j(e,t){const{style:n}=t,{display:r,visibility:o,opacity:i}=n;return"none"===r||"0"===i||"hidden"===o}function R(e,t){const{style:n}=t,{clip:r="",position:o=""}=n,i=n["clip-path"]||"",s=["fixed","absolute"].includes(o)&&r.match(/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/);if(s&&5===s.length)return s[3]-s[1]<=0&&s[2]-s[4]<=0;if(i){const[,e,t]=i.match(/(\w+)\((\d+)/)||[null,"",0];switch(e){case"inset":return t>=50;case"circle":return 0===t}}return!1}const k=["before","after"];function M(e){const t={};e&&e.nodeType===Node.ELEMENT_NODE?(t.element=window.getComputedStyle(e),k.forEach(n=>{t[n]=window.getComputedStyle(e,n)})):["element",...k].forEach(e=>t[e]={getPropertyValue:()=>""});const n={pseudo:k.some(e=>["content","background-image"].some(n=>t[e]&&t[e].getPropertyValue(n).startsWith("url")))};return["display","opacity","visibility","clip","clip-path","position","font-family","background-image","height","width"].reduce((e,n)=>(e[n]=t.element.getPropertyValue(n),e),n)}function _(e,t){const{style:n}=t;return!!n["background-image"].startsWith("url")||!!n.pseudo}function D(e){Rn().yS.listen("igt:images:get-data",async()=>{return{images:E(t=e(),O(t,{rebuildTree:!0})).map(e=>o(o({},e),{},{vnodes:e.vnodes.map(t=>o(o({},t),{},{identifier:`${e.id}-${t.imageId}`}))}))};var t}),(0,it().t)("igt:images:classify-stability",e)}}),dt=n.cw(function(e,t){function r({getTree:e,getFlatTree:t,buildTree:n}){(0,ft().Ay)(e),(0,yt().Ay)(e),(0,mt().Ay)({getTree:e,getFlatTree:t,buildTree:n}),(0,bt().Ay)(e,n),(0,ut().Ay)(e),(0,ht().A)(e,n),(0,st().A)(e),(0,pt().A)(e),(0,gt().UB)(e)}n.d(t,{A:()=>r}),ft(),yt(),mt(),bt(),ut(),ht(),st(),pt(),gt()}),ft=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>u}),un(),en(),kt(),Rn(),Wt(),zt(),qt(),lt(),pt(),Yt(),it();const s=jr()()("walnut-chrome:content:interactive-elements"),a=on().A`
2
+ (()=>{var e={1698(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/autocomplete-correct",impact:"serious",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","advanced","non-deterministic","AI"],metadata:{description:"Ensure form fields have appropriate autocomplete attributes for their purpose",help:"Form fields must have correct autocomplete values"},seedRules:["recorder/form-structure"],requiredInput:["screenshot"],any:["advanced/autocomplete-correct"]}},9792(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/css-focus-visible",impact:"serious",tags:["cat.keyboard","wcag2aa","wcag247","TTv5","TT4.d","EN-301-549","EN-9.2.4.7","RGAAv4","RGAA-10.7.1","advanced"],metadata:{description:"Ensure links, buttons and other controls do not have their focus hidden with CSS",help:"Controls must have visible focus"},seedRules:["recorder/css-focus-visible"],any:["advanced/css-focus-visible"]}},6822(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/heading-markup",impact:"serious",tags:["cat.semantics","wcag2aa","wcag131","TTv5","TT13.c","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","advanced","non-deterministic","AI"],metadata:{description:"Ensure each heading is marked up as a heading element or with a heading role",help:"Headings must use heading markup"},seedRules:["recorder/screenshot-features"],requiredInput:["screenshot","screenshotFeatures"],any:["advanced/heading-markup"]}},8609(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/image-decorative",impact:"moderate",tags:["cat.text-alternatives","wcag2a","wcag111","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.2.1","advanced","non-deterministic","work-in-progress","AI"],metadata:{description:"Ensure decorative images are ignored by screen readers",help:"Decorative images must be hidden from screen readers"},seedRules:["recorder/image-description"],requiredInput:["screenshot"],requiredPerElementInput:["imageDescriptions"],any:["advanced/image-decorative"]}},2876(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/image-informative-has-alt",impact:"critical",tags:["cat.text-alternatives","wcag2a","wcag111","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.1","advanced","non-deterministic","AI"],metadata:{description:"Ensure informative images have accessible names",help:"Informative images must have accessible names"},seedRules:["recorder/image-description"],requiredInput:["screenshot"],requiredPerElementInput:["imageDescriptions"],any:["advanced/image-informative-has-alt"]}},8153(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/text-contrast",impact:"serious",tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","RGAAv4","RGAA-3.2.1","ACT","advanced","non-deterministic"],metadata:{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",help:"Text must have sufficient color contrast"},seedRules:["recorder/text-contrast"],requiredInput:["screenshot"],any:["advanced/text-contrast"]}},5062(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={id:"advanced/visual-role-mismatch",impact:"serious",tags:["cat.semantics","wcag2aa","wcag131","TTv5","TT13.c","EN-301-549","EN-9.1.3.1","advanced","non-deterministic","work-in-progress","AI"],metadata:{description:"Ensures the visual appearance of controls matches their ARIA roles",help:"ARIA roles must match visual appearance"},seedRules:["recorder/screenshot-features"],requiredInput:["screenshot","screenshotFeatures"],any:["advanced/visual-role-mismatch"]}},6695(e,t,n){"use strict";var r=n.cw((e,t)=>{t.addEventNS=t.k=void 0;const n=Qr();t.k=`recorder:${n.version}`;t.addEventNS=e=>`${t.k}:${e}`}),o=n.cw((e,t)=>{t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error(t)}}),i=n.cw((e,t)=>{t.cache=void 0;const n=o(),r=l();class i{#e=new Map;#t=new Map;set(e,t){this.#e.set(e,t)}get(e,t){if(function(e){(0,n.assert)("function"==typeof e||void 0===e,"creator must be a function or undefined, "+typeof e+" given")}(t),this.#e.has(e))return this.#e.get(e);if("function"!=typeof t)return;const r=t();return(0,n.assert)(void 0!==r,"Cache creator function should not return undefined"),this.#e.set(e,r),r}has(e){return this.#e.has(e)}async getAsync(e,t){const n=this.get(e);if(n?.resolved&&!n.error)return n.result;if(n?.error)throw n.error;if(!1===n?.resolved)return new Promise((e,t)=>n.promises?.push([e,t]));this.set(e,{resolved:!1,promises:[],result:void 0,error:null});try{let n;n="symbol"==typeof e&&e.description?await r.perf.run(e.description,t):await t();const o=this.get(e);return this.set(e,{resolved:!0,result:n,error:null,promises:void 0}),o?.promises?.forEach(([e])=>e(n)),n}catch(t){const n=this.get(e);throw this.set(e,{resolved:!0,result:void 0,error:t,promises:void 0}),n?.promises?.forEach(([,e])=>e(t)),t}}clear(){this.#e.clear(),this.#t.forEach(e=>e.clear())}child(e){if(function(e){(0,n.assert)("symbol"==typeof e,"key must be a symbol, "+typeof e+" given")}(e),this.#t.has(e))return this.#t.get(e);const t=new i;return this.#t.set(e,t),t}}t.cache=new i}),s=n.cw((e,t)=>{t.createLazyProxy=void 0;const n=o(),r=Symbol("initialize"),i=Symbol("unset");t.createLazyProxy=function(){let e=null,t=!1;const o=new Proxy(function(...r){return(0,n.assert)(t,"Cannot call method before the object is initialized"),(0,n.assert)("function"==typeof e,"Real object is not a function"),e.apply(this,r)},{get:(o,s,a)=>s===r?n=>(e=n,t=!0,!0):s===i?()=>(e=null,t=!1,!0):((0,n.assert)(t,`Cannot access property '${String(s)}' before the object is initialized`),Reflect.get(e,s,a)),set:(r,o,i)=>((0,n.assert)(t,`Cannot set property '${String(o)}' before the object is initialized`),Reflect.set(e,o,i)),has:(r,o)=>((0,n.assert)(t,`Cannot check for property '${String(o)}' before the object is initialized`),Reflect.has(e,o)),apply:(r,o,i)=>((0,n.assert)(t,"Cannot call method before the object is initialized"),(0,n.assert)("function"==typeof e,"Real object is not a function"),Reflect.apply(e,o,i)),construct:(r,o,i)=>((0,n.assert)(t,"Cannot construct before the object is initialized"),(0,n.assert)("function"==typeof e,"Real object is not a constructor"),Reflect.construct(e,o,i))}),s=()=>(o[i](),o);return{proxy:o,setRealObject:e=>(o[r](e),s)}}}),a=n.cw((e,t)=>{t.setAxeProxy=t.axe=void 0;const n=(0,s().createLazyProxy)();t.axe=n.proxy,t.setAxeProxy=n.setRealObject}),l=n.cw((e,t)=>{t.perf=void 0;let n=!1;const r={},o={};t.perf={enable(){n=!0},disable(){t.perf.flush(),n=!1},start(e){n&&(o[e]&&console.warn(`${e} already started`),o[e]=performance.now())},end(e,{minDuration:i=0,flush:s=!1}={}){if(!n)return;if(!o[e])return void console.warn(`${e} not started`);const a=performance.now()-o[e];delete o[e],a<=i||(r[e]??=[],r[e].push(a),s&&t.perf.flush(e))},run(e,t){if(!n)return t();const o=performance.now(),i=t();if(i instanceof Promise)return i.finally(()=>{const t=performance.now();r[e]??=[],r[e].push(t-o)});const s=performance.now();return r[e]??=[],r[e].push(s-o),i},flush(...e){Object.keys(o).forEach(n=>{e.length&&!e?.includes(n)||t.perf.end(n)}),Object.entries(r).forEach(([t,n])=>{e.length&&!e?.includes(t)||(console.log(`${t}: ${n.reduce((e,t)=>e+t)}ms total (${n.length}x)`),delete r[t])})}}}),c=n.cw((e,t)=>{t.serialError=void 0,t.serialError=function e(t,n=0){if("object"!=typeof t||null===t)return{message:String(t)};const r=t,o={...r};for(const e of["message","stack","name"])"string"==typeof r[e]&&(o[e]=r[e]);return r.cause&&(o.cause=n<10?e(r.cause,n+1):"..."),o}}),u=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundRecorderClient=void 0;const n=r(),o=d(),i=or();t.BackgroundRecorderClient=class{#n;constructor({bridge:e,axe:t}){this.#n=e,i.listeners.initContentBridgeListeners(e),Object.entries(o.contentActions).forEach(([r,o])=>{e.listen((0,n.addEventNS)(r),({message:e})=>o(e,{axe:t}))})}get bridge(){return this.#n}async#r(e,t){const r=await this.#n.send("background",(0,n.addEventNS)(e),t??{});if(void 0===r)throw new Error("BackgroundRecorder is not running in a known context");if(null===r)throw new Error("Unable to establish a connection with the background recorder");if("backgroundRecorderError"in r){const{message:e,stack:t,name:n}=r.backgroundRecorderError;throw new Error(`Background ${n}: ${e}\n${t}`)}if(0!==Object.keys(r).length)return r}attachDebugger(){return this.#r("attachDebugger")}detachDebugger(){return this.#r("detachDebugger")}captureFullScreenshot(){return this.#r("captureFullScreenshot")}getComputedFocusStyles(e){return 0===e.focusTriggers.length?{computedFocusStylesMap:{}}:this.#r("getComputedFocusStyles",e)}getEventListeners(e){return this.#r("getEventListeners",e)}getFrameId(){return this.#r("getFrameId")}getStyleSheets(e){return this.#r("getStyleSheets",e)}setup(e){return this.#r("setup",e)}teardown(e){return this.#r("teardown",e)}}}),d=n.cw((e,t)=>{t.contentActions=void 0;const n=f(),r=p(),o=p();t.contentActions={[n.batchGetComputedStyleTopic]:n.batchGetComputedStyle,[o.frameSetupTopic]:o.frameSetup,[r.frameTeardownTopic]:r.frameTeardown}}),f=n.cw((e,t)=>{t.batchGetComputedStyle=t.batchGetComputedStyleTopic=void 0;const n=o();t.batchGetComputedStyleTopic="batchGetComputedStyle";const r=["blur","focusout","focus","focusin"];function i(e){const t=e=>e.stopImmediatePropagation();for(const e of r)window.addEventListener(e,t,!0);try{return e()}finally{for(const e of r)window.removeEventListener(e,t,!0)}}function s(){let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;if(!e||!e.matches(":focus")||function(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e.value!==e.defaultValue;return e instanceof HTMLSelectElement||e instanceof HTMLElement&&e.isContentEditable}(e)||!("blur"in e))return null;const t=e,n=t.matches(":focus-visible");return t.blur(),{elm:t,wasFocusVisible:n}}function a(e){const t={},n=["0px","","normal","none","auto","0","0s"],r={"outline-style":"auto"},o=(e,t)=>"string"!=typeof t||n.includes(t)&&r[e]!==t;for(const n of e){const r=e.getPropertyValue(n);o(n,r)||(t[n]=r)}return t}t.batchGetComputedStyle=function({computedStyleTargets:e,blurActiveElement:t},{axe:r}){const o=t?i(s):null;try{return e.flatMap(({selector:e,pseudoElm:i})=>{const s=r.utils.shadowSelect(e);if(!s||t&&s.matches(":focus-within"))return[];if(o)for(const e of s.getAnimations({subtree:!0}))e instanceof CSSTransition&&0!==e.playbackRate&&e.finish();const l=s.ownerDocument.defaultView;(0,n.assert)(l,"Window not found");return{computedStyle:a(l.getComputedStyle(s,i?`::${i}`:void 0)),selector:e,pseudoElm:i}})}finally{o&&i(()=>o.elm.focus({preventScroll:!0,focusVisible:o.wasFocusVisible}))}}}),h=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=i(),r=D(),o=Symbol("disableAnimations");t.default={disable:function(){const e=n.cache.get(o,()=>[]),t=[document,...Array.from((0,r.getShadowRoots)(document))],i=new Set,a=e=>{for(const t of e.getAnimations()){if(!t.effect||0===t.playbackRate||i.has(t))continue;const e=t.effect.getComputedTiming().endTime;Number.isFinite(e)?s(()=>t.finish()):s(()=>t.cancel())}};for(const n of t){const t=a.bind(null,n);t(),n.addEventListener("transitionrun",t),n.addEventListener("animationstart",t),e.push(()=>{n.removeEventListener("transitionrun",t),n.removeEventListener("animationstart",t)})}e.push(()=>{for(const e of i)s(()=>e.play())})},restore:function(){const e=n.cache.get(o);e&&(e.forEach(e=>e()),n.cache.set(o,[]))}};const s=e=>{try{e()}catch{}}}),p=n.cw(function(e,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.frameTeardown=t.frameTeardownTopic=t.frameSetup=t.frameSetupTopic=void 0;const r=i(),o=l(),s=n(h());t.frameSetupTopic="frameSetup",t.frameSetup=function({performanceTimer:e,skipAnimations:t}){r.cache.clear(),e?(o.perf.enable(),o.perf.start("advancedRun")):o.perf.disable(),t&&s.default.disable()},t.frameTeardownTopic="frameTeardown",t.frameTeardown=function(){s.default.restore(),o.perf.disable(),r.cache.clear()}}),m=n.cw((e,t)=>{t.fromDOMRect=t.toDOMRect=void 0,t.toDOMRect=function(e){return new DOMRect(e.x,e.y,e.width,e.height)},t.fromDOMRect=function(e){const{x:t,y:n,width:r,height:o}=e;return{x:t,y:n,width:r,height:o}}}),g=n.cw((e,t)=>{t.cachedQueryAll=t.Z=void 0;const n=i(),r=Symbol("selectorCache");t.Z=n.cache.child(r),t.cachedQueryAll=function(e,n){const r=t.Z.get(e,()=>new Map),o=r.get(n);if(o)return o;const i=Array.from(n.querySelectorAll(e));return r.set(n,i),i}}),y=n.cw((e,t)=>{t.findNearbyElms=void 0;const n=a();function r(e){if(e)return n.axe.commons.dom.getNodeGrid?.(e)??e._grid}t.findNearbyElms=function(e){n.axe.commons.dom.createGrid();const t=e.boundingClientRect,o=[];let i=r(e);for(;i;){const n=i.getGridPositionOfRect(t);i.loopGridPosition(n,t=>{for(const n of t)n&&n!==e&&!o.includes(n)&&o.push(n)}),i=r(i.container)}return o}}),b=n.cw((e,t)=>{t.isContentEditable=void 0;const n=i(),r=Symbol("isContentEditable"),o=n.cache.child(r),s=new Set(["","true","plaintext-only"]),a=new Set(["false"]);t.isContentEditable=function e(t){return o.get(t,()=>{const n=t.getAttribute("contenteditable")?.toLowerCase()??null;return!!s.has(n)||!(a.has(n)||!t.parentElement)&&e(t.parentElement)})}}),v=n.cw((e,t)=>{t.isShadowRoot=t.isElement=void 0;t.isElement=e=>1===e.nodeType;t.isShadowRoot=e=>11===e.nodeType&&"host"in e&&1===e.host?.nodeType}),w=n.cw((e,t)=>{t.isFocusableMedia=void 0,t.isFocusableMedia=function({vNode:e,axe:t}){if("video"!==e.props.nodeName&&"audio"!==e.props.nodeName)return!1;if(!e.hasAttr("controls"))return!1;const n=function(e){const t=e.attr("tabindex")?.match(/^\s*([-+]?\d+)/);return t?parseInt(t[1]):null}(e);return!(null!==n&&n<0)&&!t.commons.dom.isHiddenForEveryone(e)}}),S=n.cw((e,t)=>{t.findFocusIndicators=t.E=void 0;const n=N(),r=i(),s=l(),a=_(),c=o(),u=j(),d=R(),f=Symbol();function*h(e,r,o){const i=(0,a.getRootNode)(r),l=o.get(i);(0,c.assert)(l,"Style sheets for root of node not found");const u=function(e){return e.flatMap(({cssRules:e})=>Array.from(e)).filter(e=>e instanceof CSSStyleRule)}(l).flatMap(e=>e.selectorText.includes(":focus")?function(e,r){const o=t.E.get(e,()=>new Map);let i=o.get(r);if(!i){const t=`queryWithFocusTriggers: ${e}`;s.perf.start(t),i=(0,n.queryWithFocusTriggers)(e,r),s.perf.end(t,{minDuration:100,flush:!0}),o.set(r,i)}return i}(e.selectorText,i):[]);for(const{triggers:t=[],...n}of u)for(const{type:r,elm:o}of t){const t=1===r.length&&"focus-within"===r[0];(o===e||t&&(0,d.flatTreeContains)(o,e))&&(yield n)}}t.E=r.cache.child(f),t.findFocusIndicators=function(e,t){const n=(0,a.getRootNode)(e),r=t.get(n);(0,c.assert)(r,"Style sheets for root of node not found");const o=new Map;o.set(e,new Set([void 0]));let i=e.shadowRoot??e;do{const n=Array.from(h(e,i,t));for(const{elm:e,pseudoElm:t}of n){const n=o.get(e);n?n.add(t):o.set(e,new Set([t]))}}while(i=(0,u.closestCrossTreeAncestor)(i));const s=[];for(const[e,t]of o)for(const n of t)n?s.push({elm:e,pseudoElm:n}):s.push({elm:e});return s}}),x=n.cw((e,t)=>{t.eachIndicator=void 0,t.eachIndicator=function*(e){for(const[t,n]of e)for(const[e,r]of n)yield{elm:t,pseudoElm:e,triggers:r}}}),E=n.cw((e,t)=>{t.groupRuleItems=t.D=void 0;const n=I();t.D=["focus-within","focus","focus-visible"],t.groupRuleItems=function(e){const r=[],o=[],i=[],s=[],a=[];for(let l=0;l<e.length;l++){const c=e[l];if("PseudoElement"===c.type){if("part"===c.name){return{pseudoElmItems:r,pseudoClassSelectorItems:o,focusClassItems:i,hostItems:s,partItems:e.slice(l),otherItems:a}}r.push(c)}else"PseudoClass"===c.type?"host"===c.name.substring(0,4)?s.push(c):n.pseudoClassSelectorNames.includes(c.name)?o.push(c):t.D.includes(c.name)?i.push(c):a.push(c):a.push(c)}return{pseudoElmItems:r,pseudoClassSelectorItems:o,focusClassItems:i,hostItems:s,partItems:[],otherItems:a}}}),O=n.cw((e,t)=>{t.mergeTriggers=void 0,t.mergeTriggers=function(e,t){t=[...t];const n=[];for(const r of e){const e=t.findIndex(e=>e.elm===r.elm);if(-1===e){n.push(r);continue}const o=t.splice(e,1)[0],i=Array.from(new Set([...r.type,...o.type]));n.push({elm:r.elm,type:i})}return n.push(...t),n}}),A=n.cw((e,t)=>{t.runHasPseudoClass=void 0;const n=dr(),r=x(),o=N();t.runHasPseudoClass=function(e,t){const i=(0,n.render)(e),s=new Map;for(const{elm:n,pseudoElm:a,triggers:l}of(0,r.eachIndicator)(t)){const t=(0,o.runSelector)(i,e,n);let c=!1;for(const e of(0,r.eachIndicator)(t))e.pseudoElm||(e.triggers.length&&l.push(...e.triggers),c||=!0);c&&s.set(n,new Map([[a,l]]))}return s}}),T=n.cw((e,t)=>{t.runHostPseudoClass=void 0;const n=dr(),r=o(),i=k(),s=x(),a=O(),l=v(),c=N();function u(e,t,n){if(t.items.some(e=>"PseudoElement"===e.type))return new Map;let r=n.host,o=[],u=!1;for(;r&&((0,l.isElement)(r)||(0,l.isShadowRoot)(r));){const[n]=(0,c.runRuleItems)(t,r,{selfOnly:!0});if("host-context"!==e)return n;n.size&&(u=!0);for(const{pseudoElm:e,triggers:t}of(0,s.eachIndicator)(n))""===e&&(o=(0,a.mergeTriggers)(o,t));r=(0,i.getFlatTreeParent)(r)}return u?new Map([[n.host,new Map([["",o]])]]):new Map}t.runHostPseudoClass=function(e,t){const o=new Map;for(const{argument:i,name:l}of e){if(!i){o.has(t.host)||o.set(t.host,new Map([["",[]]]));continue}(0,r.assert)("Selector"===i.type,`Unexpected argument type ${i.type} in "${(0,n.render)(i)}"`);const e=i.rules[0];if(1!==i.rules.length||e.nestedRule)return null;const c=u(l,e,t);if(0===c.size)return null;for(const{elm:e,pseudoElm:t,triggers:n}of(0,s.eachIndicator)(c)){if(""!==t)return null;const i=o.get(e);if(i){const e=i.get("");(0,r.assert)(e,"indicator missing triggers"),i.set("",(0,a.mergeTriggers)(e,n))}else o.set(e,new Map([["",n]]))}}return o}}),C=n.cw((e,t)=>{t.runPartPseudoElm=void 0;const n=o(),r=M(),i=x(),s=E();t.runPartPseudoElm=function(e,t){const[o,...a]=e;(0,n.assert)("PseudoElement"===o.type,"Expected pseudo element");const{argument:l}=o;(0,n.assert)("String"===l?.type,`Invalid ::part argument type ${l?.type}`);const{focusClassItems:c,pseudoElmItems:u,...d}=(0,s.groupRuleItems)(a);if(Object.values(d).some(e=>e.length))return[new Map];let f="";if(u.length){if(u.length>1||u[0]!==a.at(-1))return[new Map];f=u[0].name}const h=c.map(e=>e.name),p=new Map;for(const{elm:e,triggers:n}of(0,i.eachIndicator)(t)){const t=(0,r.getParts)(e);if(!t)continue;const o=l.value.split(/\s+/);t.forEach((e,t)=>{if(o.every(t=>e.has(t))){const e=[...n];h.length&&e.push({elm:t,type:h}),p.set(t,new Map([[f,e]]))}})}return[p]}}),I=n.cw((e,t)=>{t.runPseudoClassSelector=t.pseudoClassSelectorNames=void 0;const n=dr(),r=o(),i=_(),s=N(),a=A(),l=x(),c=O();t.pseudoClassSelectorNames=["is","where","not","has"],t.runPseudoClassSelector=function({argument:e,name:o},u,d){if(!1===t.pseudoClassSelectorNames.includes(o)||"Selector"!==e?.type)throw new Error("Invalid sub-selector");if("has"===o)return(0,a.runHasPseudoClass)(e,u);const f="not"===o?u:new Map,h=(0,n.render)(e),p=(0,i.getRootNode)(d),m=(0,s.runSelector)(h,e,p);for(const e of(0,l.eachIndicator)(m)){if(e.pseudoElm)continue;if("not"===o&&!e.triggers.length){f.delete(e.elm);continue}const t=u.get(e.elm);if(!t)continue;const n=Array.from(t.entries());(0,r.assert)(1===n.length,"Only one (pseudo-)element should exist");const[i,s]=n[0],a="not"===o?[...s,...e.triggers]:(0,c.mergeTriggers)(s,e.triggers);t.set(i,a),f.set(e.elm,t)}return f}}),P=n.cw((e,t)=>{t.runSlottedPseudoElm=void 0;const n=o(),r=v(),i=_(),s=N(),a=x();function l(e){return"slot"===e.nodeName.toLowerCase()}t.runSlottedPseudoElm=function({argument:e},t,o){const c=(0,i.getRootNode)(o);if(!(0,r.isShadowRoot)(c))return[new Map];if((0,n.assert)("Selector"===e?.type,`Invalid ::slotted argument type ${e?.type}`),1!==e.rules.length||e.rules[0].nestedRule)return[new Map];const u=e?.rules[0],d=new Map;for(const{elm:e,triggers:r}of(0,a.eachIndicator)(t))if(l(e))for(const t of e.assignedElements()){const[e]=(0,s.runRuleItems)(u,t,{selfOnly:!0});if(0===e.size)continue;const o=e.get(t);(0,n.assert)(e.size<=1,"Only one pseudo element should exist"),(0,n.assert)(o,"Pseudo element map missing");const i=o.get("");(0,n.assert)(i,"Existing triggers missing"),i.push(...r),o.set("",i),d.set(t,o)}return[d]}}),N=n.cw((e,t)=>{t.runRuleItems=t.runSelector=t.queryWithFocusTriggers=t.K3=t.PE=void 0;const n=dr(),r=o(),s=i(),a=_(),l=E(),c=O(),u=x(),d=v(),f=I(),h=P(),p=T(),m=C(),y=g(),b=Symbol("selectorCache");function w(e,n,r){const o=t.PE.get(e,()=>new Map),i=o.get(r);if(i)return i;const s=new Map;for(const e of n.rules){const t=S(e,r);for(const{elm:e,pseudoElm:n,triggers:r}of(0,u.eachIndicator)(t)){const t=s.get(e),o=t?.get(n);t?o?t.set(n,[...o,...r]):t.set(n,r):s.set(e,new Map([[n,r]]))}}return o.set(r,s),s}function S(e,t){const n=new Map,[o,i]=A(e,t);for(const{elm:t,pseudoElm:s,triggers:a}of(0,u.eachIndicator)(o)){if(!e.nestedRule){const e=n.get(t);e?((0,r.assert)(!e.has(s),"Pseudo element already exists"),e.set(s,a)):n.set(t,new Map([[s,a]]));continue}if(s)continue;const o=i??t,l=S(e.nestedRule,o);for(const e of(0,u.eachIndicator)(l)){const t=(0,c.mergeTriggers)(a,e.triggers),r=n.get(e.elm);r?r.set(e.pseudoElm,t):n.set(e.elm,new Map([[e.pseudoElm,t]]))}}return n}function A(e,t,{selfOnly:r}={selfOnly:!1}){const{pseudoElmItems:o,pseudoClassSelectorItems:i,focusClassItems:s,hostItems:a,partItems:c,otherItems:u}=(0,l.groupRuleItems)(e.items);if(a.length>0){if(!(0,d.isShadowRoot)(t)||s.length||o.length||i.length||u.length)return[new Map];const e=(0,p.runHostPseudoClass)(a,t);return e?[e,t]:[new Map]}if(o.length>1||o[0]&&o[0]!==e.items.at(-1))return[new Map];const g=(0,n.render)(n.ast.rule({items:u}))||"*";let b=[];if(r){if(!(0,d.isElement)(t))return[new Map];b=t.matches(g)?[t]:[]}else b=e?.combinator?function(e,t){if(">"===e)return Array.from(t.children);if(!(0,d.isElement)(t))return[];if("+"===e)return[t.nextElementSibling].filter(Boolean);if("~"===e){const e=[];let n=t.nextElementSibling;for(;n;)e.push(n),n=n.nextElementSibling;return e}throw new Error(`Unknown combinator: ${e}`)}(e?.combinator,t).filter(e=>e.matches(g)):(0,y.cachedQueryAll)(g,t);if(0===b.length)return[new Map];let v=new Map;const w=["slotted","part"].includes(o[0]?.name)?"":o[0]?.name??"",S=s.map(e=>e.name);b.forEach(e=>{const t=S.length?[{elm:e,type:S}]:[];v.set(e,new Map([[w,t]]))});for(const e of i)v=(0,f.runPseudoClassSelector)(e,v,t);return"slotted"===o[0]?.name?e.nestedRule?[new Map]:(0,h.runSlottedPseudoElm)(o[0],v,t):c.length?e.nestedRule?[new Map]:(0,m.runPartPseudoElm)(c,v):[v]}t.PE=s.cache.child(b),t.K3=(0,n.createParser)({strict:!1,syntax:{baseSyntax:"progressive"}}),t.queryWithFocusTriggers=function(e,n){let o,i;(0,r.assert)(n,"Node must be provided");try{o=(0,t.K3)(e)}catch{return console.error("Failed to process selector",e),[]}try{i=w(e,o,(0,a.getRootNode)(n))}catch(e){return console.error(e?.message),[]}const s=[];for(const{elm:e,pseudoElm:t,triggers:n}of(0,u.eachIndicator)(i))s.push({elm:e,...t?{pseudoElm:t}:{},...n.length?{triggers:n}:{}});return s},t.runSelector=w,t.runRuleItems=A}),j=n.cw((e,t)=>{t.closestCrossTreeAncestor=void 0;const n=o(),r=v(),s=i(),a=Symbol("closestAncestor"),l=s.cache.child(a);t.closestCrossTreeAncestor=function e(t,o=0){return(0,n.assert)(++o<1e4,"Infinite loop in closestCrossTreeAncestor"),l.get(t,()=>(0,r.isShadowRoot)(t)?t.host:t.assignedSlot?t.assignedSlot:t.parentNode&&(0,r.isShadowRoot)(t.parentNode)?t.parentNode.host:t.parentElement?e(t.parentElement,o):null)}}),R=n.cw((e,t)=>{t.flatTreeContains=void 0;const n=j(),r=o();t.flatTreeContains=function(e,t){const o=e.getRootNode();let i=t,s=0;do{if((0,r.assert)(++s<1e4,"Infinite loop in flatTreeContains"),o===i.getRootNode())return e.contains(i)}while(i=(0,n.closestCrossTreeAncestor)(i));return!1}}),k=n.cw((e,t)=>{t.getFlatTreeParent=void 0,t.getFlatTreeParent=function(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e&&e.host?.nodeType===Node.ELEMENT_NODE?e.host:e.nodeType===Node.ELEMENT_NODE&&"assignedSlot"in e&&e.assignedSlot?.nodeType===Node.ELEMENT_NODE?e.assignedSlot:e.parentNode}}),M=n.cw((e,t)=>{t.getParts=void 0;const n=i(),r=Symbol("PARTS_OF_SHADOW_ROOT"),o=n.cache.child(r);function s({shadowRoot:e}){return e?o.get(e,()=>function(e){const t=e.querySelectorAll("[part]"),n=new Map;for(const e of Array.from(t)){const t=e.getAttribute("part");if(!t)continue;const r=t.split(/\s+/).map(e=>e.trim()).filter(e=>e.match(/^[^0-9]/)),o=new Set(r);o.size&&n.set(e,o)}const r=e.querySelectorAll("[exportparts]");for(const e of Array.from(r)){const t=e.getAttribute("exportparts"),r=t?a(t):null;if(!r||!r.size)continue;const o=s(e)??[];for(const[e,t]of o){const o=new Set;t.forEach(e=>{const t=r.get(e);t&&o.add(t)}),o.size&&n.set(e,o)}}return n}(e)):null}function a(e){const t=e.split(",").map(e=>e.split(":")).map(([e,t])=>[e=e.trim(),t=t?.trim()??e]);return new Map(t)}t.getParts=s}),_=n.cw((e,t)=>{t.getRootNode=void 0,t.getRootNode=function(e){const t=e.getRootNode();if(t.nodeType===Node.DOCUMENT_NODE)return t;if("host"in t)return t;throw new Error("Node is not attached to the DOM")}}),D=n.cw((e,t)=>{t.getShadowRoots=void 0,t.getShadowRoots=function*e(t=document){const r=(n(t)?t:t.ownerDocument).createTreeWalker(t,NodeFilter.SHOW_ELEMENT);for(;r.nextNode();){const{shadowRoot:t}=r.currentNode;t&&(yield t,yield*e(t))}};const n=e=>e.nodeType===e.DOCUMENT_NODE}),L=n.cw((e,t)=>{t.getAllStyleSheets=void 0;const n=D(),r=i(),o=Symbol("requestStyleSheetsFromBackground");t.getAllStyleSheets=async function(e,t=document){return r.cache.getAsync(o,()=>async function(e,t=document){const{CSSImportRule:r}=t.defaultView,o=new Map,i=[t,...(0,n.getShadowRoots)(t)];i.forEach(e=>{const t=Array.from(e.styleSheets).concat(e.adoptedStyleSheets);for(const n of t)try{if(n.disabled)continue;for(const e of Array.from(n.cssRules))e instanceof r&&e.styleSheet&&t.push(e.styleSheet);o.has(e)?o.get(e)?.push(n):o.set(e,[n])}catch{}});const s=[];for(const e of o.values())e.forEach(e=>{e.href&&s.push(e.href)});const a=await e.getStyleSheets({ignoreSheets:s}),l=await(c=a.styleSheets,Promise.all(c.map(({content:e})=>(new CSSStyleSheet).replace(e))));var c;return i.forEach(e=>{o.has(e)?o.get(e)?.push(...l):o.set(e,[...l])}),o}(e,t))}}),F=n.cw((e,t)=>{t.getBorder=void 0,t.getBorder=function(e){return{top:parseFloat(e.getPropertyValue("border-top-width")),right:parseFloat(e.getPropertyValue("border-right-width")),bottom:parseFloat(e.getPropertyValue("border-bottom-width")),left:parseFloat(e.getPropertyValue("border-left-width"))}}}),V=n.cw((e,t)=>{t.getPadding=void 0,t.getPadding=function(e){return{top:parseFloat(e.getPropertyValue("padding-top")),right:parseFloat(e.getPropertyValue("padding-right")),bottom:parseFloat(e.getPropertyValue("padding-bottom")),left:parseFloat(e.getPropertyValue("padding-left"))}}}),B=n.cw((e,t)=>{t.isRotated=void 0,t.isRotated=function(e){return 0!==function(e){const t=e.getPropertyValue("rotate");if(!t||"none"===t)return 0;const n=t.split(" ");return parseFloat(n[n.length-1])}(e)||0!==function(e){const t=e.getPropertyValue("transform");if(!t||"none"===t)return 0;const n=t.split(","),r=n[0].indexOf("("),o=parseFloat(n[0].substr(r+1)),i=parseFloat(n[1]);return 180*Math.atan2(i,o)/Math.PI}(e)}}),H=n.cw((e,t)=>{t.getAccDescription=void 0;const n=a();function r(e){if(e.attr("aria-describedby")){return n.axe.commons.dom.idrefs(e,"aria-describedby").map(e=>e?n.axe.commons.text.accessibleText(e,{inLabelledByContext:!0}):"").join("")}}function o(e){if(e.attr("aria-description"))return n.axe.commons.text.sanitize(e.attr("aria-description"))}function i(e,t){const r=n.axe.commons.text.sanitize(e.attr("title"));if(null!==r&&!t.includes(r))return r}t.getAccDescription=function(e,t){return[r,o,i].reduce((n,r)=>n??r(e,t),void 0)??""}}),$=n.cw((e,t)=>{t.getWordRects=void 0;const n=a(),r=o();function i(e,t,n){const r=document.createRange();return r.setStart(e,t),r.setEnd(e,t+n),Array.from(r.getClientRects())}t.getWordRects=function(e){(0,r.assert)(e.children,"vNode.children is not defined");const t=[];for(const{actualNode:n}of e.children){if(!s(n)||!n.nodeValue)continue;const e=o(n);for(const{index:r,length:o}of e)t.push(...i(n,r,o))}return t;function o({nodeValue:e}){(0,r.assert)(e,"textNode.nodeValue is not defined");let t=0,n=0,o="";const i=[],s=e=>{(e.charCount>1||/[0-9]/.test(e.word))&&i.push(e)};for(const r of e)a(r)?(o+=r,t++):o.length>0?(s({charCount:t,index:n,length:o.length,word:o}),n+=o.length+r.length,o="",t=0):n+=r.length;return s({index:n,length:o.length,word:o,charCount:t}),i}function a(e){return!/\s/.test(e)&&!n.axe.commons.text.hasUnicode(e,{emoji:!0,nonBmp:!0,punctuations:!0})}};const s=e=>e?.nodeType===Node.TEXT_NODE}),W=n.cw((e,t)=>{t.isInAccessibleText=void 0;const n=a(),r=o(),s=i(),l=z(),c=Symbol("accTextCache"),u=s.cache.child(c);function d(e){return u.get(e,()=>{(0,r.assert)(e.actualNode instanceof Element,"vNode.actualNode must be an Element");const t=e.actualNode;if((0,l.isNameFromContent)(e))return t;const o=n.axe.commons.aria.getAccessibleRefs(e).find(e=>!!n.axe.commons.aria.getRole(e,{noPresentational:!0})&&function(e,t){return f.filter(r=>{const o=e.getAttribute(r);return!!o&&n.axe.utils.tokenList(o).includes(t.id)})}(e,t).length);if(o)return o;const i=function(e){if("label"!==e.nodeName.toLowerCase())return null;const t=e.getAttribute("for")?.trim(),n=t&&e.ownerDocument?.getElementById(t);if(n&&p(n))return n;const r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>t!==e&&t instanceof HTMLElement&&p(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=r.nextNode();return o instanceof HTMLElement?o:null}(t);return i||(e.parent?d(e.parent):null)})}t.isInAccessibleText=function(e){return null!==d(e)};const f=["aria-labelledby","aria-describedby"];const h=["button","input","meter","output","progress","select","textarea"];function p(e){const t=e.nodeName.toLowerCase();return("input"!==t||"hidden"!==e.getAttribute("type"))&&h.includes(t)}}),z=n.cw((e,t)=>{t.isNameFromContent=void 0;const n=i(),r=a(),o=Symbol("nameFromContentRoles"),s=["term","directory","listitem","section","figure"];t.isNameFromContent=function(e){const t=n.cache.get(o,()=>r.axe.commons.standards.getAriaRolesSupportingNameFromContent().filter(e=>!s.includes(e))),i=r.axe.commons.aria.getRole(e);return!!i&&t.includes(i)}}),G=n.cw((e,t)=>{function n(e){return["include","exclude"].some(t=>o(e,t)&&r(e[t]))}function r(e){return"string"==typeof e||e instanceof window.Node||o(e,"fromFrames")||function(e){return o(e,"fromShadowDom")}(e)||!!(t=e)&&"object"==typeof t&&"length"in t&&"number"==typeof t.length;var t}function o(e,t){return!(!e||"object"!=typeof e)&&Object.prototype.hasOwnProperty.call(e,t)}t.isContextSpec=void 0,t.isContextSpec=function(e){return n(e)||r(e)}}),U=n.cw((e,t)=>{t.dropObscuredRects=void 0;const n=a(),r=q();t.dropObscuredRects=function(e,t,o={}){const{rectsOverlap:i}=n.axe.commons.math,s=(0,r.getObscuredRects)(e),a=[];for(const e of t){if(0===s.filter(t=>i(e,t)).length)a.push(e);else if(o.split)try{const t=n.axe.commons.math.splitRects(e,s).filter(({width:e,height:t})=>e>=1&&t>=1);a.push(...t)}catch{}}return a}}),q=n.cw((e,t)=>{t.getObscuredRects=void 0;const n=a(),r=i(),o=Y(),s=y(),l=Symbol("getObscuringRects"),c=r.cache.child(l);t.getObscuredRects=function(e){return c.get(e,()=>(0,s.findNearbyElms)(e).filter(t=>n.axe.commons.math.hasVisualOverlap(e,t)).map(o.getObscuringRects).flat())}}),Y=n.cw((e,t)=>{t.getObscuringRects=void 0;const n=a(),r=X();t.getObscuringRects=function(e){const t=e.getComputedStylePropertyValue.bind(e),o=e.actualNode;if(o instanceof Element==!1||"0"===t("opacity")||t("filter").includes("opacity(0)"))return[];const i=new n.axe.commons.color.Color;if(i.parseString(t("background-color")),0!==i.alpha||"none"!==t("background-image")||"none"!==t("backdrop-filter")||function(e){switch(e.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!0;case"input":return"hidden"!==e.props.type;default:return!1}}(e))return Array.from(o.getClientRects());const s=(0,r.getTextContentRect)(e);return s?[s]:[]}}),X=n.cw((e,t)=>{t.getTextContentRect=void 0;const n=U();t.getTextContentRect=function(e){const t=document.createRange(),r=[];for(const{actualNode:n}of e.children??[])n?.nodeType===Node.TEXT_NODE&&(t.selectNodeContents(n),r.push(...Array.from(t.getClientRects())));if(0===r.length)return null;const o=(0,n.dropObscuredRects)(e,r,{split:!0});if(0===o.length)return null;const i=Math.min(...o.map(({x:e})=>e)),s=Math.min(...o.map(({y:e})=>e)),a=Math.max(...o.map(({x:e,width:t})=>e+t)),l=Math.max(...o.map(({y:e,height:t})=>e+t));return{x:i,y:s,width:a-i,height:l-s}}}),J=n.cw((e,t)=>{t.getVisibilityRects=void 0;const n=o();function r(e,t){const{vNode:n}=e.utils.nodeLookup(t);return n._advancedVisibleRects||(n._advancedVisibleRects=i(e,n)),n._advancedVisibleRects}function i(e,t){if(!t.parent){const e=function(e){const t=e.actualNode,r=function(e){const t=e.actualNode?.ownerDocument.defaultView;return(0,n.assert)(t,"Frame window not found"),t}(e),{overflowX:o,overflowY:i}=s(e);let{innerWidth:a,innerHeight:l}=r,c=0,u=0;r.top===r&&"hidden"!==i&&(u=-r.scrollY||0,l=t.scrollHeight+parseFloat(e.getComputedStylePropertyValue("margin-top"))+parseFloat(e.getComputedStylePropertyValue("margin-bottom")));if(r.top===r&&"hidden"!==o){const n=parseFloat(e.getComputedStylePropertyValue("margin-left"));c=-r.scrollX||0,a=Math.max(a,t.scrollWidth+n)}return new DOMRect(c,u,a,l)}(t);return{visibleRect:e,clippingRect:e}}const o=t.boundingClientRect,i=function(e,{parent:t}){(0,n.assert)(t,"Cannot get clipping rect for a node without a parent");const{clippingRect:o,visibleRect:i}=r(e,t);if("visible"===t.getComputedStylePropertyValue("overflow"))return o;if(t.parent&&"body"===t.props.nodeName&&s(t.parent).fromBody)return o;return i}(e,t);return{visibleRect:e.commons.math.getIntersectionRect(o,i)??new DOMRect(o.x,o.y,0,0),clippingRect:i}}function s(e){const t=e.getComputedStylePropertyValue("overflow-x"),n=e.getComputedStylePropertyValue("overflow-y"),r=e.children?.find(e=>"body"===e.props.nodeName);return r&&"visible"===t&&"visible"===n?{overflowX:r.getComputedStylePropertyValue("overflow-x"),overflowY:r.getComputedStylePropertyValue("overflow-y"),fromBody:!0}:{overflowX:t,overflowY:n,fromBody:!1}}t.getVisibilityRects=r}),K=n.cw((e,t)=>{t.addRecorderToAxe=void 0;const n=Re(),r=be(),i=le(),s=Q(),l=oe(),c=ne(),d=u(),f=ee(),h=Qr(),p=o(),m=a(),g=Symbol("BACKGROUND_RECORDER_CLIENT");t.addRecorderToAxe=function(e,{bridge:t}){let o;(0,p.assert)(!e.recorderVersion||e.recorderVersion===h.version,`Failed to add Recorder v${h.version} because Recorder v${e.recorderVersion} is already installed.`),e.recorderVersion?(o=e[g],(0,p.assert)(o,"Advanced rules already initialized without a bridge"),(0,p.assert)(o.bridge===t,"Advanced rules already initialized with a different bridge")):(o=new d.BackgroundRecorderClient({bridge:t,axe:e}),e[g]=o,(0,c.updateAxeRun)(e,{background:o},f.advancedRun)),e.recorderVersion=h.version;const a=(0,l.createReporter)(e,i.recorderAsyncReporter);e.addReporter("advancedInputReporter",a);const u=n.recorderRules.map(t=>b(e,t)),y=r.recorderChecks.map(t=>v(e,t,o));e.configure({rules:u,checks:y,reporter:"advancedInputReporter"}),(0,s.updateNodeSerializer)(e),(0,m.setAxeProxy)(e)};const y={passed:!0,failed:!1,incomplete:void 0};function b(e,t){const n=function(e,t){return"function"!=typeof t?t:(n,r)=>t({domNode:n,vNode:r,axe:e})}(e,t.matches),r={...t,matches:n};return n||delete r.matches,r}function v(e,t,n){return{...t,evaluate(r,o,i){const s={domNode:r,options:o,vNode:i,axe:e,background:n},a=t.evaluate(s);if("result"in a){const{data:e,result:t,relatedNodes:n}=a;return this.data(e),n&&this.relatedNodes(n),y[t]}const l=this.async();a.then(({data:e,result:t,relatedNodes:n})=>{this.data(e),n&&this.relatedNodes(n),l(y[t])},e=>{e instanceof Error?l(e):l(new Error(String(e)))})}}}}),Z=n.cw((e,t)=>{t.NODE_LIMIT=void 0,t.NODE_LIMIT=15e3}),Q=n.cw((e,t)=>{t.updateNodeSerializer=void 0;const n=o(),r=m(),i=F(),s=V(),a=B(),l=J();function c(e,t,o){(0,n.assert)(t.advanced._frameProps,"frameProps is missing");const{innerFrameRect:i,clippingRect:s}=t.advanced._frameProps,a=o.commons.math.getIntersectionRect((0,r.toDOMRect)(e),new DOMRect(0,0,i.width,i.height));if(!a)return{x:e.x+i.x,y:e.y+i.y,width:0,height:0};a.x+=i.x,a.y+=i.y;const l=o.commons.math.getIntersectionRect((0,r.toDOMRect)(a),(0,r.toDOMRect)(s));return l?(0,r.fromDOMRect)(l):{x:a.x,y:a.y,width:0,height:0}}t.updateNodeSerializer=function(e){e.utils.nodeSerializer.update({toSpec(t){const{element:n}=t,{visibleRect:o,clippingRect:c}=(0,l.getVisibilityRects)(e,n),u=n.ownerDocument.defaultView;let d={x:0,y:0};u&&u.top===u&&(d={x:-u.scrollX||0,y:-u.scrollY||0});const f={visibleBoundingRect:(0,r.fromDOMRect)(o),clippingRect:(0,r.fromDOMRect)(c),windowCoordinate:d};if(function(e,t){const{vNode:n}=e.utils.nodeLookup(t);return["frame","iframe"].includes(n.props.nodeName)}(e,n)){const e=function(e){const t=window.getComputedStyle(e),n=(0,i.getBorder)(t),r=(0,s.getPadding)(t),{x:o,y:l,width:c,height:u}=e.getBoundingClientRect();return{innerFrameRect:{x:o+n.left+r.left,y:l+n.top+r.top,width:c-n.left-n.right-r.left-r.right,height:u-n.top-n.bottom-r.top-r.bottom},rotated:(0,a.isRotated)(t)}}(n);f._frameProps={...e,clippingRect:c}}return{...t.toJSON(),advanced:f}},mergeSpecs(t,r){(0,n.assert)(r.advanced?._frameProps,"required frameProps are missing. Was the iframe configured correctly?"),(0,n.assert)(t.advanced,"node from an inner frame is missing advanced metadata. Was the advanced recorder added to the child frame?");const{mergeSpecs:o}=e.utils.DqElement;if(!t.advanced.visibleBoundingRect||!t.advanced.clippingRect||!t.advanced.windowCoordinate||r.advanced._frameProps.rotated)return{...o(t,r),advanced:{visibleBoundingRect:null,windowCoordinate:null,clippingRect:null}};const i=c(t.advanced.visibleBoundingRect,r,e),s=c(t.advanced.clippingRect,r,e),a=function(e,t){const{windowCoordinate:r}=e.advanced,o=t.advanced._frameProps?.innerFrameRect;return(0,n.assert)(r,"windowCoordinate is missing"),(0,n.assert)(o,"innerFrameRect is missing"),{x:o.x+r.x,y:o.y+r.y}}(t,r),l={visibleBoundingRect:i,clippingRect:s,windowCoordinate:a};return{...o(t,r),advanced:l}}})}}),ee=n.cw((e,t)=>{t.advancedRun=void 0;const n=o(),r=l(),i=te(),s=Re(),a=c();function u(e,t){const n={ruleId:t.id,method:"#asyncAfter",...(0,a.serialError)(e)},r=t.incomplete[0].node,o=[{id:"error-occurred",data:n,result:void 0,message:"Axe encountered an error; test the page for this type of problem manually"}];return{...t,result:"incomplete",error:n,passes:[],violations:[],incomplete:[{result:"cantTell",impact:void 0,node:r,any:[],all:[],none:o}]}}t.advancedRun=async function({axe:e,context:t=document,options:o={},background:a}){const{runOptions:l,backgroundOptions:c}=(0,i.extractRunOptions)(e,o);try{let o,i;if(await(a?.setup(c)),a&&c.screenshot){const{scrollX:e,scrollY:t}=window;({screenshot:o,zoom:i}=await r.perf.run("captureFullScreenshot",()=>a.captureFullScreenshot())),e===window.scrollX&&t===window.scrollY||window.scrollTo(e,t)}const d=await e.run(t,l);return d.advancedRuleInput.screenshot=o,d.advancedRuleInput.screenshotScale=i,await async function({ruleResults:e,...t}){const{recorderResults:o=[]}=e.advancedRuleInput;for(let e=0;e<o.length;e++){const i=o[e],a=s.recorderRules.find(e=>e.id===i.id);if(a&&"asyncAfter"in a){const s=await r.perf.run(`asyncAfter ${a.id}`,()=>((0,n.assert)("function"==typeof a.asyncAfter,"asyncAfter is not a function"),i.error?i:a.asyncAfter({rawRuleResult:i,...t}).catch(e=>u(e,i))));o[e]=s}}return e}({ruleResults:d,axe:e,background:a})}finally{await(a?.teardown(c))}}}),te=n.cw((e,t)=>{t.extractRunOptions=void 0;const n=Re();t.extractRunOptions=function(e,t){const r=t.advanced??{};let o=t;e.utils.normalizeRunOptions?o=e.utils.normalizeRunOptions(t):e._audit.normalizeOptions&&(o=e._audit.normalizeOptions(t));const i=n.recorderRules.some(t=>e.utils.ruleShouldRun(t,{},o)),s={attachDebugger:r.attachDebugger??i,screenshot:r.screenshot??i,skipAnimations:r.skipAnimations??i,performanceTimer:!!t.performanceTimer};if(r.aiDisabled){const e=n.recorderRules.filter(e=>e.tags?.includes("AI")),t={...o.rules};e.forEach(e=>{t[e.id]={enabled:!1}}),o={...o,rules:t}}if(!0!==r.testFormStructure){const e={...o.rules};e["recorder/form-structure"]={enabled:!1},o={...o,rules:e}}return{backgroundOptions:s,runOptions:o}}}),ne=n.cw((e,t)=>{t.updateAxeRun=void 0;const n=G();t.updateAxeRun=function(e,{background:t},r){const o=Object.create(e);o.run=e.run,e.run=function(...i){const{context:s,options:a,callback:l}=function(e,t){const r=e.findIndex(e=>"function"==typeof e),o=e.findIndex(t.utils.isContextSpec??n.isContextSpec);return{callback:-1!==r?e[r]:void 0,context:-1!==o?e[o]:document,options:e.find((e,t)=>![r,o].includes(t))??{}}}(i,e);try{const e=r({axe:o,background:t,context:s,options:a});return l?void e.then(e=>l(null,e),e=>l(e)):e}catch(e){return l?void l(e):Promise.reject(e)}}}}),re=n.cw((e,t)=>{const n=K();var r=u();const o=ce();var i=ue();t.default={addRecorderToAxe:n.addRecorderToAxe,v1AdvancedAsyncReporter:o.v1AdvancedAsyncReporter}}),oe=n.cw((e,t)=>{t.createReporter=void 0;t.createReporter=(e,t)=>(n,r,o,i)=>{t(e,n,r).then(o,e=>i(e))}}),ie=n.cw((e,t)=>{t.dedupeContrastResults=void 0,t.dedupeContrastResults=function(e){const t=e.find(({id:e})=>"color-contrast"===e),n=e.find(({id:e})=>"recorder/text-contrast"===e);if(!t||!n)return;if(0===t.incomplete.length)return n.incomplete=[],void(n.result="inapplicable");const r=t.incomplete.reduce((e,t)=>e.add(JSON.stringify(t.node.ancestry)),new Set);n.incomplete=n.incomplete.filter(e=>r.has(JSON.stringify(e.node.ancestry))),t.incomplete=[],t.violations.length>0?t.result="failed":t.passes.length>0?t.result="passed":t.result="inapplicable"}}),se=n.cw((e,t)=>{t.dedupeImageDescription=void 0,t.dedupeImageDescription=function(e){const t=e.find(({id:e})=>"image-alt"===e),n=e.find(({id:e})=>"recorder/image-description"===e);if(!t||!n)return;const r=(e.find(({id:e})=>"image-alt"===e)?.violations??[]).reduce((e,t)=>e.add(JSON.stringify(t.node.ancestry)),new Set);n.incomplete=n.incomplete.filter(e=>!r.has(JSON.stringify(e.node.ancestry))),0===n.incomplete.length&&(n.result="inapplicable")}}),ae=n.cw((e,t)=>{t.limitRecorderResultsNodes=void 0;const n=Z();function r(e,t){const n={...e,passes:[],incomplete:[],violations:[]};let r=0;const o=["violations","incomplete","passes"];for(const i of o){const o=Math.min(e[i].length,t-r);n[i]=e[i].slice(0,o),r+=o}return n}function o(e){return e.passes.length+e.incomplete.length+e.violations.length}t.limitRecorderResultsNodes=function(e,t=n.NODE_LIMIT){const i=e.map((e,t)=>({result:e,nodeCount:o(e),originalIndex:t}));i.sort((e,t)=>e.nodeCount-t.nodeCount);let s=t,a=null;const l=new Array(e.length);for(let e=0;e<i.length;e++){const{result:t,nodeCount:n,originalIndex:o}=i[e];if(null!==a){l[o]=r(t,a);continue}const c=i.length-e,u=Math.floor(s/c);n>u?(a=u,l[o]=r(t,a)):(l[o]=t,s-=n)}return l}}),le=n.cw((e,t)=>{t.recorderAsyncReporter=void 0;const n=Qr(),r=ce(),o=ie(),i=se(),s=ae();t.recorderAsyncReporter=async(e,t,a)=>{(0,o.dedupeContrastResults)(t),(0,i.dedupeImageDescription)(t);const l=t.filter(e=>!e.tags.includes("advanced")),c=t.filter(e=>e.tags.includes("advanced")),u=await(0,r.v1AdvancedAsyncReporter)(e,l,a),d=await new Promise((t,n)=>{e.getReporter("raw")(c,a,t,n)});return{...u,advancedRuleInput:{recorderResults:(0,s.limitRecorderResultsNodes)(d),recorderSpec:{branding:e._audit.brand,lang:e._audit.lang,coreVersion:e.version,recorderVersion:n.version},runOptions:u.toolOptions,testEnvironment:u.testEnvironment,url:u.url}}}}),ce=n.cw((e,t)=>{t.v1AdvancedAsyncReporter=void 0;const n=["passes","incomplete","violations"];function r(e,t,n){const r=o.bind(null,e,t),s=n.nodes.map(n=>{const o=i(n.ancestry);return!0!==t.ancestry&&delete n.ancestry,{...n,any:n.any.map(r),all:n.all.map(r),none:n.none.map(r),advanced:e.get(o)}});return{...n,nodes:s}}function o(e,t,{relatedNodes:n,...r}){return n?{...r,relatedNodes:n.map(n=>{const r=i(n.ancestry);!0!==t.ancestry&&delete n.ancestry;const o=e.get(r);return{...n,advanced:o}})}:r}t.v1AdvancedAsyncReporter=async function(e,t,o){const s=function(e,t){const r={selectors:!1,ancestry:!0},o=e=>t.utils.nodeSerializer.dqElmToSpec(e,r),s=new Map;for(const t of e)for(const e of n)for(const n of t[e]){for(const e of["any","all","none"])n[e].forEach(e=>e.relatedNodes?.forEach(e=>{const t=o(e);s.set(i(t.ancestry),t.advanced)}));const e=o(n.node);s.set(i(e.ancestry),e.advanced)}return s}(t,e),a=r.bind(null,s,o),l=await new Promise((n,r)=>{const i=e.getReporter("v1"),s={...o,ancestry:!0};i(t,s,n,r)});return{...l,passes:l.passes.map(a),violations:l.violations.map(a),incomplete:l.incomplete.map(a),inapplicable:l.inapplicable.map(a)}};const i=e=>e.flat().join(" >>> ")}),ue=n.cw(function(e,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.advancedRuleSpecs=void 0;const r=n(fe()),o=n(he()),i=n(ge()),s=n(ye()),a=n(pe()),l=n(me()),c=n(de());t.advancedRuleSpecs={[r.default.id]:r.default,[o.default.id]:o.default,[i.default.id]:i.default,[s.default.id]:s.default,[a.default.id]:a.default,[l.default.id]:l.default,[c.default.id]:c.default}}),de=()=>n(1698),fe=()=>n(9792),he=()=>n(6822),pe=()=>n(8609),me=()=>n(2876),ge=()=>n(8153),ye=()=>n(5062),be=n.cw((e,t)=>{t.recorderChecks=void 0;const n=De(),r=ke(),o=we(),i=Pe(),s=Ee();t.recorderChecks=[n.textContrastCheck,r.screenshotFeaturesCheck,o.focusVisibleCheck,i.imageDescriptionCheck,s.formStructureCheck]}),ve=n.cw((e,t)=>{t.findFocusListeners=void 0;const n=/^([^ :>]+):nth-child\(\d+\)/;function r(e,t,n={}){if(t.length<=e.length&&t.every((t,n)=>o(e[n],t)))return!0;if(!n.matchAncestor)return!1;const r=Math.min(t.length,e.length)-1;return!!e.slice(0,r).every((e,n)=>o(e,t[n]))&&!!o(e[r],t[r],n)}function o(e,t,{matchAncestor:r}={}){return!t.startsWith("html")&&!e.match(n)&&(t=t.replace(n,"$1")),r?e.startsWith(t):e===t}t.findFocusListeners=function(e,t){return t.filter(t=>{if(t.ancestry.length!==e.length)return!1;const n="focusin"===t.type||t.useCapture;for(let o=0;o<t.ancestry.length;o++){if(!r(i(e[o]),i(t.ancestry[o]),{matchAncestor:n&&o===t.ancestry.length-1}))return!1}return!0})};const i=e=>Array.isArray(e)?e:[e]}),we=n.cw((e,t)=>{t.focusVisibleCheck=t.p=void 0;const n=L(),r=S(),o=i(),s="incomplete";t.p=3,t.focusVisibleCheck={id:"recorder/focus-visible",options:{},async evaluate({background:e,domNode:o}){if(!e)return{result:s,data:{checkVersion:t.p}};const[i,a]=await Promise.all([l(e),(0,n.getAllStyleSheets)(e)]),c=(0,r.findFocusIndicators)(o,a);let u=0;const d=new Map,f=c.map(({elm:e,pseudoElm:t})=>{if(e===o)return{relatedNodeIndex:-1,...t?{pseudoElm:t}:{}};let n=d.get(e)??-1;return-1===n&&(n=u,d.set(e,n),u++),{relatedNodeIndex:n,...t?{pseudoElm:t}:{}}}),h=new Array(u);d.forEach((e,t)=>{h[e]=t});const p={checkVersion:t.p,possibleIndicators:f,frameId:i};return{result:s,data:p,relatedNodes:h}}};const a=Symbol("background.getFrameId");async function l(e){return o.cache.getAsync(a,async()=>(await e.getFrameId()).frameId)}}),Se=n.cw((e,t)=>{t.focusVisibleMatches=void 0;const n=b(),r=w();t.focusVisibleMatches=function({vNode:e,domNode:t,axe:i}){return!!(0,r.isFocusableMedia)({vNode:e,axe:i})||!(!i.commons.dom.isInTabOrder(e)||function(e,t){if("input"===e.props.nodeName)return!o.has(e.props.type);if("textarea"===e.props.nodeName)return!0;return(0,n.isContentEditable)(t)}(e,t))};const o=new Set(["button","checkbox","color","file","image","radio","range","reset","submit"])}),xe=n.cw((e,t)=>{t.focusVisible=void 0;const n=we(),r=o(),i=ve(),s=Se();t.focusVisible={id:"recorder/css-focus-visible",excludeHidden:!1,selector:"a, area, audio, button, input, select, summary, textarea, video, [tabindex]",matches:s.focusVisibleMatches,tags:["advanced"],any:[n.focusVisibleCheck.id],async asyncAfter({rawRuleResult:e,background:t}){const n=function(e){const t=[];return e.forEach(e=>{const n=e.any[0].data,o=e.any[0].relatedNodes;if(a(n)&&n.possibleIndicators.length){const i=n.possibleIndicators.map(({pseudoElm:t,relatedNodeIndex:n})=>{let i=e.node.ancestry[e.node.ancestry.length-1];if(-1!==n){const e=`relatedNode ${n} not found`;(0,r.assert)(o?.[n],e);const t=o[n].ancestry;i=t[t.length-1]}return{selector:i,...t?{pseudoElm:t}:{}}});t.push({...n,ancestry:e.node.ancestry,possibleIndicators:i})}}),t}(e.incomplete);let o={},s=[];if(t){const e=await Promise.all([t.getComputedFocusStyles({focusTriggers:n}),t.getEventListeners({types:["focus","focusin"]})]);o=e[0].computedFocusStylesMap,s=e[1].listeners}return e.incomplete.forEach(e=>{e.any[0].data=function(e,t,n){const r=e.any[0].data,{checkVersion:o}=r;if(!a(r))return{checkVersion:o};const s=JSON.stringify(e.node.ancestry),l=t[s],c=(0,i.findFocusListeners)(e.node.ancestry,n);if(!l)return{checkVersion:o};return{checkVersion:o,focusIndicators:l.focusIndicators,error:l.error,focusListeners:c}}(e,o,s)}),e}};const a=e=>!!e.possibleIndicators}),Ee=n.cw((e,t)=>{t.formStructureCheck=t.p=void 0;const n=H(),r=Ce(),o=Te(),i=Ie();t.p=1;const s=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]);function a(e){return(e.attr("placeholder")??e.attr("aria-placeholder")??"").trim()}function l(e,t){const n=e.props?.nodeName;return"select"===n||"textarea"===n||!("input"!==n||!t)&&!s.has(t)}function c(e){const t=e.props?.nodeName;return("input"===t||"textarea"===t)&&e.hasAttr("readonly")}t.formStructureCheck={id:"recorder/form-structure",options:{},evaluate({vNode:e,axe:s}){const u=s.commons.text.accessibleTextVirtual(e),d=(0,r.getNearestForm)(e),f=function(e){if("input"!==e.props?.nodeName)return null;return e.props?.type??null}(e);return{data:{checkVersion:t.p,accessibleName:u,role:s.commons.aria.getRole(e,{noPresentational:!0}),accessibleDescription:(0,n.getAccDescription)(e,u),placeholder:a(e),inputType:f,autocompleteValue:(e.attr("autocomplete")??"").trim(),autocompleteSupport:l(e,f),fieldsetNames:(0,o.getFieldsetNames)(e),nearestHeadingText:(0,i.getPreviousHeading)(e),isDisabled:s.commons.forms.isDisabled(e),isInert:s.commons.dom.isInert(e),isReadonly:c(e)},result:"incomplete",relatedNodes:d?[d]:[]}}}}),Oe=n.cw((e,t)=>{t.formStructureMatches=void 0;const n=new Set(["textbox","spinbutton","combobox","checkbox","radio","switch","slider","listbox","searchbox"]),r=new Set(["input","select","textarea"]);t.formStructureMatches=function({vNode:e,axe:t}){const o=t.commons.aria.getRole(e);if(null===o){const t=e.props.nodeName;return r.has(t)}return!!n.has(o)}}),Ae=n.cw((e,t)=>{t.formStructure=void 0;const n=Ee(),r=Oe();t.formStructure={id:"recorder/form-structure",selector:"input, select, textarea, [role]",excludeHidden:!0,matches:r.formStructureMatches,tags:["advanced","AI"],any:[n.formStructureCheck.id]}}),Te=n.cw((e,t)=>{t.getFieldsetNames=void 0;const n=i(),r=a(),o=Symbol("FIELDSET_NAMES"),s=n.cache.child(o);t.getFieldsetNames=function e(t){return s.get(t,()=>{const n=t.parent;if(!n)return[];const o=e(n),i=n.props?.nodeName,s=r.axe.commons.aria.getRole(n,{noPresentational:!0});if(!("fieldset"===i)&&!("group"===s))return o;const a=r.axe.commons.text.accessibleTextVirtual(n).trim();return a?[a,...o]:o})}}),Ce=n.cw((e,t)=>{t.getNearestForm=void 0;const n=o(),r=i(),s=a(),l=Symbol("NEAREST_FORM"),c=r.cache.child(l);t.getNearestForm=function e(t){return c.get(t,()=>{const r=t.parent;if(!r)return null;if("form"===r.props?.nodeName){const e=r.actualNode;return(0,n.assert)(e instanceof Element,"form element is not an Element"),e}if("form"===s.axe.commons.aria.getRole(r)){const e=r.actualNode;return(0,n.assert)(e instanceof Element,"form element is not an Element"),e}return e(r)})}}),Ie=n.cw((e,t)=>{t.getPreviousHeading=void 0;const n=i(),r=a(),o=Symbol("PREVIOUS_HEADING"),s=n.cache.child(o);function l(e){const t=e.children??[];return 0===t.length?e:l(t[t.length-1])}t.getPreviousHeading=function e(t){return s.get(t,()=>{const n=t.parent;if(!n)return"";const o=function(e){const t=e.parent?.children??[],n=t.indexOf(e);if(n<1)return;return l(t[n-1])}(t)??n;return function(e){const t=r.axe.commons.aria.getRole(e);return"heading"===t}(o)?r.axe.commons.text.accessibleTextVirtual(o):e(o)})}}),Pe=n.cw((e,t)=>{t.imageDescriptionCheck=t.p=void 0;const n=H(),r=q();t.p=1,t.imageDescriptionCheck={id:"recorder/image-description",options:{},evaluate({vNode:e,axe:o}){const i=o.commons.text.accessibleTextVirtual(e),s=(0,n.getAccDescription)(e,i),a=(0,r.getObscuredRects)(e);return{data:{checkVersion:t.p,label:i,description:s,obscuredRects:a},result:"incomplete"}}}}),Ne=n.cw((e,t)=>{t.imageDescriptionMatches=void 0;const n=a(),r=W(),o=q();t.imageDescriptionMatches=function({domNode:e,vNode:t}){const i=(0,o.getObscuredRects)(t);return 0!==n.axe.commons.math.splitRects(t.boundingClientRect,i).length&&(e instanceof HTMLImageElement&&e.complete&&e.naturalHeight>0&&!(0,r.isInAccessibleText)(t))}}),je=n.cw((e,t)=>{t.imageDescription=void 0;const n=Pe(),r=Ne();t.imageDescription={id:"recorder/image-description",selector:"img",matches:r.imageDescriptionMatches,tags:["advanced","AI"],any:[n.imageDescriptionCheck.id]}}),Re=n.cw((e,t)=>{t.recorderRules=void 0;const n=Le(),r=_e(),o=je(),i=xe(),s=Ae();t.recorderRules=[n.textContrast,r.screenshotFeatures,o.imageDescription,i.focusVisible,s.formStructure]}),ke=n.cw((e,t)=>{t.screenshotFeaturesCheck=t.p=void 0;const n=a(),r=X();t.p=5;function o(e){if(!e?.parent||"body"===e.props.nodeName)return[];const t=o(e.parent),r=n.axe.commons.aria.getRole(e,{noPresentational:!0});return r?t.concat(r):t}t.screenshotFeaturesCheck={id:"recorder/screenshot-features",options:{},evaluate({vNode:e,axe:n}){const i=(0,r.getTextContentRect)(e),s=n.commons.dom.isVisibleOnScreen(e),a=o(e),l=n.commons.aria.getRole(e,{noPresentational:!1}),c=n.commons.dom.isFocusable(e),u=!!i;return{data:{checkVersion:t.p,contentRect:i,roles:a,visible:s,role:l,focusable:c,hasChildTextNodes:u},result:"incomplete"}}}}),Me=n.cw((e,t)=>{t.screenshotFeaturesMatches=void 0,t.screenshotFeaturesMatches=function(e){const{vNode:t,axe:n}=e;return!(!n.commons.dom.isFocusable(t)&&!function({vNode:e,axe:t}){const n=t.commons.aria.getRoleType(e);return"widget"===n||"composite"===n}(e))||!!function({vNode:e,axe:t}){return t.commons.dom.isVisibleOnScreen(e)&&t.commons.dom.hasContentVirtual(e,!0,!0)}(e)}}),_e=n.cw((e,t)=>{t.screenshotFeatures=void 0;const n=ke(),r=Me();t.screenshotFeatures={id:"recorder/screenshot-features",selector:"*",matches:r.screenshotFeaturesMatches,excludeHidden:!0,tags:["advanced","AI"],any:[n.screenshotFeaturesCheck.id]}}),De=n.cw((e,t)=>{t.textContrastCheck=t.p=void 0;const n=$(),r=Fe(),o=Ve(),i=U();t.p=4,t.textContrastCheck={id:"recorder/text-contrast",options:{},evaluate({vNode:e}){const s=(0,n.getWordRects)(e);return{data:{checkVersion:t.p,rects:(0,i.dropObscuredRects)(e,s),fontSize:parseFloat(e.getComputedStylePropertyValue("font-size")),fontWeight:parseFloat(e.getComputedStylePropertyValue("font-weight")),ownCss:(0,o.getOwnCssProps)(e),ancestorCss:(0,r.getAncestorCssProps)(e)},result:"incomplete"}}}}),Le=n.cw((e,t)=>{t.textContrast=void 0;const n=De();t.textContrast={id:"recorder/text-contrast",matches:"color-contrast-matches",excludeHidden:!1,tags:["advanced"],all:[n.textContrastCheck.id]}}),Fe=n.cw((e,t)=>{t.getAncestorCssProps=t.D=void 0,t.D=[{name:"-webkit-background-clip",ignore:/box/},{name:"background-clip",ignore:/box/},{name:"filter",ignore:"none"},{name:"mix-blend-mode",ignore:"normal"},{name:"opacity",ignore:"1"},{name:"rotate",ignore:"none"},{name:"scale",ignore:"none"},{name:"text-decoration-line",ignore:/none/},{name:"text-decoration",ignore:"none"},{name:"text-underline-offset",ignore:"auto"},{name:"transform",ignore:"none"},{name:"transform-box",ignore:"view-box"}],t.getAncestorCssProps=function e(r){if(!r)return[];const o=[];for(const{name:e,ignore:i}of t.D){const t=r.getComputedStylePropertyValue(e);t&&!n(i,t)&&o.push([e,t])}const i=e(r.parent),s=Object.fromEntries(o);return s["text-decoration-line"]||delete s["text-decoration"],Object.keys(s).length>0&&i.push(s),i};const n=(e,t)=>e instanceof RegExp?e.test(t):t===e}),Ve=n.cw((e,t)=>{t.getOwnCssProps=t.H=void 0,t.H=["color","font","font-palette","text-emphasis","text-shadow","-webkit-text-stroke"],t.getOwnCssProps=function(e){const n={};for(const r of t.H)n[r]=e.getComputedStylePropertyValue(r);return n}}),Be=n.cw(function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},r=this&&this.__generator||function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var i,s,a,l=Nn();function c(e,t,n){for(var r=null,o=[],a=e,c=0,d=function(){var e=g(function(e){var t=e.getAttribute("id");if(t&&s.idName(t))return{name:"#"+l(t,{isIdentifier:!0}),penalty:0};return null}(a))||g.apply(void 0,function(e){var t=Array.from(e.attributes).filter(function(e){return s.attr(e.name,e.value)});return t.map(function(e){return{name:"["+l(e.name,{isIdentifier:!0})+'="'+l(e.value)+'"]',penalty:.5}})}(a))||g.apply(void 0,function(e){var t=Array.from(e.classList).filter(s.className);return t.map(function(e){return{name:"."+l(e,{isIdentifier:!0}),penalty:1}})}(a))||g(function(e){var t=e.tagName.toLowerCase();if(s.tagName(t))return{name:t,penalty:2};return null}(a))||[{name:"*",penalty:3}],d=function(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;var r=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}(a);if(t===i.All)d&&(e=e.concat(e.filter(m).map(function(e){return p(e,d)})));else if(t===i.Two)e=e.slice(0,1),d&&(e=e.concat(e.filter(m).map(function(e){return p(e,d)})));else if(t===i.One){var f=(e=e.slice(0,1))[0];d&&m(f)&&(e=[p(f,d)])}for(var h=0,y=e;h<y.length;h++){(f=y[h]).level=c}if(o.push(e),o.length>=s.seedMinLength&&(r=u(o,n)))return"break";a=a.parentElement,c++};a&&a!==s.root.parentElement;){if("break"===d())break}return r||(r=u(o,n)),r}function u(e,t){var n=v(b(e));if(n.length>s.threshold)return t?t():null;for(var r=0,o=n;r<o.length;r++){var i=o[r];if(h(i))return i}return null}function d(e){for(var t=e[0],n=t.name,r=1;r<e.length;r++){var o=e[r].level||0;n=t.level===o-1?e[r].name+" > "+n:e[r].name+" "+n,t=e[r]}return n}function f(e){return e.map(function(e){return e.penalty}).reduce(function(e,t){return e+t},0)}function h(e){switch(a.querySelectorAll(d(e)).length){case 0:throw new Error("Can't select any node with this selector: "+d(e));case 1:return!0;default:return!1}}function p(e,t){return{name:e.name+":nth-child("+t+")",penalty:e.penalty+1}}function m(e){return"html"!==e.name&&!e.name.startsWith("#")}function g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(y);return n.length>0?n:null}function y(e){return null!=e}function b(e,t){var n,i,s;return void 0===t&&(t=[]),r(this,function(r){switch(r.label){case 0:if(!(e.length>0))return[3,5];n=0,i=e[0],r.label=1;case 1:return n<i.length?(s=i[n],[5,o(b(e.slice(1,e.length),t.concat(s)))]):[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[3,7];case 5:return[4,t];case 6:r.sent(),r.label=7;case 7:return[2]}})}function v(e){return Array.from(e).sort(function(e,t){return f(e)-f(t)})}function w(e,t,n){var i,l,c;return void 0===n&&(n={counter:0,visited:new Map}),r(this,function(r){switch(r.label){case 0:if(!(e.length>2&&e.length>s.optimizedMinLength))return[3,5];i=1,r.label=1;case 1:return i<e.length-1?n.counter>s.maxNumberOfTries?[2]:(n.counter+=1,(l=e.slice()).splice(i,1),c=d(l),n.visited.has(c)?[2]:h(l)&&function(e,t){return a.querySelector(d(e))===t}(l,t)?[4,l]:[3,4]):[3,5];case 2:return r.sent(),n.visited.set(c,!0),[5,o(w(l,t,n))];case 3:r.sent(),r.label=4;case 4:return i++,[3,1];case 5:return[2]}})}!function(e){e[e.All=0]="All",e[e.Two=1]="Two",e[e.One=2]="One"}(i||(i={})),t.default=function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===e.tagName.toLowerCase())return"html";var r={root:document.body,idName:function(e){return!0},className:function(e){return!0},tagName:function(e){return!0},attr:function(e,t){return!1},seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4};s=n({},r,t),a=function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return e;if(e===t.root)return e.ownerDocument;return e}(s.root,r);var o=c(e,i.All,function(){return c(e,i.Two,function(){return c(e,i.One)})});if(o){var l=v(w(o,e));return l.length>0&&(o=l[0]),d(o)}throw new Error("Selector was not found.")}}),He=n.cw((e,t)=>{n.d(t,["rt",0,"internals:gather","w8",0,"internals:feature-enabled"])}),$e=n.cw((e,t)=>{n.d(t,["pW",0,"AxeChrome"])}),We=n.cw((e,t)=>{n.d(t,["JV",0,'li, dt, [role="listitem"]',"NF",0,'h1, h2, h3, h4, h5, h6, [role="heading"]',"Pc",0,["children","previousSiblings","previousSibling","ancestors","slotAncestors","slotChildren","element","source","groot"],"Po",0,'dl:not([role]), ol:not([role]), ul:not([role]), [role="list"]',"QC",0,["group","groupId","groupSelector","groupVnodeIds","define-group"]])}),ze=n.cw((e,t)=>{er();const r=e=>{var t,n;if(null!==(t=e.element)&&void 0!==t&&t.isConnected)return e.element;if(null!==(n=e.selector)&&void 0!==n&&n.length)try{const t=(0,qt().A)(e.selector);if(t)return t}catch{}return null},o=async e=>{let t=!1;if(function(e){return e instanceof er().UV}(e)&&(t=e.isCrossOrigin),!t){const t=r(e);if(t)return t}return(0,Ge().A)(e.selector)};n.d(t,["A",0,o,"O",0,r])}),Ge=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tr();const s=async e=>{if(!e||0===e.length)return null;const t=await tr().yS.send(tr()._O.content,"selector:identify",{selector:e});if(!Array.isArray(t)||null==t||!t.length)return null;const n=t.pop(),r=await tr().yS.send(tr()._O.content,"highlight:get-node-metadata",{selector:n.selector},{frameId:n.frameId});if(!r)return null;const[i,...s]=await Promise.all([n,...t].map(e=>tr().yS.send(tr()._O.content,"highlight:get-element-layout",{selector:e.selector},{frameId:e.frameId}))),a=s.reduce((e,t)=>({top:e.top+t.offsetTop+t.border.top,left:e.left+t.offsetLeft+t.border.left}),{top:0,left:0});return o(o({},r),{},{selector:e,frameId:n.frameId,layout:o(o({},i),{},{top:i.top+a.top,left:i.left+a.left})})};n.d(t,["A",0,s])}),Ue=n.cw((e,t)=>{function r(e){const t=Array.from(e.rows),n=new Map;for(const e of t){const t=n.get(e.parentElement);t?t.push(e):n.set(e.parentElement,[e])}let r=0;for(const e of n.values()){const t=new Array(e.length).fill(0);e.forEach((n,r)=>{for(const o of Array.from(n.cells)){const n=0===o.rowSpan?e.length:Math.min(r+o.rowSpan,e.length);for(let e=r;e<n;e++)t[e]+=o.colSpan}});for(const e of t)r=Math.max(r,e)}return{rowCount:t.length,columnCount:r}}n.d(t,{A:()=>r})}),qe=n.cw((e,t)=>{n.d(t,["M",0,(e,t,n=[])=>{var r;const o=null==e?void 0:e.capturedRegion;if(!o||!t)return!1;const i=(0,Ht().CR)(n);return(0!==i.frameCount||(null===(r=t.ownerDocument)||void 0===r?void 0:r.defaultView)===window.top)&&!(0,Ft().AI)(((e,t={left:0,top:0})=>{const n=e.getBoundingClientRect(),r=n.left+t.left+window.scrollX,o=n.top+t.top+window.scrollY;return{left:r,top:o,right:r+n.width,bottom:o+n.height}})(t,i),o)}])}),Ye=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tr(),Ke();const s=(e,t)=>({left:Math.max(e.left,t.left),top:Math.max(e.top,t.top),right:Math.min(e.right,t.right),bottom:Math.min(e.bottom,t.bottom)}),a=e=>({left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}),l=e=>{const t=[];try{for(let r=e.ownerDocument.defaultView;null!==(n=r)&&void 0!==n&&n.frameElement;r=r.parent){var n;t.push(r.frameElement)}}catch{}return t},c=new Map,u=e=>"scrollLeft"in e?{left:e.scrollLeft,top:e.scrollTop}:{left:e.scrollX,top:e.scrollY},d=e=>{c.has(e)||c.set(e,u(e))},f=()=>{for(const[e,t]of c){const{left:n,top:r}=u(e);n===t.left&&r===t.top||e.scrollTo(o(o({},t),{},{behavior:"instant"}))}c.clear()},h=e=>{var t;return null===(t=(0,Ke().u)(e).find(t=>t.element===e))||void 0===t?void 0:t.textRect},p=({left:e,right:t},n,r)=>e<n?e-n:t>r?Math.min(e-n,t-r):0,m=e=>{var t;const n=null===(t=e.ownerDocument.defaultView)||void 0===t?void 0:t.getComputedStyle(e).overflowX;return("auto"===n||"scroll"===n)&&e.scrollWidth>e.clientWidth},g=e=>{(e=>{for(const t of[e,...l(e)]){for(let e=(0,Qe().A)(t);e;e=(0,Qe().A)(e))d(e);const e=t.ownerDocument.defaultView;e&&d(e)}})(e),e.scrollIntoView({block:"nearest",inline:"nearest",behavior:"instant"});const t=e.ownerDocument.defaultView;if(!t)return null;((e,t)=>{for(let t=(0,Qe().A)(e);t;t=(0,Qe().A)(t)){if(!m(t))continue;const n=h(e);if(!n)return;const r=t.getBoundingClientRect().left+t.clientLeft,o=p(n,r,r+t.clientWidth);o&&t.scrollBy({left:o,behavior:"instant"})}const n=h(e),r=n&&p(n,0,t.innerWidth);r&&t.scrollBy({left:r,behavior:"instant"})})(e,t);const n=s((e=>{const t=e.getBoundingClientRect(),n=h(e);return n?{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top),right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)}:t})(e),a(t)),r=(0,Ht().CR)(l(e).map(e=>({isFrame:!0,element:e}))),{left:o,top:i,right:c,bottom:u}=s({left:n.left+r.left,top:n.top+r.top,right:n.right+r.left,bottom:n.bottom+r.top},a(window));return c<=o||u<=i?null:{x:o,y:i,left:o,top:i,right:c,bottom:u,width:c-o,height:u-i}};n.d(t,["SV",0,({getTree:e})=>{tr().yS.listen("igt:reflow:locate-text-block",({message:t})=>{let n;try{n=e().querySelector(t.selector)}catch{return null}return n?g(n):null}),tr().yS.listen("igt:reflow:restore-scroll",f)}])}),Xe=n.cw((e,t)=>{tr(),Ke();const r=["element","clipElement","clipContainers"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,["n",0,({getTree:e,buildTree:t})=>{tr().yS.listen("igt:reflow:measure-text-blocks",async({message:n})=>{var o;const s=null==n?void 0:n.scope;if(await t({scope:s}),s&&!s.element)return{blocks:[],unmeasured:0,scopeMissing:!0};const l=s?s.element:document.body;if(!l)throw new Error("The page has no body to measure");const c=e(),u=s?(null===(o=c.get(l))||void 0===o?void 0:o.ancestors)??[]:[],d=e=>{var t,n;return(null===(t=c.get(e))||void 0===t?void 0:t.selector)??(null===(n=u.find(t=>t.element===e))||void 0===n?void 0:n.selector)??null},f=[];let h=0;for(const e of(0,Ke().u)(l)){const{element:t,clipElement:n,clipContainers:o}=e,s=a(e,r),l=c.get(t);l?f.push(i({selector:l.selector,clipSelector:n?d(n):null,clipContainerSelectors:o.flatMap(e=>{const t=d(e);return t?[t]:[]})},s)):h++}return{blocks:f,unmeasured:h,scopeMissing:!1}})}])}),Je=n.cw((e,t)=>{tr();n.d(t,["z",0,({getTree:e})=>{tr().yS.listen("igt:reflow:resolve-text-blocks",({message:t})=>{const n=e();return t.selectors.map(e=>{try{const t=n.querySelector(e),r=t?n.get(t):void 0;return r?JSON.parse(n.safe(r)):null}catch{return null}})})}])}),Ke=n.cw((e,t)=>{const r=new Set(["script","style","noscript","template","textarea","select","svg"]),o=new Set(["inline","contents","ruby","ruby-base","ruby-text","ruby-base-container","ruby-text-container"]),i=e=>{var t;return(null===(t=e.ownerDocument.defaultView)||void 0===t?void 0:t.getComputedStyle(e))??null},s=e=>e.nodeType===Node.TEXT_NODE,a=e=>"0"===e.opacity,l=(e,t,n,r)=>{for(const o of Array.from((e=>{if("iframe"===e.localName||"frame"===e.localName){var t;const n=null===(t=(e=>{try{return e.contentDocument}catch{return null}})(e))||void 0===t?void 0:t.documentElement;return n?[n]:[]}if(e.shadowRoot)return e.shadowRoot.childNodes;if("slot"===e.localName){const t=e.assignedNodes();return t.length?t:e.childNodes}return e.childNodes})(e)))if(s(o)){if("visible"===t.visibility&&/\S/.test(o.data)){const e=r.get(n);e?e.push(o):r.set(n,[o])}}else(0,nt().A)(o)&&c(o,n,r)},c=(e,t,n)=>{if(r.has(e.localName)||(e=>{var t,n;return"http://www.w3.org/1999/xhtml"===e.namespaceURI&&!e.shadowRoot&&!(null===(t=globalThis.chrome)||void 0===t||null===(t=t.dom)||void 0===t||null===(n=t.openOrClosedShadowRoot)||void 0===n||!n.call(t,e))})(e))return;const s=i(e);if(!s||"none"===s.display||a(s))return;const c=o.has(s.display)?t:e;l(e,s,c,n)},u=(e,t,n,r)=>({x:e,y:t,left:e,top:t,right:n,bottom:r,width:n-e,height:r-t}),d=e=>{const t=e[0].ownerDocument.createRange();let n=1/0,r=1/0,o=-1/0,i=-1/0;for(const s of e){t.selectNodeContents(s);for(const e of Array.from(t.getClientRects()))0===e.width&&0===e.height||(n=Math.min(n,e.left),r=Math.min(r,e.top),o=Math.max(o,e.right),i=Math.max(i,e.bottom))}return n===1/0?null:u(n,r,o,i)},f=({left:e,top:t,right:n,bottom:r})=>u(e,t,n,r),h=e=>{const t=[];for(let n=e;n;n=(0,Qe().A)(n))t.push({element:n,style:i(n)});return t},p=new Set(["table-row","table-row-group","table-header-group","table-footer-group","table-column","table-column-group"]),m=e=>!o.has(e.display)&&!p.has(e.display),g=e=>"contents"===e.display,y=e=>!(null==e||!e.overflowX)&&"visible"!==e.overflowX&&m(e),b=(e,t)=>"x"===t?e.overflowX:e.overflowY,v=e=>"hidden"===e||"clip"===e,w=(e,t)=>v(b(e,t))&&m(e),S=(e,t)=>{const n=b(e,t);return("auto"===n||"scroll"===n)&&m(e)},x=e=>parseFloat(e)||0,E=(e,t)=>{const{left:n,top:r,right:o,bottom:i}=e.getBoundingClientRect();return u(n+x(t.borderLeftWidth),r+x(t.borderTopWidth),o-x(t.borderRightWidth),i-x(t.borderBottomWidth))},O=e=>"visible"===(null==e?void 0:e.overflowX)&&"visible"===e.overflowY,A=(e,t)=>{const{documentElement:n,body:r}=e.ownerDocument;return e===n||e===r&&O(t)},T=({document:e})=>{var t;return"rtl"===(null===(t=i(e.body??e.documentElement))||void 0===t?void 0:t.direction)},C=e=>{const{scrollWidth:t,scrollHeight:n}=e.document.documentElement,r=Math.max(t,e.innerWidth),o=-e.scrollY,i=o+Math.max(n,e.innerHeight);if(T(e)){const t=e.innerWidth-e.scrollX;return u(t-r,o,t,i)}const s=-e.scrollX;return u(s,o,s+r,i)},I=e=>u(-e.scrollX,-e.scrollY,e.innerWidth-e.scrollX,e.innerHeight-e.scrollY),P=[":modal",":popover-open"],N=e=>P.some(t=>{try{return e.matches(t)}catch{return!1}}),j=({element:e,style:t})=>!t||g(t)||"absolute"!==t.position&&"fixed"!==t.position?null:N(e)?"top-layer":t.position,R=(e,t)=>"top-layer"!==e&&(B(t)||"absolute"===e&&!!t&&!g(t)&&"static"!==t.position),k=(e,t)=>{const n=[];let r=null;for(const o of e){const{element:e,style:i}=o;(!r||R(r,i)||A(e,t))&&(r=j(o),n.push(o))}return n},M=(e,t,n)=>{const r=i(n.document.documentElement);for(const{element:o,style:i}of k(e,r)){if(!i||!y(i))continue;const e=A(o,r),s=e?I(n):E(o,i);if(!(t.left>=s.left&&t.right<=s.right))return w(i,"x")?{rect:s,element:e?null:o}:null}const o=C(n);return(T(n)?t.right>o.right:t.left<o.left)?{rect:o,element:null}:null},_=e=>"flex"===e.display||"inline-flex"===e.display,D=(e,t)=>{const n=e.findIndex(({element:e})=>e===t);if(n<0)return[];const r=e.slice(1,n).map(({element:e})=>e),o=e[n];return(i=o.style)&&("grid"===i.display||"inline-grid"===i.display||_(i)&&!i.flexDirection.startsWith("column"))?[...r,o.element]:r;var i},L=/\b(carousel|slide)\b/i,F=e=>e.some(({element:e})=>L.test(e.getAttribute("aria-roledescription")??"")),V=["transform","translate","rotate","scale","perspective","filter","backdrop-filter"],B=e=>{if(!e||g(e))return!1;const t=t=>e.getPropertyValue(t);return V.some(e=>!!t(e)&&"none"!==t(e))||/\b(paint|layout|strict|content)\b/.test(t("contain"))||/\b(transform|translate|rotate|scale|perspective|filter|backdrop-filter|contain)\b/.test(t("will-change"))},H=e=>e.findIndex(({element:t,style:n},r)=>"fixed"===(null==n?void 0:n.position)&&!g(n)&&(N(t)||!e.slice(r+1).some(e=>B(e.style)))),$=(e,t,n)=>{if(H(e)>=0)return!1;const r=i(n.document.documentElement);for(const{element:n,style:o}of e){if(!o||!y(o)||A(n,r))continue;const e=E(n,o);if(t.left<e.left||t.right>e.right)return!1}return T(n)?t.left+n.scrollX<0:t.right+n.scrollX>n.innerWidth},W=["x","y"],z=(e,t)=>"x"===t?{start:e.left,end:e.right}:{start:e.top,end:e.bottom},G=(e,t)=>({start:0,end:"x"===t?e.innerWidth:e.innerHeight}),U=(e,t)=>({start:Math.max(e.start,t.start),end:Math.min(e.end,t.end)}),q=({start:e,end:t})=>({start:e-1,end:t+1}),Y=/^inset\(([^)]*)\)(?: border-box)?$/,X=/^-?[\d.]+(?:px|%)$/,J=(e,t)=>{var n;const r=t.getPropertyValue("clip-path");if(!r||"none"===r)return null;const o=null===(n=Y.exec(r))||void 0===n?void 0:n[1].split(" round ")[0].split(" ");if(null==o||!o.every(e=>X.test(e)))return;const[i,s=i,a=i,l=s]=o,c=f(e.getBoundingClientRect()),d=(e,t)=>e.endsWith("%")?parseFloat(e)/100*t:parseFloat(e);return u(c.left+d(l,c.width),c.top+d(i,c.height),c.right-d(s,c.width),c.bottom-d(a,c.height))},K=e=>{const t=e.getPropertyValue("clip");return("absolute"===e.position||"fixed"===e.position)&&!!t&&"auto"!==t},Z=({width:e,height:t})=>e<=1||t<=1,Q=(e,t,n)=>t.reduce((e,{element:t,style:r})=>r&&w(r,n)?U(e,z(E(t,r),n)):e,z(e,n)),ee=(e,t)=>{const n=e.getBoundingClientRect();return"x"===t?{boxStart:n.left,borderWidth:e.clientLeft,clientSize:e.clientWidth,scrollSize:e.scrollWidth,offset:e.scrollLeft}:{boxStart:n.top,borderWidth:e.clientTop,clientSize:e.clientHeight,scrollSize:e.scrollHeight,offset:e.scrollTop}},te=(e,t)=>{const{boxStart:n,borderWidth:r,clientSize:o}=ee(e,t),i=n+r;return{start:i,end:i+o}},ne=(e,t,n)=>{const{clientSize:r,scrollSize:o,offset:i}=ee(e,n),s=Math.max(0,o-r),a=((e,t)=>{const n="x"===t===e.flexDirection.startsWith("row"),r=_(e)&&(n?e.flexDirection.endsWith("-reverse"):"wrap-reverse"===e.flexWrap);return"x"===t?"rtl"===e.direction!==r:r})(t,n)?-s:0;return{scrollport:te(e,n),shift:{start:i-a-s,end:i-a}}},re=({start:e,end:t})=>e>t,oe=(e,t,n,r)=>{let o=e;for(const{scrollport:e,shift:n}of t)if(o=U({start:o.start+n.start,end:o.end+n.end},r(e)),re(o))return o;return U(o,r(n))},ie=(e,t,n)=>{const r=oe({start:e,end:e},t,n,q);return!re(r)},se={x:0,y:0},ae=e=>"relative"===e.position?{x:x(e.left),y:x(e.top)}:se,le=e=>({x:"rtl"===e.direction?-Math.min(0,x(e.marginRight)):Math.min(0,x(e.marginLeft)),y:Math.min(0,x(e.marginTop))}),ce=[{prefix:"matrix(",identity:[1,0,0,1,0,0],translation:[4,5]},{prefix:"matrix3d(",identity:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],translation:[12,13,14]}],ue=e=>{if(!e||"none"===e)return se;const t=ce.find(({prefix:t})=>e.startsWith(t));if(!t)return null;const n=e.slice(t.prefix.length,-1).split(",").map(Number);return n.length===t.identity.length&&n.every((e,n)=>t.translation.includes(n)||e===t.identity[n])?{x:n[t.translation[0]],y:n[t.translation[1]]}:null},de=(e,t)=>{if(!e||"none"===e)return se;if(e.includes("("))return null;const[n="0",r="0"]=e.split(" "),o=(e,t)=>e.endsWith("%")?parseFloat(e)/100*t:x(e);return{x:o(n,t.width),y:o(r,t.height)}},fe=(e,t)=>e.right<=t.left&&e.left<t.left||e.bottom<=t.top&&e.top<t.top||e.left>=t.right&&e.right>t.right||e.top>=t.bottom&&e.bottom>t.bottom,he=e=>{const{documentElement:t,body:n}=e.ownerDocument;return e===t||e===n},pe=(e,t)=>{const n=i(t.document.documentElement);return e.find(({element:e,style:t})=>!!t&&(e=>m(e)&&[e.overflowX,e.overflowY].some(e=>"visible"!==e&&"clip"!==e))(t)&&!A(e,n))??null},me=(e,t)=>{if(!e){const e=((e,t)=>{const{documentElement:n,body:r}=e.document,o=i(n),s=r&&O(o)?i(r):o;return s?b(s,t):"visible"})(t,"y"),n=t.document.documentElement.scrollHeight-t.innerHeight;return!v(e)&&n>1}const{element:n,style:r}=e,{clientSize:o,scrollSize:s}=ee(n,"y");return!!r&&S(r,"y")&&s-o>1},ge=(e,t,n)=>e?te(e.element,n):G(t,n),ye=(e,t)=>({top:x(e.getPropertyValue(`${t}-top`)),bottom:x(e.getPropertyValue(`${t}-bottom`))}),be=(e,t)=>{const{top:n,bottom:r}=ye(e,"margin");return"top"===t.inset?r:n},ve=({start:e,end:t},n)=>({start:e+n,end:t+n}),we=(e,t)=>{let n=0;for(const{element:r,style:o}of e){if(r===(null==t?void 0:t.element))break;if(!o||g(o))continue;const e=f(r.getBoundingClientRect()),i=ue(o.getPropertyValue("transform")),s=de(o.getPropertyValue("translate"),e);if(!i||!s)return 0;n+=i.y+s.y}return n},Se=(e,t)=>{const n=i(t.document.documentElement);return k(e,n).slice(1).reduce((e,{element:t,style:r})=>r&&w(r,"y")&&!A(t,n)?U(e,z(E(t,r),"y")):e,{start:-1/0,end:1/0})},xe=(e,t,n)=>{const{element:r,style:o}=e[t],i=e.slice(t+1),s=(e=>e.find(({style:e})=>!!e&&m(e)))(i);if(!o||g(o)||null==s||!s.style||he(r))return null;const a=pe(i,n),l=e.slice(t,a?e.indexOf(a):e.length);return{element:r,style:o,scrollport:a,container:{element:s.element,style:s.style},clipSpan:Se(l,n),translation:we(e.slice(t),a),containerTranslation:we(i.slice(i.indexOf(s)),a)}},Ee=({container:e,scrollport:t,containerTranslation:n},r)=>{const{element:o,style:i}=e,{top:s,bottom:a}=ye(i,"padding");if(o===(null==t?void 0:t.element)){const e=te(o,"y");return{start:e.start+s-r.end,end:e.end-a-r.start}}const{start:l,end:c}=z(E(o,i),"y");return ve({start:l+s,end:c-a},-n)},Oe=(e,t)=>{const n=ge(e,t,"y");if(null==e||!e.style)return n;const{top:r,bottom:o}=ye(e.style,"padding");return{start:n.start+r,end:n.end-o}},Ae=(e,t,n)=>{const{element:r,scrollport:o,translation:i}=e,s=z(f(r.getBoundingClientRect()),"y"),a=((e,t)=>{if(null==e||!e.style){const e=C(t);return{start:t.innerHeight-e.bottom,end:-e.top}}return ne(e.element,e.style,"y").shift})(o,n);return{pinning:t,boxSpan:ve(s,-i),stickingLines:Oe(o,n),containerContent:Ee(e,a),scrollShift:a}},Te=({pinning:e,boxSpan:t,stickingLines:n},r)=>"top"===e.inset?n.start+r-t.start:n.end-r-t.end,Ce=({style:e},{pinning:t,boxSpan:n,containerContent:r,scrollShift:o},i)=>{const s=be(e,t);if("top"===t.inset){const e=o.start,t=r.end+e-s-n.end;return{contentShift:e,boxShift:Math.min(i,t)}}const a=o.end,l=r.start+a+s-n.start;return{contentShift:a,boxShift:Math.max(i,l)}},Ie=({style:e},{pinning:t,boxSpan:n,containerContent:r,scrollShift:o},i)=>{const{top:s,bottom:a}=ye(e,"margin");if("top"===t.inset){const e=o.end,t=i<-1?0:r.start+Math.min(0,s)-n.start;return{contentShift:e,boxShift:Math.max(i,t+e)}}const l=o.start,c=i>1?0:r.end-Math.min(0,a)-n.end;return{contentShift:l,boxShift:Math.min(i,c+l)}},Pe=(e,t,n)=>({start:e.start-Math.max(t,n),end:e.end-Math.min(t,n)}),Ne=(e,t)=>{const{style:n,scrollport:r,translation:o}=e,i=(e=>{for(const t of["top","bottom"]){const n=e.getPropertyValue(t);if(n&&"auto"!==n)return{inset:t,length:x(n)}}return null})(n);if(!i||!me(r,t))return null;const s=Ae(e,i,t);if((({style:e},{pinning:t,boxSpan:n,containerContent:r})=>r.end-r.start-(n.end-n.start)-be(e,t))(e,s)<=1||(({style:e,scrollport:t,container:n},{pinning:r,boxSpan:o,stickingLines:i,containerContent:s})=>{if(n.element===(null==t?void 0:t.element))return!1;const a=be(e,r);return"top"===r.inset?o.start>i.start+r.length+1&&s.end-(o.end+a)<=1:o.end<i.end-r.length-1&&o.start-a-s.start<=1})(e,s))return null;const a=ge(r,t,"y"),l=Te(s,i.length),c="top"===i.inset?-o:o,u=Math.max(i.length,c),d=Te(s,u);return[Ie(e,s,l),Ce(e,s,l)].map(({contentShift:t,boxShift:n})=>U(Pe(a,l,n),ve(e.clipSpan,t-n))).filter(e=>!re(e)).reduce((e,t)=>({start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}),Pe(a,l,d))},je=(e,t)=>H(e)>=0?((e,t)=>{const n=H(e);return n<0||he(e[n].element)?null:{index:n,screenSpans:{x:G(t,"x"),y:G(t,"y")}}})(e,t):((e,t)=>{for(const[n,{style:r}]of e.entries()){const o="sticky"===(null==r?void 0:r.position)?xe(e,n,t):null,i=o&&Ne(o,t);if(i)return{index:n,screenSpans:{y:i}}}return null})(e,t),Re=(e,t,n,r,o)=>e.some(({element:s,style:a},l)=>{if(!a||g(a))return!1;const c=f(s.getBoundingClientRect()),h=(e=>"absolute"===e.position||"fixed"===e.position)(a)?null:((e,t)=>{const n=ue(e.getPropertyValue("transform")),r=de(e.getPropertyValue("translate"),t);return n&&r?[ae(e),le(e),n,r].reduce((e,{x:t,y:n})=>({x:e.x+t,y:e.y+n}),se):null})(a,c);if(0===(null==h?void 0:h.x)&&0===h.y)return!1;const p=((e,t,n)=>{const r=i(n.document.documentElement),o=e.slice(t+1).find(({style:e})=>!!e&&m(e));return null!=o&&o.style&&!A(o.element,r)?E(o.element,o.style):u(0,0,n.innerWidth,n.innerHeight)})(e,l,r),y=e=>fe(e,n)&&fe(e,p);if(!h)return y(c);const b=e=>{return y(e)&&(t=e,r=((e,{x:t,y:n})=>u(e.left+t,e.top+n,e.right+t,e.bottom+n))(e,{x:-h.x,y:-h.y}),o=n,(t.right>o.left||r.left>=o.left-1)&&(t.bottom>o.top||r.top>=o.top-1)&&(t.left<o.right||r.right<=o.right+1)&&(t.top<o.bottom||r.bottom<=o.bottom+1));var t,r,o};if(!y(t))return!1;if(b(c))return!0;const v=((e,t)=>{const n=t.get(e);if(void 0!==n)return n;const r=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),o=[];for(let e=r.nextNode();e;e=r.nextNode())o.push(e);const i=o.length?d(o):null;return t.set(e,i),i})(s,o);return!!v&&b(v)}),ke=(e,t,n,r,o)=>{const{x:i=G(r,"x"),y:s}=t.screenSpans,a=u(i.start,s.start,i.end,s.end);return((e,{element:t,style:n},r)=>{const o=f(t.getBoundingClientRect());return!!n&&0!==x(n.textIndent)&&o.width>0&&o.height>0&&fe(e,r)&&fe(e,o)})(n,e[0],a)||Re(e,n,a,r,o)},Me=(e,t,n,r)=>{const o=je(e,n);if(!o)return null;const s=k(e.slice(0,o.index+1),i(n.document.documentElement)),a=((e,t)=>{const n=[];for(let r=0;r<e.length;r++){const{element:o,style:i}=e[r];if(!i||g(i))continue;const s=J(o,i);if(void 0===s||K(i))return null;if(s&&(r<=t||Z(s))&&n.push(s),"top-layer"===j(e[r]))break}return n})(e,o.index);if(!a||ke(s,o,t,n,r))return null;const l={x:Q(t,s,"x"),y:Q(t,s,"y")};return W.some(e=>((e,t,n)=>{const r=t.reduce((e,t)=>U(e,z(t,n)),e);return r.end-r.start<=1})(l[e],a,e))?null:(c=W.map(e=>{const t=o.screenSpans[e];return t?((e,t,n,r)=>{const o=t.flatMap(({element:e,style:t})=>t&&S(t,n)?[ne(e,t,n)]:[]);if(ie(e.start,o,r)&&ie(e.end,o,r))return"all";const{start:i,end:s}=oe(e,o,r,e=>e);return s-i>1?"some":"none"})(l[e],s,e,t):"all"}),c.every(e=>"all"===e)?null:c.includes("none")?"wholly":"partly");var c},_e=new Set(["-webkit-box","-webkit-inline-box","flow-root","inline-block"]),De=e=>{var t;const n=(null===(t=e[0])||void 0===t?void 0:t.style)??null;return!(null==n||!n.textOverflow)&&"clip"!==n.textOverflow&&y(n)||e.some(({style:e})=>(e=>{if(!e||!_e.has(e.display)||"vertical"!==e.getPropertyValue("-webkit-box-orient"))return!1;const t=e.getPropertyValue("-webkit-line-clamp");return!!t&&"none"!==t})(e))};n.d(t,["u",0,e=>{const t=new Map,n=new Map,o=i(e);if(!o||"none"===o.display||r.has(e.localName)||h(e).some(({style:e})=>!!e&&a(e)))return[];l(e,o,e,t);const s=[];for(const[e,r]of t){const t=d(r),o=e.ownerDocument.defaultView;if(!t||!o)continue;const i=h(e),a=M(i,t,o);s.push({element:e,textRect:t,boxRect:f(e.getBoundingClientRect()),clipRect:(null==a?void 0:a.rect)??null,clipElement:(null==a?void 0:a.element)??null,clipContainers:D(i,(null==a?void 0:a.element)??null),inCarousel:F(i),truncated:De(i),pastViewport:$(i,t,o),outOfReachInPinnedBox:Me(i,t,o,n),frameViewport:{width:o.innerWidth,height:o.innerHeight}})}return s}])}),Ze=n.cw((e,t)=>{async function r(e){if(window.frames.length>0){const t=500,n=Promise.all(Array.from(window.frames).map(t=>(0,fn().A)(t,"axe:ping",e).catch(()=>{}))),r=new Promise(e=>setTimeout(e,t));await Promise.race([n,r])}}async function o(e,{registerElementInternals:t=!0}={}){var n,o,i,s,a,l;const c=(0,$t().s)(e);if(!c&&!(0,zt().Ay)(e))return!1;if(c&&window.axe||null!==(n=window.axeVersions)&&void 0!==n&&n[_t().e[e]]){if(t){const t=c?window.axe:window.axeVersions[_t().e[e]];await(0,et().A)(t)}return await r(e),!0}let u;try{u=await async function(e){let t;globalThis.define=(e,n,r)=>{"axe-core"===e&&(t=r())},globalThis.define.amd=!0;const n=_t().e[e],r=async()=>await import(browser.runtime.getURL(`axe-versions/${"latest"===e?e:n}/axe.js`));if(window.axeVersions=window.axeVersions||{},"latest"===e)await r();else if(!window.axeVersions[n]){const e=window.axe;await r(),void 0!==e?window.axe=e:delete window.axe,window.axeVersions[n]=t}return delete globalThis.define,t}(c?"latest":e)}catch{return!1}const d=["wcag22aaa","wcag22aa","wcag22a","wcag21aaa","wcag2aaa"],f=[];if("function"==typeof(null===(o=u)||void 0===o?void 0:o.getRules))for(const{ruleId:e}of u.getRules(d)){u.utils.getRule(e).enabled||f.push(e)}null===(i=u)||void 0===i||i.configure({branding:{brand:"axe",application:$e().pW},rules:f.map(e=>({id:e,enabled:!0}))});const h=c||null===(s=u)||void 0===s||!s.version?"axe-frame-messenger":`axe-frame-messenger@${u.version}`;return null===(a=u)||void 0===a||null===(l=a.frameMessenger)||void 0===l||l.call(a,{post:async(e,t,n)=>{n(await(0,fn().A)(e,h,t,{timeout:"axe.ping"===t.topic?5e3:6e4}))},open:e=>{tr().yS.listen(h,async({message:t})=>await new Promise(n=>{e(t,e=>{n(JSON.parse(JSON.stringify(e)))})}))}}),t&&await(0,et().A)(u),await r(e),!0}n.d(t,{A:()=>o}),fn(),tr(),zt(),$t(),et()}),Qe=n.cw((e,t)=>{const r=e=>{if(e.assignedSlot)return e.assignedSlot;const t=e.parentNode;return t?(0,nt().A)(t)?t:t.host??null:null};n.d(t,["A",0,r])}),et=n.cw((e,t)=>{n.d(t,{A:()=>s}),tr();const r=5e3;let o=null,i=!1;async function s(e){const t=e;"function"==typeof(null==t?void 0:t.externalAPIs)&&await async function(){try{return!0===await tr().yS.send(tr()._O.background,He().w8)}catch{return!1}}()&&(i||(i=!0,document.addEventListener("axe-set-frame-uuid",e=>{const t=e.detail;o="string"==typeof(null==t?void 0:t.uuid)?t.uuid:null}),document.addEventListener("axe-clear-frame-uuid",()=>{o=null})),t._enableElementInternals=!0,t.externalAPIs({elementInternalsTimeout:r,getElementInternals:()=>async function(){try{if(!o)return[];const e=await tr().yS.send(tr()._O.background,He().rt,{uuid:o});return Array.isArray(e)?e:[]}catch(e){return console.error("axe element-internals: gather failed, continuing without internals",e),[]}}()}))}}),tt=n.cw((e,t)=>{n.d(t,["Q",0,e=>e.matches(":modal")])}),nt=n.cw((e,t)=>{const r=e=>(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE;n.d(t,["A",0,r])}),rt=n.cw((e,t)=>{Gt();const r=e=>{const{width:t,height:n}=e.getBoundingClientRect();return t>1&&n>1},o=e=>{var t;const{width:n,height:r}=e.getBoundingClientRect(),o=Math.max(n,r)/Math.min(n,r);return!(null!==(t=e.textContent)&&void 0!==t&&t.trim())&&o<2.5&&n<=64&&r<=64};n.d(t,["DH",0,o,"PR",0,r,"Xj",0,(e,t)=>Array.from(e.querySelectorAll("img, svg, picture, canvas")).some(e=>(e=>{if(!r(e))return!1;const t=e.ownerDocument.defaultView??window;return!!Gt().Ay.isVisible(e)&&"visible"===t.getComputedStyle(e).visibility})(e)&&!(null!=t&&t.contains(e)&&o(e)))])}),ot=n.cw((e,t)=>{const r=e=>{var t;return` ${(null===(t=(e??"").toLowerCase().match(/[\p{L}\p{N}]+/gu))||void 0===t?void 0:t.join(" "))??""} `},o=/^rect\(([^)]*)\)$/,i=e=>{const t=e.ownerDocument.defaultView??window,{clip:n,clipPath:r,width:i,height:s,overflow:a}=t.getComputedStyle(e);return(e=>{const t=e.trim().match(o);if(!t)return!1;const[n,r,i,s]=t[1].split(/[\s,]+/).map(e=>parseFloat(e)||0);return Math.abs(r-s)<=1&&Math.abs(i-n)<=1})(n)||"inset(50%)"===r.replace(/\s+/g,"")||parseFloat(i)<=1&&parseFloat(s)<=1&&"hidden"===a},s=/^matrix(3d)?\(([^)]*)\)$/,a=/\bscale([XY]|3d)?\(([^)]*)\)/g,l=(e,t)=>{const n=e.trim().match(s);if(n){const e=n[2].split(",").map(parseFloat),[t,r,o,i]=n[1]?[e[0],e[1],e[4],e[5]]:e;return t*i-r*o===0}return[...Array.from(e.matchAll(a)).flatMap(([,e,t])=>t.split(",").slice(0,"3d"===e?2:void 0)),...t.trim().split(/\s+/).slice(0,2)].some(e=>""!==e.trim()&&0===parseFloat(e))},c=e=>""!==e&&"visible"!==e,u=e=>{const[t,n=t]=e.overflow.trim().split(/\s+/),r=c(e.overflowX)?e.overflowX:t,o=c(e.overflowY)?e.overflowY:n;return c(o)&&(0===parseFloat(e.height)||0===parseFloat(e.maxHeight))||c(r)&&(0===parseFloat(e.width)||0===parseFloat(e.maxWidth))},d=e=>{const t=e.ownerDocument.defaultView??window,{visibility:n,color:r,fontSize:o}=t.getComputedStyle(e);if("hidden"===n||(e=>{var t;const n=null===(t=e.trim().match(/^rgba?\(([^)]*)\)$/))||void 0===t?void 0:t[1].split(/[\s,/]+/).filter(Boolean);return"transparent"===e.trim()||4===(null==n?void 0:n.length)&&0===parseFloat(n[3])})(r)||0===parseFloat(o))return!0;for(let n=e;n;n=n.parentElement){const e=t.getComputedStyle(n);if(n.hidden||"none"===e.display||0===parseFloat(e.opacity)||l(e.transform,e.getPropertyValue("scale"))||u(e))return!0}return!1},f=(e,t)=>Array.from(e.querySelectorAll('input:not([type="hidden"]), select, textarea')).some(e=>e!==t),h=e=>{const t=r(e.getAttribute("placeholder")),n=(e=>{const t=e.ownerDocument.body,n=e.parentElement;if(!n||n===t)return null;let r=n.parentElement&&n.parentElement!==t?n.parentElement:n;for(let n=r.parentElement;n&&n!==t&&!f(n,e);n=n.parentElement)r=n;return r})(e);return!(!t.trim()||!n)&&Array.from(n.querySelectorAll(":not(script, style, noscript)")).some(n=>n!==e&&!n.contains(e)&&((e,t)=>!!e.trim()&&(e.includes(t)||t.includes(e)))(r(n.textContent),t)&&d(n)&&!i(n))};n.d(t,["f",0,e=>(e=>{const t=e.getRootNode(),n=(e.getAttribute("aria-labelledby")??"").split(/\s+/).filter(Boolean).flatMap(e=>t.getElementById(e)??[]);return[...Array.from(e.labels??[]),...n]})(e).some(e=>{return!(t=e.textContent,!(t??"").replace(/\s+/g," ").trim().toLowerCase()||i(e));var t})||h(e)])}),it=n.cw((e,t)=>{Gt();const r=["text","search","email","tel","url","password","number"],o=/\/\s*([\d.]+)(%?)\s*\)$/,i=/^rgba\((?:[^,]+,){3}\s*([\d.]+)(%?)\s*\)$/,s=e=>{const t=e.ownerDocument.defaultView??window,{opacity:n,color:r,webkitTextFillColor:s}=t.getComputedStyle(e,"::placeholder"),a=(s||r||"").trim();return 0===parseFloat(n)||0===(e=>{if("transparent"===e)return 0;const t=e.match(o)??e.match(i);if(!t)return 1;const[,n,r]=t;return r?parseFloat(n)/100:parseFloat(n)})(a)};n.d(t,["t",0,e=>{var t;return(e=>{const t=e.tagName.toLowerCase();return"textarea"===t||"input"===t&&r.includes(e.type)})(e)&&!(null===(t=e.getAttribute("placeholder"))||void 0===t||!t.trim())&&(e=>{const t=e.ownerDocument.defaultView??window;return!!Gt().Ay.isVisible(e,!0)&&"visible"===t.getComputedStyle(e).visibility})(e)&&!s(e)}])}),st=n.cw((e,t)=>{function r(e){return Object.entries(e).filter(([e])=>!We().Pc.includes(e)).reduce((e,[t,n])=>(e[t]=n,e),{})}n.d(t,{A:()=>r})}),at=n.cw((e,t)=>{const r=(e,t)=>{const{defaultView:n}=e.ownerDocument;if(!n||n===n.top)return t;const r=(e=>"BackCompat"===e.compatMode&&e.body||e.documentElement)(e.ownerDocument);return{left:Math.max(t.left,0),top:Math.max(t.top,0),right:Math.min(t.right,r.clientWidth),bottom:Math.min(t.bottom,r.clientHeight)}},o=e=>"visible"!==e,i=new Set(["inline","ruby","ruby-base","ruby-text","ruby-base-container","ruby-text-container","table-row","table-row-group","table-header-group","table-footer-group","table-column","table-column-group"]),s=new Set(["layout","paint","strict","content"]),a=new Set(["backdrop-filter","contain","filter","perspective","rotate","scale","transform","translate"]),l=(e,t)=>!!e&&e!==t,c=e=>l(e.transform,"none")||l(e.translate,"none")||l(e.rotate,"none")||l(e.scale,"none")||l(e.perspective,"none")||l(e.filter,"none")||l(e.backdropFilter,"none")||(e.contain??"").split(" ").some(e=>s.has(e))||(e.willChange??"").split(",").some(e=>a.has(e.trim())),u=(e,t)=>{switch(e){case"fixed":return c(t);case"absolute":return"static"!==t.position||c(t);default:return!0}},d=(e,t,n,r)=>{let{left:s,top:a,right:l,bottom:c}=n,d=r(e).position;for(let n=e.parentElement;n&&n!==t;n=n.parentElement){const e=r(n);if("contents"===e.display||!u(d,e))continue;if(d=e.position,i.has(e.display))continue;const t=n.getBoundingClientRect();o(e.overflowX)&&(s=Math.max(s,t.left),l=Math.min(l,t.right)),o(e.overflowY)&&(a=Math.max(a,t.top),c=Math.min(c,t.bottom))}return{left:s,top:a,right:l,bottom:c}};n.d(t,["k",0,(e,t)=>{const n=e.getBoundingClientRect();if(!t)return n;const o=new Map,i=e=>{let t=o.get(e);return t||(t=(e.ownerDocument.defaultView??window).getComputedStyle(e),o.set(e,t)),t},s=!(({width:e,height:t})=>0===e&&0===t)(n);let a=s?n.left:1/0,l=s?n.top:1/0,c=s?n.right:-1/0,u=s?n.bottom:-1/0;for(const n of e.querySelectorAll(t)){const t=d(n,e,r(n,n.getBoundingClientRect()),i);t.right<=t.left||t.bottom<=t.top||(a=Math.min(a,t.left),l=Math.min(l,t.top),c=Math.max(c,t.right),u=Math.max(u,t.bottom))}return a===1/0?n:{x:a,y:l,left:a,top:l,right:c,bottom:u,width:c-a,height:u-l}}])}),lt=n.cw((e,t)=>{n.d(t,{S:()=>r}),tr();class r{constructor(e){this.highlighter=e,this.replayInProgress=!1,this.tabStops=[],this.startReplay=this.startReplay.bind(this),this.stopReplay=this.stopReplay.bind(this)}setTabStops(e){this.tabStops=e}attach(){tr().yS.listen("tab-record:replay-start",this.startReplay),tr().yS.listen("tab-record:replay-stop",this.stopReplay)}detach(){tr().yS.unlisten("tab-record:replay-start",this.startReplay),tr().yS.unlisten("tab-record:replay-stop",this.stopReplay)}async startReplay(){await this.highlighter.clearHighlights(),this.replayInProgress=!0;for(const e of this.tabStops){if(!this.replayInProgress)return;const t=this.highlighter.createHighlighter(e);t.highlight({theme:"badge",showMetadata:!1,showTooltip:!1}),t.scrollIntoView({behavior:"instant"}),await new Promise(e=>setTimeout(e,300))}tr().yS.send(tr()._O.devtools,"tab-record:replay-complete")}async stopReplay(){this.replayInProgress=!1,this.highlighter.clearHighlights(),this.showHighlighters()}showHighlighters(){this.highlighter.showHighlights(),this.tabStops.filter(e=>!this.highlighter.highlighterExists(e)).forEach(e=>{const t=this.highlighter.createHighlighter(e);null==t||t.highlight({theme:"badge",showMetadata:!1,showTooltip:!1})})}}}),ct=n.cw((e,t)=>{async function r(e,t){!e||"function"!=typeof e.getAnimations||t<=0||await Promise.race([Promise.all(e.getAnimations({subtree:!0}).map(e=>e.finished.catch(()=>{}))),(0,Wt().y)(t)])}n.d(t,{M:()=>r})}),ut=n.cw((e,t)=>{n.d(t,{a:()=>y}),Gt();const r=900,o=600,i=250,s=500,a=e=>{try{return!0===Gt().Ay.isOffscreen(e)||!1===Gt().Ay.isVisible(e)}catch{return!1}},l=(e,t)=>"0"===t.opacity||"hidden"===t.visibility?e:(e=>{let t=e.parentElement;for(;t;){if("0"===getComputedStyle(t).opacity)return t;t=t.parentElement}return null})(e),c=new Set(["all","opacity","visibility","transform","translate","top","left","right","bottom","clip","clip-path","height","max-height","filter"]),u=e=>{const t=(e.transitionProperty||"").split(","),n=(e.transitionDuration||"").split(",");return t.some((e,t)=>!!c.has(e.trim())&&parseFloat(n[t%n.length])>0)},d=e=>{const{opacity:t,visibility:n}=getComputedStyle(e),{top:r,left:o,width:i,height:s}=e.getBoundingClientRect();return`${t}|${n}|${r},${o},${i},${s}`},f=e=>e.map(d).join("#"),h=e=>"function"==typeof(null==e?void 0:e.matches),p=()=>new Promise(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(()=>e()):setTimeout(e,16)}),m=async(e,t)=>{for(;e()&&performance.now()<t;)await p()},g=async(e,t)=>{let n=f(e),r=performance.now();for(;performance.now()<t;){await p();const t=f(e);if(t===n){if(performance.now()-r>=50)return}else n=t,r=performance.now()}};async function y(e,t=r){if(!h(e)||"function"!=typeof getComputedStyle)return;let n=performance.now()+t;const c=()=>n-performance.now(),d=getComputedStyle(e),p=l(e,d),y=!p&&a(e);if(!p&&!y)return;const b=p&&p!==e?[e,p]:[e],v=f(b),w=()=>f(b)===v,S=p&&p!==e?getComputedStyle(p):d,x=Math.min(n,performance.now()+(u(S)?s:i));if(await Promise.race([m(w,x),(0,Wt().y)(x-performance.now())]),w())return;n=performance.now()+Math.min(o,t),c()>0&&await Promise.race([g(b,n),(0,Wt().y)(c())]);const E=c();await Promise.all(b.map(e=>(0,ct().M)(e,E)))}}),dt=n.cw((e,t)=>{Gt();const r=(e,t=!1,n=new Set)=>{if(n.has(e))return[];n.add(e);const o=e.getRootNode(),i=e.id?Array.from(o.querySelectorAll(`[for="${e.id}"]`)):[];"FIELDSET"===e.tagName&&e.firstElementChild&&"LEGEND"===e.firstElementChild.tagName&&i.push(e.firstElementChild);const s=e.getAttribute("aria-labelledby"),a=e.getAttribute("aria-describedby"),l=e=>e?e.split(" "):[],c=[...l(s),...l(a)].filter(Boolean).map(e=>o.getElementById(e)),u=[...i,...c].filter(Boolean).map(e=>r(e,!1,n)).flat(),d=new Set([e,...c,...u]);return t&&d.delete(e),[...d]};n.d(t,["e",0,(e,t)=>{Gt().Ay.setupTrees();const n=r(e,!0).filter(e=>e&&Gt().Ay.isVisible(e)).map(e=>(0,st().A)((0,Nt().t)(t.get(e))));return Gt().Ay.cleanupTrees(),n}])}),ft=n.cw((e,t)=>{function r(e){Gt().Ay.setupTrees();const t=e.getAttribute("aria-labelledby");if(t){const e=t.split(" ");if(null!=e&&e.length){return e.map(e=>{const t=document.getElementById(e);return t?Gt().Ay.name(t):""}).join(" ")}}Gt().Ay.cleanupTrees();const n=e.getAttribute("aria-label");if(n)return Gt().Ay.sanitize(n);if("FIELDSET"===e.tagName){var r;const t=Gt().Ay.name(e.firstElementChild);return"LEGEND"===(null===(r=e.firstElementChild)||void 0===r?void 0:r.tagName)&&t}return null}n.d(t,{A:()=>r}),Gt()}),ht=n.cw((e,t)=>{function r(e){return!!e.selector&&e.selector.length>1}async function o(e,t){const n=await tr().yS.send(tr()._O.content,"selector:identify",{selector:e});if(!Array.isArray(n)||0===n.length)return{tagged:!1,frameURL:null};const r=n[n.length-1],o=await tr().yS.send(tr()._O.content,"igt:inspect:tag-selector",{selector:r.selector,token:t},{frameId:r.frameId});return{tagged:!(null==o||!o.tagged),frameURL:r.frameURL??null}}async function i(e,t,n=Ge().A){for(const o of t){const t=e.getById(o);if(t){if((0,ze().O)(t))return{exists:!0};if(r(t)&&await n(t.selector))return{exists:!0}}}return{exists:!1}}async function s(e,t,n,i,s=o){const a=e.getById(n),l=a?(0,ze().O)(a):null;if(l){var c;(0,Dt().sp)(t,l,i);const e=l.ownerDocument;return{tagged:!0,frameURL:e&&e!==t?(null===(c=e.location)||void 0===c?void 0:c.href)??null:null}}if(a&&r(a)){const{tagged:e,frameURL:t}=await s(a.selector,i);return{tagged:e,frameURL:t}}return{tagged:!1,frameURL:null}}n.d(t,{c:()=>i,i:()=>s}),tr()}),pt=n.cw((e,t)=>{n.d(t,{UD:()=>y,iF:()=>m,kA:()=>g,lr:()=>p});const r=200,o=16384,i=1,s=["hidden","clip","auto","scroll"],a=e=>s.includes(e);function l(e,t){const{overflowX:n}=getComputedStyle(e);return!!a(n)&&(e.scrollWidth>e.clientWidth+i||function(e,t){if(!t)return!1;const n=e.getBoundingClientRect();return t.left<n.left-i||t.right>n.right+i}(e,t))}function c(e,t){const{overflowY:n}=getComputedStyle(e);return!!a(n)&&(e.scrollHeight>e.clientHeight+i||function(e,t){if(!t)return!1;const n=e.getBoundingClientRect();return t.top<n.top-i||t.bottom>n.bottom+i}(e,t))}function u(e){if(e===document.scrollingElement)return!0;if(e!==document.body)return!1;const{overflowX:t,overflowY:n}=getComputedStyle(document.documentElement);return"visible"===t&&"visible"===n}function d(e,t){const n=t??e.getBoundingClientRect(),r=[];for(let t=e.parentElement;t&&t!==document.documentElement;t=t.parentElement){if(u(t))continue;const{overflowX:e,overflowY:o}=getComputedStyle(t),s=a(e),l=a(o);if(!s&&!l)continue;const d=t.getBoundingClientRect(),f=s&&(n.right>d.right+i||n.left<d.left-i),h=l&&(n.bottom>d.bottom+i||n.top<d.top-i);(f||h)&&r.push({element:t,clipsVertically:h||c(t)})}return r}function f(e,t){return d(e,t).length>0}function h(e,t){return l(e,t)||c(e,t)}function p(e){return h(e)}function m(e,t){return h(e,t)||f(e,t)}function g(e,t){const n=c(e,t);return(l(e,t)||n?[{element:e,clipsVertically:n}]:[]).concat(d(e,t))}function y(e,t,{screenshotWidthPx:n,screenshotHeightPx:i,zoom:s}){if(!e||!e.isConnected)return"unmeasurable";const a=e.getBoundingClientRect();if(0===a.width||0===a.height)return t&&t.width>0&&t.height>0?"stable":"unmeasurable";const l=a.top,c=a.left,u=a.right,d=a.bottom,h=a.width,p=a.height,m=s>0?s:1,g=i>0?i:o,y=n>0?n:document.documentElement.scrollWidth*m;if(l<0||c<0||d*m>g||u*m>y)return"unstable_out_of_bounds";if(f(e))return"unstable_clipped";if(!t)return"unmeasurable";return Math.max(Math.abs(c-t.left),Math.abs(l-t.top),Math.abs(h-t.width),Math.abs(p-t.height))>r?"unstable_moved":"stable"}}),mt=n.cw((e,t)=>{tr();n.d(t,["t",0,(e,t)=>{tr().yS.listen(e,({message:e})=>{const{vnodes:n,screenshotWidthPx:r,screenshotHeightPx:o,zoom:i}=e,s={};if(null==n||!n.length)return s;const a=t(),l=window.scrollX,c=window.scrollY,u=0!==l||0!==c;u&&window.scrollTo({top:0,left:0,behavior:"instant"});try{for(const{vnodeId:e,moment1Box:t}of n){const n=null==a?void 0:a.getById(e);s[e]=(0,pt().UD)(null==n?void 0:n.element,t,{screenshotWidthPx:r,screenshotHeightPx:o,zoom:i})}}finally{u&&window.scrollTo({top:c,left:l,behavior:"instant"})}return s})}])}),gt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){Gt().Ay.setupTrees();const t=e();return Gt().Ay.cleanupTrees(),t}n.d(t,{A:()=>y}),tr(),Gt(),sn(),nn(),tn(),on(),Qt(),dt(),it(),rt();const a=e=>{var t;const n=o(o({},e.properties),{},{disabled:e.element.disabled,multiple:e.element.multiple,placeholder:e.element.placeholder,required:e.element.required});let r={};return e.element.matches(on().IY)&&(r={label:(0,un().A)(e.element),type:e.element.type}),o(o(o({},(0,sn().Ay)(e,{visibleLabels:e.visibleLabels},"accessibleText")),r),{},{properties:n,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[]})},l=(e,t)=>{const n=t.selectAll([on().IY],{isRelativeSelector:!0}).filter(t=>!!t.ancestors.find(t=>t.vnodeId===e.vnodeId)).map(e=>e.element),r=Gt().Ay.getTabbableElements(e.element);return e.element.matches(on().IY)&&n.push(e.element),n.filter(e=>Gt().Ay.isVisible(e,!0)||!(null==r||!r.includes(e)))},c=e=>t=>("form"===t.tagName||"form"===t.attributes.role)&&((e,t)=>l(e,t).length>0)(t,e),u=e=>o(o({},a(e)),{},{box:(0,tn().Ay)(e)}),d=e=>e.querySelectorAll(on().IY).length,f=e=>{const t=e.getRootNode(),n=(e.getAttribute("aria-labelledby")??"").split(/\s+/).filter(Boolean).map(e=>t.getElementById(e));return[...("labels"in e?e.labels:[])??[],...n].filter(e=>!!e)},h=(e,t)=>!(0,rt().DH)(e)&&t.some(t=>t!==e&&t.contains(e)&&!(e=>{const t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(let e=t.nextNode();e;e=t.nextNode()){var n;if(null!==(n=e.textContent)&&void 0!==n&&n.trim()&&e.parentElement&&(0,rt().PR)(e.parentElement))return!0}return!1})(t)),p=e=>(0,rt().PR)(e)?null:(e=>{const t=f(e),n=[e.nextElementSibling,e.previousElementSibling].find(e=>{var n;return!!e&&!e.matches(on().IY)&&!(null!==(n=e.textContent)&&void 0!==n&&n.trim())&&!h(e,t)&&(0,rt().PR)(e)});if(n)return n;const r=e.closest('form, [role="form"], body');for(let n=e.parentElement;n&&n!==r&&1===d(n);n=n.parentElement)if((0,rt().PR)(n)&&!h(n,t))return n;return null})(e),m=(e,t,n)=>{const r=p(t),i=f(t);Gt().Ay.setupTrees();const s=e.map(e=>{var t;const s=null===(t=n.getById(e.vnodeId))||void 0===t?void 0:t.element;return s&&i.includes(s)&&(0,rt().Xj)(s,r)?o(o({},e),{},{holdsPicture:!0}):e});return Gt().Ay.cleanupTrees(),s},g=e=>({tagName:e.tagName.toLowerCase(),type:"type"in e&&"string"==typeof e.type?e.type:void 0,name:e.getAttribute("name")??void 0,accessibleText:(0,sn().GR)(e)});function y(e){tr().yS.listen("igt:forms:get-forms",async()=>s(()=>{const t=e(),n=(null==t?void 0:t.values())||[];return(0,nn().A)(n,c(t),!0).map(u)})),tr().yS.listen("igt:forms:get-form",async({message:{vnodeId:t}})=>{const n=e().getById(t);return u(n)}),tr().yS.listen("igt:forms:get-inputs",async({message:t})=>{const n=e(),r=n.getById(t.selectedForm.vnodeId),i=l(r,n).map(e=>o(o({},n.get(e)),{},{visibleLabels:m((0,dt().e)(e,n),e,n)})),s=[...(0,Qt().jr)(i,r,n),...(0,Qt().q)(i,n)];return{inputs:i.map(e=>{const t=s.find(t=>t.vnodeIds.includes(e.vnodeId)),n=a(e);return t?o({groupId:t.id,groupLabel:t.label},n):n}),groups:s}}),tr().yS.listen(jt().Ze,async({message:{selectors:t}})=>s(()=>{const n=e();return t.map(e=>{var t;const r=n.querySelector(e);if(!r)return{selector:e,identity:null,visibleControlSelector:null,placeholderCanShow:!1,labelMayAppear:!1};const o=p(r);return{selector:e,identity:g(r),visibleControlSelector:o&&(null===(t=n.get(o))||void 0===t?void 0:t.selector)||null,placeholderCanShow:(0,it().t)(r),labelMayAppear:(0,ot().f)(r)}})})),tr().yS.listen("igt:forms:get-error-message",async({message:t})=>{const n=e(),{element:r}=n.getById(t.vnodeId),o=r.getAttribute("aria-describedby"),i=o&&o.split(" ");return{errorMessage:i&&i.map(e=>{const t=document.getElementById(e);return t&&t.textContent}).join(" ")}})}}),yt=n.cw((e,t)=>{const r=e=>{const{children:t}=e,n=[];if(!t||0===t.length)return n;n.push(...t);for(const e of t)n.push(...r(e));return n},o=r;n.d(t,["A",0,o])}),bt=n.cw((e,t)=>{n.d(t,{A:()=>i,p:()=>o});const r=["input","select","textarea","button"];function o(e){const{element:t}=e;return"function"==typeof t.matches&&t.matches(":disabled")}function i(e){const{element:t,ancestors:n,tagName:i}=e,s=[],a=null==n?void 0:n.find(e=>{var t,n;return r.includes(i)&&"fieldset"===e.tagName&&("true"===(null===(t=e.attributes)||void 0===t?void 0:t["aria-disabled"])||(null===(n=e.properties)||void 0===n?void 0:n.disabled))});(o(e)||"true"===t.getAttribute("aria-disabled")||a)&&s.push("disabled");const l=t.getAttribute("aria-pressed"),c=t.getAttribute("aria-expanded"),u=t.getAttribute("aria-selected"),d=t.getAttribute("aria-checked"),f=t.getAttribute("aria-readonly"),h=t.getAttribute("aria-haspopup"),p=t instanceof HTMLInputElement,m=p&&"checkbox"===t.type,g=p&&"radio"===t.type,y=t.getAttribute("aria-current");return"true"===l&&s.push("pressed"),"false"===l&&s.push("not-pressed"),"mixed"===l&&s.push("mixed-pressed"),"true"===c&&s.push("expanded"),"false"===c&&s.push("collapsed"),"true"===u&&s.push("selected"),"false"===u&&s.push("not-selected"),("true"===d||p&&t.checked)&&s.push("checked"),("false"===d||g&&!t.checked)&&s.push("not-checked"),("false"===d||m&&!t.checked)&&s.push("not-checked"),("mixed"===d||m&&t.indeterminate)&&s.push("mixed-checked"),("true"===f||p&&t.readOnly)&&s.push("readonly"),"true"===y&&s.push("current"),"page"===y&&s.push("current-page"),"step"===y&&s.push("current-step"),"location"===y&&s.push("current-location"),"date"===y&&s.push("current-date"),"time"===y&&s.push("current-time"),"true"===h&&s.push("has-popup"),"listbox"===h&&s.push("has-popup-listbox"),"menu"===h&&s.push("has-popup-menu"),"dialog"===h&&s.push("has-popup-dialog"),"tree"===h&&s.push("has-popup-tree"),"grid"===h&&s.push("has-popup-grid"),h||"combobox"!==t.getAttribute("role")||s.push("has-popup-listbox"),s}}),vt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Qn();const i=(...e)=>t=>e.some(e=>e(t));n.d(t,["i",0,e=>{const t=e.reduce((e,t)=>{const n=t.role||"none";return e[n]=e[n]||{role:n,vnodeIds:[]},e[n].vnodeIds.push(t.vnodeId),e},{});return Object.entries(t).map(([e,t])=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({id:e},t))},"q",0,e=>{const t=[];for(const n of e){const{element:e,box:r,role:o}=n,s=null==e?void 0:e.ownerDocument,a=null==s?void 0:s.defaultView,l=null==a?void 0:a.getComputedStyle(e),c=null==l?void 0:l.getPropertyValue("background-color"),u=null==l?void 0:l.getPropertyValue("color"),d=null==l?void 0:l.getPropertyValue("border-width"),f=null==l?void 0:l.getPropertyValue("border-style"),h=null==l?void 0:l.getPropertyValue("border-color"),p=null==l?void 0:l.getPropertyValue("border-radius"),m=null==l?void 0:l.getPropertyValue("font-weight"),g=null==l?void 0:l.getPropertyValue("font-size"),{height:y,width:b,y:v,x:w}=r||{},S=t.find(i(Oo()()({height:y,background:c,textColor:u,borderWidth:d,borderStyle:f,borderRadius:p,fontSize:g}),Oo()()({width:b,background:c,textColor:u,borderWidth:d,borderStyle:f,borderRadius:p,fontSize:g}),Oo()()({role:o,background:c,textColor:u,fontSize:g,x:w}),Oo()()({role:o,background:c,textColor:u,fontSize:g,y:v})));S?S.vnodeIds.push(n.vnodeId):t.push({id:t.length,role:o,height:y,background:c,textColor:u,borderWidth:d,borderStyle:f,borderColor:h,borderRadius:p,x:w,y:v,width:b,fontSize:g,fontWeight:m,vnodeIds:[n.vnodeId]})}return(e=>{let t,n=e.length;for(;n--;){const r=e[n];if(1===r.vnodeIds.length){if(t)t.vnodeIds.push(...r.vnodeIds);else{const{id:e,vnodeIds:n}=r;t={id:e,vnodeIds:n,type:"misc"}}e.splice(n,1)}}return t&&e.push(t),e})(t)}])}),wt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>D}),Qn(),kn(),tr(),tn(),Gt(),ln(),sn(),on(),mt();const s=e=>e?[...e.querySelectorAll("text")].map(e=>{var t;return(null===(t=e.textContent)||void 0===t?void 0:t.replace(/(\r\n|\n|\r)/gm,"").trim())||""}).join(" ").trim():null,a=e=>"true"===e.attributes["aria-hidden"],l=e=>a(e)||!!e.ancestors.find(a),c=new Set(["img","graphics-symbol"]),u=new Set(["heading","article"]),d=(e,t)=>!!Gt().Ay.isFocusable(e)||!!t&&(e=>u.has(e)||Gt().Ay.isLandmarkRole(e))(t),f=e=>{const t=(e=>{var t;return null!==(t=e.slotAncestors)&&void 0!==t&&t.length?e.slotAncestors:e.ancestors||[]})(e),n=[];for(let e=t.length-1;e>=0;e--){const r=t[e],o=r.element;if((null==o?void 0:o.nodeType)!==Node.ELEMENT_NODE)continue;const i=Gt().Ay.getRole(o);if(i&&c.has(i))n.push(r);else if(d(o,i))break}return n},h=["img","svg","canvas","video"];function p(e,t){var n,r,o;const i=[],s=null===(n=e.tagName)||void 0===n?void 0:n.toLowerCase().trim();return h.includes(s)&&i.push(s),"input"===s&&"image"===(null===(r=e.attributes)||void 0===r?void 0:r.type)&&i.push("input-image"),null!==(o=e.style)&&void 0!==o&&o.pseudo&&i.push("pseudo"),_(null,e)&&i.push("background-image"),"img"===t&&i.push("role-img"),i}function m(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}const g=50,y=529;function b(e,t){if(!m(t,e.getBoundingClientRect()))return"";const n=[];for(const o of e.childNodes)if(o.nodeType===Node.TEXT_NODE){var r;const e=null===(r=o.textContent)||void 0===r?void 0:r.trim();e&&n.push(e)}else if(o.nodeType===Node.ELEMENT_NODE){const e=b(o,t).trim();e&&n.push(e)}return(0,Vt().D)(n.join(" ")).trim()}function v(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.getBoundingClientRect(),n=e.ownerDocument,r=t.width,o=t.height;if("function"!=typeof n.elementsFromPoint||r<1||o<1)return"";try{const i=Math.ceil(Math.sqrt(y)),s=Math.min(i,Math.ceil(r/g)),a=Math.min(i,Math.ceil(o/g)),l=[];for(let e=0;e<s;e++)for(let n=0;n<a;n++){const i=t.left+r*(e+.5)/s,c=t.top+o*(n+.5)/a;l.push({x:i,y:c})}const c=new Set;for(const{x:r,y:o}of l)for(const i of n.elementsFromPoint(r,o))i.nodeType===Node.ELEMENT_NODE&&i!==e&&m(t,i.getBoundingClientRect())&&c.add(i);const u=[...c].filter(e=>{var t,n,r;return!(null===(t=(null===(n=e.innerText)||void 0===n?void 0:n.trim())||(null===(r=e.textContent)||void 0===r?void 0:r.trim()))||void 0===t||!t.length)});if(!u.length)return"";const d=u.filter(e=>!u.some(t=>{return t!==e&&((n=e)!==(r=t)&&n.contains(r));var n,r}));return d.map(e=>b(e,t)).filter(Boolean).join(" ")}catch{return""}}function w(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.innerText;return"string"==typeof t?(0,Vt().D)(t).trim():""}const S=(...e)=>t=>e.some(e=>e(t));function x(e,t){const n=[];for(const r of t){const{style:t,box:o}=r,{height:i,width:s,y:a}=o,l=t["background-image"],c=e.getById(r.vnodeId),{tagName:u,attributes:d}=c,f=d["xlink:href"],{src:h,class:p}=d,m=!!(f||l||h),g=/#/.test(h||l||f),y=(f||l||h).replace(/^([0-9a-z]+)\.|#.+|\?.+/gi,""),b=n.find(S(Oo()()({width:s,y:a}),Oo()()({external:m,sprite:g,extension:y}),Oo()()({tagName:u,className:p,height:i,width:s}),Oo()()({tagName:u,height:i,width:s})));b?b.vnodes.push(r):n.push({id:n.length,type:"autogenerated",tagName:u,className:p,height:i,width:s,y:a,external:m,sprite:g,vnodes:[r]})}return function(e){let t,n=e.length;for(;n--;){const r=e[n];if(1===r.vnodes.length){if(t)t.vnodes.push(...r.vnodes);else{const{id:e,vnodes:n}=r;t={id:e,vnodes:n,type:"misc"}}e.splice(n,1)}}return t&&e.push(t),e.map((e,t)=>o(o({},e),{},{displayName:kn().Ay`Group ${t+1}:n`}))}(n)}function E(e,{countOnly:t=!1,rebuildTree:n=!1}={}){const r=e.values(),i=[],a=new Set;n&&Gt().Ay.setupTrees();for(const e of r){if(e.element.nodeType!==Node.ELEMENT_NODE)continue;if(!Gt().Ay.isAxeSetUp(e.element)){const t=(0,Ut().rJ)(e.element);t.teardown(),t.setup()}const{vnodeId:n,element:r,selector:c}=e,u=o(o({selector:c,vnodeId:n,imageId:`${i.length}`,src:"",style:M(r),box:(0,tn().Ay)(e)},(0,st().A)(e)),{},{source:Gt().Ay.getSource(r),accessibleText:(0,sn().GR)(e.element)||""});if([j,R,N,P].some(t=>t(e,u)))continue;let d;const h=()=>d??(d=Gt().Ay.getRole(e.element)),m=p(u,e.attributes.role?h():null),g=!!m.length;if(g){if(f(e).find(({vnodeId:e})=>a.has(e)))continue}const y=!t&&I(e);if(g){const n=h(),r="svg"===e.tagName;a.add(e.vnodeId),i.push(o(o({},u),{},{isBackgroundImage:_(null,u),imageTypes:m,overlappingText:v(e.element),elementText:w(e.element),isEmptyAltImg:"img"===e.tagName&&""===e.element.getAttribute("alt")||!!r&&("img"===n?""===u.accessibleText:!u.accessibleText),isAriaHidden:l(e),role:n,isRoleImg:"img"===n,hint:(0,ln().S8)(e.element),svgTextContent:r&&s(e.element)||"",interactiveParent:y?{accessibleText:(0,sn().GR)(y.element)||"",isAriaHidden:l(y),hasOtherContent:T(y.element,e.element)}:void 0},(0,st().A)(t?e:(0,ln().D8)(e))))}y&&(u.vnodeId=y.vnodeId,u.box=(0,tn().Ay)(e,y))}return i}const O='img, svg, canvas, video, picture, object, embed, iframe, input[type="image"]',A="script, style, noscript";function T(e,t){const n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:e=>{var t;return null!==(t=e.parentElement)&&void 0!==t&&t.closest(A)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});let r;for(;r=n.nextNode();){var o;if(null!==(o=r.textContent)&&void 0!==o&&o.trim()&&!t.contains(r))return!0}return[...e.querySelectorAll(O)].some(e=>e!==t&&!t.contains(e)&&!e.contains(t)&&!e.closest(A))}const C=`a, label, button, input, summary, ${on().oi}`;function I(e){var t;return null===(t=e.ancestors)||void 0===t?void 0:t.find(e=>{var t,n;return null===(t=e.element)||void 0===t||null===(n=t.matches)||void 0===n?void 0:n.call(t,C)})}function P(e){return"input"===e.tagName&&"hidden"===e.attributes.type}function N(e,t){const{box:n}=t,{height:r,width:o}=n;return 0===o||0===r}function j(e,t){const{style:n}=t,{display:r,visibility:o,opacity:i}=n;return"none"===r||"0"===i||"hidden"===o}function R(e,t){const{style:n}=t,{clip:r="",position:o=""}=n,i=n["clip-path"]||"",s=["fixed","absolute"].includes(o)&&r.match(/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/);if(s&&5===s.length)return s[3]-s[1]<=0&&s[2]-s[4]<=0;if(i){const[,e,t]=i.match(/(\w+)\((\d+)/)||[null,"",0];switch(e){case"inset":return t>=50;case"circle":return 0===t}}return!1}const k=["before","after"];function M(e){const t={};e&&e.nodeType===Node.ELEMENT_NODE?(t.element=window.getComputedStyle(e),k.forEach(n=>{t[n]=window.getComputedStyle(e,n)})):["element",...k].forEach(e=>t[e]={getPropertyValue:()=>""});const n={pseudo:k.some(e=>["content","background-image"].some(n=>t[e]&&t[e].getPropertyValue(n).startsWith("url")))};return["display","opacity","visibility","clip","clip-path","position","font-family","background-image","height","width"].reduce((e,n)=>(e[n]=t.element.getPropertyValue(n),e),n)}function _(e,t){const{style:n}=t;return!!n["background-image"].startsWith("url")||!!n.pseudo}function D(e){tr().yS.listen("igt:images:get-data",async()=>{return{images:x(t=e(),E(t,{rebuildTree:!0})).map(e=>o(o({},e),{},{vnodes:e.vnodes.map(t=>o(o({},t),{},{identifier:`${e.id}-${t.imageId}`}))}))};var t}),(0,mt().t)("igt:images:classify-stability",e)}}),St=n.cw((e,t)=>{function r({getTree:e,getFlatTree:t,buildTree:n}){(0,xt().Ay)(e),(0,Ct().Ay)(e),(0,At().Ay)({getTree:e,getFlatTree:t,buildTree:n}),(0,It().Ay)(e,n),(0,wt().Ay)(e),(0,Et().A)(e,n),(0,gt().A)(e),(0,Ot().A)(e),n&&(0,Xe().n)({getTree:e,buildTree:n}),(0,Je().z)({getTree:e}),(0,Ye().SV)({getTree:e}),(0,Tt().UB)(e)}n.d(t,{A:()=>r}),xt(),Ct(),At(),It(),wt(),Et(),gt(),Ot(),Tt(),Xe(),Je(),Ye()}),xt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>u}),jn(),pn(),Gt(),tr(),tn(),nn(),sn(),vt(),Ot(),ln(),mt();const s=to()()("walnut-chrome:content:interactive-elements"),a=En().A`
3
3
  [tabindex]:not([tabindex="-1"]),
4
4
  [contenteditable="true"],
5
5
  [contenteditable=""],
@@ -28,7 +28,7 @@
28
28
  [role="switch"],
29
29
  [role="tab"],
30
30
  [role="treeitem"]
31
- `,c=(e,t={})=>{const n=(0,Wt().Ay)(e,...e.children||[]),r=kt().Ay.getRole(e.element)||"",i=((e,t)=>{if(t||!(e instanceof HTMLElement)||e.tabIndex<0||e.hasAttribute("aria-activedescendant"))return!1;const{overflowX:n,overflowY:r}=window.getComputedStyle(e);return[n,r].some(e=>"auto"===e||"scroll"===e)})(e.element,r),s=e.element.getAttribute("href"),a=(0,Yt().S8)(e.element);return o(o(o(o(o({},(0,qt().Ay)(e,{},"accName")),{},{role:r},null!=s?{href:s}:{}),a?{accDescription:a}:{}),{},{box:(0,Wt().ni)(n)?n:void 0,tightBox:(0,Wt().Nm)(e),states:[{calculated:(0,ct().A)(e)}],nativelyDisabled:(0,ct().p)(e),isScrollableRegion:i},!i||(c=e.element,null!==(l=c.getAttribute("aria-label"))&&void 0!==l&&l.trim()||null!==(u=c.getAttribute("aria-labelledby"))&&void 0!==u&&u.trim()||null!==(d=c.getAttribute("title"))&&void 0!==d&&d.trim())?{}:{accName:""}),t);var c,l,u,d},l=e=>{const t=e.element.matches(a),n="gridcell"===kt().Ay.getRole(e.element);if(t&&n){const t=e.element.tabIndex>=0,n=!!e.element.querySelector(a);return t||!n}return t};function u(e){Rn().yS.listen("igt:interactive-elements:get-interactives",()=>{var t;kt().Ay.setupTrees();const n=(null===(t=e())||void 0===t?void 0:t.values())||[];s("Getting interactive elements from ",{flatTree:n});const r=(0,zt().A)(n,l,!0).map(e=>{var t,n;return c(e,{ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(n=e.children)||void 0===n?void 0:n.map(({vnodeId:e})=>e))||[],descendants:(0,at().A)(e).map(({vnodeId:e})=>e)})});return kt().Ay.cleanupTrees(),s("Got interactives",{interactives:r}),r}),Rn().yS.listen("igt:interactive-elements:get-all-possible-interactives",()=>{var t;kt().Ay.setupTrees();const n=(null===(t=e())||void 0===t?void 0:t.values())||[];s("Getting interactive elements from ",{flatTree:n});const r=(0,zt().A)(n,()=>!0,!0).map(e=>o(o({},(0,pt().V)(e)),c(e)));return kt().Ay.cleanupTrees(),s("Got all nodes ",{allNodes:r}),r}),Rn().yS.listen("igt:interactive-elements:get-groupings",({message:t})=>{kt().Ay.setupTrees();const n=e(),r=t.interactives.map(e=>{const t=n.getById(e.vnodeId);return o(o({},e),{},{element:null==t?void 0:t.element})}),i=(0,lt().i)(r),s=(0,lt().q)(r);return kt().Ay.cleanupTrees(),{role:i,intelligent:s}}),Rn().yS.listen("igt:interactive-elements:map-user-selected",({message:t})=>{const{selected:n=[]}=t,r=e();kt().Ay.setupTrees();const o=n.map(e=>{const t=r.getById(e.vnodeId);return c(t,{userSelected:!0,source:kt().Ay.getSource(t.element)})});return kt().Ay.cleanupTrees(),o}),Rn().yS.listen("igt:check-state",({message:t})=>{var n;const r=e().getById(null==t||null===(n=t.vnode)||void 0===n?void 0:n.vnodeId);return null!=r&&r.element?(0,ct().A)(r):[]}),Rn().yS.listen("igt:interactive-elements:resolve-selector",({message:t})=>{const{selector:n}=t;if("string"!=typeof n||!n.trim())return null;const r=e();if(!r)return null;let o;try{o=r.selectOne(n.split("|"))}catch(e){return s("Failed to resolve stored selector",{selector:n,error:e}),null}return o?JSON.parse(r.safe(o)):null}),Rn().yS.listen("igt:interactive-elements:resolve-include-selectors",({message:t})=>{const{includeSelectors:n}=t;if(!Array.isArray(n))return null;const r=e();if(!r)return null;const o=new Set;let i=!1;for(const e of n){const t="string"==typeof e?e.trim():"";if(t){i=!0;try{for(const e of r.selectAll([t],{isRelativeSelector:!0}))o.add(e.vnodeId)}catch(t){s("Skipping includeSelector that failed to resolve",{selector:e,error:t})}}}return i?[...o]:null}),(0,it().t)("igt:interactive-elements:classify-stability",e)}}),ht=n.cw(function(e,t){n.d(t,{A:()=>l}),Rn(),Lt(),it();const r=["keyboardTrapsEnabled","isKeyboardTrapEscape","keyboardTrapVnode","isAutoEscape","isLastAttempt"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function a(){return Rn().yS.send(Rn()._O.content,"hide-scrollbars")}async function c(){return Rn().yS.send(Rn()._O.content,"show-scrollbars")}function l(e,t){let n;Rn().yS.listen("igt:keyboard:focus-element",async({message:{elementToFocus:t}})=>{const n=await e(),r=n.querySelector(t.selector);return r&&(0,It().A)(r),{foundElement:r?JSON.parse(n.safe(n.get(r))):null}}),Rn().yS.listen("igt:keyboard:find-current-focus",async()=>{const t=await e();return Ht().A.findCurrentFocus(t)}),Rn().yS.listen("igt:keyboard:reset-focus",Ht().A.resetFocus),Rn().yS.listen("igt:keyboard:tab-record-start",async o=>{let{message:{keyboardTrapsEnabled:s,isKeyboardTrapEscape:l,keyboardTrapVnode:u,isAutoEscape:d=!1,isLastAttempt:f=!1}}=o,h=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o.message,r);const p=async()=>{await t(i(i({},h.metadata),{},{scope:void 0}));const n=e(),r=Array.from((null==n?void 0:n.values())||[]);let o=n,s=r;var a;h.metadata.scope&&(await t(h.metadata),o=e(),s=Array.from((null===(a=o)||void 0===a?void 0:a.values())||[]));return{cache:{tree:o,flat:s},unscopedCache:{tree:n,flat:r}}};if(!n||n.isCleanedUp()){const{cache:e,unscopedCache:t}=await p();n=new(Lt().Ay)({manifest:h,cache:e,unscopedCache:t,highlighter:await(0,Vn().Ay)(),hideScrollbars:a,showScrollbars:c,buildTreeCache:p,keyboardTrapsEnabled:s})}n.setKeyboardTrapEscapeState(l,u,d,f),l||Rn().yS.send(Rn()._O.background,"tab-record:start")}),(0,it().t)("igt:keyboard:classify-stability",e)}}),pt=n.cw(function(e,t){n.d(t,{A:()=>c}),Rn(),kt(),qt(),Wt();const r=["useTextBox"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=(e,t={})=>{const{useTextBox:n=!1}=t,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,r),s=n?(0,Wt().EN)(e):null,a=n&&(0,Wt().ni)(s),c=a?s:(0,Wt().Ay)(e,...e.children||[]);return i(i({},(0,qt().Ay)(e,{},"accName")),{},{role:kt().Ay.getRole(e.element),box:(0,Wt().ni)(c)?c:void 0,tightBox:a?s:(0,Wt().Nm)(e),states:(0,ct().A)(e),nativelyDisabled:(0,ct().p)(e)},o)};function c(e){Rn().yS.listen("igt:ml:debug",({message:t})=>{const{features:n,vnodes:r}=t;kt().Ay.setupTrees();const o=e();console.log("Debugging ML","\nLegend:\n - Green/Solid - The feature matched a programmatically identified element\n - Yellow/Dashed - The feature matched an element we did not programmatically identify\n - Orange/Dotted - The feature matched an element with a different role\n - Red/Double - The feature could not find a matching element\n - Black/Ridge - Default color, but this case should not happen\n "),n.forEach(e=>{let t="black 4px ridge";r.some(t=>t.vnodeId===e.vnodeId)?t=e.roleMatches?"green 4px solid":"orange 4px dotted":e.vnodeId?t="yellow 4px dashed":e.vnodeId||(t="red 4px double");const n=o.getById(e.vnodeId),i=document.createElement("div");i.style.position="absolute",i.style.top=`${e.box.y}px`,i.style.left=`${e.box.x}px`,i.style.border=t,i.style.height=`${e.box.height}px`,i.style.width=`${e.box.width}px`,i.style.color="white",i.title=`Type: ${e.type} - Role: ${e.role} - IOU: ${e.iou} - Confidence: ${e.confidence}`,i.style.zIndex="1000000",i.addEventListener("click",()=>{console.log("feature details: ",{feature:e,highlight:i,matchingElement:n?n.element:null,vnode:n?a(n):null})}),document.body.appendChild(i)}),kt().Ay.cleanupTrees()})}n.d(t,["V",0,a])}),mt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>I}),Rn(),kt(),Ft(),un(),it();const s=jr()()("igt:modal-dialog"),a=['[role="dialog"]','[role="alertdialog"]',"dialog"].join(":not(:empty), "),c=['[class*="modal" i]','[class*="dialog" i]'].join(":not(:empty), "),l=["absolute","fixed"],u=3e3,d=200,f=100,h=.75;let p=null;const m=["dialog","alertdialog"],g=e=>new Promise(t=>{setTimeout(t,e)}),y=(e=document.activeElement)=>{const{shadowRoot:t}=e;return t&&t.activeElement?y(t.activeElement):"IFRAME"===e.tagName&&e.contentDocument?y(e.contentDocument.activeElement):e},b=(e,t=document)=>Array.from(t.querySelectorAll(e)).filter(e=>kt().Ay.isSRVisible(e)),v=e=>{const t=kt().Ay.name(e);return"string"==typeof t?t:""},w=e=>{if(!e)return;const t=[e,...e.ancestors].find(e=>kt().Ay.isFocusable(e.element));null==t||t.element.focus(),e.element.dispatchEvent(new Event("mousedown",{bubbles:!0})),e.element.dispatchEvent(new Event("mouseup",{bubbles:!0})),"function"==typeof e.element.click?e.element.click():e.element.dispatchEvent(new Event("click",{bubbles:!0}))},S=(e=document)=>{let t=null;const n=[()=>b(a,e),()=>b('[aria-modal="true"]:not(:empty)',e),()=>b(c,e).filter(e=>l.includes(window.getComputedStyle(e).position)||!!e.offsetParent&&l.includes(window.getComputedStyle(e.offsetParent).position)),()=>{const t=((e=document)=>{if("function"!=typeof(null==e?void 0:e.elementsFromPoint))return null;const t="defaultView"in e&&e.defaultView||window,n=.75*t.innerWidth,r=.75*t.innerHeight,o=(t.innerWidth-n)/2,i=(t.innerHeight-r)/2,s=[{x:o,y:i},{x:t.innerWidth-o,y:i},{x:t.innerWidth/2,y:t.innerHeight/2},{x:o,y:t.innerHeight-i},{x:t.innerWidth-o,y:t.innerHeight-i}].map(t=>Array.from(e.elementsFromPoint(t.x,t.y)));for(const e of s){const o=e.find(e=>{if(!(e instanceof HTMLElement))return!1;const o=t.getComputedStyle(e);return parseFloat(o.width)>=n&&parseFloat(o.height)>=r&&"none"!==o.getPropertyValue("pointer-events")&&l.includes(o.position)});if(o&&s.every(e=>e.includes(o)))return o}return null})(e);return t&&kt().Ay.isSRVisible(t)?[t]:[]}];for(let e=0;e<n.length;e++){const r=(0,n[e])();if(1===r.length){t=r[0];break}}return t?(e=>{var t;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!n)return e;const{width:r,height:o}=e.getBoundingClientRect(),i=n.innerWidth*n.innerHeight;return 0===i||r*o<.9*i?e:e.querySelector('[class~="modal-content" i]:not(:empty), [class~="dialog-content" i]:not(:empty)')||e.querySelector('[role="document"]:not(:empty), [class~="modal-dialog" i]:not(:empty), [class~="dialog-container" i]:not(:empty)')||e})(t):null},E=e=>{const t=e.element.getAttribute("tabindex");e.element.tabIndex=t||-1,e.element.focus()},O=e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>m.includes(kt().Ay.getRole(e.element))),x=e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>"true"===e.element.getAttribute("aria-modal")),A=(e,t=!1)=>{const n=n=>{var r,o,i;return e.element.contains(n)||!(null===(r=e.contains)||void 0===r||!r.call(e,n))||t&&(o=n,i=e.element,o.contains(i)&&o!==i&&o!==i.ownerDocument.body&&o!==i.ownerDocument.documentElement)};let r=n(y());if(!r&&p){const e=n(p);r=e,e&&(p=null)}return r},T=()=>p=y(),C=(e,t,n)=>{const r=Array.isArray(t)?t:[t];try{return r.length>0&&r.every(Boolean)?e.querySelector(r):null}catch(e){return s(`${n}: selector failed to resolve`,{selectorSegmentCount:r.length,selectorLength:r.join("").length,errorName:e instanceof Error?e.name:typeof e}),null}};function I({getTree:e,getFlatTree:t,buildTree:n},r=u){(0,it().t)("igt:modal-dialog:classify-stability",e);const i=()=>{const n=e(),r=t(),o=[document,...(0,Ft().$t)({tree:n,flat:r}),...(0,Ft().CG)({tree:n,flat:r})];let i=null;return o.some(e=>(i=S(e),!!i)),i};Rn().yS.listen("igt:modal-dialog:resolve-mcp-selector",async({message:{selector:t}})=>{const n=e(),r=C(n,t,"resolve-mcp-selector");return{resolved:r?JSON.parse(n.safe(n.get(r))):null}}),Rn().yS.listen("igt:modal-dialog:resolve-mcp-modal",async({message:{selector:t}})=>{const o=Date.now()+r;let i=null,a=0;for(;;){let r=null;try{a>0&&await n(),a++;const o=e(),s=C(o,Array.isArray(t)?[...t]:t,"resolve-mcp-modal"),c=s?o.get(s):null,l=c?JSON.parse(o.safe(c)):null;l&&(i=l,kt().Ay.isSRVisible(s)&&(r=l))}catch(e){s("resolve-mcp-modal: attempt failed",{errorName:e instanceof Error?e.name:typeof e})}if(r)return{resolved:r};if(Date.now()>=o)return i?{resolved:i,reason:"modal-selector-not-visible"}:{resolved:null,reason:"modal-selector-not-resolved"};await g(f)}}),Rn().yS.listen("igt:modal-dialog:detect:no-trigger",async()=>{try{const t=e(),n=i(),r=n?t.get(n):null;return{resolved:r?JSON.parse(t.safe(r)):null}}catch(e){return s("detect:no-trigger: detection failed",e),{resolved:null}}});const a=async(t,r,o=[])=>{let i=e(),s=t&&i.getById(t.vnodeId);return s||(await n({value:r,vitals:o}),i=e(),s=t&&i.getById(t.vnodeId)),s},c=(t,n)=>{const r=e(),o=n&&r.getById(n.vnodeId);o&&t&&!kt().Ay.isVisible(t.element,!0)&&o.element.click()},p=new Set,m=new Set,b=new Set,I=e=>{p.add(e.target)},P=t=>{kt().Ay.cleanupTrees();const n=O(t),r=n&&(0,Ke().A)(n),i=x(t),s=A(t,!(!!n||!!i)),a=(t=>{const{element:n}=t,r=[];let i=n.parentNode;for(;i&&"HTML"!==i.nodeName;){const s=Array.from(i.children),a=e();s.forEach(e=>{var i;const s=a.get(e);if(e!==n&&!(e.contains(n)||null!=s&&null!==(i=s.contains)&&void 0!==i&&i.call(s,t))&&e.tagName.toLowerCase()!==Fn().wZ&&kt().Ay.isSRVisible(e)&&(kt().Ay.name(e)||"").trim()){const t=o(o({},(0,Ke().A)(s)),{},{source:kt().Ay.getSource(e)});r.push(t)}}),i=i.parentNode}return r})(t),c=e=>!!e&&A(e);return{dialogRoleVnode:r,hasDialogRole:!!r,focusBroughtToModal:!!s||c(n)||c(i),handledAriaHidden:!a.length,ariaHiddenMissingVNodes:a,isModalDialog:(0,Ye().Q)(t.element)||!(!n||!(0,Ye().Q)(n.element)),isAriaModal:!!i}};Rn().yS.listen("igt:modal-dialog:detect:with-trigger",async({message:{manifest:t,vitals:s}})=>{let c=e();const l=await a(t["select-trigger"],t,s);w(l),await g(r),await n({value:t,vitals:s}),c=e();const u=i();u||T();const d=u?c.get(u):null;return d?o({modal:o(o({},(0,Ke().A)(d)),{},{accessibleName:v(d.element)})},P(d)):{modal:null}}),Rn().yS.listen("igt:modal-dialog:focus-trap",async({message:{manifest:e,vitals:t}})=>{const{modal:n,focusBroughtToModal:r}=e,o=await a(n,e,t);return new Promise(t=>{let n,i=null;const a=e=>i=e.target,l=new Set,u=e=>(e&&document.addEventListener("focus",a,!0),Rn().yS.send(Rn()._O.background,e?"modal:tabber-init":"modal:fire-tab")),f=document.createElement("div");f.tabIndex=0,f.setAttribute("data-axedevtools-tabstop-ignore","true"),document.body.appendChild(f);const h=()=>{n=setTimeout(()=>{const e=y(),t=e===document.body&&i!==e,n=l.has(e),r=e=>{var t;return o.element.contains(e)||(null===(t=o.contains)||void 0===t?void 0:t.call(o,e))},a=e.getRootNode()instanceof ShadowRoot;let c=!r(e)&&!t;if(c){let t=null;if(a){for(t=e.getRootNode().host;null!==(d=t.getRootNode())&&void 0!==d&&d.host&&!r(t)&&!document.body.contains(t);){var d;t=t.getRootNode().host}c=!r(t)}}if(s("focus-trap:checkFocus",{activeElement:e,hasShadowRoot:a,isCircular:n,isOutside:c}),n||c)return p({isCircular:n,isOutside:c});t||l.add(e),u(!1),h()},d)},p=e=>{var r;null===(r=f.parentNode)||void 0===r||r.removeChild(f),clearTimeout(n),document.removeEventListener("focus",a,!0),Rn().yS.send(Rn()._O.background,"modal:tabber-stop"),t(e)};if(!o)return p({});c(o,e["select-trigger"]),r||E(o),h(),u(!0)})}),Rn().yS.listen("igt:modal-dialog:escape",async({message:{manifest:n}})=>{var o;const i=await a(n.modal,n);if(!i)return{};c(i,n["select-trigger"]);const s=document.activeElement;i.element.contains(s)||null!==(o=i.contains)&&void 0!==o&&o.call(i,s)||E(i),(()=>{const n=e(),r=t();(0,Ft().Uq)({tree:n,flat:r}).forEach(e=>{if(b.add(e),e.addEventListener("submit",I,!0),"function"==typeof e.submit){const t=e.submit;e.submit=()=>{p.add(e),t.call(e)},m.add(()=>{e.submit=t})}})})(),await Rn().yS.send(Rn()._O.background,"modal:fire-escape"),await g(r);const l=!kt().Ay.isVisible(i.element,!0),u={escapeClosed:l,formSubmitted:!!p.size};if(m.forEach(e=>e()),b.forEach(e=>{e.removeEventListener("submit",I,!0)}),p.clear(),m.clear(),b.clear(),l){const t=e().get(document.activeElement),r=n["select-trigger"];u.focusReturnedToTrigger=!!t&&!!r&&t.vnodeId===r.vnodeId,"number"==typeof(null==t?void 0:t.vnodeId)&&(null==t?void 0:t.vnodeId)>=0&&(u.focusReturnTarget=(0,Ke().A)(t))}return u}),Rn().yS.listen("igt:modal-dialog:assess",async({message:t})=>{const n=t.vnode;if(!n||!n.vnodeId)return;const r=e().getById(n.vnodeId),i=o(o({},(0,Ke().A)(r)),{},{accessibleName:v(r.element)});return o({modal:i},P(r))}),Rn().yS.listen("igt:modal-dialog:assess-dismiss",async({message:t})=>{const n=e().get(document.activeElement),r=t.vnode;return{focusReturnTarget:n&&(0,Ke().A)(n),focusReturnedToTrigger:n&&r&&n.vnodeId===r.vnodeId,"user-dismiss-modal":!0}});const N=(e,t)=>{if(null==e||!e.element)return null;const n=e.element.getBoundingClientRect();if(n.width<=0||n.height<=0)return null;const r=t;let o=0,i=0;for(const t of e.ancestors??[])if(t.isFrame&&t.element){const e=t.element.getBoundingClientRect();o+=e.left,i+=e.top}const s=n.left+window.pageXOffset+o,a=n.top+window.pageYOffset+i;return{width:Math.round(n.width*r),height:Math.round(n.height*r),top:Math.round(a*r),left:Math.round(s*r),right:Math.round((s+n.width)*r),bottom:Math.round((a+n.height)*r)}},j=e=>"number"==typeof e&&Number.isFinite(e)&&e>0;Rn().yS.listen("igt:modal-dialog:capture-pre-dismiss-focus-inputs",async({message:{manifest:e,screenshotZoomLevel:t}})=>{if(!j(t))return null;const n=await a(e.modal,e),r=e["select-trigger"],o=r?await a(r,e):null;if(null==n||!n.element||null==o||!o.element)return null;const i=N(n,t),s=N(o,t);return i&&s?{modal_bounding_box:i,modal_html_markup:n.element.outerHTML,trigger_element_bbox:s}:null}),Rn().yS.listen("igt:modal-dialog:collect-post-dismiss-focus-target",async({message:{focusVnodeId:t,screenshotZoomLevel:n}})=>{if("number"!=typeof t||!j(n))return null;const r=e().getById(t);if(null==r||!r.element)return null;const o=N(r,n);if(!o)return null;const{element:i}=r,s=kt().Ay.name(i)||"",a=(i.textContent||"").trim(),c=s.trim()||a,l=c.length<=200?c:c.slice(0,200);return{current_focus_bbox:o,focus_html_markup:i.outerHTML,focus_element_text:l}});const R=e=>!(null!=e&&e.element&&kt().Ay.isVisible(e.element,!0));Rn().yS.listen("igt:modal-dialog:try-auto-dismiss",async({message:{modalVnodeId:t,triggerVnodeId:n,dismissCandidates:i,mcpMode:s}})=>{const a=e().getById(t);if(null==a||!a.element)return{success:!1};const c=()=>{const t=e().get(document.activeElement),r=!!t&&"number"==typeof n&&t.vnodeId===n;return{focusReturnTarget:"number"==typeof(null==t?void 0:t.vnodeId)&&t.vnodeId>=0?(0,Ke().A)(t):void 0,focusReturnedToTrigger:r}};if(R(a))return o({success:!0,strategy:"already-closed"},c());const u=async t=>{const n=e().get(t);return!!n&&(w(n),await g(r),R(a))},d=['form[method="dialog" i] button:not([type="button" i])','button[formmethod="dialog" i]','[data-bs-dismiss="modal"]','[data-dismiss="modal"]','button[aria-label="close" i]','button[aria-label="dismiss" i]','[role="button"][aria-label="close" i]','[role="button"][aria-label="dismiss" i]'];for(const e of d){const t=a.element.querySelectorAll(e);for(const e of Array.from(t))if(kt().Ay.isVisible(e,!0)&&await u(e))return o({success:!0,strategy:"semantic_dom"},c())}if((a.ancestors??[]).some(e=>e.isFrame))return{success:!1};const f=s?[]:i,p=a.element.getBoundingClientRect(),m=e=>({centerX:p.left+(e.left+e.right)/2/1e3*p.width,centerY:p.top+(e.top+e.bottom)/2/1e3*p.height}),y=(e,t)=>{const n=document.elementsFromPoint(e,t)??[];for(const e of n)if(e!==a.element&&a.element.contains(e)&&e.matches('button, [role="button"], a, [tabindex]:not([tabindex="-1"]), [data-bs-dismiss], [data-dismiss]'))return e;return null},b=e=>e.right>e.left&&e.bottom>e.top;for(let e=0;e<f.length;e++){const t=f[e];if(!b(t))continue;const{centerX:n,centerY:r}=m(t),i=y(n,r);if(i&&await u(i))return o({success:!0,strategy:"ai_candidate",candidateIndex:e},c())}const v=(e=>{const t=e.element.getBoundingClientRect();if(t.width<=0||t.height<=0)return null;const n=t.left+t.width/2,r=t.top+t.height/2,o=document.elementsFromPoint(n,r),i=window.innerWidth*window.innerHeight;for(const t of o){if(!(t instanceof HTMLElement))continue;if(t===e.element||e.element.contains(t))continue;const n=window.getComputedStyle(t);if(!l.includes(n.position))continue;const r=t.getBoundingClientRect();if(r.width*r.height/i>=h)return t}return null})(a);return v&&await u(v)?o({success:!0,strategy:"backdrop"},c()):{success:!1}})}}),gt=n.cw(function(e,t){Rn();const r="data-axe-unclip",o=[["overflow-x","visible"],["overflow-y","visible"]];let i,s,a=[];const c=e=>{if(e.hasAttribute(r)||!(e=>"style"in e)(e))return;const{style:t}=e,n=o.map(([e])=>({property:e,value:t.getPropertyValue(e),priority:t.getPropertyPriority(e)}));a.push({element:e,hadStyleAttribute:e.hasAttribute("style"),inlineDeclarations:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),e.setAttribute(r,"");for(const[e,n]of o)t.setProperty(e,n,"important")},l=e=>{const{element:t,hadStyleAttribute:n,inlineDeclarations:o}=e;for(const{property:e,value:n,priority:r}of o)n?t.style.setProperty(e,n,r):t.style.removeProperty(e);n||""!==t.getAttribute("style")||t.removeAttribute("style"),t.removeAttribute(r)},u=()=>{void 0!==s&&(clearTimeout(s),s=void 0);for(const e of a)l(e);for(const{element:e,scrollLeft:t,scrollTop:n}of a)e.scrollLeft=t,e.scrollTop=n;a=[],i=void 0};n.d(t,["UB",0,e=>{Rn().yS.listen("igt:elements:unclip",({message:t})=>{u(),i=null==t?void 0:t.captureId;const n=e(),r=new Map,o={},l=e=>(0,Xe().k)(e,null==t?void 0:t.unionWithDescendants),d=new Set,f=new Set,h=new Set;for(const e of(null==t?void 0:t.vnodeIds)??[]){var p;const t=null==n||null===(p=n.getById(e))||void 0===p?void 0:p.element;if(t){r.set(e,t);for(const{element:e,clipsVertically:n}of(0,ot().kA)(t,l(t)))d.add(e),e===t&&(0,ot().lr)(t)&&h.add(e),n&&f.add(e)}else o[e]=!1}for(const e of d)h.has(e)||f.has(e)||c(e);for(const[e,t]of r)o[e]=(0,ot().iF)(t,l(t));var m;return a.length&&(s=setTimeout(u,"number"==typeof(m=null==t?void 0:t.restoreAfterMs)&&Number.isFinite(m)&&m>0?m:6e4)),o}),Rn().yS.listen("igt:elements:restore-clipping",({message:e})=>(null==e?void 0:e.captureId)===i&&(u(),!0))}])}),yt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>w}),zt(),kt(),qt(),Ot(),Yt(),Rn(),Wt(),pt(),it();const s=e=>e.element.matches(We().NF)&&!!(0,qt().GR)(e.element).length,a=e=>e.element.matches(We().Po),c=e=>{var t;return null===(t=e.attrs)||void 0===t?void 0:t.includes("lang")},l=e=>{var t;return!!e.isFrame&&!(null===(t=e.attrs)||void 0===t||!t.includes("title"))&&!!(0,qt().GR)(e.element).length},u=e=>{var t;return"application"===(null===(t=e.attributes)||void 0===t?void 0:t.role)},d=e=>["audio","video"].includes(e.tagName.toLowerCase());function f(e){kt().Ay.setupTrees();const t=e();return kt().Ay.cleanupTrees(),t}function h(e){var t;const[,n]=e.tagName.match(/^h(\d)$/)||[],r=n?parseInt(n):-1;if(null!==(t=e.attributes.role)&&void 0!==t&&t.includes("heading")){const t=parseInt(e.element.getAttribute("aria-level")||e.attributes["aria-level"]);return isNaN(t)||t<1||t>6?-1!==r?r:2:t}return r}const p=e=>{var t,n;const r=(0,Wt().Ay)(e);return o(o({},(0,qt().Ay)(e,{},"accessibleText")),{},{source:kt().Ay.getSource(e.element),textContent:(0,St().r)(e),role:kt().Ay.getRole(e.element),level:h(e),box:(0,Wt().ni)(r)?r:void 0,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(n=e.children)||void 0===n?void 0:n.map(({vnodeId:e})=>e))||[],descendants:(0,at().A)(e).map(({vnodeId:e})=>e)})},m=e=>{var t,n;const r=(0,Wt().Ay)(e);return o(o({},(0,qt().Ay)(e,{},"accessibleText")),{},{source:e.element.outerHTML,role:kt().Ay.getRole(e.element),listItemCount:Array.from(e.element.querySelectorAll(We().JV)).length,box:(0,Wt().ni)(r)?r:void 0,listChildren:(e.children||[]).map(e=>(0,qt().Ay)(e,{},"accessibleText")),ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(n=e.children)||void 0===n?void 0:n.map(({vnodeId:e})=>e))||[],descendants:(0,at().A)(e).map(({vnodeId:e})=>e)})},g=async e=>{var t,n,r;const i=-1===e.vnodeId,s=document.createNodeIterator(e.element,NodeFilter.SHOW_TEXT,t=>!document.body.contains(t.parentElement)||i&&t.parentElement.closest("script, style, noscript, template")||t.parentElement.hasAttribute("lang")&&t.parentElement!==e.element?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);let a,c="";for(;a=s.nextNode();)c+=` ${a.textContent.trim()}`;const{isReliable:l,languages:u=[]}=await browser.i18n.detectLanguage(c);let d;if(i){const[e]=u.filter(e=>(null==e?void 0:e.language)&&"und"!==e.language).sort((e,t)=>t.percentage-e.percentage);e&&(l||e.percentage>=90)&&(d=e)}else if(l){d=u.shift();for(const e of u)(null==e?void 0:e.percentage)>d.percentage&&(d=e)}const f=(0,qt().Ay)(e,{},"accessibleText"),h=e.vnodeId>=0;return o(o({},f),{},{lang:e.attributes.lang,isValidLang:kt().Ay.isValidLang(null===(t=e.attributes.lang)||void 0===t?void 0:t.toLowerCase().split("-")[0]),detectedLang:!!d&&(null===(n=d)||void 0===n?void 0:n.language),langConfidence:d?null===(r=d)||void 0===r?void 0:r.percentage:-1,textContent:h?(0,St().r)(e):null})},y=e=>o(o({},(0,qt().Ay)(e,{},"accessibleText")),{},{descriptionText:(0,Yt().S8)(e.element)}),b=e=>{const t=(0,Wt().Ay)(e);return o(o({},(e=>o({},(0,qt().Ay)(e,{},"accessibleText")))(e)),{},{box:(0,Wt().ni)(t)?t:void 0})},v=e=>{const t=(0,Wt().Ay)(e);return o(o({},(0,qt().Ay)(e,{},"accessibleText")),{},{box:(0,Wt().ni)(t)?t:void 0})};function w(e){Rn().yS.listen("igt:structure:get-headings",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,zt().A)(n,s,!0).map(p)})),Rn().yS.listen("igt:structure:get-all-possible-elements",({message:t})=>{var n;kt().Ay.setupTrees();const r=(null===(n=e())||void 0===n?void 0:n.values())||[],o=!(null==t||!t.useTextBox),i=(0,zt().A)(r,()=>!0,!0).map(e=>(0,pt().V)(e,{useTextBox:o}));return kt().Ay.cleanupTrees(),i}),Rn().yS.listen("igt:structure:map-headings",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];const i=(0,Mt().rJ)();i.teardown(),i.setup();const s=e();return n.map(({vnodeId:e})=>{const t=s.getById(e);return o(o({},p(t)),r)})}),Rn().yS.listen("igt:structure:get-lists",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,zt().A)(n,a,!0).map(m)})),Rn().yS.listen("igt:structure:map-lists",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];return f(()=>{const t=e();return n.map(({vnodeId:e})=>{const n=t.getById(e);return o(o({},m(n)),r)})})}),Rn().yS.listen("igt:structure:get-lang-elements",async()=>{const t=await f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return Promise.all((0,zt().A)(n,e=>c(e)&&kt().Ay.hasContent(e.element),!0).map(g))}),n=await f(()=>{const e=document.body.parentElement;return g({element:e,children:[],ancestors:[],tagName:"html",vnodeId:-1,attrs:["lang"],attributes:{lang:e.getAttribute("lang")},selector:["html"],properties:{classSelector:"",id:e.getAttribute("id"),tagName:e.tagName,childElementCount:e.childElementCount,tabIndex:parseInt(e.getAttribute("tabIndex"))},depth:0})});return{htmlLangElement:n,langElements:t,documentLang:n.lang||n.detectedLang}}),Rn().yS.listen("igt:structure:map-lang-elements",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];return await f(async()=>{const t=e();return await Promise.all(n.map(async({vnodeId:e})=>{const n=t.getById(e);return o(o({},await g(n)),r)}))})}),Rn().yS.listen("igt:structure:get-title-elements",async()=>{const t=f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,zt().A)(n,l,!0).map(v)}),n=document.head.querySelector("title");return{frames:t,documentTitle:{title:document.title,source:n?kt().Ay.getSource(n):null,selector:[kt().Ay.getSelector(n)]}}}),Rn().yS.listen("igt:structure:get-application-elements",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,zt().A)(n,u,!0).map(b)})),Rn().yS.listen("igt:structure:get-media-elements",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,zt().A)(n,d,!0).map(y)})),(0,it().t)("igt:structure:classify-stability",e)}}),bt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>x}),un(),zt(),kt(),Rn(),qt(),pt(),Wt();const s=jr()()("igt:table"),a=["th","caption",'[headers]:not([headers=""])','[scope]:not([scope=""])'].join(", ");function c(e){if(!Number.isInteger(e)||e<0)throw new RangeError(`columnIndexToLetter expects a non-negative integer, received ${e}`);let t="",n=e;for(;n>=0;)t=String.fromCharCode(65+n%26)+t,n=Math.floor(n/26)-1;return t}const l=e=>{const t=kt().Ay.idrefs(e,"aria-labelledby").filter(Boolean).map(e=>kt().Ay.name(e)).filter(Boolean).join(" ").trim(),n=(e.getAttribute("aria-label")??"").trim(),r=(kt().Ay.nativeTextAlternative(e)??"").trim();return t||n||r},u=e=>{const{vnodeId:t,properties:n,attributes:r,tagName:o,selector:i,element:s,source:a}=e;return{vnodeId:t,properties:n,attributes:r,tagName:o,selector:i,source:a,accName:l(s),role:kt().Ay.getRole(s)}},d=e=>o(o({},(0,qt().Ay)(e,{},"accName")),{},{source:kt().Ay.getSource(e.element),role:kt().Ay.getRole(e.element)}),f=(e,t)=>o(o({},(0,qt().Ay)(e,{},"accName")),t),h=(e,t)=>[...t.querySelectorAll(e)].filter(e=>kt().Ay.isSRVisible(e)),p=e=>"table"===e.tagName,m=e=>"th"===(null==e?void 0:e.tagName.toLowerCase()),g=e=>!["table"].includes(kt().Ay.getRole(e.element)),y=e=>p(e)&&!g(e),b=(e,t)=>{var n;if(!e||null==t||null===(n=t.selector)||void 0===n||!n.length)return;const r=e.querySelector(t.selector),o=r?e.get(r):void 0;return o&&void 0!==t.accName?l(o.element)===t.accName?o:void 0:o},v=e=>"rowgroup"===e||"colgroup"===e,w=e=>e.getAttribute("headers")?kt().Ay.idrefs(e,"headers").filter(m):[],S=e=>{const t=e.getAttribute("scope");return{isRowHeader:v(t)?"rowgroup"===t:kt().Ay.table.isRowHeader(e),isColumnHeader:v(t)?"colgroup"===t:kt().Ay.table.isColumnHeader(e)}},E=e=>{const{isRowHeader:t,isColumnHeader:n}=S(e);return n?"columnheader":t?"rowheader":null},O=(e,t,n,r)=>{const i=w(e);if(i.length)return i.flatMap(e=>{const t=r.get(e);return t?[d(t)]:[]});const s=new Map,a=(e,t)=>{const n=r.get(e);n&&s.set(e,o(o({},d(n)),t))},c=kt().Ay.table.getCellPosition(e,t),l=e.colSpan-1,u=e.rowSpan-1,f=c.y,h=c.y+u,p=c.x,g=c.x+l;for(let r=0;r<t.length;r++){const o=t[r];for(let t=0;t<o.length;t++){const i=o[t],c=t>=p&&t<=g,l=r>=f&&r<=h;if(!c&&!l||i===e||s.has(i)||!kt().Ay.isSRVisible(i))continue;if(!m(i)){n.find(e=>e.element===i)&&a(i,{mlOnly:!0});continue}const{isRowHeader:u,isColumnHeader:d}=S(i);(l&&u||c&&d)&&a(i)}}return Array.from(s.values())};function x(e,t){const n=async(n,r)=>(await t({scope:null==r?void 0:r.scope}),b(e(),n));Rn().yS.listen("igt:table:get-tables",()=>{kt().Ay.setupTrees();const t=e().values()||[];s("Getting tables from",{flatTree:t});const n=(0,zt().A)(t,y,!0).map(u);return kt().Ay.cleanupTrees(),s("Got tables",{tables:n}),n}),Rn().yS.listen("igt:table:map-user-selected",({message:t})=>{const{table:n}=t;s("Getting table",{table:n}),kt().Ay.setupTrees();const r=b(e(),n),o=r?u(r):null;return kt().Ay.cleanupTrees(),s("Got tables",{tableVNode:o}),o}),Rn().yS.listen("igt:table:analyze-table",async({message:e})=>{const t={};s("Getting table",{table:e.table}),kt().Ay.setupTrees();try{const l=await n(e.table,e.metadata);var r,i;if(!l)return s("Cannot analyze: the selector resolved to nothing",{selector:null===(r=e.table)||void 0===r?void 0:r.selector}),t;if(!p(l))return s("Cannot analyze a non-table element",{selector:null===(i=e.table)||void 0===i?void 0:i.selector,tagName:l.tagName}),o(o({},t),{},{type:"layout"});const u=l.element;t.hasHeaderMarkup=!!u.getAttribute("summary")||!!h(a,u).length;const d=kt().Ay.table.toGrid(u),f=d.length,y=d.reduce((e,t)=>Math.max(e,t.length),0),b=new Map,v=new Map;let w=!1,S=!1;const E=new Set;for(let e=0;e<f;e++){const t=d[e];for(let n=0;n<y;n++){const r=t[n];if(!r||!kt().Ay.isSRVisible(r))continue;E.add(r),r.getAttribute("headers")&&(S=!0);const o=kt().Ay.table.isColumnHeader(r),i=kt().Ay.table.isRowHeader(r);var c;if(m(r))r!==t[n+1]&&r!==(null===(c=d[e+1])||void 0===c?void 0:c[n])||(w=!0),o?v.set(e,(v.get(e)||0)+1):i&&b.set(n,(b.get(n)||0)+1)}}if(t.cellCount=E.size,g(l))return o(o({},t),{},{type:"layout"});w||S||(1===b.size&&1===v.size&&[f,f-1].includes(b.values().next().value)&&[y,y-1].includes(v.values().next().value)?t.type="one-header-row-and-column":1===b.size&&0===v.size&&b.values().next().value===f?t.type="one-header-column":0===b.size&&1===v.size&&v.values().next().value===y&&(t.type="one-header-row"))}finally{kt().Ay.cleanupTrees()}return s("Got table metadata",{metadata:t}),t}),Rn().yS.listen("igt:table:get-data-cells",async({message:t})=>{const r=new Map;s("Getting table",{table:t.table}),kt().Ay.setupTrees();try{const a=await n(t.table,t.metadata);var i;if(!a||!p(a))return s("Cannot get data cells for a non-table element",{selector:null===(i=t.table)||void 0===i?void 0:i.selector,tagName:null==a?void 0:a.tagName}),[];const c=e(),l=[...c.values()||[]].reduce((e,t)=>(e.set(t.element,t),e),new Map),u=a.element,d=t.features.flatMap(({role:e,vnodeId:t})=>{if(!t||!["columnheader","rowheader"].includes(e))return[];return c.getById(t)||[]}),h=kt().Ay.table.toGrid(u);for(let e=0;e<h.length;e++){const t=h[e];for(let n=0;n<t.length;n++){const i=t[n],s=l.get(i);if(!s)continue;const a=r.get(s.vnodeId);a?r.set(s.vnodeId,o(o({},a),{},{rowNumbers:[...new Set([...a.rowNumbers,e])],columnNumbers:[...new Set([...a.columnNumbers,n])]})):kt().Ay.isSRVisible(i)&&!m(i)&&r.set(s.vnodeId,o(o({},f(s,{headerCells:O(i,h,d,l),rowNumbers:[e],columnNumbers:[n]})),{},{usesHeadersAttribute:w(i).length>0,mlIdentifiedAsHeader:d.some(e=>e.vnodeId===s.vnodeId)}))}}return s("Got data cells",{dataCells:r}),[...r.values()]}finally{kt().Ay.cleanupTrees()}}),Rn().yS.listen("igt:table:get-header-cells",async({message:t})=>{s("Getting header cells",{table:t.table}),kt().Ay.setupTrees();try{const i=await n(t.table,t.metadata);var r;if(!i||!p(i))return s("Cannot get header cells for a non-table element",{selector:null===(r=t.table)||void 0===r?void 0:r.selector,tagName:null==i?void 0:i.tagName}),[];const a=e(),c=[...a.values()||[]].reduce((e,t)=>(e.set(t.element,t),e),new Map),l=i.element,u=kt().Ay.table.toGrid(l),f=new Map;for(let e=0;e<u.length;e++){const t=u[e];for(let e=0;e<t.length;e++){const n=t[e],r=c.get(n);r&&!f.has(r.vnodeId)&&kt().Ay.isSRVisible(n)&&m(n)&&f.set(r.vnodeId,o(o({},d(r)),{},{direction:E(n)}))}}return s("Got header cells",{headerCells:f}),[...f.values()]}finally{kt().Ay.cleanupTrees()}}),Rn().yS.listen("igt:table:get-all-possible-headers",({message:t})=>{const{table:n}=t;s("Getting table",{table:n}),kt().Ay.setupTrees();try{const t=e(),r=t.values()||[],o=b(t,n);if(!o)return s("Cannot get possible headers: the selector resolved to nothing",{selector:null==n?void 0:n.selector}),[];const i=o.element,a=(0,zt().A)(r,e=>i.contains(e.element),!0).map(pt().V);return s("Got all possible header nodes",{allPossibleHeaders:a}),a}finally{kt().Ay.cleanupTrees()}}),Rn().yS.listen("igt:table:map-user-selected-header-cells-for-data-cells",({message:t})=>{const{dataCells:n}=t;s("Mapping data cells",{dataCells:n}),kt().Ay.setupTrees();const r=e(),i=n.map(e=>o(o({},e),{},{headerCells:e.headerCells.map(e=>e.userSelected?o(o({},e),d(r.getById(e.vnodeId))):e)}));return kt().Ay.cleanupTrees(),s("Mapped data cells",{mappedDataCells:i}),i}),Rn().yS.listen("igt:table:get-table-box",({message:t})=>{const{table:n}=t;s("Getting table",{table:n}),kt().Ay.setupTrees();const r=b(e(),n);r||s("Cannot get the table box: the selector resolved to nothing",{selector:null==n?void 0:n.selector});const o=r?(0,pt().V)(r,...r.children||[]).box:void 0;return kt().Ay.cleanupTrees(),o||{x:0,y:0,width:0,height:0}}),Rn().yS.listen("igt:table:extract-cells",async({message:t})=>{kt().Ay.setupTrees();try{const i=await n(t.table,t.metadata);var r,o;if(!i)return s("Cannot extract cells: the selector resolved to nothing",{selector:null===(r=t.table)||void 0===r?void 0:r.selector}),{cells:[],rejection:"element-not-found"};if(!p(i))return s("Cannot extract cells for a non-table element",{selector:null===(o=t.table)||void 0===o?void 0:o.selector,tagName:i.tagName}),{cells:[],rejection:"element-not-a-table",resolvedTagName:i.tagName};const a=e().values()||[],l=new Map;for(const e of a)l.set(e.element,e);const u=i.element,d=kt().Ay.table.toGrid(u),f=new Set,h=[];for(let e=0;e<d.length;e++){const t=d[e];for(let n=0;n<t.length;n++){const r=t[n];if(!r)continue;const o=l.get(r);if(!o||f.has(o.vnodeId))continue;if(f.add(o.vnodeId),!kt().Ay.isVisible(r))continue;const i=`${c(n)}${e+1}`,s=(0,Wt().Ay)(o),a={id:i,vnodeId:o.vnodeId.toString(),tagName:o.tagName,role:kt().Ay.getRole(r),accName:(0,qt().Ay)(o,{},"accName").accName,box:s};h.push(a)}}return s("Extracted cells",{cells:h}),h.length?{cells:h}:{cells:h,rejection:"empty-grid"}}finally{kt().Ay.cleanupTrees()}})}}),vt=n.cw(function(e,t){jn(),Rn(),Qt(),Dt();const r={listen:(e,t)=>Rn().yS.listen(e,t),unlisten:(e,t)=>Rn().yS.unlisten(e,t),send:(e,t,n)=>(0,Qt().A)(e,t,n),sendAll:(e,t)=>Rn().yS.send(Rn()._O.content,e,t,{allFrames:!0}),sendReply:(e,t)=>Rn().yS.send(Rn()._O.content,e,t)},o=()=>{let e;const t=new(jn().Gq)({frameMessenger:r});return(0,Pt().$j)()&&(e=new(Dt().A)({treeBuilder:t})),e};n.d(t,["default",0,o])}),wt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,["t",0,e=>o(o({},e),{},{textContent:e.element.textContent})])}),St=n.cw(function(e,t){n.d(t,["r",0,e=>(e=>{const t=null==e?void 0:e.trim();return t?t.length>300?t.slice(0,300):t:null})(e.element.textContent)])}),Et=n.cw(function(e,t){Rn();n.d(t,["C",0,e=>e.flat().join("|")])}),Ot=n.cw(function(e,t){hn()}),xt=n.cw(function(e,t){n.d(t,["e",0,{4.11:"4.11.4",4.12:"4.12.1","4.12.0":"4.12.0","4.12.1":"4.12.1","4.11.4":"4.11.4","4.9.0":"4.9.0",4.9:"4.9.1","4.9.1":"4.9.1","4.10.0":"4.10.0","4.10":"4.10.3","4.10.1":"4.10.1","4.10.2":"4.10.2","4.10.3":"4.10.3",4.13:"4.13.0","4.13.0":"4.13.0"}])}),At=n.cw(function(e,t){n.d(t,{sp:()=>i});const r="data-axe-inspect-target",o=1e3;function i(e,t,n){for(const t of e.querySelectorAll(`[${r}]`))t.removeAttribute(r);t.setAttribute(r,n),setTimeout(()=>{t.getAttribute(r)===n&&t.removeAttribute(r)},o)}}),Tt=n.cw(function(e,t){n.d(t,["AI",0,(e,t)=>e.left>=t.left&&e.top>=t.top&&e.right<=t.right&&e.bottom<=t.bottom])}),Ct=n.cw(function(e,t){function r(e){return e.replace(/\s+/g," ")}n.d(t,{D:()=>r})}),It=n.cw(function(e,t){function r(e){e&&"function"==typeof e.focus&&e.focus()}n.d(t,{A:()=>r})}),Pt=n.cw(function(e,t){n.d(t,["$j",0,(e=window)=>window.top===e,"CR",0,(e=[])=>{let t=0,n=0,r=0;for(const i of e){var o;const e=null!=i&&i.isFrame?i.element:null;if(!e)continue;const s=e.getBoundingClientRect(),a=((null===(o=e.ownerDocument)||void 0===o?void 0:o.defaultView)??window).getComputedStyle(e);t+=s.left+Math.max(parseFloat(a.borderLeftWidth)||0,0)+Math.max(parseFloat(a.paddingLeft)||0,0),n+=s.top+Math.max(parseFloat(a.borderTopWidth)||0,0)+Math.max(parseFloat(a.paddingTop)||0,0),r+=1}return{left:t,top:n,frameCount:r}},"J6",0,e=>e.origin===window.location.origin])}),Nt=n.cw(function(e,t){n.d(t,{s:()=>o}),Nr();const r=Nr().El.lU.match(/(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)/).groups;function o(e){return!e||"latest"===e||e===`${r.major}.${r.minor}`||e===`${r.major}.${r.minor}.${r.patch}`}}),jt=n.cw(function(e,t){n.d(t,["y",0,e=>new Promise(t=>setTimeout(t,e))])}),Rt=n.cw(function(e,t){function r(e){if(!e||"latest"===e)return"latest";if(Object.keys(xt().e).find(t=>t===e))return e;const t=Object.values(xt().e),n=Dr()()(t,`>=${e}`);if(!n)return"latest";const r=Object.entries(xt().e);for(const[e,t]of r)if(t===n)return e}function o(e){return Object.keys(xt().e).includes(null==e?void 0:e.toString())}n.d(t,{Ay:()=>o,_o:()=>r}),mn(),Sn(),Nr()}),kt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{gi:()=>l,pK:()=>u,rJ:()=>Mt().rJ}),Mt();const s=o({sanitize:e=>(0,Mt().rJ)().commons.text.sanitize(e),sanitizeContext:c,isValidLang(e){const t=(0,Mt().rJ)();return!!e&&t.utils.isValidLang(e)},hasContent(e){const t=(0,Mt().rJ)(e),n=p(t,e);return!!n&&t.commons.dom.hasContentVirtual(n)},getRequiredContext(e){const t=(0,Mt().rJ)();return e?t.commons.aria.requiredContext(e):[]},isOffscreen:(...e)=>(0,Mt().sb)(e.map(d)),isVisible:(e,t=!1)=>!!e.ownerDocument.defaultView&&(0,Mt().sb)(function(e,t){const n=(0,Mt().rJ)(e,t);t&&(n.teardown(),n.setup());return n.commons.dom.isVisible(e,!1,!0)}(e,t)),isSRVisible:(...e)=>(0,Mt().sb)(e.map(f)),isOpaque:(...e)=>(0,Mt().sb)(e.map(m)),getRoleType:(...e)=>(0,Mt().sb)(e.map(h)),runContrastAnalysis:e=>async function(e){const t=(0,Mt().rJ)();y();try{var n,r;const i=await t.run(Array.isArray(e)?e.map(c):c(e),{runOnly:{type:"rule",values:["color-contrast"]},restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations"]}),s=null==i||null===(n=i.violations)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.nodes;return(null==s||null===(r=s.map)||void 0===r?void 0:r.call(s,e=>{const t=e.any[0],n=["fgColor","bgColor","contrastRatio","expectedContrastRatio"],r=parseInt(t.data.fontSize.split(" ")[0]),i="bold"===t.data.fontWeight;return{data:o(o({},Object.fromEntries(Object.entries(t.data).filter(([e])=>n.includes(e)))),{},{fontSize:r,isBold:i}),selector:e.target}}))||[]}catch(e){console.error(e)}finally{a(document.body)}return[]}(e),isWidgetRole:e=>(0,Mt().rJ)().commons.aria.lookupTable.rolesOfType.widget.includes(e),isLandmarkRole:e=>"landmark"===(0,Mt().rJ)().commons.aria.getRoleType(e),isFocusable:(...e)=>(0,Mt().sb)(e.map(g)),getTabbableElements:e=>function(e){const t=(0,Mt().rJ)(e,!0),n=p(t,e);return t.commons.dom.getTabbableElements(n).map(({actualNode:e})=>e)}(e),getFlattenedTree:a,getSource(e){if(e.nodeType!==Node.ELEMENT_NODE)return null;return new((0,Mt().rJ)().utils.DqElement)(e).source},getSelector(e){const t=(0,Mt().rJ)();return t._selectorData||(t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree())),t.utils.getSelector(e)},getElementStack(e,t=!0){const n=(0,Mt().rJ)();return t&&(n.teardown(),n.setup()),n.commons.dom.getElementStack(e)},idrefs:(e,t)=>(0,Mt().rJ)(e).commons.dom.idrefs(e,t),nativeTextAlternative(e){const t=(0,Mt().rJ)(e),n=p(t,e);return n?t.commons.text.nativeTextAlternative(n):""},table:{isRowHeader:e=>(0,Mt().rJ)(e).commons.table.isRowHeader(e),isColumnHeader:e=>(0,Mt().rJ)(e).commons.table.isColumnHeader(e),toGrid(e){const t=(0,Mt().rJ)(e);return t.teardown(),t.setup(),t.commons.table.toGrid(e)},getCellPosition:(e,t)=>(0,Mt().rJ)(e).commons.table.getCellPosition(e,t),traverse(e,t,n,r){var o;if(null===(o=n[0])||void 0===o||!o[0])return;return(0,Mt().rJ)(n[0][0]).commons.table.traverse(e,t,n,r)}},setupTrees:function(){y(),Mt().OD.clear()},cleanupTrees:y,isAxeSetUp:e=>!!(0,Mt().rJ)(e)._tree},Mt().Ay);function a(e){const t=(0,Mt().rJ)(),n=t.utils.getFlattenedTree(e.ownerDocument);return Mt().OD.set(t,n),n}function c(e){if(!e.ownerDocument||e.ownerDocument===document)return e;const t=(0,Mt().rJ)();t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree());const n=[t.utils.getSelector(e)];let r=e.ownerDocument.defaultView.frameElement;for(;r;)n.unshift(t.utils.getSelector(r)),r=r.contentWindow.parent.frameElement;return n.flat()}function l(e){return!!(0,Mt().rJ)(e).utils.getNodeFromTree(e)}function u(e=document.documentElement){try{return!!(0,Mt().rJ)(e,!1)}catch{return!1}}function d(e){return(0,Mt().rJ)(e).commons.dom.isOffscreen(e)}function f(e){return(0,Mt().rJ)(e).commons.dom.isVisible(e,!0,!1)}function h(e){const t=(0,Mt().rJ)(e),n=function(e){return(0,Mt().rJ)(e).commons.aria.implicitRole(e)}(e),r=t.commons.aria.lookupTable.role[n];return r&&r.type}function p(e,t){let n=Mt().OD.get(e);return n||(n=e.utils.getFlattenedTree(t.ownerDocument),Mt().OD.set(e,n)),e.utils.getNodeFromTree(n[0],t)}function m(e){return(0,Mt().rJ)(e).commons.dom.isOpaque(e)}function g(e){const t=(0,Mt().rJ)(e);return l(e)?t.commons.dom.isFocusable(e):void 0}function y(){Mt().OD.forEach((e,t)=>{t.teardown(),Mt().OD.delete(t)})}n.d(t,["Ay",0,s])}),Mt=n.cw(function(e,t){n.d(t,{rJ:()=>s});const r=new Map,o=e=>1===e.length?e[0]:e,i={isHidden:(...e)=>o(e.map(c)),name:(...e)=>o(e.map(a)),getRole:(...e)=>o(e.map(l)),getContrast:(...e)=>o(e.map(u))};function s(e=document.documentElement,t=!1){var n;const o=e.ownerDocument,i=o.defaultView;if(!i)throw new ReferenceError("no context was found for this node");const s=i.axe;if(!s)throw new ReferenceError("axe was not found in this context");const a=null===(n=r.get(s))||void 0===n?void 0:n[0];return(t||!r.has(s)||a&&!s.utils.getNodeFromTree(a,e))&&r.set(s,s.utils.getFlattenedTree(o)),s}function a(e){const t=s(e),n=function(e,t){let n=r.get(e);n||(n=e.utils.getFlattenedTree(t.ownerDocument),r.set(e,n));return e.utils.getNodeFromTree(n[0],t)}(t,e);return n?t.commons.text.accessibleTextVirtual(n):""}function c(e){return s(e).commons.utils.isHidden(e)}function l(e){const t=s(e);return function(e){return!!s(e).utils.getNodeFromTree(e)}(e)?t.commons.aria.getRole(e):null}function u(e){const t=s(e);let n;try{const r=t.commons.color.getForegroundColor(e),o=t.commons.color.getBackgroundColor(e);n=t.commons.color.getContrast(o,r)}catch(e){console.error(e)}return n}n.d(t,["Ay",0,i,"OD",0,r,"sb",0,o])}),_t=n.cw(function(e,t){function r(e){return e.map(e=>Array.isArray(e)?e.filter(e=>"shadow-root"!==e):"shadow-root"===e?"":e).flat().reduce((e,t)=>{const n=(null==e?void 0:e.contentDocument)||(null==e?void 0:e.shadowRoot)||e;return null==n?void 0:n.querySelector(t)},document)}n.d(t,{A:()=>r})}),Dt=n.cw(function(e,t){n.d(t,{A:()=>c}),un(),jn(),dn(),Pn(),_n(),Vt(),Jt(),Bt(),Yt(),Rn(),dt(),Et(),rt();const r=["scope"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=jr()()("walnut-chrome:content:events");class c{constructor({treeBuilder:e}={}){this.treeBuilder=e,this.runtimeListener(),this.pageUnLoadListener(),this.cache={},this.autoSetup=!1,this.selected=[],this.axeResult=null,_n().listeners.initContentBridgeListeners(Rn().yS),this.isSameElement=(e,t)=>{if(!e||!t)return!1;if(!this.cache.tree)return null;const n=this.cache.tree.querySelector(e.selector),r=this.cache.tree.querySelector(t.selector);return!(!n||!r)&&n===r},this.findNode=e=>{if(!this.cache.tree)return null;const t=this.cache.tree.querySelector(e.selector);return t&&this.cache.tree.get(t)?JSON.parse(this.cache.tree.safe(this.cache.tree.get(t))):null},Rn().yS.listen("request-axe-results",({message:e})=>this.sendAxeResults(e)),Rn().yS.listen("scope:reset",()=>{this.mouseSelection&&this.mouseSelection.removeAllSelections()}),Rn().yS.listen("guide:check-vitals",async({message:e})=>{await this.buildTree({value:{manifest:{metadata:{tree:e.vitals}}},vitals:e.vitals}),Rn().yS.send(Rn()._O.devtools,"guide:check-vitals:complete")}),Rn().yS.listen("hide-scrollbars",()=>this.hideScrollbars()),Rn().yS.listen("show-scrollbars",()=>this.showScrollbars()),Rn().yS.listen("dom-walker-jump",({message:e})=>{Rn().yS.send(Rn()._O.devtools,"dom-walker-jump",e)}),Rn().yS.listen("build-virtual-tree",async({message:e})=>await this.buildTree(e,!0)),Rn().yS.listen("groot:find-vnode-by-selector",({message:e})=>{const t=e.key;if(this.cache.tree)try{return this.cache.tree.selectOne(t)}catch{return}}),Rn().yS.listen("selector-search",({message:e})=>{const t=e.key;if(!this.cache.tree)return[];try{const e=this.cache.tree.selectAll([t],{isRelativeSelector:!0}).map(e=>e.vnodeId);return e.length&&Rn().yS.send(Rn()._O.devtools,"dom-walker-jump",{value:{vnodeId:e[0]}}),e}catch{return[]}}),Rn().yS.listen("groot:find-vnode",({message:e})=>this.findNode(e)),Rn().yS.listen("groot:get-ids-by-selectors",({message:e=[]})=>{const t=this.cache.flat.reduce((e,t)=>(e[(0,Et().C)(t.selector)]=t.vnodeId,e),{});return e.map(e=>t[e])}),Rn().yS.listen("groot:is-same-element",({message:{vnode:e,compareVnode:t}})=>this.isSameElement(e,t)),Rn().yS.listen("groot:find-same-elements",({message:e})=>{const{vnodes:t=[],compareVNodes:n=[]}=e,r={sameInVNodes:[],sameInCompareVNodes:[],uniqueInVNodes:[]};if(!Array.isArray(t)||!Array.isArray(n))return a("groot:find-same-elements:invalid-message",{vnodes:t,compareVNodes:n}),r;const o=t.reduce((e,t)=>{const n=this.findNode(t);return n&&e.push(i(i({},t),n)),e},[]),s=n.reduce((e,t)=>{const n=this.findNode(t);return n&&e.push(i(i({},t),n)),e},[]);for(const e of o){const t=s.findIndex(t=>this.isSameElement(e,t));-1!==t?(r.sameInVNodes.push(e),r.sameInCompareVNodes.push(s[t]),s[t]=null):r.uniqueInVNodes.push(e)}return r.uniqueInCompareVNodes=s.filter(Boolean),r}),(0,Bt().nC)(()=>this.cache.tree),(0,dt().A)({getTree:()=>this.cache.tree,getFlatTree:()=>this.cache.flat,buildTree:this.buildTree.bind(this)}),this.attachIGTHighlightListeners()}attachIGTHighlightListeners(){Rn().yS.listen("igt:highlight",async({message:e})=>{const{vnodes:t,options:n,vnodeIds:r,scrollIntoView:o=!1}=e;let i=t;!t&&r&&(i=r.map(e=>this.cache.tree.getById(e))),await this.highlightNodes(i,n,o)}),Rn().yS.listen("igt:scroll-into-view",async({message:e})=>{const{vnodeId:t}=e,[n]=await this.getHighlightNodes([t]);null==n||n.scrollIntoView(Fn().mq)}),Rn().yS.listen("igt:vnodes:exist",async({message:e})=>{const{vnodeIds:t=[]}=e;return this.cache.tree?await(0,rt().c)(this.cache.tree,t):{exists:!1}}),Rn().yS.listen("igt:inspect:tag-vnode",async({message:e})=>{const{vnodeId:t,token:n}=e;if(!this.cache.tree)return{tagged:!1,frameURL:null};const{tagged:r,frameURL:o}=await(0,rt().i)(this.cache.tree,document,t,n);return{tagged:r,frameURL:o}}),Rn().yS.listen("igt:highlight:remove",async({message:e})=>{const t=await this.getHighlightNodes(e.vnodeIds||[]);for(const e of t)(0,Vn().Ay)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}),Rn().yS.listen("igt:selection:add",({message:e})=>{this.handleHighlight("addSelection",{theme:"selected",vnodeId:e.vnodeId},{showTooltip:!1},!0)}),Rn().yS.listen("igt:selection:remove",({message:e})=>{this.handleHighlight("removeSelection",{theme:"selected",vnodeId:e.vnodeId})}),Rn().yS.listen("igt:selection:remove-all",async()=>{await this.mouseSelection.removeAllSelections()}),Rn().yS.listen("igt:selections:set",async({message:e})=>{if(e.cleanup){const t=await this.getHighlightNodes(e.vnodeIds||[]);this.selections=t,await this.handleHighlight("setSelections",{vnodeId:[]})}await this.handleHighlight("setSelections",{theme:"selected",vnodeId:e.vnodeIds},e.highlighterOptions||{},e.scrollFirstIntoView??!0)})}pageUnLoadListener(){window.addEventListener("beforeunload",()=>{this.autoSetup&&(0,Bt().jj)()})}runtimeListener(){Rn().yS.listen(async({topic:e="",message:t})=>{const[n,r]=e.split(":");"guide"===n&&await this.handleTestMessage(i({type:r},t))})}async sendAxeResults(e){let{scope:t}=e;const n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,r)||this.axeResult;if(!n)return;const o={};try{o.results=n,o.pageTitle=document.title,o.metadata=(0,Jt().A)(),o.metadata.scope=t}catch(e){return{error:{stack:e.stack,message:e.message}}}return o}getScopeVNode(){const e=this.mouseSelection&&this.mouseSelection.selections,t=e&&[...e][0];return t&&this.cache.tree.getById(t)}getScope(){const e=this.getScopeVNode();return e&&e.element||document}customHandler(e){if(this.keyboardTool&&"get-tab-data"===e)return this.keyboardTool.tabData}async handleTestMessage(e){a("message received:",e);const{type:t,value:n,args:r=[],vitals:o=[]}=e;switch(t){case"clearHighlight":case"setHighlight":case"highlight":case"removeHighlight":case"addSelection":case"removeSelection":case"setSelections":this.handleHighlight(t,n);break;case"refresh-tools":case"build-tree":await this.buildTree({value:n,context:document.body,scope:e.ignoreScope?null:e.scope,vitals:o,includeCrossOrigin:e.includeCrossOrigin});break;case"dom-walker-change":this.handleDomWalkerChange(n);break;case"mouse-selection":(!this.cache.tree||e.rebuildTree&&"disable"!==n)&&await this.buildTree({value:{},includeCrossOrigin:e.includeCrossOrigin}),await this.mouseSelection[n].apply(this.mouseSelection,r.concat([e.manifest])),"disable"===n&&this.mouseSelection.cleanUp();break;case"fire-resize":{const e=new Event("resize");window.dispatchEvent(e);break}case"get-auto-setup":(0,Yt().J8)(this.autoSetup?"start":"stop");break;case"request-axe-results":this.sendAxeResults();break;case"axe-result":this.axeResult=n}}async buildTreeForAnalytics(){await(0,Pn().A)();const e={rejectTags:["script","style",Fn().wZ]};return this.treeBuilder.buildTree(e)}async buildTree({value:e,context:t=document.body,scope:n,vitals:r,includeCrossOrigin:o=!1}={},i){const s=e&&"object"==typeof e?e.manifest:e,c=Yr()()(s,"metadata.tree",[]),l=[];let u=!0;await(0,Pn().A)(),await Rn().yS.send(Rn()._O.devtools,"guided:inject-axe");const d={allowAttrs:["data-.*","aria-.*","method","action","class","id","xlink:href","role","name","src","type","for","title","lang","headers","scope","list"],listeners:{create:o?[]:[Yt().wj],update:o?[]:[Yt().wj],discard:e=>l.push(e)},rejectTags:["script","style",Fn().wZ],acceptNode:e=>{if(!e.contentWindow)return!0;try{return!!e.contentWindow.axe}catch{return o}}};let f,h;if(o&&this.treeBuilder)f=h=await this.treeBuilder.buildTree(d);else{if(f=new(jn().Ay)(d),n){const e=[];e.push(()=>f.querySelector(n.selector)),n.fallbackSelector&&e.push(()=>f.querySelector(n.fallbackSelector)),e.push(()=>f.findOne(n,{findOneTimeLimit:2e3}));for(const t of e){const e=t();if(e){n.element=e;break}}n.element?t=n.element:u=!1}a("Building virtual tree from ",{manifestTree:c}),h=await f.from(c,document.body),null!=n&&n.element&&(h.forEach(e=>{e.element===n.element||e.ancestors.find(e=>e.element===n.element)||h.delete(e.element)}),h.setSeed(n.vnodeId)),l.length&&(0,Yt().S9)({discarded:l,scope:n,groot:f,tree:h,vitals:r})}return this.cache.tree=globalThis.tree=h,this.cache.flat=Array.from(h.values()).map(Ke().A),this.mouseSelection?await this.mouseSelection.update(h,o):this.mouseSelection=new(Vt().A)(h,s,o),await this.mouseSelection.initHighlighter(),a("Built virtual tree",this.cache.flat),Rn().yS.send(Rn()._O.devtools,"guide:return-tree",{tree:h,scopePresent:u,discarded:l}),i?n&&u?this.cache.tree.safe(this.cache.tree.get(n.element)):null:t}async handleHighlight(e,t,n,r=!1){a("handleHighlight",{type:e,value:t});let o=["highlight","select"].includes(e)||r;if(!t){if("clear"===("clearHighlight"===e?"clear":"refresh")&&(this.selected=[]),(0,Vn().OA)()){const{clearHighlights:e}=await(0,Vn().Ay)();e()}return}const{vnodeId:s,theme:c}=t;if(!this.cache.tree||void 0===s)return;const l=[].concat(s),u=await this.getHighlightNodes(l),{createHighlighter:d}=await(0,Vn().Ay)();if("removeHighlight"===e){if(1===u.length&&this.selected.includes(u[0]))return void(0,Vn().Ay)().then(({highlighters:e})=>{const[t]=u,n=e.get(t);n.setOptions({showTooltip:!1,showMetadata:!1}),n.updatePosition()});for(const e of u)(0,Vn().Ay)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}if("removeSelection"===e){this.selected=this.selected.filter(e=>!u.includes(e));for(const e of u)(0,Vn().Ay)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}"setSelections"===e&&(o=o||1===u.length,await Promise.all(this.selected.map(async e=>{var t;const{highlighters:n}=await(0,Vn().Ay)();null===(t=n.get(e))||void 0===t||t.destroy()})),this.selected=u),"addSelection"===e&&this.selected.push(...u);let f=!1;for(const e of u){const t=this.cache.tree.get(e),r=d(e,(null==t?void 0:t.selector)||e.selector);r.highlight(i({theme:c||"selected",showMetadata:!1,showTooltip:!1},n)),o&&!f&&(r.scrollIntoView(),f=!0)}}async highlightNodes(e,t,n){const{createHighlighter:r}=await(0,Vn().Ay)(),o=(e||[]).filter(e=>null!=e),s=await this.getHighlightNodes(o.map(({vnodeId:e})=>e)),a=e=>{if(e.mlOnly)return"ml"};s.forEach((e,s)=>{const c=this.cache.tree.get(e),l=r(e,(null==c?void 0:c.selector)||e.selector);l.highlight(i(i({theme:a(o[s])||"selected",showMetadata:!1,showTooltip:!1},t),o[s].highlightOptions)),n&&0===s&&l.scrollIntoView()})}async getHighlightNodes(e){const t=[];for(const n of e){const e=this.cache.tree.getById(n);if(e){const n=await(0,ze().A)(e);n&&t.push(n)}}return Promise.all(t)}handleDomWalkerChange(e){var t;const n=this.cache.tree.getById(e.vnodeId);n&&(!0!==e.skipHover&&this.mouseSelection.hover(n),null===(t=(0,Vn().yW)())||void 0===t||null===(t=t.highlighters.get(n.element))||void 0===t||t.scrollIntoView())}hideScrollbars(){this.scrollbarStyle=document.createElement("style"),this.scrollbarStyle.innerHTML="*::-webkit-scrollbar { display: none !important }",document.head.appendChild(this.scrollbarStyle)}showScrollbars(){this.scrollbarStyle&&(document.head.removeChild(this.scrollbarStyle),this.scrollbarStyle=null)}}}),Lt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>l}),dn(),Ft(),Rn(),kt(),Ze(),et();const s={textarea:3,"datetime-local":10},a=()=>Rn().yS.send(Rn()._O.background,"tab-record:fire-tab"),c=Object.freeze({recordingKeyboardTrapEscape:!1,finalizingKeyboardTrapEscape:!1,returnedToStartWhileEscapingKeyboardTrap:!1,addedNewTabstopDuringEscapeAttempt:!1,listenersAttached:!1,isAutoEscape:!1,isLastAttempt:!1});class l{handleFinalizingTrap(e=!1,t=!1,n="escape-finalize-hit-visited-tab-stop"){const r=(0,Ft().CL)({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});clearTimeout(this.focusTimeout);const i=this.trapEscapeState.isAutoEscape?!e&&this.trapEscapeState.isLastAttempt&&t:t;i&&(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),e&&!i||this.detachListeners();const s=this.trapEscapeState.isAutoEscape?Rn()._O.background:Rn()._O.devtools;return this.trapEscapeState=o({},c),this.retryTabKeyPressCount=0,Rn().yS.send(s,"tab-record:trap-escape-done",o(o(o({},r),i?{tabbingStoppedReason:n}:{}),{},{escapedToNewVnode:e,tabbingComplete:i}))}onFocus(e){const[t]=this.overrideFocusVnode&&[...this.tabStops.entries()].find(([,e])=>e.vnodeId===this.overrideFocusVnode.vnodeId)||[];if(t&&document.activeElement!==t&&e.relatedTarget!==t)return this.overrideFocusVnode=null,void t.focus();this.overrideFocusVnode=null;const n=e.composedPath();this.focusHandler(n[0]||e.target)}async focusHandler(e){var t;const n=this.runEpoch,r=()=>this.runEpoch!==n;if(this.ignoreNextFocusOn){const t=e===this.ignoreNextFocusOn;if(this.ignoreNextFocusOn=null,t)return clearTimeout(this.focusTimeout),void this.setFocusTimeout()}const o=e&&e.matches&&e.matches(Ft().Gv),i=this.tabStops.has(e);i||(this.retryTabKeyPressCount=0);const s=!this.firstTabStop&&!i;s&&(this.firstTabStop=e);const c=()=>{s&&this.firstTabStop===e&&(this.firstTabStop=null)};if(!this.unscopedCache.tree.get(e)){const{cache:e,unscopedCache:t}=await this.buildTreeCache();this.cache=e,this.unscopedCache=t}const l=this.keyboardScope&&!this.cache.tree.get(e),u=!!this.tabStops.size,d=this.visitedElements.has(e);this.visitedElements.add(e);const f=i||l&&(u||d);this.cleanupKeyupTarget(),clearTimeout(this.focusTimeout);const h=e===this.firstTabStop||this.tabStops.keys().next().value===e;if(this.trapEscapeState.finalizingKeyboardTrapEscape&&i)return this.handleFinalizingTrap(h||this.trapEscapeState.addedNewTabstopDuringEscapeAttempt||this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap,i);if(this.trapEscapeState.recordingKeyboardTrapEscape&&f)return i&&h&&(this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap=!0),void c();if("closed"===await Rn().yS.send(Rn()._O.background,"dom:get-active-element-shadow-root-type"))return this.trapEscapeState.recordingKeyboardTrapEscape||(this.setFocusTimeout(500),a()),void c();if(this.trapEscapeState.recordingKeyboardTrapEscape||this.setFocusTimeout(),f){if(this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!0,!0,"escape-finalize-focus-left-scope");c();const t=e===this.firstTabStop||this.tabStops.keys().next().value===e,n=this.keyboardTrapsEnabled&&i&&!t&&0===this.retryTabKeyPressCount;return this.onTabbingComplete(n?{trappedVnode:this.tabStops.get(e)}:{reason:i?t?"focus-looped-to-first-tab-stop":"focus-returned-to-visited-tab-stop":"focus-left-scope"})}if(!this.trapEscapeState.recordingKeyboardTrapEscape&&(l&&!u||!this.cache.tree.get(e)))return a(),void c();if(await(0,Qe().M)(e,1e3),await(0,et().a)(e),r())return;const p=(0,Mt().rJ)(e);p.teardown(),p.setup();const m=(0,Ft().BY)(e,this.cache.tree,!1),g=await Rn().yS.send(Rn()._O.devtools,"tab-record:screenshot",{vnode:m});m.focusedCaptureStale=(0,Ge().M)(g,e,null===(t=this.cache.tree.get(e))||void 0===t?void 0:t.ancestors),m.focusedCapture=g??void 0,m.source=kt().Ay.getSource(e);const y=(await kt().Ay.runContrastAnalysis(e))[0];m.focusedContrastResult=null==y?void 0:y.data;const b=e=>{var t;return!(null!==(t=e.getRootNode().host)&&void 0!==t&&t.matches(Fn().wZ))};try{const[t]=kt().Ay.getElementStack(e,!1).filter(b);m.elementObscured=!!t&&t!==e}catch{m.elementObscured=!1}if(!r()){if(this.tabStops.set(e,m),this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!0);o&&this.handleMultiTabstopElement(e),this.trapEscapeState.recordingKeyboardTrapEscape?this.trapEscapeState.addedNewTabstopDuringEscapeAttempt=!0:(Rn().yS.send(Rn()._O.devtools,"tab-record:count",this.tabStops.size),Rn().yS.send(Rn()._O.background,"tab-record:fire-tab"))}}attachListeners(){this.trapEscapeState.listenersAttached||(this.focusListenerTargets=new Set([document,...(0,Ft().$t)(this.unscopedCache),...(0,Ft().CG)(this.unscopedCache)]),this.focusListenerTargets.forEach(e=>{e.addEventListener("focus",this.onFocus,!0)}),this.submitListenerTargets=new Set((0,Ft().Uq)(this.cache)),this.submitListenerTargets.forEach(e=>{e.addEventListener("submit",this.onSubmit,!0);try{const t=e.submit;e.submit=()=>{this.submittedForms.add(e),t.call(e)},this.submitRestoreHandlers.add(()=>{e.submit=t})}catch{}}),this.replayer.attach(),Rn().yS.listen("tab-record:new-window:launched",this.onNewWindowLaunched),this.trapEscapeState.listenersAttached=!0)}setKeyboardTrapEscapeState(e=!1,t=null,n=!1,r=!1){if(this.trapEscapeState.recordingKeyboardTrapEscape=e,this.trapEscapeState.isAutoEscape=n,this.trapEscapeState.finalizingKeyboardTrapEscape=!1,this.trapEscapeState.isLastAttempt=r,e)if(n){var o;const e=this.cache.tree.getById(t.vnodeId);null==e||null===(o=e.element)||void 0===o||o.focus()}else this.overrideFocusVnode=t;this.attachListeners()}constructor({manifest:e,cache:t,unscopedCache:n,highlighter:r,hideScrollbars:l,showScrollbars:u,buildTreeCache:d,keyboardTrapsEnabled:f}){i(this,"retryTabKeyPressCount",0),i(this,"tabStops",new Map),i(this,"visitedElements",new Set),i(this,"focusListenerTargets",new Set),i(this,"submitListenerTargets",new Set),i(this,"submittedForms",new Set),i(this,"submitRestoreHandlers",new Set),i(this,"launchedWindowOnFocus",new Set),i(this,"_isCleanedUp",!1),i(this,"runEpoch",0),i(this,"overrideFocusVnode",null),i(this,"ignoreNextFocusOn",null),i(this,"lastResumeTarget",null),i(this,"firstTabStop",null),i(this,"trapEscapeState",o({},c)),i(this,"isCleanedUp",()=>this._isCleanedUp),i(this,"cleanupAfterTabbing",({hasTrappedVnode:e=!1}={})=>{clearTimeout(this.focusTimeout),this.removeKeyboardScopeTabIndex&&this.keyboardScope.element.removeAttribute("tabindex"),e||(document.activeElement&&document.activeElement.blur(),this.keyboardScope=null,this.resetState(),this._isCleanedUp=!0),this.showScrollbars()}),i(this,"onTabbingComplete",async({trappedVnode:e,reason:t}={})=>{const n=(0,Ft().CL)({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});n.tabbingStoppedReason=this.keyboardTrapsEnabled&&e?"keyboard-trap-detected":t,e||(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),this.cleanupAfterTabbing({hasTrappedVnode:!!e}),await Rn().yS.send(Rn()._O.background,"tab-record:stop"),this.keyboardTrapsEnabled&&e?Rn().yS.send(Rn()._O.devtools,"tab-record:trapped",{trappedVnode:e,tabData:n}):Rn().yS.send(Rn()._O.devtools,"tab-record:complete",n)}),i(this,"setFocusTimeout",(e=1e4)=>{this.trapEscapeState.recordingKeyboardTrapEscape||(this.focusTimeout=setTimeout(async()=>{const e=!!document.activeElement&&await Rn().yS.send(Rn()._O.background,"dom:get-active-element-shadow-root-type");if(document.activeElement&&("IFRAME"===document.activeElement.tagName||"closed"===e))return this.setFocusTimeout(500),void a();if("user-agent"===e){const e=s[document.activeElement.tagName.toLowerCase()]||5;return this.keyboardTrapsEnabled&&this.retryTabKeyPressCount>=e?this.trapEscapeState.finalizingKeyboardTrapEscape?this.handleFinalizingTrap(!1):void this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)}):(++this.retryTabKeyPressCount,this.setFocusTimeout(500),void a())}const t=(e=document)=>!!this.tabStops.has(e.activeElement)||!!e.activeElement.shadowRoot&&t(e.activeElement.shadowRoot);if((document.activeElement===document.body||t())&&this.retryTabKeyPressCount<3)return this.setFocusTimeout(500),Rn().yS.send(Rn()._O.background,"tab-record:fire-tab"),void this.retryTabKeyPressCount++;if(this.trapEscapeState.finalizingKeyboardTrapEscape){const e=document.activeElement===document.body&&!t();return this.handleFinalizingTrap(e||this.trapEscapeState.addedNewTabstopDuringEscapeAttempt||this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap,e,"escape-finalize-focus-lost-to-body")}if(!(this.keyboardTrapsEnabled&&t()&&this.tabStops.size>1))return document.activeElement&&document.activeElement!==document.body&&!t()&&this.retryTabKeyPressCount<3?(this.retryTabKeyPressCount++,this.setFocusTimeout(500),void this.focusHandler(document.activeElement)):void this.onTabbingComplete({reason:document.activeElement===document.body?"focus-lost-to-body":"focus-timeout-without-new-tab-stop"});this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)})},e))}),i(this,"onSubmit",e=>{this.submittedForms.add(e.target)}),i(this,"detachListeners",()=>{this.focusListenerTargets.forEach(e=>{e.removeEventListener("focus",this.onFocus,!0)}),this.submitListenerTargets.forEach(e=>{e.removeEventListener("submit",this.onSubmit,!0)}),this.submitRestoreHandlers.forEach(e=>{e()}),Rn().yS.unlisten("tab-record:new-window:launched",this.onNewWindowLaunched),this.focusHandler.resetDebounce(),this.runEpoch++,this.trapEscapeState.listenersAttached=!1}),i(this,"resetState",e=>{var t;e||Rn().yS.send(Rn()._O.background,"tab-record:new-window-listener:detach"),this.detachListeners(),this.ignoreNextFocusOn=null,this.lastResumeTarget=null,this.firstTabStop=null,this.tabStops.clear(),this.visitedElements.clear(),this.focusListenerTargets.clear(),this.submitListenerTargets.clear(),this.submittedForms.clear(),this.submitRestoreHandlers.clear(),this.launchedWindowOnFocus.clear(),document.documentElement.style.cursor="",document.documentElement.style.pointerEvents="",Rn().yS.unlisten("tab-record:finalize-escape-trap",this.onFinalizeTrap),Rn().yS.unlisten("tab-record:user-stopped",this.onUserStopped),Rn().yS.unlisten("tab-record:cleanup",this.cleanupAfterTabbing),Rn().yS.unlisten("tab-record:continue-tabbing",this.onContinueTabbing),Rn().yS.unlisten("tab-record:detach-listeners",this.detachListeners),Rn().yS.unlisten("attach:failed",this.handleAttachFailed),null===(t=this.unlistenInitialFocus)||void 0===t||t.call(this)}),i(this,"onNewWindowLaunched",()=>{this.launchedWindowOnFocus.add(document.activeElement)}),i(this,"scopeKeyboardSetup",()=>{if(!Yr()()(this.manifest,"metadata.scope",void 0))return;const[e]=this.cache.flat;if(!e)return;e.element.getAttribute("tabindex")||kt().Ay.isFocusable(e.element)||(e.element.tabIndex=-1,this.removeKeyboardScopeTabIndex=!0),e.element.focus(),this.keyboardScope=e}),i(this,"cleanupKeyupTarget",()=>{this.keyupTarget&&(this.keyupTarget.removeEventListener("keyup",this.onKeyup,!0),this.keyupTarget=null)}),i(this,"onKeyup",()=>{if(document.activeElement===this.keyupTarget)return a();this.cleanupKeyupTarget()}),i(this,"handleMultiTabstopElement",e=>{this.keyupTarget=e,e.addEventListener("keyup",this.onKeyup,!0),clearTimeout(this.focusTimeout)}),i(this,"handleAttachFailed",()=>{if(this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!1);this.resetState(),clearTimeout(this.focusTimeout)}),i(this,"onFinalizeTrap",()=>{this.trapEscapeState.recordingKeyboardTrapEscape=!1,this.trapEscapeState.finalizingKeyboardTrapEscape=!0,this.setFocusTimeout(),Rn().yS.send(Rn()._O.background,"tab-record:start")}),i(this,"onUserStopped",()=>this.onTabbingComplete({reason:"user-stopped"})),i(this,"resumeFromFurthestTabStop",()=>{const e=[...this.tabStops.keys()].filter(e=>e.isConnected&&kt().Ay.isFocusable(e));if(!e.length)return!0;const t=e.reduce((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?t:e);return t!==this.lastResumeTarget&&(this.lastResumeTarget=t,t!==document.activeElement&&(this.ignoreNextFocusOn=t,t.focus()),!0)}),i(this,"onContinueTabbing",({message:e}={})=>{var t;this.focusHandler.resetDebounce(),null==e||null===(t=e.metadata)||void 0===t||!t.aiAssistEnabled||this.resumeFromFurthestTabStop()?(this.setFocusTimeout(),Rn().yS.send(Rn()._O.background,"tab-record:start")):this.onTabbingComplete({reason:"resume-made-no-progress"})}),this.manifest=e,this.cache=t,this.unscopedCache=n,this.showScrollbars=u,this.buildTreeCache=d,this.replayer=new(Ze().S)(r),this.keyboardTrapsEnabled=f,this.onFocus=this.onFocus.bind(this),this.focusHandler=function(e,t=0){let n=0,r=0,o=0;const i=function(...i){cancelAnimationFrame(r),clearTimeout(o),r=requestAnimationFrame(()=>{const r=performance.now(),s=t-(r-n);s<=0?(n=r,e.apply(this,i)):o=setTimeout(()=>{n=performance.now(),e.apply(this,i)},s)})};return i.resetDebounce=()=>{n=0,cancelAnimationFrame(r),r=0,clearTimeout(o),o=0},i}(this.focusHandler.bind(this),30),this.setFocusTimeout(),this.resetState(!0),this.scopeKeyboardSetup(),this.attachListeners(),l(),kt().Ay.setupTrees(),Rn().yS.send(Rn()._O.background,"tab-record:new-window-listener:attach"),document.documentElement.style.cursor="none",document.documentElement.style.pointerEvents="none",document.activeElement.matches&&document.activeElement.matches(Ft().Gv)&&this.handleMultiTabstopElement(document.activeElement);const h=()=>{var n;if(this.trapEscapeState.finalizingKeyboardTrapEscape||this.tabStops.size)return;const r=!e["keep-focus-on-element"]&&e["focused-element"],[o]=t.flat.filter(e=>e.properties.tabIndex>0).sort((e,t)=>e.properties.tabIndex-t.properties.tabIndex);let i;if(r&&(null===(n=r.properties)||void 0===n?void 0:n.tabIndex)>-1){var s;i=(t.tree.getById(null===(s=e["focused-element"])||void 0===s?void 0:s.vnodeId)||{}).element}else if(!r&&o){i=(t.tree.getById(o.vnodeId)||{}).element}return i&&(i.focus(),this.focusHandler(i)),!0};Rn().yS.listen("attach:failed",this.handleAttachFailed),Rn().yS.listen("tab-record:initial-focus",h),Rn().yS.listen("tab-record:finalize-escape-trap",this.onFinalizeTrap),Rn().yS.listen("tab-record:user-stopped",this.onUserStopped),Rn().yS.listen("tab-record:cleanup",this.cleanupAfterTabbing),Rn().yS.listen("tab-record:continue-tabbing",this.onContinueTabbing),Rn().yS.listen("tab-record:detach-listeners",this.detachListeners),this.unlistenInitialFocus=()=>Rn().yS.unlisten("tab-record:initial-focus",h)}}}),Ft=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kt(),Zt(),Wt();const s=['input[type="date"]','input[type="datetime-local"]','input[type="month"]','input[type="time"]','input[type="week"]'].join(", "),a=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","area[href]","object","embed",'[tabindex="0"]',"[contenteditable]","audio[controls]","video[controls]","summary"].join(", "),c=["tab","menuitem","radio","menuitemradio","menuitemcheckbox","treeitem"],l=(e,{tree:t,flat:n},r=!1)=>n.filter(t=>t.tagName===e).map(({vnodeId:e})=>{const n=t.getById(e);return r?n:null==n?void 0:n.element}).filter(Boolean),u=(e,t,n=!1)=>(n?e.ancestors:e.ancestors.reverse()).find(e=>t.includes(kt().Ay.getRole(e.element))),d=(e,t,n)=>{if(!c.includes(t))return[];let r;switch(t){case"tab":r=u(e,["tablist"]);break;case"treeitem":r=u(e,["tree"],!0);break;case"radio":r=u(e,["radiogroup","group"]);break;case"menuitem":case"menuitemradio":case"menuitemcheckbox":r=u(e,["menu","menubar"],!0)}if(!r&&"radio"===t)return((e,t)=>{const n=e.element;if(!n||"radio"!==n.type||!n.name)return[];const r=n.form;return(r?[...r.elements]:[...n.ownerDocument.querySelectorAll('input[type="radio"]')]).filter(e=>"radio"===e.type&&e.name===n.name&&e.form===r).map(e=>{var n;return null===(n=t.get(e))||void 0===n?void 0:n.vnodeId}).filter(e=>null!=e)})(e,n);if(!r)return[];let o=[...r.children],i=[];for(;o.length;){const e=o.shift();c.includes(kt().Ay.getRole(e.element))&&i.push(e.vnodeId),o=[...o,...e.children||[]]}return i},f=e=>{const t=e.name;if(!t)return!0;const n=[...e.ownerDocument.querySelectorAll(`[name="${CSS.escape(t)}"]`)],r=n.find(e=>e.checked);return r?r===e:n[0]===e},h=e=>`[role="${e}"]`,p=c.map(h).join(", "),m=(e,t,n)=>{if(!(0,Zt().A)({vnode:e,selector:p}))return!1;const r=(o=kt().Ay.getRole(e.element),kt().Ay.getRequiredContext(o).map(h).join(", "));var o;if(!r.length)return!1;const i=t.find(e=>(0,Zt().A)({vnode:e,selector:r}));return!!i&&n.find(e=>{var t;return i.element.contains(e)||(null===(t=i.contains)||void 0===t?void 0:t.call(i,e))})},g=(e,t)=>[...e].map(e=>(0,Ke().A)(t.get(e)||{}));n.d(t,["$t",0,({tree:e,flat:t},n=!1)=>l("iframe",{tree:e,flat:t},n).map(e=>{if(n)return e.children[0];let t;try{var r;t=null===(r=e.contentWindow)||void 0===r?void 0:r.document}catch{return null}return t}).filter(Boolean),"BY",0,(e,t,n=!0)=>{var r;const i=t.get(e),a=kt().Ay.getRole(e),c=a&&kt().Ay.isWidgetRole(a)||"combobox"===a||"listbox"===a||"searchbox"===a||"alertdialog"===a||"audio"===i.tagName||"video"===i.tagName||"gridcell"===a||"rowheader"===a||"columnheader"===a||"td"===i.tagName&&!a||"th"===i.tagName&&!a,l=e.matches&&e.matches(s),u=null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"href");return o(o(o({},(0,Ke().A)(i)),{},{role:a},null!=u?{href:u}:{}),{},{isWidgetRole:c,accessibleName:kt().Ay.name(e),box:(0,Wt().Ay)(i),groupItems:d(i,a,t),isAriaHidden:!kt().Ay.isSRVisible(e),isHidden:kt().Ay.isOffscreen(e)||!kt().Ay.isVisible(e,n),isMultiTabStopElement:l})},"CG",0,({tree:e,flat:t},n=!1)=>l("shadow-root",{tree:e,flat:t},n),"CL",0,({tabStops:e,submittedForms:t,launchedWindowOnFocus:n,cacheTree:r})=>{e.forEach((e,t)=>{e.launchedWindowOnFocus=n.has(t)});const o=[...e.values()],i=((e,t)=>{const n=e=>"area"===e.element.nodeName.toLowerCase(),r=[];(0,Mt().rJ)(document.documentElement,!0);for(const o of t){const{ancestors:t=[]}=o;!(0,Zt().A)({vnode:o,selector:a,verifyTree:n(o)})||!kt().Ay.isFocusable(o.element)||[...e.values()].find(e=>e.vnodeId===o.vnodeId)||!f(o.element)||t.find(e=>!!(0,Zt().A)({vnode:e,selector:p,verifyTree:n(e)}))||(0,Zt().A)({vnode:o,selector:'[role="radio"]',verifyTree:!1})||m(o,t,[...e.keys()])||r.push((0,Ke().A)(o))}return r})(e,r.values());return{skipped:i,tabStops:o,submittedForms:g(t,r),launchedWindowOnFocus:g(n,r)}},"Gv",0,s,"Uq",0,({tree:e,flat:t})=>l("form",{tree:e,flat:t})])}),Vt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>s}),Gt(),kt(),dn(),Be(),Ft(),Rn();class s{constructor(e,t,n){i(this,"initHighlighter",async()=>{this.highlighter||await(0,Vn().Ay)().then(e=>{this.highlighter=e,[...this.selections].map(t=>{const{element:n,selector:r}=this.tree.getById(t);if(n){e.createHighlighter(n,r).highlight({theme:"selection",showMetadata:!1})}})})});const r=Yr()()(t,"metadata.selections",[]);this.selections=new Set(r.reduce((t,n)=>{const r=e.getById(n.vnodeId);return r&&(r.element||r.selector)&&t.push(n.vnodeId),t},[])),this.hovered=null,this.hoveredHighlighter=null,this.enabled=!1,this.tree=e,this.onMouseOver=this.onMouseOver.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.eventTargets=[],this.includeCrossOrigin=n}async enable(e,t=!0){this.manifest=e,t&&await this.disable(),this.enabled=!0;const n={tree:this.tree,flat:this.tree.flat};this.eventTargets=[this.includeCrossOrigin?this.tree.get(document.body):document.body,...(0,Ft().$t)(n,this.includeCrossOrigin),...(0,Ft().CG)(n,this.includeCrossOrigin)],await Promise.all(this.eventTargets.map(async e=>{const t={capture:!0},n=o(o({},t),{},{preventDefault:!0,stopPropagation:!0});if(this.includeCrossOrigin)return Promise.all([e.addEventListener("mousedown",this.onMouseDown,n),e.addEventListener("mouseover",this.onMouseOver,t),e.addEventListener("click",this.onClick,n)]);e.addEventListener("mousedown",this.onMouseDown,t),e.addEventListener("mouseover",this.onMouseOver,t),e.addEventListener("click",this.onClick,t)}))}async disable(){this.enabled=!1,await Promise.all(this.eventTargets.map(async e=>{if(this.includeCrossOrigin)return Promise.all([e.removeEventListener("mousedown",this.onMouseDown),e.removeEventListener("mouseover",this.onMouseOver),e.removeEventListener("click",this.onClick)]);e.removeEventListener("mousedown",this.onMouseDown,{capture:!0}),e.removeEventListener("mouseover",this.onMouseOver,{capture:!0}),e.removeEventListener("click",this.onClick,{capture:!0})}))}async update(e,t){const n=this.enabled;await this.disable(),this.includeCrossOrigin=t,this.tree=e,!0===n&&await this.enable(this.manifest,!1)}cleanUp(){var e;null===(e=this.hoveredHighlighter)||void 0===e||e.destroy(),this.hoveredHighlighter=null,this.hovered&&(this.hovered=null)}onClick(e){this.includeCrossOrigin||(e.preventDefault(),e.stopPropagation()),this.toBeSelected&&(this.makeSelection(o(o({},this.toBeSelected),{},{isMouseSelection:!0})),this.toBeSelected=null)}async hover(e){if(this.cleanUp(),!e||this.hovered===e||this.selections.has(e.vnodeId))return;const{createHighlighter:t,highlighterExists:n}=this.highlighter||{},r=await(0,ze().A)(e);if(n(r))return;this.cleanUp();const o=null==t?void 0:t(r,e.selector);o.highlight({theme:"selection",showMetadata:!1}),this.hovered=e,this.hoveredHighlighter=o}async onMouseOver(e){var t;const n=this.includeCrossOrigin?e.target:(null===(t=e.originalEvent)||void 0===t?void 0:t.target)||e.target,r=this.includeCrossOrigin?n:this.tree.get(n);await this.hover(r)}async removeAllSelections(){this.selections.clear(),(0,Vn().Ay)().then(e=>e.clearHighlights())}removeSelection(e){const t=this.tree.getById(e);if(!t)return;const{element:n}=t;(0,Vn().Ay)().then(({highlighters:e})=>{var t;null===(t=e.get(n))||void 0===t||t.destroy()}),this.selections.delete(e),Rn().yS.send(Rn()._O.devtools,"guide:scope-removal"),Rn().yS.send(Rn()._O.devtools,"selection:remove",{vnodeId:e})}addSelection(e){const{vnodeId:t,selector:n}=e;(0,Vn().Ay)().then(async({createHighlighter:t})=>{t(await(0,ze().A)(e),n).highlight({theme:"selected",showMetadata:!1})}),this.selections.add(t),this.hoveredHighlighter=null;const r=(0,Ke().A)(function(e){const t=(t,n)=>{try{return Xr()()(r,n)}catch{return kt().Ay.getSelector(e.element)}},n=(e.ancestors||[]).reduce((e,n)=>{const{element:r,isFrame:o,isShadowHost:i}=n,s={root:r.getRootNode()};if(o||i){const n=e[e.length-1],o=Array.isArray(n)?n:e,a=t(r,s);o.push(a),i&&o.push(["shadow-root"])}return e},[]),{element:r}=e,o={root:r.getRootNode()},i=t(r,o),s=n[n.length-1];return(Array.isArray(s)?s:n).push(i),e.fallbackSelector=n,e}(e));return this.manifest&&this.manifest.id&&!this.manifest.rescope||Rn().yS.send(Rn()._O.devtools,"guide:scope-selection",{value:r}),Rn().yS.send(Rn()._O.devtools,"selection:add",r),!0}onMouseDown(e){if(!this.enabled)return;this.includeCrossOrigin||(e.preventDefault(),e.stopPropagation());const t=this.includeCrossOrigin?e.composedTarget||e.target:e.composedPath()[0]||e.target,n=this.includeCrossOrigin?t:this.tree.get(t);this.selections.has(n.vnodeId)||(this.toBeSelected=n)}inGroupCheck({vnodeId:e}){const{groups:t=[],inputs:n=[]}=this.manifest||{},r=t.find(t=>t.vnodeIds.includes(e));if(!r)return!1;return n.find(e=>e.groupId===r.id&&e["group-name"])?(Rn().yS.send(Rn()._O.devtools,"guide:show-warning",{value:"warning"}),!0):(this.manifest=(0,Kt().A)(this.manifest,r.id),Rn().yS.send(Rn()._O.devtools,"guide:destroy-group",{value:r.id}))}makeSelection({vnodeId:e,isMouseSelection:t=!1}){var n;const r=this.tree.getById(e),i=this.tree.getById(null===(n=this.hovered)||void 0===n?void 0:n.vnodeId);if(t&&i!==r||this.inGroupCheck(r)||!this.addSelection(r))return;const s="guide:mouse-selection",a=o(o({},(0,Ke().A)((0,wt().t)(r))),{},{source:kt().Ay.getSource(null==r?void 0:r.element),noInputs:this.hasInputs(r),isMouseSelection:t});Rn().yS.send(Rn()._O.devtools,s,{value:a}),Rn().yS.send(Rn()._O.devtools,"mouse-selection",{type:s,value:a}),this.hovered=null}hasInputs({vnodeId:e}){kt().Ay.setupTrees();const t=this.tree.getById(e),n=({element:e,children:t})=>!("function"!=typeof e.matches||!e.matches(Gt().IY)||!kt().Ay.isVisible(e,!0))||t.some(n);return kt().Ay.cleanupTrees(),!n(t)}}}),Bt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let s;Rn(),Wt(),kt(),qt();n.d(t,["jj",0,()=>{Rn().yS.unlisten("forms:get-descendant-elements",s)},"nC",0,e=>{s=({message:t})=>{const{vnodeId:n}=t;return((e,t)=>(kt().Ay.setupTrees(),Array.from(e.values()).filter(e=>e.ancestors.map(e=>e.vnodeId).includes(t)).map(e=>o(o({},(0,qt().Ay)(e)),{},{box:(0,Wt().Ay)(e)}))||[]))(e(),n)},Rn().yS.listen("forms:get-descendant-elements",s)}])}),$t=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}pn(),nt(),Gt(),kt(),tt();let s=1;const a=e=>{const t={};return e.forEach(e=>t[e.id]=e.label),t},c=(e,t)=>{const n=e.filter(({attributes:e})=>e.name&&"radio"===e.type),r=e.filter(({attributes:e})=>e.name&&"checkbox"===e.type);return[...l(ro()()(n,"attributes.name"),"radio-name",t),...l(ro()()(r,"attributes.name"),"checkbox-name",t)]},l=(e,t,n)=>Object.keys(e).reduce((r,o)=>{const i=e[o],c=e=>!i.filter(t=>{var r,o;return!(e.contains(t.element)||null!=n&&null!==(r=n.get(e))&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,t))}).length;let l,u=i[0].element.closest(Gt().fX);for(;!l&&u;)c(u)&&(l=u),u=u.closest(Gt().fX);if(i.length<2)return r;const d=i.map(e=>e.selector),f=i.map(e=>e.vnodeId),h=l&&(0,nt().A)(l)||"",p=l?(0,tt().e)(l,n):[];i.forEach(e=>{e.groupId=s,e.groupLabel=h,e.groupSelector=d,e.groupVnodeIds=f});const m={selector:d,groupType:t,vnodeIds:f,id:s++,name:o,label:h,visibleLabels:p,pairings:a(i)};return i[0].group=m,r.push(m),r},[]);n.d(t,["jr",0,(e,t,n)=>{const r=[],i=(0,Ut().A)(Gt().fX,t.element),l=c(e,n);return t&&t.element.matches(Gt().fX)&&i.push(t.element),kt().Ay.setupTrees(),i.forEach(t=>{const i=e.filter(e=>{var r,o;return t.contains(e.element)||(null==n||null===(r=n.get(t))||void 0===r||null===(o=r.contains)||void 0===o?void 0:o.call(r,e))});if(!l.some(e=>i.some(t=>e.vnodeIds.includes(t.vnodeId)))&&i.length>1){const e=(0,nt().A)(t)||"";if(!e)return;const c=i.map(e=>e.selector),l=i.map(e=>e.vnodeId),u=[];i.forEach(t=>{u.push(o(o({},t),{},{groupId:s,groupLabel:e,visibleLabels:(0,tt().e)(t.element,n),groupSelector:c,groupVnodeIds:l}))});const d={selector:c,label:e,vnodeIds:l,id:s++,groupType:"semantic",pairings:a(u),visibleLabels:t?(0,tt().e)(t,n):[]};u.find(e=>e.groupId===d.id).group=d,r.push(d)}}),kt().Ay.cleanupTrees(),r},"q",0,c])}),Ht=n.cw(function(e,t){const r={findCurrentFocus:e=>{const t=document.activeElement,n=e.get(t);return{bodyHasFocus:t===document.body,currentFocus:n&&(0,Ke().A)(n)}},resetFocus:()=>{const e=document.body.getAttribute("tabindex");e||(document.body.tabIndex=-1),document.body.focus(),e||document.body.removeAttribute("tabindex")}};n.d(t,["A",0,r])}),Wt=n.cw(function(e,t){function r(...e){const t=e.filter(e=>!!e.element&&!!kt().Ay.isVisible(e.element)).map(s);return t.length?1===t.length?t[0]:t.reduce((e,t)=>{const n={};return n.y=Math.min(e.y,t.y),n.x=Math.min(e.x,t.x),n.height=Math.max(e.height,t.height),n.width=Math.max(e.width,t.width),n}):{x:0,y:0,height:0,width:0}}function o(e){const{element:t={}}=e;if(t.nodeType!==Node.ELEMENT_NODE)return;const n=s(e),r=window.getComputedStyle(t),o=(parseFloat(r.paddingLeft)||0)+(parseFloat(r.paddingRight)||0),i=(parseFloat(r.paddingTop)||0)+(parseFloat(r.paddingBottom)||0),a=(parseFloat(r.borderLeftWidth)||0)+(parseFloat(r.borderRightWidth)||0),c=(parseFloat(r.borderTopWidth)||0)+(parseFloat(r.borderBottomWidth)||0);return{x:n.x+(parseFloat(r.paddingLeft)||0)+(parseFloat(r.borderLeftWidth)||0),y:n.y+(parseFloat(r.paddingTop)||0)+(parseFloat(r.borderTopWidth)||0),width:n.width-o-a,height:n.height-i-c}}function i(e){var t,n;const{element:r={},ancestors:o=[]}=e;if(r.nodeType!==Node.ELEMENT_NODE)return{};const i=null===(t=r.ownerDocument)||void 0===t||null===(n=t.createRange)||void 0===n?void 0:n.call(t);if("function"!=typeof(null==i?void 0:i.getBoundingClientRect))return{};i.selectNodeContents(r);const l=i.getBoundingClientRect();if(!l.width&&!l.height)return{};const u=a(l,o),d=s(e);if(!c(d))return u;const f=function(e,t){const n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),o=Math.min(e.x+e.width,t.x+t.width),i=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:r,width:Math.max(0,o-n),height:Math.max(0,i-r)}}(u,d);return f.width&&f.height?f:{}}function s(e){const{element:t={},ancestors:n=[]}=e;return t.nodeType!==Node.ELEMENT_NODE?{}:a(t.getBoundingClientRect(),n)}function a({top:e,left:t,height:n,width:r},o=[]){const i={top:0,left:0};o.reduce((e,t)=>{if(t.isFrame){const n=t.element.getBoundingClientRect();e.top+=n.top,e.left+=n.left}return e},i);const s=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{x:t+s+i.left,y:e+a+i.top,height:n,width:r}}function c(e){return"object"==typeof e&&["x","y","width","height"].every(t=>"number"==typeof e[t]&&!Number.isNaN(e[t]))}n.d(t,{Ay:()=>r,EN:()=>i,Nm:()=>o,ni:()=>c}),n.dn(r),kt()}),zt=n.cw(function(e,t){function r(e,t,n){const r=[];for(const o of e){!("function"!=typeof o.element.matches)&&t(o)&&(0,kt().pK)(o.element)&&kt().Ay.isVisible(o.element,!kt().Ay.isAxeSetUp(o.element))&&(!n||kt().Ay.isSRVisible(o.element))&&(o.source=kt().Ay.getSource(o.element),r.push(o))}return r}n.d(t,{A:()=>r}),kt()}),Ut=n.cw(function(e,t){function r(e,t=document){return Array.from(t.querySelectorAll(e))}n.d(t,{A:()=>r})}),Gt=n.cw(function(e,t){en();const r=on().A`
31
+ `,l=(e,t={})=>{const n=(0,tn().Ay)(e,...e.children||[]),r=Gt().Ay.getRole(e.element)||"",i=((e,t)=>{if(t||!(e instanceof HTMLElement)||e.tabIndex<0||e.hasAttribute("aria-activedescendant"))return!1;const{overflowX:n,overflowY:r}=window.getComputedStyle(e);return[n,r].some(e=>"auto"===e||"scroll"===e)})(e.element,r),s=e.element.getAttribute("href"),a=(0,ln().S8)(e.element);return o(o(o(o(o({},(0,sn().Ay)(e,{},"accName")),{},{role:r},null!=s?{href:s}:{}),a?{accDescription:a}:{}),{},{box:(0,tn().ni)(n)?n:void 0,tightBox:(0,tn().Nm)(e),states:[{calculated:(0,bt().A)(e)}],nativelyDisabled:(0,bt().p)(e),isScrollableRegion:i},!i||(l=e.element,null!==(c=l.getAttribute("aria-label"))&&void 0!==c&&c.trim()||null!==(u=l.getAttribute("aria-labelledby"))&&void 0!==u&&u.trim()||null!==(d=l.getAttribute("title"))&&void 0!==d&&d.trim())?{}:{accName:""}),t);var l,c,u,d},c=e=>{const t=e.element.matches(a),n="gridcell"===Gt().Ay.getRole(e.element);if(t&&n){const t=e.element.tabIndex>=0,n=!!e.element.querySelector(a);return t||!n}return t};function u(e){tr().yS.listen("igt:interactive-elements:get-interactives",()=>{var t;Gt().Ay.setupTrees();const n=(null===(t=e())||void 0===t?void 0:t.values())||[];s("Getting interactive elements from ",{flatTree:n});const r=(0,nn().A)(n,c,!0).map(e=>{var t,n;return l(e,{ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(n=e.children)||void 0===n?void 0:n.map(({vnodeId:e})=>e))||[],descendants:(0,yt().A)(e).map(({vnodeId:e})=>e)})});return Gt().Ay.cleanupTrees(),s("Got interactives",{interactives:r}),r}),tr().yS.listen("igt:interactive-elements:get-all-possible-interactives",()=>{var t;Gt().Ay.setupTrees();const n=(null===(t=e())||void 0===t?void 0:t.values())||[];s("Getting interactive elements from ",{flatTree:n});const r=(0,nn().A)(n,()=>!0,!0).map(e=>o(o({},(0,Ot().V)(e)),l(e)));return Gt().Ay.cleanupTrees(),s("Got all nodes ",{allNodes:r}),r}),tr().yS.listen("igt:interactive-elements:get-groupings",({message:t})=>{Gt().Ay.setupTrees();const n=e(),r=t.interactives.map(e=>{const t=n.getById(e.vnodeId);return o(o({},e),{},{element:null==t?void 0:t.element})}),i=(0,vt().i)(r),s=(0,vt().q)(r);return Gt().Ay.cleanupTrees(),{role:i,intelligent:s}}),tr().yS.listen("igt:interactive-elements:map-user-selected",({message:t})=>{const{selected:n=[]}=t,r=e();Gt().Ay.setupTrees();const o=n.map(e=>{const t=r.getById(e.vnodeId);return l(t,{userSelected:!0,source:Gt().Ay.getSource(t.element)})});return Gt().Ay.cleanupTrees(),o}),tr().yS.listen("igt:check-state",({message:t})=>{var n;const r=e().getById(null==t||null===(n=t.vnode)||void 0===n?void 0:n.vnodeId);return null!=r&&r.element?(0,bt().A)(r):[]}),tr().yS.listen("igt:interactive-elements:resolve-selector",({message:t})=>{const{selector:n}=t;if("string"!=typeof n||!n.trim())return null;const r=e();if(!r)return null;let o;try{o=r.selectOne(n.split("|"))}catch(e){return s("Failed to resolve stored selector",{selector:n,error:e}),null}return o?JSON.parse(r.safe(o)):null}),tr().yS.listen("igt:interactive-elements:resolve-include-selectors",({message:t})=>{const{includeSelectors:n}=t;if(!Array.isArray(n))return null;const r=e();if(!r)return null;const o=new Set;let i=!1;for(const e of n){const t="string"==typeof e?e.trim():"";if(t){i=!0;try{for(const e of r.selectAll([t],{isRelativeSelector:!0}))o.add(e.vnodeId)}catch(t){s("Skipping includeSelector that failed to resolve",{selector:e,error:t})}}}return i?[...o]:null}),(0,mt().t)("igt:interactive-elements:classify-stability",e)}}),Et=n.cw((e,t)=>{n.d(t,{A:()=>c}),tr(),Xt(),mt();const r=["keyboardTrapsEnabled","isKeyboardTrapEscape","keyboardTrapVnode","isAutoEscape","isLastAttempt"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function a(){return tr().yS.send(tr()._O.content,"hide-scrollbars")}async function l(){return tr().yS.send(tr()._O.content,"show-scrollbars")}function c(e,t){let n;tr().yS.listen("igt:keyboard:focus-element",async({message:{elementToFocus:t}})=>{const n=await e(),r=n.querySelector(t.selector);return r&&(0,Bt().A)(r),{foundElement:r?JSON.parse(n.safe(n.get(r))):null}}),tr().yS.listen("igt:keyboard:find-current-focus",async()=>{const t=await e();return en().A.findCurrentFocus(t)}),tr().yS.listen("igt:keyboard:reset-focus",en().A.resetFocus),tr().yS.listen("igt:keyboard:tab-record-start",async o=>{let{message:{keyboardTrapsEnabled:s,isKeyboardTrapEscape:c,keyboardTrapVnode:u,isAutoEscape:d=!1,isLastAttempt:f=!1}}=o,h=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o.message,r);const p=async()=>{await t(i(i({},h.metadata),{},{scope:void 0}));const n=e(),r=Array.from((null==n?void 0:n.values())||[]);let o=n,s=r;var a;h.metadata.scope&&(await t(h.metadata),o=e(),s=Array.from((null===(a=o)||void 0===a?void 0:a.values())||[]));return{cache:{tree:o,flat:s},unscopedCache:{tree:n,flat:r}}};if(!n||n.isCleanedUp()){const{cache:e,unscopedCache:t}=await p();n=new(Xt().Ay)({manifest:h,cache:e,unscopedCache:t,highlighter:await(0,lr().Ay)(),hideScrollbars:a,showScrollbars:l,buildTreeCache:p,keyboardTrapsEnabled:s})}n.setKeyboardTrapEscapeState(c,u,d,f),c||tr().yS.send(tr()._O.background,"tab-record:start")}),(0,mt().t)("igt:keyboard:classify-stability",e)}}),Ot=n.cw((e,t)=>{n.d(t,{A:()=>l}),tr(),Gt(),sn(),tn();const r=["useTextBox"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=(e,t={})=>{const{useTextBox:n=!1}=t,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,r),s=n?(0,tn().EN)(e):null,a=n&&(0,tn().ni)(s),l=a?s:(0,tn().Ay)(e,...e.children||[]);return i(i({},(0,sn().Ay)(e,{},"accName")),{},{role:Gt().Ay.getRole(e.element),box:(0,tn().ni)(l)?l:void 0,tightBox:a?s:(0,tn().Nm)(e),states:(0,bt().A)(e),nativelyDisabled:(0,bt().p)(e)},o)};function l(e){tr().yS.listen("igt:ml:debug",({message:t})=>{const{features:n,vnodes:r}=t;Gt().Ay.setupTrees();const o=e();console.log("Debugging ML","\nLegend:\n - Green/Solid - The feature matched a programmatically identified element\n - Yellow/Dashed - The feature matched an element we did not programmatically identify\n - Orange/Dotted - The feature matched an element with a different role\n - Red/Double - The feature could not find a matching element\n - Black/Ridge - Default color, but this case should not happen\n "),n.forEach(e=>{let t="black 4px ridge";r.some(t=>t.vnodeId===e.vnodeId)?t=e.roleMatches?"green 4px solid":"orange 4px dotted":e.vnodeId?t="yellow 4px dashed":e.vnodeId||(t="red 4px double");const n=o.getById(e.vnodeId),i=document.createElement("div");i.style.position="absolute",i.style.top=`${e.box.y}px`,i.style.left=`${e.box.x}px`,i.style.border=t,i.style.height=`${e.box.height}px`,i.style.width=`${e.box.width}px`,i.style.color="white",i.title=`Type: ${e.type} - Role: ${e.role} - IOU: ${e.iou} - Confidence: ${e.confidence}`,i.style.zIndex="1000000",i.addEventListener("click",()=>{console.log("feature details: ",{feature:e,highlight:i,matchingElement:n?n.element:null,vnode:n?a(n):null})}),document.body.appendChild(i)}),Gt().Ay.cleanupTrees()})}n.d(t,["V",0,a])}),At=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>I}),tr(),Gt(),Jt(),jn(),mt();const s=to()()("igt:modal-dialog"),a=['[role="dialog"]','[role="alertdialog"]',"dialog"].join(":not(:empty), "),l=['[class*="modal" i]','[class*="dialog" i]'].join(":not(:empty), "),c=["absolute","fixed"],u=3e3,d=200,f=100,h=.75;let p=null;const m=["dialog","alertdialog"],g=e=>new Promise(t=>{setTimeout(t,e)}),y=(e=document.activeElement)=>{const{shadowRoot:t}=e;return t&&t.activeElement?y(t.activeElement):"IFRAME"===e.tagName&&e.contentDocument?y(e.contentDocument.activeElement):e},b=(e,t=document)=>Array.from(t.querySelectorAll(e)).filter(e=>Gt().Ay.isSRVisible(e)),v=e=>{const t=Gt().Ay.name(e);return"string"==typeof t?t:""},w=e=>{if(!e)return;const t=[e,...e.ancestors].find(e=>Gt().Ay.isFocusable(e.element));null==t||t.element.focus(),e.element.dispatchEvent(new Event("mousedown",{bubbles:!0})),e.element.dispatchEvent(new Event("mouseup",{bubbles:!0})),"function"==typeof e.element.click?e.element.click():e.element.dispatchEvent(new Event("click",{bubbles:!0}))},S=(e=document)=>{let t=null;const n=[()=>b(a,e),()=>b('[aria-modal="true"]:not(:empty)',e),()=>b(l,e).filter(e=>c.includes(window.getComputedStyle(e).position)||!!e.offsetParent&&c.includes(window.getComputedStyle(e.offsetParent).position)),()=>{const t=((e=document)=>{if("function"!=typeof(null==e?void 0:e.elementsFromPoint))return null;const t="defaultView"in e&&e.defaultView||window,n=.75*t.innerWidth,r=.75*t.innerHeight,o=(t.innerWidth-n)/2,i=(t.innerHeight-r)/2,s=[{x:o,y:i},{x:t.innerWidth-o,y:i},{x:t.innerWidth/2,y:t.innerHeight/2},{x:o,y:t.innerHeight-i},{x:t.innerWidth-o,y:t.innerHeight-i}].map(t=>Array.from(e.elementsFromPoint(t.x,t.y)));for(const e of s){const o=e.find(e=>{if(!(e instanceof HTMLElement))return!1;const o=t.getComputedStyle(e);return parseFloat(o.width)>=n&&parseFloat(o.height)>=r&&"none"!==o.getPropertyValue("pointer-events")&&c.includes(o.position)});if(o&&s.every(e=>e.includes(o)))return o}return null})(e);return t&&Gt().Ay.isSRVisible(t)?[t]:[]}];for(let e=0;e<n.length;e++){const r=(0,n[e])();if(1===r.length){t=r[0];break}}return t?(e=>{var t;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!n)return e;const{width:r,height:o}=e.getBoundingClientRect(),i=n.innerWidth*n.innerHeight;return 0===i||r*o<.9*i?e:e.querySelector('[class~="modal-content" i]:not(:empty), [class~="dialog-content" i]:not(:empty)')||e.querySelector('[role="document"]:not(:empty), [class~="modal-dialog" i]:not(:empty), [class~="dialog-container" i]:not(:empty)')||e})(t):null},x=e=>{const t=e.element.getAttribute("tabindex");e.element.tabIndex=t||-1,e.element.focus()},E=e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>m.includes(Gt().Ay.getRole(e.element))),O=e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>"true"===e.element.getAttribute("aria-modal")),A=(e,t=!1)=>{const n=n=>{var r,o,i;return e.element.contains(n)||!(null===(r=e.contains)||void 0===r||!r.call(e,n))||t&&(o=n,i=e.element,o.contains(i)&&o!==i&&o!==i.ownerDocument.body&&o!==i.ownerDocument.documentElement)};let r=n(y());if(!r&&p){const e=n(p);r=e,e&&(p=null)}return r},T=()=>p=y(),C=(e,t,n)=>{const r=Array.isArray(t)?t:[t];try{return r.length>0&&r.every(Boolean)?e.querySelector(r):null}catch(e){return s(`${n}: selector failed to resolve`,{selectorSegmentCount:r.length,selectorLength:r.join("").length,errorName:e instanceof Error?e.name:typeof e}),null}};function I({getTree:e,getFlatTree:t,buildTree:n},r=u){(0,mt().t)("igt:modal-dialog:classify-stability",e);const i=()=>{const n=e(),r=t(),o=[document,...(0,Jt().$t)({tree:n,flat:r}),...(0,Jt().CG)({tree:n,flat:r})];let i=null;return o.some(e=>(i=S(e),!!i)),i};tr().yS.listen("igt:modal-dialog:resolve-mcp-selector",async({message:{selector:t}})=>{const n=e(),r=C(n,t,"resolve-mcp-selector");return{resolved:r?JSON.parse(n.safe(n.get(r))):null}}),tr().yS.listen("igt:modal-dialog:resolve-mcp-modal",async({message:{selector:t}})=>{const o=Date.now()+r;let i=null,a=0;for(;;){let r=null;try{a>0&&await n(),a++;const o=e(),s=C(o,Array.isArray(t)?[...t]:t,"resolve-mcp-modal"),l=s?o.get(s):null,c=l?JSON.parse(o.safe(l)):null;c&&(i=c,Gt().Ay.isSRVisible(s)&&(r=c))}catch(e){s("resolve-mcp-modal: attempt failed",{errorName:e instanceof Error?e.name:typeof e})}if(r)return{resolved:r};if(Date.now()>=o)return i?{resolved:i,reason:"modal-selector-not-visible"}:{resolved:null,reason:"modal-selector-not-resolved"};await g(f)}}),tr().yS.listen("igt:modal-dialog:detect:no-trigger",async()=>{try{const t=e(),n=i(),r=n?t.get(n):null;return{resolved:r?JSON.parse(t.safe(r)):null}}catch(e){return s("detect:no-trigger: detection failed",e),{resolved:null}}});const a=async(t,r,o=[])=>{let i=e(),s=t&&i.getById(t.vnodeId);return s||(await n({value:r,vitals:o}),i=e(),s=t&&i.getById(t.vnodeId)),s},l=(t,n)=>{const r=e(),o=n&&r.getById(n.vnodeId);o&&t&&!Gt().Ay.isVisible(t.element,!0)&&o.element.click()},p=new Set,m=new Set,b=new Set,I=e=>{p.add(e.target)},P=t=>{Gt().Ay.cleanupTrees();const n=E(t),r=n&&(0,st().A)(n),i=O(t),s=A(t,!(!!n||!!i)),a=(t=>{const{element:n}=t,r=[];let i=n.parentNode;for(;i&&"HTML"!==i.nodeName;){const s=Array.from(i.children),a=e();s.forEach(e=>{var i;const s=a.get(e);if(e!==n&&!(e.contains(n)||null!=s&&null!==(i=s.contains)&&void 0!==i&&i.call(s,t))&&e.tagName.toLowerCase()!==ar().wZ&&Gt().Ay.isSRVisible(e)&&(Gt().Ay.name(e)||"").trim()){const t=o(o({},(0,st().A)(s)),{},{source:Gt().Ay.getSource(e)});r.push(t)}}),i=i.parentNode}return r})(t),l=e=>!!e&&A(e);return{dialogRoleVnode:r,hasDialogRole:!!r,focusBroughtToModal:!!s||l(n)||l(i),handledAriaHidden:!a.length,ariaHiddenMissingVNodes:a,isModalDialog:(0,tt().Q)(t.element)||!(!n||!(0,tt().Q)(n.element)),isAriaModal:!!i}};tr().yS.listen("igt:modal-dialog:detect:with-trigger",async({message:{manifest:t,vitals:s}})=>{let l=e();const c=await a(t["select-trigger"],t,s);w(c),await g(r),await n({value:t,vitals:s}),l=e();const u=i();u||T();const d=u?l.get(u):null;return d?o({modal:o(o({},(0,st().A)(d)),{},{accessibleName:v(d.element)})},P(d)):{modal:null}}),tr().yS.listen("igt:modal-dialog:focus-trap",async({message:{manifest:e,vitals:t}})=>{const{modal:n,focusBroughtToModal:r}=e,o=await a(n,e,t);return new Promise(t=>{let n,i=null;const a=e=>i=e.target,c=new Set,u=e=>(e&&document.addEventListener("focus",a,!0),tr().yS.send(tr()._O.background,e?"modal:tabber-init":"modal:fire-tab")),f=document.createElement("div");f.tabIndex=0,f.setAttribute("data-axedevtools-tabstop-ignore","true"),document.body.appendChild(f);const h=()=>{n=setTimeout(()=>{const e=y(),t=e===document.body&&i!==e,n=c.has(e),r=e=>{var t;return o.element.contains(e)||(null===(t=o.contains)||void 0===t?void 0:t.call(o,e))},a=e.getRootNode()instanceof ShadowRoot;let l=!r(e)&&!t;if(l){let t=null;if(a){for(t=e.getRootNode().host;null!==(d=t.getRootNode())&&void 0!==d&&d.host&&!r(t)&&!document.body.contains(t);){var d;t=t.getRootNode().host}l=!r(t)}}if(s("focus-trap:checkFocus",{activeElement:e,hasShadowRoot:a,isCircular:n,isOutside:l}),n||l)return p({isCircular:n,isOutside:l});t||c.add(e),u(!1),h()},d)},p=e=>{var r;null===(r=f.parentNode)||void 0===r||r.removeChild(f),clearTimeout(n),document.removeEventListener("focus",a,!0),tr().yS.send(tr()._O.background,"modal:tabber-stop"),t(e)};if(!o)return p({});l(o,e["select-trigger"]),r||x(o),h(),u(!0)})}),tr().yS.listen("igt:modal-dialog:escape",async({message:{manifest:n}})=>{var o;const i=await a(n.modal,n);if(!i)return{};l(i,n["select-trigger"]);const s=document.activeElement;i.element.contains(s)||null!==(o=i.contains)&&void 0!==o&&o.call(i,s)||x(i),(()=>{const n=e(),r=t();(0,Jt().Uq)({tree:n,flat:r}).forEach(e=>{if(b.add(e),e.addEventListener("submit",I,!0),"function"==typeof e.submit){const t=e.submit;e.submit=()=>{p.add(e),t.call(e)},m.add(()=>{e.submit=t})}})})(),await tr().yS.send(tr()._O.background,"modal:fire-escape"),await g(r);const c=!Gt().Ay.isVisible(i.element,!0),u={escapeClosed:c,formSubmitted:!!p.size};if(m.forEach(e=>e()),b.forEach(e=>{e.removeEventListener("submit",I,!0)}),p.clear(),m.clear(),b.clear(),c){const t=e().get(document.activeElement),r=n["select-trigger"];u.focusReturnedToTrigger=!!t&&!!r&&t.vnodeId===r.vnodeId,"number"==typeof(null==t?void 0:t.vnodeId)&&(null==t?void 0:t.vnodeId)>=0&&(u.focusReturnTarget=(0,st().A)(t))}return u}),tr().yS.listen("igt:modal-dialog:assess",async({message:t})=>{const n=t.vnode;if(!n||!n.vnodeId)return;const r=e().getById(n.vnodeId),i=o(o({},(0,st().A)(r)),{},{accessibleName:v(r.element)});return o({modal:i},P(r))}),tr().yS.listen("igt:modal-dialog:assess-dismiss",async({message:t})=>{const n=e().get(document.activeElement),r=t.vnode;return{focusReturnTarget:n&&(0,st().A)(n),focusReturnedToTrigger:n&&r&&n.vnodeId===r.vnodeId,"user-dismiss-modal":!0}});const N=(e,t)=>{if(null==e||!e.element)return null;const n=e.element.getBoundingClientRect();if(n.width<=0||n.height<=0)return null;const r=t;let o=0,i=0;for(const t of e.ancestors??[])if(t.isFrame&&t.element){const e=t.element.getBoundingClientRect();o+=e.left,i+=e.top}const s=n.left+window.pageXOffset+o,a=n.top+window.pageYOffset+i;return{width:Math.round(n.width*r),height:Math.round(n.height*r),top:Math.round(a*r),left:Math.round(s*r),right:Math.round((s+n.width)*r),bottom:Math.round((a+n.height)*r)}},j=e=>"number"==typeof e&&Number.isFinite(e)&&e>0;tr().yS.listen("igt:modal-dialog:capture-pre-dismiss-focus-inputs",async({message:{manifest:e,screenshotZoomLevel:t}})=>{if(!j(t))return null;const n=await a(e.modal,e),r=e["select-trigger"],o=r?await a(r,e):null;if(null==n||!n.element||null==o||!o.element)return null;const i=N(n,t),s=N(o,t);return i&&s?{modal_bounding_box:i,modal_html_markup:n.element.outerHTML,trigger_element_bbox:s}:null}),tr().yS.listen("igt:modal-dialog:collect-post-dismiss-focus-target",async({message:{focusVnodeId:t,screenshotZoomLevel:n}})=>{if("number"!=typeof t||!j(n))return null;const r=e().getById(t);if(null==r||!r.element)return null;const o=N(r,n);if(!o)return null;const{element:i}=r,s=Gt().Ay.name(i)||"",a=(i.textContent||"").trim(),l=s.trim()||a,c=l.length<=200?l:l.slice(0,200);return{current_focus_bbox:o,focus_html_markup:i.outerHTML,focus_element_text:c}});const R=e=>!(null!=e&&e.element&&Gt().Ay.isVisible(e.element,!0));tr().yS.listen("igt:modal-dialog:try-auto-dismiss",async({message:{modalVnodeId:t,triggerVnodeId:n,dismissCandidates:i,mcpMode:s}})=>{const a=e().getById(t);if(null==a||!a.element)return{success:!1};const l=()=>{const t=e().get(document.activeElement),r=!!t&&"number"==typeof n&&t.vnodeId===n;return{focusReturnTarget:"number"==typeof(null==t?void 0:t.vnodeId)&&t.vnodeId>=0?(0,st().A)(t):void 0,focusReturnedToTrigger:r}};if(R(a))return o({success:!0,strategy:"already-closed"},l());const u=async t=>{const n=e().get(t);return!!n&&(w(n),await g(r),R(a))},d=['form[method="dialog" i] button:not([type="button" i])','button[formmethod="dialog" i]','[data-bs-dismiss="modal"]','[data-dismiss="modal"]','button[aria-label="close" i]','button[aria-label="dismiss" i]','[role="button"][aria-label="close" i]','[role="button"][aria-label="dismiss" i]'];for(const e of d){const t=a.element.querySelectorAll(e);for(const e of Array.from(t))if(Gt().Ay.isVisible(e,!0)&&await u(e))return o({success:!0,strategy:"semantic_dom"},l())}if((a.ancestors??[]).some(e=>e.isFrame))return{success:!1};const f=s?[]:i,p=a.element.getBoundingClientRect(),m=e=>({centerX:p.left+(e.left+e.right)/2/1e3*p.width,centerY:p.top+(e.top+e.bottom)/2/1e3*p.height}),y=(e,t)=>{const n=document.elementsFromPoint(e,t)??[];for(const e of n)if(e!==a.element&&a.element.contains(e)&&e.matches('button, [role="button"], a, [tabindex]:not([tabindex="-1"]), [data-bs-dismiss], [data-dismiss]'))return e;return null},b=e=>e.right>e.left&&e.bottom>e.top;for(let e=0;e<f.length;e++){const t=f[e];if(!b(t))continue;const{centerX:n,centerY:r}=m(t),i=y(n,r);if(i&&await u(i))return o({success:!0,strategy:"ai_candidate",candidateIndex:e},l())}const v=(e=>{const t=e.element.getBoundingClientRect();if(t.width<=0||t.height<=0)return null;const n=t.left+t.width/2,r=t.top+t.height/2,o=document.elementsFromPoint(n,r),i=window.innerWidth*window.innerHeight;for(const t of o){if(!(t instanceof HTMLElement))continue;if(t===e.element||e.element.contains(t))continue;const n=window.getComputedStyle(t);if(!c.includes(n.position))continue;const r=t.getBoundingClientRect();if(r.width*r.height/i>=h)return t}return null})(a);return v&&await u(v)?o({success:!0,strategy:"backdrop"},l()):{success:!1}})}}),Tt=n.cw((e,t)=>{tr(),at();const r="data-axe-unclip",o=[["overflow-x","visible"],["overflow-y","visible"]];let i,s,a=[];const l=e=>{if(e.hasAttribute(r)||!(e=>"style"in e)(e))return;const{style:t}=e,n=o.map(([e])=>({property:e,value:t.getPropertyValue(e),priority:t.getPropertyPriority(e)}));a.push({element:e,hadStyleAttribute:e.hasAttribute("style"),inlineDeclarations:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),e.setAttribute(r,"");for(const[e,n]of o)t.setProperty(e,n,"important")},c=e=>{const{element:t,hadStyleAttribute:n,inlineDeclarations:o}=e;for(const{property:e,value:n,priority:r}of o)n?t.style.setProperty(e,n,r):t.style.removeProperty(e);n||""!==t.getAttribute("style")||t.removeAttribute("style"),t.removeAttribute(r)},u=()=>{void 0!==s&&(clearTimeout(s),s=void 0);for(const e of a)c(e);for(const{element:e,scrollLeft:t,scrollTop:n}of a)e.scrollLeft=t,e.scrollTop=n;a=[],i=void 0};n.d(t,["UB",0,e=>{tr().yS.listen("igt:elements:unclip",({message:t})=>{u(),i=null==t?void 0:t.captureId;const n=e(),r=new Map,o={},c=e=>(0,at().k)(e,null==t?void 0:t.unionWithDescendants),d=new Set,f=new Set,h=new Set;for(const e of(null==t?void 0:t.vnodeIds)??[]){var p;const t=null==n||null===(p=n.getById(e))||void 0===p?void 0:p.element;if(t){r.set(e,t);for(const{element:e,clipsVertically:n}of(0,pt().kA)(t,c(t)))d.add(e),e===t&&(0,pt().lr)(t)&&h.add(e),n&&f.add(e)}else o[e]=!1}for(const e of d)h.has(e)||f.has(e)||l(e);for(const[e,t]of r)o[e]=(0,pt().iF)(t,c(t));var m;return a.length&&(s=setTimeout(u,"number"==typeof(m=null==t?void 0:t.restoreAfterMs)&&Number.isFinite(m)&&m>0?m:6e4)),o}),tr().yS.listen("igt:elements:restore-clipping",({message:e})=>(null==e?void 0:e.captureId)===i&&(u(),!0))}])}),Ct=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>w}),nn(),Gt(),sn(),Mt(),ln(),tr(),tn(),Ot(),mt();const s=e=>e.element.matches(We().NF)&&!!(0,sn().GR)(e.element).length,a=e=>e.element.matches(We().Po),l=e=>{var t;return null===(t=e.attrs)||void 0===t?void 0:t.includes("lang")},c=e=>{var t;return!!e.isFrame&&!(null===(t=e.attrs)||void 0===t||!t.includes("title"))&&!!(0,sn().GR)(e.element).length},u=e=>{var t;return"application"===(null===(t=e.attributes)||void 0===t?void 0:t.role)},d=e=>["audio","video"].includes(e.tagName.toLowerCase());function f(e){Gt().Ay.setupTrees();const t=e();return Gt().Ay.cleanupTrees(),t}function h(e){var t;const[,n]=e.tagName.match(/^h(\d)$/)||[],r=n?parseInt(n):-1;if(null!==(t=e.attributes.role)&&void 0!==t&&t.includes("heading")){const t=parseInt(e.element.getAttribute("aria-level")||e.attributes["aria-level"]);return isNaN(t)||t<1||t>6?-1!==r?r:2:t}return r}const p=e=>{var t,n;const r=(0,tn().Ay)(e);return o(o({},(0,sn().Ay)(e,{},"accessibleText")),{},{source:Gt().Ay.getSource(e.element),textContent:(0,Rt().r)(e),role:Gt().Ay.getRole(e.element),level:h(e),box:(0,tn().ni)(r)?r:void 0,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(n=e.children)||void 0===n?void 0:n.map(({vnodeId:e})=>e))||[],descendants:(0,yt().A)(e).map(({vnodeId:e})=>e)})},m=e=>{var t,n;const r=(0,tn().Ay)(e);return o(o({},(0,sn().Ay)(e,{},"accessibleText")),{},{source:e.element.outerHTML,role:Gt().Ay.getRole(e.element),listItemCount:Array.from(e.element.querySelectorAll(We().JV)).length,box:(0,tn().ni)(r)?r:void 0,listChildren:(e.children||[]).map(e=>(0,sn().Ay)(e,{},"accessibleText")),ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(n=e.children)||void 0===n?void 0:n.map(({vnodeId:e})=>e))||[],descendants:(0,yt().A)(e).map(({vnodeId:e})=>e)})},g=async e=>{var t,n,r;const i=-1===e.vnodeId,s=document.createNodeIterator(e.element,NodeFilter.SHOW_TEXT,t=>!document.body.contains(t.parentElement)||i&&t.parentElement.closest("script, style, noscript, template")||t.parentElement.hasAttribute("lang")&&t.parentElement!==e.element?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);let a,l="";for(;a=s.nextNode();)l+=` ${a.textContent.trim()}`;const{isReliable:c,languages:u=[]}=await browser.i18n.detectLanguage(l);let d;if(i){const[e]=u.filter(e=>(null==e?void 0:e.language)&&"und"!==e.language).sort((e,t)=>t.percentage-e.percentage);e&&(c||e.percentage>=90)&&(d=e)}else if(c){d=u.shift();for(const e of u)(null==e?void 0:e.percentage)>d.percentage&&(d=e)}const f=(0,sn().Ay)(e,{},"accessibleText"),h=e.vnodeId>=0;return o(o({},f),{},{lang:e.attributes.lang,isValidLang:Gt().Ay.isValidLang(null===(t=e.attributes.lang)||void 0===t?void 0:t.toLowerCase().split("-")[0]),detectedLang:!!d&&(null===(n=d)||void 0===n?void 0:n.language),langConfidence:d?null===(r=d)||void 0===r?void 0:r.percentage:-1,textContent:h?(0,Rt().r)(e):null})},y=e=>o(o({},(0,sn().Ay)(e,{},"accessibleText")),{},{descriptionText:(0,ln().S8)(e.element)}),b=e=>{const t=(0,tn().Ay)(e);return o(o({},(e=>o({},(0,sn().Ay)(e,{},"accessibleText")))(e)),{},{box:(0,tn().ni)(t)?t:void 0})},v=e=>{const t=(0,tn().Ay)(e);return o(o({},(0,sn().Ay)(e,{},"accessibleText")),{},{box:(0,tn().ni)(t)?t:void 0})};function w(e){tr().yS.listen("igt:structure:get-headings",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,nn().A)(n,s,!0).map(p)})),tr().yS.listen("igt:structure:get-all-possible-elements",({message:t})=>{var n;Gt().Ay.setupTrees();const r=(null===(n=e())||void 0===n?void 0:n.values())||[],o=!(null==t||!t.useTextBox),i=(0,nn().A)(r,()=>!0,!0).map(e=>(0,Ot().V)(e,{useTextBox:o}));return Gt().Ay.cleanupTrees(),i}),tr().yS.listen("igt:structure:map-headings",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];const i=(0,Ut().rJ)();i.teardown(),i.setup();const s=e();return n.map(({vnodeId:e})=>{const t=s.getById(e);return o(o({},p(t)),r)})}),tr().yS.listen("igt:structure:get-lists",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,nn().A)(n,a,!0).map(m)})),tr().yS.listen("igt:structure:map-lists",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];return f(()=>{const t=e();return n.map(({vnodeId:e})=>{const n=t.getById(e);return o(o({},m(n)),r)})})}),tr().yS.listen("igt:structure:get-lang-elements",async()=>{const t=await f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return Promise.all((0,nn().A)(n,e=>l(e)&&Gt().Ay.hasContent(e.element),!0).map(g))}),n=await f(()=>{const e=document.body.parentElement;return g({element:e,children:[],ancestors:[],tagName:"html",vnodeId:-1,attrs:["lang"],attributes:{lang:e.getAttribute("lang")},selector:["html"],properties:{classSelector:"",id:e.getAttribute("id"),tagName:e.tagName,childElementCount:e.childElementCount,tabIndex:parseInt(e.getAttribute("tabIndex"))},depth:0})});return{htmlLangElement:n,langElements:t,documentLang:n.lang||n.detectedLang}}),tr().yS.listen("igt:structure:map-lang-elements",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];return await f(async()=>{const t=e();return await Promise.all(n.map(async({vnodeId:e})=>{const n=t.getById(e);return o(o({},await g(n)),r)}))})}),tr().yS.listen("igt:structure:get-title-elements",async()=>{const t=f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,nn().A)(n,c,!0).map(v)}),n=document.head.querySelector("title");return{frames:t,documentTitle:{title:document.title,source:n?Gt().Ay.getSource(n):null,selector:[Gt().Ay.getSelector(n)]}}}),tr().yS.listen("igt:structure:get-application-elements",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,nn().A)(n,u,!0).map(b)})),tr().yS.listen("igt:structure:get-media-elements",async()=>f(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return(0,nn().A)(n,d,!0).map(y)})),(0,mt().t)("igt:structure:classify-stability",e)}}),It=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>A}),jn(),nn(),Gt(),tr(),sn(),Ot(),tn();const s=to()()("igt:table"),a=["th","caption",'[headers]:not([headers=""])','[scope]:not([scope=""])'].join(", ");function l(e){if(!Number.isInteger(e)||e<0)throw new RangeError(`columnIndexToLetter expects a non-negative integer, received ${e}`);let t="",n=e;for(;n>=0;)t=String.fromCharCode(65+n%26)+t,n=Math.floor(n/26)-1;return t}const c=e=>{const t=Gt().Ay.idrefs(e,"aria-labelledby").filter(Boolean).map(e=>Gt().Ay.name(e)).filter(Boolean).join(" ").trim(),n=(e.getAttribute("aria-label")??"").trim(),r=(Gt().Ay.nativeTextAlternative(e)??"").trim();return t||n||r},u=e=>{const{vnodeId:t,properties:n,attributes:r,tagName:o,selector:i,element:s,source:a}=e;return{vnodeId:t,properties:n,attributes:r,tagName:o,selector:i,source:a,accName:c(s),role:Gt().Ay.getRole(s)}},d=e=>{const{element:t}=e;return o(o({},u(e)),(e=>"table"===e.localName)(t)&&o({firstRowName:t.rows[0]?Gt().Ay.name(t.rows[0]):""},(0,Ue().A)(t)))},f=e=>o(o({},(0,sn().Ay)(e,{},"accName")),{},{source:Gt().Ay.getSource(e.element),role:Gt().Ay.getRole(e.element)}),h=(e,t)=>o(o({},(0,sn().Ay)(e,{},"accName")),t),p=(e,t)=>[...t.querySelectorAll(e)].filter(e=>Gt().Ay.isSRVisible(e)),m=e=>"table"===e.tagName,g=e=>"th"===(null==e?void 0:e.tagName.toLowerCase()),y=e=>!["table"].includes(Gt().Ay.getRole(e.element)),b=e=>m(e)&&!y(e),v=(e,t)=>{var n;if(!e||null==t||null===(n=t.selector)||void 0===n||!n.length)return;const r=e.querySelector(t.selector),o=r?e.get(r):void 0;return o&&void 0!==t.accName?c(o.element)===t.accName?o:void 0:o},w=e=>"rowgroup"===e||"colgroup"===e,S=e=>e.getAttribute("headers")?Gt().Ay.idrefs(e,"headers").filter(g):[],x=e=>{const t=e.getAttribute("scope");return{isRowHeader:w(t)?"rowgroup"===t:Gt().Ay.table.isRowHeader(e),isColumnHeader:w(t)?"colgroup"===t:Gt().Ay.table.isColumnHeader(e)}},E=e=>{const{isRowHeader:t,isColumnHeader:n}=x(e);return n?"columnheader":t?"rowheader":null},O=(e,t,n,r)=>{const i=S(e);if(i.length)return i.flatMap(e=>{const t=r.get(e);return t?[f(t)]:[]});const s=new Map,a=(e,t)=>{const n=r.get(e);n&&s.set(e,o(o({},f(n)),t))},l=Gt().Ay.table.getCellPosition(e,t),c=e.colSpan-1,u=e.rowSpan-1,d=l.y,h=l.y+u,p=l.x,m=l.x+c;for(let r=0;r<t.length;r++){const o=t[r];for(let t=0;t<o.length;t++){const i=o[t],l=t>=p&&t<=m,c=r>=d&&r<=h;if(!l&&!c||i===e||s.has(i)||!Gt().Ay.isSRVisible(i))continue;if(!g(i)){n.find(e=>e.element===i)&&a(i,{mlOnly:!0});continue}const{isRowHeader:u,isColumnHeader:f}=x(i);(c&&u||l&&f)&&a(i)}}return Array.from(s.values())};function A(e,t){const n=async(n,r)=>(await t({scope:null==r?void 0:r.scope}),v(e(),n));tr().yS.listen("igt:table:get-tables",()=>{Gt().Ay.setupTrees();const t=e().values()||[];s("Getting tables from",{flatTree:t});const n=(0,nn().A)(t,b,!0).map(d);return Gt().Ay.cleanupTrees(),s("Got tables",{tables:n}),n}),tr().yS.listen("igt:table:map-user-selected",({message:t})=>{const{table:n}=t;s("Getting table",{table:n}),Gt().Ay.setupTrees();const r=v(e(),n),o=r?u(r):null;return Gt().Ay.cleanupTrees(),s("Got tables",{tableVNode:o}),o}),tr().yS.listen("igt:table:analyze-table",async({message:e})=>{const t={};s("Getting table",{table:e.table}),Gt().Ay.setupTrees();try{const c=await n(e.table,e.metadata);var r,i;if(!c)return s("Cannot analyze: the selector resolved to nothing",{selector:null===(r=e.table)||void 0===r?void 0:r.selector}),t;if(!m(c))return s("Cannot analyze a non-table element",{selector:null===(i=e.table)||void 0===i?void 0:i.selector,tagName:c.tagName}),o(o({},t),{},{type:"layout"});const u=c.element;t.hasHeaderMarkup=!!u.getAttribute("summary")||!!p(a,u).length;const d=Gt().Ay.table.toGrid(u),f=d.length,h=d.reduce((e,t)=>Math.max(e,t.length),0),b=new Map,v=new Map;let w=!1,S=!1;const x=new Set;for(let e=0;e<f;e++){const t=d[e];for(let n=0;n<h;n++){const r=t[n];if(!r||!Gt().Ay.isSRVisible(r))continue;x.add(r),r.getAttribute("headers")&&(S=!0);const o=Gt().Ay.table.isColumnHeader(r),i=Gt().Ay.table.isRowHeader(r);var l;if(g(r))r!==t[n+1]&&r!==(null===(l=d[e+1])||void 0===l?void 0:l[n])||(w=!0),o?v.set(e,(v.get(e)||0)+1):i&&b.set(n,(b.get(n)||0)+1)}}if(t.cellCount=x.size,y(c))return o(o({},t),{},{type:"layout"});w||S||(1===b.size&&1===v.size&&[f,f-1].includes(b.values().next().value)&&[h,h-1].includes(v.values().next().value)?t.type="one-header-row-and-column":1===b.size&&0===v.size&&b.values().next().value===f?t.type="one-header-column":0===b.size&&1===v.size&&v.values().next().value===h&&(t.type="one-header-row"))}finally{Gt().Ay.cleanupTrees()}return s("Got table metadata",{metadata:t}),t}),tr().yS.listen("igt:table:get-data-cells",async({message:t})=>{const r=new Map;s("Getting table",{table:t.table}),Gt().Ay.setupTrees();try{const a=await n(t.table,t.metadata);var i;if(!a||!m(a))return s("Cannot get data cells for a non-table element",{selector:null===(i=t.table)||void 0===i?void 0:i.selector,tagName:null==a?void 0:a.tagName}),[];const l=e(),c=[...l.values()||[]].reduce((e,t)=>(e.set(t.element,t),e),new Map),u=a.element,d=t.features.flatMap(({role:e,vnodeId:t})=>{if(!t||!["columnheader","rowheader"].includes(e))return[];return l.getById(t)||[]}),f=Gt().Ay.table.toGrid(u);for(let e=0;e<f.length;e++){const t=f[e];for(let n=0;n<t.length;n++){const i=t[n],s=c.get(i);if(!s)continue;const a=r.get(s.vnodeId);a?r.set(s.vnodeId,o(o({},a),{},{rowNumbers:[...new Set([...a.rowNumbers,e])],columnNumbers:[...new Set([...a.columnNumbers,n])]})):Gt().Ay.isSRVisible(i)&&!g(i)&&r.set(s.vnodeId,o(o({},h(s,{headerCells:O(i,f,d,c),rowNumbers:[e],columnNumbers:[n]})),{},{usesHeadersAttribute:S(i).length>0,mlIdentifiedAsHeader:d.some(e=>e.vnodeId===s.vnodeId)}))}}return s("Got data cells",{dataCells:r}),[...r.values()]}finally{Gt().Ay.cleanupTrees()}}),tr().yS.listen("igt:table:get-header-cells",async({message:t})=>{s("Getting header cells",{table:t.table}),Gt().Ay.setupTrees();try{const i=await n(t.table,t.metadata);var r;if(!i||!m(i))return s("Cannot get header cells for a non-table element",{selector:null===(r=t.table)||void 0===r?void 0:r.selector,tagName:null==i?void 0:i.tagName}),[];const a=e(),l=[...a.values()||[]].reduce((e,t)=>(e.set(t.element,t),e),new Map),c=i.element,u=Gt().Ay.table.toGrid(c),d=new Map;for(let e=0;e<u.length;e++){const t=u[e];for(let e=0;e<t.length;e++){const n=t[e],r=l.get(n);r&&!d.has(r.vnodeId)&&Gt().Ay.isSRVisible(n)&&g(n)&&d.set(r.vnodeId,o(o({},f(r)),{},{direction:E(n)}))}}return s("Got header cells",{headerCells:d}),[...d.values()]}finally{Gt().Ay.cleanupTrees()}}),tr().yS.listen("igt:table:get-all-possible-headers",({message:t})=>{const{table:n}=t;s("Getting table",{table:n}),Gt().Ay.setupTrees();try{const t=e(),r=t.values()||[],o=v(t,n);if(!o)return s("Cannot get possible headers: the selector resolved to nothing",{selector:null==n?void 0:n.selector}),[];const i=o.element,a=(0,nn().A)(r,e=>i.contains(e.element),!0).map(Ot().V);return s("Got all possible header nodes",{allPossibleHeaders:a}),a}finally{Gt().Ay.cleanupTrees()}}),tr().yS.listen("igt:table:map-user-selected-header-cells-for-data-cells",({message:t})=>{const{dataCells:n}=t;s("Mapping data cells",{dataCells:n}),Gt().Ay.setupTrees();const r=e(),i=n.map(e=>o(o({},e),{},{headerCells:e.headerCells.map(e=>e.userSelected?o(o({},e),f(r.getById(e.vnodeId))):e)}));return Gt().Ay.cleanupTrees(),s("Mapped data cells",{mappedDataCells:i}),i}),tr().yS.listen("igt:table:get-table-box",({message:t})=>{const{table:n}=t;s("Getting table",{table:n}),Gt().Ay.setupTrees();const r=v(e(),n);r||s("Cannot get the table box: the selector resolved to nothing",{selector:null==n?void 0:n.selector});const o=r?(0,Ot().V)(r,...r.children||[]).box:void 0;return Gt().Ay.cleanupTrees(),o||{x:0,y:0,width:0,height:0}}),tr().yS.listen("igt:table:extract-cells",async({message:t})=>{Gt().Ay.setupTrees();try{const i=await n(t.table,t.metadata);var r,o;if(!i)return s("Cannot extract cells: the selector resolved to nothing",{selector:null===(r=t.table)||void 0===r?void 0:r.selector}),{cells:[],rejection:"element-not-found"};if(!m(i))return s("Cannot extract cells for a non-table element",{selector:null===(o=t.table)||void 0===o?void 0:o.selector,tagName:i.tagName}),{cells:[],rejection:"element-not-a-table",resolvedTagName:i.tagName};const a=e().values()||[],c=new Map;for(const e of a)c.set(e.element,e);const u=i.element,d=Gt().Ay.table.toGrid(u),f=new Set,h=[];for(let e=0;e<d.length;e++){const t=d[e];for(let n=0;n<t.length;n++){const r=t[n];if(!r)continue;const o=c.get(r);if(!o||f.has(o.vnodeId))continue;if(f.add(o.vnodeId),!Gt().Ay.isVisible(r))continue;const i=`${l(n)}${e+1}`,s=(0,tn().Ay)(o),a={id:i,vnodeId:o.vnodeId.toString(),tagName:o.tagName,role:Gt().Ay.getRole(r),accName:(0,sn().Ay)(o,{},"accName").accName,box:s};h.push(a)}}return s("Extracted cells",{cells:h}),h.length?{cells:h}:{cells:h,rejection:"empty-grid"}}finally{Gt().Ay.cleanupTrees()}})}}),Pt=n.cw((e,t)=>{er(),tr(),fn(),Yt();const r={listen:(e,t)=>tr().yS.listen(e,t),unlisten:(e,t)=>tr().yS.unlisten(e,t),send:(e,t,n)=>(0,fn().A)(e,t,n),sendAll:(e,t)=>tr().yS.send(tr()._O.content,e,t,{allFrames:!0}),sendReply:(e,t)=>tr().yS.send(tr()._O.content,e,t)},o=()=>{let e;const t=new(er().Gq)({frameMessenger:r});return(0,Ht().$j)()&&(e=new(Yt().A)({treeBuilder:t})),e};n.d(t,["default",0,o])}),Nt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,["t",0,e=>o(o({},e),{},{textContent:e.element.textContent})])}),jt=n.cw((e,t)=>{n.d(t,["Ze",0,"igt:forms:describe-fields"])}),Rt=n.cw((e,t)=>{n.d(t,["r",0,e=>(e=>{const t=null==e?void 0:e.trim();return t?t.length>300?t.slice(0,300):t:null})(e.element.textContent)])}),kt=n.cw((e,t)=>{tr();n.d(t,["C",0,e=>e.flat().join("|")])}),Mt=n.cw(()=>{Mn()}),_t=n.cw((e,t)=>{n.d(t,["e",0,{4.11:"4.11.4",4.12:"4.12.1","4.12.0":"4.12.0","4.12.1":"4.12.1","4.11.4":"4.11.4","4.9.0":"4.9.0",4.9:"4.9.1","4.9.1":"4.9.1","4.10.0":"4.10.0","4.10":"4.10.3","4.10.1":"4.10.1","4.10.2":"4.10.2","4.10.3":"4.10.3",4.13:"4.13.0","4.13.0":"4.13.0"}])}),Dt=n.cw((e,t)=>{n.d(t,{sp:()=>i});const r="data-axe-inspect-target",o=1e3;function i(e,t,n){for(const t of e.querySelectorAll(`[${r}]`))t.removeAttribute(r);t.setAttribute(r,n),setTimeout(()=>{t.getAttribute(r)===n&&t.removeAttribute(r)},o)}}),Lt=n.cw((e,t)=>{function r(e){return e instanceof Error?{error:{name:e.name,message:e.message,stack:e.stack??""}}:{error:{name:"NonError",message:String(e),stack:""}}}n.d(t,{a:()=>r})}),Ft=n.cw((e,t)=>{n.d(t,["AI",0,(e,t)=>e.left>=t.left&&e.top>=t.top&&e.right<=t.right&&e.bottom<=t.bottom])}),Vt=n.cw((e,t)=>{function r(e){return e.replace(/\s+/g," ")}n.d(t,{D:()=>r})}),Bt=n.cw((e,t)=>{function r(e){e&&"function"==typeof e.focus&&e.focus()}n.d(t,{A:()=>r})}),Ht=n.cw((e,t)=>{n.d(t,["$j",0,(e=window)=>window.top===e,"CR",0,(e=[])=>{let t=0,n=0,r=0;for(const i of e){var o;const e=null!=i&&i.isFrame?i.element:null;if(!e)continue;const s=e.getBoundingClientRect(),a=((null===(o=e.ownerDocument)||void 0===o?void 0:o.defaultView)??window).getComputedStyle(e);t+=s.left+Math.max(parseFloat(a.borderLeftWidth)||0,0)+Math.max(parseFloat(a.paddingLeft)||0,0),n+=s.top+Math.max(parseFloat(a.borderTopWidth)||0,0)+Math.max(parseFloat(a.paddingTop)||0,0),r+=1}return{left:t,top:n,frameCount:r}},"J6",0,e=>e.origin===window.location.origin])}),$t=n.cw((e,t)=>{n.d(t,{s:()=>o}),eo();const r=eo().El.lU.match(/(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)/).groups;function o(e){return!e||"latest"===e||e===`${r.major}.${r.minor}`||e===`${r.major}.${r.minor}.${r.patch}`}}),Wt=n.cw((e,t)=>{n.d(t,["y",0,e=>new Promise(t=>setTimeout(t,e))])}),zt=n.cw((e,t)=>{function r(e){if(!e||"latest"===e)return"latest";if(Object.keys(_t().e).find(t=>t===e))return e;const t=Object.values(_t().e),n=oo()()(t,`>=${e}`);if(!n)return"latest";const r=Object.entries(_t().e);for(const[e,t]of r)if(t===n)return e}function o(e){return Object.keys(_t().e).includes(null==e?void 0:e.toString())}n.d(t,{Ay:()=>o,_o:()=>r}),Dn(),zn(),eo()}),Gt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{gi:()=>c,pK:()=>u,rJ:()=>Ut().rJ}),Ut();const s=o({sanitize:e=>(0,Ut().rJ)().commons.text.sanitize(e),sanitizeContext:l,isValidLang(e){const t=(0,Ut().rJ)();return!!e&&t.utils.isValidLang(e)},hasContent(e){const t=(0,Ut().rJ)(e),n=p(t,e);return!!n&&t.commons.dom.hasContentVirtual(n)},getRequiredContext(e){const t=(0,Ut().rJ)();return e?t.commons.aria.requiredContext(e):[]},isOffscreen:(...e)=>(0,Ut().sb)(e.map(d)),isVisible:(e,t=!1)=>!!e.ownerDocument.defaultView&&(0,Ut().sb)(function(e,t){const n=(0,Ut().rJ)(e,t);t&&(n.teardown(),n.setup());return n.commons.dom.isVisible(e,!1,!0)}(e,t)),isSRVisible:(...e)=>(0,Ut().sb)(e.map(f)),isOpaque:(...e)=>(0,Ut().sb)(e.map(m)),getRoleType:(...e)=>(0,Ut().sb)(e.map(h)),runContrastAnalysis:e=>async function(e){const t=(0,Ut().rJ)();y();try{var n,r;const i=await t.run(Array.isArray(e)?e.map(l):l(e),{runOnly:{type:"rule",values:["color-contrast"]},restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations"]}),s=null==i||null===(n=i.violations)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.nodes;return(null==s||null===(r=s.map)||void 0===r?void 0:r.call(s,e=>{const t=e.any[0],n=["fgColor","bgColor","contrastRatio","expectedContrastRatio"],r=parseInt(t.data.fontSize.split(" ")[0]),i="bold"===t.data.fontWeight;return{data:o(o({},Object.fromEntries(Object.entries(t.data).filter(([e])=>n.includes(e)))),{},{fontSize:r,isBold:i}),selector:e.target}}))||[]}catch(e){console.error(e)}finally{a(document.body)}return[]}(e),isWidgetRole:e=>(0,Ut().rJ)().commons.aria.lookupTable.rolesOfType.widget.includes(e),isLandmarkRole:e=>"landmark"===(0,Ut().rJ)().commons.aria.getRoleType(e),isFocusable:(...e)=>(0,Ut().sb)(e.map(g)),getTabbableElements:e=>function(e){const t=(0,Ut().rJ)(e,!0),n=p(t,e);return t.commons.dom.getTabbableElements(n).map(({actualNode:e})=>e)}(e),getFlattenedTree:a,getSource(e){if(e.nodeType!==Node.ELEMENT_NODE)return null;return new((0,Ut().rJ)().utils.DqElement)(e).source},getSelector(e){const t=(0,Ut().rJ)();return t._selectorData||(t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree())),t.utils.getSelector(e)},getElementStack(e,t=!0){const n=(0,Ut().rJ)();return t&&(n.teardown(),n.setup()),n.commons.dom.getElementStack(e)},idrefs:(e,t)=>(0,Ut().rJ)(e).commons.dom.idrefs(e,t),nativeTextAlternative(e){const t=(0,Ut().rJ)(e),n=p(t,e);return n?t.commons.text.nativeTextAlternative(n):""},table:{isRowHeader:e=>(0,Ut().rJ)(e).commons.table.isRowHeader(e),isColumnHeader:e=>(0,Ut().rJ)(e).commons.table.isColumnHeader(e),toGrid(e){const t=(0,Ut().rJ)(e);return t.teardown(),t.setup(),t.commons.table.toGrid(e)},getCellPosition:(e,t)=>(0,Ut().rJ)(e).commons.table.getCellPosition(e,t),traverse(e,t,n,r){var o;if(null===(o=n[0])||void 0===o||!o[0])return;return(0,Ut().rJ)(n[0][0]).commons.table.traverse(e,t,n,r)}},setupTrees:function(){y(),Ut().OD.clear()},cleanupTrees:y,isAxeSetUp:e=>!!(0,Ut().rJ)(e)._tree},Ut().Ay);function a(e){const t=(0,Ut().rJ)(),n=t.utils.getFlattenedTree(e.ownerDocument);return Ut().OD.set(t,n),n}function l(e){if(!e.ownerDocument||e.ownerDocument===document)return e;const t=(0,Ut().rJ)();t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree());const n=[t.utils.getSelector(e)];let r=e.ownerDocument.defaultView.frameElement;for(;r;)n.unshift(t.utils.getSelector(r)),r=r.contentWindow.parent.frameElement;return n.flat()}function c(e){return!!(0,Ut().rJ)(e).utils.getNodeFromTree(e)}function u(e=document.documentElement){try{return!!(0,Ut().rJ)(e,!1)}catch{return!1}}function d(e){return(0,Ut().rJ)(e).commons.dom.isOffscreen(e)}function f(e){return(0,Ut().rJ)(e).commons.dom.isVisible(e,!0,!1)}function h(e){const t=(0,Ut().rJ)(e),n=function(e){return(0,Ut().rJ)(e).commons.aria.implicitRole(e)}(e),r=t.commons.aria.lookupTable.role[n];return r&&r.type}function p(e,t){let n=Ut().OD.get(e);return n||(n=e.utils.getFlattenedTree(t.ownerDocument),Ut().OD.set(e,n)),e.utils.getNodeFromTree(n[0],t)}function m(e){return(0,Ut().rJ)(e).commons.dom.isOpaque(e)}function g(e){const t=(0,Ut().rJ)(e);return c(e)?t.commons.dom.isFocusable(e):void 0}function y(){Ut().OD.forEach((e,t)=>{t.teardown(),Ut().OD.delete(t)})}n.d(t,["Ay",0,s])}),Ut=n.cw((e,t)=>{n.d(t,{rJ:()=>s});const r=new Map,o=e=>1===e.length?e[0]:e,i={isHidden:(...e)=>o(e.map(l)),name:(...e)=>o(e.map(a)),getRole:(...e)=>o(e.map(c)),getContrast:(...e)=>o(e.map(u))};function s(e=document.documentElement,t=!1){var n;const o=e.ownerDocument,i=o.defaultView;if(!i)throw new ReferenceError("no context was found for this node");const s=i.axe;if(!s)throw new ReferenceError("axe was not found in this context");const a=null===(n=r.get(s))||void 0===n?void 0:n[0];return(t||!r.has(s)||a&&!s.utils.getNodeFromTree(a,e))&&r.set(s,s.utils.getFlattenedTree(o)),s}function a(e){const t=s(e),n=function(e,t){let n=r.get(e);n||(n=e.utils.getFlattenedTree(t.ownerDocument),r.set(e,n));return e.utils.getNodeFromTree(n[0],t)}(t,e);return n?t.commons.text.accessibleTextVirtual(n):""}function l(e){return s(e).commons.utils.isHidden(e)}function c(e){const t=s(e);return function(e){return!!s(e).utils.getNodeFromTree(e)}(e)?t.commons.aria.getRole(e):null}function u(e){const t=s(e);let n;try{const r=t.commons.color.getForegroundColor(e),o=t.commons.color.getBackgroundColor(e);n=t.commons.color.getContrast(o,r)}catch(e){console.error(e)}return n}n.d(t,["Ay",0,i,"OD",0,r,"sb",0,o])}),qt=n.cw((e,t)=>{function r(e){return e.map(e=>Array.isArray(e)?e.filter(e=>"shadow-root"!==e):"shadow-root"===e?"":e).flat().reduce((e,t)=>{const n=(null==e?void 0:e.contentDocument)||(null==e?void 0:e.shadowRoot)||e;return null==n?void 0:n.querySelector(t)},document)}n.d(t,{A:()=>r})}),Yt=n.cw((e,t)=>{n.d(t,{A:()=>l}),jn(),er(),Rn(),Zn(),or(),Kt(),an(),Zt(),ln(),tr(),St(),kt(),ht();const r=["scope"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=to()()("walnut-chrome:content:events");class l{constructor({treeBuilder:e}={}){this.treeBuilder=e,this.runtimeListener(),this.pageUnLoadListener(),this.cache={},this.autoSetup=!1,this.selected=[],this.axeResult=null,or().listeners.initContentBridgeListeners(tr().yS),this.isSameElement=(e,t)=>{if(!e||!t)return!1;if(!this.cache.tree)return null;const n=this.cache.tree.querySelector(e.selector),r=this.cache.tree.querySelector(t.selector);return!(!n||!r)&&n===r},this.findNode=e=>{if(!this.cache.tree)return null;const t=this.cache.tree.querySelector(e.selector);return t&&this.cache.tree.get(t)?JSON.parse(this.cache.tree.safe(this.cache.tree.get(t))):null},tr().yS.listen("request-axe-results",({message:e})=>this.sendAxeResults(e)),tr().yS.listen("scope:reset",()=>{this.mouseSelection&&this.mouseSelection.removeAllSelections()}),tr().yS.listen("guide:check-vitals",async({message:e})=>{await this.buildTree({value:{manifest:{metadata:{tree:e.vitals}}},vitals:e.vitals}),tr().yS.send(tr()._O.devtools,"guide:check-vitals:complete")}),tr().yS.listen("hide-scrollbars",()=>this.hideScrollbars()),tr().yS.listen("show-scrollbars",()=>this.showScrollbars()),tr().yS.listen("dom-walker-jump",({message:e})=>{tr().yS.send(tr()._O.devtools,"dom-walker-jump",e)}),tr().yS.listen("build-virtual-tree",async({message:e})=>{try{return await this.buildTree(e,!0)}catch(e){return a("build-virtual-tree failed",e),(0,Lt().a)(e)}}),tr().yS.listen("groot:find-vnode-by-selector",({message:e})=>{const t=e.key;if(this.cache.tree)try{return this.cache.tree.selectOne(t)}catch{return}}),tr().yS.listen("selector-search",({message:e})=>{const t=e.key;if(!this.cache.tree)return[];try{const e=this.cache.tree.selectAll([t],{isRelativeSelector:!0}).map(e=>e.vnodeId);return e.length&&tr().yS.send(tr()._O.devtools,"dom-walker-jump",{value:{vnodeId:e[0]}}),e}catch{return[]}}),tr().yS.listen("groot:find-vnode",({message:e})=>this.findNode(e)),tr().yS.listen("groot:get-ids-by-selectors",({message:e=[]})=>{const t=this.cache.flat.reduce((e,t)=>(e[(0,kt().C)(t.selector)]=t.vnodeId,e),{});return e.map(e=>t[e])}),tr().yS.listen("groot:is-same-element",({message:{vnode:e,compareVnode:t}})=>this.isSameElement(e,t)),tr().yS.listen("groot:find-same-elements",({message:e})=>{const{vnodes:t=[],compareVNodes:n=[]}=e,r={sameInVNodes:[],sameInCompareVNodes:[],uniqueInVNodes:[]};if(!Array.isArray(t)||!Array.isArray(n))return a("groot:find-same-elements:invalid-message",{vnodes:t,compareVNodes:n}),r;const o=t.reduce((e,t)=>{const n=this.findNode(t);return n&&e.push(i(i({},t),n)),e},[]),s=n.reduce((e,t)=>{const n=this.findNode(t);return n&&e.push(i(i({},t),n)),e},[]);for(const e of o){const t=s.findIndex(t=>this.isSameElement(e,t));-1!==t?(r.sameInVNodes.push(e),r.sameInCompareVNodes.push(s[t]),s[t]=null):r.uniqueInVNodes.push(e)}return r.uniqueInCompareVNodes=s.filter(Boolean),r}),(0,Zt().nC)(()=>this.cache.tree),(0,St().A)({getTree:()=>this.cache.tree,getFlatTree:()=>this.cache.flat,buildTree:this.buildTree.bind(this)}),this.attachIGTHighlightListeners()}attachIGTHighlightListeners(){tr().yS.listen("igt:highlight",async({message:e})=>{const{vnodes:t,options:n,vnodeIds:r,scrollIntoView:o=!1}=e;let i=t;!t&&r&&(i=r.map(e=>this.cache.tree.getById(e))),await this.highlightNodes(i,n,o)}),tr().yS.listen("igt:scroll-into-view",async({message:e})=>{const{vnodeId:t}=e,[n]=await this.getHighlightNodes([t]);null==n||n.scrollIntoView(ar().mq)}),tr().yS.listen("igt:vnodes:exist",async({message:e})=>{const{vnodeIds:t=[]}=e;return this.cache.tree?await(0,ht().c)(this.cache.tree,t):{exists:!1}}),tr().yS.listen("igt:inspect:tag-vnode",async({message:e})=>{const{vnodeId:t,token:n}=e;if(!this.cache.tree)return{tagged:!1,frameURL:null};const{tagged:r,frameURL:o}=await(0,ht().i)(this.cache.tree,document,t,n);return{tagged:r,frameURL:o}}),tr().yS.listen("igt:highlight:remove",async({message:e})=>{const t=await this.getHighlightNodes(e.vnodeIds||[]);for(const e of t)(0,lr().Ay)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}),tr().yS.listen("igt:selection:add",({message:e})=>{this.handleHighlight("addSelection",{theme:"selected",vnodeId:e.vnodeId},{showTooltip:!1},!0)}),tr().yS.listen("igt:selection:remove",({message:e})=>{this.handleHighlight("removeSelection",{theme:"selected",vnodeId:e.vnodeId})}),tr().yS.listen("igt:selection:remove-all",async()=>{await this.mouseSelection.removeAllSelections()}),tr().yS.listen("igt:selections:set",async({message:e})=>{if(e.cleanup){const t=await this.getHighlightNodes(e.vnodeIds||[]);this.selections=t,await this.handleHighlight("setSelections",{vnodeId:[]})}await this.handleHighlight("setSelections",{theme:"selected",vnodeId:e.vnodeIds},e.highlighterOptions||{},e.scrollFirstIntoView??!0)})}pageUnLoadListener(){window.addEventListener("beforeunload",()=>{this.autoSetup&&(0,Zt().jj)()})}runtimeListener(){tr().yS.listen(async({topic:e="",message:t})=>{const[n,r]=e.split(":");"guide"===n&&await this.handleTestMessage(i({type:r},t))})}async sendAxeResults(e){let{scope:t}=e;const n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,r)||this.axeResult;if(!n)return;const o={};try{o.results=n,o.pageTitle=document.title,o.metadata=(0,an().A)(),o.metadata.scope=t}catch(e){return{error:{stack:e.stack,message:e.message}}}return o}getScopeVNode(){const e=this.mouseSelection&&this.mouseSelection.selections,t=e&&[...e][0];return t&&this.cache.tree.getById(t)}getScope(){const e=this.getScopeVNode();return e&&e.element||document}customHandler(e){if(this.keyboardTool&&"get-tab-data"===e)return this.keyboardTool.tabData}async handleTestMessage(e){a("message received:",e);const{type:t,value:n,args:r=[],vitals:o=[]}=e;switch(t){case"clearHighlight":case"setHighlight":case"highlight":case"removeHighlight":case"addSelection":case"removeSelection":case"setSelections":this.handleHighlight(t,n);break;case"refresh-tools":case"build-tree":await this.buildTree({value:n,context:document.body,scope:e.ignoreScope?null:e.scope,vitals:o,includeCrossOrigin:e.includeCrossOrigin});break;case"dom-walker-change":this.handleDomWalkerChange(n);break;case"mouse-selection":(!this.cache.tree||e.rebuildTree&&"disable"!==n)&&await this.buildTree({value:{},includeCrossOrigin:e.includeCrossOrigin}),await this.mouseSelection[n].apply(this.mouseSelection,r.concat([e.manifest])),"disable"===n&&this.mouseSelection.cleanUp();break;case"fire-resize":{const e=new Event("resize");window.dispatchEvent(e);break}case"get-auto-setup":(0,ln().J8)(this.autoSetup?"start":"stop");break;case"request-axe-results":this.sendAxeResults();break;case"axe-result":this.axeResult=n}}async buildTreeForAnalytics(){await(0,Zn().A)();const e={rejectTags:["script","style",ar().wZ]};return this.treeBuilder.buildTree(e)}async buildTree({value:e,context:t=document.body,scope:n,vitals:r,includeCrossOrigin:o=!1}={},i){const s=e&&"object"==typeof e?e.manifest:e,l=bo()()(s,"metadata.tree",[]),c=[];let u=!0;await(0,Zn().A)(),await tr().yS.send(tr()._O.devtools,"guided:inject-axe");const d={allowAttrs:["data-.*","aria-.*","method","action","class","id","xlink:href","role","name","src","type","for","title","lang","headers","scope","list"],listeners:{create:o?[]:[ln().wj],update:o?[]:[ln().wj],discard:e=>c.push(e)},rejectTags:["script","style",ar().wZ],acceptNode:e=>{if(!e.contentWindow)return!0;try{return!!e.contentWindow.axe}catch{return o}}};let f,h;if(o&&this.treeBuilder)f=h=await this.treeBuilder.buildTree(d);else{if(f=new(er().Ay)(d),n){const e=[];e.push(()=>f.querySelector(n.selector)),n.fallbackSelector&&e.push(()=>f.querySelector(n.fallbackSelector)),e.push(()=>f.findOne(n,{findOneTimeLimit:2e3}));for(const t of e){const e=t();if(e){n.element=e;break}}n.element?t=n.element:u=!1}a("Building virtual tree from ",{manifestTree:l}),h=await f.from(l,document.body),null!=n&&n.element&&(h.forEach(e=>{e.element===n.element||e.ancestors.find(e=>e.element===n.element)||h.delete(e.element)}),h.setSeed(n.vnodeId)),c.length&&(0,ln().S9)({discarded:c,scope:n,groot:f,tree:h,vitals:r})}return this.cache.tree=globalThis.tree=h,this.cache.flat=Array.from(h.values()).map(st().A),this.mouseSelection?await this.mouseSelection.update(h,o):this.mouseSelection=new(Kt().A)(h,s,o),await this.mouseSelection.initHighlighter(),a("Built virtual tree",this.cache.flat),tr().yS.send(tr()._O.devtools,"guide:return-tree",{tree:h,scopePresent:u,discarded:c}),i?n&&u?this.cache.tree.safe(this.cache.tree.get(n.element)):null:t}async handleHighlight(e,t,n,r=!1){a("handleHighlight",{type:e,value:t});let o=["highlight","select"].includes(e)||r;if(!t){if("clear"===("clearHighlight"===e?"clear":"refresh")&&(this.selected=[]),(0,lr().OA)()){const{clearHighlights:e}=await(0,lr().Ay)();e()}return}const{vnodeId:s,theme:l}=t;if(!this.cache.tree||void 0===s)return;const c=[].concat(s),u=await this.getHighlightNodes(c),{createHighlighter:d}=await(0,lr().Ay)();if("removeHighlight"===e){if(1===u.length&&this.selected.includes(u[0]))return void(0,lr().Ay)().then(({highlighters:e})=>{const[t]=u,n=e.get(t);n.setOptions({showTooltip:!1,showMetadata:!1}),n.updatePosition()});for(const e of u)(0,lr().Ay)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}if("removeSelection"===e){this.selected=this.selected.filter(e=>!u.includes(e));for(const e of u)(0,lr().Ay)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}"setSelections"===e&&(o=o||1===u.length,await Promise.all(this.selected.map(async e=>{var t;const{highlighters:n}=await(0,lr().Ay)();null===(t=n.get(e))||void 0===t||t.destroy()})),this.selected=u),"addSelection"===e&&this.selected.push(...u);let f=!1;for(const e of u){const t=this.cache.tree.get(e),r=d(e,(null==t?void 0:t.selector)||e.selector);r.highlight(i({theme:l||"selected",showMetadata:!1,showTooltip:!1},n)),o&&!f&&(r.scrollIntoView(),f=!0)}}async highlightNodes(e,t,n){const{createHighlighter:r}=await(0,lr().Ay)(),o=(e||[]).filter(e=>null!=e),s=await this.getHighlightNodes(o.map(({vnodeId:e})=>e)),a=e=>{if(e.mlOnly)return"ml"};s.forEach((e,s)=>{const l=this.cache.tree.get(e),c=r(e,(null==l?void 0:l.selector)||e.selector);c.highlight(i(i({theme:a(o[s])||"selected",showMetadata:!1,showTooltip:!1},t),o[s].highlightOptions)),n&&0===s&&c.scrollIntoView()})}async getHighlightNodes(e){const t=[];for(const n of e){const e=this.cache.tree.getById(n);if(e){const n=await(0,ze().A)(e);n&&t.push(n)}}return Promise.all(t)}handleDomWalkerChange(e){var t;const n=this.cache.tree.getById(e.vnodeId);n&&(!0!==e.skipHover&&this.mouseSelection.hover(n),null===(t=(0,lr().yW)())||void 0===t||null===(t=t.highlighters.get(n.element))||void 0===t||t.scrollIntoView())}hideScrollbars(){this.scrollbarStyle=document.createElement("style"),this.scrollbarStyle.innerHTML="*::-webkit-scrollbar { display: none !important }",document.head.appendChild(this.scrollbarStyle)}showScrollbars(){this.scrollbarStyle&&(document.head.removeChild(this.scrollbarStyle),this.scrollbarStyle=null)}}}),Xt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>c}),Rn(),Jt(),tr(),Gt(),lt(),ut();const s={textarea:3,"datetime-local":10},a=()=>tr().yS.send(tr()._O.background,"tab-record:fire-tab"),l=Object.freeze({recordingKeyboardTrapEscape:!1,finalizingKeyboardTrapEscape:!1,returnedToStartWhileEscapingKeyboardTrap:!1,addedNewTabstopDuringEscapeAttempt:!1,listenersAttached:!1,isAutoEscape:!1,isLastAttempt:!1});class c{handleFinalizingTrap(e=!1,t=!1,n="escape-finalize-hit-visited-tab-stop"){const r=(0,Jt().CL)({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});clearTimeout(this.focusTimeout);const i=this.trapEscapeState.isAutoEscape?!e&&this.trapEscapeState.isLastAttempt&&t:t;i&&(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),e&&!i||this.detachListeners();const s=this.trapEscapeState.isAutoEscape?tr()._O.background:tr()._O.devtools;return this.trapEscapeState=o({},l),this.retryTabKeyPressCount=0,tr().yS.send(s,"tab-record:trap-escape-done",o(o(o({},r),i?{tabbingStoppedReason:n}:{}),{},{escapedToNewVnode:e,tabbingComplete:i}))}onFocus(e){const[t]=this.overrideFocusVnode&&[...this.tabStops.entries()].find(([,e])=>e.vnodeId===this.overrideFocusVnode.vnodeId)||[];if(t&&document.activeElement!==t&&e.relatedTarget!==t)return this.overrideFocusVnode=null,void t.focus();this.overrideFocusVnode=null;const n=e.composedPath();this.focusHandler(n[0]||e.target)}async focusHandler(e){var t;const n=this.runEpoch,r=()=>this.runEpoch!==n;if(this.ignoreNextFocusOn){const t=e===this.ignoreNextFocusOn;if(this.ignoreNextFocusOn=null,t)return clearTimeout(this.focusTimeout),void this.setFocusTimeout()}const o=e&&e.matches&&e.matches(Jt().Gv),i=this.tabStops.has(e);i||(this.retryTabKeyPressCount=0);const s=!this.firstTabStop&&!i;s&&(this.firstTabStop=e);const l=()=>{s&&this.firstTabStop===e&&(this.firstTabStop=null)};if(!this.unscopedCache.tree.get(e)){const{cache:e,unscopedCache:t}=await this.buildTreeCache();this.cache=e,this.unscopedCache=t}const c=this.keyboardScope&&!this.cache.tree.get(e),u=!!this.tabStops.size,d=this.visitedElements.has(e);this.visitedElements.add(e);const f=i||c&&(u||d);this.cleanupKeyupTarget(),clearTimeout(this.focusTimeout);const h=e===this.firstTabStop||this.tabStops.keys().next().value===e;if(this.trapEscapeState.finalizingKeyboardTrapEscape&&i)return this.handleFinalizingTrap(h||this.trapEscapeState.addedNewTabstopDuringEscapeAttempt||this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap,i);if(this.trapEscapeState.recordingKeyboardTrapEscape&&f)return i&&h&&(this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap=!0),void l();if("closed"===await tr().yS.send(tr()._O.background,"dom:get-active-element-shadow-root-type"))return this.trapEscapeState.recordingKeyboardTrapEscape||(this.setFocusTimeout(500),a()),void l();if(this.trapEscapeState.recordingKeyboardTrapEscape||this.setFocusTimeout(),f){if(this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!0,!0,"escape-finalize-focus-left-scope");l();const t=e===this.firstTabStop||this.tabStops.keys().next().value===e,n=this.keyboardTrapsEnabled&&i&&!t&&0===this.retryTabKeyPressCount;return this.onTabbingComplete(n?{trappedVnode:this.tabStops.get(e)}:{reason:i?t?"focus-looped-to-first-tab-stop":"focus-returned-to-visited-tab-stop":"focus-left-scope"})}if(!this.trapEscapeState.recordingKeyboardTrapEscape&&(c&&!u||!this.cache.tree.get(e)))return a(),void l();if(await(0,ct().M)(e,1e3),await(0,ut().a)(e),r())return;const p=(0,Ut().rJ)(e);p.teardown(),p.setup();const m=(0,Jt().BY)(e,this.cache.tree,!1),g=await tr().yS.send(tr()._O.devtools,"tab-record:screenshot",{vnode:m});m.focusedCaptureStale=(0,qe().M)(g,e,null===(t=this.cache.tree.get(e))||void 0===t?void 0:t.ancestors),m.focusedCapture=g??void 0,m.source=Gt().Ay.getSource(e);const y=(await Gt().Ay.runContrastAnalysis(e))[0];m.focusedContrastResult=null==y?void 0:y.data;const b=e=>{var t;return!(null!==(t=e.getRootNode().host)&&void 0!==t&&t.matches(ar().wZ))};try{const[t]=Gt().Ay.getElementStack(e,!1).filter(b);m.elementObscured=!!t&&t!==e}catch{m.elementObscured=!1}if(!r()){if(this.tabStops.set(e,m),this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!0);o&&this.handleMultiTabstopElement(e),this.trapEscapeState.recordingKeyboardTrapEscape?this.trapEscapeState.addedNewTabstopDuringEscapeAttempt=!0:(tr().yS.send(tr()._O.devtools,"tab-record:count",this.tabStops.size),tr().yS.send(tr()._O.background,"tab-record:fire-tab"))}}attachListeners(){this.trapEscapeState.listenersAttached||(this.focusListenerTargets=new Set([document,...(0,Jt().$t)(this.unscopedCache),...(0,Jt().CG)(this.unscopedCache)]),this.focusListenerTargets.forEach(e=>{e.addEventListener("focus",this.onFocus,!0)}),this.submitListenerTargets=new Set((0,Jt().Uq)(this.cache)),this.submitListenerTargets.forEach(e=>{e.addEventListener("submit",this.onSubmit,!0);try{const t=e.submit;e.submit=()=>{this.submittedForms.add(e),t.call(e)},this.submitRestoreHandlers.add(()=>{e.submit=t})}catch{}}),this.replayer.attach(),tr().yS.listen("tab-record:new-window:launched",this.onNewWindowLaunched),this.trapEscapeState.listenersAttached=!0)}setKeyboardTrapEscapeState(e=!1,t=null,n=!1,r=!1){if(this.trapEscapeState.recordingKeyboardTrapEscape=e,this.trapEscapeState.isAutoEscape=n,this.trapEscapeState.finalizingKeyboardTrapEscape=!1,this.trapEscapeState.isLastAttempt=r,e)if(n){var o;const e=this.cache.tree.getById(t.vnodeId);null==e||null===(o=e.element)||void 0===o||o.focus()}else this.overrideFocusVnode=t;this.attachListeners()}constructor({manifest:e,cache:t,unscopedCache:n,highlighter:r,hideScrollbars:c,showScrollbars:u,buildTreeCache:d,keyboardTrapsEnabled:f}){i(this,"retryTabKeyPressCount",0),i(this,"tabStops",new Map),i(this,"visitedElements",new Set),i(this,"focusListenerTargets",new Set),i(this,"submitListenerTargets",new Set),i(this,"submittedForms",new Set),i(this,"submitRestoreHandlers",new Set),i(this,"launchedWindowOnFocus",new Set),i(this,"_isCleanedUp",!1),i(this,"runEpoch",0),i(this,"overrideFocusVnode",null),i(this,"ignoreNextFocusOn",null),i(this,"lastResumeTarget",null),i(this,"firstTabStop",null),i(this,"trapEscapeState",o({},l)),i(this,"isCleanedUp",()=>this._isCleanedUp),i(this,"cleanupAfterTabbing",({hasTrappedVnode:e=!1}={})=>{clearTimeout(this.focusTimeout),this.removeKeyboardScopeTabIndex&&this.keyboardScope.element.removeAttribute("tabindex"),e||(document.activeElement&&document.activeElement.blur(),this.keyboardScope=null,this.resetState(),this._isCleanedUp=!0),this.showScrollbars()}),i(this,"onTabbingComplete",async({trappedVnode:e,reason:t}={})=>{const n=(0,Jt().CL)({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});n.tabbingStoppedReason=this.keyboardTrapsEnabled&&e?"keyboard-trap-detected":t,e||(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),this.cleanupAfterTabbing({hasTrappedVnode:!!e}),await tr().yS.send(tr()._O.background,"tab-record:stop"),this.keyboardTrapsEnabled&&e?tr().yS.send(tr()._O.devtools,"tab-record:trapped",{trappedVnode:e,tabData:n}):tr().yS.send(tr()._O.devtools,"tab-record:complete",n)}),i(this,"setFocusTimeout",(e=1e4)=>{this.trapEscapeState.recordingKeyboardTrapEscape||(this.focusTimeout=setTimeout(async()=>{const e=!!document.activeElement&&await tr().yS.send(tr()._O.background,"dom:get-active-element-shadow-root-type");if(document.activeElement&&("IFRAME"===document.activeElement.tagName||"closed"===e))return this.setFocusTimeout(500),void a();if("user-agent"===e){const e=s[document.activeElement.tagName.toLowerCase()]||5;return this.keyboardTrapsEnabled&&this.retryTabKeyPressCount>=e?this.trapEscapeState.finalizingKeyboardTrapEscape?this.handleFinalizingTrap(!1):void this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)}):(++this.retryTabKeyPressCount,this.setFocusTimeout(500),void a())}const t=(e=document)=>!!this.tabStops.has(e.activeElement)||!!e.activeElement.shadowRoot&&t(e.activeElement.shadowRoot);if((document.activeElement===document.body||t())&&this.retryTabKeyPressCount<3)return this.setFocusTimeout(500),tr().yS.send(tr()._O.background,"tab-record:fire-tab"),void this.retryTabKeyPressCount++;if(this.trapEscapeState.finalizingKeyboardTrapEscape){const e=document.activeElement===document.body&&!t();return this.handleFinalizingTrap(e||this.trapEscapeState.addedNewTabstopDuringEscapeAttempt||this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap,e,"escape-finalize-focus-lost-to-body")}if(!(this.keyboardTrapsEnabled&&t()&&this.tabStops.size>1))return document.activeElement&&document.activeElement!==document.body&&!t()&&this.retryTabKeyPressCount<3?(this.retryTabKeyPressCount++,this.setFocusTimeout(500),void this.focusHandler(document.activeElement)):void this.onTabbingComplete({reason:document.activeElement===document.body?"focus-lost-to-body":"focus-timeout-without-new-tab-stop"});this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)})},e))}),i(this,"onSubmit",e=>{this.submittedForms.add(e.target)}),i(this,"detachListeners",()=>{this.focusListenerTargets.forEach(e=>{e.removeEventListener("focus",this.onFocus,!0)}),this.submitListenerTargets.forEach(e=>{e.removeEventListener("submit",this.onSubmit,!0)}),this.submitRestoreHandlers.forEach(e=>{e()}),tr().yS.unlisten("tab-record:new-window:launched",this.onNewWindowLaunched),this.focusHandler.resetDebounce(),this.runEpoch++,this.trapEscapeState.listenersAttached=!1}),i(this,"resetState",e=>{var t;e||tr().yS.send(tr()._O.background,"tab-record:new-window-listener:detach"),this.detachListeners(),this.ignoreNextFocusOn=null,this.lastResumeTarget=null,this.firstTabStop=null,this.tabStops.clear(),this.visitedElements.clear(),this.focusListenerTargets.clear(),this.submitListenerTargets.clear(),this.submittedForms.clear(),this.submitRestoreHandlers.clear(),this.launchedWindowOnFocus.clear(),document.documentElement.style.cursor="",document.documentElement.style.pointerEvents="",tr().yS.unlisten("tab-record:finalize-escape-trap",this.onFinalizeTrap),tr().yS.unlisten("tab-record:user-stopped",this.onUserStopped),tr().yS.unlisten("tab-record:cleanup",this.cleanupAfterTabbing),tr().yS.unlisten("tab-record:continue-tabbing",this.onContinueTabbing),tr().yS.unlisten("tab-record:detach-listeners",this.detachListeners),tr().yS.unlisten("attach:failed",this.handleAttachFailed),null===(t=this.unlistenInitialFocus)||void 0===t||t.call(this)}),i(this,"onNewWindowLaunched",()=>{this.launchedWindowOnFocus.add(document.activeElement)}),i(this,"scopeKeyboardSetup",()=>{if(!bo()()(this.manifest,"metadata.scope",void 0))return;const[e]=this.cache.flat;if(!e)return;e.element.getAttribute("tabindex")||Gt().Ay.isFocusable(e.element)||(e.element.tabIndex=-1,this.removeKeyboardScopeTabIndex=!0),e.element.focus(),this.keyboardScope=e}),i(this,"cleanupKeyupTarget",()=>{this.keyupTarget&&(this.keyupTarget.removeEventListener("keyup",this.onKeyup,!0),this.keyupTarget=null)}),i(this,"onKeyup",()=>{if(document.activeElement===this.keyupTarget)return a();this.cleanupKeyupTarget()}),i(this,"handleMultiTabstopElement",e=>{this.keyupTarget=e,e.addEventListener("keyup",this.onKeyup,!0),clearTimeout(this.focusTimeout)}),i(this,"handleAttachFailed",()=>{if(this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!1);this.resetState(),clearTimeout(this.focusTimeout)}),i(this,"onFinalizeTrap",()=>{this.trapEscapeState.recordingKeyboardTrapEscape=!1,this.trapEscapeState.finalizingKeyboardTrapEscape=!0,this.setFocusTimeout(),tr().yS.send(tr()._O.background,"tab-record:start")}),i(this,"onUserStopped",()=>this.onTabbingComplete({reason:"user-stopped"})),i(this,"resumeFromFurthestTabStop",()=>{const e=[...this.tabStops.keys()].filter(e=>e.isConnected&&Gt().Ay.isFocusable(e));if(!e.length)return!0;const t=e.reduce((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?t:e);return t!==this.lastResumeTarget&&(this.lastResumeTarget=t,t!==document.activeElement&&(this.ignoreNextFocusOn=t,t.focus()),!0)}),i(this,"onContinueTabbing",({message:e}={})=>{var t;this.focusHandler.resetDebounce(),null==e||null===(t=e.metadata)||void 0===t||!t.aiAssistEnabled||this.resumeFromFurthestTabStop()?(this.setFocusTimeout(),tr().yS.send(tr()._O.background,"tab-record:start")):this.onTabbingComplete({reason:"resume-made-no-progress"})}),this.manifest=e,this.cache=t,this.unscopedCache=n,this.showScrollbars=u,this.buildTreeCache=d,this.replayer=new(lt().S)(r),this.keyboardTrapsEnabled=f,this.onFocus=this.onFocus.bind(this),this.focusHandler=function(e,t=0){let n=0,r=0,o=0;const i=function(...i){cancelAnimationFrame(r),clearTimeout(o),r=requestAnimationFrame(()=>{const r=performance.now(),s=t-(r-n);s<=0?(n=r,e.apply(this,i)):o=setTimeout(()=>{n=performance.now(),e.apply(this,i)},s)})};return i.resetDebounce=()=>{n=0,cancelAnimationFrame(r),r=0,clearTimeout(o),o=0},i}(this.focusHandler.bind(this),30),this.setFocusTimeout(),this.resetState(!0),this.scopeKeyboardSetup(),this.attachListeners(),c(),Gt().Ay.setupTrees(),tr().yS.send(tr()._O.background,"tab-record:new-window-listener:attach"),document.documentElement.style.cursor="none",document.documentElement.style.pointerEvents="none",document.activeElement.matches&&document.activeElement.matches(Jt().Gv)&&this.handleMultiTabstopElement(document.activeElement);const h=()=>{var n;if(this.trapEscapeState.finalizingKeyboardTrapEscape||this.tabStops.size)return;const r=!e["keep-focus-on-element"]&&e["focused-element"],[o]=t.flat.filter(e=>e.properties.tabIndex>0).sort((e,t)=>e.properties.tabIndex-t.properties.tabIndex);let i;if(r&&(null===(n=r.properties)||void 0===n?void 0:n.tabIndex)>-1){var s;i=(t.tree.getById(null===(s=e["focused-element"])||void 0===s?void 0:s.vnodeId)||{}).element}else if(!r&&o){i=(t.tree.getById(o.vnodeId)||{}).element}return i&&(i.focus(),this.focusHandler(i)),!0};tr().yS.listen("attach:failed",this.handleAttachFailed),tr().yS.listen("tab-record:initial-focus",h),tr().yS.listen("tab-record:finalize-escape-trap",this.onFinalizeTrap),tr().yS.listen("tab-record:user-stopped",this.onUserStopped),tr().yS.listen("tab-record:cleanup",this.cleanupAfterTabbing),tr().yS.listen("tab-record:continue-tabbing",this.onContinueTabbing),tr().yS.listen("tab-record:detach-listeners",this.detachListeners),this.unlistenInitialFocus=()=>tr().yS.unlisten("tab-record:initial-focus",h)}}}),Jt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Gt(),dn(),tn();const s=['input[type="date"]','input[type="datetime-local"]','input[type="month"]','input[type="time"]','input[type="week"]'].join(", "),a=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","area[href]","object","embed",'[tabindex="0"]',"[contenteditable]","audio[controls]","video[controls]","summary"].join(", "),l=["tab","menuitem","radio","menuitemradio","menuitemcheckbox","treeitem"],c=(e,{tree:t,flat:n},r=!1)=>n.filter(t=>t.tagName===e).map(({vnodeId:e})=>{const n=t.getById(e);return r?n:null==n?void 0:n.element}).filter(Boolean),u=(e,t,n=!1)=>(n?e.ancestors:e.ancestors.reverse()).find(e=>t.includes(Gt().Ay.getRole(e.element))),d=(e,t,n)=>{if(!l.includes(t))return[];let r;switch(t){case"tab":r=u(e,["tablist"]);break;case"treeitem":r=u(e,["tree"],!0);break;case"radio":r=u(e,["radiogroup","group"]);break;case"menuitem":case"menuitemradio":case"menuitemcheckbox":r=u(e,["menu","menubar"],!0)}if(!r&&"radio"===t)return((e,t)=>{const n=e.element;if(!n||"radio"!==n.type||!n.name)return[];const r=n.form;return(r?[...r.elements]:[...n.ownerDocument.querySelectorAll('input[type="radio"]')]).filter(e=>"radio"===e.type&&e.name===n.name&&e.form===r).map(e=>{var n;return null===(n=t.get(e))||void 0===n?void 0:n.vnodeId}).filter(e=>null!=e)})(e,n);if(!r)return[];let o=[...r.children],i=[];for(;o.length;){const e=o.shift();l.includes(Gt().Ay.getRole(e.element))&&i.push(e.vnodeId),o=[...o,...e.children||[]]}return i},f=e=>{const t=e.name;if(!t)return!0;const n=[...e.ownerDocument.querySelectorAll(`[name="${CSS.escape(t)}"]`)],r=n.find(e=>e.checked);return r?r===e:n[0]===e},h=e=>`[role="${e}"]`,p=l.map(h).join(", "),m=(e,t,n)=>{if(!(0,dn().A)({vnode:e,selector:p}))return!1;const r=(o=Gt().Ay.getRole(e.element),Gt().Ay.getRequiredContext(o).map(h).join(", "));var o;if(!r.length)return!1;const i=t.find(e=>(0,dn().A)({vnode:e,selector:r}));return!!i&&n.find(e=>{var t;return i.element.contains(e)||(null===(t=i.contains)||void 0===t?void 0:t.call(i,e))})},g=(e,t)=>[...e].map(e=>(0,st().A)(t.get(e)||{}));n.d(t,["$t",0,({tree:e,flat:t},n=!1)=>c("iframe",{tree:e,flat:t},n).map(e=>{if(n)return e.children[0];let t;try{var r;t=null===(r=e.contentWindow)||void 0===r?void 0:r.document}catch{return null}return t}).filter(Boolean),"BY",0,(e,t,n=!0)=>{var r;const i=t.get(e),a=Gt().Ay.getRole(e),l=a&&Gt().Ay.isWidgetRole(a)||"combobox"===a||"listbox"===a||"searchbox"===a||"alertdialog"===a||"audio"===i.tagName||"video"===i.tagName||"gridcell"===a||"rowheader"===a||"columnheader"===a||"td"===i.tagName&&!a||"th"===i.tagName&&!a,c=e.matches&&e.matches(s),u=null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"href");return o(o(o({},(0,st().A)(i)),{},{role:a},null!=u?{href:u}:{}),{},{isWidgetRole:l,accessibleName:Gt().Ay.name(e),box:(0,tn().Ay)(i),groupItems:d(i,a,t),isAriaHidden:!Gt().Ay.isSRVisible(e),isHidden:Gt().Ay.isOffscreen(e)||!Gt().Ay.isVisible(e,n),isMultiTabStopElement:c})},"CG",0,({tree:e,flat:t},n=!1)=>c("shadow-root",{tree:e,flat:t},n),"CL",0,({tabStops:e,submittedForms:t,launchedWindowOnFocus:n,cacheTree:r})=>{e.forEach((e,t)=>{e.launchedWindowOnFocus=n.has(t)});const o=[...e.values()],i=((e,t)=>{const n=e=>"area"===e.element.nodeName.toLowerCase(),r=[];(0,Ut().rJ)(document.documentElement,!0);for(const o of t){const{ancestors:t=[]}=o;!(0,dn().A)({vnode:o,selector:a,verifyTree:n(o)})||!Gt().Ay.isFocusable(o.element)||[...e.values()].find(e=>e.vnodeId===o.vnodeId)||!f(o.element)||t.find(e=>!!(0,dn().A)({vnode:e,selector:p,verifyTree:n(e)}))||(0,dn().A)({vnode:o,selector:'[role="radio"]',verifyTree:!1})||m(o,t,[...e.keys()])||r.push((0,st().A)(o))}return r})(e,r.values());return{skipped:i,tabStops:o,submittedForms:g(t,r),launchedWindowOnFocus:g(n,r)}},"Gv",0,s,"Uq",0,({tree:e,flat:t})=>c("form",{tree:e,flat:t})])}),Kt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>s}),on(),Gt(),Rn(),Be(),Jt(),tr(),sn();class s{constructor(e,t,n){i(this,"initHighlighter",async()=>{this.highlighter||await(0,lr().Ay)().then(e=>{this.highlighter=e,[...this.selections].map(t=>{const{element:n,selector:r}=this.tree.getById(t);if(n){e.createHighlighter(n,r).highlight({theme:"selection",showMetadata:!1})}})})});const r=bo()()(t,"metadata.selections",[]);this.selections=new Set(r.reduce((t,n)=>{const r=e.getById(n.vnodeId);return r&&(r.element||r.selector)&&t.push(n.vnodeId),t},[])),this.hovered=null,this.hoveredHighlighter=null,this.activeHighlighter=null,this.activeVnodeId=null,this.hoverGeneration=0,this.enabled=!1,this.tree=e,this.onMouseOver=this.onMouseOver.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.eventTargets=[],this.includeCrossOrigin=n}async enable(e,t=!0){this.manifest=e,t&&await this.disable(),this.enabled=!0;const n={tree:this.tree,flat:this.tree.flat};this.eventTargets=[this.includeCrossOrigin?this.tree.get(document.body):document.body,...(0,Jt().$t)(n,this.includeCrossOrigin),...(0,Jt().CG)(n,this.includeCrossOrigin)],await Promise.all(this.eventTargets.map(async e=>{const t={capture:!0},n=o(o({},t),{},{preventDefault:!0,stopPropagation:!0});if(this.includeCrossOrigin)return Promise.all([e.addEventListener("mousedown",this.onMouseDown,n),e.addEventListener("mouseover",this.onMouseOver,t),e.addEventListener("click",this.onClick,n)]);e.addEventListener("mousedown",this.onMouseDown,t),e.addEventListener("mouseover",this.onMouseOver,t),e.addEventListener("click",this.onClick,t)}))}async disable(){this.enabled=!1,await Promise.all(this.eventTargets.map(async e=>{if(this.includeCrossOrigin)return Promise.all([e.removeEventListener("mousedown",this.onMouseDown),e.removeEventListener("mouseover",this.onMouseOver),e.removeEventListener("click",this.onClick)]);e.removeEventListener("mousedown",this.onMouseDown,{capture:!0}),e.removeEventListener("mouseover",this.onMouseOver,{capture:!0}),e.removeEventListener("click",this.onClick,{capture:!0})}))}async update(e,t){const n=this.enabled;await this.disable(),this.includeCrossOrigin=t,this.tree=e,!0===n&&await this.enable(this.manifest,!1)}cleanUp(){var e,t;this.hoverGeneration++,null===(e=this.activeHighlighter)||void 0===e||e.setActive(!1),this.activeHighlighter=null,this.activeVnodeId=null,null===(t=this.hoveredHighlighter)||void 0===t||t.destroy(),this.hoveredHighlighter=null,this.hovered&&(this.hovered=null)}setActiveHighlight(e,t){e.setActive(!0),this.activeHighlighter=e,this.activeVnodeId=t}onClick(e){this.includeCrossOrigin||(e.preventDefault(),e.stopPropagation()),this.toBeSelected&&(this.makeSelection(o(o({},this.toBeSelected),{},{isMouseSelection:!0})),this.toBeSelected=null)}async hover(e,{markActive:t=!0}={}){if(this.cleanUp(),!e||this.hovered===e)return;const{createHighlighter:n,getExistingHighlighter:r}=this.highlighter||{},o=this.hoverGeneration,i=await(0,ze().A)(e);if(o!==this.hoverGeneration)return;this.cleanUp();const s=r(i);if(s)return void(t&&this.setActiveHighlight(s,e.vnodeId));if(this.selections.has(e.vnodeId))return;const a=null==n?void 0:n(i,e.selector);a.highlight({theme:"selection",showMetadata:!1}),this.hovered=e,this.hoveredHighlighter=a}async onMouseOver(e){var t;const n=this.includeCrossOrigin?e.target:(null===(t=e.originalEvent)||void 0===t?void 0:t.target)||e.target,r=this.includeCrossOrigin?n:this.tree.get(n);await this.hover(r,{markActive:!1})}async removeAllSelections(){this.selections.clear(),(0,lr().Ay)().then(e=>e.clearHighlights())}removeSelection(e){const t=this.tree.getById(e);if(!t)return;const{element:n}=t;(0,lr().Ay)().then(({highlighters:e})=>{var t;null===(t=e.get(n))||void 0===t||t.destroy()}),this.selections.delete(e),tr().yS.send(tr()._O.devtools,"guide:scope-removal"),tr().yS.send(tr()._O.devtools,"selection:remove",{vnodeId:e})}addSelection(e){var t;const{vnodeId:n,selector:r}=e,o=(null===(t=this.hovered)||void 0===t?void 0:t.vnodeId)===n||this.activeVnodeId===n,i=this.hoverGeneration;(0,lr().Ay)().then(async({createHighlighter:t})=>{const s=t(await(0,ze().A)(e),r).highlight({theme:"selected",showMetadata:!1});o&&i===this.hoverGeneration&&this.setActiveHighlight(s,n)}),this.selections.add(n),this.hoveredHighlighter=null;const s=(0,st().A)(function(e){const t=(t,n)=>{try{return vo()()(r,n)}catch{return Gt().Ay.getSelector(e.element)}},n=(e.ancestors||[]).reduce((e,n)=>{const{element:r,isFrame:o,isShadowHost:i}=n,s={root:r.getRootNode()};if(o||i){const n=e[e.length-1],o=Array.isArray(n)?n:e,a=t(r,s);o.push(a),i&&o.push(["shadow-root"])}return e},[]),{element:r}=e,o={root:r.getRootNode()},i=t(r,o),s=n[n.length-1];return(Array.isArray(s)?s:n).push(i),e.fallbackSelector=n,e}(e));return this.manifest&&this.manifest.id&&!this.manifest.rescope||tr().yS.send(tr()._O.devtools,"guide:scope-selection",{value:s}),tr().yS.send(tr()._O.devtools,"selection:add",s),!0}onMouseDown(e){if(!this.enabled)return;this.includeCrossOrigin||(e.preventDefault(),e.stopPropagation());const t=this.includeCrossOrigin?e.composedTarget||e.target:e.composedPath()[0]||e.target,n=this.includeCrossOrigin?t:this.tree.get(t);this.selections.has(n.vnodeId)||(this.toBeSelected=n)}inGroupCheck({vnodeId:e}){const{groups:t=[],inputs:n=[]}=this.manifest||{},r=t.find(t=>t.vnodeIds.includes(e));if(!r)return!1;return n.find(e=>e.groupId===r.id&&e["group-name"])?(tr().yS.send(tr()._O.devtools,"guide:show-warning",{value:"warning"}),!0):(this.manifest=(0,cn().A)(this.manifest,r.id),tr().yS.send(tr()._O.devtools,"guide:destroy-group",{value:r.id}))}makeSelection({vnodeId:e,isMouseSelection:t=!1}){var n;const r=this.tree.getById(e),i=this.tree.getById(null===(n=this.hovered)||void 0===n?void 0:n.vnodeId);if(t&&i!==r||this.inGroupCheck(r)||!this.addSelection(r))return;Gt().Ay.setupTrees();const s=Gt().Ay.getRole(null==r?void 0:r.element),a=(0,sn().GR)(null==r?void 0:r.element),l="guide:mouse-selection",c=o(o({},(0,st().A)((0,Nt().t)(r))),{},{source:Gt().Ay.getSource(null==r?void 0:r.element),role:s,accessibleText:a,noInputs:this.hasInputs(r),isMouseSelection:t});tr().yS.send(tr()._O.devtools,l,{value:c}),tr().yS.send(tr()._O.devtools,"mouse-selection",{type:l,value:c}),this.hovered=null}hasInputs({vnodeId:e}){Gt().Ay.setupTrees();const t=this.tree.getById(e),n=({element:e,children:t})=>!("function"!=typeof e.matches||!e.matches(on().IY)||!Gt().Ay.isVisible(e,!0))||t.some(n);return Gt().Ay.cleanupTrees(),!n(t)}}}),Zt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let s;tr(),tn(),Gt(),sn();n.d(t,["jj",0,()=>{tr().yS.unlisten("forms:get-descendant-elements",s)},"nC",0,e=>{s=({message:t})=>{const{vnodeId:n}=t;return((e,t)=>(Gt().Ay.setupTrees(),Array.from(e.values()).filter(e=>e.ancestors.map(e=>e.vnodeId).includes(t)).map(e=>o(o({},(0,sn().Ay)(e)),{},{box:(0,tn().Ay)(e)}))||[]))(e(),n)},tr().yS.listen("forms:get-descendant-elements",s)}])}),Qt=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_n(),ft(),on(),Gt(),dt();let s=1;const a=e=>{const t={};return e.forEach(e=>t[e.id]=e.label),t},l=(e,t)=>{const n=e.filter(({attributes:e})=>e.name&&"radio"===e.type),r=e.filter(({attributes:e})=>e.name&&"checkbox"===e.type);return[...c(Ao()()(n,"attributes.name"),"radio-name",t),...c(Ao()()(r,"attributes.name"),"checkbox-name",t)]},c=(e,t,n)=>Object.keys(e).reduce((r,o)=>{const i=e[o],l=e=>!i.filter(t=>{var r,o;return!(e.contains(t.element)||null!=n&&null!==(r=n.get(e))&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,t))}).length;let c,u=i[0].element.closest(on().fX);for(;!c&&u;)l(u)&&(c=u),u=u.closest(on().fX);if(i.length<2)return r;const d=i.map(e=>e.selector),f=i.map(e=>e.vnodeId),h=c&&(0,ft().A)(c)||"",p=c?(0,dt().e)(c,n):[];i.forEach(e=>{e.groupId=s,e.groupLabel=h,e.groupSelector=d,e.groupVnodeIds=f});const m={selector:d,groupType:t,vnodeIds:f,id:s++,name:o,label:h,visibleLabels:p,pairings:a(i)};return i[0].group=m,r.push(m),r},[]);n.d(t,["jr",0,(e,t,n)=>{const r=[],i=(0,rn().A)(on().fX,t.element),c=l(e,n);return t&&t.element.matches(on().fX)&&i.push(t.element),Gt().Ay.setupTrees(),i.forEach(t=>{const i=e.filter(e=>{var r,o;return t.contains(e.element)||(null==n||null===(r=n.get(t))||void 0===r||null===(o=r.contains)||void 0===o?void 0:o.call(r,e))});if(!c.some(e=>i.some(t=>e.vnodeIds.includes(t.vnodeId)))&&i.length>1){const e=(0,ft().A)(t)||"";if(!e)return;const l=i.map(e=>e.selector),c=i.map(e=>e.vnodeId),u=[];i.forEach(t=>{u.push(o(o({},t),{},{groupId:s,groupLabel:e,visibleLabels:(0,dt().e)(t.element,n),groupSelector:l,groupVnodeIds:c}))});const d={selector:l,label:e,vnodeIds:c,id:s++,groupType:"semantic",pairings:a(u),visibleLabels:t?(0,dt().e)(t,n):[]};u.find(e=>e.groupId===d.id).group=d,r.push(d)}}),Gt().Ay.cleanupTrees(),r},"q",0,l])}),en=n.cw((e,t)=>{const r={findCurrentFocus:e=>{const t=document.activeElement,n=e.get(t);return{bodyHasFocus:t===document.body,currentFocus:n&&(0,st().A)(n)}},resetFocus:()=>{const e=document.body.getAttribute("tabindex");e||(document.body.tabIndex=-1),document.body.focus(),e||document.body.removeAttribute("tabindex")}};n.d(t,["A",0,r])}),tn=n.cw((e,t)=>{function r(...e){const t=e.flatMap(e=>e.isShadow?e.children||[]:[e]).filter(e=>!!(0,nt().A)(e.element)&&!!Gt().Ay.isVisible(e.element)).map(s),n=t.filter(e=>e.width||e.height),r=n.length?n:t;return r.length?1===r.length?r[0]:r.reduce((e,t)=>{const n={};return n.y=Math.min(e.y,t.y),n.x=Math.min(e.x,t.x),n.height=Math.max(e.height,t.height),n.width=Math.max(e.width,t.width),n}):{x:0,y:0,height:0,width:0}}function o(e){const{element:t={}}=e;if(!(0,nt().A)(t))return;const n=s(e),r=window.getComputedStyle(t),o=(parseFloat(r.paddingLeft)||0)+(parseFloat(r.paddingRight)||0),i=(parseFloat(r.paddingTop)||0)+(parseFloat(r.paddingBottom)||0),a=(parseFloat(r.borderLeftWidth)||0)+(parseFloat(r.borderRightWidth)||0),l=(parseFloat(r.borderTopWidth)||0)+(parseFloat(r.borderBottomWidth)||0);return{x:n.x+(parseFloat(r.paddingLeft)||0)+(parseFloat(r.borderLeftWidth)||0),y:n.y+(parseFloat(r.paddingTop)||0)+(parseFloat(r.borderTopWidth)||0),width:n.width-o-a,height:n.height-i-l}}function i(e){var t,n;const{element:r={},ancestors:o=[]}=e;if(!(0,nt().A)(r))return{};const i=null===(t=r.ownerDocument)||void 0===t||null===(n=t.createRange)||void 0===n?void 0:n.call(t);if("function"!=typeof(null==i?void 0:i.getBoundingClientRect))return{};i.selectNodeContents(r);const c=i.getBoundingClientRect();if(!c.width&&!c.height)return{};const u=a(c,o),d=s(e);if(!l(d))return u;const f=function(e,t){const n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),o=Math.min(e.x+e.width,t.x+t.width),i=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:r,width:Math.max(0,o-n),height:Math.max(0,i-r)}}(u,d);return f.width&&f.height?f:{}}function s(e){const{element:t={},ancestors:n=[]}=e;return(0,nt().A)(t)?a(t.getBoundingClientRect(),n):{}}function a({top:e,left:t,height:n,width:r},o=[]){const i={top:0,left:0};o.reduce((e,t)=>{if(t.isFrame){const n=t.element.getBoundingClientRect();e.top+=n.top,e.left+=n.left}return e},i);const s=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{x:t+s+i.left,y:e+a+i.top,height:n,width:r}}function l(e){return"object"==typeof e&&["x","y","width","height"].every(t=>"number"==typeof e[t]&&!Number.isNaN(e[t]))}n.d(t,{Ay:()=>r,EN:()=>i,Nm:()=>o,ni:()=>l}),n.dn(r),Gt()}),nn=n.cw((e,t)=>{function r(e,t,n){const r=[];for(const o of e){!("function"!=typeof o.element.matches)&&t(o)&&(0,Gt().pK)(o.element)&&Gt().Ay.isVisible(o.element,!Gt().Ay.isAxeSetUp(o.element))&&(!n||Gt().Ay.isSRVisible(o.element))&&(o.source=Gt().Ay.getSource(o.element),r.push(o))}return r}n.d(t,{A:()=>r}),Gt()}),rn=n.cw((e,t)=>{function r(e,t=document){return Array.from(t.querySelectorAll(e))}n.d(t,{A:()=>r})}),on=n.cw((e,t)=>{pn();const r=En().A`
32
32
  a[href],
33
33
  button,
34
34
  input[type="button"],
@@ -38,7 +38,7 @@
38
38
  summary,
39
39
  [role="button"],
40
40
  [role="link"]
41
- `,o=on().A`
41
+ `,o=En().A`
42
42
  input
43
43
  :not([type="hidden"])
44
44
  :not([type="submit"])
@@ -49,7 +49,7 @@
49
49
  select,
50
50
  textarea,
51
51
  datalist
52
- `;on().A`
52
+ `;En().A`
53
53
  [role="combobox"],
54
54
  [role="listbox"],
55
55
  [role="option"],
@@ -58,4 +58,4 @@
58
58
  [role="textbox"],
59
59
  [role="slider"],
60
60
  [role="spinbutton"]
61
- `;n.d(t,["IY",0,o,"fX",0,'fieldset, [role="group"], [role="radiogroup"]',"oi",0,r])}),qt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>s}),mr(),kt();const i=e=>{const t=mr().A.sanitize(e&&kt().Ay.name(e)||"").trim();return t.length<=500?t:`${t.substring(0,500).trim()}...`};function s(e,t={},n="accessibleText"){const{vnodeId:s,properties:a,attributes:c,tagName:l,selector:u,element:d,source:f}=e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({vnodeId:s,properties:a,attributes:c,tagName:l,selector:u,source:f,[n]:i(d)},t)}n.d(t,["GR",0,i])}),Jt=n.cw(function(e,t){n.d(t,{A:()=>o}),n.dn(o),In(),kt();const r=(e,t)=>t?r(t,e%t):e;function o(){const{browser:e,os:t}=Zr()()(window.navigator.userAgent),{width:n,height:o}=window.screen,i=r(n,o);return{browser:`${e.fullName} ${e.version}`,os:t.fullName,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,aspectRatio:`${n/i}:${o/i}`,axeVersion:(0,Mt().rJ)().version,devicePixelRatio:window.devicePixelRatio}}}),Yt=n.cw(function(e,t){n.d(t,{D8:()=>o,S8:()=>a}),Be(),Rn();const r=e=>{e.preventDefault();const t=new e.constructor(e.type,e);t.originalEvent=e,e.target.ownerDocument.defaultView.top.document.body.dispatchEvent(t)};function o(e){const{element:t}=e;if(t&&1!==t.nodeType)return e;const n=(e.ancestors||[]).reduce(i,{fallback:[],root:null});try{n.root||(n.root=t.getRootNode());const r=Xr()()(t,n),o=n.fallback[n.fallback.length-1];(Array.isArray(o)?o:n.fallback).push(r),e.fallbackSelector=n.fallback}catch{}return e}function i(e,t){try{const{element:n,isShadowHost:r}=t;if(!t.fallbackSelector){e.root=e.root||n.getRootNode();const o=Xr()()(n,e);if(o.startsWith("#")&&n.getRootNode()===document){const n=[o];return r&&n.push(["shadow-root"]),t.fallbackSelector=n,e.fallback=s(n),e.root=t.element,e}const i=e.fallback[e.fallback.length-1],a=Array.isArray(i)?i:e.fallback;return a.push(o),r&&a.push(["shadow-root"]),t.fallbackSelector=e.fallback,e.fallback=s(t.fallbackSelector),e.root=t.element,e}return e.fallback=s(t.fallbackSelector),e.root=t.element,e}catch{return e}}function s(e){return JSON.parse(JSON.stringify(e))}function a(e){const t=e.getAttribute("aria-describedby");if(!t)return"";const n=e.getRootNode();return t.split(/\s+/).filter(e=>!!n.getElementById(e)).map(e=>n.getElementById(e).innerText).join(" ").trim()}n.d(t,["J8",0,e=>{Rn().yS.send(Rn()._O.devtools,"guide:auto-setup",e)},"S9",0,({discarded:e,scope:t,groot:n,tree:r,vitals:o=[]})=>{t&&!o.find(e=>e.vnodeId===t.vnodeId)&&o.push(t);const i=o.filter(t=>e.find(e=>e.vnodeId===t.vnodeId));if(!i.length)return;const s=[];s.push(e=>e.fallbackSelector&&n.querySelector(e.fallbackSelector)),s.push(e=>n.findOne(e,{findOneTimeLimit:1e3}));i.every(e=>{for(const t of s){const n=t(e);if(n){return r.has(n)||r.set(n,e),!0}}return!1})||Rn().yS.send(Rn()._O.devtools,"guide:discarded",{value:i})},"wj",0,e=>{if("body"===e.tagName&&e.element.ownerDocument.defaultView!==window.top){const t=e.element;t.removeEventListener("mouseover",r,!0),t.removeEventListener("click",r,!0),t.addEventListener("mouseover",r,!0),t.addEventListener("click",r,!0)}}])}),Kt=n.cw(function(e,t){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){const n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e),i=n.groups.findIndex(e=>e.id===t);return-1===i?e:(n.groups.splice(i,1),n.inputs.filter(e=>e.groupId===t).forEach(e=>{We().QC.forEach(t=>e[t]=void 0)}),n)}n.d(t,{A:()=>i}),n.dn(i)}),Xt=n.cw(function(e,t){function r(e){const t=e.getAttribute("aria-label");if(t)return t;const n=e.getAttribute("aria-labelledby"),r=n&&n.split(" ");if(n&&r.length)return r.map(e=>document.getElementById(e)).filter(e=>!!e).map(e=>e.innerText).join(" ");const o=e.id&&document.querySelector(`label[for="${e.id}"]`);if(o)return o.innerText;const i=e.closest("label");return i?i.innerText:void 0}n.d(t,{A:()=>r})}),Zt=n.cw(function(e,t){function r({vnode:e,selector:t,includeHidden:n=!1,verifyTree:r=!0}){const o=e.element&&"function"==typeof e.element.matches&&e.element.matches(t);return n?o:o&&(0,kt().pK)(e.element)&&kt().Ay.isVisible(e.element,r)}n.d(t,{A:()=>r}),kt()}),Qt=n.cw(function(e,t){n.d(t,{A:()=>o,T:()=>i}),un(),Rn();const r=jr()()("frameMessenger");async function o(e,t,n,{timeout:o=500}={}){if((0,Pt().$j)(e))throw new Error("FrameMessenger on top level window is not supported.");const i=function(e){try{const t=e.frameId;return"number"==typeof t?t:void 0}catch(e){return void r("Unable to read same-origin frameId, falling back to handshake: %o",e)}}(e),s=i??await function(e,t){const n=(0,Ir().A)(),r=`frame-messenger:${n}`;return new Promise((o,i)=>{const s=setTimeout(()=>{Rn().yS.unlisten(r,a),i(`No response received from frame within timeout of ${t}ms.`)},t),a=({message:e})=>{clearTimeout(s),Rn().yS.unlisten(r,a),o(e.frameId)};Rn().yS.listen(r,a),e.postMessage({uuid:n,originFrameId:window.frameId,source:"frame-messenger"},"*")})}(e,o);return Rn().yS.send(Rn()._O.content,t,n,{frameId:s})}function i(){Rn().yS.send(Rn()._O.background,"identify-content-frame").then(e=>{window.frameId=e}),(0,Pt().$j)()||window.addEventListener("message",({data:e})=>{(function(e){return e.uuid&&e.originFrameId>=0&&"frame-messenger"===e.source})(e)&&(r(`originFrame:${e.originFrameId} → childFrame:${window.frameId} [${window.location.href}]`),Rn().yS.send(Rn()._O.content,`frame-messenger:${e.uuid}`,{frameId:window.frameId},{frameId:e.originFrameId}))})}}),en=n.cw(function(e,t){n.d(t,{hc:()=>rn().A}),n(1448),an(),tn(),rn()}),tn=n.cw(function(e,t){nn()}),nn=n.cw(function(e,t){new Kr.A((0,sn().A)(/(?:\n(?:\s*))+/g," "),cn().A)}),rn=n.cw(function(e,t){n.d(t,{A:()=>on().A}),on()}),on=n.cw(function(e,t){const r=new Kr.A((0,sn().A)(/(?:\n\s*)/g,""),cn().A);n.d(t,["A",0,r])}),sn=()=>n(4800),an=()=>n(8555),cn=()=>n(9454),ln=()=>n(7151),un=()=>n(5226),dn=()=>n(9681),fn=n.cw(function(e,t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=/^:([a-z])(\(([^)]+)\))?/,s="numeric",a="long",c="2-digit",l="string",u="decimal",d="currency",f="percent",h={weekday:void 0,era:void 0,year:void 0,month:a,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},p={weekday:void 0,era:void 0,year:s,month:a,day:void 0,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},m={d:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},D:{weekday:a,era:void 0,year:s,month:a,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},f:{weekday:a,era:void 0,year:s,month:a,day:s,hour:s,minute:c,second:void 0,timeZoneName:void 0},F:{weekday:a,era:void 0,year:s,month:a,day:s,hour:s,minute:c,second:c,timeZoneName:void 0},g:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:s,minute:c,second:void 0,timeZoneName:void 0},G:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:s,minute:c,second:c,timeZoneName:void 0},m:h,M:h,t:{weekday:void 0,era:void 0,year:void 0,month:void 0,day:void 0,hour:s,minute:c,second:void 0,timeZoneName:void 0},T:{weekday:void 0,era:void 0,year:void 0,month:void 0,day:void 0,hour:s,minute:c,second:c,timeZoneName:void 0},y:p,Y:p},g=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultConfig={locales:void 0,translations:{},number:{currency:"USD"},date:{},string:{}},this.configs={"":this.defaultConfig},this.translationCache={},this.keyCache={},this.typeInfoCache={},this._localizers={s:function(e,n,r){var o=void 0;return r&&null!==(o=t._runCustomFormatters(e,l,r,n))?o:n?n.toLocaleString(e.locales):String(n)},n:function(e,r,o){if("number"!=typeof r)throw Error("value is not a number. type: "+(void 0===r?"undefined":n(r)));if(o){var i=parseInt(o);if(!isNaN(i))return r.toLocaleString(e.locales,Object.assign({},e.number,{style:u,minimumFractionDigits:i,maximumFractionDigits:i}));var s;if(null!==(s=t._runCustomFormatters(e,"number",o,r)))return s}return r.toLocaleString(e.locales,Object.assign({},e.number,{style:u,minimumFractionDigits:0,maximumFractionDigits:3}))},t:function(e,n,r){if(!(n instanceof Date))throw Error("value is not a Date. type: "+n.constructor.name);if(r){switch(r.toUpperCase()){case"R":return n.toUTCString();case"O":return n.toISOString()}var o=m[r];if(o)return n.toLocaleString(e.locales,Object.assign({},e.date,o));var i=t._runCustomFormatters(e,"date",r,n);if(null!==i)return i}return n.toLocaleString(e.locales,Object.assign({},e.date))},c:function(e,t,r){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":n(t)));return t.toLocaleString(e.locales,r?Object.assign({},e.number,{style:d,currency:r}):Object.assign({},e.number,{style:d}))},p:function(e,t,r){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":n(t)));return t.toLocaleString(e.locales,r?Object.assign({},e.number,{style:f,minimumFractionDigits:r}):Object.assign({},e.number,{style:f}))}},this.i18n=this.i18n.bind(this),this.translate=this.translate.bind(this),this.i18nConfig=this.i18nConfig.bind(this),this._localize=this._localize.bind(this),this._extractTypeInfo=this._extractTypeInfo.bind(this)}return r(e,[{key:"i18nConfig",value:function(e){var t=e.locales,n=e.translations,r=e.group,o=e.number,i=e.date,s=e.standardFormatters;this.translationCache={};var a=this.configs[r||""]||this.defaultConfig;this.configs[r||""]=Object.assign({},a,{locales:t||a.locales,translations:n||a.translations,number:o||a.number,date:i||a.date,standardFormatters:s||a.standardFormatters})}},{key:"i18n",value:function(e,t,n){for(var r=this,i=this._buildKey(n),s=this._getCachedTranslation(e,t,i),a=s.configGroup,c=s.translatedKey,l=n.slice(1).map(this._extractTypeInfo),u=arguments.length,d=Array(u>3?u-3:0),f=3;f<u;f++)d[f-3]=arguments[f];var h=d.map(function(e,t){return r._localize(a,e,l[t])});return this._buildMessage.apply(this,[c].concat(o(h)))}},{key:"translate",value:function(e,t,n){var r=this;null==n?n="":"string"!=typeof n&&(n=String(n));for(var i=this._getCachedTranslation(e,t,n),s=i.configGroup,a=i.translatedKey,c=arguments.length,l=Array(c>3?c-3:0),u=3;u<c;u++)l[u-3]=arguments[u];var d=l.map(function(e){return e instanceof Object&&e.constructor===Object?r._localize(s,e.value||"",{type:e.formatter||"s",options:e.format}):r._localize(s,e,{type:"s",options:""})});return this._buildMessage.apply(this,[a].concat(o(d)))}},{key:"_getCachedTranslation",value:function(e,t,n){var r=[e||"",t||"",n].join(),o=this.translationCache[r],i=this.configs[t||""]||this.defaultConfig;if(o)return{configGroup:i,translatedKey:o};var s=this._getTranslation(e,i,n);return this.translationCache[r]=s,{configGroup:i,translatedKey:s}}},{key:"_getTranslation",value:function(e,t,r){var o=t.translations,i=void 0,s=void 0;return(void 0===e?"undefined":n(e))===l&&(s=e),s&&(i=o[s])instanceof Object&&(i=i[r]),i||(i="string"==typeof o[r]&&o[r]||r),i}},{key:"_runCustomFormatters",value:function(e,t,n,r){var o=null;if(e.standardFormatters){var i=e.standardFormatters[t];if(i){var s=i[n];s&&(o=s(e.locales,e[t],r))}}return o}},{key:"_extractTypeInfo",value:function(e){var t=this.typeInfoCache[e];if(t)return t;var n=i.exec(e);return t=n?{type:n[1],options:n[3]}:{type:"s",options:""},this.typeInfoCache[e]=t,t}},{key:"_localize",value:function(e,t,n){var r=n.type,o=n.options,i=this._localizers[r];if(i)return i(e,t,o);throw new Error("Type '"+r+"' is not supported. Supported types are: "+Object.keys(this._localizers).join())}},{key:"_buildKey",value:function(e){var t=e.join(),n=this.keyCache[t];if(n)return n;var r=function(e){return e.replace(i,"")},o=r(e[e.length-1]),s=e.slice(0,-1).reduceRight(function(e,t,n){return r(t)+"${"+n+"}"+e},o).replace(/\r\n/g,"\n");return this.keyCache[t]=s,s}},{key:"_buildMessage",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.replace(/\${(\d)}/g,function(e,t){return n[Number(t)]})}}]),e}(),y=new g,b=y.i18nConfig,v=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("string"==typeof e){if(n.length&&"string"==typeof n[0]){var o=function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y.i18n.apply(y,[e,n[0],t].concat(o))};return o.translate=function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y.translate.apply(y,[e,n[0],t].concat(o))},o}var i=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y.i18n.apply(y,[e,null,t].concat(r))};return i.translate=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y.translate.apply(y,[e,null,t].concat(r))},i}return y.i18n.apply(y,[null,null,e].concat(n))};v.translate=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return y.translate.apply(y,[null,null,e].concat(n))};var w=function(e,t){return function(n){return n.prototype.i18n=function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return v(e,t).apply(void 0,[n].concat(o))},n.prototype.i18n.translate=function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y.translate.apply(y,[e,t,n].concat(o))},n}};window.i18n=v,window.i18nConfig=b,window.i18nGroup=w,t.Ay=v}),hn=()=>n(6369),pn=()=>n(1911),mn=n.cw(function(e,t){const r=gn(),o=Mr(),i=(n(1958),_r());n(9402),n(6863),n(5088),n(6625),n(9718),n(7288),n(9124),n(2379),n(3515),n(5462),n(3024),n(4877),n(7095),n(1817),n(4471),n(350),n(8849),n(4455),n(309),n(3239),n(6818),n(3357),n(8704),n(6419),n(4714),n(2605),n(3536),Tn(),wn(),Sn(),En(),Cn(),On(),yn(),vn(),bn(),xn(),An();e.exports={...void r.re,...void r.src,...void r.t,...void o.SEMVER_SPEC_VERSION,...void o.RELEASE_TYPES,...void i.compareIdentifiers,...void i.rcompareIdentifiers}}),gn=()=>n(848),yn=()=>n(5609),bn=()=>n(3098),vn=()=>n(432),wn=()=>n(6370),Sn=()=>n(4712),En=()=>n(9251),On=()=>n(6561),xn=()=>n(6143),An=()=>n(6206),Tn=()=>n(5821),Cn=()=>n(1796),In=()=>n(3258),Pn=n.cw(function(e,t){var r=["interactive","complete"],o=function(e,t){return new Promise(function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var o=function(){return n(void(e&&setTimeout(e)))};-1!==r.indexOf(t.readyState)?o():t.addEventListener("DOMContentLoaded",o)})};o.resume=function(e){return function(t){return o(e).then(function(){return t})}};const i=o;n.d(t,["A",0,i])}),Nn=()=>n(2450),jn=n.cw(function(e,t){n.d(t,{Ay:()=>b,Gq:()=>v,UV:()=>i});class r extends HTMLElement{constructor(){const e=document.createElement("div");return Object.setPrototypeOf(e,new.target.prototype),e}}class o{constructor(e){this.groot=e.groot,this.type=e.event.type,this.target=this.groot.get(e.event.target);const t=e.event.composedPath?.()??[];t[0]&&(this.composedTarget=this.groot.get(t[0]))}toJSON(){const{type:e,target:t,composedTarget:n}=this,r={type:e,target:JSON.parse(this.groot.safe(t))};return n&&(r.composedTarget=JSON.parse(this.groot.safe(n))),r}}class i{constructor(e){this.groot=e.groot,this.listeners=new Map,this.vnodeId=e.node.vnodeId,this.element=e.node.element||null,this.depth=e.node.depth||0,this.selector=e.node.selector,this.children=e.node.children||[],this.ancestors=e.node.ancestors||[],this.previousSibling=e.node.previousSibling,this.attributes=e.node.attributes||{},this.attrs=e.node.attrs||[],this.properties=e.node.properties,this.tagName=e.node.tagName,this.isFrame=e.node.isFrame,this.isShadow=e.node.isShadow,this.isShadowHost=e.node.isShadowHost,this.isSlottedElement=e.node.isSlottedElement,this.slotAncestors=e.node.slotAncestors||[],this.slotChildren=e.node.slotChildren||[],this.isCrossOrigin=e.node.isCrossOrigin||!1===this.element?.isConnected,e.frameMessenger&&(this.frameMessenger=e.frameMessenger,this.init())}toJSON(){const{groot:e,listeners:t,frameMessenger:n,...r}=this;return{...r}}init(){this.isCrossOrigin||this.frameMessenger?.listen("groot:add-event-listener",({message:e})=>{const{type:t,options:n,vnodeId:r,treeId:o,listenerId:i}=e;if(Number(r)!==this.vnodeId||o!==this.groot.getId())return;const s=e=>this.frameMessenger.sendReply("groot:event",{event:e,listenerId:i});this.addEventListener(t,s,n),this.frameMessenger.listen("groot:remove-event-listener",({message:e})=>{const{listenerId:n}=e;if(i===n)return this.removeEventListener(t,s)})})}async addEventListener(e,t,n){let r;if(this.isCrossOrigin){const o=(0,Ir().A)();await this.frameMessenger.sendAll("groot:add-event-listener",{type:e,options:n,vnodeId:this.vnodeId,treeId:this.groot.getId(),listenerId:o}),this.frameMessenger.listen("groot:event",({message:e})=>{const n=e.event,r={type:n.type,target:this.groot.getById(n.target.vnodeId)};n.composedTarget&&(r.composedTarget=this.groot.getById(n.composedTarget.vnodeId)),e.listenerId===o&&t(r)}),r=async()=>{await this.frameMessenger.sendAll("groot:remove-event-listener",{listenerId:o})}}else{const i=e=>{"object"==typeof n&&n?.preventDefault&&e.preventDefault(),"object"==typeof n&&n?.stopPropagation&&e.stopPropagation(),t(new o({event:e,groot:this.groot}))},s="object"!=typeof n?n:Object.fromEntries(Object.entries(n).filter(([e])=>!["preventDefault","stopPropagation"].includes(e)));this.element.addEventListener(e,i,s),r=()=>{this.element.removeEventListener(e,i,s)}}return this.listeners.set(t,r),r}async removeEventListener(e,t){const n=this.listeners.get(t);n&&(await n(),this.listeners.delete(t))}contains(e){if(!e)return!1;const t=this.groot.get(e)??e,n=[...this.children,...this.slotChildren];return n.some(e=>e.vnodeId===t.vnodeId)||n.some(e=>e.contains?.(t))}}const s={allowAttrs:Object.freeze(["data-.*","aria-.*","method","action","class","id","xlink:href","role","name","src","type","for"]),rejectKeys:Object.freeze(["element"]),vnodeOnly:Object.freeze(["previousSibling","ancestors","children","slotAncestors","slotChildren"]),rejectTags:Object.freeze(["script","style"]),seed:0,findOneTimeLimit:1e3};var a=Object.keys(s).reduce((e,t)=>(e[t]=s[t],e),{});const c=/(\[[^=]+=[^[]+\])|(\[.*\])/g;function l(e){let t=e;t.startsWith("#")&&(t=`[id="${t.substring(1)}"]`);const n=e.toString().match(c);if(n){const e=n.reduce((e,t)=>{let n=t,[r,o,i,s]=["","","",""];const a=n.match(/\[([^~|^$*=]+)([~|^$*]*=)"*([^\]|"]+)"*\]/);if(a?[r,o,i,s]=a:[r,o]=n.match(/\[([^=|'|"]+)\]/)||[],!o)return n;s&&(s=`${i}"${CSS.escape(s)}"`);const c=o.match(/[^:]+:(.*)/);return c?([r,o]=c,n=`[*|${o}${s}]:not([${o}${s}])`):n=`[${o}${s}]`,e+=n},"");t=t.replace(c,e)}return t}var u=["id","accesskey","aria-keyshortcuts","for","aria-owns","aria-controls","aria-flowto","list","aria-errormessage","type","autocomplete","inputmode","pattern","role","itemprop","itemtype","rel","name","title","aria-labelledby","aria-describedby","placeholder","aria-placeholder","aria-label","aria-roledescription","summary","aria-details","class","action","href","src","aria-valuemax","aria-valuemin","value"];function*d(e){const t=function(e){const{tagName:t,attributes:n={}}=e,r=[];t&&r.push({selector:t,score:0});return Object.entries(n).forEach(function(e){return([t,n=""])=>{const r=t.startsWith("data-")?100:u.indexOf(t);-1!==r&&("class"===t&&n.indexOf(" ")>-1?e.push(...n.match(/\S+/g).map(e=>({selector:`.${CSS.escape(e)}`,score:r}))):e.push({selector:l(`[${t}="${n}"]`),score:r}))}}(r)),r.sort((e,t)=>e.score-t.score).map(e=>e.selector)}(e);yield*function*(e,t=e.length){let n=1;for(;n<=t;n+=1)yield*f(e,n)}(t)}function*f(e,t,n={}){const{data:r=[],start:o=0,index:i=0}=n;i===t&&(yield r.slice(0,i).join(""));const s=e.length-1;for(let n=o;n<=s&&s-n+1>=t-i;n+=1)r[i]=e[n],yield*f(e,t,{data:r,start:n+1,index:i+1})}function h(e){if(e.length<2)return[];const t=JSON.parse(JSON.stringify(e));let n=t.pop();if("string"==typeof n)return t;let[r,...o]=n;return t.push([r,...h(o)]),t}var p={isTag:()=>!0,existsOne(e,t){return t.some(t=>e(t)||this.existsOne(e,this.getChildren(t)))},getAttributeValue:(e,t)=>e.attributes[t],getChildren:e=>e.children,getName:e=>e.tagName,getParent:e=>e.ancestors[e.ancestors.length-1]||null,getSiblings(e){const t=this.getParent(e);return t?t.children:[e]},prevElementSibling:e=>e.previousSibling||null,getText(){throw new Error("getText() is not implemented. :contains pseudo-selector is not supported.")},hasAttrib:(e,t)=>t in e.attributes,removeSubsets(e){const t=[...e],n=[];for(;t.length;){const e=t.pop();if(t.includes(e))continue;e.ancestors.some(e=>t.includes(e))||n.push(e)}return n.reverse()},findAll(e,t){const n=[];for(const r of t)e(r)&&n.push(r),n.push(...this.findAll(e,this.getChildren(r)));return n},findOne(e,t){let n=null;for(const r of t){if(e(r)){n=r;break}if(n=this.findOne(e,this.getChildren(r)),n)break}return n}},m={"nth-context":(e,t)=>e.ancestors.reduce((e,t)=>((t.isFrame||t.isShadow)&&e++,e),1)===Number(t)};function g(e,t=!1){const n=e.length,r=e.reduce((e,t)=>{const n=e?`${e} `:"";return Array.isArray(t)?`${n}${t[0]} ${t[1]}`:`${n}${t}`},"");return t?r:`${r}:nth-context(${n})`}const y=Symbol("i am groot");class b extends Map{constructor(e){super(),this.config={},this[y]={},this[y].count=0,this[y].nextId=()=>{for(;this.vnodeIds[this[y].count];)this[y].count+=1;return this[y].count},this[y].listeners={create:new Set,destroy:new Set,update:new Set,walk:new Set,discard:new Set},this[y].json=[],this[y].dirty=!0,this.ready=!1,this.context=!1,this.rules={},this.vnodeIds={},this.reset(e)}setSeed(e){this[y].count=e,this.config.seed=e}use(e={}){const t=["context","seed"],n=Object.assign(this.config,e);return Object.keys(e).forEach(r=>{let o=e[r];if("listeners"===r){const t=e.listeners;return void Object.keys(t).forEach(e=>{let n=t[e];Array.isArray(n)||(n=[n]),n.forEach(t=>{this[y].listeners[e].add(t)})})}if(t.includes(r))return this[r]=o;n[r]=o}),this.rules={allowAttrs:new RegExp(`^(${n.allowAttrs.join("|")})$`),rejectTags:n.rejectTags.map(l).join(", "),rejectKeys:new RegExp(`^(${n.rejectKeys.join("|")})$`),vnodeOnly:new RegExp(`^(${n.vnodeOnly.join("|")})$`)},this.context&&(this.ready=!0),this}clear(){return super.clear(),this[y].count=this.config.seed,this.vnodeIds={},this}reset(e={}){return this.context=window,this.config=Object.assign({},a,{id:(0,Ir().A)()}),this.rules={},this.ready=!1,this.use(e),this.clear(),this}getSerializableConfig(){const{acceptNode:e,listeners:t,treeBuilder:n,...r}=this.config;return r}get root(){return this.vnodeIds[this.config.seed]}get flat(){const e=[],t=n=>{e.push(n),n.children.forEach(t)};return this.root&&t(this.root),e}toJSON(){return this[y].dirty?(this[y].json=JSON.parse(this.safe(this.flat)),this[y].dirty=!1,this[y].json):this[y].json}safe(e){return JSON.stringify(e,(e,t)=>{if(!e.match(this.rules.rejectKeys))return e.match(this.rules.vnodeOnly)&&t?Array.isArray(t)?t.map(e=>e.vnodeId):t.vnodeId:t})}set(e,t){const n=t.element;return this.delete(n),super.set(e,t),this.vnodeIds[t.vnodeId]=t,this}delete(e){const t=super.get(e);return!!super.delete(e)&&(delete this.vnodeIds[t.vnodeId],!0)}getById(e){return this.vnodeIds[e]}getFrameContent(e){try{return e.contentDocument}catch{}}getRoot(e){if(e){if(e.window)return e.document.body;if(e.nodeType===Node.DOCUMENT_NODE)return e.body||e.documentElement;if(e.contentWindow){const t=this.getFrameContent(e);return t&&t.body}return e.nodeType===Node.ELEMENT_NODE?e:e.ownerDocument?e.getRootNode():void 0}}getContext(e=this.context){if(e)return e.window?e.document:e.nodeType===Node.DOCUMENT_NODE?e:e.contentWindow?this.getFrameContent(e):e.ownerDocument?e.ownerDocument:void 0}getTreeWalker(e){const{context:t,root:n}=e;let{acceptNode:r}=this.config;return"function"!=typeof r&&(r=()=>!0),t.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(!e.matches(this.rules.rejectTags)&&r(e))return NodeFilter.FILTER_ACCEPT}})}merge(e,t){t.children.push(e.root),t.properties.childElementCount+=1,e.forEach(e=>{e.ancestors.unshift(...t.ancestors,t),e.depth=t.depth+e.depth+1,this.updateSelector(e),e.groot=this,this.set(e.element,e),this[y].nextId()})}async walk(e,t={}){this[y].dirty=!0;const{parent:n}=t,r=this.getContext(e);if(!r)return;const o=this.getRoot(e||r),i=this.getTreeWalker({context:r,root:o}),s=this.refreshVnode(this.get(i.currentNode),t)||this.vnode({parent:n,element:o,vnodeId:this[y].nextId()}),a=s.isShadow&&s;for(this.set(o,s);i.nextNode();){const e=this.refreshVnode(this.get(i.currentNode),{parent:a})||this.vnode({element:i.currentNode,parent:a,vnodeId:this[y].nextId()});if(this.set(i.currentNode,e),e.isFrame){const t=this.getFrameContent(e.element);if(!t&&this.config.treeBuilder){try{const t=await this.config.treeBuilder.buildSubTree(e.element.contentWindow,{...this.getSerializableConfig(),seed:this[y].nextId()});this.merge(t,e)}catch(e){console.error(e)}continue}await this.walk(t,{parent:e});continue}if(e.isShadowHost){const t=i.currentNode.shadowRoot;t&&await this.walk(t,{parent:e})}}return this[y].listeners.walk.forEach(e=>e(s,this)),this}vnode(e){const{element:t,parent:n,vnodeId:r}=e,o=new i({frameMessenger:this.config.frameMessenger,groot:this,node:{vnodeId:r,element:t,depth:0,selector:[],children:[],ancestors:[],properties:{},attributes:{},attrs:[],slotAncestors:[],slotChildren:[]}});return this.updateTag(o),this.updateAttributes(o),this.updateFrame(o),this.updateShadow(o),this.updateSlot(o),this.updateProperties(o),this.updateParent(o,n),this.updateSelector(o),this[y].listeners.create.forEach(e=>e(o,this)),o}refreshVnode(e,t={}){const{parent:n}=t;if(!e)return;const r=new i({frameMessenger:this.config.frameMessenger,groot:this,node:e});return r.isShadowHost&&!r.element.shadowRoot||(this.cleanUp(r),this.updateTag(r),this.updateAttributes(r),this.updateFrame(r),this.updateShadow(r),this.updateSlot(r),this.updateProperties(r),this.updateParent(r,n),this.updateSelector(r),this[y].listeners.update.forEach(e=>e(r,this))),r}cleanUp(e){e.children.forEach(t=>{t.isShadow||e.isShadow||t.element.isConnected||(this.delete(t.element),this[y].listeners.destroy.forEach(t=>t(e,this)))}),e.depth=0,e.children.length=0,e.ancestors.length=0}updateParent(e,t){const{element:n}=e;let r=t;const o=n.parentElement;if((!r||r.isShadow&&o)&&(r=this.get(o)),r&&(e.previousSibling=r.children[r.children.length-1],e.depth=r.depth+1,e.ancestors.length=0,e.ancestors.push(...r.ancestors,r),r.children.push(e),r.properties.childElementCount+=1),e.isSlottedElement){const t=this.get(n.assignedSlot);e.slotAncestors=[...t.ancestors,t],t.slotChildren.push(e)}else r&&r.slotAncestors&&r.slotAncestors.length&&(e.slotAncestors=[...r.slotAncestors,r])}updateFrame(e){const{tagName:t}=e;t.match(/^(i){0,1}frame$/i)&&(e.isFrame=!0)}updateSlot(e){const{element:t}=e;t.assignedSlot&&(e.isSlottedElement=!0)}updateTag(e){const{element:t}=e;let n=t.tagName;t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(n="shadow-root"),e.tagName=CSS.escape(n.toLowerCase())}updateAttributes(e){const{element:t}=e;e.attrs.length&&e.attrs.forEach(t=>delete e.attributes[t]),e.attrs.length=0;const n=t.attributes||[];e.attributes={};const r=n.length;let o=0;for(;o<r;o+=1){const r=n[o],i=r.name;if(i.match(this.rules.allowAttrs)){if("class"===i)e.attributes[i]=this.getClassName(t);else e.attributes[i]=r.value;e.attrs.push(i)}}}updateShadow(e){const{tagName:t,element:n,attributes:r}=e;(n.shadowRoot||"use"===t&&r["xlink:href"])&&(e.isShadowHost=!0),"shadow-root"===t&&(e.isShadow=!0)}updateProperties(e){const{tagName:t,element:n,attributes:r}=e;Object.assign(e.properties,{id:r.id,tagName:t,childElementCount:0,className:r.class,classSelector:this.getClassSelector(n),tabIndex:this.getTabIndex(e)})}countMatchingPreviousSiblings(e){const{element:t,tagName:n,vnodeId:r}=e,o=e.ancestors[e.ancestors.length-1];let i=1;if(!o&&t){let e=t.previousElementSibling;const r=this.getContext(t);for(;e&&r.body.contains(e);)CSS.escape(e.tagName).toLowerCase()===n&&i++,e=e.previousElementSibling}else if(o){const e=o.children;let t=!1;i=e.reduce((e,o)=>(o.vnodeId===r?t=!0:o.tagName!==n||t||e++,e),1)}return i}updateSelector(e){const{properties:t,tagName:n}=e,{id:r,classSelector:o}=t,i=e.ancestors[e.ancestors.length-1],s=this.countMatchingPreviousSiblings(e),a=["body","shadow-root"].includes(n)?"":`:nth-of-type(${s})`,c=r?`${CSS.escape(e.tagName)}#${CSS.escape(r)}${o}${a}`:`${CSS.escape(e.tagName)}${o}${a}`,l=[];if(i){const t=JSON.parse(JSON.stringify(i.selector));if(e.isShadow)l.push(...t,[c]);else{if(!i.isShadow&&!i.isFrame){l.push(...t);let e=l[l.length-1];Array.isArray(e)?l[l.length-1][1]+=` > ${c}`:l[l.length-1]+=` > ${c}`}i.isShadow&&(l.push(...t),l[l.length-1][1]=c),i.isFrame&&l.push(...t,c)}}else l.push(c);e.selector=l}getClassName(e){const t=e.className;return t?"string"==typeof t?t:t.baseVal:""}getClassSelector(e){const t=/^-?\d/,n=/[^A-Za-z0-9_-]/g;return(e.classList&&Array.from(e.classList)||[]).reduce((e,r)=>"-"===r||r.match(t)||r.startsWith("--")?e+`[class*="${r}"]`:e+"."+r.replace(n,e=>`\\0000${e.codePointAt(0).toString(16)}`),"")}getTabIndex(e){const{element:t,attributes:n}=e,r=t.tabIndex;if(-1!==r||n.tabindex)return r}querySelector(e,t=this.context){const n=JSON.parse(JSON.stringify(e)),r=n.shift();let o;if(Array.isArray(r))r.length>1&&n.unshift(r[1]),o=t.shadowRoot;else{const e=t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t:this.getContext(t);o=e&&e.querySelector(r)}if(o)return n.length?this.querySelector(n,o):o}async fromFlatTree(e,t){return this[y].dirty=!0,await this.walk(t),e.forEach(e=>{if(!this.selectOne(e.selector)){this.findOneWithVNode(e)||this[y].listeners.discard.forEach(t=>t(e,this))}}),this}async from(e,t){this[y].dirty=!0;const n=[];e.forEach(e=>{const{selector:r,vnodeId:o,element:i}=e;let s=i;if(s&&s.isConnected||(s=this.querySelector(r,t)),s){const e=this.vnode({element:s,vnodeId:o});this.set(s,e)}else n.push(e)});const r=Math.ceil(this.config.findOneTimeLimit/n.length);return n.forEach(e=>{const t=this.findOne(e,{findOneTimeLimit:r});if(t&&!this.has(t)){const n=this.vnode({element:t,vnodeId:e.vnodeId});this.set(t,n)}else this[y].listeners.discard.forEach(t=>t(e,this))}),await this.walk(t),this}hydrateFlatTree(e){e.forEach(e=>{const t=new r;let n={...e,element:t,children:[],ancestors:[]};n=new i({frameMessenger:this.config.frameMessenger,groot:this,node:n}),this.set(t,n)}),e.forEach(e=>{const t=this.getById(e.vnodeId);t.children.push(...e.children.map(e=>this.getById(e))),t.ancestors.push(...e.ancestors.map(e=>this.getById(e))),t.previousSibling=this.getById(e.previousSibling)})}findOneWithVNode(e,t={}){const n=t.findOneTimeLimit||this.config.findOneTimeLimit,r=Date.now(),o=e.selector?e.selector.slice(-1):[],i=d(e);let s=i.next().value;for(;s;){const e=this.selectAll([...o,s]);if(1===e.length)return e[0];if(Date.now()-r>n)return;s=i.next().value}}findOne(e,t={}){const n=t.findOneTimeLimit||this.config.findOneTimeLimit,r=Date.now();let o=t.context||this.getContext();if(e.selector&&e.selector.length>1&&(o=this.querySelector(h(e.selector)),o&&o.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&Boolean(o.tagName.match(/^(i){0,1}frame$/i))&&(o=o.contentDocument),!o))return;const i=d(e);let s=i.next().value;for(;s;){const e=o.querySelectorAll(s);if(1===e.length)return e[0];if(Date.now()-r>n)return;s=i.next().value}}selectAll(e,t={}){const n=g(e,t.isRelativeSelector);return rr().Ub(n,this.flat,{adapter:p,pseudos:m})}selectOne(e){const t=g(e);return rr().JR(t,this.flat,{adapter:p,pseudos:m})}getId(){return this.config.id}}class v{trees=new Map;constructor(e){this.frameMessenger=e.frameMessenger,this.init()}init(){this.frameMessenger.listen("groot:tree-builder:build-tree",async({message:e})=>{const{grootConfig:t}=e;return{tree:(await this.buildTree(t)).toJSON()}})}async buildSubTree(e,t){const{tree:n}=await this.frameMessenger.send(e,"groot:tree-builder:build-tree",{grootConfig:t}),r=new b(t);return r.hydrateFlatTree(n),r}async buildTree(e){let t=e.id?this.trees.get(e.id):null;return t?t.reset(e):(t=new b({...e,frameMessenger:this.frameMessenger,treeBuilder:this}),await t.walk(document.body),this.trees.set(t.getId(),t)),t}}}),Rn=n.cw(function(e,t){t._O=t.yS=void 0;var n=kn(),r=i(Mn()),o=i(un());function i(e){return e&&e.__esModule?e:{default:e}}const{background:s,devtools:a,content:c}=r.default,l=Object.values(r.default),u=(0,o.default)("bridge"),d=(0,o.default)("bridge:message"),f=(0,o.default)("bridge:response");t.yS=new class{constructor(){if(!l.includes(n.browser.context||""))throw new Error(`Unable to initialize web-extension bridge. Unsupported context: ${n.browser.context}`);this.messageListeners=new Map,this.attachListener()}get context(){return n.browser.context}attachListener=()=>{const{browserListener:e}=this;n.browser.hasListener(e)||(u("web-extension bridge initialized with context %s",n.browser.context),n.browser.addListener(e))};browserListener=(e,t)=>{const{origin:r,context:o,topic:i,message:l,options:u={}}=e,{tab:d,frameId:f}=t,h=d&&-1!==d.id?d.id:null==u?void 0:u.tabId;if(!r)return;if(n.browser.context===s&&o===c){const{frameId:e,allFrames:t}=u;return this.send(o,i,l,{tabId:(null==u?void 0:u.tabId)||h,frameId:e,allFrames:t})}const p=n.browser.context!==a||n.browser.tabId===h;if(o!==n.browser.context||!p)return;const m=this.getListeners(i),g=e=>{console.error(e)};try{for(const e of m){const t=e({context:o,topic:i,message:l,origin:r,tabId:h,frameId:f});if(!e.isGlobal&&void 0!==t)return Promise.resolve(t).catch(g)}}catch(e){g(e)}};async send(e,t,o,{tabId:i,frameId:s=0,allFrames:u=!1}={}){if(!n.browser.context)return;if(!e||!l.includes(e))throw new Error(`Cannot send web-extension bridge message without a valid destination context: ['${l.join("', '")}'].`);let h;i||n.browser.context!==a||(i=n.browser.tabId),h=n.browser.context===a?`${n.browser.context}:${i}`:n.browser.context;let p=e;[n.browser.context,e].includes(c)&&i&&(p+=`:${i}`),d(`[${t}] ${h} → ${p}: %O`,void 0!==o?o:"");const m={origin:h,context:e,topic:t,message:o,options:e===c?{tabId:i,frameId:s,allFrames:u}:{tabId:i}},g=e===r.default.content?{tabId:i,frameId:s,allFrames:u}:void 0;let y=null;try{y=await n.browser.sendMessage(m,g)}catch(e){let t;if(e instanceof Error&&(t=e.message),"Could not establish connection. Receiving end does not exist."!==t)throw e}return null!==y&&f(`[${t}] ${p} → ${h}: %O`,y),y}getListeners(e){const{messageListeners:t}=this;return e&&"*"!==e?[...t.get(e)||[],...t.get("*")||[]]:t.get("*")||[]}listen(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=n.get(e)||[];"*"===e&&(t.isGlobal=!0),r.length?n.set(e,[...r,t]):n.set(e,[t])}unlisten(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=(n.get(e)||[]).filter(e=>e!==t);r.length?n.set(e,r):n.delete(e)}},t._O=r.default}),kn=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0;var n,r=(n=Mn())&&n.__esModule?n:{default:n};const o=e=>void 0!==globalThis.browser&&e in globalThis.browser;t.browser={hasApi:o,get tabId(){var e;return(null===(e=globalThis.browser)||void 0===e||null===(e=e.devtools)||void 0===e?void 0:e.inspectedWindow.tabId)??null},get context(){return o("devtools")?r.default.devtools:o("tabs")?r.default.background:o("extension")?r.default.content:null},addListener(e){globalThis.browser.runtime.onMessage.addListener(e)},hasListener:e=>globalThis.browser.runtime.onMessage.hasListener(e),removeListener(e){globalThis.browser.runtime.onMessage.removeListener(e)},async sendMessage(e,t={}){if(void 0===globalThis.browser)throw new Error("Cannot send bridge message in a non-browser context.");const{tabId:n,frameId:r,allFrames:o}=t;return n&&globalThis.browser.tabs&&"function"==typeof globalThis.browser.tabs.sendMessage?globalThis.browser.tabs.sendMessage(n,e,{frameId:o?void 0:r}):globalThis.browser.runtime.sendMessage(e)}}}),Mn=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={background:"background",devtools:"devtools",content:"content-script"}}),_n=n.cw(function(e,t){var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&o(t,e,n[s]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.listeners=t.screenshots=t.debugger=void 0,t.debugger=s(n(2331)),t.screenshots=s(Ln()),t.listeners=s(Dn())}),Dn=()=>n(5326),Ln=()=>n(8618),Fn=n.cw(function(e,t){const r=document.createElement("template");r.innerHTML=`\n <style>\n ${to()()}\n ${Qr()()}\n ${eo()()}\n </style>\n <style id="position"></style>\n <div id="axe-highlight" class="theme--high-contrast">\n <div id="margin">\n <div id="border">\n <div id="content"></div>\n </div>\n </div>\n </div>\n <div id="tooltip" style="display: none"></div>\n`;const o={block:"center",behavior:"smooth",inline:"nearest"},i="axe-highlighter";const s=new class{constructor(){this.target=new EventTarget}on(e,t){this.target.addEventListener(e,t)}remove(e,t){this.target.removeEventListener(e,t)}emit(e){this.target.dispatchEvent(new CustomEvent(e))}};(0,Bn().A)(s.emit.bind(s),50);new Map;n.d(t,["mq",0,o,"wZ",0,i])}),Vn=n.cw(function(e,t){n.d(t,{Ay:()=>s,OA:()=>a,d$:()=>l,yW:()=>c}),qe();let r=null,o=null;const i=[];function s(){return r||(r=async function(){await(0,qe().A)("latest",{registerElementInternals:!1});const e=globalThis.browser.runtime.getURL("highlighter.js");o=await import(e);const t=i.splice(0,i.length);for(const e of t)try{e(o)}catch(e){console.error("highlighter: load listener failed",e)}return o}().catch(e=>{throw r=null,e})),r}function a(){return null!==r}function c(){return o}function l(e){o?e(o):i.push(e)}}),Bn=n.cw(function(e,t){function r(e,t){let n;return function(...r){n||(n=setTimeout(()=>{e(...r),n=null},t))}}n.d(t,{A:()=>r})}),$n=n.cw(function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e){return function(t,r){var o;return(o={})[t]=function(t){return n({type:e},t)},o[r]=function(t){return"object"==typeof t&&null!==t&&t.type===e},o}}Object.defineProperty(t,"__esModule",{value:!0}),t.ast=void 0,t.ast=n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n({},r("Selector")("selector","isSelector")),r("Rule")("rule","isRule")),r("TagName")("tagName","isTagName")),r("Id")("id","isId")),r("ClassName")("className","isClassName")),r("WildcardTag")("wildcardTag","isWildcardTag")),r("NamespaceName")("namespaceName","isNamespaceName")),r("WildcardNamespace")("wildcardNamespace","isWildcardNamespace")),r("NoNamespace")("noNamespace","isNoNamespace")),r("Attribute")("attribute","isAttribute")),r("PseudoClass")("pseudoClass","isPseudoClass")),r("PseudoElement")("pseudoElement","isPseudoElement")),r("String")("string","isString")),r("Formula")("formula","isFormula")),r("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector")),r("Substitution")("substitution","isSubstitution"))}),Hn=n.cw(function(e,t){t.ast=t.render=t.createParser=void 0;var n=zn();Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return n.createParser}});var r=Gn();Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.render}});var o=$n();Object.defineProperty(t,"ast",{enumerable:!0,get:function(){return o.ast}})}),Wn=n.cw(function(e,t){function n(e,t){for(var n=t,r=0;r<e.length;r++){var o=r===e.length-1,i=e.charAt(r),s=n[i]||(n[i]={chars:{}});o&&(s.self=e),n=s.chars}}Object.defineProperty(t,"__esModule",{value:!0}),t.createRegularIndex=t.createMulticharIndex=t.emptyRegularIndex=t.emptyMulticharIndex=void 0,t.emptyMulticharIndex={},t.emptyRegularIndex={},t.createMulticharIndex=function(e){if(0===e.length)return t.emptyMulticharIndex;for(var r={},o=0,i=e;o<i.length;o++){n(i[o],r)}return r},t.createRegularIndex=function(e){if(0===e.length)return t.emptyRegularIndex;for(var n={},r=0,o=e;r<o.length;r++){n[o[r]]=!0}return n}}),zn=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=void 0;var n=Wn(),r=Un(),o=qn(),i=Jn(),s="css-selector-parser parse error: ";t.createParser=function(e){void 0===e&&(e={});var t=e.syntax,a=void 0===t?"latest":t,c=e.substitutes,l=e.strict,u=void 0===l||l,d=e.modules,f="object"==typeof a?a:o.cssSyntaxDefinitions[a];if(f.baseSyntax&&(f=(0,o.extendSyntaxDefinition)(o.cssSyntaxDefinitions[f.baseSyntax],f)),f.modules&&f.modules.length>0)for(var h=0,p=f.modules;h<p.length;h++){var m=p[h];(b=o.cssModules[m])&&(f=(0,o.extendSyntaxDefinition)(b,f))}if(d&&d.length>0)for(var g=0,y=d;g<y.length;g++){var b,v=y[g];(b=o.cssModules[v])&&(f=(0,o.extendSyntaxDefinition)(b,f))}var w=f.tag?[!0,Boolean((0,o.getXmlOptions)(f.tag).wildcard)]:[!1,!1],S=w[0],E=w[1],O=Boolean(f.ids),x=Boolean(f.classNames),A=Boolean(f.namespace),T=f.namespace&&(!0===f.namespace||!0===f.namespace.wildcard);if(A&&!S)throw new Error("".concat(s,"Namespaces cannot be enabled while tags are disabled."));var C=Boolean(c),I=f.combinators?(0,n.createMulticharIndex)(f.combinators):n.emptyMulticharIndex,P=f.attributes?[!0,f.attributes.operators?(0,n.createMulticharIndex)(f.attributes.operators):n.emptyMulticharIndex,f.attributes.caseSensitivityModifiers?(0,n.createRegularIndex)(f.attributes.caseSensitivityModifiers):n.emptyRegularIndex,"accept"===f.attributes.unknownCaseSensitivityModifiers]:[!1,n.emptyMulticharIndex,n.emptyRegularIndex,!1],N=P[0],j=P[1],R=P[2],k=P[3],M=k||Object.keys(R).length>0,_=f.pseudoClasses?[!0,f.pseudoClasses.definitions?(0,r.calculatePseudoSignatures)(f.pseudoClasses.definitions):r.emptyPseudoSignatures,"accept"===f.pseudoClasses.unknown]:[!1,r.emptyPseudoSignatures,!1],D=_[0],L=_[1],F=_[2],V=f.pseudoElements?[!0,"singleColon"===f.pseudoElements.notation||"both"===f.pseudoElements.notation,!f.pseudoElements.notation||"doubleColon"===f.pseudoElements.notation||"both"===f.pseudoElements.notation,f.pseudoElements.definitions?(0,r.calculatePseudoSignatures)(Array.isArray(f.pseudoElements.definitions)?{NoArgument:f.pseudoElements.definitions}:f.pseudoElements.definitions):r.emptyPseudoSignatures,"accept"===f.pseudoElements.unknown]:[!1,!1,!1,r.emptyPseudoSignatures,!1],B=V[0],$=V[1],H=V[2],W=V[3],z=V[4],U="",G=U.length,q=0,J="",Y=function(e){return J===e},K=function(){return Y("*")||(0,i.isIdentStart)(J)},X=function(e){q=e,J=U.charAt(q)},Z=function(){q++,J=U.charAt(q)},Q=function(){var e=J;return q++,J=U.charAt(q),e};function ee(e){var t=Math.min(G-1,q),n=new Error("".concat(s).concat(e," Pos: ").concat(t,"."));throw n.position=t,n.name="ParserError",n}function te(e,t){if(!e)return ee(t)}var ne=function(){te(q<G,"Unexpected end of input.")},re=function(){return q>=G},oe=function(e){te(q<G,'Expected "'.concat(e,'" but end of input reached.')),te(J===e,'Expected "'.concat(e,'" but "').concat(J,'" found.')),q++,J=U.charAt(q)};function ie(e){var t=se(e,q);if(t)return q+=t.length,J=U.charAt(q),t}function se(e,t){var n=e[U.charAt(t)];if(n){var r=se(n.chars,t+1);if(r)return r;if(n.self)return n.self}}function ae(){for(var e=Q(),t=1;(0,i.isHex)(J)&&t<i.maxHexLength;)e+=Q(),t++;return function(){if(" "===J||"\t"===J||"\f"===J||"\n"===J)return void Z();"\r"===J&&Z();"\n"===J&&Z()}(),String.fromCharCode(parseInt(e,16))}function ce(e){var t="";for(oe(e);q<G;){if(Y(e))return Z(),t;Y("\\")?(Z(),Y(e)?(t+=e,Z()):"\n"===J||"\f"===J?Z():"\r"===J?(Z(),Y("\n")&&Z()):(0,i.isHex)(J)?t+=ae():(t+=J,Z())):(t+=J,Z())}return t}function le(){if(!(0,i.isIdentStart)(J))return null;for(var e="";Y("-");)e+=J,Z();for("-"!==e||(0,i.isIdent)(J)||Y("\\")||ee("Identifiers cannot consist of a single hyphen."),u&&e.length>=2&&ee("Identifiers cannot start with two hyphens with strict mode on."),i.digitsChars[J]&&ee("Identifiers cannot start with hyphens followed by digits.");q<G;)if((0,i.isIdent)(J))e+=Q();else{if(!Y("\\"))break;Z(),ne(),(0,i.isHex)(J)?e+=ae():e+=Q()}return e}function ue(){for(var e="";q<G&&!Y(")");)if(Y("\\")){if(Z(),re()&&!u)return(e+"\\").trim();ne(),(0,i.isHex)(J)?e+=ae():e+=Q()}else e+=Q();return e.trim()}function de(){for(;i.whitespaceChars[J];)Z()}function fe(e){void 0===e&&(e=!1),de();for(var t=[ve(e)];Y(",");)Z(),de(),t.push(ve(e));return{type:"Selector",rules:t}}function he(){var e;if(oe("["),de(),Y("|")){te(A,"Namespaces are not enabled."),Z();var t=le();te(t,"Expected attribute name."),e={type:"Attribute",name:t,namespace:{type:"NoNamespace"}}}else if(Y("*")){te(A,"Namespaces are not enabled."),te(T,"Wildcard namespace is not enabled."),Z(),oe("|");var n=le();te(n,"Expected attribute name."),e={type:"Attribute",name:n,namespace:{type:"WildcardNamespace"}}}else{var r=le();if(te(r,"Expected attribute name."),e={type:"Attribute",name:r},Y("|")){var o=q;if(Z(),(0,i.isIdentStart)(J)){te(A,"Namespaces are not enabled.");var s=le();te(s,"Expected attribute name."),e={type:"Attribute",name:s,namespace:{type:"NamespaceName",name:r}}}else X(o)}}if(te(e.name,"Expected attribute name."),de(),re()&&!u)return e;if(Y("]"))Z();else{if(e.operator=ie(j),te(e.operator,"Expected a valid attribute selector operator."),de(),ne(),i.quoteChars[J])e.value={type:"String",value:ce(J)};else if(C&&Y("$")){Z();var a=le();te(a,"Expected substitute name."),e.value={type:"Substitution",name:a}}else{var c=le();te(c,"Expected attribute value."),e.value={type:"String",value:c}}if(de(),re()&&!u)return e;if(!Y("]")){var l=le();if(te(l,"Expected end of attribute selector."),e.caseSensitivityModifier=l,te(M,"Attribute case sensitivity modifiers are not enabled."),te(k||R[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),de(),re()&&!u)return e}oe("]")}return e}function pe(){for(var e="";i.digitsChars[J];)e+=Q();return te(""!==e,"Formula parse error."),parseInt(e)}var me=function(){return Y("-")||Y("+")||i.digitsChars[J]};function ge(e,t,n){var r;if(Y("(")){if(Z(),de(),C&&Y("$")){Z();var o=le();te(o,"Expected substitute name."),r={type:"Substitution",name:o}}else if("String"===n.type)te((r={type:"String",value:ue()}).value,"Expected ".concat(t," argument value."));else if("Selector"===n.type)r=fe(!0);else{if("Formula"!==n.type)return ee("Invalid ".concat(t," signature."));var s=function(){if(Y("e")||Y("o")){var e=le();if("even"===e)return de(),[2,0];if("odd"===e)return de(),[2,1]}var t,n=null,r=1;if(Y("-")&&(Z(),r=-1),me()&&(Y("+")&&Z(),n=pe(),!Y("\\")&&!Y("n")))return[0,n*r];if(null===n&&(n=1),n*=r,Y("\\")?(Z(),t=(0,i.isHex)(J)?ae():Q()):t=Q(),te("n"===t,'Formula parse error: expected "n".'),de(),Y("+")||Y("-")){var o=Y("+")?1:-1;return Z(),de(),[n,o*pe()]}return[n,0]}(),a=s[0],c=s[1];r={type:"Formula",a,b:c},n.ofSelector&&(de(),(Y("o")||Y("\\"))&&(te("of"===le(),"Formula of selector parse error."),de(),r={type:"FormulaOfSelector",a,b:c,selector:ve()}))}if(de(),re()&&!u)return r;oe(")")}else te(n.optional,"Argument is required for ".concat(t,' "').concat(e,'".'));return r}function ye(){if(Y("*"))return te(E,"Wildcard tag name is not enabled."),Z(),{type:"WildcardTag"};if((0,i.isIdentStart)(J)){te(S,"Tag names are not enabled.");var e=le();return te(e,"Expected tag name."),{type:"TagName",name:e}}return ee("Expected tag name.")}function be(){if(Y("*")){var e=q;return Z(),Y("|")?(Z(),K()?(te(A,"Namespaces are not enabled."),te(T,"Wildcard namespace is not enabled."),(n=ye()).namespace={type:"WildcardNamespace"},n):(X(e),ye())):(X(e),ye())}if(Y("|"))return te(A,"Namespaces are not enabled."),Z(),(n=ye()).namespace={type:"NoNamespace"},n;if((0,i.isIdentStart)(J)){var t=le();if(te(t,"Expected tag name."),!Y("|"))return te(S,"Tag names are not enabled."),{type:"TagName",name:t};var n;e=q;return Z(),K()?(te(A,"Namespaces are not enabled."),(n=ye()).namespace={type:"NamespaceName",name:t},n):(X(e),{type:"TagName",name:t})}return ee("Expected tag name.")}function ve(e){var t,n;void 0===e&&(e=!1);var i={type:"Rule",items:[]};e&&((y=ie(I))&&(i.combinator=y,de()));for(;q<G;)if(K())te(0===i.items.length,"Unexpected tag/namespace start."),i.items.push(be());else if(Y("|")){var s=q;if(Z(),!K()){X(s);break}te(0===i.items.length,"Unexpected tag/namespace start."),X(s),i.items.push(be())}else if(Y(".")){te(x,"Class names are not enabled."),Z();var a=le();te(a,"Expected class name."),i.items.push({type:"ClassName",name:a})}else if(Y("#")){te(O,"IDs are not enabled."),Z();var c=le();te(c,"Expected ID name."),i.items.push({type:"Id",name:c})}else if(Y("["))te(N,"Attributes are not enabled."),i.items.push(he());else{if(!Y(":"))break;var l=!1;Z(),Y(":")&&(te(B,"Pseudo elements are not enabled."),te(H,"Pseudo elements double colon notation is not enabled."),l=!0,Z());var u=le();if(te(l||u,"Expected pseudo-class name."),te(!l||u,"Expected pseudo-element name."),te(u,"Expected pseudo-class name."),!l||z||Object.prototype.hasOwnProperty.call(W,u));else{var d=o.pseudoLocationIndex.pseudoElements[u],f='Unknown pseudo-element "'.concat(u,'"');d&&d.length>0&&(f+=". It is defined in: ".concat(d.join(", "))),ee(f+".")}if(B&&(l||!l&&$&&Object.prototype.hasOwnProperty.call(W,u))){var h={type:"PseudoElement",name:u};(m=ge(u,"pseudo-element",p=null!==(t=W[u])&&void 0!==t?t:z&&r.defaultPseudoSignature))&&(te("Formula"!==m.type&&"FormulaOfSelector"!==m.type,"Pseudo-elements cannot have formula argument."),h.argument=m),i.items.push(h)}else{var p;if(te(D,"Pseudo-classes are not enabled."),p=null!==(n=L[u])&&void 0!==n?n:F&&r.defaultPseudoSignature);else{d=o.pseudoLocationIndex.pseudoClasses[u],f='Unknown pseudo-class: "'.concat(u,'"');d&&d.length>0&&(f+=". It is defined in: ".concat(d.join(", "))),ee(f+".")}var m,g={type:"PseudoClass",name:u};(m=ge(u,"pseudo-class",p))&&(g.argument=m),i.items.push(g)}}if(0===i.items.length)return re()?ee("Expected rule but end of input reached."):ee('Expected rule but "'.concat(J,'" found.'));if(de(),!re()&&!Y(",")&&!Y(")")){var y=ie(I);de(),i.nestedRule=ve(),i.nestedRule.combinator=y}return i}return function(e){if("string"!=typeof e)throw new Error("".concat(s,"Expected string input."));return G=(U=e).length,q=0,J=U.charAt(0),fe()}}}),Un=n.cw(function(e,t){function n(e){var t={type:"NoArgument",optional:!1};function n(e){if(t.type&&t.type!==e&&"NoArgument"!==t.type)throw new Error('Conflicting pseudo-class argument type: "'.concat(t.type,'" vs "').concat(e,'".'));t.type=e}for(var r=0,o=e;r<o.length;r++){var i=o[r];"NoArgument"===i&&(t.optional=!0),"Formula"===i&&n("Formula"),"FormulaOfSelector"===i&&(n("Formula"),t.ofSelector=!0),"String"===i&&n("String"),"Selector"===i&&n("Selector")}return t}function r(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o];if(i)for(var s=0,a=i;s<a.length;s++){var c=a[s];(t[c]||(t[c]=[])).push(o)}}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.calculatePseudoSignatures=t.inverseCategories=t.defaultPseudoSignature=t.emptyPseudoSignatures=void 0,t.emptyPseudoSignatures={},t.defaultPseudoSignature={type:"String",optional:!0},t.inverseCategories=r,t.calculatePseudoSignatures=function(e){for(var t=r(e),o={},i=0,s=Object.keys(t);i<s.length;i++){var a=s[i],c=t[a];c&&(o[a]=n(c))}return o}}),Gn=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var n=Jn(),r="css-selector-parser render error: ";function o(e){if("WildcardNamespace"===e.type)return"*|";if("NamespaceName"===e.type)return"".concat((0,n.escapeIdentifier)(e.name),"|");if("NoNamespace"===e.type)return"|";throw new Error("".concat(r,"Unknown namespace type: ").concat(e.type,"."))}function i(e,t){if(e){var n="".concat(1===e?"":-1===e?"-":e,"n");return t&&(n+="".concat(t>0?"+":"").concat(t)),n}return String(t)}t.render=function e(t){if("Selector"===t.type)return t.rules.map(e).join(", ");if("Rule"===t.type){var s="",a=t.items,c=t.combinator,l=t.nestedRule;c&&(s+="".concat(c," "));for(var u=0,d=a;u<d.length;u++){s+=e(d[u])}return l&&(s+=" ".concat(e(l))),s}if("TagName"===t.type||"WildcardTag"===t.type){s="";return(h=t.namespace)&&(s+=o(h)),"TagName"===t.type?s+=(0,n.escapeIdentifier)(t.name):"WildcardTag"===t.type&&(s+="*"),s}if("Id"===t.type)return"#".concat((0,n.escapeIdentifier)(t.name));if("ClassName"===t.type)return".".concat((0,n.escapeIdentifier)(t.name));if("Attribute"===t.type){var f=t.name,h=t.namespace,p=t.operator,m=t.value,g=t.caseSensitivityModifier;s="[";if(h&&(s+=o(h)),s+=(0,n.escapeIdentifier)(f),p&&m){if(s+=p,"String"===m.type)s+=(0,n.escapeString)(m.value);else{if("Substitution"!==m.type)throw new Error("Unknown attribute value type: ".concat(m.type,"."));s+=(w=m,"$".concat((0,n.escapeIdentifier)(w.name)))}g&&(s+=" ".concat((0,n.escapeIdentifier)(g)))}return s+="]"}if("PseudoClass"===t.type){var y=t.name,b=t.argument;s=":".concat((0,n.escapeIdentifier)(y));return b&&(s+="(".concat("String"===b.type?(0,n.escapeIdentifier)(b.value):e(b),")")),s}if("PseudoElement"===t.type){var v=t.name;b=t.argument,s="::".concat((0,n.escapeIdentifier)(v));return b&&(s+="(".concat("String"===b.type?(0,n.escapeIdentifier)(b.value):e(b),")")),s}if("String"===t.type)throw new Error("".concat(r,"String cannot be rendered outside of context."));if("Formula"===t.type)return i(t.a,t.b);if("FormulaOfSelector"===t.type)return i(t.a,t.b)+" of "+e(t.selector);if("Substitution"===t.type)return"$".concat((0,n.escapeIdentifier)(t.name));var w;throw new Error("Unknown type specified to render method: ".concat(t.type,"."))}}),qn=n.cw(function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoLocationIndex=t.buildPseudoLocationIndex=t.cssSyntaxDefinitions=t.cssModules=t.extendSyntaxDefinition=t.getXmlOptions=void 0;var r,o,i={},s={wildcard:!0};function a(e,t){return function(n,r){return!0===r?e:t(!0===n?e:n,r)}}function c(e){return function(t,r){if(!r||!t)return r;if("object"!=typeof r||null===r)throw new Error("Unexpected syntax definition extension type: ".concat(r,"."));for(var o=n({},t),i=0,s=Object.entries(r);i<s.length;i++){var a=s[i],c=a[0],l=a[1];if("latest"!==c){var u=e[c];o[c]=u(t[c],l)}}return o}}function l(e,t){return void 0!==t?t:e}function u(e,t){return t?e?e.concat(t):t:e}function d(e,t){if(!t)return e;if(!e)return t;for(var r=n({},e),o=0,i=Object.entries(t);o<i.length;o++){var s=i[o],a=s[0],c=s[1];if(c){var l=e[a];r[a]=l?l.concat(c):c}else delete r[a]}return r}t.getXmlOptions=function(e){return e?"boolean"==typeof e?s:e:i},t.extendSyntaxDefinition=function(e){return function(t,n){var r=e(t,n);if(!r)throw new Error("Syntax definition cannot be null or undefined.");return r}}(c({baseSyntax:l,modules:u,tag:a(s,c({wildcard:l})),ids:l,classNames:l,namespace:a(s,c({wildcard:l})),combinators:u,attributes:c({operators:u,caseSensitivityModifiers:u,unknownCaseSensitivityModifiers:l}),pseudoClasses:c({unknown:l,definitions:d}),pseudoElements:c({unknown:l,notation:l,definitions:(r=function(e){return Array.isArray(e)?{NoArgument:e}:e},o=d,function(e,t){return o(r(e),r(t))})})}));var f={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},h=(0,t.extendSyntaxDefinition)(f,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),p=(0,t.extendSyntaxDefinition)(h,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),m=(0,t.extendSyntaxDefinition)(p,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid","playing","paused","autofill","modal","fullscreen","picture-in-picture","defined","loading","popover-open"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has","state"]}},pseudoElements:{definitions:{NoArgument:["marker"]}}});t.cssModules={"css-position-1":{latest:!1,pseudoClasses:{definitions:{NoArgument:["static","relative","absolute"]}}},"css-position-2":{latest:!1,pseudoClasses:{definitions:{NoArgument:["static","relative","absolute","fixed"]}}},"css-position-3":{latest:!1,pseudoClasses:{definitions:{NoArgument:["sticky","fixed","absolute","relative","static"]}}},"css-position-4":{latest:!0,pseudoClasses:{definitions:{NoArgument:["sticky","fixed","absolute","relative","static","initial"]}}},"css-scoping-1":{latest:!0,pseudoClasses:{definitions:{NoArgument:["host","host-context"],Selector:["host","host-context"]}},pseudoElements:{definitions:{Selector:["slotted"]}}},"css-pseudo-4":{latest:!0,pseudoElements:{definitions:{NoArgument:["marker","selection","target-text","search-text","spelling-error","grammar-error","backdrop","file-selector-button","prefix","postfix","placeholder","details-content"],String:["highlight"]}}},"css-shadow-parts-1":{latest:!0,pseudoElements:{definitions:{String:["part"]}}}};var g=n(n({},m),{modules:Object.entries(t.cssModules).filter(function(e){return e[1].latest}).map(function(e){return e[0]})}),y=(0,t.extendSyntaxDefinition)(g,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}});function b(){for(var e={pseudoClasses:{},pseudoElements:{}},n=0,r=["css1","css2","css3","selectors-3","selectors-4"];n<r.length;n++){var o=r[n],i=t.cssSyntaxDefinitions[o];if(i.pseudoClasses&&"object"==typeof i.pseudoClasses)if(S=i.pseudoClasses.definitions)for(var s=0,a=Object.entries(S);s<a.length;s++)for(var c=0,l=a[s][1];c<l.length;c++){var u=l[c];e.pseudoClasses[u]||(e.pseudoClasses[u]=[]),e.pseudoClasses[u].includes(o)||e.pseudoClasses[u].push(o)}if(i.pseudoElements&&"object"==typeof i.pseudoElements)if(S=i.pseudoElements.definitions)if(Array.isArray(S))for(var d=0,f=S;d<f.length;d++){var h=f[d];e.pseudoElements[h]||(e.pseudoElements[h]=[]),e.pseudoElements[h].includes(o)||e.pseudoElements[h].push(o)}else for(var p=0,m=Object.values(S);p<m.length;p++)for(var g=0,y=m[p];g<y.length;g++){var b=y[g];e.pseudoElements[b]||(e.pseudoElements[b]=[]),e.pseudoElements[b].includes(o)||e.pseudoElements[b].push(o)}}for(var v=0,w=Object.entries(t.cssModules);v<w.length;v++){var S,E=w[v],O=E[0],x=E[1];if(x.pseudoClasses&&"object"==typeof x.pseudoClasses)if(S=x.pseudoClasses.definitions)for(var A=0,T=Object.values(S);A<T.length;A++)for(var C=0,I=T[A];C<I.length;C++){var P=I[C];e.pseudoClasses[P]||(e.pseudoClasses[P]=[]),e.pseudoClasses[P].includes(O)||e.pseudoClasses[P].push(O)}if(x.pseudoElements&&"object"==typeof x.pseudoElements)if(S=x.pseudoElements.definitions)if(Array.isArray(S))for(var N=0,j=S;N<j.length;N++){var R=j[N];e.pseudoElements[R]||(e.pseudoElements[R]=[]),e.pseudoElements[R].includes(O)||e.pseudoElements[R].push(O)}else for(var k=0,M=Object.values(S);k<M.length;k++)for(var _=0,D=M[k];_<D.length;_++){var L=D[_];e.pseudoElements[L]||(e.pseudoElements[L]=[]),e.pseudoElements[L].includes(O)||e.pseudoElements[L].push(O)}}return e}t.cssSyntaxDefinitions={css1:f,css2:h,css3:p,"selectors-3":p,"selectors-4":m,latest:g,progressive:y},t.buildPseudoLocationIndex=b,t.pseudoLocationIndex=b()}),Jn=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeString=t.escapeIdentifier=t.maxHexLength=t.digitsChars=t.quoteChars=t.whitespaceChars=t.stringRenderEscapeChars=t.identEscapeChars=t.isHex=t.isIdent=t.isIdentStart=void 0,t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e||"\\"===e||e>=" "},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e||e>=" "},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.identEscapeChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.stringRenderEscapeChars={"\n":!0,"\r":!0,"\t":!0,"\f":!0,"\v":!0},t.whitespaceChars={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},t.quoteChars={'"':!0,"'":!0},t.digitsChars={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0},t.maxHexLength=6,t.escapeIdentifier=function(e){for(var n=e.length,r="",o=0;o<n;){var i=e.charAt(o);if(t.identEscapeChars[i]||"-"===i&&1===o&&"-"===e.charAt(0))r+="\\"+i;else if("-"===i||"_"===i||i>="A"&&i<="Z"||i>="a"&&i<="z"||i>="0"&&i<="9"&&0!==o&&(1!==o||"-"!==e.charAt(0)))r+=i;else{var s=i.charCodeAt(0);if(55296==(63488&s)){var a=e.charCodeAt(o++);if(55296!=(64512&s)||56320!=(64512&a))throw Error("UCS-2(decode): illegal sequence");s=((1023&s)<<10)+(1023&a)+65536}r+="\\"+s.toString(16)+" "}o++}return r.trim()},t.escapeString=function(e){for(var n=e.length,r="",o=0;o<n;){var i=e.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":t.stringRenderEscapeChars[i]&&(i="\\"+i.charCodeAt(0).toString(16)+(o===n-1?"":" ")),r+=i,o++}return'"'.concat(r,'"')}}),Yn=n.cw(function(e,t){function r(){return!0}function o(){return!1}n.d(t,{a:()=>o,z:()=>r})}),Kn=n.cw(function(e,t){const r=/[-[\]{}()*+?.,\\^$|#\s]/g,o=/\s/;function i(e){return e.replace(r,"\\$&")}const s=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function a(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&s.has(e.name)}const c={equals(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;return a(t,n)?(i=i.toLowerCase(),t=>{const n=r.getAttributeValue(t,o);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&e(t)}):t=>r.getAttributeValue(t,o)===i&&e(t)},hyphen(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;const{length:s}=i;return a(t,n)?(i=i.toLowerCase(),function(t){const n=r.getAttributeValue(t,o);return null!=n&&(n.length===s||"-"===n.charAt(s))&&n.substr(0,s).toLowerCase()===i&&e(t)}):function(t){const n=r.getAttributeValue(t,o);return null!=n&&(n.length===s||"-"===n.charAt(s))&&n.substr(0,s)===i&&e(t)}},element(e,t,n){const{adapter:r}=n,{name:s,value:c}=t;if(o.test(c))return Yn().a;const l=new RegExp(`(?:^|\\s)${i(c)}(?:$|\\s)`,a(t,n)?"i":"");return function(t){const n=r.getAttributeValue(t,s);return null!=n&&n.length>=c.length&&l.test(n)&&e(t)}},exists:(e,{name:t},{adapter:n})=>r=>n.hasAttrib(r,t)&&e(r),start(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;const{length:s}=i;return 0===s?Yn().a:a(t,n)?(i=i.toLowerCase(),t=>{const n=r.getAttributeValue(t,o);return null!=n&&n.length>=s&&n.substr(0,s).toLowerCase()===i&&e(t)}):t=>!!r.getAttributeValue(t,o)?.startsWith(i)&&e(t)},end(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;const s=-i.length;return 0===s?Yn().a:a(t,n)?(i=i.toLowerCase(),t=>r.getAttributeValue(t,o)?.substr(s).toLowerCase()===i&&e(t)):t=>!!r.getAttributeValue(t,o)?.endsWith(i)&&e(t)},any(e,t,n){const{adapter:r}=n,{name:o,value:s}=t;if(""===s)return Yn().a;if(a(t,n)){const t=new RegExp(i(s),"i");return function(n){const i=r.getAttributeValue(n,o);return null!=i&&i.length>=s.length&&t.test(i)&&e(n)}}return t=>!!r.getAttributeValue(t,o)?.includes(s)&&e(t)},not(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;return""===i?t=>!!r.getAttributeValue(t,o)&&e(t):a(t,n)?(i=i.toLowerCase(),t=>{const n=r.getAttributeValue(t,o);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&e(t)}):t=>r.getAttributeValue(t,o)!==i&&e(t)}};n.d(t,["A",0,c])}),Xn=n.cw(function(e,t){n.d(t,{X:()=>s});const r={type:ur().cV.Descendant},o={type:"_flexibleDescendant"},i={type:ur().cV.Pseudo,name:"scope",data:null};function s(e,t,n){for(const t of e)(0,nr().YR)(t);const{context:c=n,rootFunc:l=Yn().z}=t,u=Array.isArray(c),d=c&&(Array.isArray(c)?c:[c]);if(!1!==t.relativeSelector)!function(e,{adapter:t},n){const o=!!n?.every(e=>e===cr().Z||t.isTag(e)&&null!==(0,tr().Dn)(e,t));for(const t of e){if(t.length>0&&(0,nr().$1)(t[0])&&t[0].type!==ur().cV.Descendant);else{if(!o||t.some(nr().CX))continue;t.unshift(r)}t.unshift(i)}}(e,t,d);else if(e.some(e=>e.length>0&&(0,nr().$1)(e[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let f=!1,h=Yn().a;e:for(const n of e){if(n.length>=2){const[e,t]=n;e.type!==ur().cV.Pseudo||"scope"!==e.name||(u&&t.type===ur().cV.Descendant?n[1]=o:t.type!==ur().cV.Adjacent&&t.type!==ur().cV.Sibling||(f=!0))}let e=l,r=!1;for(const o of n){e=(0,Zn().p)(e,o,t,d,s,r);if(0===(0,nr().iQ)(o)&&(r=!0),e===Yn().a)continue e}if(e===l)return l;h=h===Yn().a?e:a(h,e)}return h.shouldTestNextSiblings=f,h}function a(e,t){return n=>e(n)||t(n)}}),Zn=n.cw(function(e,t){function r(e,t,n,r,o,i){const{adapter:s,equals:a,cacheResults:c}=n;switch(t.type){case ur().cV.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case ur().cV.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case ur().cV.Attribute:if(null!=t.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),Kn().A[t.action](e,t,n);case ur().cV.Pseudo:return(0,sr().F)(e,t,n,r,o);case ur().cV.Tag:{if(null!=t.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:r}=t;return n.xmlMode&&!n.lowerCaseTags||(r=r.toLowerCase()),function(t){return s.getName(t)===r&&e(t)}}case ur().cV.Descendant:{if(!i||!1===c||"undefined"==typeof WeakMap)return function(t){let n=t;for(;n=(0,tr().Dn)(n,s);)if(e(n))return!0;return!1};const t=new WeakMap;return function(n){let r,o=n;for(;o=(0,tr().Dn)(o,s);){const n=t.get(o);if(void 0!==n)return r&&(r.matches=n.matches),n.matches;if(r??={matches:!1},r.matches=e(o),t.set(o,r),r.matches)return!0}return!1}}case"_flexibleDescendant":return function(t){let n=t;do{if(e(n))return!0;n=(0,tr().Dn)(n,s)}while(n);return!1};case ur().cV.Parent:return function(t){return s.getChildren(t).some(t=>s.isTag(t)&&e(t))};case ur().cV.Child:return function(t){const n=(0,tr().Dn)(t,s);return null!==n&&e(n)};case ur().cV.Sibling:return function(t){const n=s.getSiblings(t);for(const r of n){if(a(t,r))break;if(s.isTag(r)&&e(r))return!0}return!1};case ur().cV.Adjacent:return s.prevElementSibling?function(t){const n=s.prevElementSibling(t);return null!=n&&e(n)}:function(t){const n=s.getSiblings(t);let r;for(const e of n){if(a(t,e))break;s.isTag(e)&&(r=e)}return!!r&&e(r)};case ur().cV.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}n.d(t,{p:()=>r})}),Qn=n.cw(function(e,t){function r(e,{adapter:t,cacheResults:n},r){if(!1===n||"undefined"==typeof WeakMap)return t=>e(t)&&r(t);const o=new WeakMap;function i(e){const t=r(e);return o.set(e,t),t}return function(n){if(!e(n))return!1;if(o.has(n))return o.get(n)??!1;let r=n;do{const e=(0,tr().Dn)(r,t);if(null===e)return i(n);r=e}while(!o.has(r));return!!o.get(r)&&i(n)}}n.d(t,{L:()=>r})}),er=n.cw(function(e,t){function r(e){const{context:t,rootFunc:n,...r}=e;return r}n.d(t,{S:()=>r})}),tr=n.cw(function(e,t){function r(e,t,n){const{adapter:r,xmlMode:o=!1}=n,i=[],s=[t],a=[0];for(;;){if(a[0]>=s[0].length){if(1===s.length)return i;s.shift(),a.shift();continue}const t=s[0][a[0]++];if(r.isTag(t)&&(e(t)&&i.push(t),o||"template"!==r.getName(t))){const e=r.getChildren(t);e.length>0&&(s.unshift(e),a.unshift(0))}}}function o(e,t,n){const{adapter:r,xmlMode:o=!1}=n,i=[t],s=[0];for(;;){if(s[0]>=i[0].length){if(1===i.length)return null;i.shift(),s.shift();continue}const t=i[0][s[0]++];if(r.isTag(t)){if(e(t))return t;if(o||"template"!==r.getName(t)){const e=r.getChildren(t);e.length>0&&(i.unshift(e),s.unshift(0))}}}}function i(e,t){const n=t.getSiblings(e);if(n.length<=1)return[];const r=n.indexOf(e);return-1===r||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function s(e,t){const n=t.getParent(e);return null!=n&&t.isTag(n)?n:null}n.d(t,{Dn:()=>s,JW:()=>r,sM:()=>o,xu:()=>i})}),nr=n.cw(function(e,t){function r(e){return"_flexibleDescendant"===e.type||(0,lr().$)(e)}function o(e){const t=e.map(i);for(let n=1;n<e.length;n++){const r=t[n];if(!(r<0))for(let o=n;o>0&&r<t[o-1];o--){const n=e[o];e[o]=e[o-1],e[o-1]=n,t[o]=t[o-1],t[o-1]=r}}}function i(e){switch(e.type){case ur().cV.Universal:return 50;case ur().cV.Tag:return 30;case ur().cV.Attribute:return Math.floor(function(e){switch(e.action){case ur().V4.Exists:return 10;case ur().V4.Equals:return"id"===e.name?9:8;case ur().V4.Not:return 7;case ur().V4.Start:case ur().V4.End:return 6;case ur().V4.Any:return 5;case ur().V4.Hyphen:return 4;case ur().V4.Element:return 3}}(e)/(e.ignoreCase?2:1));case ur().cV.Pseudo:return e.data?"has"===e.name||"contains"===e.name||"icontains"===e.name?0:Array.isArray(e.data)?Math.max(0,Math.min(...e.data.map(e=>Math.min(...e.map(i))))):2:3;default:return-1}}function s(e){return e.type===ur().cV.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(e=>e.some(s)))}n.d(t,{$1:()=>r,CX:()=>s,YR:()=>o,iQ:()=>i})}),rr=n.cw(function(e,t){const r=(e,t)=>e===t,o={adapter:{...br,isTag:pr().dz},equals:r};function i(e){const t=e??o;return t.adapter??=o.adapter,t.equals??=t.adapter?.equals??r,t}function s(e,t,n){return(0,Xn().X)("string"==typeof e?(0,lr().q)(e):e,i(t),n)}function a(e){return function(t,n,r){const o=i(r);"function"!=typeof t&&(t=s(t,o,n));const a=function(e,t,n=!1){n&&(e=function(e,t){const n=Array.isArray(e)?[...e]:[e],r=n.length;for(let e=0;e<r;e++){const r=(0,tr().xu)(n[e],t);n.push(...r)}return n}(e,t));return Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}(n,o.adapter,t.shouldTestNextSiblings);return e(t,a,o)}}const c=a((e,t,n)=>e!==Yn().a&&t&&0!==t.length?(0,tr().JW)(e,t,n):[]),l=a((e,t,n)=>e!==Yn().a&&t&&0!==t.length?(0,tr().sM)(e,t,n):null);n.d(t,["JR",0,l,"Ub",0,c])}),or=n.cw(function(e,t){const r="input:is([type=text i],[type=search i],[type=url i],[type=tel i],[type=email i],[type=password i],[type=date i],[type=month i],[type=week i],[type=time i],[type=datetime-local i],[type=number i])",o={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":is(button, input, select, textarea, optgroup, option, fieldset):not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], :selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])","read-only":`[readonly]:is(textarea, ${r})`,"read-write":`:not([readonly]):is(textarea, ${r})`,selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};n.d(t,["z",0,o])}),ir=n.cw(function(e,t){function r(e,t){if("*"!==t[0]&&t[0]!==e[0])return!1;let n=1;for(let r=1;r<t.length;r++)if("*"!==t[r]){for(;n<e.length&&e[n]!==t[r];)if(e[n++].length<=1)return!1;if(n>=e.length)return!1;n++}return!0}const o=/^(.+?)\s+of\s+(.+)$/is;function i(e,t){return function(n,r,i,s,a){const{adapter:c,equals:l}=i,u=t?null:r.match(o),d=(0,Tr().A)(u?u[1].trim():r);if(d===Yn().a)return Yn().a;const f=u&&a?a((0,lr().q)(u[2].trim()),(0,er().S)(i),s):void 0;if(f===Yn().a)return Yn().a;if(d===Yn().z&&!f)return e=>null!==(0,tr().Dn)(e,c)&&n(e);const h=f?(e,t)=>f(t):t?(e,t)=>c.getName(t)===c.getName(e):Yn().z;return e?function(e){if(f&&!f(e))return!1;const t=c.getSiblings(e);let r=0;for(let n=t.length-1;n>=0;n--){const o=t[n];if(l(e,o))break;c.isTag(o)&&h(e,o)&&r++}return d(r)&&n(e)}:function(e){if(f&&!f(e))return!1;const t=c.getSiblings(e);let r=0;for(const n of t){if(l(e,n))break;c.isTag(n)&&h(e,n)&&r++}return d(r)&&n(e)}}}const s={contains(e,t,n){const{getText:r}=n.adapter;return(0,Qn().L)(e,n,e=>r(e).includes(t))},icontains(e,t,n){const r=t.toLowerCase(),{getText:o}=n.adapter;return(0,Qn().L)(e,n,e=>o(e).toLowerCase().includes(r))},"nth-child":i(!1,!1),"nth-last-child":i(!0,!1),"nth-of-type":i(!1,!0),"nth-last-of-type":i(!0,!0),root:(e,t,{adapter:n})=>t=>null===(0,tr().Dn)(t,n)&&e(t),scope(e,t,n,r){const{equals:o}=n;return r&&0!==r.length?1===r.length?t=>o(r[0],t)&&e(t):t=>r.includes(t)&&e(t):s.root(e,t,n)},lang(e,t,{adapter:n}){const o=t.split(",").map(e=>e.trim()).filter(e=>e.length>0).map(e=>e.replace(/^['"]|['"]$/g,"").toLowerCase().split("-"));return function(t){let i=t;for(;null!=i;){const s=n.getAttributeValue(i,"xml:lang")??n.getAttributeValue(i,"lang");if(null!=s){if(!s)return o.some(e=>""===e[0])&&e(t);const n=s.toLowerCase().split("-");return o.some(e=>r(n,e))&&e(t)}const a=n.getParent(i);i=null!=a&&n.isTag(a)?a:null}return o.some(e=>""===e[0])&&e(t)}},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")};function a(e){return function(t,n,{adapter:r}){const o=r[e];return"function"!=typeof o?Yn().a:function(e){return o(e)&&t(e)}}}n.d(t,["u",0,s])}),sr=n.cw(function(e,t){function r(e,t,n,r,o){const{name:i,data:s}=t;if(Array.isArray(s)){if(!(i in cr().k))throw new Error(`Unknown pseudo-class :${i}(${s})`);return cr().k[i](e,s,n,r,o)}const a=n.pseudos?.[i],c="string"==typeof a?a:or().z[i];if("string"==typeof c){if(null!=s)throw new Error(`Pseudo ${i} doesn't have any arguments`);const t=(0,lr().q)(c);return cr().k.is(e,t,n,r,o)}if("function"==typeof a)return(0,ar()._)(a,i,s,1),t=>a(t,s)&&e(t);if(i in ir().u)return ir().u[i](e,s,n,r,o);if(i in ar().K){const t=ar().K[i];return(0,ar()._)(t,i,s,2),r=>t(r,n,s)&&e(r)}throw new Error(`Unknown pseudo-class :${i}`)}n.d(t,{F:()=>r})}),ar=n.cw(function(e,t){n.d(t,{_:()=>i});const r=/^[ \t\r\n]*$/,o={empty(e,{adapter:t}){const n=t.getChildren(e);return n.every(e=>!t.isTag(e))&&n.every(e=>r.test(t.getText(e)))},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return null==t.prevElementSibling(e);const r=t.getSiblings(e).find(e=>t.isTag(e));return null!=r&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){const r=t.getSiblings(e);for(let o=r.length-1;o>=0;o--){if(n(e,r[o]))return!0;if(t.isTag(r[o]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){const r=t.getSiblings(e),o=t.getName(e);for(const i of r){if(n(e,i))return!0;if(t.isTag(i)&&t.getName(i)===o)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){const r=t.getSiblings(e),o=t.getName(e);for(let i=r.length-1;i>=0;i--){const s=r[i];if(n(e,s))return!0;if(t.isTag(s)&&t.getName(s)===o)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){const r=t.getName(e);return t.getSiblings(e).every(o=>n(e,o)||!t.isTag(o)||t.getName(o)!==r)},"only-child":(e,{adapter:t,equals:n})=>t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))};function i(e,t,n,r){if(null===n){if(e.length>r)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}n.d(t,["K",0,o])}),cr=n.cw(function(e,t){const r={};const o=(e,t,n,r,o)=>{const i=o(t,(0,er().S)(n),r);return i===Yn().z?e:i===Yn().a?Yn().a:t=>i(t)&&e(t)},i={is:o,matches:o,where:o,not(e,t,n,r,o){const i=o(t,(0,er().S)(n),r);return i===Yn().a?e:i===Yn().z?Yn().a:t=>!i(t)&&e(t)},has(e,t,n,o,i){const{adapter:s}=n,a=(0,er().S)(n);a.relativeSelector=!0;const c=t.some(e=>e.some(nr().$1))?[r]:void 0,l=t.some(e=>e.length>0&&((0,nr().$1)(e[0])||e.some(nr().CX)));const u=i(t,a,c);if(u===Yn().a)return Yn().a;if(c&&u!==Yn().z)return l?t=>{if(!e(t))return!1;c[0]=t;const r=s.getChildren(t);return null!==(0,tr().sM)(u,u.shouldTestNextSiblings?[...r,...(0,tr().xu)(t,s)]:r,n)}:(0,Qn().L)(e,n,e=>(c[0]=e,null!==(0,tr().sM)(u,s.getChildren(e),n)));const d=e=>null!==(0,tr().sM)(u,s.getChildren(e),n);return l?t=>e(t)&&d(t):(0,Qn().L)(e,n,d)}};n.d(t,["Z",0,r,"k",0,i])}),lr=n.cw(function(e,t){n.d(t,{$:()=>l,q:()=>m});const r=/^[^#\\]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\u00B0-\uFFFF-])+/,o=/\\([\da-f]{1,6}\s?|(\s)|.)/gi;var i;!function(e){e[e.LeftParenthesis=40]="LeftParenthesis",e[e.RightParenthesis=41]="RightParenthesis",e[e.LeftSquareBracket=91]="LeftSquareBracket",e[e.RightSquareBracket=93]="RightSquareBracket",e[e.Comma=44]="Comma",e[e.Period=46]="Period",e[e.Colon=58]="Colon",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Plus=43]="Plus",e[e.Tilde=126]="Tilde",e[e.QuestionMark=63]="QuestionMark",e[e.ExclamationMark=33]="ExclamationMark",e[e.Slash=47]="Slash",e[e.Equal=61]="Equal",e[e.Dollar=36]="Dollar",e[e.Pipe=124]="Pipe",e[e.Circumflex=94]="Circumflex",e[e.Asterisk=42]="Asterisk",e[e.GreaterThan=62]="GreaterThan",e[e.LessThan=60]="LessThan",e[e.Hash=35]="Hash",e[e.LowerI=105]="LowerI",e[e.LowerS=115]="LowerS",e[e.BackSlash=92]="BackSlash",e[e.Space=32]="Space",e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn"}(i||(i={}));const s=new Map([[i.Tilde,ur().V4.Element],[i.Circumflex,ur().V4.Start],[i.Dollar,ur().V4.End],[i.Asterisk,ur().V4.Any],[i.ExclamationMark,ur().V4.Not],[i.Pipe,ur().V4.Hyphen]]),a=new Set(["has","not","matches","is","where","host","host-context"]),c=new Set(["before","after","first-line","first-letter"]);function l(e){switch(e.type){case ur().cV.Adjacent:case ur().cV.Child:case ur().cV.Descendant:case ur().cV.Parent:case ur().cV.Sibling:case ur().cV.ColumnCombinator:return!0;case ur().cV.Attribute:case ur().cV.Pseudo:case ur().cV.PseudoElement:case ur().cV.Tag:case ur().cV.Universal:return!1}}const u=new Set(["contains","icontains"]);function d(e,t,n){const r=Number.parseInt(t,16)-65536;return Number.isNaN(r)||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function f(e){return e.replace(o,d)}function h(e){return e===i.SingleQuote||e===i.DoubleQuote}function p(e){return e===i.Space||e===i.Tab||e===i.NewLine||e===i.FormFeed||e===i.CarriageReturn}function m(e){const t=[],n=g(t,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return t}function g(e,t,n){let o=[];function d(e){const o=t.slice(n+e).match(r);if(!o)throw new Error(`Expected name, found ${t.slice(n)}`);const[i]=o;return n+=e+i.length,f(i)}function m(e){for(n+=e;n<t.length&&p(t.charCodeAt(n));)n++}function y(){const e=n+=1;for(let r=1;n<t.length;n++)switch(t.charCodeAt(n)){case i.BackSlash:n+=1;break;case i.LeftParenthesis:r+=1;break;case i.RightParenthesis:if(r-=1,0===r)return f(t.slice(e,n++))}throw new Error("Parenthesis not matched")}function b(){if(o.length>0&&l(o[o.length-1]))throw new Error("Did not expect successive traversals.")}function v(e){o.length>0&&o[o.length-1].type===ur().cV.Descendant?o[o.length-1].type=e:(b(),o.push({type:e}))}function w(e,t){o.push({type:ur().cV.Attribute,name:e,action:t,value:d(1),namespace:null,ignoreCase:"quirks"})}function S(){if(o.length>0&&o[o.length-1].type===ur().cV.Descendant&&o.pop(),0===o.length)throw new Error("Empty sub-selector");e.push(o)}if(m(0),t.length===n)return n;e:for(;n<t.length;){const e=t.charCodeAt(n);switch(e){case i.Space:case i.Tab:case i.NewLine:case i.FormFeed:case i.CarriageReturn:0!==o.length&&o[0].type===ur().cV.Descendant||(b(),o.push({type:ur().cV.Descendant})),m(1);break;case i.GreaterThan:v(ur().cV.Child),m(1);break;case i.LessThan:v(ur().cV.Parent),m(1);break;case i.Tilde:v(ur().cV.Sibling),m(1);break;case i.Plus:v(ur().cV.Adjacent),m(1);break;case i.Period:w("class",ur().V4.Element);break;case i.Hash:w("id",ur().V4.Equals);break;case i.LeftSquareBracket:{let e;m(1);let r=null;t.charCodeAt(n)===i.Pipe?e=d(1):t.startsWith("*|",n)?(r="*",e=d(2)):(e=d(0),t.charCodeAt(n)===i.Pipe&&t.charCodeAt(n+1)!==i.Equal&&(r=e,e=d(1))),m(0);let a=ur().V4.Exists;const c=s.get(t.charCodeAt(n));if(c){if(a=c,t.charCodeAt(n+1)!==i.Equal)throw new Error("Expected `=`");m(2)}else t.charCodeAt(n)===i.Equal&&(a=ur().V4.Equals,m(1));let l="",u=null;if("exists"!==a){if(h(t.charCodeAt(n))){const e=t.charCodeAt(n),r=n+=1;for(;n<t.length&&t.charCodeAt(n)!==e;)n+=t.charCodeAt(n)===i.BackSlash?2:1;if(t.charCodeAt(n)!==e)throw new Error("Attribute value didn't end");l=f(t.slice(r,n)),n+=1}else{const e=n;for(;n<t.length&&!p(t.charCodeAt(n))&&t.charCodeAt(n)!==i.RightSquareBracket;)n+=t.charCodeAt(n)===i.BackSlash?2:1;l=f(t.slice(e,n))}switch(m(0),32|t.charCodeAt(n)){case i.LowerI:u=!0,m(1);break;case i.LowerS:u=!1,m(1)}}if(t.charCodeAt(n)!==i.RightSquareBracket)throw new Error("Attribute selector didn't terminate");n+=1;const g={type:ur().cV.Attribute,name:e,action:a,value:l,namespace:r,ignoreCase:u};o.push(g);break}case i.Colon:{if(t.charCodeAt(n+1)===i.Colon){o.push({type:ur().cV.PseudoElement,name:d(2).toLowerCase(),data:t.charCodeAt(n)===i.LeftParenthesis?y():null});break}const e=d(1).toLowerCase();if(c.has(e)){o.push({type:ur().cV.PseudoElement,name:e,data:null});break}let r=null;if(t.charCodeAt(n)===i.LeftParenthesis)if(a.has(e)){if(h(t.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(r=[],n=g(r,t,n+1),t.charCodeAt(n)!==i.RightParenthesis)throw new Error(`Missing closing parenthesis in :${e} (${t})`);n+=1}else{if(r=y(),u.has(e)){const e=r.charCodeAt(0);e===r.charCodeAt(r.length-1)&&h(e)&&(r=r.slice(1,-1))}r=f(r)}o.push({type:ur().cV.Pseudo,name:e,data:r});break}case i.Comma:S(),o=[],m(1);break;default:{if(t.startsWith("/*",n)){const e=t.indexOf("*/",n+2);if(-1===e)throw new Error("Comment was not terminated");n=e+2,0===o.length&&m(0);break}let s,a=null;if(e===i.Asterisk)n+=1,s="*";else if(e===i.Pipe){if(s="",t.charCodeAt(n+1)===i.Pipe){v(ur().cV.ColumnCombinator),m(2);break}}else{if(!r.test(t.slice(n)))break e;s=d(0)}t.charCodeAt(n)===i.Pipe&&t.charCodeAt(n+1)!==i.Pipe&&(a=s,t.charCodeAt(n+1)===i.Asterisk?(s="*",n+=2):s=d(1)),o.push("*"===s?{type:ur().cV.Universal,namespace:a}:{type:ur().cV.Tag,name:s,namespace:a})}}}return S(),n}}),ur=n.cw(function(e,t){var r;n.d(t,{V4:()=>o,cV:()=>r}),function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(r||(r={}));var o;!function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(o||(o={}))}),dr=n.cw(function(e,t){const r=new Map("altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath 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 foreignObject glyphRef linearGradient radialGradient textPath".split(" ").map(e=>[e.toLowerCase(),e])),o=new Map("definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan".split(" ").map(e=>[e.toLowerCase(),e]));n.d(t,["H",0,r,"L",0,o])}),fr=n.cw(function(e,t){const r=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),o=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),i=new Set(["svg","math"]),s=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" "));const a=function(e,t={}){const n="length"in e?e:[e],r=t.xmlMode??!1;let o="";for(let e=0;e<n.length;e++)o+=l(n[e],t,r);return o};function c(e,t,n){let r="";for(let o=0;o<e.length;o++)r+=l(e[o],t,n);return r}function l(e,t,n){switch(e.type){case hr().bL:return c(e.children,t,n);case hr().WL:return`<${e.data}>`;case hr().Mw:return`\x3c!--${e.data}--\x3e`;case hr().KB:return`<![CDATA[${e.children[0].data}]]>`;case hr().eF:case hr().OF:case hr().vw:return function(e,t,n){"foreign"===n&&(e.name=dr().H.get(e.name)??e.name,e.parent&&s.has(e.parent.name)&&(n=!1));!n&&i.has(e.name)&&(n="foreign");const{name:r,children:a}=e,l=!n&&o.has(r);let d=`<${r}${function(e,t,n){if(!e)return"";const r=!1===(t.encodeEntities??t.decodeEntities)?u:n||"utf8"!==t.encodeEntities?xr().WY:xr().Gj,o="foreign"===n,i=!!(t.emptyAttrs??n);let s="";for(const t in e){if(!Object.hasOwn(e,t))continue;const n=e[t],a=o?dr().L.get(t)??t:t;s+=i||null!=n&&""!==n?` ${a}="${r(null==n?"":String(n))}"`:` ${a}`}return s}(e.attribs,t,n)}`;0===a.length&&(n?!1!==t.selfClosingTags:t.selfClosingTags&&l)?d+=n?"/>":" />":(d+=">",a.length>0&&(d+=c(a,t,n)),l||(d+=`</${r}>`));return d}(e,t,n);case hr().EY:{const o=e,i=o.data||"";return!1===(t.encodeEntities??t.decodeEntities)||!n&&o.parent&&r.has(o.parent.name)?i:n||"utf8"!==t.encodeEntities?(0,xr().WY)(i):(0,xr().X1)(i)}}}function u(e){return e.replaceAll('"',"&quot;")}n.d(t,["A",0,a])}),hr=n.cw(function(e,t){var r;function o(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style}n.d(t,{RJ:()=>r,dz:()=>o}),function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r||(r={}));const i=r.Root,s=r.Text,a=r.Directive,c=r.Comment,l=r.Script,u=r.Style,d=r.Tag,f=r.CDATA;r.Doctype;n.d(t,["EY",0,s,"KB",0,f,"Mw",0,c,"OF",0,u,"WL",0,a,"bL",0,i,"eF",0,l,"vw",0,d])}),pr=n.cw(function(e,t){n.d(t,{Cn:()=>s,Go:()=>a,KH:()=>i,dz:()=>r,yf:()=>o});function r(e){return(0,hr().dz)(e)}function o(e){return e.type===hr().RJ.CDATA}function i(e){return e.type===hr().RJ.Text}function s(e){return e.type===hr().RJ.Comment}function a(e){return Object.hasOwn(e,"children")}}),mr=()=>n(9589),gr=n.cw(function(e,t){function r(e){const t=a(u,e);return t?"feed"===t.name?function(e){const t=e.children,n={type:"atom",items:(0,vr().yB)("entry",t).map(e=>{const{children:t}=e,n={media:s(t)};l(n,"id","id",t),l(n,"title","title",t);const r=a("link",t)?.attribs.href;r&&(n.link=r);const o=c("summary",t)||c("content",t);o&&(n.description=o);const i=c("updated",t);return i&&(n.pubDate=new Date(i)),n})};l(n,"id","id",t),l(n,"title","title",t);const r=a("link",t)?.attribs.href;r&&(n.link=r);l(n,"description","subtitle",t);const o=c("updated",t);o&&(n.updated=new Date(o));return l(n,"author","email",t,!0),n}(t):function(e){const t=a("channel",e.children)?.children??[],n={type:e.name.substr(0,3),id:"",items:(0,vr().yB)("item",e.children).map(e=>{const{children:t}=e,n={media:s(t)};l(n,"id","guid",t),l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t);const r=c("pubDate",t)||c("dc:date",t);return r&&(n.pubDate=new Date(r)),n})};l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t);const r=c("lastBuildDate",t);r&&(n.updated=new Date(r));return l(n,"author","managingEditor",t,!0),n}(t):null}n.d(t,{f:()=>r});const o=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,vr().yB)("media:content",e).map(e=>{const{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(const e of o)t[e]&&(n[e]=t[e]);for(const e of i)t[e]&&(n[e]=Number.parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}function a(e,t){return(0,vr().yB)(e,t,!0,1)[0]}function c(e,t,n=!1){return(0,Er().P_)((0,vr().yB)(e,t,n,1)).trim()}function l(e,t,n,r,o=!1){const i=c(n,r,o);i&&(e[t]=i)}function u(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}}),yr=n.cw(function(e,t){function r(e){let t=e.length;for(;--t>=0;){const n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var o;function i(e,t){const n=[],r=[];if(e===t)return 0;let i=(0,pr().Go)(e)?e:e.parent;for(;i;)n.unshift(i),i=i.parent;for(i=(0,pr().Go)(t)?t:t.parent;i;)r.unshift(i),i=i.parent;const s=Math.min(n.length,r.length);let a=0;for(;a<s&&n[a]===r[a];)a++;if(0===a)return o.DISCONNECTED;const c=n[a-1],l=c.children,u=n[a],d=r[a];return l.indexOf(u)>l.indexOf(d)?c===t?o.FOLLOWING|o.CONTAINED_BY:o.FOLLOWING:c===e?o.PRECEDING|o.CONTAINS:o.PRECEDING}function s(e){return(e=e.filter((e,t,n)=>!n.includes(e,t+1))).sort((e,t)=>{const n=i(e,t);return n&o.PRECEDING?-1:n&o.FOLLOWING?1:0}),e}n.d(t,{GZ:()=>s,Iz:()=>r,Xg:()=>o,yz:()=>i}),function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(o||(o={}))}),br={};n.r(br),n.d(br,{DocumentPosition:()=>yr().Xg,append:()=>wr().BC,appendChild:()=>wr().NI,compareDocumentPosition:()=>yr().yz,existsOne:()=>Sr().dd,filter:()=>Sr().pb,find:()=>Sr().I6,findAll:()=>Sr().JW,findOne:()=>Sr().sM,getAttributeValue:()=>Or().ul,getChildren:()=>Or().i0,getElementById:()=>vr().h0,getElements:()=>vr().IC,getElementsByClassName:()=>vr().cw,getElementsByTagName:()=>vr().yB,getElementsByTagType:()=>vr().DJ,getFeed:()=>gr().f,getInnerHTML:()=>Er().sV,getName:()=>Or().mG,getOuterHTML:()=>Er().bk,getParent:()=>Or().PA,getSiblings:()=>Or().A7,getText:()=>Er().q4,hasAttrib:()=>Or().L,innerText:()=>Er().a4,nextElementSibling:()=>Or().Io,prepend:()=>wr().Hs,prependChild:()=>wr().Ti,prevElementSibling:()=>Or().kU,removeElement:()=>wr().Nz,removeSubsets:()=>yr().Iz,replaceElement:()=>wr().fx,testElement:()=>vr().X_,textContent:()=>Er().P_,uniqueSort:()=>yr().GZ});var vr=n.cw(function(e,t){n.d(t,{DJ:()=>f,IC:()=>c,X_:()=>a,cw:()=>d,h0:()=>l,yB:()=>u});const r={tag_name:e=>"function"==typeof e?t=>(0,pr().dz)(t)&&e(t.name):"*"===e?pr().dz:t=>(0,pr().dz)(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>(0,pr().KH)(t)&&e(t.data):t=>(0,pr().KH)(t)&&t.data===e};function o(e,t){return"function"==typeof t?n=>(0,pr().dz)(n)&&t(n.attribs[e]):n=>(0,pr().dz)(n)&&n.attribs[e]===t}function i(e,t){return n=>e(n)||t(n)}function s(e){const t=Object.keys(e).map(t=>{const n=e[t];return Object.hasOwn(r,t)?r[t](n):o(t,n)});return 0===t.length?null:t.reduce(i)}function a(e,t){const n=s(e);return!n||n(t)}function c(e,t,n,r=Number.POSITIVE_INFINITY){const o=s(e);return o?(0,Sr().pb)(o,t,n,r):[]}function l(e,t,n=!0){return Array.isArray(t)||(t=[t]),(0,Sr().sM)(o("id",e),t,n)}function u(e,t,n=!0,o=Number.POSITIVE_INFINITY){return(0,Sr().pb)(r.tag_name(e),t,n,o)}function d(e,t,n=!0,r=Number.POSITIVE_INFINITY){return(0,Sr().pb)(o("class",e),t,n,r)}function f(e,t,n=!0,o=Number.POSITIVE_INFINITY){return(0,Sr().pb)(r.tag_type(e),t,n,o)}}),wr=n.cw(function(e,t){function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,n=t.lastIndexOf(e);-1!==n&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function o(e,t){if(t.prev=e.prev,t.prev&&(t.prev.next=t),t.next=e.next,t.next&&(t.next.prev=t),t.parent=e.parent,t.parent){const{children:n}=t.parent,r=n.lastIndexOf(e);if(-1===r)return;n[r]=t,e.parent=null}}function i(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){const n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function s(e,t){r(t);const{parent:n}=e,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=n,o){if(o.prev=t,n){const e=n.children;e.splice(e.lastIndexOf(o),0,t)}}else n&&n.children.push(t)}function a(e,t){if(r(t),t.parent=e,t.prev=null,1===e.children.unshift(t))t.next=null;else{const n=e.children[1];n.prev=t,t.next=n}}function c(e,t){r(t);const{parent:n}=e;if(n){const r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}n.d(t,{BC:()=>s,Hs:()=>c,NI:()=>i,Nz:()=>r,Ti:()=>a,fx:()=>o})}),Sr=n.cw(function(e,t){function r(e,t,n=!0,r=Number.POSITIVE_INFINITY){return o(e,Array.isArray(t)?t:[t],n,r)}function o(e,t,n,r){const o=[],i=[Array.isArray(t)?t:[t]],s=[0];for(;;){if(s[0]>=i[0].length){if(1===s.length)return o;i.shift(),s.shift();continue}const t=i[0][s[0]++];if(e(t)&&(o.push(t),--r<=0))return o;n&&(0,pr().Go)(t)&&t.children.length>0&&(s.unshift(0),i.unshift(t.children))}}function i(e,t,n=!0){const r=Array.isArray(t)?t:[t];for(const t of r){if((0,pr().dz)(t)&&e(t))return t;if(n&&(0,pr().Go)(t)&&t.children.length>0){const n=i(e,t.children,!0);if(n)return n}}return null}function s(e,t){return(Array.isArray(t)?t:[t]).some(t=>(0,pr().dz)(t)&&e(t)||(0,pr().Go)(t)&&s(e,t.children))}function a(e,t){const n=[],r=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=r[0].length){if(1===r.length)return n;r.shift(),o.shift();continue}const t=r[0][o[0]++];(0,pr().dz)(t)&&e(t)&&n.push(t),(0,pr().Go)(t)&&t.children.length>0&&(o.unshift(0),r.unshift(t.children))}}n.d(t,{I6:()=>o,JW:()=>a,dd:()=>s,pb:()=>r,sM:()=>i})}),Er=n.cw(function(e,t){function r(e,t){return(0,fr().A)(e,t)}function o(e,t){return(0,pr().Go)(e)?e.children.map(e=>r(e,t)).join(""):""}function i(e){return Array.isArray(e)?e.map(i).join(""):(0,pr().dz)(e)?"br"===e.name?"\n":i(e.children):(0,pr().yf)(e)?i(e.children):(0,pr().KH)(e)?e.data:""}function s(e){return Array.isArray(e)?e.map(s).join(""):(0,pr().Go)(e)&&!(0,pr().Cn)(e)?s(e.children):(0,pr().KH)(e)?e.data:""}function a(e){return Array.isArray(e)?e.map(a).join(""):(0,pr().Go)(e)&&(e.type===hr().RJ.Tag||(0,pr().yf)(e))?a(e.children):(0,pr().KH)(e)?e.data:""}n.d(t,{P_:()=>s,a4:()=>a,bk:()=>r,q4:()=>i,sV:()=>o})}),Or=n.cw(function(e,t){function r(e){return(0,pr().Go)(e)?e.children:[]}function o(e){return e.parent||null}function i(e){const t=o(e);if(null!=t)return r(t);const n=[e];let{prev:i,next:s}=e;for(;null!=i;)n.unshift(i),({prev:i}=i);for(;null!=s;)n.push(s),({next:s}=s);return n}function s(e,t){const{attribs:n}=e;return n?.[t]}function a(e,t){const{attribs:n}=e;return null!=n&&Object.hasOwn(n,t)&&null!=n[t]}function c(e){return e.name}function l(e){let{next:t}=e;for(;null!==t&&!(0,pr().dz)(t);)({next:t}=t);return t}function u(e){let{prev:t}=e;for(;null!==t&&!(0,pr().dz)(t);)({prev:t}=t);return t}n.d(t,{A7:()=>i,Io:()=>l,L:()=>a,PA:()=>o,i0:()=>r,kU:()=>u,mG:()=>c,ul:()=>s})}),xr=n.cw(function(e,t){n.d(t,{WY:()=>s});const r=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),o="function"==typeof String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t),i=1342177476;function s(e){let t,n=0;const{length:s}=e;for(let a=0;a<s;a++){const s=e.charCodeAt(a);if(s<128&&(!(i>>>s&1)||s>=64||s<32))continue;if(void 0===t?t=e.substring(0,a):n!==a&&(t+=e.substring(n,a)),s<64){t+=r.get(s),n=a+1;continue}const c=o(e,a);t+=`&#x${c.toString(16)};`,c!==s&&a++,n=a+1}return void 0===t?e:(n<s&&(t+=e.substr(n)),t)}function a(e,t){return function(n){let r,o=0,i="";for(;r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}const c=a(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),l=a(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));n.d(t,["Gj",0,c,"X1",0,l])}),Ar=n.cw(function(e,t){function r(e){const t=e[0],n=e[1]-1;if(n<0&&t<=0)return Yn().a;if(-1===t)return e=>e<=n;if(0===t)return e=>e===n;if(1===t)return n<0?Yn().z:e=>e>=n;const r=Math.abs(t),o=(n%r+r)%r;return t>1?e=>e>=n&&e%r===o:e=>e<=n&&e%r===o}n.d(t,{w:()=>r})}),Tr=n.cw(function(e,t){function r(e){return(0,Ar().w)((0,Cr().q)(e))}n.d(t,{A:()=>r})}),Cr=n.cw(function(e,t){n.d(t,{q:()=>s});const r=new Set([9,10,12,13,32]),o="0".charCodeAt(0),i="9".charCodeAt(0);function s(e){switch(e=e.trim().toLowerCase()){case"even":return[2,0];case"odd":return[2,1]}let t=0,n=0,s=c(),a=l();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=s*(a??1),u(),t<e.length?(s=c(),u(),a=l()):s=a=0),null===a||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,s*a];function c(){switch(e.charAt(t)){case"-":return t++,-1;case"+":t++}return 1}function l(){const n=t;let r=0;for(;t<e.length&&e.charCodeAt(t)>=o&&e.charCodeAt(t)<=i;)r=10*r+(e.charCodeAt(t)-o),t++;return t===n?null:r}function u(){for(;t<e.length&&r.has(e.charCodeAt(t));)t++}}}),Ir=()=>n(4024),Pr=n.cw(function(e,t){const n=JSON.parse('{"version":"2.19.4-next.7af2a267"}');e.exports=n}),Nr=n.cw(function(e,t){const n=JSON.parse('{"El":{"lU":"^4.13.0"}}');e.exports=n});function jr(){return jr.c||(jr.c=n.n(un()))}function Rr(e,t){t instanceof URL||(t=new URL(t)),(0,Pt().J6)(t)&&window.postMessage(e,t.origin)}function kr(e="latest"){if("latest"===e||!e)return window.axe;const t=xt().e[e];return window.axeVersions[t]||window.axe}function Mr(){return Mr.c||(Mr.c=n.t(n(9436),2))}function _r(){return _r.c||(_r.c=n.t(n(1669),2))}function Dr(){return Dr.c||(Dr.c=n.n(Sn()))}function Lr(e){if(!Array.isArray(e))return e;const t=[];let n=!1,r=[];for(let o=e.length-1;o>=0;o--){const i=e[o];Array.isArray(i)?"shadow-root"===i[0]&&(n=!0,r.push(i[1])):!0===n?(r.push(i),n=!1,r.reverse(),t.push(r),r=[]):t.push(i)}return t.reverse()}function Fr(e){if(e&&e.children)for(const n of e.children){var t;if(n.isFrame&&null!==(t=n.children[0])&&void 0!==t&&t.isCrossOrigin||Fr(n))return!0}return!1}function Vr(e){return!!e&&Fr(e)}function Br(e){return!!e&&e.flat.some(e=>e.isCrossOrigin)}let $r,Hr;Rn(),Qt(),Rn().yS.listen("init",({message:e})=>{0}),kt(),Rt(),qe(),n.dn(Lr);const Wr=e=>{var t;$r?e($r):null===(t=Hr)||void 0===t||t.then(()=>{$r&&e($r)})};function zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zr(Object(n),!0).forEach(function(t){Gr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Gr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qr=({originalError:e,message:t,level:n="error",additionalContext:r={},isSerialized:o=!1})=>{if(o)return void Wr(o=>o.logger[n](t,Ur(Ur({},e),r)));const i=(e=>e instanceof Error?e:new Error("Unknown error"+(e?`: ${e}`:"")))(e),s={error:i.message,stack:i.stack,original_error:e};Wr(e=>e.logger[n](t,Ur(Ur({},s),r)))};new Set;const Jr=async(e,t,n)=>{if(e)try{await Rn().yS.send(Rn()._O.background,t,n)}catch(e){qr({originalError:e,message:`Failed sending ${t} message to MCP server`,level:"error"})}};function Yr(){return Yr.c||(Yr.c=n.n(dn()))}var Kr=n(367);n(7955),n(3958),n(700),n(8446),n(6649),n(3837),n(6562),n(9811),n(8853),n(6684),n(11),n(607);function Xr(){return Xr.c||(Xr.c=n.n(Be()))}function Zr(){return Zr.c||(Zr.c=n.n(In()))}function Qr(){return Qr.c||(Qr.c=n.n(n(7818)))}function eo(){return eo.c||(eo.c=n.n(n(5118)))}function to(){return to.c||(to.c=n.n(n(5932)))}function no(){return no.c||(no.c=n.n(Nn()))}function ro(){return ro.c||(ro.c=n.n(pn()))}const oo=["include","axeVersion","mcpEnabled","enableExperimentalRules","enableRecorder","enableAdvancedRules","aiDisabled","failConfidenceThreshold"],io=["axeVersion"];function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(Object(n),!0).forEach(function(t){co(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function co(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lo(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const uo="Unable to find the selected element on the page. The element may have been removed or modified. Please re-select the element and try again.";let fo,ho;{const{default:e}=vt();({default:ho}=re()),fo=e()}const po=()=>{var e,t,n;return{contentType:null===(e=document)||void 0===e?void 0:e.contentType,title:null===(t=document)||void 0===t?void 0:t.title,url:null===(n=document)||void 0===n?void 0:n.URL,scoped:!!fo&&fo.getScope()!==document}},mo=async()=>{try{Rr({message:"walkthrough:scanned"},await async function(){const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");return e&&"default"!==e?e:"http://localhost:1234"}())}catch{}};Rn().yS.listen("axe:add-version",({message:{axeVersion:e,enableRecorder:t}})=>{const n=(0,qe().A)(e).then(n=>{if(n&&t&&ho){const t=kr(e);t&&ho.addRecorderToAxe(t,{bridge:Rn().yS})}return n});if((0,Pt().$j)())return n}),Rn().yS.listen("axe:run",async e=>{var t;let{message:{include:n,axeVersion:r,mcpEnabled:o=!1,enableExperimentalRules:i,enableRecorder:s,enableAdvancedRules:a=!1,aiDisabled:c,failConfidenceThreshold:l=.7}}=e,u=lo(e.message,oo);const d=o?(0,Rt()._o)(r):r,f=kr(d),h=[];o&&r&&d!==r&&h.push(`Incompatible axe-core version set in axe Configuration, ${r}, running analysis with closest version, ${d}`);const p=(e,t,n)=>e.reduce((e,r)=>(n&&r.tags.includes(n)||(e[r.ruleId]={enabled:t}),e),{}),m=i?p(f.getRules(["experimental"]),!0,"advanced"):{},g=p(f.getRules(["advanced"]),a,i?void 0:"experimental"),{clearHighlights:y}=await(0,Vn().Ay)();y();const b=ao(ao({restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations","incomplete"],advanced:{aiDisabled:c,attachDebugger:!1,screenshot:!1,failConfidenceThreshold:l}},u),{},{rules:ao(ao(ao({},m),g),u.rules)}),v=ao({results:null,error:null,pageURL:null===(t=document)||void 0===t?void 0:t.URL,axeRunOptions:b},h.length>0&&{messages:h});try{var w,S,E;let e,t,r,o;kt().Ay.cleanupTrees(),a&&s&&(0,Pt().$j)()&&(e=document.documentElement.scrollLeft,t=document.documentElement.scrollTop,window.scrollTo(e,0));const i=null===(w=fo)||void 0===w?void 0:w.getScopeVNode();if(u.includeCrossOrigin){if(r=n||(null==i?void 0:i.selector)||document,r!==document){const e=Lr(r);if(Array.isArray(e)&&e.length>1)r=e;else{const{element:e,usedSelector:t}=((e,t)=>{const n=Lr(e),r=(0,_t().A)(Array.isArray(n)?n:[n]);if(r)return{element:r,usedSelector:n};if(!t)return{element:null,usedSelector:null};const o=Lr(t);return{element:(0,_t().A)(Array.isArray(o)?o:[o]),usedSelector:o}})(r,null==i?void 0:i.fallbackSelector);if(!e)throw new Error(uo);r=t}}}else{var O;let e=null;n&&(e=Array.isArray(n)?n:[n]);const t=e?(0,_t().A)(e):null;if(e&&!t)throw new Error(uo);if(o=t||(null===(O=fo)||void 0===O?void 0:O.getScope()),!o&&null!=i&&i.fallbackSelector&&(o=(0,_t().A)(i.fallbackSelector)),!o&&null!=i&&i.selector)throw new Error(uo);o=o||document,r=null===kt().Ay||void 0===kt().Ay?void 0:kt().Ay.sanitizeContext(o)}const c=await f.run([r],b);"number"==typeof e&&"number"==typeof t&&window.scrollTo(e,t),kt().Ay.getFlattenedTree((null===(S=o)||void 0===S?void 0:S.documentElement)||(null===(E=o)||void 0===E||null===(E=E.ownerDocument)||void 0===E?void 0:E.documentElement)||document.documentElement),!a&&null!=c&&c.advancedRuleInput&&delete c.advancedRuleInput,mo(),v.results=c}catch(e){const t={message:e.message||"Unknown Error",stack:e.stack||""};v.error=t}if(o&&v.results){var x;const e=Br(await(null===(x=fo)||void 0===x?void 0:x.buildTreeForAnalytics()));await Rn().yS.send(Rn()._O.devtools,"mcp:analyze-analytics",{results:v.results,documentMetadata:po(),experimental:i,hasCrossOriginIframes:e})}return await Jr(o,"mcp:axe-results",v),v}),Rn().yS.listen("axe:get-analytics",async({message:e})=>{var t;let n,r=!1,o=!1,i=null===(t=fo)||void 0===t?void 0:t.getScopeVNode();var s;!i&&null!=e&&e.include&&(n=await(null===(s=fo)||void 0===s?void 0:s.buildTreeForAnalytics()),i=function(e,t){if(!e||!t)return null;const n=e.querySelector(t);return e.get(n)||null}(n,e.include));if(i){var a;r=i.isCrossOrigin||!!i.isFrame&&(null===(a=i.children[0])||void 0===a?void 0:a.isCrossOrigin),o=Vr(i)}else{var c;if(!n)n=await(null===(c=fo)||void 0===c?void 0:c.buildTreeForAnalytics());o=Br(n)}return{isCrossOrigin:r,hasCrossOriginIframes:o}}),Rn().yS.listen("axe:configure",e=>{let{message:{axeVersion:t}}=e,n=lo(e.message,io);const r=kr(t);return null==r?void 0:r.configure(n)}),Rn().yS.listen("axe:reset-locale",({message:e})=>{var t;const n=kr(e);null!=n&&n.resetLocale?n.resetLocale():null!=n&&null!==(t=n._audit)&&void 0!==t&&t._resetLocale&&n._audit._resetLocale()}),Rn().yS.listen("axe:version",()=>kr().version),Rn().yS.listen("axe:ping",({message:e})=>new Promise(t=>{setTimeout(()=>{t(!1),clearInterval(n)},500);const n=setInterval(()=>{kr(e)&&(t(!0),clearInterval(n),clearTimeout(t))},100)})),Rn().yS.listen("get-document-metadata",po),Rn().yS.listen("extension:logout",async()=>{const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");Rr({message:"extension:logout"},e&&"default"!==e?e:"http://localhost:1234")});var go=n(3569),yo=n.n(go);function bo(e,t=!0){const n=e.ownerDocument.defaultView,r=(0,Pt().$j)(n),o=e,i=o.getBoundingClientRect(),s=!i.height||!i.width,a=n.getComputedStyle(o)||{};let c=n.frameElement,l=i,u=l.top+(r?n.pageYOffset:0),d=l.left+(r?n.pageXOffset:0),f=u,h=d;if(c)for(f=l.top,h=l.left,u=l.top,d=l.left;c&&t;){const{frameElement:e,pageYOffset:t,pageXOffset:n}=c.ownerDocument.defaultView,r=(0,Pt().$j)(c.ownerDocument.defaultView),o=window.getComputedStyle(c),i=Math.max(parseFloat(o.borderLeftWidth),0),s=Math.max(parseFloat(o.borderTopWidth),0);l=c.getBoundingClientRect(),f+=l.top+s+(r?t:0),h+=l.left+i+(r?n:0),c=e}const p=n.frameElement?{top:f-window.pageYOffset,left:h-window.pageXOffset,height:i.height,width:i.width}:i,m=function(e,t=window.visualViewport||{width:window.innerWidth,height:window.innerWidth}){return{top:e.top+e.height<0,bottom:e.top>t.height,left:e.left+e.width<0,right:e.left>t.width}}(p),g=function(e,t={height:document.documentElement.scrollHeight,width:document.documentElement.scrollWidth}){return{top:e.top+e.height+(window.scrollY||window.pageYOffset)<0,bottom:e.top>t.height,left:e.left+e.width+(window.scrollX||window.pageXOffset)<0,right:e.left>t.width}}(p),y=e=>+e?.replace("px","")||0,{height:b,width:v}=n.visualViewport||{width:n.innerWidth,height:n.innerHeight};return{hidden:s,offViewport:m.top||m.bottom||m.left||m.right,offscreen:g.top||g.bottom||g.left||g.right,offscreenTop:g.top,offscreenBottom:g.bottom,offscreenLeft:g.left,offscreenRight:g.right,fullscreen:f<=0&&h<=0&&i.width>=v&&i.height>=b,top:f,left:h,offsetTop:u,offsetLeft:d,width:i.width,height:i.height,margin:{top:y(a.marginTop),right:y(a.marginRight),bottom:y(a.marginBottom),left:y(a.marginLeft)},border:{top:y(a.borderTopWidth),right:y(a.borderRightWidth),bottom:y(a.borderBottomWidth),left:y(a.borderLeftWidth)},padding:{top:y(a.paddingTop),right:y(a.paddingRight),bottom:y(a.paddingBottom),left:y(a.paddingLeft)}}}Rn().yS.listen("highlight",async({message:e={}})=>{const{createHighlighter:t,clearHighlights:n}=await(0,Vn().Ay)();let r=null;if(e&&e.selector?r=e.selector:Array.isArray(e)&&(r=e),n(),r){const n=(0,_t().A)(r);let o=null;if(!n&&r.length>1){if(o=await(0,Ue().A)(r),!o)return!1}else if(!n)return!1;const i=t(n||o,r),{highlightTheme:s}=await browser.storage.local.get("highlightTheme");return i.highlight({theme:s||"high-contrast"}),e.scrollIntoView&&(n?i.scrollIntoView():await Rn().yS.send(Rn()._O.content,"highlight:scrollIntoView",{selector:[r[r.length-1]]},{frameId:o.frameId})),!0}return!1});const vo=async()=>{if(!(0,Vn().OA)())return;(await(0,Vn().Ay)()).clearHighlights()};if(Rn().yS.listen("highlight:hide",async()=>{if(!(0,Vn().OA)())return;(await(0,Vn().Ay)()).hideHighlights()}),Rn().yS.listen("highlight:show",async()=>{if(!(0,Vn().OA)())return;(await(0,Vn().Ay)()).showHighlights()}),Rn().yS.listen("highlight:clear",vo),Rn().yS.listen("devtools:close",vo),Rn().yS.listen("highlight:get-element-layout",({message:{selector:e}})=>{const t=(0,_t().A)(e);return t?bo(t,!1):{top:0,left:0}}),!(0,Pt().$j)()){const e=yo()(()=>Rn().yS.send(Rn()._O.content,"highlight:update"),100);window.addEventListener("scroll",e,!0),window.addEventListener("beforeunload",()=>{window.removeEventListener("scroll",e)}),Rn().yS.listen("highlight:get-node-metadata",async({message:{selector:e}})=>{const t=(0,_t().A)(e);return t?{tagName:t.tagName,classList:Array.from(t.classList),attributes:{id:t.getAttribute("id")}}:{tagName:"unknown",classList:[],attributes:{}}}),Rn().yS.listen("highlight:scrollIntoView",({message:{selector:e}})=>{const t=(0,_t().A)(e);null==t||t.scrollIntoView({block:"center",behavior:"smooth",inline:"nearest"})})}Rn().yS.listen("highlight:update",async()=>{if(!(0,Vn().OA)())return;const{highlighters:e,updateHighlighters:t}=await(0,Vn().Ay)(),n=Array.from(e.keys()).filter(e=>e.frameId);e.size&&(await Promise.all(n.map(async t=>{const n=await(0,Ue().A)(t.selector);if(n){const r=e.get(t);r.target=n,e.set(n,r)}e.delete(t)})),t())}),(0,Pt().$j)()&&(0,Vn().d$)(({emitter:e,highlighters:t,highlightHidden:n})=>{e.on("highlighter:change",()=>{const e=globalThis.tree,r=Array.from(t).map(([t,r])=>{var o;return{vnodeId:null==e||null===(o=e.get(t))||void 0===o?void 0:o.vnodeId,selector:r.selector,theme:r.theme,hidden:r.axeHighlighter.classList.contains(n)}});Rn().yS.send(Rn()._O.devtools,"highlight:changed",r)})});function wo(e){const t=e.reduce((e,t)=>e.done?(e.residual.push(t),e):(Array.isArray(t)&&"shadow-root"===t[0]?e.selector.push(t[1]):e.selector.length?(e.residual.push(t),e.done=!0):e.selector.push(t),e),{selector:[],residual:[],done:!1});return{node:t.selector.flat().reduce((e,t)=>{const n=(null==e?void 0:e.shadowRoot)||e;return null==n?void 0:n.querySelector(t)},document),context:t.selector,residual:t.residual}}function So(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?So(Object(n),!0).forEach(function(t){Oo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):So(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(async()=>{const{axeServerURL:e}=await browser.storage.local.get("axeServerURL"),t=e&&"default"!==e?e:"http://localhost:1234";window.addEventListener("message",e=>{"extension:healthcheck"===e.data.message&&Rr({message:"extension:healthcheck:response"},t)})})(),Rn().yS.listen("node:exists",async({message:e})=>{const{selector:t}=e,n=(0,_t().A)(t);return null!=n}),Rn().yS.listen("nodes:exist-in-axe-tree",async({message:e})=>{const{nodes:t}=e;return Object.fromEntries(t.map(({vnodeId:e,selector:t})=>{const n=(0,_t().A)(t);return[e,!!n&&(0,kt().gi)(n)]}))}),Rn().yS.listen("nodes:get-info",async({message:e})=>{const{nodes:t}=e;return Object.fromEntries(t.map(({vnodeId:e,selector:t})=>{const n=(0,_t().A)(t);return n?[e,{name:kt().Ay.name(n),role:kt().Ay.getRole(n)}]:[e,{name:"",role:null}]}))}),Rn().yS.listen("node:color-contrast",async({message:e})=>{const{nodes:t}=e,n=new Map;for(const{selector:e,vnodeId:r}of t)n.set((0,_t().A)(e),r);const{clearHighlights:r}=await(0,Vn().Ay)();r();const o=await kt().Ay.runContrastAnalysis(Object.values(n)),i={};for(const{selector:e,data:t}of o){i[n.get((0,_t().A)(e))]=t}return i});const xo=e=>"contentWindow"in e,Ao={x:0,y:0,top:0,left:0,height:0,width:0},To=(e,t)=>{if(null!=t&&t.scrollIntoView){const n=new Map,r={key:"scroll-behavior",value:"auto"};let o=e.parentElement;for(;o;){const e=window.getComputedStyle(o);if(e.scrollBehavior&&e.scrollBehavior!==r.value){const e=o.style.getPropertyValue(r.key),t=o.style.getPropertyPriority(r.key);n.set(o,{style:e,priority:t}),o.style.setProperty(r.key,r.value,"important")}o=o.parentElement}e.scrollIntoView("object"==typeof t.scrollIntoView?t.scrollIntoView:{behavior:"auto",block:"center",inline:"center"});for(const[e,t]of n)e.style.setProperty(r.key,t.style,t.priority)}},Co=e=>{const t=0===e.width?10:0,n=0===e.height?10:0;return 0===t&&0===n?e:{x:e.x-t,y:e.y-n,left:e.left-t,top:e.top-n,right:e.right+t,bottom:e.bottom+n,width:e.width+2*t,height:e.height+2*n}},Io=(e,t,n)=>{const r=window.getComputedStyle(e),o=Math.max(parseFloat(r.borderLeftWidth),0),i=Math.max(parseFloat(r.borderTopWidth),0),s=Math.max(parseFloat(r.paddingLeft),0),a=Math.max(parseFloat(r.paddingTop),0),c=t.x+n.x+o+s,l=t.y+n.y+i+a,u=t.left+n.left+o+s,d=t.top+n.top+i+a;return{x:c,y:l,left:u,top:d,right:u+n.width,bottom:d+n.height,width:n.width,height:n.height}};Rn().yS.listen("node:bounding-box",async({message:e})=>{const{selector:t,options:n}=e,{node:r,residual:o}=wo(t),i=!1!==(null==n?void 0:n.padCollapsedRect),s=!0===(null==n?void 0:n.includePageScroll),a=e=>s?{rect:e,scroll:{x:window.scrollX,y:window.scrollY}}:e;if(null==r)return s?{rect:null,scroll:{x:window.scrollX,y:window.scrollY}}:Ao;if(xo(r)&&null!=o&&o.length){const e=await(0,Qt().A)(r.contentWindow,"node:bounding-box",{selector:o,options:s?Eo(Eo({},n),{},{includePageScroll:!1}):n}),t=Io(r,r.getBoundingClientRect(),e);return a(i?Co(t):t)}To(r,n);const c=(0,Xe().k)(r,null==n?void 0:n.unionWithDescendants);return a(i?Co(c):c)}),Rn().yS.listen("node:get-text-selector",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=wo(t);if(null==n)return t;if(xo(n)&&null!=r&&r.length)return[...t,...await(0,Qt().A)(n.contentWindow,"node:get-text-selector",{selector:r})];if("SELECT"===(i=n).tagName&&"options"in i){const e=kt().Ay.getElementStack(n);if(e[0]===n)return t;const r=n.options[n.selectedIndex].text||n.options[n.selectedIndex].value;for(const t of e){var o;if("innerText"in t&&(null===(o=t.innerText)||void 0===o?void 0:o.trim())===r)return[kt().Ay.getSelector(t)]}}var i;return t}),Rn().yS.listen("node:bounding-box-text",async({message:e})=>{const{selector:t,options:n}=e,{node:r,residual:o}=wo(t);if(null==r)return Ao;if(To(r,n),xo(r)&&null!=o&&o.length){const e=r.getBoundingClientRect(),t=await(0,Qt().A)(r.contentWindow,"node:bounding-box-text",{selector:o,options:n});return Io(r,e,t)}const i=document.createRange();i.selectNodeContents(r);return i.getBoundingClientRect()}),Rn().yS.listen("node:computed-text-color",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=wo(t);return xo(n)&&null!=r&&r.length?await(0,Qt().A)(n.contentWindow,"node:computed-text-color",{selector:r}):window.getComputedStyle(n).color});const Po=new WeakMap,No=new WeakMap,jo={color:"transparent"},Ro={webkitTransition:"none",transition:"none"};Rn().yS.listen("node:set-transparent-text",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=wo(t);if(null!=n)if(xo(n)&&null!=r&&r.length)await(0,Qt().A)(n.contentWindow,"node:set-transparent-text",{selector:r});else{const e=async e=>{const t={},n={};for(const[r]of Object.entries(Ro))t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r);for(const[t,n]of Object.entries(Ro))e.style.setProperty(t,n,"important");await new Promise(r=>setTimeout(()=>{for(const[r,o]of Object.entries(jo))t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r),e.style.setProperty(r,o,"important");r()},1));const r=window.getComputedStyle(e),o=["background","backgroundImage"];if("text"===r.webkitBackgroundClip||"text"===r.backgroundClip)for(const r of o)t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r),e.style.setProperty(r,"none","important");Po.set(e,t),No.set(e,n)};await e(n);for(const t of Array.from(n.children))await e(t)}}),Rn().yS.listen("node:set-transparent-text-reset",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=wo(t);if(null!=n)if(xo(n)&&null!=r&&r.length)await(0,Qt().A)(n.contentWindow,"node:set-transparent-text-reset",{selector:r});else{const e=async e=>{const t=Po.get(e)||{},n=No.get(e)||{};for(const r of Object.keys(t))r in Ro||e.style.setProperty(r,t[r],n[r]);await new Promise(r=>setTimeout(()=>{for(const r of Object.keys(Ro))r in t&&e.style.setProperty(r,t[r],n[r]);r()},1))};await e(n);for(const t of Array.from(n.children))await e(t)}}),Rn().yS.listen("node:is-valid-auto-cc-target",async({message:{selector:e}})=>{const{node:t,residual:n}=wo(e);if(null!=t){if(xo(t)&&null!=n&&n.length)return(0,Qt().A)(t.contentWindow,"node:is-valid-auto-cc-target",{selector:n});{if(!t.children.length)return!0;const e=window.getComputedStyle(t).color;return!Array.from(t.children).find(t=>window.getComputedStyle(t).color!==e)}}}),Rn().yS.listen("node:focus",async({message:e})=>{const{selector:t,timeout:n=5e3}=e,{node:r,residual:o}=wo(t);null!=r&&(xo(r)&&null!=o&&o.length?await(0,Qt().A)(r.contentWindow,"node:focus",{selector:o}):await Promise.race([Promise.all([r.focus(),...r.getAnimations({subtree:!0}).map(e=>e.finished.catch(()=>{}))]),new Promise(e=>setTimeout(e,n))]))}),Rn().yS.listen("node:reset-focus",()=>{document.activeElement&&document.activeElement.blur()}),Rn().yS.listen("selector:identify",async({message:e})=>{const{selector:t}=e,{node:n,context:r,residual:o}=wo(t),i=n.contentWindow,s=[{selector:r,frameId:window.frameId,frameURL:window.location.href}];if(i&&null!=o&&o.length){const e=await(0,Qt().A)(i,"selector:identify",{selector:o});s.push(...e)}return s}),Rn().yS.listen("igt:inspect:tag-selector",({message:e})=>{const{selector:t,token:n}=e;let r;try{const e=(0,_t().A)(t);r=e instanceof Element?e:null}catch{r=null}return r?((0,At().sp)(document,r,n),{tagged:!0}):{tagged:!1}}),Rn().yS.listen("control:viewport",()=>({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,scrollX:window.scrollX,scrollY:window.scrollY,dpr:window.devicePixelRatio,url:window.location.href})),Rn().yS.listen("control:currentScroll",()=>document.documentElement.scrollTop),Rn().yS.listen("control:scrollToTop",({message:e})=>{window.scrollTo((null==e?void 0:e.x)||0,(null==e?void 0:e.y)||0)});const ko=async({message:e})=>{let t={x:0,y:0,width:0,height:0};if(null==e||!e.selector)return t;const{node:n,residual:r}=wo(e.selector);if(!n)return t;const o=n.getBoundingClientRect();if(t={x:o.x,y:o.y,width:o.width,height:o.height},null==r||!r.length)return t;const i=await(0,Qt().A)(n.contentWindow,"control:boundingbox:content",{selector:r});if(!i)return t;const s=window.getComputedStyle(n);return t.x+=i.x+Math.max(parseFloat(s.borderLeftWidth),0),t.y+=i.y+Math.max(parseFloat(s.borderTopWidth),0),t.width=i.width,t.height=i.height,t};(0,Pt().$j)()?Rn().yS.listen("control:boundingbox:top",ko):Rn().yS.listen("control:boundingbox:content",ko);const Mo=(0,Pt().$j)(),_o=e=>{var t,n;return(null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase())===Fn().wZ||(null===(n=e.getRootNode())||void 0===n||null===(n=n.host)||void 0===n?void 0:n.tagName.toLowerCase())===Fn().wZ},Do=e=>!!e.flatMap(e=>[...Array.from(e.addedNodes),...Array.from(e.removedNodes)]).find(e=>!_o(e)),Lo=e=>!!e.find(e=>!_o(e.target)),Fo=async e=>{(e=>{if(e.find(e=>!["childList","attributes"].includes(e.type)))return!0;const t=e.filter(e=>"childList"===e.type),n=e.filter(e=>"attributes"===e.type);return Do(t)||Lo(n)})(e)&&await Rn().yS.send(Rn()._O.devtools,"page-observer:mutated",{isTop:Mo})};let Vo=null;Rn().yS.listen("page-observer:start",async()=>{Vo||(Vo=new MutationObserver(Fo),Vo.observe(document.body,{attributes:!0,subtree:!0,childList:!0}))}),Rn().yS.listen("page-observer:end",async()=>{var e;null===(e=Vo)||void 0===e||e.disconnect(),Vo=null}),document.addEventListener("beforeunload",()=>{Vo.disconnect(),Vo=null});const Bo="customIntegrationConnectionLink";(0,Qt().T)(),Rn().yS.listen("custom-integration:fetch-state",async()=>{const{[Bo]:e}=await browser.storage.local.get(Bo);return browser.storage.local.remove(Bo),e});const $o=async()=>{let e;const{axeServerURL:t}=await browser.storage.local.get(["axeServerURL"]);try{e=new URL(t&&"default"!==t?t:"http://localhost:1234")}catch{e=new URL("http://localhost:1234")}return e},Ho=async e=>{const t=await $o();try{Rr({message:e},t)}catch{}},Wo=async e=>{const t=await $o(),n=URL.parse(e.origin);if(t.origin===(null==n?void 0:n.origin))switch(e.data.message){case"app:logout":Rn().yS.send(Rn()._O.background,"app:logout");break;case"app:plan:change":Rn().yS.send(Rn()._O.background,"app:plan:change");break;case"walkthrough:check:open":await Rn().yS.send(Rn()._O.devtools,"panel:is:open")&&Ho("walkthrough:opened");break;case"extension:custom-integration:launch":(()=>{const e=new URLSearchParams(location.search),t=e.get("testId"),n=e.get("url");(null==t?void 0:t.length)<=255&&(browser.storage.local.set({[Bo]:{testId:t,url:n}}),Rn().yS.send(Rn()._O.devtools,"custom-integration:launch",{testId:t,url:n}))})()}};(0,Pt().$j)()&&(window.addEventListener("message",Wo),Rn().yS.listen("walkthrough:panel-open:status",()=>{Ho("walkthrough:opened")}),Rn().yS.listen("walkthrough:test-saved:status",()=>{Ho("walkthrough:saved")}),Rn().yS.listen("walkthrough:igt-completed:status",()=>{Ho("walkthrough:igt:completed")}))},8446(e,t,n){"use strict";var r=n(367),o=n(7274),i=n(4442),s=n(9454),a=n(6084),c=n(426);new r.A((0,a.A)("\n"),c.A,i.A,o.A,s.A)},4740(e,t,n){"use strict";n.r(t);var r=n(4093),o=n.n(r),i=n(4350),s=n.n(i)()(o());s.push([e.id,":host{--base-font-size:12px;pointer-events:none!important;position:absolute!important;top:0!important;left:0!important;height:0!important;width:100%!important;opacity:1!important;visibility:visible!important}:host(.highlight--hide){display:none!important}:host(:popover-open){top:0!important;left:0!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;border:0!important;background:#0000!important;overflow:visible!important}#axe-highlight{position:absolute;pointer-events:none;z-index:2147483647;display:flex;flex:1}#border{border-color:var(--theme--border-color,#0000)}#border,#margin{border-style:solid;display:flex;flex:1}#margin{border-color:var(--theme--margin-color,#0000)}#content{background-color:var(--theme--content-color,#0000);background-clip:content-box;border-color:var(--theme--padding-color,#0000);border-style:solid;width:100%;height:100%;box-sizing:border-box;display:flex;flex:1}",""]);const a=s;n.d(t,["default",0,a])},514(e,t,n){"use strict";n.r(t);var r=n(4093),o=n.n(r),i=n(4350),s=n.n(i),a=n(4149),c=n.n(a),l=new URL(n(5484),n.b),u=s()(o()),d=c()(l);u.push([e.id,`:host{--high-contrast-color-outline:#c11bde;--high-contrast-color-shadow:#e267ff}.theme--high-contrast{transform:translate(-6px,-6px);padding:3px;border:3px solid var(--high-contrast-color-outline);box-shadow:0 0 10px 4px var(--high-contrast-color-shadow);max-width:calc(100% - 6px)}.theme--high-contrast.highlight--fullpage{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;transform:none;border:3px solid var(--high-contrast-color-outline)}.theme--high-contrast:not(.highlight--offscreen):not(.highlight--fullpage)+#tooltip.tooltip--bottom{transform:translateY(6px)}.theme--high-contrast:not(.highlight--offscreen):not(.highlight--fullpage)+#tooltip.tooltip--top{transform:translateY(-6px)}.theme--devtools{--theme--border-color:#ffff3273;--theme--margin-color:#ff960080;--theme--padding-color:#23b45059;--theme--content-color:#1e3cff66}.theme--devtools.highlight--fullpage{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;transform:none}.theme--selection:before{position:absolute;content:"";display:block;top:0;bottom:0;left:0;right:0;border:3px dashed var(--high-contrast-color-outline)}.theme--selection.highlight--page{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;transform:none;border:3px dashed var(--high-contrast-color-outline)}.theme--selection.highlight--page:before{display:none}.theme--selected:before{position:absolute;content:"";display:block;top:0;bottom:0;left:0;right:0;border:3px solid var(--high-contrast-color-outline)}.theme--selected.highlight--page{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;transform:none;border:3px solid var(--high-contrast-color-outline)}.theme--selected.highlight--page:before{display:none}:host{--badge-color-outline:#3c7aae}.theme--badge:before{position:absolute;content:"";display:block;top:0;bottom:0;left:0;right:0;border:3px solid var(--badge-color-outline)}.theme--badge:after{counter-reset:badge var(--axe-highlight-counter);content:var(--axe-highlight-badge-content,counter(badge));position:absolute;top:3px;left:3px;border:3px solid #fff;color:#fff;font-weight:500;background-color:var(--badge-color-outline);display:flex;height:1.5em;min-width:1.5em;align-items:center;justify-content:center;font-family:monospace;font-size:13px}.theme--ml:before{position:absolute;content:"";display:block;top:0;bottom:0;left:0;right:0;border:3px solid var(--high-contrast-color-outline)}.theme--ml:after{content:"";position:absolute;top:-5px;left:-5px;background-image:url(${d});background-repeat:no-repeat;width:29px;height:29px}`,""]);const f=u;n.d(t,["default",0,f])},4340(e,t,n){"use strict";n.r(t);var r=n(4093),o=n.n(r),i=n(4350),s=n.n(i)()(o());s.push([e.id,':host{--tooltip-background-color:#f9f9f9;--tooltip-border-color:#333;--tooltip-shadow-color:#0003;--tooltip-tag-name-color:#2e40a0;--tooltip-tag-identifier-color:#c53406;--tooltip-text-color:#02101a;--tooltip-label-color:#666;--tooltip-text-accent-color:#4d4d4d}#tooltip{position:absolute;white-space:nowrap;margin:.5rem 0;font-family:monospace;font-size:var(--base-font-size);padding:.6rem;background:var(--tooltip-background-color);color:var(--tooltip-text-color);box-shadow:0 0 6px var(--tooltip-shadow-color);border:3px solid var(--tooltip-border-color);z-index:2147483647;max-width:20rem;border-radius:3px}#tooltip p{margin:0}#tooltip svg{height:13px;width:13px;margin-bottom:-2px}#tooltip:after,#tooltip:before{content:"";display:block;position:absolute;border-width:.5rem;border-style:solid;border-color:#0000;border-top:none;border-bottom:.5rem solid var(--tooltip-background-color)}#tooltip:after{z-index:2;top:0;transform:translateY(1px) translateY(-100%)}#tooltip:before{top:0;transform:translateY(-3px) translateY(-100%);border-bottom:.5rem solid var(--tooltip-border-color);z-index:1}#tooltip.tooltip--top:before{top:100%;transform:rotate(180deg) translateY(-3px)}#tooltip.tooltip--top:after{top:100%;transform:rotate(180deg) translateY(1px)}#tooltip.tooltip--right{margin-right:-1.3rem}#tooltip.tooltip--right:after,#tooltip.tooltip--right:before{right:.6rem}#tooltip.tooltip--left:after,#tooltip.tooltip--left:before{left:.6rem}#tooltip.tooltip--fullscreen{position:fixed!important;top:10px!important;left:10px!important;bottom:auto!important;transform:none;margin:0}#tooltip.tooltip--fullscreen:after,#tooltip.tooltip--fullscreen:before{display:none}#tag{display:grid;grid-template-columns:max-content auto 1fr min-content}#tag-name{color:var(--tooltip-tag-name-color)}#tag-identifier{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;color:var(--tooltip-tag-identifier-color)}#tag-visibility{font-style:italic;color:var(--tooltip-text-accent-color);margin-left:1em}#tag-offscreen{margin-left:1em}#tag-dimensions{font-family:monospace;color:var(--tooltip-text-accent-color);margin-left:1em;justify-self:right}#hidden-eye{position:relative}#hidden-eye:before{position:absolute;content:"";display:block;height:1px;width:16px;background-color:#02101a;top:7px;left:-1px;z-index:1;transform:rotate(-45deg);border:1px solid #fff}#accessible-text{color:var(--tooltip-text-accent-color);white-space:normal}#attributes{display:grid;grid-template-columns:1fr auto;grid-column-gap:1rem;grid-row-gap:.2rem;grid-auto-rows:minmax(1.6em,auto);align-items:center;border-top:1px solid #ccc;padding:.6rem 0 0;margin:.6rem 0 0;font-family:sans-serif}#attributes :is(dd,dl){margin:0}#attributes dt{color:var(--tooltip-label-color)}#attributes dd{justify-self:right;text-align:right;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical}.contrast-aa{color:#4d4d4d;line-height:1em;display:inline-block;padding:2px;border:1px solid #4d4d4d;font-size:9px;vertical-align:text-bottom;font-family:monospace}#tooltip.tooltip--offscreen.tooltip--top{margin-bottom:1.2rem}#tooltip.tooltip--offscreen.tooltip--right{margin-right:.6rem}#tooltip.tooltip--offscreen.tooltip--left{margin-left:.6rem}#tooltip.tooltip--offscreen.tooltip--right:before{top:.6rem;transform:rotate(90deg) translateY(-24px)}#tooltip.tooltip--offscreen.tooltip--right:after{top:.6rem;transform:rotate(90deg) translateY(-20px)}#tooltip.tooltip--offscreen.tooltip--left:before{top:.6rem;transform:rotate(-90deg) translateY(-24px)}#tooltip.tooltip--offscreen.tooltip--left:after{top:.6rem;transform:rotate(-90deg) translateY(-20px)}',""]);const a=s;n.d(t,["default",0,a])},4350(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},4149(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},4093(e){"use strict";e.exports=function(e){return e[1]}},7151(e){"use strict";var t={}.hasOwnProperty,n=/[ -,\.\/;-@\[-\^`\{-~]/,r=/[ -,\.\/;-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,i=function e(i,s){"single"!=(s=function(e,n){if(!e)return n;var r={};for(var o in n)r[o]=t.call(e,o)?e[o]:n[o];return r}(s,e.options)).quotes&&"double"!=s.quotes&&(s.quotes="single");for(var a="double"==s.quotes?'"':"'",c=s.isIdentifier,l=i.charAt(0),u="",d=0,f=i.length;d<f;){var h=i.charAt(d++),p=h.charCodeAt(),m=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&d<f){var g=i.charCodeAt(d++);56320==(64512&g)?p=((1023&p)<<10)+(1023&g)+65536:d--}m="\\"+p.toString(16).toUpperCase()+" "}else m=s.escapeEverything?n.test(h)?"\\"+h:"\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B:]/.test(h)?c||":"!=h?"\\"+p.toString(16).toUpperCase()+" ":h:"\\"==h||!c&&('"'==h&&a==h||"'"==h&&a==h)||c&&r.test(h)?"\\"+h:h;u+=m}return c&&(/^_/.test(u)?u="\\_"+u.slice(1):/^-[-\d]/.test(u)?u="\\-"+u.slice(1):/\d/.test(l)&&(u="\\3"+l+" "+u.slice(1))),u=u.replace(o,function(e,t,n){return t&&t.length%2?e:(t||"")+n}),!c&&s.wrap?a+u+a:u};i.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},i.version="1.0.1",e.exports=i},1911(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",a="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",h="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",v="[object WeakMap]",w="[object ArrayBuffer]",S="[object DataView]",E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,O=/^\w*$/,x=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T=/\\(\\)?/g,C=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[i]=P[s]=P[w]=P[a]=P[S]=P[c]=P[l]=P[u]=P[d]=P[f]=P[h]=P[m]=P[g]=P[y]=P[v]=!1;var N="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,j="object"==typeof self&&self&&self.Object===Object&&self,R=N||j||Function("return this")(),k=t&&!t.nodeType&&t,M=k&&e&&!e.nodeType&&e,_=M&&M.exports===k&&N.process,D=function(){try{return _&&_.binding("util")}catch(e){}}(),L=D&&D.isTypedArray;function F(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function V(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function B(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function H(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var W,z,U,G=Array.prototype,q=Function.prototype,J=Object.prototype,Y=R["__core-js_shared__"],K=(W=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",X=q.toString,Z=J.hasOwnProperty,Q=J.toString,ee=RegExp("^"+X.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=R.Symbol,ne=R.Uint8Array,re=J.propertyIsEnumerable,oe=G.splice,ie=(z=Object.keys,U=Object,function(e){return z(U(e))}),se=$e(R,"DataView"),ae=$e(R,"Map"),ce=$e(R,"Promise"),le=$e(R,"Set"),ue=$e(R,"WeakMap"),de=$e(Object,"create"),fe=Ye(se),he=Ye(ae),pe=Ye(ce),me=Ye(le),ge=Ye(ue),ye=te?te.prototype:void 0,be=ye?ye.valueOf:void 0,ve=ye?ye.toString:void 0;function we(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ee;++t<n;)this.add(e[t])}function xe(e){this.__data__=new Se(e)}function Ae(e,t){var n=nt(e)||tt(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!Z.call(e,i)||o&&("length"==i||We(i,r))||n.push(i);return n}function Te(e,t){for(var n=e.length;n--;)if(et(e[n][0],t))return n;return-1}function Ce(e,t,n,r){return Ne(e,function(e,o,i){t(r,e,n(e),i)}),r}we.prototype.clear=function(){this.__data__=de?de(null):{}},we.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},we.prototype.get=function(e){var t=this.__data__;if(de){var n=t[e];return n===r?void 0:n}return Z.call(t,e)?t[e]:void 0},we.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:Z.call(t,e)},we.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?r:t,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var t=this.__data__,n=Te(t,e);return!(n<0)&&(n==t.length-1?t.pop():oe.call(t,n,1),!0)},Se.prototype.get=function(e){var t=this.__data__,n=Te(t,e);return n<0?void 0:t[n][1]},Se.prototype.has=function(e){return Te(this.__data__,e)>-1},Se.prototype.set=function(e,t){var n=this.__data__,r=Te(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ee.prototype.clear=function(){this.__data__={hash:new we,map:new(ae||Se),string:new we}},Ee.prototype.delete=function(e){return Be(this,e).delete(e)},Ee.prototype.get=function(e){return Be(this,e).get(e)},Ee.prototype.has=function(e){return Be(this,e).has(e)},Ee.prototype.set=function(e,t){return Be(this,e).set(e,t),this},Oe.prototype.add=Oe.prototype.push=function(e){return this.__data__.set(e,r),this},Oe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.clear=function(){this.__data__=new Se},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Se){var r=n.__data__;if(!ae||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ee(r)}return n.set(e,t),this};var Ie,Pe,Ne=(Ie=function(e,t){return e&&je(e,t,ut)},function(e,t){if(null==e)return e;if(!rt(e))return Ie(e,t);for(var n=e.length,r=Pe?n:-1,o=Object(e);(Pe?r--:++r<n)&&!1!==t(o[r],r,o););return e}),je=function(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===n(i[c],c,i))break}return t}}();function Re(e,t){for(var n=0,r=(t=ze(t,e)?[t]:Fe(t)).length;null!=e&&n<r;)e=e[Je(t[n++])];return n&&n==r?e:void 0}function ke(e,t){return null!=e&&t in Object(e)}function Me(e,t,n,r,o){return e===t||(null==e||null==t||!st(e)&&!at(t)?e!=e&&t!=t:function(e,t,n,r,o,u){var p=nt(e),v=nt(t),E=s,O=s;p||(E=(E=He(e))==i?h:E);v||(O=(O=He(t))==i?h:O);var x=E==h&&!B(e),A=O==h&&!B(t),T=E==O;if(T&&!x)return u||(u=new xe),p||lt(e)?Ve(e,t,n,r,o,u):function(e,t,n,r,o,i,s){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!r(new ne(e),new ne(t)));case a:case c:case f:return et(+e,+t);case l:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case d:var u=$;case g:var h=2&i;if(u||(u=H),e.size!=t.size&&!h)return!1;var p=s.get(e);if(p)return p==t;i|=1,s.set(e,t);var v=Ve(u(e),u(t),r,o,i,s);return s.delete(e),v;case b:if(be)return be.call(e)==be.call(t)}return!1}(e,t,E,n,r,o,u);if(!(2&o)){var C=x&&Z.call(e,"__wrapped__"),I=A&&Z.call(t,"__wrapped__");if(C||I){var P=C?e.value():e,N=I?t.value():t;return u||(u=new xe),n(P,N,r,o,u)}}if(!T)return!1;return u||(u=new xe),function(e,t,n,r,o,i){var s=2&o,a=ut(e),c=a.length,l=ut(t),u=l.length;if(c!=u&&!s)return!1;var d=c;for(;d--;){var f=a[d];if(!(s?f in t:Z.call(t,f)))return!1}var h=i.get(e);if(h&&i.get(t))return h==t;var p=!0;i.set(e,t),i.set(t,e);var m=s;for(;++d<c;){var g=e[f=a[d]],y=t[f];if(r)var b=s?r(y,g,f,t,e,i):r(g,y,f,e,t,i);if(!(void 0===b?g===y||n(g,y,r,o,i):b)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,u)}(e,t,Me,n,r,o))}function _e(e){return!(!st(e)||function(e){return!!K&&K in e}(e))&&(ot(e)||B(e)?ee:C).test(Ye(e))}function De(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?nt(e)?function(e,t){if(ze(e)&&Ue(t))return Ge(Je(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Re(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=ze(t,e)?[t]:Fe(t);var r,o=-1,i=t.length;for(;++o<i;){var s=Je(t[o]);if(!(r=null!=e&&n(e,s)))break;e=e[s]}if(r)return r;i=e?e.length:0;return!!i&&it(i)&&We(s,i)&&(nt(e)||tt(e))}(e,t,ke)}(n,e):Me(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){var t=ut(e),n=t.length;for(;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ue(o)]}return t}(e);if(1==t.length&&t[0][2])return Ge(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,s=!r;if(null==e)return!i;for(e=Object(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){var c=(a=n[o])[0],l=e[c],u=a[1];if(s&&a[2]){if(void 0===l&&!(c in e))return!1}else{var d=new xe;if(r)var f=r(l,u,c,e,t,d);if(!(void 0===f?Me(u,l,r,3,d):f))return!1}}return!0}(n,e,t)}}(e):ze(t=e)?(n=Je(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Re(t,e)}}(t);var t,n}function Le(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||J,t!==r)return ie(e);var t,n,r,o=[];for(var i in Object(e))Z.call(e,i)&&"constructor"!=i&&o.push(i);return o}function Fe(e){return nt(e)?e:qe(e)}function Ve(e,t,n,r,o,i){var s=2&o,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var u=-1,d=!0,f=1&o?new Oe:void 0;for(i.set(e,t),i.set(t,e);++u<a;){var h=e[u],p=t[u];if(r)var m=s?r(p,h,u,t,e,i):r(h,p,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!V(t,function(e,t){if(!f.has(t)&&(h===e||n(h,e,r,o,i)))return f.add(t)})){d=!1;break}}else if(h!==p&&!n(h,p,r,o,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Be(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function $e(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return _e(n)?n:void 0}var He=function(e){return Q.call(e)};function We(e,t){return!!(t=t??o)&&("number"==typeof e||I.test(e))&&e>-1&&e%1==0&&e<t}function ze(e,t){if(nt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ct(e))||(O.test(e)||!E.test(e)||null!=t&&e in Object(t))}function Ue(e){return e==e&&!st(e)}function Ge(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(se&&He(new se(new ArrayBuffer(1)))!=S||ae&&He(new ae)!=d||ce&&He(ce.resolve())!=p||le&&He(new le)!=g||ue&&He(new ue)!=v)&&(He=function(e){var t=Q.call(e),n=t==h?e.constructor:void 0,r=n?Ye(n):void 0;if(r)switch(r){case fe:return S;case he:return d;case pe:return p;case me:return g;case ge:return v}return t});var qe=Qe(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ct(e))return ve?ve.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return x.test(e)&&n.push(""),e.replace(A,function(e,t,r,o){n.push(r?o.replace(T,"$1"):t||e)}),n});function Je(e){if("string"==typeof e||ct(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ye(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Ke,Xe,Ze=(Ke=function(e,t,n){Z.call(e,n)?e[n].push(t):e[n]=[t]},function(e,t){var n=nt(e)?F:Ce,r=Xe?Xe():{};return n(e,Ke,De(t),r)});function Qe(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s),s};return n.cache=new(Qe.Cache||Ee),n}function et(e,t){return e===t||e!=e&&t!=t}function tt(e){return function(e){return at(e)&&rt(e)}(e)&&Z.call(e,"callee")&&(!re.call(e,"callee")||Q.call(e)==i)}Qe.Cache=Ee;var nt=Array.isArray;function rt(e){return null!=e&&it(e.length)&&!ot(e)}function ot(e){var t=st(e)?Q.call(e):"";return t==u||"[object GeneratorFunction]"==t}function it(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function at(e){return!!e&&"object"==typeof e}function ct(e){return"symbol"==typeof e||at(e)&&Q.call(e)==b}var lt=L?function(e){return function(t){return e(t)}}(L):function(e){return at(e)&&it(e.length)&&!!P[Q.call(e)]};function ut(e){return rt(e)?Ae(e):Le(e)}function dt(e){return e}e.exports=Ze},3258(e){!function(t){"use strict";var n=function(e){var t={browser:{fullName:"",name:"",version:"",majorVersion:null,minorVersion:null,patchVersion:null,engine:""},os:{fullName:"",name:"",version:"",versionName:"",versionAltNames:[],majorVersion:null,minorVersion:null,patchVersion:null},features:{bw:!1,mobile:!1,tv:!1,proxy:!1}},n={browser:[{test:["SailfishBrowser"],browser:{fullName:"Sailfish Browser",name:"sailfishbrowser",engine:"gecko",$version:{search:"SailfishBrowser/"}},features:{mobile:!0}},{test:["Edge/"],browser:{fullName:"Edge",name:"edge",engine:"edgehtml",$version:{search:"Edge/"}}},{test:["Edg/"],browser:{fullName:"Edge",name:"edge",engine:"webkit",$version:{search:"Edg/"}}},{test:["MSIE"],browser:{fullName:"Internet Explorer",name:"ie",engine:"trident",$version:{search:"MSIE "}}},{test:["Trident"],browser:{fullName:"Internet Explorer",name:"ie",engine:"trident",$version:{search:"rv:"}}},{test:["OPR/"],browser:{fullName:"Opera",name:"opera",engine:"webkit",$version:{search:"OPR/"}}},{test:["UCBrowser"],browser:{fullName:"UC Browser",name:"ucbrowser",engine:"webkit",$version:{search:"UCBrowser/"}}},{test:["YaBrowser"],browser:{fullName:"Yandex Browser",name:"yabrowser",engine:"webkit",$version:{search:"YaBrowser/"}}},{test:["Chrome"],browser:{fullName:"Chrome",name:"chrome",engine:"webkit",$version:{search:"Chrome/"}}},{test:["Firefox"],browser:{fullName:"Firefox",name:"firefox",engine:"gecko",$version:{search:"Firefox/"}}},{test:["NokiaBrowser"],browser:{fullName:"Nokia Browser",name:"nokiabrowser",engine:"webkit",$version:{search:"NokiaBrowser/"}},features:{mobile:!0}},{test:["Opera Mini","Presto"],browser:{fullName:"Opera Mini",name:"operamini",engine:"presto",$version:{search:"Version/"}},features:{mobile:!0,proxy:!0}},{test:["Opera Mini","WebKit"],browser:{fullName:"Opera Mini",name:"operamini",engine:"webkit"},features:{mobile:!0,proxy:!0}},{test:["Opera"],browser:{fullName:"Opera",name:"opera",engine:"presto",$version:{search:"Version/"}}},{test:["OviBrowser"],browser:{fullName:"Ovi Browser",name:"ovi",engine:"gecko",$version:{search:"OviBrowser/"}},features:{mobile:!0,proxy:!0}},{test:["CriOS/"],browser:{fullName:"Chrome",name:"chrome",engine:"webkit",$version:{search:"CriOS/"}}},{test:["Coast/"],browser:{fullName:"Opera Coast",name:"coast",engine:"webkit",$version:{search:"Coast/"}}},{test:["Safari","Version/",/(iPhone|iPod|iPad|Macintosh|Windows)/],browser:{fullName:"Safari",name:"safari",engine:"webkit",$version:{search:"Version/"}}},{test:["WebKit"],browser:{engine:"webkit"}},{test:["Gecko/"],browser:{engine:"gecko"}}],os:[{test:["Sailfish"],os:{fullName:"Sailfish OS",name:"sailfish"},features:{mobile:!0}},{test:["Windows Phone"],os:{fullName:"Windows Phone",name:"winphone",$version:{search:"Windows Phone "}},features:{mobile:!0}},{test:["Windows"],os:{fullName:"Windows",name:"win",$version:{search:"Windows NT ",names:{"10.0":"10",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP",5.1:"XP",5.01:"2000","5.0":"2000"},altNames:{5.2:["Server 2003"]}}}},{test:["Macintosh","OS X"],os:{fullName:"macOS",name:"osx",$version:{search:/OS X /,names:{10.6:"Snow Leopard",10.7:"Lion",10.8:"Mountain Lion",10.9:"Mavericks","10.10":"Yosemite",10.11:"El Capitan",10.12:"Sierra",10.13:"High Sierra",10.14:"Mojave",10.15:"Catalina","11.0":"Big Sur"}}}},{test:["Ubuntu"],os:{fullName:"Ubuntu",name:"ubuntu"}},{test:["Fedora"],os:{fullName:"Fedora",name:"fedora",$version:{search:"Fedora/",names:{20:"Heisenbug",19:"Schrödinger's Cat",18:"Spherical Cow",17:"Beefy Miracle",16:"Verne",15:"Lovelock",14:"Laughlin",13:"Goddard",12:"Constantine",11:"Leonidas",10:"Cambridge",9:"Sulphur",8:"Werewolf",7:"Moonshine"}}}},{test:["Kindle"],os:{fullName:"Kindle",name:"kindle",$version:{search:"Kindle/"}},features:{bw:!0,mobile:!0}},{test:[/(BlackBerry|BB\d+)/],os:{fullName:"BlackBerry",name:"blackberry",$version:{search:"Version/"}},features:{mobile:!0}},{test:["Symbian"],os:{fullName:"Symbian",name:"symbian"},features:{mobile:!0}},{test:["Series40"],os:{fullName:"Symbian",name:"symbian"},features:{mobile:!0}},{test:["PlayStation Vita"],os:{fullName:"PlayStation Vita",name:"psvita"},features:{mobile:!0}},{test:[/playstation/i],os:{fullName:"PlayStation",name:"playstation",$version:{search:/playstation\s/i}},features:{tv:!0}},{test:["Nintendo DSi"],os:{fullName:"Nintendo DSi",name:"dsi"},features:{mobile:!0}},{test:["New Nintendo 3DS"],os:{fullName:"New Nintendo 3DS",name:"n3ds"},browser:{engine:"webkit"},features:{mobile:!0}},{test:["Nintendo 3DS"],os:{fullName:"Nintendo 3DS",name:"3ds"},browser:{engine:"webkit"},features:{mobile:!0}},{test:["Viera"],os:{fullName:"Viera",name:"viera"},browser:{engine:"webkit"},features:{tv:!0}},{test:["SonyDTV"],features:{tv:!0}},{test:["Android"],os:{fullName:"Android",name:"android",$version:{search:"Android "}},features:{mobile:!0}},{test:[/iPhone|iPod|iPad/],os:{fullName:"iOS",name:"ios",$version:{search:"OS "}},features:{mobile:!0}}],features:[{test:[/mobile/i],features:{mobile:!0}},{test:[/smart-{0,1}tv/i],features:{tv:!0}}]};if(!e)return t;function r(t){for(var n=0;n<t.length;n++){for(var r=!0,i=0;i<t[n].test.length;i++)if(t[n].test[i]instanceof RegExp){if(!t[n].test[i].test(e)){r=!1;break}}else if(-1==e.indexOf(t[n].test[i])){r=!1;break}if(r){o(t[n]);break}}}function o(e){for(var r in n)if(n.hasOwnProperty(r)&&e[r]){if(e[r].$version){var o=i(e[r].$version.search);if(o){var s=o.split("."),a=e[r].$version.names,c=e[r].$version.altNames;if(e[r].version=o,s[0]&&(e[r].majorVersion=parseInt(s[0])),s[1]&&(e[r].minorVersion=parseInt(s[1])),s[2]&&(e[r].patchVersion=parseInt(s[2])),a)for(var l,u=[],d=0;d<s.length;d++)u.push(s[d]),a[l=u.join(".")]&&(e[r].versionName=a[l]),c&&c[l]&&(e[r].versionAltNames=c[l])}}for(var f in e[r])e[r].hasOwnProperty(f)&&"$"!==f[0]&&(t[r][f]=e[r][f])}}function i(t){var n;if(t instanceof RegExp){if(!(n=(e.match(t)||[])[0]))return}else n=t;var r=e.indexOf(n);if(-1!=r){var o=e.substring(r+n.length),i=/^(\d+(\.|_)){0,2}\d+/.exec(o);if(i)return i[0].replace(/_/g,".")}}return function(){for(var e in n)r(n[e])}(),t};e.exports?e.exports=n:t.Sniffer=n}(this)},7818(e,t,n){var r=n(4740);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},5932(e,t,n){var r=n(514);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},5118(e,t,n){var r=n(4340);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},2450(e){e.exports=function(e){var t={fn:[],obj:[]};return e&&"object"==typeof e&&Object.keys(e).reduce(function(t,n){return t["function"==typeof e[n]?"fn":"obj"].push(n),t},t),function(n){var r={};return e===n||!!n&&"object"==typeof n&&t.obj.every(function(t){return e[t]===n[t]})&&t.fn.every(function(t){return t in n&&e[t](n[t],t,n,r)})}}},7082(e,t){"use strict";t.BRIDGE_TOPIC_PREFIX=t.CHROME_DEBUGGER_VERSION=t.MINIMUM_ML_SCREENSHOT_MARGIN=t.MAX_ML_SCREENSHOT_WIDTH=t.MAX_SCREENSHOT_HEIGHT=t.DEFAULT_IMAGE_TYPE=void 0,t.DEFAULT_IMAGE_TYPE="webp",t.MAX_SCREENSHOT_HEIGHT=16384,t.MAX_ML_SCREENSHOT_WIDTH=1500,t.MINIMUM_ML_SCREENSHOT_MARGIN=500,t.CHROME_DEBUGGER_VERSION="1.3",t.BRIDGE_TOPIC_PREFIX="web-extension-utils"},2331(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.failedToAttach=t.detach=t.sendCommand=t.attach=t.isRuntimeError=t.DEBUGGER=void 0;const o=r(n(5226)),i=n(7082),s=(0,o.default)("debugger:command"),a=(0,o.default)("debugger:response");t.DEBUGGER={CANNOT_ATTACH_TO_THIS_TARGET:"Cannot attach to this target.",CANNOT_ACCESS_DIFFERENT_EXTENSION:/Cannot access a chrome-extension:\/\/ URL of different extension/i};t.isRuntimeError=e=>"object"==typeof e&&null!==e&&"errorSource"in e&&"runtime"===e.errorSource;t.attach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.attach({tabId:e},i.CHROME_DEBUGGER_VERSION,()=>{if(chrome.runtime.lastError){s(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else s(`attach:${e}`),t(!0)})}catch(e){n(e)}});t.sendCommand=async(e,t,n)=>new Promise(r=>{s(`[${t}] command:${e.tabId}`,n),chrome.debugger.sendCommand(e,t,n,n=>{try{chrome.runtime.lastError&&s(chrome.runtime.lastError.message)}finally{a(`[${t}] command:${e.tabId}`,{...n}),r(n)}})});t.detach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.detach({tabId:e},()=>{if(chrome.runtime.lastError){s(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else s(`detach:${e}`),t(!0)})}catch(e){n(e)}});t.failedToAttach=()=>chrome.runtime.lastError&&chrome.runtime.lastError.message&&(chrome.runtime.lastError.message===t.DEBUGGER.CANNOT_ATTACH_TO_THIS_TARGET||t.DEBUGGER.CANNOT_ACCESS_DIFFERENT_EXTENSION.test(chrome.runtime.lastError.message))},5326(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarEventTopics=t.ScrollbarHandler=t.initContentBridgeListeners=void 0;var r=n(547);Object.defineProperty(t,"initContentBridgeListeners",{enumerable:!0,get:function(){return r.initContentBridgeListeners}});var o=n(2953);Object.defineProperty(t,"ScrollbarHandler",{enumerable:!0,get:function(){return o.ScrollbarHandler}}),Object.defineProperty(t,"ScrollbarEventTopics",{enumerable:!0,get:function(){return o.ScrollbarEventTopics}})},2953(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarHandler=t.ScrollbarEventTopics=void 0;const r=n(7082);t.ScrollbarEventTopics={CURRENT_SCROLL:`${r.BRIDGE_TOPIC_PREFIX}:current-scroll`,SCROLL_TO_TOP:`${r.BRIDGE_TOPIC_PREFIX}:scroll-to-top`,HIDE_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:hide-scrollbars`,SHOW_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:show-scrollbars`};t.ScrollbarHandler=class{constructor(){this.scrollbarStyleElement=null,this.getCurrentScroll=()=>document.documentElement.scrollTop,this.scrollToTop=({message:e})=>{window.scrollTo(e?.x||0,e?.y||0)},this.hideScrollbars=()=>{this.scrollbarStyleElement||(this.scrollbarStyleElement=document.createElement("style"),this.scrollbarStyleElement.innerHTML="*::-webkit-scrollbar { display: none !important }",document.head.appendChild(this.scrollbarStyleElement))},this.showScrollbars=()=>{this.scrollbarStyleElement&&(document.head.removeChild(this.scrollbarStyleElement),this.scrollbarStyleElement=null)}}}},547(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initContentBridgeListeners=function(e){(e=>{const t=new r.ScrollbarHandler;e.listen(r.ScrollbarEventTopics.CURRENT_SCROLL,t.getCurrentScroll),e.listen(r.ScrollbarEventTopics.SCROLL_TO_TOP,t.scrollToTop),e.listen(r.ScrollbarEventTopics.HIDE_SCROLLBARS,t.hideScrollbars),e.listen(r.ScrollbarEventTopics.SHOW_SCROLLBARS,t.showScrollbars)})(e)};const r=n(2953)},3917(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase64EncodedString=async function(e,t=r.DEFAULT_IMAGE_TYPE){if("toDataURL"in e)return e.toDataURL(t,1);const n=await new Promise(n=>{const r=()=>{const r={type:`image/${t}`,quality:1};e.convertToBlob(r).then(n)};"requestAnimationFrame"in globalThis?requestAnimationFrame(r):setTimeout(r)}),o=new FileReader;return o.readAsDataURL(n),new Promise(e=>{o.onload=()=>{e(o.result)}})},t.convertBase64StringToImage=async function(e){return await new Promise(t=>{const n=new Image;n.src=e,n.onload=()=>t(n)})};const r=n(7082)},2725(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsScreenshots=async function(e,t,n,r){return h(e,t,n,m,r)},t.getElementsScreenshotsWithBoxes=async function(e,t,n,r){return h(e,t,n,g,r)};const o=n(9070),i=n(7082),s=n(2331),a=r(n(19)),c=r(n(5226)),l=n(2953),u=n(2092),d=(0,a.default)("elementsScreenshots"),f=(0,a.default)("elementScreenshot");async function h(e,t,n,r,o){if(!e)throw new SyntaxError('"bridge" is a required parameter');const a={},f="boolean"==typeof n?.areScrollbarsHidden&&n?.areScrollbarsHidden,h=n?.tabId||browser.devtools.inspectedWindow.tabId,p=n?.format||i.DEFAULT_IMAGE_TYPE;let m=null;if(!n?.isDebuggerAttached)try{await(0,s.attach)(h)}catch(e){if(!(0,s.isRuntimeError)(e)||(0,s.failedToAttach)())return m={message:(0,u.getErrorMessage)(e,"failed to attach debugger")},{screenshots:null,type:p,error:m}}f||await e.send("content-script",l.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:h});try{d.start();for(const i of t){const t=await r(e,i.selector,n);a[i.vnodeId]=t,"function"==typeof o&&o({...i,screenshot:t})}d.end(),(0,c.default)(`getElementsScreenshots: ${d.measure().duration}ms`)}finally{const t=[];if(f||t.push(e.send("content-script",l.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:h})),!n?.isDebuggerAttached){const e=async e=>{try{await(0,s.detach)(e)}catch(e){m={message:(0,u.getErrorMessage)(e,"failed to detach debugger")}}};t.push(e(h))}await Promise.all(t)}return{screenshots:a,type:p,error:m}}async function p(e,t,n,r){const o=n?.tabId||browser.devtools.inspectedWindow.tabId;f.start(),n?.focusElement&&(await(0,s.sendCommand)({tabId:o},"Emulation.setFocusEmulationEnabled",{enabled:!0}),await e.send("content-script","node:focus",{selector:t}));try{const e=await r(o);return f.end(),(0,c.default)(`getElementScreenshots: ${f.measure().duration}ms`),e}finally{n?.focusElement&&await e.send("content-script","node:reset-focus",{selector:t})}}function m(e,t,n){return p(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0}},{tabId:r})??null;return i&&await(0,o.getRectScreenshot)(e,i,n)})}function g(e,t,n){return p(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0,includePageScroll:!0}},{tabId:r})??null,s=i?.rect&&await(0,o.getRectScreenshotWithBox)(e,i.rect,n);return s&&i?.rect?{screenshot:s.screenshot,pageRelativeBoundingBox:y(i.rect,i.scroll),boxInScreenshot:s.boxInScreenshot}:null})}function y(e,t){const n=e.left+t.x,r=e.top+t.y,o=e.width,i=e.height;return{top:r,left:n,right:n+o,bottom:r+i,width:o,height:i}}},6895(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageAreaForMLFeatureDetection=async function(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const s=n?.tabId||browser.devtools?.inspectedWindow?.tabId;try{await(0,o.attach)(s)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return t}const a=await(0,i.getContentSize)(e,s),c=await(0,i.cssToDeviceIndependentPixels)(s,t),l=Math.min(a.width,Math.max(r.MAX_ML_SCREENSHOT_WIDTH,c.width+r.MINIMUM_ML_SCREENSHOT_MARGIN)),u=Math.min(a.height,Math.max(2*l-1,c.height+r.MINIMUM_ML_SCREENSHOT_MARGIN)),d=(l-c.width)/2,f=a.width-(c.x+c.width),h=Math.max(0,c.x-d-Math.max(0,d-f)),p=(u-c.height)/2,m=a.height-(c.y+c.height),g=Math.max(0,c.y-p-Math.max(0,p-m));return{x:h,y:g,width:l,height:u}};const r=n(7082),o=n(2331),i=n(8185)},8775(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getPageScreenshot=async function(e,t){if(!e)throw new SyntaxError('"bridge" is a required parameter');const n=t?.tabId||browser.devtools?.inspectedWindow?.tabId,r=t?.format||f.DEFAULT_IMAGE_TYPE;let l=null;if(!t?.isDebuggerAttached)try{await(0,o.attach)(n)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return l={message:(0,u.getErrorMessage)(e,"failed to attach debugger")},{screenshot:null,zoom:-1,error:l,type:r}}const g=await async function(e,t){const n="boolean"==typeof t.areScrollbarsHidden&&t.areScrollbarsHidden,r="boolean"!=typeof t.fullScreen||t.fullScreen,{tabId:o,format:i}=t;try{n||await e.send("content-script",p.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:o}),m.start();const s=await(0,c.createTimeoutPromise)(()=>(0,d.getScreenshot)(e,{...t,fullScreen:r}),t?.timeout);return m.end(),(0,h.default)(`getPageScreenshot: ${m.measure().duration}ms`),s?{...s,screenshot:`data:image/${i};base64,${s.screenshot}`}:null}finally{n||await e.send("content-script",p.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:o})}}(e,{...t,tabId:n,format:r}),y=await(0,a.getZoomLevel)(n);if(!t?.isDebuggerAttached)try{await(0,o.detach)(n)}catch(e){l={message:(0,u.getErrorMessage)(e,"failed to detach debugger")}}if(!g)return l={message:"failed to get screenshot response probably due to a timeout"},{screenshot:null,zoom:y,error:l,type:r};const{pageWidthDIP:b,pageHeightDIP:v}=g;let w;try{w=await async function(e,t){const{screenshot:n,pageHeightDIP:r,pageWidthDIP:o}=e;if(!o||!r)return n;let a,c,l;if("Image"in globalThis){const e=a=new Image;e.src=n,await new Promise((t,n)=>{e.onload=()=>t(),e.onerror=()=>n(new Error("failed to decode screenshot"))}),c=e.naturalWidth}else{const e=await fetch(n),t=await createImageBitmap(await e.blob());a=t,c=t.width}try{if(c<=Math.ceil(o))return n;l=await createImageBitmap(a,{resizeQuality:"high",resizeWidth:o,resizeHeight:r});const e=(0,i.getCanvas)(o,r),u=e.getContext("2d");if(!u)throw new Error("Unable to resize image. Error creating canvas context");return u.drawImage(l,0,0,o,r),await(0,s.getBase64EncodedString)(e,t)}finally{l?.close(),"close"in a&&a.close()}}(g,r)}catch(e){return{screenshot:null,zoom:y,error:{message:(0,u.getErrorMessage)(e,"failed to normalize screenshot")},pageWidthDIP:b,pageHeightDIP:v,type:r}}return{screenshot:w,error:l,zoom:y,pageWidthDIP:b,pageHeightDIP:v,type:r}};const o=n(2331),i=n(4181),s=n(3917),a=n(8185),c=n(409),l=r(n(19)),u=n(2092),d=n(2864),f=n(7082),h=r(n(5226)),p=n(2953),m=(0,l.default)("pageScreenshot")},9070(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getRectScreenshot=async function(e,t,n){const r=await f(e,t,n);return r?.screenshot??null},t.getRectScreenshotWithBox=f;const o=r(n(5226)),i=r(n(19)),s=n(7082),a=n(2864),c=n(3917),l=n(2331),u=(0,o.default)("screenshots"),d=(0,i.default)("rectScreenshot");async function f(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const r=n?.tabId||browser.devtools.inspectedWindow.tabId;d.start();const o=n?.format||s.DEFAULT_IMAGE_TYPE;if(!t||0===Math.floor(t.width)||0===Math.floor(t.height))return null;const i=await(0,a.getScreenshot)(e,{...n,format:o,fullScreen:!1});if(!i||!i.screenshot)return null;const f=await(0,c.convertBase64StringToImage)(`data:image/${o};base64,${i.screenshot}`),g=await async function(e){try{const{cssVisualViewport:t}=await(0,l.sendCommand)({tabId:e},"Page.getLayoutMetrics"),{result:{value:n}}=await(0,l.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerWidth"}),{result:{value:r}}=await(0,l.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerHeight"});return{...t,innerWidth:n,innerHeight:r}}catch{return null}}(r),y=p(f,g),b=m(t,g);if(b.left<0||b.top<0)return null;const v={x:b.left,y:b.top,height:b.height,width:b.width},w=await(0,a.clipScreenshot)(f,y,v,n);if(d.end(),u(`getRectScreenshot: ${d.measure().duration}ms`),!w)return null;if(u.enabled){(new Image).src=w}return{screenshot:w,boxInScreenshot:h(v,y,n)}}function h(e,t,n){const r=(0,a.getClipRect)(e,t,n?.offset||0),o=Math.floor(e.x*t)-r.left,i=Math.floor(e.y*t)-r.top,s=Math.floor(e.width*t),c=Math.floor(e.height*t);return{top:i,left:o,right:o+s,bottom:i+c,width:s,height:c}}const p=(e,t)=>{if(!t)return 1;const n=t.innerWidth*t.scale;return e.naturalWidth/n},m=(e,t)=>{if(!t)return e;const{offsetX:n,offsetY:r,scale:o}=t;return{x:(e.x-n)*o,y:(e.y-r)*o,left:(e.left-n)*o,top:(e.top-r)*o,height:e.height*o,width:e.width*o}}},2864(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getScreenshot=async function(e,t){const n="boolean"!=typeof t.fullScreen||t.fullScreen;let r,o=0,s=0;try{const c=t?.tabId||browser.devtools?.inspectedWindow?.tabId;t?.allowPageToContinueLoading||await(0,i.sendCommand)({tabId:c},"Page.stopLoading");const f={fromSurface:!0,captureBeyondViewport:n,format:t?.format,quality:t?.quality};let h=0;if(n){h=await e.send("content-script",u.ScrollbarEventTopics.CURRENT_SCROLL,null,{tabId:c})??null;const t=await(0,l.getContentSize)(e,c);o=t.width,s=Math.min(t.height,a.MAX_SCREENSHOT_HEIGHT),f.clip={x:0,y:0,width:o,height:s,scale:1}}else{const{cssVisualViewport:e}=await(0,i.sendCommand)({tabId:c},"Page.getLayoutMetrics"),{clientWidth:t,clientHeight:n}=e,r=await(0,d.cssToDeviceIndependentPixels)(c,{width:t,height:n,x:0,y:0});o=r.width,s=r.height}t?.beforeScreenshot&&await t.beforeScreenshot();const p=async()=>{const e=await(0,i.sendCommand)({tabId:c},"Page.captureScreenshot",f);return e?.data};n?(r=await new Promise(e=>setTimeout(()=>e(p()),250)),h&&await e.send("content-script",u.ScrollbarEventTopics.SCROLL_TO_TOP,{y:h},{tabId:c})):r=await p()}catch{return null}if(r&&f.enabled){(new Image).src=`data:image/${t?.format||a.DEFAULT_IMAGE_TYPE};base64,${r}`}return{screenshot:r,pageWidthDIP:o,pageHeightDIP:s}},t.getClipRect=h,t.clipScreenshot=async function(e,t,n,r){const{left:o,top:i,width:a,height:l}=h(n,t,r?.offset||0),u=(0,c.getCanvas)(a,l),d=await createImageBitmap(e,o,i,a,l,{resizeQuality:"high"}),f=u.getContext("2d");if(f&&"drawImage"in f)return f.drawImage(d,0,0,d.width,d.height),await(0,s.getBase64EncodedString)(u,r?.format);return null};const o=r(n(5226)),i=n(2331),s=n(3917),a=n(7082),c=n(4181),l=n(6680),u=n(2953),d=n(5079),f=(0,o.default)("screenshots");function h(e,t,n=0){return{left:Math.floor(Math.max(0,e.x-n)*t),top:Math.floor(Math.max(0,e.y-n)*t),width:Math.floor((e.width+2*n)*t),height:Math.floor((e.height+2*n)*t)}}},8185(e,t,n){"use strict";t.getZoomLevel=t.cssToDeviceIndependentPixels=t.getContentSize=void 0;var r=n(6680);Object.defineProperty(t,"getContentSize",{enumerable:!0,get:function(){return r.getContentSize}});var o=n(5079);Object.defineProperty(t,"cssToDeviceIndependentPixels",{enumerable:!0,get:function(){return o.cssToDeviceIndependentPixels}});var i=n(1583);Object.defineProperty(t,"getZoomLevel",{enumerable:!0,get:function(){return i.getZoomLevel}})},5079(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssToDeviceIndependentPixels=async function(e,t){const n=await(0,r.getZoomLevel)(e);return{x:t.x*n,y:t.y*n,height:t.height*n,width:t.width*n}};const r=n(1583)},6680(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentSize=async function(e,t){await e.send("content-script",s.ScrollbarEventTopics.SCROLL_TO_TOP,null,{tabId:t}),await(0,o.sleep)();const{cssContentSize:n}=await(0,r.sendCommand)({tabId:t},"Page.getLayoutMetrics");return(0,i.cssToDeviceIndependentPixels)(t,n)};const r=n(2331),o=n(3702),i=n(5079),s=n(2953)},1583(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZoomLevel=async function(e){try{const{cssVisualViewport:{zoom:t=1}}=await(0,r.sendCommand)({tabId:e},"Page.getLayoutMetrics");return t}catch{return 1}};const r=n(2331)},8618(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64StringToImage=t.getBase64EncodedString=t.getCanvas=t.clipScreenshot=t.getPageAreaForMLFeatureDetection=t.getPageScreenshot=t.getElementsScreenshotsWithBoxes=t.getElementsScreenshots=t.getRectScreenshot=void 0;var r=n(9070);Object.defineProperty(t,"getRectScreenshot",{enumerable:!0,get:function(){return r.getRectScreenshot}});var o=n(2725);Object.defineProperty(t,"getElementsScreenshots",{enumerable:!0,get:function(){return o.getElementsScreenshots}}),Object.defineProperty(t,"getElementsScreenshotsWithBoxes",{enumerable:!0,get:function(){return o.getElementsScreenshotsWithBoxes}});var i=n(8775);Object.defineProperty(t,"getPageScreenshot",{enumerable:!0,get:function(){return i.getPageScreenshot}});var s=n(6895);Object.defineProperty(t,"getPageAreaForMLFeatureDetection",{enumerable:!0,get:function(){return s.getPageAreaForMLFeatureDetection}});var a=n(2864);Object.defineProperty(t,"clipScreenshot",{enumerable:!0,get:function(){return a.clipScreenshot}});var c=n(4181);Object.defineProperty(t,"getCanvas",{enumerable:!0,get:function(){return c.getCanvas}});var l=n(3917);Object.defineProperty(t,"getBase64EncodedString",{enumerable:!0,get:function(){return l.getBase64EncodedString}}),Object.defineProperty(t,"convertBase64StringToImage",{enumerable:!0,get:function(){return l.convertBase64StringToImage}})},409(e,t){"use strict";t.createTimeoutPromise=async function(e,t){if(!t)return e();let n;const r=new Promise(e=>{n=setTimeout(()=>e(null),t)}),o=await Promise.race([e(),r]);return clearTimeout(n),o}},4181(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanvas=function(e,t){let n;"OffscreenCanvas"in self&&!browser?.devtools?n=new self.OffscreenCanvas(e,t):(n=document.createElement("canvas"),n.width=e,n.height=t);return n}},2092(e,t){"use strict";t.getErrorMessage=void 0;t.getErrorMessage=(e,t)=>e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:t},19(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=`${e}-start`,n=`${e}-end`,r=()=>{performance.clearMarks(t),performance.clearMarks(n),performance.clearMeasures(e)};return{start:()=>{r(),performance.mark(t)},end:()=>performance.mark(n),clear:r,measure:()=>(performance.measure(e,t,n),performance.getEntriesByName(e,"measure")[0])}}},3702(e,t){"use strict";t.sleep=void 0;t.sleep=e=>new Promise(t=>setTimeout(t,e||50))},5484(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOSIgaGVpZ2h0PSIyOSI+PGNpcmNsZSBjeD0iMTQuNSIgY3k9IjE0LjUiIHI9IjEzLjUiIGZpbGw9IiMwYjE0MWMiIHN0cm9rZT0iI2Q0ZGRlMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHBhdGggZmlsbD0iIzc2Y2ZlOCIgZD0iTTYuMjMgMTIuNThoLjkydjUuNTFoLS45MmEuOTEuOTEgMCAwIDEtLjkyLS45MVYxMy41YS45Mi45MiAwIDAgMSAuOTItLjkybTE0LjctMS4zOFYxOWExLjg0IDEuODQgMCAwIDEtMS44NCAxLjg0SDkuOTFBMS44NCAxLjg0IDAgMCAxIDguMDcgMTl2LTcuOGEyLjI5IDIuMjkgMCAwIDEgMi4yOS0yLjI5aDMuMjJWNy4wN2EuOTIuOTIgMCAwIDEgMS44NCAwdjEuODRoMy4yMmEyLjI5IDIuMjkgMCAwIDEgMi4yOSAyLjI5bS04IDIuM2ExLjE1IDEuMTUgMCAxIDAtMS4xNSAxLjE1IDEuMTUgMS4xNSAwIDAgMCAxLjE1LTEuMTVtLS4yMyAzLjY4aC0xLjg4di45MWgxLjg0em0yLjc2IDBoLTEuODh2LjkxaDEuODR6bTMtMy42OGExLjE1IDEuMTUgMCAxIDAtMS4xNSAxLjE1IDEuMTYgMS4xNiAwIDAgMCAxLjE1LTEuMTVtLS4yMyAzLjY4aC0xLjg5di45MWgxLjg0em01LjUxLTMuNjh2My42OGEuOTIuOTIgMCAwIDEtLjkyLjkxaC0uOTJ2LTUuNTFoLjkyYS45Mi45MiAwIDAgMSAuOTIuOTIiLz48L3N2Zz4="}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.amdO={},(()=>{const e=[];n.O=(t,r,o,i)=>{if(r){i||=0;for(var s=e.length;s>0&&e[s-1][2]>i;s--)e[s]=e[s-1];return void(e[s]=[r,o,i])}let a=1/0;for(s=0;s<e.length;s++){let[r,o,i]=e[s],l=!0;for(var c=0;c<r.length;c++)1&i&&!(a>=i)||!Object.keys(n.O).every(e=>n.O[e](r[c]))?(l=!1,i<a&&(a=i)):r.splice(c--,1);if(l){e.splice(s--,1);const n=o();void 0!==n&&(t=n)}}return t}})(),n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},(()=>{const e=Object.getPrototypeOf;let t;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}const i=Object.create(null);n.r(i);const s={};t||=[null,e({}),e([]),e(e)];for(var a=2&o&&r;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>r[e]);return s.default=()=>r,n.d(i,s),i}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var o=t[r++],i=t[r++],s=0===i?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:i};n.o(e,o)||Object.defineProperty(e,o,s)}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=854,n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{n.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={854:0};n.O.j=t=>0===e[t];const t=(t,r)=>{let[o,i,s]=r;var a,c,l=0;if(o.some(t=>0!==e[t])){for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(s)var u=s(n)}for(t&&t(r);l<o.length;l++)c=o[l],n.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return n.O(u)},r=this.webpackChunk||=[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();let r=n.O(void 0,[121],()=>n(8260));r=n.O(r)})();
61
+ `;n.d(t,["IY",0,o,"fX",0,'fieldset, [role="group"], [role="radiogroup"]',"oi",0,r])}),sn=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Ay:()=>s}),Vr(),Gt();const i=e=>{const t=Vr().A.sanitize(e&&Gt().Ay.name(e)||"").trim();return t.length<=500?t:`${t.substring(0,500).trim()}...`};function s(e,t={},n="accessibleText"){const{vnodeId:s,properties:a,attributes:l,tagName:c,selector:u,element:d,source:f}=e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({vnodeId:s,properties:a,attributes:l,tagName:c,selector:u,source:f,[n]:i(d)},t)}n.d(t,["GR",0,i])}),an=n.cw((e,t)=>{n.d(t,{A:()=>o}),n.dn(o),Kn(),Gt();const r=(e,t)=>t?r(t,e%t):e;function o(){const{browser:e,os:t}=wo()()(window.navigator.userAgent),{width:n,height:o}=window.screen,i=r(n,o);return{browser:`${e.fullName} ${e.version}`,os:t.fullName,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,aspectRatio:`${n/i}:${o/i}`,axeVersion:(0,Ut().rJ)().version,devicePixelRatio:window.devicePixelRatio}}}),ln=n.cw((e,t)=>{n.d(t,{D8:()=>o,S8:()=>a}),Be(),tr();const r=e=>{e.preventDefault();const t=new e.constructor(e.type,e);t.originalEvent=e,e.target.ownerDocument.defaultView.top.document.body.dispatchEvent(t)};function o(e){const{element:t}=e;if(t&&1!==t.nodeType)return e;const n=(e.ancestors||[]).reduce(i,{fallback:[],root:null});try{n.root||(n.root=t.getRootNode());const r=vo()()(t,n),o=n.fallback[n.fallback.length-1];(Array.isArray(o)?o:n.fallback).push(r),e.fallbackSelector=n.fallback}catch{}return e}function i(e,t){try{const{element:n,isShadowHost:r}=t;if(!t.fallbackSelector){e.root=e.root||n.getRootNode();const o=vo()()(n,e);if(o.startsWith("#")&&n.getRootNode()===document){const n=[o];return r&&n.push(["shadow-root"]),t.fallbackSelector=n,e.fallback=s(n),e.root=t.element,e}const i=e.fallback[e.fallback.length-1],a=Array.isArray(i)?i:e.fallback;return a.push(o),r&&a.push(["shadow-root"]),t.fallbackSelector=e.fallback,e.fallback=s(t.fallbackSelector),e.root=t.element,e}return e.fallback=s(t.fallbackSelector),e.root=t.element,e}catch{return e}}function s(e){return JSON.parse(JSON.stringify(e))}function a(e){const t=e.getAttribute("aria-describedby");if(!t)return"";const n=e.getRootNode();return t.split(/\s+/).filter(e=>!!n.getElementById(e)).map(e=>n.getElementById(e).innerText).join(" ").trim()}n.d(t,["J8",0,e=>{tr().yS.send(tr()._O.devtools,"guide:auto-setup",e)},"S9",0,({discarded:e,scope:t,groot:n,tree:r,vitals:o=[]})=>{t&&!o.find(e=>e.vnodeId===t.vnodeId)&&o.push(t);const i=o.filter(t=>e.find(e=>e.vnodeId===t.vnodeId));if(!i.length)return;const s=[];s.push(e=>e.fallbackSelector&&n.querySelector(e.fallbackSelector)),s.push(e=>n.findOne(e,{findOneTimeLimit:1e3}));i.every(e=>{for(const t of s){const n=t(e);if(n){return r.has(n)||r.set(n,e),!0}}return!1})||tr().yS.send(tr()._O.devtools,"guide:discarded",{value:i})},"wj",0,e=>{if("body"===e.tagName&&e.element.ownerDocument.defaultView!==window.top){const t=e.element;t.removeEventListener("mouseover",r,!0),t.removeEventListener("click",r,!0),t.addEventListener("mouseover",r,!0),t.addEventListener("click",r,!0)}}])}),cn=n.cw((e,t)=>{function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){const n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e),i=n.groups.findIndex(e=>e.id===t);return-1===i?e:(n.groups.splice(i,1),n.inputs.filter(e=>e.groupId===t).forEach(e=>{We().QC.forEach(t=>e[t]=void 0)}),n)}n.d(t,{A:()=>i}),n.dn(i)}),un=n.cw((e,t)=>{function r(e){const t=e.getAttribute("aria-label");if(t)return t;const n=e.getAttribute("aria-labelledby"),r=n&&n.split(" ");if(n&&r.length)return r.map(e=>document.getElementById(e)).filter(e=>!!e).map(e=>e.innerText).join(" ");const o=e.id&&document.querySelector(`label[for="${e.id}"]`);if(o)return o.innerText;const i=e.closest("label");return i?i.innerText:void 0}n.d(t,{A:()=>r})}),dn=n.cw((e,t)=>{function r({vnode:e,selector:t,includeHidden:n=!1,verifyTree:r=!0}){const o=e.element&&"function"==typeof e.element.matches&&e.element.matches(t);return n?o:o&&(0,Gt().pK)(e.element)&&Gt().Ay.isVisible(e.element,r)}n.d(t,{A:()=>r}),Gt()}),fn=n.cw((e,t)=>{n.d(t,{A:()=>o,T:()=>i}),jn(),tr();const r=to()()("frameMessenger");async function o(e,t,n,{timeout:o=500}={}){if((0,Ht().$j)(e))throw new Error("FrameMessenger on top level window is not supported.");const i=function(e){try{const t=e.frameId;return"number"==typeof t?t:void 0}catch(e){return void r("Unable to read same-origin frameId, falling back to handshake: %o",e)}}(e),s=i??await function(e,t){const n=(0,Zr().A)(),r=`frame-messenger:${n}`;return new Promise((o,i)=>{const s=setTimeout(()=>{tr().yS.unlisten(r,a),i(`No response received from frame within timeout of ${t}ms.`)},t),a=({message:e})=>{clearTimeout(s),tr().yS.unlisten(r,a),o(e.frameId)};tr().yS.listen(r,a),e.postMessage({uuid:n,originFrameId:window.frameId,source:"frame-messenger"},"*")})}(e,o);return tr().yS.send(tr()._O.content,t,n,{frameId:s})}function i(){tr().yS.send(tr()._O.background,"identify-content-frame").then(e=>{window.frameId=e}),(0,Ht().$j)()||window.addEventListener("message",({data:e})=>{(function(e){return e.uuid&&e.originFrameId>=0&&"frame-messenger"===e.source})(e)&&(r(`originFrame:${e.originFrameId} → childFrame:${window.frameId} [${window.location.href}]`),tr().yS.send(tr()._O.content,`frame-messenger:${e.uuid}`,{frameId:window.frameId},{frameId:e.originFrameId}))})}}),hn=()=>n(367),pn=n.cw((e,t)=>{n.d(t,{hc:()=>xn().A}),hn(),n(7955),n(3958),n(700),n(8446),n(1448),Tn(),An(),gn(),xn(),bn(),wn(),vn(),mn(),Sn(),Cn(),In()}),mn=()=>n(8853),gn=n.cw(()=>{yn()}),yn=n.cw(()=>{hn();new(hn().A)((0,On().A)(/(?:\n(?:\s*))+/g," "),Pn().A)}),bn=()=>n(3837),vn=()=>n(9811),wn=()=>n(6562),Sn=()=>n(6684),xn=n.cw((e,t)=>{n.d(t,{A:()=>En().A}),En()}),En=n.cw((e,t)=>{hn();const r=new(hn().A)((0,On().A)(/(?:\n\s*)/g,""),Pn().A);n.d(t,["A",0,r])}),On=()=>n(4800),An=()=>n(6649),Tn=()=>n(8555),Cn=()=>n(11),In=()=>n(607),Pn=()=>n(9454),Nn=()=>n(7151),jn=()=>n(5226),Rn=()=>n(9681),kn=n.cw((e,t)=>{var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=/^:([a-z])(\(([^)]+)\))?/,s="numeric",a="long",l="2-digit",c="string",u="decimal",d="currency",f="percent",h={weekday:void 0,era:void 0,year:void 0,month:a,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},p={weekday:void 0,era:void 0,year:s,month:a,day:void 0,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},m={d:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},D:{weekday:a,era:void 0,year:s,month:a,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},f:{weekday:a,era:void 0,year:s,month:a,day:s,hour:s,minute:l,second:void 0,timeZoneName:void 0},F:{weekday:a,era:void 0,year:s,month:a,day:s,hour:s,minute:l,second:l,timeZoneName:void 0},g:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:s,minute:l,second:void 0,timeZoneName:void 0},G:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:s,minute:l,second:l,timeZoneName:void 0},m:h,M:h,t:{weekday:void 0,era:void 0,year:void 0,month:void 0,day:void 0,hour:s,minute:l,second:void 0,timeZoneName:void 0},T:{weekday:void 0,era:void 0,year:void 0,month:void 0,day:void 0,hour:s,minute:l,second:l,timeZoneName:void 0},y:p,Y:p},g=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultConfig={locales:void 0,translations:{},number:{currency:"USD"},date:{},string:{}},this.configs={"":this.defaultConfig},this.translationCache={},this.keyCache={},this.typeInfoCache={},this._localizers={s:function(e,n,r){var o=void 0;return r&&null!==(o=t._runCustomFormatters(e,c,r,n))?o:n?n.toLocaleString(e.locales):String(n)},n:function(e,r,o){if("number"!=typeof r)throw Error("value is not a number. type: "+(void 0===r?"undefined":n(r)));if(o){var i=parseInt(o);if(!isNaN(i))return r.toLocaleString(e.locales,Object.assign({},e.number,{style:u,minimumFractionDigits:i,maximumFractionDigits:i}));var s;if(null!==(s=t._runCustomFormatters(e,"number",o,r)))return s}return r.toLocaleString(e.locales,Object.assign({},e.number,{style:u,minimumFractionDigits:0,maximumFractionDigits:3}))},t:function(e,n,r){if(!(n instanceof Date))throw Error("value is not a Date. type: "+n.constructor.name);if(r){switch(r.toUpperCase()){case"R":return n.toUTCString();case"O":return n.toISOString()}var o=m[r];if(o)return n.toLocaleString(e.locales,Object.assign({},e.date,o));var i=t._runCustomFormatters(e,"date",r,n);if(null!==i)return i}return n.toLocaleString(e.locales,Object.assign({},e.date))},c:function(e,t,r){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":n(t)));return t.toLocaleString(e.locales,r?Object.assign({},e.number,{style:d,currency:r}):Object.assign({},e.number,{style:d}))},p:function(e,t,r){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":n(t)));return t.toLocaleString(e.locales,r?Object.assign({},e.number,{style:f,minimumFractionDigits:r}):Object.assign({},e.number,{style:f}))}},this.i18n=this.i18n.bind(this),this.translate=this.translate.bind(this),this.i18nConfig=this.i18nConfig.bind(this),this._localize=this._localize.bind(this),this._extractTypeInfo=this._extractTypeInfo.bind(this)}return r(e,[{key:"i18nConfig",value:function(e){var t=e.locales,n=e.translations,r=e.group,o=e.number,i=e.date,s=e.standardFormatters;this.translationCache={};var a=this.configs[r||""]||this.defaultConfig;this.configs[r||""]=Object.assign({},a,{locales:t||a.locales,translations:n||a.translations,number:o||a.number,date:i||a.date,standardFormatters:s||a.standardFormatters})}},{key:"i18n",value:function(e,t,n){for(var r=this,i=this._buildKey(n),s=this._getCachedTranslation(e,t,i),a=s.configGroup,l=s.translatedKey,c=n.slice(1).map(this._extractTypeInfo),u=arguments.length,d=Array(u>3?u-3:0),f=3;f<u;f++)d[f-3]=arguments[f];var h=d.map(function(e,t){return r._localize(a,e,c[t])});return this._buildMessage.apply(this,[l].concat(o(h)))}},{key:"translate",value:function(e,t,n){var r=this;null==n?n="":"string"!=typeof n&&(n=String(n));for(var i=this._getCachedTranslation(e,t,n),s=i.configGroup,a=i.translatedKey,l=arguments.length,c=Array(l>3?l-3:0),u=3;u<l;u++)c[u-3]=arguments[u];var d=c.map(function(e){return e instanceof Object&&e.constructor===Object?r._localize(s,e.value||"",{type:e.formatter||"s",options:e.format}):r._localize(s,e,{type:"s",options:""})});return this._buildMessage.apply(this,[a].concat(o(d)))}},{key:"_getCachedTranslation",value:function(e,t,n){var r=[e||"",t||"",n].join(),o=this.translationCache[r],i=this.configs[t||""]||this.defaultConfig;if(o)return{configGroup:i,translatedKey:o};var s=this._getTranslation(e,i,n);return this.translationCache[r]=s,{configGroup:i,translatedKey:s}}},{key:"_getTranslation",value:function(e,t,r){var o=t.translations,i=void 0,s=void 0;return(void 0===e?"undefined":n(e))===c&&(s=e),s&&(i=o[s])instanceof Object&&(i=i[r]),i||(i="string"==typeof o[r]&&o[r]||r),i}},{key:"_runCustomFormatters",value:function(e,t,n,r){var o=null;if(e.standardFormatters){var i=e.standardFormatters[t];if(i){var s=i[n];s&&(o=s(e.locales,e[t],r))}}return o}},{key:"_extractTypeInfo",value:function(e){var t=this.typeInfoCache[e];if(t)return t;var n=i.exec(e);return t=n?{type:n[1],options:n[3]}:{type:"s",options:""},this.typeInfoCache[e]=t,t}},{key:"_localize",value:function(e,t,n){var r=n.type,o=n.options,i=this._localizers[r];if(i)return i(e,t,o);throw new Error("Type '"+r+"' is not supported. Supported types are: "+Object.keys(this._localizers).join())}},{key:"_buildKey",value:function(e){var t=e.join(),n=this.keyCache[t];if(n)return n;var r=function(e){return e.replace(i,"")},o=r(e[e.length-1]),s=e.slice(0,-1).reduceRight(function(e,t,n){return r(t)+"${"+n+"}"+e},o).replace(/\r\n/g,"\n");return this.keyCache[t]=s,s}},{key:"_buildMessage",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.replace(/\${(\d)}/g,function(e,t){return n[Number(t)]})}}]),e}(),y=new g,b=y.i18nConfig,v=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("string"==typeof e){if(n.length&&"string"==typeof n[0]){var o=function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y.i18n.apply(y,[e,n[0],t].concat(o))};return o.translate=function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y.translate.apply(y,[e,n[0],t].concat(o))},o}var i=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y.i18n.apply(y,[e,null,t].concat(r))};return i.translate=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y.translate.apply(y,[e,null,t].concat(r))},i}return y.i18n.apply(y,[null,null,e].concat(n))};v.translate=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return y.translate.apply(y,[null,null,e].concat(n))};var w=function(e,t){return function(n){return n.prototype.i18n=function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return v(e,t).apply(void 0,[n].concat(o))},n.prototype.i18n.translate=function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y.translate.apply(y,[e,t,n].concat(o))},n}};window.i18n=v,window.i18nConfig=b,window.i18nGroup=w,t.Ay=v}),Mn=()=>n(6369),_n=()=>n(1911),Dn=n.cw(e=>{const t=Vn(),r=Ln(),o=(n(1958),Fn());n(9402),n(6863),n(5088),n(6625),n(9718),n(7288),n(9124),n(2379),n(3515),n(5462),n(3024),n(4877),n(7095),n(1817),n(4471),n(350),n(8849),n(4455),n(309),n(3239),n(6818),n(3357),n(8704),n(6419),n(4714),n(2605),n(3536),Xn(),Wn(),zn(),Gn(),Jn(),Un(),Bn(),$n(),Hn(),qn(),Yn();e.exports={...void t.re,...void t.src,...void t.t,...void r.SEMVER_SPEC_VERSION,...void r.RELEASE_TYPES,...void o.compareIdentifiers,...void o.rcompareIdentifiers}}),Ln=()=>n(9436),Fn=()=>n(1669),Vn=()=>n(848),Bn=()=>n(5609),Hn=()=>n(3098),$n=()=>n(432),Wn=()=>n(6370),zn=()=>n(4712),Gn=()=>n(9251),Un=()=>n(6561),qn=()=>n(6143),Yn=()=>n(6206),Xn=()=>n(5821),Jn=()=>n(1796),Kn=()=>n(3258),Zn=n.cw((e,t)=>{var r=["interactive","complete"],o=function(e,t){return new Promise(function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var o=function(){return n(void(e&&setTimeout(e)))};-1!==r.indexOf(t.readyState)?o():t.addEventListener("DOMContentLoaded",o)})};o.resume=function(e){return function(t){return o(e).then(function(){return t})}};const i=o;n.d(t,["A",0,i])}),Qn=()=>n(2450),er=n.cw((e,t)=>{n.d(t,{Ay:()=>b,Gq:()=>v,UV:()=>i});class r extends HTMLElement{constructor(){const e=document.createElement("div");return Object.setPrototypeOf(e,new.target.prototype),e}}class o{constructor(e){this.groot=e.groot,this.type=e.event.type,this.target=this.groot.get(e.event.target);const t=e.event.composedPath?.()??[];t[0]&&(this.composedTarget=this.groot.get(t[0]))}toJSON(){const{type:e,target:t,composedTarget:n}=this,r={type:e,target:JSON.parse(this.groot.safe(t))};return n&&(r.composedTarget=JSON.parse(this.groot.safe(n))),r}}class i{constructor(e){this.groot=e.groot,this.listeners=new Map,this.vnodeId=e.node.vnodeId,this.element=e.node.element||null,this.depth=e.node.depth||0,this.selector=e.node.selector,this.children=e.node.children||[],this.ancestors=e.node.ancestors||[],this.previousSibling=e.node.previousSibling,this.attributes=e.node.attributes||{},this.attrs=e.node.attrs||[],this.properties=e.node.properties,this.tagName=e.node.tagName,this.isFrame=e.node.isFrame,this.isShadow=e.node.isShadow,this.isShadowHost=e.node.isShadowHost,this.isSlottedElement=e.node.isSlottedElement,this.slotAncestors=e.node.slotAncestors||[],this.slotChildren=e.node.slotChildren||[],this.isCrossOrigin=e.node.isCrossOrigin||!1===this.element?.isConnected,e.frameMessenger&&(this.frameMessenger=e.frameMessenger,this.init())}toJSON(){const{groot:e,listeners:t,frameMessenger:n,...r}=this;return{...r}}init(){this.isCrossOrigin||this.frameMessenger?.listen("groot:add-event-listener",({message:e})=>{const{type:t,options:n,vnodeId:r,treeId:o,listenerId:i}=e;if(Number(r)!==this.vnodeId||o!==this.groot.getId())return;const s=e=>this.frameMessenger.sendReply("groot:event",{event:e,listenerId:i});this.addEventListener(t,s,n),this.frameMessenger.listen("groot:remove-event-listener",({message:e})=>{const{listenerId:n}=e;if(i===n)return this.removeEventListener(t,s)})})}async addEventListener(e,t,n){let r;if(this.isCrossOrigin){const o=(0,Zr().A)();await this.frameMessenger.sendAll("groot:add-event-listener",{type:e,options:n,vnodeId:this.vnodeId,treeId:this.groot.getId(),listenerId:o}),this.frameMessenger.listen("groot:event",({message:e})=>{const n=e.event,r={type:n.type,target:this.groot.getById(n.target.vnodeId)};n.composedTarget&&(r.composedTarget=this.groot.getById(n.composedTarget.vnodeId)),e.listenerId===o&&t(r)}),r=async()=>{await this.frameMessenger.sendAll("groot:remove-event-listener",{listenerId:o})}}else{const i=e=>{"object"==typeof n&&n?.preventDefault&&e.preventDefault(),"object"==typeof n&&n?.stopPropagation&&e.stopPropagation(),t(new o({event:e,groot:this.groot}))},s="object"!=typeof n?n:Object.fromEntries(Object.entries(n).filter(([e])=>!["preventDefault","stopPropagation"].includes(e)));this.element.addEventListener(e,i,s),r=()=>{this.element.removeEventListener(e,i,s)}}return this.listeners.set(t,r),r}async removeEventListener(e,t){const n=this.listeners.get(t);n&&(await n(),this.listeners.delete(t))}contains(e){if(!e)return!1;const t=this.groot.get(e)??e,n=[...this.children,...this.slotChildren];return n.some(e=>e.vnodeId===t.vnodeId)||n.some(e=>e.contains?.(t))}}const s={allowAttrs:Object.freeze(["data-.*","aria-.*","method","action","class","id","xlink:href","role","name","src","type","for"]),rejectKeys:Object.freeze(["element"]),vnodeOnly:Object.freeze(["previousSibling","ancestors","children","slotAncestors","slotChildren"]),rejectTags:Object.freeze(["script","style"]),seed:0,findOneTimeLimit:1e3};var a=Object.keys(s).reduce((e,t)=>(e[t]=s[t],e),{});const l=/(\[[^=]+=[^[]+\])|(\[.*\])/g;function c(e){let t=e;t.startsWith("#")&&(t=`[id="${t.substring(1)}"]`);const n=e.toString().match(l);if(n){const e=n.reduce((e,t)=>{let n=t,[r,o,i,s]=["","","",""];const a=n.match(/\[([^~|^$*=]+)([~|^$*]*=)"*([^\]|"]+)"*\]/);if(a?[r,o,i,s]=a:[r,o]=n.match(/\[([^=|'|"]+)\]/)||[],!o)return n;s&&(s=`${i}"${CSS.escape(s)}"`);const l=o.match(/[^:]+:(.*)/);return l?([r,o]=l,n=`[*|${o}${s}]:not([${o}${s}])`):n=`[${o}${s}]`,e+=n},"");t=t.replace(l,e)}return t}var u=["id","accesskey","aria-keyshortcuts","for","aria-owns","aria-controls","aria-flowto","list","aria-errormessage","type","autocomplete","inputmode","pattern","role","itemprop","itemtype","rel","name","title","aria-labelledby","aria-describedby","placeholder","aria-placeholder","aria-label","aria-roledescription","summary","aria-details","class","action","href","src","aria-valuemax","aria-valuemin","value"];function*d(e){const t=function(e){const{tagName:t,attributes:n={}}=e,r=[];t&&r.push({selector:t,score:0});return Object.entries(n).forEach(function(e){return([t,n=""])=>{const r=t.startsWith("data-")?100:u.indexOf(t);-1!==r&&("class"===t&&n.indexOf(" ")>-1?e.push(...n.match(/\S+/g).map(e=>({selector:`.${CSS.escape(e)}`,score:r}))):e.push({selector:c(`[${t}="${n}"]`),score:r}))}}(r)),r.sort((e,t)=>e.score-t.score).map(e=>e.selector)}(e);yield*function*(e,t=e.length){let n=1;for(;n<=t;n+=1)yield*f(e,n)}(t)}function*f(e,t,n={}){const{data:r=[],start:o=0,index:i=0}=n;i===t&&(yield r.slice(0,i).join(""));const s=e.length-1;for(let n=o;n<=s&&s-n+1>=t-i;n+=1)r[i]=e[n],yield*f(e,t,{data:r,start:n+1,index:i+1})}function h(e){if(e.length<2)return[];const t=JSON.parse(JSON.stringify(e));let n=t.pop();if("string"==typeof n)return t;let[r,...o]=n;return t.push([r,...h(o)]),t}var p={isTag:()=>!0,existsOne(e,t){return t.some(t=>e(t)||this.existsOne(e,this.getChildren(t)))},getAttributeValue:(e,t)=>e.attributes[t],getChildren:e=>e.children,getName:e=>e.tagName,getParent:e=>e.ancestors[e.ancestors.length-1]||null,getSiblings(e){const t=this.getParent(e);return t?t.children:[e]},prevElementSibling:e=>e.previousSibling||null,getText(){throw new Error("getText() is not implemented. :contains pseudo-selector is not supported.")},hasAttrib:(e,t)=>t in e.attributes,removeSubsets(e){const t=[...e],n=[];for(;t.length;){const e=t.pop();if(t.includes(e))continue;e.ancestors.some(e=>t.includes(e))||n.push(e)}return n.reverse()},findAll(e,t){const n=[];for(const r of t)e(r)&&n.push(r),n.push(...this.findAll(e,this.getChildren(r)));return n},findOne(e,t){let n=null;for(const r of t){if(e(r)){n=r;break}if(n=this.findOne(e,this.getChildren(r)),n)break}return n}},m={"nth-context":(e,t)=>e.ancestors.reduce((e,t)=>((t.isFrame||t.isShadow)&&e++,e),1)===Number(t)};function g(e,t=!1){const n=e.length,r=e.reduce((e,t)=>{const n=e?`${e} `:"";return Array.isArray(t)?`${n}${t[0]} ${t[1]}`:`${n}${t}`},"");return t?r:`${r}:nth-context(${n})`}const y=Symbol("i am groot");class b extends Map{constructor(e){super(),this.config={},this[y]={},this[y].count=0,this[y].nextId=()=>{for(;this.vnodeIds[this[y].count];)this[y].count+=1;return this[y].count},this[y].listeners={create:new Set,destroy:new Set,update:new Set,walk:new Set,discard:new Set},this[y].json=[],this[y].dirty=!0,this.ready=!1,this.context=!1,this.rules={},this.vnodeIds={},this.reset(e)}setSeed(e){this[y].count=e,this.config.seed=e}use(e={}){const t=["context","seed"],n=Object.assign(this.config,e);return Object.keys(e).forEach(r=>{let o=e[r];if("listeners"===r){const t=e.listeners;return void Object.keys(t).forEach(e=>{let n=t[e];Array.isArray(n)||(n=[n]),n.forEach(t=>{this[y].listeners[e].add(t)})})}if(t.includes(r))return this[r]=o;n[r]=o}),this.rules={allowAttrs:new RegExp(`^(${n.allowAttrs.join("|")})$`),rejectTags:n.rejectTags.map(c).join(", "),rejectKeys:new RegExp(`^(${n.rejectKeys.join("|")})$`),vnodeOnly:new RegExp(`^(${n.vnodeOnly.join("|")})$`)},this.context&&(this.ready=!0),this}clear(){return super.clear(),this[y].count=this.config.seed,this.vnodeIds={},this}reset(e={}){return this.context=window,this.config=Object.assign({},a,{id:(0,Zr().A)()}),this.rules={},this.ready=!1,this.use(e),this.clear(),this}getSerializableConfig(){const{acceptNode:e,listeners:t,treeBuilder:n,...r}=this.config;return r}get root(){return this.vnodeIds[this.config.seed]}get flat(){const e=[],t=n=>{e.push(n),n.children.forEach(t)};return this.root&&t(this.root),e}toJSON(){return this[y].dirty?(this[y].json=JSON.parse(this.safe(this.flat)),this[y].dirty=!1,this[y].json):this[y].json}safe(e){return JSON.stringify(e,(e,t)=>{if(!e.match(this.rules.rejectKeys))return e.match(this.rules.vnodeOnly)&&t?Array.isArray(t)?t.map(e=>e.vnodeId):t.vnodeId:t})}set(e,t){const n=t.element;return this.delete(n),super.set(e,t),this.vnodeIds[t.vnodeId]=t,this}delete(e){const t=super.get(e);return!!super.delete(e)&&(delete this.vnodeIds[t.vnodeId],!0)}getById(e){return this.vnodeIds[e]}getFrameContent(e){try{return e.contentDocument}catch{}}getRoot(e){if(e){if(e.window)return e.document.body;if(e.nodeType===Node.DOCUMENT_NODE)return e.body||e.documentElement;if(e.contentWindow){const t=this.getFrameContent(e);return t&&t.body}return e.nodeType===Node.ELEMENT_NODE?e:e.ownerDocument?e.getRootNode():void 0}}getContext(e=this.context){if(e)return e.window?e.document:e.nodeType===Node.DOCUMENT_NODE?e:e.contentWindow?this.getFrameContent(e):e.ownerDocument?e.ownerDocument:void 0}getTreeWalker(e){const{context:t,root:n}=e;let{acceptNode:r}=this.config;return"function"!=typeof r&&(r=()=>!0),t.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(!e.matches(this.rules.rejectTags)&&r(e))return NodeFilter.FILTER_ACCEPT}})}merge(e,t){t.children.push(e.root),t.properties.childElementCount+=1,e.forEach(e=>{e.ancestors.unshift(...t.ancestors,t),e.depth=t.depth+e.depth+1,this.updateSelector(e),e.groot=this,this.set(e.element,e),this[y].nextId()})}async walk(e,t={}){this[y].dirty=!0;const{parent:n}=t,r=this.getContext(e);if(!r)return;const o=this.getRoot(e||r),i=this.getTreeWalker({context:r,root:o}),s=this.refreshVnode(this.get(i.currentNode),t)||this.vnode({parent:n,element:o,vnodeId:this[y].nextId()}),a=s.isShadow&&s;for(this.set(o,s);i.nextNode();){const e=this.refreshVnode(this.get(i.currentNode),{parent:a})||this.vnode({element:i.currentNode,parent:a,vnodeId:this[y].nextId()});if(this.set(i.currentNode,e),e.isFrame){const t=this.getFrameContent(e.element);if(!t&&this.config.treeBuilder){try{const t=await this.config.treeBuilder.buildSubTree(e.element.contentWindow,{...this.getSerializableConfig(),seed:this[y].nextId()});this.merge(t,e)}catch(e){console.error(e)}continue}await this.walk(t,{parent:e});continue}if(e.isShadowHost){const t=i.currentNode.shadowRoot;t&&await this.walk(t,{parent:e})}}return this[y].listeners.walk.forEach(e=>e(s,this)),this}vnode(e){const{element:t,parent:n,vnodeId:r}=e,o=new i({frameMessenger:this.config.frameMessenger,groot:this,node:{vnodeId:r,element:t,depth:0,selector:[],children:[],ancestors:[],properties:{},attributes:{},attrs:[],slotAncestors:[],slotChildren:[]}});return this.updateTag(o),this.updateAttributes(o),this.updateFrame(o),this.updateShadow(o),this.updateSlot(o),this.updateProperties(o),this.updateParent(o,n),this.updateSelector(o),this[y].listeners.create.forEach(e=>e(o,this)),o}refreshVnode(e,t={}){const{parent:n}=t;if(!e)return;const r=new i({frameMessenger:this.config.frameMessenger,groot:this,node:e});return r.isShadowHost&&!r.element.shadowRoot||(this.cleanUp(r),this.updateTag(r),this.updateAttributes(r),this.updateFrame(r),this.updateShadow(r),this.updateSlot(r),this.updateProperties(r),this.updateParent(r,n),this.updateSelector(r),this[y].listeners.update.forEach(e=>e(r,this))),r}cleanUp(e){e.children.forEach(t=>{t.isShadow||e.isShadow||t.element.isConnected||(this.delete(t.element),this[y].listeners.destroy.forEach(t=>t(e,this)))}),e.depth=0,e.children.length=0,e.ancestors.length=0}updateParent(e,t){const{element:n}=e;let r=t;const o=n.parentElement;if((!r||r.isShadow&&o)&&(r=this.get(o)),r&&(e.previousSibling=r.children[r.children.length-1],e.depth=r.depth+1,e.ancestors.length=0,e.ancestors.push(...r.ancestors,r),r.children.push(e),r.properties.childElementCount+=1),e.isSlottedElement){const t=this.get(n.assignedSlot);e.slotAncestors=[...t.ancestors,t],t.slotChildren.push(e)}else r&&r.slotAncestors&&r.slotAncestors.length&&(e.slotAncestors=[...r.slotAncestors,r])}updateFrame(e){const{tagName:t}=e;t.match(/^(i){0,1}frame$/i)&&(e.isFrame=!0)}updateSlot(e){const{element:t}=e;t.assignedSlot&&(e.isSlottedElement=!0)}updateTag(e){const{element:t}=e;let n=t.tagName;t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(n="shadow-root"),e.tagName=CSS.escape(n.toLowerCase())}updateAttributes(e){const{element:t}=e;e.attrs.length&&e.attrs.forEach(t=>delete e.attributes[t]),e.attrs.length=0;const n=t.attributes||[];e.attributes={};const r=n.length;let o=0;for(;o<r;o+=1){const r=n[o],i=r.name;if(i.match(this.rules.allowAttrs)){if("class"===i)e.attributes[i]=this.getClassName(t);else e.attributes[i]=r.value;e.attrs.push(i)}}}updateShadow(e){const{tagName:t,element:n,attributes:r}=e;(n.shadowRoot||"use"===t&&r["xlink:href"])&&(e.isShadowHost=!0),"shadow-root"===t&&(e.isShadow=!0)}updateProperties(e){const{tagName:t,element:n,attributes:r}=e;Object.assign(e.properties,{id:r.id,tagName:t,childElementCount:0,className:r.class,classSelector:this.getClassSelector(n),tabIndex:this.getTabIndex(e)})}countMatchingPreviousSiblings(e){const{element:t,tagName:n,vnodeId:r}=e,o=e.ancestors[e.ancestors.length-1];let i=1;if(!o&&t){let e=t.previousElementSibling;const r=this.getContext(t);for(;e&&r.body.contains(e);)CSS.escape(e.tagName).toLowerCase()===n&&i++,e=e.previousElementSibling}else if(o){const e=o.children;let t=!1;i=e.reduce((e,o)=>(o.vnodeId===r?t=!0:o.tagName!==n||t||e++,e),1)}return i}updateSelector(e){const{properties:t,tagName:n}=e,{id:r,classSelector:o}=t,i=e.ancestors[e.ancestors.length-1],s=this.countMatchingPreviousSiblings(e),a=["body","shadow-root"].includes(n)?"":`:nth-of-type(${s})`,l=r?`${CSS.escape(e.tagName)}#${CSS.escape(r)}${o}${a}`:`${CSS.escape(e.tagName)}${o}${a}`,c=[];if(i){const t=JSON.parse(JSON.stringify(i.selector));if(e.isShadow)c.push(...t,[l]);else{if(!i.isShadow&&!i.isFrame){c.push(...t);let e=c[c.length-1];Array.isArray(e)?c[c.length-1][1]+=` > ${l}`:c[c.length-1]+=` > ${l}`}i.isShadow&&(c.push(...t),c[c.length-1][1]=l),i.isFrame&&c.push(...t,l)}}else c.push(l);e.selector=c}getClassName(e){const t=e.className;return t?"string"==typeof t?t:t.baseVal:""}getClassSelector(e){const t=/^-?\d/,n=/[^A-Za-z0-9_-]/g;return(e.classList&&Array.from(e.classList)||[]).reduce((e,r)=>"-"===r||r.match(t)||r.startsWith("--")?e+`[class*="${r}"]`:e+"."+r.replace(n,e=>`\\0000${e.codePointAt(0).toString(16)}`),"")}getTabIndex(e){const{element:t,attributes:n}=e,r=t.tabIndex;if(-1!==r||n.tabindex)return r}querySelector(e,t=this.context){const n=JSON.parse(JSON.stringify(e)),r=n.shift();let o;if(Array.isArray(r))r.length>1&&n.unshift(r[1]),o=t.shadowRoot;else{const e=t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t:this.getContext(t);o=e&&e.querySelector(r)}if(o)return n.length?this.querySelector(n,o):o}async fromFlatTree(e,t){return this[y].dirty=!0,await this.walk(t),e.forEach(e=>{if(!this.selectOne(e.selector)){this.findOneWithVNode(e)||this[y].listeners.discard.forEach(t=>t(e,this))}}),this}async from(e,t){this[y].dirty=!0;const n=[];e.forEach(e=>{const{selector:r,vnodeId:o,element:i}=e;let s=i;if(s&&s.isConnected||(s=this.querySelector(r,t)),s){const e=this.vnode({element:s,vnodeId:o});this.set(s,e)}else n.push(e)});const r=Math.ceil(this.config.findOneTimeLimit/n.length);return n.forEach(e=>{const t=this.findOne(e,{findOneTimeLimit:r});if(t&&!this.has(t)){const n=this.vnode({element:t,vnodeId:e.vnodeId});this.set(t,n)}else this[y].listeners.discard.forEach(t=>t(e,this))}),await this.walk(t),this}hydrateFlatTree(e){e.forEach(e=>{const t=new r;let n={...e,element:t,children:[],ancestors:[]};n=new i({frameMessenger:this.config.frameMessenger,groot:this,node:n}),this.set(t,n)}),e.forEach(e=>{const t=this.getById(e.vnodeId);t.children.push(...e.children.map(e=>this.getById(e))),t.ancestors.push(...e.ancestors.map(e=>this.getById(e))),t.previousSibling=this.getById(e.previousSibling)})}findOneWithVNode(e,t={}){const n=t.findOneTimeLimit||this.config.findOneTimeLimit,r=Date.now(),o=e.selector?e.selector.slice(-1):[],i=d(e);let s=i.next().value;for(;s;){const e=this.selectAll([...o,s]);if(1===e.length)return e[0];if(Date.now()-r>n)return;s=i.next().value}}findOne(e,t={}){const n=t.findOneTimeLimit||this.config.findOneTimeLimit,r=Date.now();let o=t.context||this.getContext();if(e.selector&&e.selector.length>1&&(o=this.querySelector(h(e.selector)),o&&o.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&Boolean(o.tagName.match(/^(i){0,1}frame$/i))&&(o=o.contentDocument),!o))return;const i=d(e);let s=i.next().value;for(;s;){const e=o.querySelectorAll(s);if(1===e.length)return e[0];if(Date.now()-r>n)return;s=i.next().value}}selectAll(e,t={}){const n=g(e,t.isRelativeSelector);return Cr().Ub(n,this.flat,{adapter:p,pseudos:m})}selectOne(e){const t=g(e);return Cr().JR(t,this.flat,{adapter:p,pseudos:m})}getId(){return this.config.id}}class v{trees=new Map;constructor(e){this.frameMessenger=e.frameMessenger,this.init()}init(){this.frameMessenger.listen("groot:tree-builder:build-tree",async({message:e})=>{const{grootConfig:t}=e;return{tree:(await this.buildTree(t)).toJSON()}})}async buildSubTree(e,t){const{tree:n}=await this.frameMessenger.send(e,"groot:tree-builder:build-tree",{grootConfig:t}),r=new b(t);return r.hydrateFlatTree(n),r}async buildTree(e){let t=e.id?this.trees.get(e.id):null;return t?t.reset(e):(t=new b({...e,frameMessenger:this.frameMessenger,treeBuilder:this}),await t.walk(document.body),this.trees.set(t.getId(),t)),t}}}),tr=n.cw((e,t)=>{t._O=t.yS=void 0;var n=nr(),r=i(rr()),o=i(jn());function i(e){return e&&e.__esModule?e:{default:e}}const{background:s,devtools:a,content:l}=r.default,c=Object.values(r.default),u=(0,o.default)("bridge"),d=(0,o.default)("bridge:message"),f=(0,o.default)("bridge:response");t.yS=new class{constructor(){if(!c.includes(n.browser.context||""))throw new Error(`Unable to initialize web-extension bridge. Unsupported context: ${n.browser.context}`);this.messageListeners=new Map,this.attachListener()}get context(){return n.browser.context}attachListener=()=>{const{browserListener:e}=this;n.browser.hasListener(e)||(u("web-extension bridge initialized with context %s",n.browser.context),n.browser.addListener(e))};browserListener=(e,t)=>{const{origin:r,context:o,topic:i,message:c,options:u={}}=e,{tab:d,frameId:f}=t,h=d&&-1!==d.id?d.id:null==u?void 0:u.tabId;if(!r)return;if(n.browser.context===s&&o===l){const{frameId:e,allFrames:t}=u;return this.send(o,i,c,{tabId:(null==u?void 0:u.tabId)||h,frameId:e,allFrames:t})}const p=n.browser.context!==a||n.browser.tabId===h;if(o!==n.browser.context||!p)return;const m=this.getListeners(i),g=e=>{console.error(e)};try{for(const e of m){const t=e({context:o,topic:i,message:c,origin:r,tabId:h,frameId:f});if(!e.isGlobal&&void 0!==t)return Promise.resolve(t).catch(g)}}catch(e){g(e)}};async send(e,t,o,{tabId:i,frameId:s=0,allFrames:u=!1}={}){if(!n.browser.context)return;if(!e||!c.includes(e))throw new Error(`Cannot send web-extension bridge message without a valid destination context: ['${c.join("', '")}'].`);let h;i||n.browser.context!==a||(i=n.browser.tabId),h=n.browser.context===a?`${n.browser.context}:${i}`:n.browser.context;let p=e;[n.browser.context,e].includes(l)&&i&&(p+=`:${i}`),d(`[${t}] ${h} → ${p}: %O`,void 0!==o?o:"");const m={origin:h,context:e,topic:t,message:o,options:e===l?{tabId:i,frameId:s,allFrames:u}:{tabId:i}},g=e===r.default.content?{tabId:i,frameId:s,allFrames:u}:void 0;let y=null;try{y=await n.browser.sendMessage(m,g)}catch(e){let t;if(e instanceof Error&&(t=e.message),"Could not establish connection. Receiving end does not exist."!==t)throw e}return null!==y&&f(`[${t}] ${p} → ${h}: %O`,y),y}getListeners(e){const{messageListeners:t}=this;return e&&"*"!==e?[...t.get(e)||[],...t.get("*")||[]]:t.get("*")||[]}listen(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=n.get(e)||[];"*"===e&&(t.isGlobal=!0),r.length?n.set(e,[...r,t]):n.set(e,[t])}unlisten(e,t){if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const{messageListeners:n}=this,r=(n.get(e)||[]).filter(e=>e!==t);r.length?n.set(e,r):n.delete(e)}},t._O=r.default}),nr=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0;var n,r=(n=rr())&&n.__esModule?n:{default:n};const o=e=>void 0!==globalThis.browser&&e in globalThis.browser;t.browser={hasApi:o,get tabId(){var e;return(null===(e=globalThis.browser)||void 0===e||null===(e=e.devtools)||void 0===e?void 0:e.inspectedWindow.tabId)??null},get context(){return o("devtools")?r.default.devtools:o("tabs")?r.default.background:o("extension")?r.default.content:null},addListener(e){globalThis.browser.runtime.onMessage.addListener(e)},hasListener:e=>globalThis.browser.runtime.onMessage.hasListener(e),removeListener(e){globalThis.browser.runtime.onMessage.removeListener(e)},async sendMessage(e,t={}){if(void 0===globalThis.browser)throw new Error("Cannot send bridge message in a non-browser context.");const{tabId:n,frameId:r,allFrames:o}=t;return n&&globalThis.browser.tabs&&"function"==typeof globalThis.browser.tabs.sendMessage?globalThis.browser.tabs.sendMessage(n,e,{frameId:o?void 0:r}):globalThis.browser.runtime.sendMessage(e)}}}),rr=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={background:"background",devtools:"devtools",content:"content-script"}}),or=n.cw(function(e,t){var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&o(t,e,n[s]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.listeners=t.screenshots=t.debugger=void 0,t.debugger=s(n(2331)),t.screenshots=s(sr()),t.listeners=s(ir())}),ir=()=>n(5326),sr=()=>n(8618),ar=n.cw((e,t)=>{const r=document.createElement("template");r.innerHTML=`\n <style>\n ${Eo()()}\n ${So()()}\n ${xo()()}\n </style>\n <style id="position"></style>\n <div id="axe-highlight" class="theme--high-contrast">\n <div id="margin">\n <div id="border">\n <div id="content"></div>\n </div>\n </div>\n </div>\n <div id="tooltip" style="display: none"></div>\n`;const o={block:"center",behavior:"smooth",inline:"nearest"},i="axe-highlighter";const s=new class{constructor(){this.target=new EventTarget}on(e,t){this.target.addEventListener(e,t)}remove(e,t){this.target.removeEventListener(e,t)}emit(e){this.target.dispatchEvent(new CustomEvent(e))}};(0,cr().A)(s.emit.bind(s),50);new Map;n.d(t,["mq",0,o,"wZ",0,i])}),lr=n.cw((e,t)=>{n.d(t,{Ay:()=>s,OA:()=>a,d$:()=>c,yW:()=>l}),Ze();let r=null,o=null;const i=[];function s(){return r||(r=async function(){await(0,Ze().A)("latest",{registerElementInternals:!1});const e=globalThis.browser.runtime.getURL("highlighter.js");o=await import(e);const t=i.splice(0,i.length);for(const e of t)try{e(o)}catch(e){console.error("highlighter: load listener failed",e)}return o}().catch(e=>{throw r=null,e})),r}function a(){return null!==r}function l(){return o}function c(e){o?e(o):i.push(e)}}),cr=n.cw((e,t)=>{function r(e,t){let n;return function(...r){n||(n=setTimeout(()=>{e(...r),n=null},t))}}n.d(t,{A:()=>r})}),ur=n.cw(function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e){return function(t,r){var o;return(o={})[t]=function(t){return n({type:e},t)},o[r]=function(t){return"object"==typeof t&&null!==t&&t.type===e},o}}Object.defineProperty(t,"__esModule",{value:!0}),t.ast=void 0,t.ast=n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n({},r("Selector")("selector","isSelector")),r("Rule")("rule","isRule")),r("TagName")("tagName","isTagName")),r("Id")("id","isId")),r("ClassName")("className","isClassName")),r("WildcardTag")("wildcardTag","isWildcardTag")),r("NamespaceName")("namespaceName","isNamespaceName")),r("WildcardNamespace")("wildcardNamespace","isWildcardNamespace")),r("NoNamespace")("noNamespace","isNoNamespace")),r("NestingSelector")("nestingSelector","isNestingSelector")),r("Attribute")("attribute","isAttribute")),r("PseudoClass")("pseudoClass","isPseudoClass")),r("PseudoElement")("pseudoElement","isPseudoElement")),r("String")("string","isString")),r("Formula")("formula","isFormula")),r("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector")),r("Substitution")("substitution","isSubstitution"))}),dr=n.cw((e,t)=>{t.ast=t.render=t.createParser=void 0;var n=hr();Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return n.createParser}});var r=mr();Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.render}});var o=ur();Object.defineProperty(t,"ast",{enumerable:!0,get:function(){return o.ast}});var i=yr()}),fr=n.cw((e,t)=>{function n(e,t){for(var n=t,r=0;r<e.length;r++){var o=r===e.length-1,i=e.charAt(r),s=n[i]||(n[i]={chars:{}});o&&(s.self=e),n=s.chars}}Object.defineProperty(t,"__esModule",{value:!0}),t.createRegularIndex=t.createMulticharIndex=t.emptyRegularIndex=t.emptyMulticharIndex=void 0,t.emptyMulticharIndex={},t.emptyRegularIndex={},t.createMulticharIndex=function(e){if(0===e.length)return t.emptyMulticharIndex;for(var r={},o=0,i=e;o<i.length;o++){n(i[o],r)}return r},t.createRegularIndex=function(e){if(0===e.length)return t.emptyRegularIndex;for(var n={},r=0,o=e;r<o.length;r++){n[o[r]]=!0}return n}}),hr=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=void 0;var n=fr(),r=pr(),o=gr(),i=br(),s="css-selector-parser parse error: ";t.createParser=function(e){void 0===e&&(e={});var t=e.syntax,a=void 0===t?"latest":t,l=e.substitutes,c=e.strict,u=void 0===c||c,d=e.modules,f="object"==typeof a?a:o.cssSyntaxDefinitions[a];if(f.baseSyntax&&(f=(0,o.extendSyntaxDefinition)(o.cssSyntaxDefinitions[f.baseSyntax],f)),f.modules&&f.modules.length>0)for(var h=0,p=f.modules;h<p.length;h++){var m=p[h];(b=o.cssModules[m])&&(f=(0,o.extendSyntaxDefinition)(b,f))}if(d&&d.length>0)for(var g=0,y=d;g<y.length;g++){var b,v=y[g];(b=o.cssModules[v])&&(f=(0,o.extendSyntaxDefinition)(b,f))}var w=f.tag?[!0,Boolean((0,o.getXmlOptions)(f.tag).wildcard)]:[!1,!1],S=w[0],x=w[1],E=Boolean(f.ids),O=Boolean(f.classNames),A=Boolean(f.nestingSelector),T=Boolean(f.namespace),C=f.namespace&&(!0===f.namespace||!0===f.namespace.wildcard);if(T&&!S)throw new Error("".concat(s,"Namespaces cannot be enabled while tags are disabled."));var I=Boolean(l),P=f.combinators?(0,n.createMulticharIndex)(f.combinators):n.emptyMulticharIndex,N=f.attributes?[!0,f.attributes.operators?(0,n.createMulticharIndex)(f.attributes.operators):n.emptyMulticharIndex,f.attributes.caseSensitivityModifiers?(0,n.createRegularIndex)(f.attributes.caseSensitivityModifiers):n.emptyRegularIndex,"accept"===f.attributes.unknownCaseSensitivityModifiers]:[!1,n.emptyMulticharIndex,n.emptyRegularIndex,!1],j=N[0],R=N[1],k=N[2],M=N[3],_=M||Object.keys(k).length>0,D=f.pseudoClasses?[!0,f.pseudoClasses.definitions?(0,r.calculatePseudoSignatures)(f.pseudoClasses.definitions):r.emptyPseudoSignatures,"accept"===f.pseudoClasses.unknown]:[!1,r.emptyPseudoSignatures,!1],L=D[0],F=D[1],V=D[2],B=f.pseudoElements?[!0,"singleColon"===f.pseudoElements.notation||"both"===f.pseudoElements.notation,!f.pseudoElements.notation||"doubleColon"===f.pseudoElements.notation||"both"===f.pseudoElements.notation,f.pseudoElements.definitions?(0,r.calculatePseudoSignatures)(Array.isArray(f.pseudoElements.definitions)?{NoArgument:f.pseudoElements.definitions}:f.pseudoElements.definitions):r.emptyPseudoSignatures,"accept"===f.pseudoElements.unknown]:[!1,!1,!1,r.emptyPseudoSignatures,!1],H=B[0],$=B[1],W=B[2],z=B[3],G=B[4],U="",q=U.length,Y=0,X="",J=function(e){return X===e},K=function(){return J("*")||(0,i.isIdentStart)(X)},Z=function(e){Y=e,X=U.charAt(Y)},Q=function(){Y++,X=U.charAt(Y)},ee=function(){var e=X;return Y++,X=U.charAt(Y),e};function te(e){var t=Math.min(q-1,Y),n=new Error("".concat(s).concat(e," Pos: ").concat(t,"."));throw n.position=t,n.name="ParserError",n}function ne(e,t){if(!e)return te(t)}var re=function(){ne(Y<q,"Unexpected end of input.")},oe=function(){return Y>=q},ie=function(e){ne(Y<q,'Expected "'.concat(e,'" but end of input reached.')),ne(X===e,'Expected "'.concat(e,'" but "').concat(X,'" found.')),Y++,X=U.charAt(Y)};function se(e){var t=ae(e,Y);if(t)return Y+=t.length,X=U.charAt(Y),t}function ae(e,t){var n=e[U.charAt(t)];if(n){var r=ae(n.chars,t+1);if(r)return r;if(n.self)return n.self}}function le(){for(var e=ee(),t=1;(0,i.isHex)(X)&&t<i.maxHexLength;)e+=ee(),t++;return function(){if(" "===X||"\t"===X||"\f"===X||"\n"===X)return void Q();"\r"===X&&Q();"\n"===X&&Q()}(),String.fromCharCode(parseInt(e,16))}function ce(e){var t="";for(ie(e);Y<q;){if(J(e))return Q(),t;J("\\")?(Q(),J(e)?(t+=e,Q()):"\n"===X||"\f"===X?Q():"\r"===X?(Q(),J("\n")&&Q()):(0,i.isHex)(X)?t+=le():(t+=X,Q())):(t+=X,Q())}return t}function ue(){if(!(0,i.isIdentStart)(X))return null;for(var e="";J("-");)e+=X,Q();for("-"!==e||(0,i.isIdent)(X)||J("\\")||te("Identifiers cannot consist of a single hyphen."),u&&e.length>=2&&te("Identifiers cannot start with two hyphens with strict mode on."),i.digitsChars[X]&&te("Identifiers cannot start with hyphens followed by digits.");Y<q;)if((0,i.isIdent)(X))e+=ee();else{if(!J("\\"))break;Q(),re(),(0,i.isHex)(X)?e+=le():e+=ee()}return e}function de(){for(var e="";Y<q&&!J(")");)if(J("\\")){if(Q(),oe()&&!u)return(e+"\\").trim();re(),(0,i.isHex)(X)?e+=le():e+=ee()}else e+=ee();return e.trim()}function fe(){for(;i.whitespaceChars[X];)Q()}function he(e){void 0===e&&(e=!1),fe();for(var t=[we(e)];J(",");)Q(),fe(),t.push(we(e));return{type:"Selector",rules:t}}function pe(){var e;if(ie("["),fe(),J("|")){ne(T,"Namespaces are not enabled."),Q();var t=ue();ne(t,"Expected attribute name."),e={type:"Attribute",name:t,namespace:{type:"NoNamespace"}}}else if(J("*")){ne(T,"Namespaces are not enabled."),ne(C,"Wildcard namespace is not enabled."),Q(),ie("|");var n=ue();ne(n,"Expected attribute name."),e={type:"Attribute",name:n,namespace:{type:"WildcardNamespace"}}}else{var r=ue();if(ne(r,"Expected attribute name."),e={type:"Attribute",name:r},J("|")){var o=Y;if(Q(),(0,i.isIdentStart)(X)){ne(T,"Namespaces are not enabled.");var s=ue();ne(s,"Expected attribute name."),e={type:"Attribute",name:s,namespace:{type:"NamespaceName",name:r}}}else Z(o)}}if(ne(e.name,"Expected attribute name."),fe(),oe()&&!u)return e;if(J("]"))Q();else{if(e.operator=se(R),ne(e.operator,"Expected a valid attribute selector operator."),fe(),re(),i.quoteChars[X])e.value={type:"String",value:ce(X)};else if(I&&J("$")){Q();var a=ue();ne(a,"Expected substitute name."),e.value={type:"Substitution",name:a}}else{var l=ue();ne(l,"Expected attribute value."),e.value={type:"String",value:l}}if(fe(),oe()&&!u)return e;if(!J("]")){var c=ue();if(ne(c,"Expected end of attribute selector."),e.caseSensitivityModifier=c,ne(_,"Attribute case sensitivity modifiers are not enabled."),ne(M||k[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),fe(),oe()&&!u)return e}ie("]")}return e}function me(){for(var e="";i.digitsChars[X];)e+=ee();return ne(""!==e,"Formula parse error."),parseInt(e)}var ge=function(){return J("-")||J("+")||i.digitsChars[X]};function ye(e,t,n){var r;if(J("(")){if(Q(),fe(),I&&J("$")){Q();var o=ue();ne(o,"Expected substitute name."),r={type:"Substitution",name:o}}else if("String"===n.type)ne((r={type:"String",value:de()}).value,"Expected ".concat(t," argument value."));else if("Selector"===n.type)r=he(!0);else{if("Formula"!==n.type)return te("Invalid ".concat(t," signature."));var s=function(){if(J("e")||J("o")){var e=ue();if("even"===e)return fe(),[2,0];if("odd"===e)return fe(),[2,1]}var t,n=null,r=1;if(J("-")&&(Q(),r=-1),ge()&&(J("+")&&Q(),n=me(),!J("\\")&&!J("n")))return[0,n*r];if(null===n&&(n=1),n*=r,J("\\")?(Q(),t=(0,i.isHex)(X)?le():ee()):t=ee(),ne("n"===t,'Formula parse error: expected "n".'),fe(),J("+")||J("-")){var o=J("+")?1:-1;return Q(),fe(),[n,o*me()]}return[n,0]}(),a=s[0],l=s[1];r={type:"Formula",a,b:l},n.ofSelector&&(fe(),(J("o")||J("\\"))&&(ne("of"===ue(),"Formula of selector parse error."),fe(),r={type:"FormulaOfSelector",a,b:l,selector:we()}))}if(fe(),oe()&&!u)return r;ie(")")}else ne(n.optional,"Argument is required for ".concat(t,' "').concat(e,'".'));return r}function be(){if(J("*"))return ne(x,"Wildcard tag name is not enabled."),Q(),{type:"WildcardTag"};if((0,i.isIdentStart)(X)){ne(S,"Tag names are not enabled.");var e=ue();return ne(e,"Expected tag name."),{type:"TagName",name:e}}return te("Expected tag name.")}function ve(){if(J("*")){var e=Y;return Q(),J("|")?(Q(),K()?(ne(T,"Namespaces are not enabled."),ne(C,"Wildcard namespace is not enabled."),(n=be()).namespace={type:"WildcardNamespace"},n):(Z(e),be())):(Z(e),be())}if(J("|"))return ne(T,"Namespaces are not enabled."),Q(),(n=be()).namespace={type:"NoNamespace"},n;if((0,i.isIdentStart)(X)){var t=ue();if(ne(t,"Expected tag name."),!J("|"))return ne(S,"Tag names are not enabled."),{type:"TagName",name:t};var n;e=Y;return Q(),K()?(ne(T,"Namespaces are not enabled."),(n=be()).namespace={type:"NamespaceName",name:t},n):(Z(e),{type:"TagName",name:t})}return te("Expected tag name.")}function we(e){var t,n;void 0===e&&(e=!1);var i={type:"Rule",items:[]};e&&((y=se(P))&&(i.combinator=y,fe()));for(;Y<q;)if(K())ne(0===i.items.length,"Unexpected tag/namespace start."),i.items.push(ve());else if(J("|")){var s=Y;if(Q(),!K()){Z(s);break}ne(0===i.items.length,"Unexpected tag/namespace start."),Z(s),i.items.push(ve())}else if(J(".")){ne(O,"Class names are not enabled."),Q();var a=ue();ne(a,"Expected class name."),i.items.push({type:"ClassName",name:a})}else if(J("#")){ne(E,"IDs are not enabled."),Q();var l=ue();ne(l,"Expected ID name."),i.items.push({type:"Id",name:l})}else if(J("&"))ne(A,"Nesting selector is not enabled."),Q(),i.items.push({type:"NestingSelector"});else if(J("["))ne(j,"Attributes are not enabled."),i.items.push(pe());else{if(!J(":"))break;var c=!1;Q(),J(":")&&(ne(H,"Pseudo elements are not enabled."),ne(W,"Pseudo elements double colon notation is not enabled."),c=!0,Q());var u=ue();if(ne(c||u,"Expected pseudo-class name."),ne(!c||u,"Expected pseudo-element name."),ne(u,"Expected pseudo-class name."),!c||G||Object.prototype.hasOwnProperty.call(z,u));else{var d=o.pseudoLocationIndex.pseudoElements[u],f='Unknown pseudo-element "'.concat(u,'"');d&&d.length>0&&(f+=". It is defined in: ".concat(d.join(", "))),te(f+".")}if(H&&(c||!c&&$&&Object.prototype.hasOwnProperty.call(z,u))){var h={type:"PseudoElement",name:u};(m=ye(u,"pseudo-element",p=null!==(t=z[u])&&void 0!==t?t:G&&r.defaultPseudoSignature))&&(ne("Formula"!==m.type&&"FormulaOfSelector"!==m.type,"Pseudo-elements cannot have formula argument."),h.argument=m),i.items.push(h)}else{var p;if(ne(L,"Pseudo-classes are not enabled."),p=null!==(n=F[u])&&void 0!==n?n:V&&r.defaultPseudoSignature);else{d=o.pseudoLocationIndex.pseudoClasses[u],f='Unknown pseudo-class: "'.concat(u,'"');d&&d.length>0&&(f+=". It is defined in: ".concat(d.join(", "))),te(f+".")}var m,g={type:"PseudoClass",name:u};(m=ye(u,"pseudo-class",p))&&(g.argument=m),i.items.push(g)}}if(0===i.items.length)return oe()?te("Expected rule but end of input reached."):te('Expected rule but "'.concat(X,'" found.'));if(fe(),!oe()&&!J(",")&&!J(")")){var y=se(P);fe(),i.nestedRule=we(),i.nestedRule.combinator=y}return i}return function(e){if("string"!=typeof e)throw new Error("".concat(s,"Expected string input."));return q=(U=e).length,Y=0,X=U.charAt(0),he()}}}),pr=n.cw((e,t)=>{function n(e){var t={type:"NoArgument",optional:!1};function n(e){if(t.type&&t.type!==e&&"NoArgument"!==t.type)throw new Error('Conflicting pseudo-class argument type: "'.concat(t.type,'" vs "').concat(e,'".'));t.type=e}for(var r=0,o=e;r<o.length;r++){var i=o[r];"NoArgument"===i&&(t.optional=!0),"Formula"===i&&n("Formula"),"FormulaOfSelector"===i&&(n("Formula"),t.ofSelector=!0),"String"===i&&n("String"),"Selector"===i&&n("Selector")}return t}function r(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o];if(i)for(var s=0,a=i;s<a.length;s++){var l=a[s];(t[l]||(t[l]=[])).push(o)}}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.calculatePseudoSignatures=t.inverseCategories=t.defaultPseudoSignature=t.emptyPseudoSignatures=void 0,t.emptyPseudoSignatures={},t.defaultPseudoSignature={type:"String",optional:!0},t.inverseCategories=r,t.calculatePseudoSignatures=function(e){for(var t=r(e),o={},i=0,s=Object.keys(t);i<s.length;i++){var a=s[i],l=t[a];l&&(o[a]=n(l))}return o}}),mr=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var n=br(),r="css-selector-parser render error: ";function o(e){if("WildcardNamespace"===e.type)return"*|";if("NamespaceName"===e.type)return"".concat((0,n.escapeIdentifier)(e.name),"|");if("NoNamespace"===e.type)return"|";throw new Error("".concat(r,"Unknown namespace type: ").concat(e.type,"."))}function i(e,t){if(e){var n="".concat(1===e?"":-1===e?"-":e,"n");return t&&(n+="".concat(t>0?"+":"").concat(t)),n}return String(t)}t.render=function e(t){if("Selector"===t.type)return t.rules.map(e).join(", ");if("Rule"===t.type){var s="",a=t.items,l=t.combinator,c=t.nestedRule;l&&(s+="".concat(l," "));for(var u=0,d=a;u<d.length;u++){s+=e(d[u])}return c&&(s+=" ".concat(e(c))),s}if("TagName"===t.type||"WildcardTag"===t.type){s="";return(h=t.namespace)&&(s+=o(h)),"TagName"===t.type?s+=(0,n.escapeIdentifier)(t.name):"WildcardTag"===t.type&&(s+="*"),s}if("Id"===t.type)return"#".concat((0,n.escapeIdentifier)(t.name));if("ClassName"===t.type)return".".concat((0,n.escapeIdentifier)(t.name));if("NestingSelector"===t.type)return"&";if("Attribute"===t.type){var f=t.name,h=t.namespace,p=t.operator,m=t.value,g=t.caseSensitivityModifier;s="[";if(h&&(s+=o(h)),s+=(0,n.escapeIdentifier)(f),p&&m){if(s+=p,"String"===m.type)s+=(0,n.escapeString)(m.value);else{if("Substitution"!==m.type)throw new Error("Unknown attribute value type: ".concat(m.type,"."));s+=(w=m,"$".concat((0,n.escapeIdentifier)(w.name)))}g&&(s+=" ".concat((0,n.escapeIdentifier)(g)))}return s+="]"}if("PseudoClass"===t.type){var y=t.name,b=t.argument;s=":".concat((0,n.escapeIdentifier)(y));return b&&(s+="(".concat("String"===b.type?(0,n.escapeIdentifier)(b.value):e(b),")")),s}if("PseudoElement"===t.type){var v=t.name;b=t.argument,s="::".concat((0,n.escapeIdentifier)(v));return b&&(s+="(".concat("String"===b.type?(0,n.escapeIdentifier)(b.value):e(b),")")),s}if("String"===t.type)throw new Error("".concat(r,"String cannot be rendered outside of context."));if("Formula"===t.type)return i(t.a,t.b);if("FormulaOfSelector"===t.type)return i(t.a,t.b)+" of "+e(t.selector);if("Substitution"===t.type)return"$".concat((0,n.escapeIdentifier)(t.name));var w;throw new Error("Unknown type specified to render method: ".concat(t.type,"."))}}),gr=n.cw(function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoLocationIndex=t.buildPseudoLocationIndex=t.cssSyntaxDefinitions=t.cssModules=t.extendSyntaxDefinition=t.getXmlOptions=void 0;var r,o,i={},s={wildcard:!0};function a(e,t){return function(n,r){return!0===r?e:t(!0===n?e:n,r)}}function l(e){return function(t,r){if(!r||!t)return r;if("object"!=typeof r||null===r)throw new Error("Unexpected syntax definition extension type: ".concat(r,"."));for(var o=n({},t),i=0,s=Object.entries(r);i<s.length;i++){var a=s[i],l=a[0],c=a[1];if("latest"!==l){var u=e[l];o[l]=u(t[l],c)}}return o}}function c(e,t){return void 0!==t?t:e}function u(e,t){return t?e?e.concat(t):t:e}function d(e,t){if(!t)return e;if(!e)return t;for(var r=n({},e),o=0,i=Object.entries(t);o<i.length;o++){var s=i[o],a=s[0],l=s[1];if(l){var c=e[a];r[a]=c?c.concat(l):l}else delete r[a]}return r}t.getXmlOptions=function(e){return e?"boolean"==typeof e?s:e:i},t.extendSyntaxDefinition=function(e){return function(t,n){var r=e(t,n);if(!r)throw new Error("Syntax definition cannot be null or undefined.");return r}}(l({baseSyntax:c,modules:u,tag:a(s,l({wildcard:c})),ids:c,classNames:c,nestingSelector:c,namespace:a(s,l({wildcard:c})),combinators:u,attributes:l({operators:u,caseSensitivityModifiers:u,unknownCaseSensitivityModifiers:c}),pseudoClasses:l({unknown:c,definitions:d}),pseudoElements:l({unknown:c,notation:c,definitions:(r=function(e){return Array.isArray(e)?{NoArgument:e}:e},o=d,function(e,t){return o(r(e),r(t))})})}));var f={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},h=(0,t.extendSyntaxDefinition)(f,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),p=(0,t.extendSyntaxDefinition)(h,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),m=(0,t.extendSyntaxDefinition)(p,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid","playing","paused","autofill","modal","fullscreen","picture-in-picture","defined","loading","popover-open"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has","state"]}},pseudoElements:{definitions:{NoArgument:["marker"]}}});t.cssModules={"css-position-1":{latest:!1,pseudoClasses:{definitions:{NoArgument:["static","relative","absolute"]}}},"css-position-2":{latest:!1,pseudoClasses:{definitions:{NoArgument:["static","relative","absolute","fixed"]}}},"css-position-3":{latest:!1,pseudoClasses:{definitions:{NoArgument:["sticky","fixed","absolute","relative","static"]}}},"css-position-4":{latest:!0,pseudoClasses:{definitions:{NoArgument:["sticky","fixed","absolute","relative","static","initial"]}}},"css-scoping-1":{latest:!0,pseudoClasses:{definitions:{NoArgument:["host","host-context"],Selector:["host","host-context"]}},pseudoElements:{definitions:{Selector:["slotted"]}}},"css-pseudo-4":{latest:!0,pseudoElements:{definitions:{NoArgument:["marker","selection","target-text","search-text","spelling-error","grammar-error","backdrop","file-selector-button","prefix","postfix","placeholder","details-content"],String:["highlight"]}}},"css-shadow-parts-1":{latest:!0,pseudoElements:{definitions:{String:["part"]}}},"css-nesting-1":{latest:!0,nestingSelector:!0}};var g=n(n({},m),{modules:Object.entries(t.cssModules).filter(function(e){return e[1].latest}).map(function(e){return e[0]})}),y=(0,t.extendSyntaxDefinition)(g,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}});function b(){for(var e={pseudoClasses:{},pseudoElements:{}},n=0,r=["css1","css2","css3","selectors-3","selectors-4"];n<r.length;n++){var o=r[n],i=t.cssSyntaxDefinitions[o];if(i.pseudoClasses&&"object"==typeof i.pseudoClasses)if(S=i.pseudoClasses.definitions)for(var s=0,a=Object.entries(S);s<a.length;s++)for(var l=0,c=a[s][1];l<c.length;l++){var u=c[l];e.pseudoClasses[u]||(e.pseudoClasses[u]=[]),e.pseudoClasses[u].includes(o)||e.pseudoClasses[u].push(o)}if(i.pseudoElements&&"object"==typeof i.pseudoElements)if(S=i.pseudoElements.definitions)if(Array.isArray(S))for(var d=0,f=S;d<f.length;d++){var h=f[d];e.pseudoElements[h]||(e.pseudoElements[h]=[]),e.pseudoElements[h].includes(o)||e.pseudoElements[h].push(o)}else for(var p=0,m=Object.values(S);p<m.length;p++)for(var g=0,y=m[p];g<y.length;g++){var b=y[g];e.pseudoElements[b]||(e.pseudoElements[b]=[]),e.pseudoElements[b].includes(o)||e.pseudoElements[b].push(o)}}for(var v=0,w=Object.entries(t.cssModules);v<w.length;v++){var S,x=w[v],E=x[0],O=x[1];if(O.pseudoClasses&&"object"==typeof O.pseudoClasses)if(S=O.pseudoClasses.definitions)for(var A=0,T=Object.values(S);A<T.length;A++)for(var C=0,I=T[A];C<I.length;C++){var P=I[C];e.pseudoClasses[P]||(e.pseudoClasses[P]=[]),e.pseudoClasses[P].includes(E)||e.pseudoClasses[P].push(E)}if(O.pseudoElements&&"object"==typeof O.pseudoElements)if(S=O.pseudoElements.definitions)if(Array.isArray(S))for(var N=0,j=S;N<j.length;N++){var R=j[N];e.pseudoElements[R]||(e.pseudoElements[R]=[]),e.pseudoElements[R].includes(E)||e.pseudoElements[R].push(E)}else for(var k=0,M=Object.values(S);k<M.length;k++)for(var _=0,D=M[k];_<D.length;_++){var L=D[_];e.pseudoElements[L]||(e.pseudoElements[L]=[]),e.pseudoElements[L].includes(E)||e.pseudoElements[L].push(E)}}return e}t.cssSyntaxDefinitions={css1:f,css2:h,css3:p,"selectors-3":p,"selectors-4":m,latest:g,progressive:y},t.buildPseudoLocationIndex=b,t.pseudoLocationIndex=b()}),yr=n.cw(function(e,t){var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function r(e,t,o,i,s){var a={node:e,parent:o,parents:n([],t.parents,!0),key:i,index:s},l=!1;t.visitor.enter&&(!1===t.visitor.enter(e,a)&&(l=!0));l||(t.parents.push(e),function(e,t){switch(e.type){case"Selector":!function(e,t){e.rules.forEach(function(n,o){r(n,t,e,"rules",o)})}(e,t);break;case"Rule":!function(e,t){e.items.forEach(function(n,o){r(n,t,e,"items",o)}),e.nestedRule&&r(e.nestedRule,t,e,"nestedRule",void 0)}(e,t);break;case"TagName":case"WildcardTag":!function(e,t){e.namespace&&r(e.namespace,t,e,"namespace",void 0)}(e,t);break;case"Attribute":!function(e,t){e.namespace&&r(e.namespace,t,e,"namespace",void 0);e.value&&r(e.value,t,e,"value",void 0)}(e,t);break;case"PseudoClass":case"PseudoElement":!function(e,t){e.argument&&r(e.argument,t,e,"argument",void 0)}(e,t);break;case"FormulaOfSelector":!function(e,t){r(e.selector,t,e,"selector",void 0)}(e,t)}}(e,t),t.parents.pop()),t.visitor.exit&&t.visitor.exit(e,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.traverse=void 0,t.traverse=function(e,t){r(e,{visitor:"function"==typeof t?{enter:t}:t,parents:[]},void 0,void 0,void 0)}}),br=n.cw((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.escapeString=t.escapeIdentifier=t.maxHexLength=t.digitsChars=t.quoteChars=t.whitespaceChars=t.stringRenderEscapeChars=t.identEscapeChars=t.isHex=t.isIdent=t.isIdentStart=void 0,t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e||"\\"===e||e>=" "},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e||e>=" "},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.identEscapeChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.stringRenderEscapeChars={"\n":!0,"\r":!0,"\t":!0,"\f":!0,"\v":!0},t.whitespaceChars={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},t.quoteChars={'"':!0,"'":!0},t.digitsChars={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0},t.maxHexLength=6,t.escapeIdentifier=function(e){for(var n=e.length,r="",o=0;o<n;){var i=e.charAt(o);if(t.identEscapeChars[i]||"-"===i&&1===o&&"-"===e.charAt(0))r+="\\"+i;else if("-"===i||"_"===i||i>="A"&&i<="Z"||i>="a"&&i<="z"||i>="0"&&i<="9"&&0!==o&&(1!==o||"-"!==e.charAt(0)))r+=i;else{var s=i.charCodeAt(0);if(55296==(63488&s)){var a=e.charCodeAt(o++);if(55296!=(64512&s)||56320!=(64512&a))throw Error("UCS-2(decode): illegal sequence");s=((1023&s)<<10)+(1023&a)+65536}r+="\\"+s.toString(16)+" "}o++}return r.trim()},t.escapeString=function(e){for(var n=e.length,r="",o=0;o<n;){var i=e.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":t.stringRenderEscapeChars[i]&&(i="\\"+i.charCodeAt(0).toString(16)+(o===n-1?"":" ")),r+=i,o++}return'"'.concat(r,'"')}}),vr=n.cw((e,t)=>{function r(){return!0}function o(){return!1}n.d(t,{a:()=>o,z:()=>r})}),wr=n.cw((e,t)=>{const r=/[-[\]{}()*+?.,\\^$|#\s]/g,o=/\s/;function i(e){return e.replace(r,"\\$&")}const s=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function a(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&s.has(e.name)}const l={equals(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;return a(t,n)?(i=i.toLowerCase(),t=>{const n=r.getAttributeValue(t,o);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&e(t)}):t=>r.getAttributeValue(t,o)===i&&e(t)},hyphen(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;const{length:s}=i;return a(t,n)?(i=i.toLowerCase(),function(t){const n=r.getAttributeValue(t,o);return null!=n&&(n.length===s||"-"===n.charAt(s))&&n.substr(0,s).toLowerCase()===i&&e(t)}):function(t){const n=r.getAttributeValue(t,o);return null!=n&&(n.length===s||"-"===n.charAt(s))&&n.substr(0,s)===i&&e(t)}},element(e,t,n){const{adapter:r}=n,{name:s,value:l}=t;if(o.test(l))return vr().a;const c=new RegExp(`(?:^|\\s)${i(l)}(?:$|\\s)`,a(t,n)?"i":"");return function(t){const n=r.getAttributeValue(t,s);return null!=n&&n.length>=l.length&&c.test(n)&&e(t)}},exists:(e,{name:t},{adapter:n})=>r=>n.hasAttrib(r,t)&&e(r),start(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;const{length:s}=i;return 0===s?vr().a:a(t,n)?(i=i.toLowerCase(),t=>{const n=r.getAttributeValue(t,o);return null!=n&&n.length>=s&&n.substr(0,s).toLowerCase()===i&&e(t)}):t=>!!r.getAttributeValue(t,o)?.startsWith(i)&&e(t)},end(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;const s=-i.length;return 0===s?vr().a:a(t,n)?(i=i.toLowerCase(),t=>r.getAttributeValue(t,o)?.substr(s).toLowerCase()===i&&e(t)):t=>!!r.getAttributeValue(t,o)?.endsWith(i)&&e(t)},any(e,t,n){const{adapter:r}=n,{name:o,value:s}=t;if(""===s)return vr().a;if(a(t,n)){const t=new RegExp(i(s),"i");return function(n){const i=r.getAttributeValue(n,o);return null!=i&&i.length>=s.length&&t.test(i)&&e(n)}}return t=>!!r.getAttributeValue(t,o)?.includes(s)&&e(t)},not(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;return""===i?t=>!!r.getAttributeValue(t,o)&&e(t):a(t,n)?(i=i.toLowerCase(),t=>{const n=r.getAttributeValue(t,o);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&e(t)}):t=>r.getAttributeValue(t,o)!==i&&e(t)}};n.d(t,["A",0,l])}),Sr=n.cw((e,t)=>{n.d(t,{X:()=>s});const r={type:Mr().cV.Descendant},o={type:"_flexibleDescendant"},i={type:Mr().cV.Pseudo,name:"scope",data:null};function s(e,t,n){for(const t of e)(0,Tr().YR)(t);const{context:l=n,rootFunc:c=vr().z}=t,u=Array.isArray(l),d=l&&(Array.isArray(l)?l:[l]);if(!1!==t.relativeSelector)!function(e,{adapter:t},n){const o=!!n?.every(e=>e===Rr().Z||t.isTag(e)&&null!==(0,Ar().Dn)(e,t));for(const t of e){if(t.length>0&&(0,Tr().$1)(t[0])&&t[0].type!==Mr().cV.Descendant);else{if(!o||t.some(Tr().CX))continue;t.unshift(r)}t.unshift(i)}}(e,t,d);else if(e.some(e=>e.length>0&&(0,Tr().$1)(e[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let f=!1,h=vr().a;e:for(const n of e){if(n.length>=2){const[e,t]=n;e.type!==Mr().cV.Pseudo||"scope"!==e.name||(u&&t.type===Mr().cV.Descendant?n[1]=o:t.type!==Mr().cV.Adjacent&&t.type!==Mr().cV.Sibling||(f=!0))}let e=c,r=!1;for(const o of n){e=(0,xr().p)(e,o,t,d,s,r);if(0===(0,Tr().iQ)(o)&&(r=!0),e===vr().a)continue e}if(e===c)return c;h=h===vr().a?e:a(h,e)}return h.shouldTestNextSiblings=f,h}function a(e,t){return n=>e(n)||t(n)}}),xr=n.cw((e,t)=>{function r(e,t,n,r,o,i){const{adapter:s,equals:a,cacheResults:l}=n;switch(t.type){case Mr().cV.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Mr().cV.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Mr().cV.Attribute:if(null!=t.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),wr().A[t.action](e,t,n);case Mr().cV.Pseudo:return(0,Nr().F)(e,t,n,r,o);case Mr().cV.Tag:{if(null!=t.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:r}=t;return n.xmlMode&&!n.lowerCaseTags||(r=r.toLowerCase()),function(t){return s.getName(t)===r&&e(t)}}case Mr().cV.Descendant:{if(!i||!1===l||"undefined"==typeof WeakMap)return function(t){let n=t;for(;n=(0,Ar().Dn)(n,s);)if(e(n))return!0;return!1};const t=new WeakMap;return function(n){let r,o=n;for(;o=(0,Ar().Dn)(o,s);){const n=t.get(o);if(void 0!==n)return r&&(r.matches=n.matches),n.matches;if(r??={matches:!1},r.matches=e(o),t.set(o,r),r.matches)return!0}return!1}}case"_flexibleDescendant":return function(t){let n=t;do{if(e(n))return!0;n=(0,Ar().Dn)(n,s)}while(n);return!1};case Mr().cV.Parent:return function(t){return s.getChildren(t).some(t=>s.isTag(t)&&e(t))};case Mr().cV.Child:return function(t){const n=(0,Ar().Dn)(t,s);return null!==n&&e(n)};case Mr().cV.Sibling:return function(t){const n=s.getSiblings(t);for(const r of n){if(a(t,r))break;if(s.isTag(r)&&e(r))return!0}return!1};case Mr().cV.Adjacent:return s.prevElementSibling?function(t){const n=s.prevElementSibling(t);return null!=n&&e(n)}:function(t){const n=s.getSiblings(t);let r;for(const e of n){if(a(t,e))break;s.isTag(e)&&(r=e)}return!!r&&e(r)};case Mr().cV.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}n.d(t,{p:()=>r})}),Er=n.cw((e,t)=>{function r(e,{adapter:t,cacheResults:n},r){if(!1===n||"undefined"==typeof WeakMap)return t=>e(t)&&r(t);const o=new WeakMap;function i(e){const t=r(e);return o.set(e,t),t}return function(n){if(!e(n))return!1;if(o.has(n))return o.get(n)??!1;let r=n;do{const e=(0,Ar().Dn)(r,t);if(null===e)return i(n);r=e}while(!o.has(r));return!!o.get(r)&&i(n)}}n.d(t,{L:()=>r})}),Or=n.cw((e,t)=>{function r(e){const{context:t,rootFunc:n,...r}=e;return r}n.d(t,{S:()=>r})}),Ar=n.cw((e,t)=>{function r(e,t,n){const{adapter:r,xmlMode:o=!1}=n,i=[],s=[t],a=[0];for(;;){if(a[0]>=s[0].length){if(1===s.length)return i;s.shift(),a.shift();continue}const t=s[0][a[0]++];if(r.isTag(t)&&(e(t)&&i.push(t),o||"template"!==r.getName(t))){const e=r.getChildren(t);e.length>0&&(s.unshift(e),a.unshift(0))}}}function o(e,t,n){const{adapter:r,xmlMode:o=!1}=n,i=[t],s=[0];for(;;){if(s[0]>=i[0].length){if(1===i.length)return null;i.shift(),s.shift();continue}const t=i[0][s[0]++];if(r.isTag(t)){if(e(t))return t;if(o||"template"!==r.getName(t)){const e=r.getChildren(t);e.length>0&&(i.unshift(e),s.unshift(0))}}}}function i(e,t){const n=t.getSiblings(e);if(n.length<=1)return[];const r=n.indexOf(e);return-1===r||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function s(e,t){const n=t.getParent(e);return null!=n&&t.isTag(n)?n:null}n.d(t,{Dn:()=>s,JW:()=>r,sM:()=>o,xu:()=>i})}),Tr=n.cw((e,t)=>{function r(e){return"_flexibleDescendant"===e.type||(0,kr().$)(e)}function o(e){const t=e.map(i);for(let n=1;n<e.length;n++){const r=t[n];if(!(r<0))for(let o=n;o>0&&r<t[o-1];o--){const n=e[o];e[o]=e[o-1],e[o-1]=n,t[o]=t[o-1],t[o-1]=r}}}function i(e){switch(e.type){case Mr().cV.Universal:return 50;case Mr().cV.Tag:return 30;case Mr().cV.Attribute:return Math.floor(function(e){switch(e.action){case Mr().V4.Exists:return 10;case Mr().V4.Equals:return"id"===e.name?9:8;case Mr().V4.Not:return 7;case Mr().V4.Start:case Mr().V4.End:return 6;case Mr().V4.Any:return 5;case Mr().V4.Hyphen:return 4;case Mr().V4.Element:return 3}}(e)/(e.ignoreCase?2:1));case Mr().cV.Pseudo:return e.data?"has"===e.name||"contains"===e.name||"icontains"===e.name?0:Array.isArray(e.data)?Math.max(0,Math.min(...e.data.map(e=>Math.min(...e.map(i))))):2:3;default:return-1}}function s(e){return e.type===Mr().cV.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(e=>e.some(s)))}n.d(t,{$1:()=>r,CX:()=>s,YR:()=>o,iQ:()=>i})}),Cr=n.cw((e,t)=>{const r=(e,t)=>e===t,o={adapter:{...$r,isTag:Fr().dz},equals:r};function i(e){const t=e??o;return t.adapter??=o.adapter,t.equals??=t.adapter?.equals??r,t}function s(e,t,n){return(0,Sr().X)("string"==typeof e?(0,kr().q)(e):e,i(t),n)}function a(e){return function(t,n,r){const o=i(r);"function"!=typeof t&&(t=s(t,o,n));const a=function(e,t,n=!1){n&&(e=function(e,t){const n=Array.isArray(e)?[...e]:[e],r=n.length;for(let e=0;e<r;e++){const r=(0,Ar().xu)(n[e],t);n.push(...r)}return n}(e,t));return Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}(n,o.adapter,t.shouldTestNextSiblings);return e(t,a,o)}}const l=a((e,t,n)=>e!==vr().a&&t&&0!==t.length?(0,Ar().JW)(e,t,n):[]),c=a((e,t,n)=>e!==vr().a&&t&&0!==t.length?(0,Ar().sM)(e,t,n):null);n.d(t,["JR",0,c,"Ub",0,l])}),Ir=n.cw((e,t)=>{const r="input:is([type=text i],[type=search i],[type=url i],[type=tel i],[type=email i],[type=password i],[type=date i],[type=month i],[type=week i],[type=time i],[type=datetime-local i],[type=number i])",o={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":is(button, input, select, textarea, optgroup, option, fieldset):not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], :selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])","read-only":`[readonly]:is(textarea, ${r})`,"read-write":`:not([readonly]):is(textarea, ${r})`,selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};n.d(t,["z",0,o])}),Pr=n.cw((e,t)=>{function r(e,t){if("*"!==t[0]&&t[0]!==e[0])return!1;let n=1;for(let r=1;r<t.length;r++)if("*"!==t[r]){for(;n<e.length&&e[n]!==t[r];)if(e[n++].length<=1)return!1;if(n>=e.length)return!1;n++}return!0}const o=/^(.+?)\s+of\s+(.+)$/is;function i(e,t){return function(n,r,i,s,a){const{adapter:l,equals:c}=i,u=t?null:r.match(o),d=(0,Jr().A)(u?u[1].trim():r);if(d===vr().a)return vr().a;const f=u&&a?a((0,kr().q)(u[2].trim()),(0,Or().S)(i),s):void 0;if(f===vr().a)return vr().a;if(d===vr().z&&!f)return e=>null!==(0,Ar().Dn)(e,l)&&n(e);const h=f?(e,t)=>f(t):t?(e,t)=>l.getName(t)===l.getName(e):vr().z;return e?function(e){if(f&&!f(e))return!1;const t=l.getSiblings(e);let r=0;for(let n=t.length-1;n>=0;n--){const o=t[n];if(c(e,o))break;l.isTag(o)&&h(e,o)&&r++}return d(r)&&n(e)}:function(e){if(f&&!f(e))return!1;const t=l.getSiblings(e);let r=0;for(const n of t){if(c(e,n))break;l.isTag(n)&&h(e,n)&&r++}return d(r)&&n(e)}}}const s={contains(e,t,n){const{getText:r}=n.adapter;return(0,Er().L)(e,n,e=>r(e).includes(t))},icontains(e,t,n){const r=t.toLowerCase(),{getText:o}=n.adapter;return(0,Er().L)(e,n,e=>o(e).toLowerCase().includes(r))},"nth-child":i(!1,!1),"nth-last-child":i(!0,!1),"nth-of-type":i(!1,!0),"nth-last-of-type":i(!0,!0),root:(e,t,{adapter:n})=>t=>null===(0,Ar().Dn)(t,n)&&e(t),scope(e,t,n,r){const{equals:o}=n;return r&&0!==r.length?1===r.length?t=>o(r[0],t)&&e(t):t=>r.includes(t)&&e(t):s.root(e,t,n)},lang(e,t,{adapter:n}){const o=t.split(",").map(e=>e.trim()).filter(e=>e.length>0).map(e=>e.replace(/^['"]|['"]$/g,"").toLowerCase().split("-"));return function(t){let i=t;for(;null!=i;){const s=n.getAttributeValue(i,"xml:lang")??n.getAttributeValue(i,"lang");if(null!=s){if(!s)return o.some(e=>""===e[0])&&e(t);const n=s.toLowerCase().split("-");return o.some(e=>r(n,e))&&e(t)}const a=n.getParent(i);i=null!=a&&n.isTag(a)?a:null}return o.some(e=>""===e[0])&&e(t)}},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")};function a(e){return function(t,n,{adapter:r}){const o=r[e];return"function"!=typeof o?vr().a:function(e){return o(e)&&t(e)}}}n.d(t,["u",0,s])}),Nr=n.cw((e,t)=>{function r(e,t,n,r,o){const{name:i,data:s}=t;if(Array.isArray(s)){if(!(i in Rr().k))throw new Error(`Unknown pseudo-class :${i}(${s})`);return Rr().k[i](e,s,n,r,o)}const a=n.pseudos?.[i],l="string"==typeof a?a:Ir().z[i];if("string"==typeof l){if(null!=s)throw new Error(`Pseudo ${i} doesn't have any arguments`);const t=(0,kr().q)(l);return Rr().k.is(e,t,n,r,o)}if("function"==typeof a)return(0,jr()._)(a,i,s,1),t=>a(t,s)&&e(t);if(i in Pr().u)return Pr().u[i](e,s,n,r,o);if(i in jr().K){const t=jr().K[i];return(0,jr()._)(t,i,s,2),r=>t(r,n,s)&&e(r)}throw new Error(`Unknown pseudo-class :${i}`)}n.d(t,{F:()=>r})}),jr=n.cw((e,t)=>{n.d(t,{_:()=>i});const r=/^[ \t\r\n]*$/,o={empty(e,{adapter:t}){const n=t.getChildren(e);return n.every(e=>!t.isTag(e))&&n.every(e=>r.test(t.getText(e)))},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return null==t.prevElementSibling(e);const r=t.getSiblings(e).find(e=>t.isTag(e));return null!=r&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){const r=t.getSiblings(e);for(let o=r.length-1;o>=0;o--){if(n(e,r[o]))return!0;if(t.isTag(r[o]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){const r=t.getSiblings(e),o=t.getName(e);for(const i of r){if(n(e,i))return!0;if(t.isTag(i)&&t.getName(i)===o)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){const r=t.getSiblings(e),o=t.getName(e);for(let i=r.length-1;i>=0;i--){const s=r[i];if(n(e,s))return!0;if(t.isTag(s)&&t.getName(s)===o)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){const r=t.getName(e);return t.getSiblings(e).every(o=>n(e,o)||!t.isTag(o)||t.getName(o)!==r)},"only-child":(e,{adapter:t,equals:n})=>t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))};function i(e,t,n,r){if(null===n){if(e.length>r)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}n.d(t,["K",0,o])}),Rr=n.cw((e,t)=>{const r={};const o=(e,t,n,r,o)=>{const i=o(t,(0,Or().S)(n),r);return i===vr().z?e:i===vr().a?vr().a:t=>i(t)&&e(t)},i={is:o,matches:o,where:o,not(e,t,n,r,o){const i=o(t,(0,Or().S)(n),r);return i===vr().a?e:i===vr().z?vr().a:t=>!i(t)&&e(t)},has(e,t,n,o,i){const{adapter:s}=n,a=(0,Or().S)(n);a.relativeSelector=!0;const l=t.some(e=>e.some(Tr().$1))?[r]:void 0,c=t.some(e=>e.length>0&&((0,Tr().$1)(e[0])||e.some(Tr().CX)));const u=i(t,a,l);if(u===vr().a)return vr().a;if(l&&u!==vr().z)return c?t=>{if(!e(t))return!1;l[0]=t;const r=s.getChildren(t);return null!==(0,Ar().sM)(u,u.shouldTestNextSiblings?[...r,...(0,Ar().xu)(t,s)]:r,n)}:(0,Er().L)(e,n,e=>(l[0]=e,null!==(0,Ar().sM)(u,s.getChildren(e),n)));const d=e=>null!==(0,Ar().sM)(u,s.getChildren(e),n);return c?t=>e(t)&&d(t):(0,Er().L)(e,n,d)}};n.d(t,["Z",0,r,"k",0,i])}),kr=n.cw((e,t)=>{n.d(t,{$:()=>c,q:()=>m});const r=/^[^#\\]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\u00B0-\uFFFF-])+/,o=/\\([\da-f]{1,6}\s?|(\s)|.)/gi;var i;!function(e){e[e.LeftParenthesis=40]="LeftParenthesis",e[e.RightParenthesis=41]="RightParenthesis",e[e.LeftSquareBracket=91]="LeftSquareBracket",e[e.RightSquareBracket=93]="RightSquareBracket",e[e.Comma=44]="Comma",e[e.Period=46]="Period",e[e.Colon=58]="Colon",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Plus=43]="Plus",e[e.Tilde=126]="Tilde",e[e.QuestionMark=63]="QuestionMark",e[e.ExclamationMark=33]="ExclamationMark",e[e.Slash=47]="Slash",e[e.Equal=61]="Equal",e[e.Dollar=36]="Dollar",e[e.Pipe=124]="Pipe",e[e.Circumflex=94]="Circumflex",e[e.Asterisk=42]="Asterisk",e[e.GreaterThan=62]="GreaterThan",e[e.LessThan=60]="LessThan",e[e.Hash=35]="Hash",e[e.LowerI=105]="LowerI",e[e.LowerS=115]="LowerS",e[e.BackSlash=92]="BackSlash",e[e.Space=32]="Space",e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn"}(i||(i={}));const s=new Map([[i.Tilde,Mr().V4.Element],[i.Circumflex,Mr().V4.Start],[i.Dollar,Mr().V4.End],[i.Asterisk,Mr().V4.Any],[i.ExclamationMark,Mr().V4.Not],[i.Pipe,Mr().V4.Hyphen]]),a=new Set(["has","not","matches","is","where","host","host-context"]),l=new Set(["before","after","first-line","first-letter"]);function c(e){switch(e.type){case Mr().cV.Adjacent:case Mr().cV.Child:case Mr().cV.Descendant:case Mr().cV.Parent:case Mr().cV.Sibling:case Mr().cV.ColumnCombinator:return!0;case Mr().cV.Attribute:case Mr().cV.Pseudo:case Mr().cV.PseudoElement:case Mr().cV.Tag:case Mr().cV.Universal:return!1}}const u=new Set(["contains","icontains"]);function d(e,t,n){const r=Number.parseInt(t,16)-65536;return Number.isNaN(r)||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function f(e){return e.replace(o,d)}function h(e){return e===i.SingleQuote||e===i.DoubleQuote}function p(e){return e===i.Space||e===i.Tab||e===i.NewLine||e===i.FormFeed||e===i.CarriageReturn}function m(e){const t=[],n=g(t,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return t}function g(e,t,n){let o=[];function d(e){const o=t.slice(n+e).match(r);if(!o)throw new Error(`Expected name, found ${t.slice(n)}`);const[i]=o;return n+=e+i.length,f(i)}function m(e){for(n+=e;n<t.length&&p(t.charCodeAt(n));)n++}function y(){const e=n+=1;for(let r=1;n<t.length;n++)switch(t.charCodeAt(n)){case i.BackSlash:n+=1;break;case i.LeftParenthesis:r+=1;break;case i.RightParenthesis:if(r-=1,0===r)return f(t.slice(e,n++))}throw new Error("Parenthesis not matched")}function b(){if(o.length>0&&c(o[o.length-1]))throw new Error("Did not expect successive traversals.")}function v(e){o.length>0&&o[o.length-1].type===Mr().cV.Descendant?o[o.length-1].type=e:(b(),o.push({type:e}))}function w(e,t){o.push({type:Mr().cV.Attribute,name:e,action:t,value:d(1),namespace:null,ignoreCase:"quirks"})}function S(){if(o.length>0&&o[o.length-1].type===Mr().cV.Descendant&&o.pop(),0===o.length)throw new Error("Empty sub-selector");e.push(o)}if(m(0),t.length===n)return n;e:for(;n<t.length;){const e=t.charCodeAt(n);switch(e){case i.Space:case i.Tab:case i.NewLine:case i.FormFeed:case i.CarriageReturn:0!==o.length&&o[0].type===Mr().cV.Descendant||(b(),o.push({type:Mr().cV.Descendant})),m(1);break;case i.GreaterThan:v(Mr().cV.Child),m(1);break;case i.LessThan:v(Mr().cV.Parent),m(1);break;case i.Tilde:v(Mr().cV.Sibling),m(1);break;case i.Plus:v(Mr().cV.Adjacent),m(1);break;case i.Period:w("class",Mr().V4.Element);break;case i.Hash:w("id",Mr().V4.Equals);break;case i.LeftSquareBracket:{let e;m(1);let r=null;t.charCodeAt(n)===i.Pipe?e=d(1):t.startsWith("*|",n)?(r="*",e=d(2)):(e=d(0),t.charCodeAt(n)===i.Pipe&&t.charCodeAt(n+1)!==i.Equal&&(r=e,e=d(1))),m(0);let a=Mr().V4.Exists;const l=s.get(t.charCodeAt(n));if(l){if(a=l,t.charCodeAt(n+1)!==i.Equal)throw new Error("Expected `=`");m(2)}else t.charCodeAt(n)===i.Equal&&(a=Mr().V4.Equals,m(1));let c="",u=null;if("exists"!==a){if(h(t.charCodeAt(n))){const e=t.charCodeAt(n),r=n+=1;for(;n<t.length&&t.charCodeAt(n)!==e;)n+=t.charCodeAt(n)===i.BackSlash?2:1;if(t.charCodeAt(n)!==e)throw new Error("Attribute value didn't end");c=f(t.slice(r,n)),n+=1}else{const e=n;for(;n<t.length&&!p(t.charCodeAt(n))&&t.charCodeAt(n)!==i.RightSquareBracket;)n+=t.charCodeAt(n)===i.BackSlash?2:1;c=f(t.slice(e,n))}switch(m(0),32|t.charCodeAt(n)){case i.LowerI:u=!0,m(1);break;case i.LowerS:u=!1,m(1)}}if(t.charCodeAt(n)!==i.RightSquareBracket)throw new Error("Attribute selector didn't terminate");n+=1;const g={type:Mr().cV.Attribute,name:e,action:a,value:c,namespace:r,ignoreCase:u};o.push(g);break}case i.Colon:{if(t.charCodeAt(n+1)===i.Colon){o.push({type:Mr().cV.PseudoElement,name:d(2).toLowerCase(),data:t.charCodeAt(n)===i.LeftParenthesis?y():null});break}const e=d(1).toLowerCase();if(l.has(e)){o.push({type:Mr().cV.PseudoElement,name:e,data:null});break}let r=null;if(t.charCodeAt(n)===i.LeftParenthesis)if(a.has(e)){if(h(t.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(r=[],n=g(r,t,n+1),t.charCodeAt(n)!==i.RightParenthesis)throw new Error(`Missing closing parenthesis in :${e} (${t})`);n+=1}else{if(r=y(),u.has(e)){const e=r.charCodeAt(0);e===r.charCodeAt(r.length-1)&&h(e)&&(r=r.slice(1,-1))}r=f(r)}o.push({type:Mr().cV.Pseudo,name:e,data:r});break}case i.Comma:S(),o=[],m(1);break;default:{if(t.startsWith("/*",n)){const e=t.indexOf("*/",n+2);if(-1===e)throw new Error("Comment was not terminated");n=e+2,0===o.length&&m(0);break}let s,a=null;if(e===i.Asterisk)n+=1,s="*";else if(e===i.Pipe){if(s="",t.charCodeAt(n+1)===i.Pipe){v(Mr().cV.ColumnCombinator),m(2);break}}else{if(!r.test(t.slice(n)))break e;s=d(0)}t.charCodeAt(n)===i.Pipe&&t.charCodeAt(n+1)!==i.Pipe&&(a=s,t.charCodeAt(n+1)===i.Asterisk?(s="*",n+=2):s=d(1)),o.push("*"===s?{type:Mr().cV.Universal,namespace:a}:{type:Mr().cV.Tag,name:s,namespace:a})}}}return S(),n}}),Mr=n.cw((e,t)=>{var r;n.d(t,{V4:()=>o,cV:()=>r}),function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(r||(r={}));var o;!function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(o||(o={}))}),_r=n.cw((e,t)=>{const r=new Map("altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath 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 foreignObject glyphRef linearGradient radialGradient textPath".split(" ").map(e=>[e.toLowerCase(),e])),o=new Map("definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan".split(" ").map(e=>[e.toLowerCase(),e]));n.d(t,["H",0,r,"L",0,o])}),Dr=n.cw((e,t)=>{const r=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),o=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),i=new Set(["svg","math"]),s=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" "));const a=function(e,t={}){const n="length"in e?e:[e],r=t.xmlMode??!1;let o="";for(let e=0;e<n.length;e++)o+=c(n[e],t,r);return o};function l(e,t,n){let r="";for(let o=0;o<e.length;o++)r+=c(e[o],t,n);return r}function c(e,t,n){switch(e.type){case Lr().bL:return l(e.children,t,n);case Lr().WL:return`<${e.data}>`;case Lr().Mw:return`\x3c!--${e.data}--\x3e`;case Lr().KB:return`<![CDATA[${e.children[0].data}]]>`;case Lr().eF:case Lr().OF:case Lr().vw:return function(e,t,n){"foreign"===n&&(e.name=_r().H.get(e.name)??e.name,e.parent&&s.has(e.parent.name)&&(n=!1));!n&&i.has(e.name)&&(n="foreign");const{name:r,children:a}=e,c=!n&&o.has(r);let d=`<${r}${function(e,t,n){if(!e)return"";const r=!1===(t.encodeEntities??t.decodeEntities)?u:n||"utf8"!==t.encodeEntities?Yr().WY:Yr().Gj,o="foreign"===n,i=!!(t.emptyAttrs??n);let s="";for(const t in e){if(!Object.hasOwn(e,t))continue;const n=e[t],a=o?_r().L.get(t)??t:t;s+=i||null!=n&&""!==n?` ${a}="${r(null==n?"":String(n))}"`:` ${a}`}return s}(e.attribs,t,n)}`;0===a.length&&(n?!1!==t.selfClosingTags:t.selfClosingTags&&c)?d+=n?"/>":" />":(d+=">",a.length>0&&(d+=l(a,t,n)),c||(d+=`</${r}>`));return d}(e,t,n);case Lr().EY:{const o=e,i=o.data||"";return!1===(t.encodeEntities??t.decodeEntities)||!n&&o.parent&&r.has(o.parent.name)?i:n||"utf8"!==t.encodeEntities?(0,Yr().WY)(i):(0,Yr().X1)(i)}}}function u(e){return e.replaceAll('"',"&quot;")}n.d(t,["A",0,a])}),Lr=n.cw((e,t)=>{var r;function o(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style}n.d(t,{RJ:()=>r,dz:()=>o}),function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r||(r={}));const i=r.Root,s=r.Text,a=r.Directive,l=r.Comment,c=r.Script,u=r.Style,d=r.Tag,f=r.CDATA;r.Doctype;n.d(t,["EY",0,s,"KB",0,f,"Mw",0,l,"OF",0,u,"WL",0,a,"bL",0,i,"eF",0,c,"vw",0,d])}),Fr=n.cw((e,t)=>{n.d(t,{Cn:()=>s,Go:()=>a,KH:()=>i,dz:()=>r,yf:()=>o});function r(e){return(0,Lr().dz)(e)}function o(e){return e.type===Lr().RJ.CDATA}function i(e){return e.type===Lr().RJ.Text}function s(e){return e.type===Lr().RJ.Comment}function a(e){return Object.hasOwn(e,"children")}}),Vr=()=>n(8042),Br=n.cw((e,t)=>{function r(e){const t=a(u,e);return t?"feed"===t.name?function(e){const t=e.children,n={type:"atom",items:(0,Wr().yB)("entry",t).map(e=>{const{children:t}=e,n={media:s(t)};c(n,"id","id",t),c(n,"title","title",t);const r=a("link",t)?.attribs.href;r&&(n.link=r);const o=l("summary",t)||l("content",t);o&&(n.description=o);const i=l("updated",t);return i&&(n.pubDate=new Date(i)),n})};c(n,"id","id",t),c(n,"title","title",t);const r=a("link",t)?.attribs.href;r&&(n.link=r);c(n,"description","subtitle",t);const o=l("updated",t);o&&(n.updated=new Date(o));return c(n,"author","email",t,!0),n}(t):function(e){const t=a("channel",e.children)?.children??[],n={type:e.name.substr(0,3),id:"",items:(0,Wr().yB)("item",e.children).map(e=>{const{children:t}=e,n={media:s(t)};c(n,"id","guid",t),c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t);const r=l("pubDate",t)||l("dc:date",t);return r&&(n.pubDate=new Date(r)),n})};c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t);const r=l("lastBuildDate",t);r&&(n.updated=new Date(r));return c(n,"author","managingEditor",t,!0),n}(t):null}n.d(t,{f:()=>r});const o=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,Wr().yB)("media:content",e).map(e=>{const{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(const e of o)t[e]&&(n[e]=t[e]);for(const e of i)t[e]&&(n[e]=Number.parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}function a(e,t){return(0,Wr().yB)(e,t,!0,1)[0]}function l(e,t,n=!1){return(0,Ur().P_)((0,Wr().yB)(e,t,n,1)).trim()}function c(e,t,n,r,o=!1){const i=l(n,r,o);i&&(e[t]=i)}function u(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}}),Hr=n.cw((e,t)=>{function r(e){let t=e.length;for(;--t>=0;){const n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var o;function i(e,t){const n=[],r=[];if(e===t)return 0;let i=(0,Fr().Go)(e)?e:e.parent;for(;i;)n.unshift(i),i=i.parent;for(i=(0,Fr().Go)(t)?t:t.parent;i;)r.unshift(i),i=i.parent;const s=Math.min(n.length,r.length);let a=0;for(;a<s&&n[a]===r[a];)a++;if(0===a)return o.DISCONNECTED;const l=n[a-1],c=l.children,u=n[a],d=r[a];return c.indexOf(u)>c.indexOf(d)?l===t?o.FOLLOWING|o.CONTAINED_BY:o.FOLLOWING:l===e?o.PRECEDING|o.CONTAINS:o.PRECEDING}function s(e){return(e=e.filter((e,t,n)=>!n.includes(e,t+1))).sort((e,t)=>{const n=i(e,t);return n&o.PRECEDING?-1:n&o.FOLLOWING?1:0}),e}n.d(t,{GZ:()=>s,Iz:()=>r,Xg:()=>o,yz:()=>i}),function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(o||(o={}))}),$r={};n.r($r),n.d($r,{DocumentPosition:()=>Hr().Xg,append:()=>zr().BC,appendChild:()=>zr().NI,compareDocumentPosition:()=>Hr().yz,existsOne:()=>Gr().dd,filter:()=>Gr().pb,find:()=>Gr().I6,findAll:()=>Gr().JW,findOne:()=>Gr().sM,getAttributeValue:()=>qr().ul,getChildren:()=>qr().i0,getElementById:()=>Wr().h0,getElements:()=>Wr().IC,getElementsByClassName:()=>Wr().cw,getElementsByTagName:()=>Wr().yB,getElementsByTagType:()=>Wr().DJ,getFeed:()=>Br().f,getInnerHTML:()=>Ur().sV,getName:()=>qr().mG,getOuterHTML:()=>Ur().bk,getParent:()=>qr().PA,getSiblings:()=>qr().A7,getText:()=>Ur().q4,hasAttrib:()=>qr().L,innerText:()=>Ur().a4,nextElementSibling:()=>qr().Io,prepend:()=>zr().Hs,prependChild:()=>zr().Ti,prevElementSibling:()=>qr().kU,removeElement:()=>zr().Nz,removeSubsets:()=>Hr().Iz,replaceElement:()=>zr().fx,testElement:()=>Wr().X_,textContent:()=>Ur().P_,uniqueSort:()=>Hr().GZ});var Wr=n.cw((e,t)=>{n.d(t,{DJ:()=>f,IC:()=>l,X_:()=>a,cw:()=>d,h0:()=>c,yB:()=>u});const r={tag_name:e=>"function"==typeof e?t=>(0,Fr().dz)(t)&&e(t.name):"*"===e?Fr().dz:t=>(0,Fr().dz)(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>(0,Fr().KH)(t)&&e(t.data):t=>(0,Fr().KH)(t)&&t.data===e};function o(e,t){return"function"==typeof t?n=>(0,Fr().dz)(n)&&t(n.attribs[e]):n=>(0,Fr().dz)(n)&&n.attribs[e]===t}function i(e,t){return n=>e(n)||t(n)}function s(e){const t=Object.keys(e).map(t=>{const n=e[t];return Object.hasOwn(r,t)?r[t](n):o(t,n)});return 0===t.length?null:t.reduce(i)}function a(e,t){const n=s(e);return!n||n(t)}function l(e,t,n,r=Number.POSITIVE_INFINITY){const o=s(e);return o?(0,Gr().pb)(o,t,n,r):[]}function c(e,t,n=!0){return Array.isArray(t)||(t=[t]),(0,Gr().sM)(o("id",e),t,n)}function u(e,t,n=!0,o=Number.POSITIVE_INFINITY){return(0,Gr().pb)(r.tag_name(e),t,n,o)}function d(e,t,n=!0,r=Number.POSITIVE_INFINITY){return(0,Gr().pb)(o("class",e),t,n,r)}function f(e,t,n=!0,o=Number.POSITIVE_INFINITY){return(0,Gr().pb)(r.tag_type(e),t,n,o)}}),zr=n.cw((e,t)=>{function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,n=t.lastIndexOf(e);-1!==n&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function o(e,t){if(t.prev=e.prev,t.prev&&(t.prev.next=t),t.next=e.next,t.next&&(t.next.prev=t),t.parent=e.parent,t.parent){const{children:n}=t.parent,r=n.lastIndexOf(e);if(-1===r)return;n[r]=t,e.parent=null}}function i(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){const n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function s(e,t){r(t);const{parent:n}=e,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=n,o){if(o.prev=t,n){const e=n.children;e.splice(e.lastIndexOf(o),0,t)}}else n&&n.children.push(t)}function a(e,t){if(r(t),t.parent=e,t.prev=null,1===e.children.unshift(t))t.next=null;else{const n=e.children[1];n.prev=t,t.next=n}}function l(e,t){r(t);const{parent:n}=e;if(n){const r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}n.d(t,{BC:()=>s,Hs:()=>l,NI:()=>i,Nz:()=>r,Ti:()=>a,fx:()=>o})}),Gr=n.cw((e,t)=>{function r(e,t,n=!0,r=Number.POSITIVE_INFINITY){return o(e,Array.isArray(t)?t:[t],n,r)}function o(e,t,n,r){const o=[],i=[Array.isArray(t)?t:[t]],s=[0];for(;;){if(s[0]>=i[0].length){if(1===s.length)return o;i.shift(),s.shift();continue}const t=i[0][s[0]++];if(e(t)&&(o.push(t),--r<=0))return o;n&&(0,Fr().Go)(t)&&t.children.length>0&&(s.unshift(0),i.unshift(t.children))}}function i(e,t,n=!0){const r=Array.isArray(t)?t:[t];for(const t of r){if((0,Fr().dz)(t)&&e(t))return t;if(n&&(0,Fr().Go)(t)&&t.children.length>0){const n=i(e,t.children,!0);if(n)return n}}return null}function s(e,t){return(Array.isArray(t)?t:[t]).some(t=>(0,Fr().dz)(t)&&e(t)||(0,Fr().Go)(t)&&s(e,t.children))}function a(e,t){const n=[],r=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=r[0].length){if(1===r.length)return n;r.shift(),o.shift();continue}const t=r[0][o[0]++];(0,Fr().dz)(t)&&e(t)&&n.push(t),(0,Fr().Go)(t)&&t.children.length>0&&(o.unshift(0),r.unshift(t.children))}}n.d(t,{I6:()=>o,JW:()=>a,dd:()=>s,pb:()=>r,sM:()=>i})}),Ur=n.cw((e,t)=>{function r(e,t){return(0,Dr().A)(e,t)}function o(e,t){return(0,Fr().Go)(e)?e.children.map(e=>r(e,t)).join(""):""}function i(e){return Array.isArray(e)?e.map(i).join(""):(0,Fr().dz)(e)?"br"===e.name?"\n":i(e.children):(0,Fr().yf)(e)?i(e.children):(0,Fr().KH)(e)?e.data:""}function s(e){return Array.isArray(e)?e.map(s).join(""):(0,Fr().Go)(e)&&!(0,Fr().Cn)(e)?s(e.children):(0,Fr().KH)(e)?e.data:""}function a(e){return Array.isArray(e)?e.map(a).join(""):(0,Fr().Go)(e)&&(e.type===Lr().RJ.Tag||(0,Fr().yf)(e))?a(e.children):(0,Fr().KH)(e)?e.data:""}n.d(t,{P_:()=>s,a4:()=>a,bk:()=>r,q4:()=>i,sV:()=>o})}),qr=n.cw((e,t)=>{function r(e){return(0,Fr().Go)(e)?e.children:[]}function o(e){return e.parent||null}function i(e){const t=o(e);if(null!=t)return r(t);const n=[e];let{prev:i,next:s}=e;for(;null!=i;)n.unshift(i),({prev:i}=i);for(;null!=s;)n.push(s),({next:s}=s);return n}function s(e,t){const{attribs:n}=e;return n?.[t]}function a(e,t){const{attribs:n}=e;return null!=n&&Object.hasOwn(n,t)&&null!=n[t]}function l(e){return e.name}function c(e){let{next:t}=e;for(;null!==t&&!(0,Fr().dz)(t);)({next:t}=t);return t}function u(e){let{prev:t}=e;for(;null!==t&&!(0,Fr().dz)(t);)({prev:t}=t);return t}n.d(t,{A7:()=>i,Io:()=>c,L:()=>a,PA:()=>o,i0:()=>r,kU:()=>u,mG:()=>l,ul:()=>s})}),Yr=n.cw((e,t)=>{n.d(t,{WY:()=>s});const r=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),o="function"==typeof String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t),i=1342177476;function s(e){let t,n=0;const{length:s}=e;for(let a=0;a<s;a++){const s=e.charCodeAt(a);if(s<128&&(!(i>>>s&1)||s>=64||s<32))continue;if(void 0===t?t=e.substring(0,a):n!==a&&(t+=e.substring(n,a)),s<64){t+=r.get(s),n=a+1;continue}const l=o(e,a);t+=`&#x${l.toString(16)};`,l!==s&&a++,n=a+1}return void 0===t?e:(n<s&&(t+=e.substr(n)),t)}function a(e,t){return function(n){let r,o=0,i="";for(;r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}const l=a(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),c=a(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));n.d(t,["Gj",0,l,"X1",0,c])}),Xr=n.cw((e,t)=>{function r(e){const t=e[0],n=e[1]-1;if(n<0&&t<=0)return vr().a;if(-1===t)return e=>e<=n;if(0===t)return e=>e===n;if(1===t)return n<0?vr().z:e=>e>=n;const r=Math.abs(t),o=(n%r+r)%r;return t>1?e=>e>=n&&e%r===o:e=>e<=n&&e%r===o}n.d(t,{w:()=>r})}),Jr=n.cw((e,t)=>{function r(e){return(0,Xr().w)((0,Kr().q)(e))}n.d(t,{A:()=>r})}),Kr=n.cw((e,t)=>{n.d(t,{q:()=>s});const r=new Set([9,10,12,13,32]),o="0".charCodeAt(0),i="9".charCodeAt(0);function s(e){switch(e=e.trim().toLowerCase()){case"even":return[2,0];case"odd":return[2,1]}let t=0,n=0,s=l(),a=c();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=s*(a??1),u(),t<e.length?(s=l(),u(),a=c()):s=a=0),null===a||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,s*a];function l(){switch(e.charAt(t)){case"-":return t++,-1;case"+":t++}return 1}function c(){const n=t;let r=0;for(;t<e.length&&e.charCodeAt(t)>=o&&e.charCodeAt(t)<=i;)r=10*r+(e.charCodeAt(t)-o),t++;return t===n?null:r}function u(){for(;t<e.length&&r.has(e.charCodeAt(t));)t++}}}),Zr=()=>n(2887),Qr=n.cw(e=>{e.exports={version:"2.22.1"}}),eo=n.cw(e=>{const t=JSON.parse('{"El":{"lU":"^4.13.0"}}');e.exports=t});function to(){return to.c||(to.c=n.n(jn()))}function no(e,t){t instanceof URL||(t=new URL(t)),(0,Ht().J6)(t)&&window.postMessage(e,t.origin)}function ro(e="latest"){if("latest"===e||!e)return window.axe;const t=_t().e[e];return window.axeVersions[t]||window.axe}function oo(){return oo.c||(oo.c=n.n(zn()))}tr(),fn(),tr().yS.listen("init",({message:e})=>{0}),Gt(),zt(),Ze();function io(e){if(!Array.isArray(e))return e;const t=[];let n=!1,r=[];for(let o=e.length-1;o>=0;o--){const i=e[o];Array.isArray(i)?"shadow-root"===i[0]&&(n=!0,r.push(i[1])):!0===n?(r.push(i),n=!1,r.reverse(),t.push(r),r=[]):t.push(i)}return t.reverse()}function so(e){if(e&&e.children)for(const n of e.children){var t;if(n.isFrame&&null!==(t=n.children[0])&&void 0!==t&&t.isCrossOrigin||so(n))return!0}return!1}function ao(e){return!!e&&so(e)}function lo(e){return!!e&&e.flat.some(e=>e.isCrossOrigin)}let co,uo;n.dn(io);const fo=e=>{var t;co?e(co):null===(t=uo)||void 0===t||t.then(()=>{co&&e(co)})};function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(n),!0).forEach(function(t){mo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ho(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const go=({originalError:e,message:t,level:n="error",additionalContext:r={},isSerialized:o=!1})=>{if(o)return void fo(o=>o.logger[n](t,po(po({},e),r)));const i=(e=>e instanceof Error?e:new Error("Unknown error"+(e?`: ${e}`:"")))(e),s={error:i.message,stack:i.stack,original_error:e};fo(e=>e.logger[n](t,po(po({},s),r)))};new Set;const yo=async(e,t,n)=>{if(e)try{await tr().yS.send(tr()._O.background,t,n)}catch(e){go({originalError:e,message:`Failed sending ${t} message to MCP server`,level:"error"})}};function bo(){return bo.c||(bo.c=n.n(Rn()))}function vo(){return vo.c||(vo.c=n.n(Be()))}function wo(){return wo.c||(wo.c=n.n(Kn()))}function So(){return So.c||(So.c=n.n(n(909)))}function xo(){return xo.c||(xo.c=n.n(n(1118)))}function Eo(){return Eo.c||(Eo.c=n.n(n(8908)))}function Oo(){return Oo.c||(Oo.c=n.n(Qn()))}function Ao(){return Ao.c||(Ao.c=n.n(_n()))}at();const To=["include","axeVersion","mcpEnabled","liveBrowser","enableExperimentalRules","enableRecorder","enableAdvancedRules","aiDisabled","failConfidenceThreshold"],Co=["axeVersion"];function Io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Io(Object(n),!0).forEach(function(t){No(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Io(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function No(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const Ro="Unable to find the selected element on the page. The element may have been removed or modified. Please re-select the element and try again.";let ko,Mo;{const{default:e}=Pt();({default:Mo}=re()),ko=e()}const _o=()=>{var e,t,n;return{contentType:null===(e=document)||void 0===e?void 0:e.contentType,title:null===(t=document)||void 0===t?void 0:t.title,url:null===(n=document)||void 0===n?void 0:n.URL,scoped:!!ko&&ko.getScope()!==document}},Do=async()=>{try{no({message:"walkthrough:scanned"},await async function(){const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");return(e=>e&&"default"!==e?e:"http://localhost:1234")(e)}())}catch{}};tr().yS.listen("axe:add-version",({message:{axeVersion:e,enableRecorder:t}})=>{const n=(0,Ze().A)(e).then(n=>{if(n&&t&&Mo){const t=ro(e);t&&Mo.addRecorderToAxe(t,{bridge:tr().yS})}return n});if((0,Ht().$j)())return n}),tr().yS.listen("axe:run",async e=>{var t;let{message:{include:n,axeVersion:r,mcpEnabled:o=!1,liveBrowser:i=!1,enableExperimentalRules:s,enableRecorder:a,enableAdvancedRules:l=!1,aiDisabled:c,failConfidenceThreshold:u=.7}}=e,d=jo(e.message,To);const f=o||i,h=f?(0,zt()._o)(r):r,p=ro(h),m=[];f&&r&&h!==r&&m.push(`Incompatible axe-core version set in axe Configuration, ${r}, running analysis with closest version, ${h}`);const g=(e,t,n)=>e.reduce((e,r)=>(n&&r.tags.includes(n)||(e[r.ruleId]={enabled:t}),e),{}),y=s?g(p.getRules(["experimental"]),!0,"advanced"):{},b=g(p.getRules(["advanced"]),l,s?void 0:"experimental");if(!i){const{clearHighlights:e}=await(0,lr().Ay)();e()}const v=Po(Po({restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations","incomplete"],advanced:{aiDisabled:c,attachDebugger:!1,screenshot:!1,failConfidenceThreshold:u}},d),{},{rules:Po(Po(Po({},y),b),d.rules)}),w=Po({results:null,error:null,pageURL:null===(t=document)||void 0===t?void 0:t.URL,axeRunOptions:v},m.length>0&&{messages:m});try{var S,x,E;let e,t,r,o;Gt().Ay.cleanupTrees(),l&&a&&(0,Ht().$j)()&&(e=document.documentElement.scrollLeft,t=document.documentElement.scrollTop,window.scrollTo(e,0));const s=i||null===(S=ko)||void 0===S?void 0:S.getScopeVNode();if(d.includeCrossOrigin){if(r=n||(null==s?void 0:s.selector)||document,r!==document){const e=io(r);if(Array.isArray(e)&&e.length>1)r=e;else{const{element:e,usedSelector:t}=((e,t)=>{const n=io(e),r=(0,qt().A)(Array.isArray(n)?n:[n]);if(r)return{element:r,usedSelector:n};if(!t)return{element:null,usedSelector:null};const o=io(t);return{element:(0,qt().A)(Array.isArray(o)?o:[o]),usedSelector:o}})(r,null==s?void 0:s.fallbackSelector);if(!e)throw new Error(Ro);r=t}}}else{var O;let e=null;n&&(e=Array.isArray(n)?n:[n]);const t=e?(0,qt().A)(e):null;if(e&&!t)throw new Error(Ro);if(o=t||(i||null===(O=ko)||void 0===O?void 0:O.getScope()),!o&&null!=s&&s.fallbackSelector&&(o=(0,qt().A)(s.fallbackSelector)),!o&&null!=s&&s.selector)throw new Error(Ro);o=o||document,r=null===Gt().Ay||void 0===Gt().Ay?void 0:Gt().Ay.sanitizeContext(o)}const c=await p.run(i?{include:[r],exclude:[["axe-highlighter"]]}:[r],v);"number"==typeof e&&"number"==typeof t&&window.scrollTo(e,t),Gt().Ay.getFlattenedTree((null===(x=o)||void 0===x?void 0:x.documentElement)||(null===(E=o)||void 0===E||null===(E=E.ownerDocument)||void 0===E?void 0:E.documentElement)||document.documentElement),!l&&null!=c&&c.advancedRuleInput&&delete c.advancedRuleInput,i||Do(),w.results=c}catch(e){const t={message:e.message||"Unknown Error",stack:e.stack||""};w.error=t}if(o&&w.results){var A;const e=lo(await(null===(A=ko)||void 0===A?void 0:A.buildTreeForAnalytics()));await tr().yS.send(tr()._O.devtools,"mcp:analyze-analytics",{results:w.results,documentMetadata:_o(),experimental:s,hasCrossOriginIframes:e})}return await yo(o,"mcp:axe-results",w),w}),tr().yS.listen("axe:get-analytics",async({message:e})=>{var t;let n,r=!1,o=!1,i=null===(t=ko)||void 0===t?void 0:t.getScopeVNode();var s;!i&&null!=e&&e.include&&(n=await(null===(s=ko)||void 0===s?void 0:s.buildTreeForAnalytics()),i=function(e,t){if(!e||!t)return null;const n=e.querySelector(t);return e.get(n)||null}(n,e.include));if(i){var a;r=i.isCrossOrigin||!!i.isFrame&&(null===(a=i.children[0])||void 0===a?void 0:a.isCrossOrigin),o=ao(i)}else{var l;if(!n)n=await(null===(l=ko)||void 0===l?void 0:l.buildTreeForAnalytics());o=lo(n)}return{isCrossOrigin:r,hasCrossOriginIframes:o}}),tr().yS.listen("axe:configure",e=>{let{message:{axeVersion:t}}=e,n=jo(e.message,Co);const r=ro(t);return null==r?void 0:r.configure(n)}),tr().yS.listen("axe:reset-locale",({message:e})=>{const t=ro(e),n=null==t?void 0:t._audit,r=n?{brand:n.brand,application:n.application,lang:n.lang}:null;var o;(null!=t&&t.resetLocale?t.resetLocale():null!=n&&n._resetLocale&&n._resetLocale(),r)&&(null===(o=n._constructHelpUrls)||void 0===o||o.call(n,r))}),tr().yS.listen("axe:version",()=>ro().version),tr().yS.listen("axe:ping",({message:e})=>new Promise(t=>{setTimeout(()=>{t(!1),clearInterval(n)},500);const n=setInterval(()=>{ro(e)&&(t(!0),clearInterval(n),clearTimeout(t))},100)})),tr().yS.listen("get-document-metadata",_o),tr().yS.listen("extension:logout",async()=>{const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");no({message:"extension:logout"},e&&"default"!==e?e:"http://localhost:1234")});var Lo=n(3569),Fo=n.n(Lo);function Vo(e,t=!0){const n=e.ownerDocument.defaultView,r=(0,Ht().$j)(n),o=e,i=o.getBoundingClientRect(),s=!i.height||!i.width,a=n.getComputedStyle(o)||{};let l=n.frameElement,c=i,u=c.top+(r?n.pageYOffset:0),d=c.left+(r?n.pageXOffset:0),f=u,h=d;if(l)for(f=c.top,h=c.left,u=c.top,d=c.left;l&&t;){const{frameElement:e,pageYOffset:t,pageXOffset:n}=l.ownerDocument.defaultView,r=(0,Ht().$j)(l.ownerDocument.defaultView),o=window.getComputedStyle(l),i=Math.max(parseFloat(o.borderLeftWidth),0),s=Math.max(parseFloat(o.borderTopWidth),0);c=l.getBoundingClientRect(),f+=c.top+s+(r?t:0),h+=c.left+i+(r?n:0),l=e}const p=n.frameElement?{top:f-window.pageYOffset,left:h-window.pageXOffset,height:i.height,width:i.width}:i,m=function(e,t=window.visualViewport||{width:window.innerWidth,height:window.innerWidth}){return{top:e.top+e.height<0,bottom:e.top>t.height,left:e.left+e.width<0,right:e.left>t.width}}(p),g=function(e,t={height:document.documentElement.scrollHeight,width:document.documentElement.scrollWidth}){return{top:e.top+e.height+(window.scrollY||window.pageYOffset)<0,bottom:e.top>t.height,left:e.left+e.width+(window.scrollX||window.pageXOffset)<0,right:e.left>t.width}}(p),y=e=>+e?.replace("px","")||0,{height:b,width:v}=n.visualViewport||{width:n.innerWidth,height:n.innerHeight};return{hidden:s,offViewport:m.top||m.bottom||m.left||m.right,offscreen:g.top||g.bottom||g.left||g.right,offscreenTop:g.top,offscreenBottom:g.bottom,offscreenLeft:g.left,offscreenRight:g.right,fullscreen:f<=0&&h<=0&&i.width>=v&&i.height>=b,top:f,left:h,offsetTop:u,offsetLeft:d,width:i.width,height:i.height,margin:{top:y(a.marginTop),right:y(a.marginRight),bottom:y(a.marginBottom),left:y(a.marginLeft)},border:{top:y(a.borderTopWidth),right:y(a.borderRightWidth),bottom:y(a.borderBottomWidth),left:y(a.borderLeftWidth)},padding:{top:y(a.paddingTop),right:y(a.paddingRight),bottom:y(a.paddingBottom),left:y(a.paddingLeft)}}}function Bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ho(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tr().yS.listen("highlight",async({message:e={}})=>{const{createHighlighter:t,clearHighlights:n}=await(0,lr().Ay)();let r=null;if(e&&e.selector?r=e.selector:Array.isArray(e)&&(r=e),n(),r){const n=(0,qt().A)(r);let o=null;if(!n&&r.length>1){if(o=await(0,Ge().A)(r),!o)return!1}else if(!n)return!1;const i=t(n||o,r),{highlightTheme:s}=await browser.storage.local.get("highlightTheme");return i.highlight(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bo(Object(n),!0).forEach(function(t){Ho(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({theme:s||"high-contrast"},e.allowOverflow&&{allowOverflow:!0})),e.scrollIntoView&&(n?i.scrollIntoView():await tr().yS.send(tr()._O.content,"highlight:scrollIntoView",{selector:[r[r.length-1]]},{frameId:o.frameId})),!0}return!1});const $o=async()=>{if(!(0,lr().OA)())return;(await(0,lr().Ay)()).clearHighlights()};if(tr().yS.listen("highlight:hide",async()=>{if(!(0,lr().OA)())return;(await(0,lr().Ay)()).hideHighlights()}),tr().yS.listen("highlight:show",async()=>{if(!(0,lr().OA)())return;(await(0,lr().Ay)()).showHighlights()}),tr().yS.listen("highlight:clear",$o),tr().yS.listen("devtools:close",$o),tr().yS.listen("highlight:get-element-layout",({message:{selector:e}})=>{const t=(0,qt().A)(e);return t?Vo(t,!1):{top:0,left:0}}),!(0,Ht().$j)()){const e=Fo()(()=>tr().yS.send(tr()._O.content,"highlight:update"),100);window.addEventListener("scroll",e,!0),window.addEventListener("beforeunload",()=>{window.removeEventListener("scroll",e)}),tr().yS.listen("highlight:get-node-metadata",async({message:{selector:e}})=>{const t=(0,qt().A)(e);return t?{tagName:t.tagName,classList:Array.from(t.classList),attributes:{id:t.getAttribute("id")}}:{tagName:"unknown",classList:[],attributes:{}}}),tr().yS.listen("highlight:scrollIntoView",({message:{selector:e}})=>{const t=(0,qt().A)(e);null==t||t.scrollIntoView({block:"center",behavior:"smooth",inline:"nearest"})})}tr().yS.listen("highlight:update",async()=>{if(!(0,lr().OA)())return;const{highlighters:e,updateHighlighters:t}=await(0,lr().Ay)(),n=Array.from(e.keys()).filter(e=>e.frameId);e.size&&(await Promise.all(n.map(async t=>{const n=await(0,Ge().A)(t.selector);if(n){const r=e.get(t);r.target=n,e.set(n,r)}e.delete(t)})),t())}),(0,Ht().$j)()&&(0,lr().d$)(({emitter:e,highlighters:t,highlightHidden:n,isReportedHighlight:r})=>{e.on("highlighter:change",()=>{const e=globalThis.tree,o=Array.from(t).filter(([,e])=>r(e)).map(([t,r])=>{var o;return{vnodeId:null==e||null===(o=e.get(t))||void 0===o?void 0:o.vnodeId,selector:r.selector,theme:r.theme,hidden:r.axeHighlighter.classList.contains(n)}});tr().yS.send(tr()._O.devtools,"highlight:changed",o)})});function Wo(e){const t=e.reduce((e,t)=>e.done?(e.residual.push(t),e):(Array.isArray(t)&&"shadow-root"===t[0]?e.selector.push(t[1]):e.selector.length?(e.residual.push(t),e.done=!0):e.selector.push(t),e),{selector:[],residual:[],done:!1});return{node:t.selector.flat().reduce((e,t)=>{const n=(null==e?void 0:e.shadowRoot)||e;return null==n?void 0:n.querySelector(t)},document),context:t.selector,residual:t.residual}}function zo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Go(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zo(Object(n),!0).forEach(function(t){Uo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Uo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(async()=>{const{axeServerURL:e}=await browser.storage.local.get("axeServerURL"),t=e&&"default"!==e?e:"http://localhost:1234";window.addEventListener("message",e=>{"extension:healthcheck"===e.data.message&&no({message:"extension:healthcheck:response"},t)})})(),tr().yS.listen("node:exists",async({message:e})=>{const{selector:t}=e,n=(0,qt().A)(t);return null!=n}),tr().yS.listen("nodes:exist-in-axe-tree",async({message:e})=>{const{nodes:t}=e;return Object.fromEntries(t.map(({vnodeId:e,selector:t})=>{const n=(0,qt().A)(t);return[e,!!n&&(0,Gt().gi)(n)]}))}),tr().yS.listen("nodes:get-info",async({message:e})=>{const{nodes:t}=e;return Object.fromEntries(t.map(({vnodeId:e,selector:t})=>{const n=(0,qt().A)(t);return n?[e,{name:Gt().Ay.name(n),role:Gt().Ay.getRole(n)}]:[e,{name:"",role:null}]}))}),tr().yS.listen("node:color-contrast",async({message:e})=>{const{nodes:t}=e,n=new Map;for(const{selector:e,vnodeId:r}of t)n.set((0,qt().A)(e),r);const{clearHighlights:r}=await(0,lr().Ay)();r();const o=await Gt().Ay.runContrastAnalysis(Object.values(n)),i={};for(const{selector:e,data:t}of o){i[n.get((0,qt().A)(e))]=t}return i});const qo=e=>"contentWindow"in e,Yo={x:0,y:0,top:0,left:0,height:0,width:0},Xo=(e,t)=>{if(null!=t&&t.scrollIntoView){const n=new Map,r={key:"scroll-behavior",value:"auto"};let o=e.parentElement;for(;o;){const e=window.getComputedStyle(o);if(e.scrollBehavior&&e.scrollBehavior!==r.value){const e=o.style.getPropertyValue(r.key),t=o.style.getPropertyPriority(r.key);n.set(o,{style:e,priority:t}),o.style.setProperty(r.key,r.value,"important")}o=o.parentElement}e.scrollIntoView("object"==typeof t.scrollIntoView?t.scrollIntoView:{behavior:"auto",block:"center",inline:"center"});for(const[e,t]of n)e.style.setProperty(r.key,t.style,t.priority)}},Jo=e=>{const t=0===e.width?10:0,n=0===e.height?10:0;return 0===t&&0===n?e:{x:e.x-t,y:e.y-n,left:e.left-t,top:e.top-n,right:e.right+t,bottom:e.bottom+n,width:e.width+2*t,height:e.height+2*n}},Ko=(e,t,n)=>{const r=window.getComputedStyle(e),o=Math.max(parseFloat(r.borderLeftWidth),0),i=Math.max(parseFloat(r.borderTopWidth),0),s=Math.max(parseFloat(r.paddingLeft),0),a=Math.max(parseFloat(r.paddingTop),0),l=t.x+n.x+o+s,c=t.y+n.y+i+a,u=t.left+n.left+o+s,d=t.top+n.top+i+a;return{x:l,y:c,left:u,top:d,right:u+n.width,bottom:d+n.height,width:n.width,height:n.height}};tr().yS.listen("node:bounding-box",async({message:e})=>{const{selector:t,options:n}=e,{node:r,residual:o}=Wo(t),i=!1!==(null==n?void 0:n.padCollapsedRect),s=!0===(null==n?void 0:n.includePageScroll),a=e=>{const t=function(){const{visualViewport:e}=window;if("BackCompat"!==document.compatMode&&e&&1===e.scale&&0===e.offsetLeft&&0===e.offsetTop)return{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}}();return Go({rect:e,scroll:{x:window.scrollX,y:window.scrollY}},t&&{viewport:t})},l=e=>s?a(e):e;if(null==r)return s?a(null):Yo;if(qo(r)&&null!=o&&o.length){const e=await(0,fn().A)(r.contentWindow,"node:bounding-box",{selector:o,options:s?Go(Go({},n),{},{includePageScroll:!1}):n}),t=Ko(r,r.getBoundingClientRect(),e);return l(i?Jo(t):t)}Xo(r,n);const c=(0,at().k)(r,null==n?void 0:n.unionWithDescendants);return l(i?Jo(c):c)}),tr().yS.listen("node:get-text-selector",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=Wo(t);if(null==n)return t;if(qo(n)&&null!=r&&r.length)return[...t,...await(0,fn().A)(n.contentWindow,"node:get-text-selector",{selector:r})];if("SELECT"===(i=n).tagName&&"options"in i){const e=Gt().Ay.getElementStack(n);if(e[0]===n)return t;const r=n.options[n.selectedIndex].text||n.options[n.selectedIndex].value;for(const t of e){var o;if("innerText"in t&&(null===(o=t.innerText)||void 0===o?void 0:o.trim())===r)return[Gt().Ay.getSelector(t)]}}var i;return t}),tr().yS.listen("node:bounding-box-text",async({message:e})=>{const{selector:t,options:n}=e,{node:r,residual:o}=Wo(t);if(null==r)return Yo;if(Xo(r,n),qo(r)&&null!=o&&o.length){const e=r.getBoundingClientRect(),t=await(0,fn().A)(r.contentWindow,"node:bounding-box-text",{selector:o,options:n});return Ko(r,e,t)}const i=document.createRange();i.selectNodeContents(r);return i.getBoundingClientRect()}),tr().yS.listen("node:computed-text-color",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=Wo(t);return qo(n)&&null!=r&&r.length?await(0,fn().A)(n.contentWindow,"node:computed-text-color",{selector:r}):window.getComputedStyle(n).color});const Zo=new WeakMap,Qo=new WeakMap,ei={color:"transparent"},ti={webkitTransition:"none",transition:"none"};tr().yS.listen("node:set-transparent-text",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=Wo(t);if(null!=n)if(qo(n)&&null!=r&&r.length)await(0,fn().A)(n.contentWindow,"node:set-transparent-text",{selector:r});else{const e=async e=>{const t={},n={};for(const[r]of Object.entries(ti))t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r);for(const[t,n]of Object.entries(ti))e.style.setProperty(t,n,"important");await new Promise(r=>setTimeout(()=>{for(const[r,o]of Object.entries(ei))t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r),e.style.setProperty(r,o,"important");r()},1));const r=window.getComputedStyle(e),o=["background","backgroundImage"];if("text"===r.webkitBackgroundClip||"text"===r.backgroundClip)for(const r of o)t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r),e.style.setProperty(r,"none","important");Zo.set(e,t),Qo.set(e,n)};await e(n);for(const t of Array.from(n.children))await e(t)}}),tr().yS.listen("node:set-transparent-text-reset",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=Wo(t);if(null!=n)if(qo(n)&&null!=r&&r.length)await(0,fn().A)(n.contentWindow,"node:set-transparent-text-reset",{selector:r});else{const e=async e=>{const t=Zo.get(e)||{},n=Qo.get(e)||{};for(const r of Object.keys(t))r in ti||e.style.setProperty(r,t[r],n[r]);await new Promise(r=>setTimeout(()=>{for(const r of Object.keys(ti))r in t&&e.style.setProperty(r,t[r],n[r]);r()},1))};await e(n);for(const t of Array.from(n.children))await e(t)}}),tr().yS.listen("node:is-valid-auto-cc-target",async({message:{selector:e}})=>{const{node:t,residual:n}=Wo(e);if(null!=t){if(qo(t)&&null!=n&&n.length)return(0,fn().A)(t.contentWindow,"node:is-valid-auto-cc-target",{selector:n});{if(!t.children.length)return!0;const e=window.getComputedStyle(t).color;return!Array.from(t.children).find(t=>window.getComputedStyle(t).color!==e)}}}),tr().yS.listen("node:focus",async({message:e})=>{const{selector:t,timeout:n=5e3}=e,{node:r,residual:o}=Wo(t);null!=r&&(qo(r)&&null!=o&&o.length?await(0,fn().A)(r.contentWindow,"node:focus",{selector:o}):await Promise.race([Promise.all([r.focus(),...r.getAnimations({subtree:!0}).map(e=>e.finished.catch(()=>{}))]),new Promise(e=>setTimeout(e,n))]))}),tr().yS.listen("node:reset-focus",()=>{document.activeElement&&document.activeElement.blur()}),tr().yS.listen("selector:identify",async({message:e})=>{const{selector:t}=e,{node:n,context:r,residual:o}=Wo(t),i=n.contentWindow,s=[{selector:r,frameId:window.frameId,frameURL:window.location.href}];if(i&&null!=o&&o.length){const e=await(0,fn().A)(i,"selector:identify",{selector:o});s.push(...e)}return s}),tr().yS.listen("igt:inspect:tag-selector",({message:e})=>{const{selector:t,token:n}=e;let r;try{const e=(0,qt().A)(t);r=e instanceof Element?e:null}catch{r=null}return r?((0,Dt().sp)(document,r,n),{tagged:!0}):{tagged:!1}}),tr().yS.listen("control:viewport",()=>({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,scrollX:window.scrollX,scrollY:window.scrollY,dpr:window.devicePixelRatio,url:window.location.href})),tr().yS.listen("control:currentScroll",()=>document.documentElement.scrollTop),tr().yS.listen("control:scrollToTop",({message:e})=>{window.scrollTo((null==e?void 0:e.x)||0,(null==e?void 0:e.y)||0)});const ni=async({message:e})=>{let t={x:0,y:0,width:0,height:0};if(null==e||!e.selector)return t;const{node:n,residual:r}=Wo(e.selector);if(!n)return t;const o=n.getBoundingClientRect();if(t={x:o.x,y:o.y,width:o.width,height:o.height},null==r||!r.length)return t;const i=await(0,fn().A)(n.contentWindow,"control:boundingbox:content",{selector:r});if(!i)return t;const s=window.getComputedStyle(n);return t.x+=i.x+Math.max(parseFloat(s.borderLeftWidth),0),t.y+=i.y+Math.max(parseFloat(s.borderTopWidth),0),t.width=i.width,t.height=i.height,t};(0,Ht().$j)()?tr().yS.listen("control:boundingbox:top",ni):tr().yS.listen("control:boundingbox:content",ni);const ri=(0,Ht().$j)(),oi=e=>{var t,n;return(null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase())===ar().wZ||(null===(n=e.getRootNode())||void 0===n||null===(n=n.host)||void 0===n?void 0:n.tagName.toLowerCase())===ar().wZ},ii=e=>!!e.flatMap(e=>[...Array.from(e.addedNodes),...Array.from(e.removedNodes)]).find(e=>!oi(e)),si=e=>!!e.find(e=>!oi(e.target)),ai=async e=>{(e=>{if(e.find(e=>!["childList","attributes"].includes(e.type)))return!0;const t=e.filter(e=>"childList"===e.type),n=e.filter(e=>"attributes"===e.type);return ii(t)||si(n)})(e)&&await tr().yS.send(tr()._O.devtools,"page-observer:mutated",{isTop:ri})};let li=null;tr().yS.listen("page-observer:start",async()=>{li||(li=new MutationObserver(ai),li.observe(document.body,{attributes:!0,subtree:!0,childList:!0}))}),tr().yS.listen("page-observer:end",async()=>{var e;null===(e=li)||void 0===e||e.disconnect(),li=null}),document.addEventListener("beforeunload",()=>{li.disconnect(),li=null});const ci="customIntegrationConnectionLink";(0,fn().T)(),tr().yS.listen("custom-integration:fetch-state",async()=>{const{[ci]:e}=await browser.storage.local.get(ci);return browser.storage.local.remove(ci),e});const ui=async()=>{let e;const{axeServerURL:t}=await browser.storage.local.get(["axeServerURL"]);try{e=new URL(t&&"default"!==t?t:"http://localhost:1234")}catch{e=new URL("http://localhost:1234")}return e},di=async e=>{const t=await ui();try{no({message:e},t)}catch{}},fi=async e=>{const t=await ui(),n=URL.parse(e.origin);if(t.origin===(null==n?void 0:n.origin))switch(e.data.message){case"app:logout":tr().yS.send(tr()._O.background,"app:logout");break;case"app:plan:change":tr().yS.send(tr()._O.background,"app:plan:change");break;case"walkthrough:check:open":await tr().yS.send(tr()._O.devtools,"panel:is:open")&&di("walkthrough:opened");break;case"extension:custom-integration:launch":(()=>{const e=new URLSearchParams(location.search),t=e.get("testId"),n=e.get("url");(null==t?void 0:t.length)<=255&&(browser.storage.local.set({[ci]:{testId:t,url:n}}),tr().yS.send(tr()._O.devtools,"custom-integration:launch",{testId:t,url:n}))})()}};(0,Ht().$j)()&&(window.addEventListener("message",fi),tr().yS.listen("walkthrough:panel-open:status",()=>{di("walkthrough:opened")}),tr().yS.listen("walkthrough:test-saved:status",()=>{di("walkthrough:saved")}),tr().yS.listen("walkthrough:igt-completed:status",()=>{di("walkthrough:igt:completed")}))},8446(e,t,n){"use strict";var r=n(367),o=n(7274),i=n(4442),s=n(9454),a=n(6084),l=n(426);new r.A((0,a.A)("\n"),l.A,i.A,o.A,s.A)},544(e,t,n){"use strict";n.r(t);var r=n(4335),o=n.n(r),i=n(3248),s=n.n(i)()(o());s.push([e.id,":host{--base-font-size:12px;pointer-events:none!important;position:absolute!important;top:0!important;left:0!important;height:0!important;width:100%!important;opacity:1!important;visibility:visible!important}:host(.highlight--hide){display:none!important}:host(:popover-open){inset:0 auto auto 0!important;margin:0!important;padding:0!important;border:0!important;background:#0000!important;overflow:visible!important}#axe-highlight{position:absolute;pointer-events:none;z-index:2147483647;display:flex;flex:1}:host(.highlight--active) #axe-highlight{--active-ring-width:3px;--active-ring-gap:3px;outline:var(--active-ring-width) dashed var(--high-contrast-color-outline);outline-offset:var(--active-ring-gap)}:host(.highlight--active) #axe-highlight.highlight--fullpage{outline-offset:calc(-1 * (var(--active-ring-gap) + 2 * var(--active-ring-width)))}#border{border-color:var(--theme--border-color,#0000)}#border,#content,#margin{border-style:solid;display:flex;flex:1}#margin{border-color:var(--theme--margin-color,#0000)}#content{background-color:var(--theme--content-color,#0000);background-clip:content-box;border-color:var(--theme--padding-color,#0000);width:100%;height:100%;box-sizing:border-box}",""]);const a=s;n.d(t,["default",0,a])},398(e,t,n){"use strict";n.r(t);var r=n(4335),o=n.n(r),i=n(3248),s=n.n(i),a=n(363),l=n.n(a),c=new URL(n(6165),n.b),u=s()(o()),d=l()(c);u.push([e.id,`:host{--high-contrast-color-outline:#c11bde;--high-contrast-color-shadow:#e267ff}.theme--high-contrast{transform:translate(-6px,-6px);padding:3px;border:3px solid var(--high-contrast-color-outline);box-shadow:0 0 10px 4px var(--high-contrast-color-shadow);max-width:calc(100% - 6px)}.theme--high-contrast.highlight--overflow{max-width:none}.theme--high-contrast.highlight--fullpage{position:fixed!important;inset:0!important;transform:none;border:3px solid var(--high-contrast-color-outline)}.theme--high-contrast:not(.highlight--offscreen):not(.highlight--fullpage)+#tooltip.tooltip--bottom{transform:translateY(6px)}.theme--high-contrast:not(.highlight--offscreen):not(.highlight--fullpage)+#tooltip.tooltip--top{transform:translateY(-6px)}.theme--devtools{--theme--border-color:#ffff3273;--theme--margin-color:#ff960080;--theme--padding-color:#23b45059;--theme--content-color:#1e3cff66}.theme--devtools.highlight--fullpage{position:fixed!important;inset:0!important;transform:none}.theme--selection:before{position:absolute;content:"";display:block;inset:0;border:3px dashed var(--high-contrast-color-outline)}.theme--selection.highlight--page{position:fixed!important;inset:0!important;transform:none;border:3px dashed var(--high-contrast-color-outline)}.theme--selection.highlight--page:before{display:none}.theme--selected:before{position:absolute;content:"";display:block;inset:0;border:3px solid var(--high-contrast-color-outline)}.theme--selected.highlight--page{position:fixed!important;inset:0!important;transform:none;border:3px solid var(--high-contrast-color-outline)}.theme--selected.highlight--page:before{display:none}:host{--badge-color-outline:#3c7aae}.theme--badge:before{position:absolute;content:"";display:block;inset:0;border:3px solid var(--badge-color-outline)}.theme--badge:after{counter-reset:badge var(--axe-highlight-counter);content:var(--axe-highlight-badge-content,counter(badge));position:absolute;top:3px;left:3px;border:3px solid #fff;color:#fff;font-weight:500;background-color:var(--badge-color-outline);display:flex;height:1.5em;min-width:1.5em;align-items:center;justify-content:center;font-family:monospace;font-size:13px}.theme--ml:before{position:absolute;content:"";display:block;inset:0;border:3px solid var(--high-contrast-color-outline)}.theme--ml:after{content:"";position:absolute;top:-5px;left:-5px;background-image:url(${d});background-repeat:no-repeat;width:29px;height:29px}`,""]);const f=u;n.d(t,["default",0,f])},9744(e,t,n){"use strict";n.r(t);var r=n(4335),o=n.n(r),i=n(3248),s=n.n(i)()(o());s.push([e.id,':host{--tooltip-background-color:#f9f9f9;--tooltip-border-color:#333;--tooltip-shadow-color:#0003;--tooltip-tag-name-color:#2e40a0;--tooltip-tag-identifier-color:#c53406;--tooltip-text-color:#02101a;--tooltip-label-color:#666;--tooltip-text-accent-color:#4d4d4d}#tooltip{position:absolute;white-space:nowrap;margin:.5rem 0;font-family:monospace;font-size:var(--base-font-size);padding:.6rem;background:var(--tooltip-background-color);color:var(--tooltip-text-color);box-shadow:0 0 6px var(--tooltip-shadow-color);border:3px solid var(--tooltip-border-color);z-index:2147483647;max-width:20rem;border-radius:3px}#tooltip p{margin:0}#tooltip svg{height:13px;width:13px;margin-bottom:-2px}#tooltip:after,#tooltip:before{content:"";display:block;position:absolute;border-width:.5rem;border-style:solid;border-color:#0000;border-top:none;border-bottom:.5rem solid var(--tooltip-background-color)}#tooltip:after{z-index:2;top:0;transform:translateY(1px) translateY(-100%)}#tooltip:before{top:0;transform:translateY(-3px) translateY(-100%);border-bottom:.5rem solid var(--tooltip-border-color);z-index:1}#tooltip.tooltip--top:before{top:100%;transform:rotate(180deg) translateY(-3px)}#tooltip.tooltip--top:after{top:100%;transform:rotate(180deg) translateY(1px)}#tooltip.tooltip--right{margin-right:-1.3rem}#tooltip.tooltip--right:after,#tooltip.tooltip--right:before{right:.6rem}#tooltip.tooltip--left:after,#tooltip.tooltip--left:before{left:.6rem}#tooltip.tooltip--fullscreen{position:fixed!important;top:10px!important;left:10px!important;bottom:auto!important;transform:none;margin:0}#tooltip.tooltip--fullscreen:after,#tooltip.tooltip--fullscreen:before{display:none}#tag{display:grid;grid-template-columns:max-content auto 1fr min-content}#tag-name{color:var(--tooltip-tag-name-color)}#tag-identifier{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;color:var(--tooltip-tag-identifier-color)}#tag-visibility{font-style:italic;color:var(--tooltip-text-accent-color);margin-left:1em}#tag-offscreen{margin-left:1em}#tag-dimensions{font-family:monospace;color:var(--tooltip-text-accent-color);margin-left:1em;justify-self:right}#hidden-eye{position:relative}#hidden-eye:before{position:absolute;content:"";display:block;height:1px;width:16px;background-color:#02101a;top:7px;left:-1px;z-index:1;transform:rotate(-45deg);border:1px solid #fff}#accessible-text{color:var(--tooltip-text-accent-color);white-space:normal}#attributes{display:grid;grid-template-columns:1fr auto;grid-column-gap:1rem;grid-row-gap:.2rem;grid-auto-rows:minmax(1.6em,auto);align-items:center;border-top:1px solid #ccc;padding:.6rem 0 0;margin:.6rem 0 0;font-family:sans-serif}#attributes :is(dd,dl){margin:0}#attributes dt{color:var(--tooltip-label-color)}#attributes dd{justify-self:right;text-align:right;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical}.contrast-aa{color:#4d4d4d;line-height:1em;display:inline-block;padding:2px;border:1px solid #4d4d4d;font-size:9px;vertical-align:text-bottom;font-family:monospace}#tooltip.tooltip--offscreen.tooltip--top{margin-bottom:1.2rem}#tooltip.tooltip--offscreen.tooltip--right{margin-right:.6rem}#tooltip.tooltip--offscreen.tooltip--left{margin-left:.6rem}#tooltip.tooltip--offscreen.tooltip--right:before{top:.6rem;transform:rotate(90deg) translateY(-24px)}#tooltip.tooltip--offscreen.tooltip--right:after{top:.6rem;transform:rotate(90deg) translateY(-20px)}#tooltip.tooltip--offscreen.tooltip--left:before{top:.6rem;transform:rotate(-90deg) translateY(-24px)}#tooltip.tooltip--offscreen.tooltip--left:after{top:.6rem;transform:rotate(-90deg) translateY(-20px)}',""]);const a=s;n.d(t,["default",0,a])},3248(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},363(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},4335(e){"use strict";e.exports=function(e){return e[1]}},7151(e){"use strict";var t={}.hasOwnProperty,n=/[ -,\.\/;-@\[-\^`\{-~]/,r=/[ -,\.\/;-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,i=function e(i,s){"single"!=(s=function(e,n){if(!e)return n;var r={};for(var o in n)r[o]=t.call(e,o)?e[o]:n[o];return r}(s,e.options)).quotes&&"double"!=s.quotes&&(s.quotes="single");for(var a="double"==s.quotes?'"':"'",l=s.isIdentifier,c=i.charAt(0),u="",d=0,f=i.length;d<f;){var h=i.charAt(d++),p=h.charCodeAt(),m=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&d<f){var g=i.charCodeAt(d++);56320==(64512&g)?p=((1023&p)<<10)+(1023&g)+65536:d--}m="\\"+p.toString(16).toUpperCase()+" "}else m=s.escapeEverything?n.test(h)?"\\"+h:"\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B:]/.test(h)?l||":"!=h?"\\"+p.toString(16).toUpperCase()+" ":h:"\\"==h||!l&&('"'==h&&a==h||"'"==h&&a==h)||l&&r.test(h)?"\\"+h:h;u+=m}return l&&(/^_/.test(u)?u="\\_"+u.slice(1):/^-[-\d]/.test(u)?u="\\-"+u.slice(1):/\d/.test(c)&&(u="\\3"+c+" "+u.slice(1))),u=u.replace(o,function(e,t,n){return t&&t.length%2?e:(t||"")+n}),!l&&s.wrap?a+u+a:u};i.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},i.version="1.0.1",e.exports=i},1911(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",a="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",h="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",v="[object WeakMap]",w="[object ArrayBuffer]",S="[object DataView]",x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,E=/^\w*$/,O=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T=/\\(\\)?/g,C=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[i]=P[s]=P[w]=P[a]=P[S]=P[l]=P[c]=P[u]=P[d]=P[f]=P[h]=P[m]=P[g]=P[y]=P[v]=!1;var N="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,j="object"==typeof self&&self&&self.Object===Object&&self,R=N||j||Function("return this")(),k=t&&!t.nodeType&&t,M=k&&e&&!e.nodeType&&e,_=M&&M.exports===k&&N.process,D=function(){try{return _&&_.binding("util")}catch(e){}}(),L=D&&D.isTypedArray;function F(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function V(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function B(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function H(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var W,z,G,U=Array.prototype,q=Function.prototype,Y=Object.prototype,X=R["__core-js_shared__"],J=(W=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",K=q.toString,Z=Y.hasOwnProperty,Q=Y.toString,ee=RegExp("^"+K.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=R.Symbol,ne=R.Uint8Array,re=Y.propertyIsEnumerable,oe=U.splice,ie=(z=Object.keys,G=Object,function(e){return z(G(e))}),se=He(R,"DataView"),ae=He(R,"Map"),le=He(R,"Promise"),ce=He(R,"Set"),ue=He(R,"WeakMap"),de=He(Object,"create"),fe=Xe(se),he=Xe(ae),pe=Xe(le),me=Xe(ce),ge=Xe(ue),ye=te?te.prototype:void 0,be=ye?ye.valueOf:void 0,ve=ye?ye.toString:void 0;function we(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function xe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=e?e.length:0;for(this.__data__=new xe;++t<n;)this.add(e[t])}function Oe(e){this.__data__=new Se(e)}function Ae(e,t){var n=nt(e)||tt(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!Z.call(e,i)||o&&("length"==i||We(i,r))||n.push(i);return n}function Te(e,t){for(var n=e.length;n--;)if(et(e[n][0],t))return n;return-1}function Ce(e,t,n,r){return Ne(e,function(e,o,i){t(r,e,n(e),i)}),r}we.prototype.clear=function(){this.__data__=de?de(null):{}},we.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},we.prototype.get=function(e){var t=this.__data__;if(de){var n=t[e];return n===r?void 0:n}return Z.call(t,e)?t[e]:void 0},we.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:Z.call(t,e)},we.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?r:t,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var t=this.__data__,n=Te(t,e);return!(n<0)&&(n==t.length-1?t.pop():oe.call(t,n,1),!0)},Se.prototype.get=function(e){var t=this.__data__,n=Te(t,e);return n<0?void 0:t[n][1]},Se.prototype.has=function(e){return Te(this.__data__,e)>-1},Se.prototype.set=function(e,t){var n=this.__data__,r=Te(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},xe.prototype.clear=function(){this.__data__={hash:new we,map:new(ae||Se),string:new we}},xe.prototype.delete=function(e){return Be(this,e).delete(e)},xe.prototype.get=function(e){return Be(this,e).get(e)},xe.prototype.has=function(e){return Be(this,e).has(e)},xe.prototype.set=function(e,t){return Be(this,e).set(e,t),this},Ee.prototype.add=Ee.prototype.push=function(e){return this.__data__.set(e,r),this},Ee.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.clear=function(){this.__data__=new Se},Oe.prototype.delete=function(e){return this.__data__.delete(e)},Oe.prototype.get=function(e){return this.__data__.get(e)},Oe.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Se){var r=n.__data__;if(!ae||r.length<199)return r.push([e,t]),this;n=this.__data__=new xe(r)}return n.set(e,t),this};var Ie,Pe,Ne=(Ie=function(e,t){return e&&je(e,t,ut)},function(e,t){if(null==e)return e;if(!rt(e))return Ie(e,t);for(var n=e.length,r=Pe?n:-1,o=Object(e);(Pe?r--:++r<n)&&!1!==t(o[r],r,o););return e}),je=function(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var l=s[e?a:++o];if(!1===n(i[l],l,i))break}return t}}();function Re(e,t){for(var n=0,r=(t=ze(t,e)?[t]:Fe(t)).length;null!=e&&n<r;)e=e[Ye(t[n++])];return n&&n==r?e:void 0}function ke(e,t){return null!=e&&t in Object(e)}function Me(e,t,n,r,o){return e===t||(null==e||null==t||!st(e)&&!at(t)?e!=e&&t!=t:function(e,t,n,r,o,u){var p=nt(e),v=nt(t),x=s,E=s;p||(x=(x=$e(e))==i?h:x);v||(E=(E=$e(t))==i?h:E);var O=x==h&&!B(e),A=E==h&&!B(t),T=x==E;if(T&&!O)return u||(u=new Oe),p||ct(e)?Ve(e,t,n,r,o,u):function(e,t,n,r,o,i,s){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!r(new ne(e),new ne(t)));case a:case l:case f:return et(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case d:var u=H;case g:var h=2&i;if(u||(u=$),e.size!=t.size&&!h)return!1;var p=s.get(e);if(p)return p==t;i|=1,s.set(e,t);var v=Ve(u(e),u(t),r,o,i,s);return s.delete(e),v;case b:if(be)return be.call(e)==be.call(t)}return!1}(e,t,x,n,r,o,u);if(!(2&o)){var C=O&&Z.call(e,"__wrapped__"),I=A&&Z.call(t,"__wrapped__");if(C||I){var P=C?e.value():e,N=I?t.value():t;return u||(u=new Oe),n(P,N,r,o,u)}}if(!T)return!1;return u||(u=new Oe),function(e,t,n,r,o,i){var s=2&o,a=ut(e),l=a.length,c=ut(t),u=c.length;if(l!=u&&!s)return!1;var d=l;for(;d--;){var f=a[d];if(!(s?f in t:Z.call(t,f)))return!1}var h=i.get(e);if(h&&i.get(t))return h==t;var p=!0;i.set(e,t),i.set(t,e);var m=s;for(;++d<l;){var g=e[f=a[d]],y=t[f];if(r)var b=s?r(y,g,f,t,e,i):r(g,y,f,e,t,i);if(!(void 0===b?g===y||n(g,y,r,o,i):b)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,u)}(e,t,Me,n,r,o))}function _e(e){return!(!st(e)||function(e){return!!J&&J in e}(e))&&(ot(e)||B(e)?ee:C).test(Xe(e))}function De(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?nt(e)?function(e,t){if(ze(e)&&Ge(t))return Ue(Ye(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:Re(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=ze(t,e)?[t]:Fe(t);var r,o=-1,i=t.length;for(;++o<i;){var s=Ye(t[o]);if(!(r=null!=e&&n(e,s)))break;e=e[s]}if(r)return r;i=e?e.length:0;return!!i&&it(i)&&We(s,i)&&(nt(e)||tt(e))}(e,t,ke)}(n,e):Me(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){var t=ut(e),n=t.length;for(;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ge(o)]}return t}(e);if(1==t.length&&t[0][2])return Ue(t[0][0],t[0][1]);return function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,s=!r;if(null==e)return!i;for(e=Object(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){var l=(a=n[o])[0],c=e[l],u=a[1];if(s&&a[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Oe;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?Me(u,c,r,3,d):f))return!1}}return!0}(n,e,t)}}(e):ze(t=e)?(n=Ye(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return Re(t,e)}}(t);var t,n}function Le(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||Y,t!==r)return ie(e);var t,n,r,o=[];for(var i in Object(e))Z.call(e,i)&&"constructor"!=i&&o.push(i);return o}function Fe(e){return nt(e)?e:qe(e)}function Ve(e,t,n,r,o,i){var s=2&o,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,f=1&o?new Ee:void 0;for(i.set(e,t),i.set(t,e);++u<a;){var h=e[u],p=t[u];if(r)var m=s?r(p,h,u,t,e,i):r(h,p,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!V(t,function(e,t){if(!f.has(t)&&(h===e||n(h,e,r,o,i)))return f.add(t)})){d=!1;break}}else if(h!==p&&!n(h,p,r,o,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Be(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function He(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return _e(n)?n:void 0}var $e=function(e){return Q.call(e)};function We(e,t){return!!(t=t??o)&&("number"==typeof e||I.test(e))&&e>-1&&e%1==0&&e<t}function ze(e,t){if(nt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!lt(e))||(E.test(e)||!x.test(e)||null!=t&&e in Object(t))}function Ge(e){return e==e&&!st(e)}function Ue(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}(se&&$e(new se(new ArrayBuffer(1)))!=S||ae&&$e(new ae)!=d||le&&$e(le.resolve())!=p||ce&&$e(new ce)!=g||ue&&$e(new ue)!=v)&&($e=function(e){var t=Q.call(e),n=t==h?e.constructor:void 0,r=n?Xe(n):void 0;if(r)switch(r){case fe:return S;case he:return d;case pe:return p;case me:return g;case ge:return v}return t});var qe=Qe(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(lt(e))return ve?ve.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return O.test(e)&&n.push(""),e.replace(A,function(e,t,r,o){n.push(r?o.replace(T,"$1"):t||e)}),n});function Ye(e){if("string"==typeof e||lt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Xe(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Je,Ke,Ze=(Je=function(e,t,n){Z.call(e,n)?e[n].push(t):e[n]=[t]},function(e,t){var n=nt(e)?F:Ce,r=Ke?Ke():{};return n(e,Je,De(t),r)});function Qe(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s),s};return n.cache=new(Qe.Cache||xe),n}function et(e,t){return e===t||e!=e&&t!=t}function tt(e){return function(e){return at(e)&&rt(e)}(e)&&Z.call(e,"callee")&&(!re.call(e,"callee")||Q.call(e)==i)}Qe.Cache=xe;var nt=Array.isArray;function rt(e){return null!=e&&it(e.length)&&!ot(e)}function ot(e){var t=st(e)?Q.call(e):"";return t==u||"[object GeneratorFunction]"==t}function it(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function at(e){return!!e&&"object"==typeof e}function lt(e){return"symbol"==typeof e||at(e)&&Q.call(e)==b}var ct=L?function(e){return function(t){return e(t)}}(L):function(e){return at(e)&&it(e.length)&&!!P[Q.call(e)]};function ut(e){return rt(e)?Ae(e):Le(e)}function dt(e){return e}e.exports=Ze},3258(e){!function(t){"use strict";var n=function(e){var t={browser:{fullName:"",name:"",version:"",majorVersion:null,minorVersion:null,patchVersion:null,engine:""},os:{fullName:"",name:"",version:"",versionName:"",versionAltNames:[],majorVersion:null,minorVersion:null,patchVersion:null},features:{bw:!1,mobile:!1,tv:!1,proxy:!1}},n={browser:[{test:["SailfishBrowser"],browser:{fullName:"Sailfish Browser",name:"sailfishbrowser",engine:"gecko",$version:{search:"SailfishBrowser/"}},features:{mobile:!0}},{test:["Edge/"],browser:{fullName:"Edge",name:"edge",engine:"edgehtml",$version:{search:"Edge/"}}},{test:["Edg/"],browser:{fullName:"Edge",name:"edge",engine:"webkit",$version:{search:"Edg/"}}},{test:["MSIE"],browser:{fullName:"Internet Explorer",name:"ie",engine:"trident",$version:{search:"MSIE "}}},{test:["Trident"],browser:{fullName:"Internet Explorer",name:"ie",engine:"trident",$version:{search:"rv:"}}},{test:["OPR/"],browser:{fullName:"Opera",name:"opera",engine:"webkit",$version:{search:"OPR/"}}},{test:["UCBrowser"],browser:{fullName:"UC Browser",name:"ucbrowser",engine:"webkit",$version:{search:"UCBrowser/"}}},{test:["YaBrowser"],browser:{fullName:"Yandex Browser",name:"yabrowser",engine:"webkit",$version:{search:"YaBrowser/"}}},{test:["Chrome"],browser:{fullName:"Chrome",name:"chrome",engine:"webkit",$version:{search:"Chrome/"}}},{test:["Firefox"],browser:{fullName:"Firefox",name:"firefox",engine:"gecko",$version:{search:"Firefox/"}}},{test:["NokiaBrowser"],browser:{fullName:"Nokia Browser",name:"nokiabrowser",engine:"webkit",$version:{search:"NokiaBrowser/"}},features:{mobile:!0}},{test:["Opera Mini","Presto"],browser:{fullName:"Opera Mini",name:"operamini",engine:"presto",$version:{search:"Version/"}},features:{mobile:!0,proxy:!0}},{test:["Opera Mini","WebKit"],browser:{fullName:"Opera Mini",name:"operamini",engine:"webkit"},features:{mobile:!0,proxy:!0}},{test:["Opera"],browser:{fullName:"Opera",name:"opera",engine:"presto",$version:{search:"Version/"}}},{test:["OviBrowser"],browser:{fullName:"Ovi Browser",name:"ovi",engine:"gecko",$version:{search:"OviBrowser/"}},features:{mobile:!0,proxy:!0}},{test:["CriOS/"],browser:{fullName:"Chrome",name:"chrome",engine:"webkit",$version:{search:"CriOS/"}}},{test:["Coast/"],browser:{fullName:"Opera Coast",name:"coast",engine:"webkit",$version:{search:"Coast/"}}},{test:["Safari","Version/",/(iPhone|iPod|iPad|Macintosh|Windows)/],browser:{fullName:"Safari",name:"safari",engine:"webkit",$version:{search:"Version/"}}},{test:["WebKit"],browser:{engine:"webkit"}},{test:["Gecko/"],browser:{engine:"gecko"}}],os:[{test:["Sailfish"],os:{fullName:"Sailfish OS",name:"sailfish"},features:{mobile:!0}},{test:["Windows Phone"],os:{fullName:"Windows Phone",name:"winphone",$version:{search:"Windows Phone "}},features:{mobile:!0}},{test:["Windows"],os:{fullName:"Windows",name:"win",$version:{search:"Windows NT ",names:{"10.0":"10",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP",5.1:"XP",5.01:"2000","5.0":"2000"},altNames:{5.2:["Server 2003"]}}}},{test:["Macintosh","OS X"],os:{fullName:"macOS",name:"osx",$version:{search:/OS X /,names:{10.6:"Snow Leopard",10.7:"Lion",10.8:"Mountain Lion",10.9:"Mavericks","10.10":"Yosemite",10.11:"El Capitan",10.12:"Sierra",10.13:"High Sierra",10.14:"Mojave",10.15:"Catalina","11.0":"Big Sur"}}}},{test:["Ubuntu"],os:{fullName:"Ubuntu",name:"ubuntu"}},{test:["Fedora"],os:{fullName:"Fedora",name:"fedora",$version:{search:"Fedora/",names:{20:"Heisenbug",19:"Schrödinger's Cat",18:"Spherical Cow",17:"Beefy Miracle",16:"Verne",15:"Lovelock",14:"Laughlin",13:"Goddard",12:"Constantine",11:"Leonidas",10:"Cambridge",9:"Sulphur",8:"Werewolf",7:"Moonshine"}}}},{test:["Kindle"],os:{fullName:"Kindle",name:"kindle",$version:{search:"Kindle/"}},features:{bw:!0,mobile:!0}},{test:[/(BlackBerry|BB\d+)/],os:{fullName:"BlackBerry",name:"blackberry",$version:{search:"Version/"}},features:{mobile:!0}},{test:["Symbian"],os:{fullName:"Symbian",name:"symbian"},features:{mobile:!0}},{test:["Series40"],os:{fullName:"Symbian",name:"symbian"},features:{mobile:!0}},{test:["PlayStation Vita"],os:{fullName:"PlayStation Vita",name:"psvita"},features:{mobile:!0}},{test:[/playstation/i],os:{fullName:"PlayStation",name:"playstation",$version:{search:/playstation\s/i}},features:{tv:!0}},{test:["Nintendo DSi"],os:{fullName:"Nintendo DSi",name:"dsi"},features:{mobile:!0}},{test:["New Nintendo 3DS"],os:{fullName:"New Nintendo 3DS",name:"n3ds"},browser:{engine:"webkit"},features:{mobile:!0}},{test:["Nintendo 3DS"],os:{fullName:"Nintendo 3DS",name:"3ds"},browser:{engine:"webkit"},features:{mobile:!0}},{test:["Viera"],os:{fullName:"Viera",name:"viera"},browser:{engine:"webkit"},features:{tv:!0}},{test:["SonyDTV"],features:{tv:!0}},{test:["Android"],os:{fullName:"Android",name:"android",$version:{search:"Android "}},features:{mobile:!0}},{test:[/iPhone|iPod|iPad/],os:{fullName:"iOS",name:"ios",$version:{search:"OS "}},features:{mobile:!0}}],features:[{test:[/mobile/i],features:{mobile:!0}},{test:[/smart-{0,1}tv/i],features:{tv:!0}}]};if(!e)return t;function r(t){for(var n=0;n<t.length;n++){for(var r=!0,i=0;i<t[n].test.length;i++)if(t[n].test[i]instanceof RegExp){if(!t[n].test[i].test(e)){r=!1;break}}else if(-1==e.indexOf(t[n].test[i])){r=!1;break}if(r){o(t[n]);break}}}function o(e){for(var r in n)if(n.hasOwnProperty(r)&&e[r]){if(e[r].$version){var o=i(e[r].$version.search);if(o){var s=o.split("."),a=e[r].$version.names,l=e[r].$version.altNames;if(e[r].version=o,s[0]&&(e[r].majorVersion=parseInt(s[0])),s[1]&&(e[r].minorVersion=parseInt(s[1])),s[2]&&(e[r].patchVersion=parseInt(s[2])),a)for(var c,u=[],d=0;d<s.length;d++)u.push(s[d]),a[c=u.join(".")]&&(e[r].versionName=a[c]),l&&l[c]&&(e[r].versionAltNames=l[c])}}for(var f in e[r])e[r].hasOwnProperty(f)&&"$"!==f[0]&&(t[r][f]=e[r][f])}}function i(t){var n;if(t instanceof RegExp){if(!(n=(e.match(t)||[])[0]))return}else n=t;var r=e.indexOf(n);if(-1!=r){var o=e.substring(r+n.length),i=/^(\d+(\.|_)){0,2}\d+/.exec(o);if(i)return i[0].replace(/_/g,".")}}return function(){for(var e in n)r(n[e])}(),t};e.exports?e.exports=n:t.Sniffer=n}(this)},909(e,t,n){var r=n(544);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},8908(e,t,n){var r=n(398);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},1118(e,t,n){var r=n(9744);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},2450(e){e.exports=function(e){var t={fn:[],obj:[]};return e&&"object"==typeof e&&Object.keys(e).reduce(function(t,n){return t["function"==typeof e[n]?"fn":"obj"].push(n),t},t),function(n){var r={};return e===n||!!n&&"object"==typeof n&&t.obj.every(function(t){return e[t]===n[t]})&&t.fn.every(function(t){return t in n&&e[t](n[t],t,n,r)})}}},7082(e,t){"use strict";t.BRIDGE_TOPIC_PREFIX=t.CHROME_DEBUGGER_VERSION=t.MINIMUM_ML_SCREENSHOT_MARGIN=t.MAX_ML_SCREENSHOT_WIDTH=t.MAX_SCREENSHOT_HEIGHT=t.DEFAULT_IMAGE_TYPE=void 0,t.DEFAULT_IMAGE_TYPE="webp",t.MAX_SCREENSHOT_HEIGHT=16384,t.MAX_ML_SCREENSHOT_WIDTH=1500,t.MINIMUM_ML_SCREENSHOT_MARGIN=500,t.CHROME_DEBUGGER_VERSION="1.3",t.BRIDGE_TOPIC_PREFIX="web-extension-utils"},2331(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.failedToAttach=t.detach=t.sendCommand=t.attach=t.isRuntimeError=t.DEBUGGER=void 0;const o=r(n(5226)),i=n(7082),s=(0,o.default)("debugger:command"),a=(0,o.default)("debugger:response");t.DEBUGGER={CANNOT_ATTACH_TO_THIS_TARGET:"Cannot attach to this target.",CANNOT_ACCESS_DIFFERENT_EXTENSION:/Cannot access a chrome-extension:\/\/ URL of different extension/i};t.isRuntimeError=e=>"object"==typeof e&&null!==e&&"errorSource"in e&&"runtime"===e.errorSource;t.attach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.attach({tabId:e},i.CHROME_DEBUGGER_VERSION,()=>{if(chrome.runtime.lastError){s(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else s(`attach:${e}`),t(!0)})}catch(e){n(e)}});t.sendCommand=async(e,t,n)=>new Promise(r=>{s(`[${t}] command:${e.tabId}`,n),chrome.debugger.sendCommand(e,t,n,n=>{try{chrome.runtime.lastError&&s(chrome.runtime.lastError.message)}finally{a(`[${t}] command:${e.tabId}`,{...n}),r(n)}})});t.detach=(e=browser.devtools.inspectedWindow.tabId)=>new Promise((t,n)=>{try{chrome.debugger.detach({tabId:e},()=>{if(chrome.runtime.lastError){s(chrome.runtime.lastError.message);const e={message:chrome.runtime.lastError.message,errorSource:"runtime"};n(e)}else s(`detach:${e}`),t(!0)})}catch(e){n(e)}});t.failedToAttach=()=>chrome.runtime.lastError&&chrome.runtime.lastError.message&&(chrome.runtime.lastError.message===t.DEBUGGER.CANNOT_ATTACH_TO_THIS_TARGET||t.DEBUGGER.CANNOT_ACCESS_DIFFERENT_EXTENSION.test(chrome.runtime.lastError.message))},5326(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarEventTopics=t.ScrollbarHandler=t.initContentBridgeListeners=void 0;var r=n(547);Object.defineProperty(t,"initContentBridgeListeners",{enumerable:!0,get:function(){return r.initContentBridgeListeners}});var o=n(2953);Object.defineProperty(t,"ScrollbarHandler",{enumerable:!0,get:function(){return o.ScrollbarHandler}}),Object.defineProperty(t,"ScrollbarEventTopics",{enumerable:!0,get:function(){return o.ScrollbarEventTopics}})},2953(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollbarHandler=t.ScrollbarEventTopics=void 0;const r=n(7082);t.ScrollbarEventTopics={CURRENT_SCROLL:`${r.BRIDGE_TOPIC_PREFIX}:current-scroll`,SCROLL_TO_TOP:`${r.BRIDGE_TOPIC_PREFIX}:scroll-to-top`,HIDE_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:hide-scrollbars`,SHOW_SCROLLBARS:`${r.BRIDGE_TOPIC_PREFIX}:show-scrollbars`};t.ScrollbarHandler=class{constructor(){this.scrollbarStyleElement=null,this.getCurrentScroll=()=>document.documentElement.scrollTop,this.scrollToTop=({message:e})=>{window.scrollTo(e?.x||0,e?.y||0)},this.hideScrollbars=()=>{this.scrollbarStyleElement||(this.scrollbarStyleElement=document.createElement("style"),this.scrollbarStyleElement.innerHTML="*::-webkit-scrollbar { display: none !important }",document.head.appendChild(this.scrollbarStyleElement))},this.showScrollbars=()=>{this.scrollbarStyleElement&&(document.head.removeChild(this.scrollbarStyleElement),this.scrollbarStyleElement=null)}}}},547(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initContentBridgeListeners=function(e){(e=>{const t=new r.ScrollbarHandler;e.listen(r.ScrollbarEventTopics.CURRENT_SCROLL,t.getCurrentScroll),e.listen(r.ScrollbarEventTopics.SCROLL_TO_TOP,t.scrollToTop),e.listen(r.ScrollbarEventTopics.HIDE_SCROLLBARS,t.hideScrollbars),e.listen(r.ScrollbarEventTopics.SHOW_SCROLLBARS,t.showScrollbars)})(e)};const r=n(2953)},3917(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase64EncodedString=async function(e,t=r.DEFAULT_IMAGE_TYPE){if("toDataURL"in e)return e.toDataURL(t,1);const n=await new Promise(n=>{const r=()=>{const r={type:`image/${t}`,quality:1};e.convertToBlob(r).then(n)};"requestAnimationFrame"in globalThis?requestAnimationFrame(r):setTimeout(r)}),o=new FileReader;return o.readAsDataURL(n),new Promise(e=>{o.onload=()=>{e(o.result)}})},t.convertBase64StringToImage=async function(e){return await new Promise(t=>{const n=new Image;n.src=e,n.onload=()=>t(n)})};const r=n(7082)},2725(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsScreenshots=async function(e,t,n,r){return h(e,t,n,m,r)},t.getElementsScreenshotsWithBoxes=async function(e,t,n,r){return h(e,t,n,g,r)};const o=n(9070),i=n(7082),s=n(2331),a=r(n(19)),l=r(n(5226)),c=n(2953),u=n(2092),d=(0,a.default)("elementsScreenshots"),f=(0,a.default)("elementScreenshot");async function h(e,t,n,r,o){if(!e)throw new SyntaxError('"bridge" is a required parameter');const a={},f="boolean"==typeof n?.areScrollbarsHidden&&n?.areScrollbarsHidden,h=n?.tabId||browser.devtools.inspectedWindow.tabId,p=n?.format||i.DEFAULT_IMAGE_TYPE;let m=null;if(!n?.isDebuggerAttached)try{await(0,s.attach)(h)}catch(e){if(!(0,s.isRuntimeError)(e)||(0,s.failedToAttach)())return m={message:(0,u.getErrorMessage)(e,"failed to attach debugger")},{screenshots:null,type:p,error:m}}f||await e.send("content-script",c.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:h});try{d.start();for(const i of t){const t=await r(e,i.selector,n);a[i.vnodeId]=t,"function"==typeof o&&o({...i,screenshot:t})}d.end(),(0,l.default)(`getElementsScreenshots: ${d.measure().duration}ms`)}finally{const t=[];if(f||t.push(e.send("content-script",c.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:h})),!n?.isDebuggerAttached){const e=async e=>{try{await(0,s.detach)(e)}catch(e){m={message:(0,u.getErrorMessage)(e,"failed to detach debugger")}}};t.push(e(h))}await Promise.all(t)}return{screenshots:a,type:p,error:m}}async function p(e,t,n,r){const o=n?.tabId||browser.devtools.inspectedWindow.tabId;f.start(),n?.focusElement&&(await(0,s.sendCommand)({tabId:o},"Emulation.setFocusEmulationEnabled",{enabled:!0}),await e.send("content-script","node:focus",{selector:t}));try{const e=await r(o);return f.end(),(0,l.default)(`getElementScreenshots: ${f.measure().duration}ms`),e}finally{n?.focusElement&&await e.send("content-script","node:reset-focus",{selector:t})}}function m(e,t,n){return p(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0}},{tabId:r})??null;return i&&await(0,o.getRectScreenshot)(e,i,n)})}function g(e,t,n){return p(e,t,n,async r=>{const i=await e.send("content-script","node:bounding-box",{selector:t,options:{scrollIntoView:!0,includePageScroll:!0}},{tabId:r})??null,s=i?.rect&&await(0,o.getRectScreenshotWithBox)(e,i.rect,n);return s&&i?.rect?{screenshot:s.screenshot,pageRelativeBoundingBox:y(i.rect,i.scroll),boxInScreenshot:s.boxInScreenshot}:null})}function y(e,t){const n=e.left+t.x,r=e.top+t.y,o=e.width,i=e.height;return{top:r,left:n,right:n+o,bottom:r+i,width:o,height:i}}},6895(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageAreaForMLFeatureDetection=async function(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const s=n?.tabId||browser.devtools?.inspectedWindow?.tabId;try{await(0,o.attach)(s)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return t}const a=await(0,i.getContentSize)(e,s),l=await(0,i.cssToDeviceIndependentPixels)(s,t),c=Math.min(a.width,Math.max(r.MAX_ML_SCREENSHOT_WIDTH,l.width+r.MINIMUM_ML_SCREENSHOT_MARGIN)),u=Math.min(a.height,Math.max(2*c-1,l.height+r.MINIMUM_ML_SCREENSHOT_MARGIN)),d=(c-l.width)/2,f=a.width-(l.x+l.width),h=Math.max(0,l.x-d-Math.max(0,d-f)),p=(u-l.height)/2,m=a.height-(l.y+l.height),g=Math.max(0,l.y-p-Math.max(0,p-m));return{x:h,y:g,width:c,height:u}};const r=n(7082),o=n(2331),i=n(8185)},8775(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getPageScreenshot=async function(e,t){if(!e)throw new SyntaxError('"bridge" is a required parameter');const n=t?.tabId||browser.devtools?.inspectedWindow?.tabId,r=t?.format||f.DEFAULT_IMAGE_TYPE;let c=null;if(!t?.isDebuggerAttached)try{await(0,o.attach)(n)}catch(e){if(!(0,o.isRuntimeError)(e)||(0,o.failedToAttach)())return c={message:(0,u.getErrorMessage)(e,"failed to attach debugger")},{screenshot:null,zoom:-1,error:c,type:r}}const g=await async function(e,t){const n="boolean"==typeof t.areScrollbarsHidden&&t.areScrollbarsHidden,r="boolean"!=typeof t.fullScreen||t.fullScreen,{tabId:o,format:i}=t;try{n||await e.send("content-script",p.ScrollbarEventTopics.HIDE_SCROLLBARS,null,{tabId:o}),m.start();const s=await(0,l.createTimeoutPromise)(()=>(0,d.getScreenshot)(e,{...t,fullScreen:r}),t?.timeout);return m.end(),(0,h.default)(`getPageScreenshot: ${m.measure().duration}ms`),s?{...s,screenshot:`data:image/${i};base64,${s.screenshot}`}:null}finally{n||await e.send("content-script",p.ScrollbarEventTopics.SHOW_SCROLLBARS,null,{tabId:o})}}(e,{...t,tabId:n,format:r}),y=await(0,a.getZoomLevel)(n);if(!t?.isDebuggerAttached)try{await(0,o.detach)(n)}catch(e){c={message:(0,u.getErrorMessage)(e,"failed to detach debugger")}}if(!g)return c={message:"failed to get screenshot response probably due to a timeout"},{screenshot:null,zoom:y,error:c,type:r};const{pageWidthDIP:b,pageHeightDIP:v}=g;let w;try{w=await async function(e,t){const{screenshot:n,pageHeightDIP:r,pageWidthDIP:o}=e;if(!o||!r)return n;let a,l,c;if("Image"in globalThis){const e=a=new Image;e.src=n,await new Promise((t,n)=>{e.onload=()=>t(),e.onerror=()=>n(new Error("failed to decode screenshot"))}),l=e.naturalWidth}else{const e=await fetch(n),t=await createImageBitmap(await e.blob());a=t,l=t.width}try{if(l<=Math.ceil(o))return n;c=await createImageBitmap(a,{resizeQuality:"high",resizeWidth:o,resizeHeight:r});const e=(0,i.getCanvas)(o,r),u=e.getContext("2d");if(!u)throw new Error("Unable to resize image. Error creating canvas context");return u.drawImage(c,0,0,o,r),await(0,s.getBase64EncodedString)(e,t)}finally{c?.close(),"close"in a&&a.close()}}(g,r)}catch(e){return{screenshot:null,zoom:y,error:{message:(0,u.getErrorMessage)(e,"failed to normalize screenshot")},pageWidthDIP:b,pageHeightDIP:v,type:r}}return{screenshot:w,error:c,zoom:y,pageWidthDIP:b,pageHeightDIP:v,type:r}};const o=n(2331),i=n(4181),s=n(3917),a=n(8185),l=n(409),c=r(n(19)),u=n(2092),d=n(2864),f=n(7082),h=r(n(5226)),p=n(2953),m=(0,c.default)("pageScreenshot")},9070(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getRectScreenshot=async function(e,t,n){const r=await f(e,t,n);return r?.screenshot??null},t.getRectScreenshotWithBox=f;const o=r(n(5226)),i=r(n(19)),s=n(7082),a=n(2864),l=n(3917),c=n(2331),u=(0,o.default)("screenshots"),d=(0,i.default)("rectScreenshot");async function f(e,t,n){if(!e)throw new SyntaxError('"bridge" is a required parameter');const r=n?.tabId||browser.devtools.inspectedWindow.tabId;d.start();const o=n?.format||s.DEFAULT_IMAGE_TYPE;if(!t||0===Math.floor(t.width)||0===Math.floor(t.height))return null;const i=await(0,a.getScreenshot)(e,{...n,format:o,fullScreen:!1});if(!i||!i.screenshot)return null;const f=await(0,l.convertBase64StringToImage)(`data:image/${o};base64,${i.screenshot}`),g=await async function(e){try{const{cssVisualViewport:t}=await(0,c.sendCommand)({tabId:e},"Page.getLayoutMetrics"),{result:{value:n}}=await(0,c.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerWidth"}),{result:{value:r}}=await(0,c.sendCommand)({tabId:e},"Runtime.evaluate",{expression:"window.innerHeight"});return{...t,innerWidth:n,innerHeight:r}}catch{return null}}(r),y=p(f,g),b=m(t,g);if(b.left<0||b.top<0)return null;const v={x:b.left,y:b.top,height:b.height,width:b.width},w=await(0,a.clipScreenshot)(f,y,v,n);if(d.end(),u(`getRectScreenshot: ${d.measure().duration}ms`),!w)return null;if(u.enabled){(new Image).src=w}return{screenshot:w,boxInScreenshot:h(v,y,n)}}function h(e,t,n){const r=(0,a.getClipRect)(e,t,n?.offset||0),o=Math.floor(e.x*t)-r.left,i=Math.floor(e.y*t)-r.top,s=Math.floor(e.width*t),l=Math.floor(e.height*t);return{top:i,left:o,right:o+s,bottom:i+l,width:s,height:l}}const p=(e,t)=>{if(!t)return 1;const n=t.innerWidth*t.scale;return e.naturalWidth/n},m=(e,t)=>{if(!t)return e;const{offsetX:n,offsetY:r,scale:o}=t;return{x:(e.x-n)*o,y:(e.y-r)*o,left:(e.left-n)*o,top:(e.top-r)*o,height:e.height*o,width:e.width*o}}},2864(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getScreenshot=async function(e,t){const n="boolean"!=typeof t.fullScreen||t.fullScreen;let r,o=0,s=0;try{const l=t?.tabId||browser.devtools?.inspectedWindow?.tabId;t?.allowPageToContinueLoading||await(0,i.sendCommand)({tabId:l},"Page.stopLoading");const f={fromSurface:!0,captureBeyondViewport:n,format:t?.format,quality:t?.quality};let h=0;if(n){h=await e.send("content-script",u.ScrollbarEventTopics.CURRENT_SCROLL,null,{tabId:l})??null;const t=await(0,c.getContentSize)(e,l);o=t.width,s=Math.min(t.height,a.MAX_SCREENSHOT_HEIGHT),f.clip={x:0,y:0,width:o,height:s,scale:1}}else{const{cssVisualViewport:e}=await(0,i.sendCommand)({tabId:l},"Page.getLayoutMetrics"),{clientWidth:t,clientHeight:n}=e,r=await(0,d.cssToDeviceIndependentPixels)(l,{width:t,height:n,x:0,y:0});o=r.width,s=r.height}t?.beforeScreenshot&&await t.beforeScreenshot();const p=async()=>{const e=await(0,i.sendCommand)({tabId:l},"Page.captureScreenshot",f);return e?.data};n?(r=await new Promise(e=>setTimeout(()=>e(p()),250)),h&&await e.send("content-script",u.ScrollbarEventTopics.SCROLL_TO_TOP,{y:h},{tabId:l})):r=await p()}catch{return null}if(r&&f.enabled){(new Image).src=`data:image/${t?.format||a.DEFAULT_IMAGE_TYPE};base64,${r}`}return{screenshot:r,pageWidthDIP:o,pageHeightDIP:s}},t.getClipRect=h,t.clipScreenshot=async function(e,t,n,r){const{left:o,top:i,width:a,height:c}=h(n,t,r?.offset||0),u=(0,l.getCanvas)(a,c),d=await createImageBitmap(e,o,i,a,c,{resizeQuality:"high"}),f=u.getContext("2d");if(f&&"drawImage"in f)return f.drawImage(d,0,0,d.width,d.height),await(0,s.getBase64EncodedString)(u,r?.format);return null};const o=r(n(5226)),i=n(2331),s=n(3917),a=n(7082),l=n(4181),c=n(6680),u=n(2953),d=n(5079),f=(0,o.default)("screenshots");function h(e,t,n=0){return{left:Math.floor(Math.max(0,e.x-n)*t),top:Math.floor(Math.max(0,e.y-n)*t),width:Math.floor((e.width+2*n)*t),height:Math.floor((e.height+2*n)*t)}}},8185(e,t,n){"use strict";t.getZoomLevel=t.cssToDeviceIndependentPixels=t.getContentSize=void 0;var r=n(6680);Object.defineProperty(t,"getContentSize",{enumerable:!0,get:function(){return r.getContentSize}});var o=n(5079);Object.defineProperty(t,"cssToDeviceIndependentPixels",{enumerable:!0,get:function(){return o.cssToDeviceIndependentPixels}});var i=n(1583);Object.defineProperty(t,"getZoomLevel",{enumerable:!0,get:function(){return i.getZoomLevel}})},5079(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssToDeviceIndependentPixels=async function(e,t){const n=await(0,r.getZoomLevel)(e);return{x:t.x*n,y:t.y*n,height:t.height*n,width:t.width*n}};const r=n(1583)},6680(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentSize=async function(e,t){await e.send("content-script",s.ScrollbarEventTopics.SCROLL_TO_TOP,null,{tabId:t}),await(0,o.sleep)();const{cssContentSize:n}=await(0,r.sendCommand)({tabId:t},"Page.getLayoutMetrics");return(0,i.cssToDeviceIndependentPixels)(t,n)};const r=n(2331),o=n(3702),i=n(5079),s=n(2953)},1583(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZoomLevel=async function(e){try{const{cssVisualViewport:{zoom:t=1}}=await(0,r.sendCommand)({tabId:e},"Page.getLayoutMetrics");return t}catch{return 1}};const r=n(2331)},8618(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertBase64StringToImage=t.getBase64EncodedString=t.getCanvas=t.clipScreenshot=t.getPageAreaForMLFeatureDetection=t.getPageScreenshot=t.getElementsScreenshotsWithBoxes=t.getElementsScreenshots=t.getRectScreenshot=void 0;var r=n(9070);Object.defineProperty(t,"getRectScreenshot",{enumerable:!0,get:function(){return r.getRectScreenshot}});var o=n(2725);Object.defineProperty(t,"getElementsScreenshots",{enumerable:!0,get:function(){return o.getElementsScreenshots}}),Object.defineProperty(t,"getElementsScreenshotsWithBoxes",{enumerable:!0,get:function(){return o.getElementsScreenshotsWithBoxes}});var i=n(8775);Object.defineProperty(t,"getPageScreenshot",{enumerable:!0,get:function(){return i.getPageScreenshot}});var s=n(6895);Object.defineProperty(t,"getPageAreaForMLFeatureDetection",{enumerable:!0,get:function(){return s.getPageAreaForMLFeatureDetection}});var a=n(2864);Object.defineProperty(t,"clipScreenshot",{enumerable:!0,get:function(){return a.clipScreenshot}});var l=n(4181);Object.defineProperty(t,"getCanvas",{enumerable:!0,get:function(){return l.getCanvas}});var c=n(3917);Object.defineProperty(t,"getBase64EncodedString",{enumerable:!0,get:function(){return c.getBase64EncodedString}}),Object.defineProperty(t,"convertBase64StringToImage",{enumerable:!0,get:function(){return c.convertBase64StringToImage}})},409(e,t){"use strict";t.createTimeoutPromise=async function(e,t){if(!t)return e();let n;const r=new Promise(e=>{n=setTimeout(()=>e(null),t)}),o=await Promise.race([e(),r]);return clearTimeout(n),o}},4181(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCanvas=function(e,t){let n;"OffscreenCanvas"in self&&!browser?.devtools?n=new self.OffscreenCanvas(e,t):(n=document.createElement("canvas"),n.width=e,n.height=t);return n}},2092(e,t){"use strict";t.getErrorMessage=void 0;t.getErrorMessage=(e,t)=>e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:t},19(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=`${e}-start`,n=`${e}-end`,r=()=>{performance.clearMarks(t),performance.clearMarks(n),performance.clearMeasures(e)};return{start:()=>{r(),performance.mark(t)},end:()=>performance.mark(n),clear:r,measure:()=>(performance.measure(e,t,n),performance.getEntriesByName(e,"measure")[0])}}},3702(e,t){"use strict";t.sleep=void 0;t.sleep=e=>new Promise(t=>setTimeout(t,e||50))},6165(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMTQuNSIgY3k9IjE0LjUiIHI9IjEzLjUiIGZpbGw9IiMwYjE0MWMiIHN0cm9rZT0iI2Q0ZGRlMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHBhdGggZD0iTTYuMjMgMTIuNThoLjkydjUuNTFoLS45MmEuOTEuOTEgMCAwMS0uOTItLjkxVjEzLjVhLjkyLjkyIDAgMDEuOTItLjkyem0xNC43LTEuMzhWMTlhMS44NCAxLjg0IDAgMDEtMS44NCAxLjg0SDkuOTFBMS44NCAxLjg0IDAgMDE4LjA3IDE5di03LjhhMi4yOSAyLjI5IDAgMDEyLjI5LTIuMjloMy4yMlY3LjA3YS45Mi45MiAwIDAxMS44NCAwdjEuODRoMy4yMmEyLjI5IDIuMjkgMCAwMTIuMjkgMi4yOXptLTggMi4zYTEuMTUgMS4xNSAwIDEwLTEuMTUgMS4xNSAxLjE1IDEuMTUgMCAwMDEuMTUtMS4xNXptLS4yMyAzLjY4aC0xLjg4di45MWgxLjg0em0yLjc2IDBoLTEuODh2LjkxaDEuODR6bTMtMy42OGExLjE1IDEuMTUgMCAxMC0xLjE1IDEuMTUgMS4xNiAxLjE2IDAgMDAxLjE1LTEuMTV6bS0uMjMgMy42OGgtMS44OXYuOTFoMS44NHptNS41MS0zLjY4djMuNjhhLjkyLjkyIDAgMDEtLjkyLjkxaC0uOTJ2LTUuNTFoLjkyYS45Mi45MiAwIDAxLjkyLjkyeiIgZmlsbD0iIzc2Y2ZlOCIvPjwvc3ZnPg=="}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.amdO={},(()=>{const e=[];n.O=(t,r,o)=>{if(!r){for(var i=0;i<e.length;i++){let[r,o]=e[i],a=!0;for(var s=0;s<r.length;s++)n.O.j(r[s])?r.splice(s--,1):a=!1;if(a){e.splice(i--,1);const n=o();void 0!==n&&(t=n)}}return t}e.push([r,o])}})(),n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},n.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var o=t[r++],i=t[r++],s=0===i?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:i};n.o(e,o)||Object.defineProperty(e,o,s)}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=854,n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{n.b="undefined"!=typeof document&&document.baseURI||self.location.href;const e={854:0};n.O.j=t=>0===e[t];const t=(t,r)=>{let[o,i,s]=r;var a,l,c=0;if(o.some(t=>0!==e[t])){for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(s)var u=s(n)}for(t&&t(r);c<o.length;c++)l=o[c],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return n.O(u)},r=this.webpackChunk||=[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();let r=n.O(void 0,[121],()=>n(6695));r=n.O(r)})();