axe-mcp-server 1.2.1-next.c4e5c114 → 1.2.1-next.ca930708

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,t={76754(e,t,r){"use strict";t.addEventNS=t.k=void 0;const n=r(89613);t.k=`recorder:${n.version}`;t.addEventNS=e=>`${t.k}:${e}`},83144(e,t){"use strict";t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error(t)}},25470(e,t,r){"use strict";t.cache=void 0;const n=r(83144),o=r(6857);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 r=this.get(e);if(r?.resolved&&!r.error)return r.result;if(r?.error)throw r.error;if(!1===r?.resolved)return new Promise((e,t)=>r.promises?.push([e,t]));this.set(e,{resolved:!1,promises:[],result:void 0,error:null});try{let r;r="symbol"==typeof e&&e.description?await o.perf.run(e.description,t):await t();const n=this.get(e);return this.set(e,{resolved:!0,result:r,error:null,promises:void 0}),n?.promises?.forEach(([e])=>e(r)),r}catch(t){const r=this.get(e);throw this.set(e,{resolved:!0,result:void 0,error:t,promises:void 0}),r?.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},1906(e,t,r){"use strict";t.createLazyProxy=void 0;const n=r(83144),o=Symbol("initialize"),i=Symbol("unset");t.createLazyProxy=function(){let e=null,t=!1;const r=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:(r,s,a)=>s===o?r=>(e=r,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=()=>(r[i](),r);return{proxy:r,setRealObject:e=>(r[o](e),s)}}},48942(e,t,r){"use strict";t.setAxeProxy=t.axe=void 0;const n=(0,r(1906).createLazyProxy)();t.axe=n.proxy,t.setAxeProxy=n.setRealObject},6857(e,t){"use strict";t.perf=void 0;let r=!1;const n={},o={};t.perf={enable(){r=!0},disable(){t.perf.flush(),r=!1},start(e){r&&(o[e]&&console.warn(`${e} already started`),o[e]=performance.now())},end(e,{minDuration:i=0,flush:s=!1}={}){if(!r)return;if(!o[e])return void console.warn(`${e} not started`);const a=performance.now()-o[e];delete o[e],a<=i||(n[e]??=[],n[e].push(a),s&&t.perf.flush(e))},run(e,t){if(!r)return t();const o=performance.now(),i=t();if(i instanceof Promise)return i.finally(()=>{const t=performance.now();n[e]??=[],n[e].push(t-o)});const s=performance.now();return n[e]??=[],n[e].push(s-o),i},flush(...e){Object.keys(o).forEach(r=>{e.length&&!e?.includes(r)||t.perf.end(r)}),Object.entries(n).forEach(([t,r])=>{e.length&&!e?.includes(t)||(console.log(`${t}: ${r.reduce((e,t)=>e+t)}ms total (${r.length}x)`),delete n[t])})}}},41838(e,t){"use strict";t.serialError=void 0,t.serialError=function e(t,r=0){if("object"!=typeof t||null===t)return{message:String(t)};const n=t,o={...n};for(const e of["message","stack","name"])"string"==typeof n[e]&&(o[e]=n[e]);return n.cause&&(o.cause=r<10?e(n.cause,r+1):"..."),o}},47766(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundRecorderClient=void 0;const n=r(76754),o=r(13551),i=r(86171);t.BackgroundRecorderClient=class{#r;constructor({bridge:e,axe:t}){this.#r=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.#r}async#n(e,t){const r=await this.#r.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.#n("attachDebugger")}detachDebugger(){return this.#n("detachDebugger")}captureFullScreenshot(){return this.#n("captureFullScreenshot")}getComputedFocusStyles(e){return 0===e.focusTriggers.length?{computedFocusStylesMap:{}}:this.#n("getComputedFocusStyles",e)}getEventListeners(e){return this.#n("getEventListeners",e)}getFrameId(){return this.#n("getFrameId")}getStyleSheets(e){return this.#n("getStyleSheets",e)}setup(e){return this.#n("setup",e)}teardown(e){return this.#n("teardown",e)}}},13551(e,t,r){"use strict";t.contentActions=void 0;const n=r(68036),o=r(94117),i=r(94117);t.contentActions={[n.batchGetComputedStyleTopic]:n.batchGetComputedStyle,[i.frameSetupTopic]:i.frameSetup,[o.frameTeardownTopic]:o.frameTeardown}},68036(e,t,r){"use strict";t.batchGetComputedStyle=t.batchGetComputedStyleTopic=void 0;const n=r(83144);function o(e){const t={},r=["0px","","normal","none","auto","0","0s"],n={"outline-style":"auto"},o=(e,t)=>"string"!=typeof t||r.includes(t)&&n[e]!==t;for(const r of e){const n=e.getPropertyValue(r);o(r,n)||(t[r]=n)}return t}t.batchGetComputedStyleTopic="batchGetComputedStyle",t.batchGetComputedStyle=function({computedStyleTargets:e},{axe:t}){return e.map(({selector:e,pseudoElm:r})=>{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:o(s.getComputedStyle(i,r?`::${r}`:void 0)),selector:e,pseudoElm:r}})}},7927(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(25470),o=r(11232),i=Symbol("disableAnimations");t.default={disable:function(){const e=n.cache.get(i,()=>[]),t=[document,...Array.from((0,o.getShadowRoots)(document))],r=new Set,a=e=>{for(const t of e.getAnimations()){if(!t.effect||0===t.playbackRate||r.has(t))continue;const e=t.effect.getComputedTiming().endTime;Number.isFinite(e)?s(()=>t.finish()):s(()=>t.cancel())}};for(const r of t){const t=a.bind(null,r);t(),r.addEventListener("transitionrun",t),r.addEventListener("animationstart",t),e.push(()=>{r.removeEventListener("transitionrun",t),r.removeEventListener("animationstart",t)})}e.push(()=>{for(const e of r)s(()=>e.play())})},restore:function(){const e=n.cache.get(i);e&&(e.forEach(e=>e()),n.cache.set(i,[]))}};const s=e=>{try{e()}catch{}}},94117(e,t,r){"use strict";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 o=r(25470),i=r(6857),s=n(r(7927));t.frameSetupTopic="frameSetup",t.frameSetup=function({performanceTimer:e,skipAnimations:t}){o.cache.clear(),e?(i.perf.enable(),i.perf.start("advancedRun")):i.perf.disable(),t&&s.default.disable()},t.frameTeardownTopic="frameTeardown",t.frameTeardown=function(){s.default.restore(),i.perf.disable(),o.cache.clear()}},44099(e,t){"use strict";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:r,width:n,height:o}=e;return{x:t,y:r,width:n,height:o}}},29920(e,t,r){"use strict";t.cachedQueryAll=t.Z=void 0;const n=r(25470),o=Symbol("selectorCache");t.Z=n.cache.child(o),t.cachedQueryAll=function(e,r){const n=t.Z.get(e,()=>new Map),o=n.get(r);if(o)return o;const i=Array.from(r.querySelectorAll(e));return n.set(r,i),i}},86256(e,t,r){"use strict";t.findNearbyElms=void 0;const n=r(48942);function o(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,r=[];let i=o(e);for(;i;){const n=i.getGridPositionOfRect(t);i.loopGridPosition(n,t=>{for(const n of t)n&&n!==e&&!r.includes(n)&&r.push(n)}),i=o(i.container)}return r}},87732(e,t,r){"use strict";t.isContentEditable=void 0;const n=r(25470),o=Symbol("isContentEditable"),i=n.cache.child(o),s=new Set(["","true","plaintext-only"]),a=new Set(["false"]);t.isContentEditable=function e(t){return i.get(t,()=>{const r=t.getAttribute("contenteditable")?.toLowerCase()??null;return!!s.has(r)||!(a.has(r)||!t.parentElement)&&e(t.parentElement)})}},18937(e,t){"use strict";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},70793(e,t){"use strict";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 r=function(e){const t=e.attr("tabindex")?.match(/^\s*([-+]?\d+)/);return t?parseInt(t[1]):null}(e);return!(null!==r&&r<0)&&!t.commons.dom.isHiddenForEveryone(e)}},91022(e,t,r){"use strict";t.findFocusIndicators=t.E=void 0;const n=r(26864),o=r(25470),i=r(6857),s=r(61825),a=r(83144),c=r(99573),l=r(58047),u=Symbol();function*d(e,r,o){const c=(0,s.getRootNode)(r),u=o.get(c);(0,a.assert)(u,"Style sheets for root of node not found");const d=function(e){return e.flatMap(({cssRules:e})=>Array.from(e)).filter(e=>e instanceof CSSStyleRule)}(u).flatMap(e=>e.selectorText.includes(":focus")?function(e,r){const o=t.E.get(e,()=>new Map);let s=o.get(r);if(!s){const t=`queryWithFocusTriggers: ${e}`;i.perf.start(t),s=(0,n.queryWithFocusTriggers)(e,r),i.perf.end(t,{minDuration:100,flush:!0}),o.set(r,s)}return s}(e.selectorText,c):[]);for(const{triggers:t=[],...r}of d)for(const{type:n,elm:o}of t){const t=1===n.length&&"focus-within"===n[0];(o===e||t&&(0,l.flatTreeContains)(o,e))&&(yield r)}}t.E=o.cache.child(u),t.findFocusIndicators=function(e,t){const r=(0,s.getRootNode)(e),n=t.get(r);(0,a.assert)(n,"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 r=Array.from(d(e,i,t));for(const{elm:e,pseudoElm:t}of r){const r=o.get(e);r?r.add(t):o.set(e,new Set([t]))}}while(i=(0,c.closestCrossTreeAncestor)(i));const l=[];for(const[e,t]of o)for(const r of t)r?l.push({elm:e,pseudoElm:r}):l.push({elm:e});return l}},67160(e,t){"use strict";t.eachIndicator=void 0,t.eachIndicator=function*(e){for(const[t,r]of e)for(const[e,n]of r)yield{elm:t,pseudoElm:e,triggers:n}}},46243(e,t,r){"use strict";t.groupRuleItems=t.D=void 0;const n=r(20744);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}}},45671(e,t){"use strict";t.mergeTriggers=void 0,t.mergeTriggers=function(e,t){t=[...t];const r=[];for(const n of e){const e=t.findIndex(e=>e.elm===n.elm);if(-1===e){r.push(n);continue}const o=t.splice(e,1)[0],i=Array.from(new Set([...n.type,...o.type]));r.push({elm:n.elm,type:i})}return r.push(...t),r}},89545(e,t,r){"use strict";t.runHasPseudoClass=void 0;const n=r(59125),o=r(67160),i=r(26864);t.runHasPseudoClass=function(e,t){const r=(0,n.render)(e),s=new Map;for(const{elm:n,pseudoElm:a,triggers:c}of(0,o.eachIndicator)(t)){const t=(0,i.runSelector)(r,e,n);let l=!1;for(const e of(0,o.eachIndicator)(t))e.pseudoElm||(e.triggers.length&&c.push(...e.triggers),l||=!0);l&&s.set(n,new Map([[a,c]]))}return s}},20423(e,t,r){"use strict";t.runHostPseudoClass=void 0;const n=r(59125),o=r(83144),i=r(92061),s=r(67160),a=r(45671),c=r(18937),l=r(26864);function u(e,t,r){if(t.items.some(e=>"PseudoElement"===e.type))return new Map;let n=r.host,o=[],u=!1;for(;n&&((0,c.isElement)(n)||(0,c.isShadowRoot)(n));){const[r]=(0,l.runRuleItems)(t,n,{selfOnly:!0});if("host-context"!==e)return r;r.size&&(u=!0);for(const{pseudoElm:e,triggers:t}of(0,s.eachIndicator)(r))""===e&&(o=(0,a.mergeTriggers)(o,t));n=(0,i.getFlatTreeParent)(n)}return u?new Map([[r.host,new Map([["",o]])]]):new Map}t.runHostPseudoClass=function(e,t){const r=new Map;for(const{argument:i,name:c}of e){if(!i){r.has(t.host)||r.set(t.host,new Map([["",[]]]));continue}(0,o.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=r.get(e);if(i){const e=i.get("");(0,o.assert)(e,"indicator missing triggers"),i.set("",(0,a.mergeTriggers)(e,n))}else r.set(e,new Map([["",n]]))}}return r}},23930(e,t,r){"use strict";t.runPartPseudoElm=void 0;const n=r(83144),o=r(24315),i=r(67160),s=r(46243);t.runPartPseudoElm=function(e,t){const[r,...a]=e;(0,n.assert)("PseudoElement"===r.type,"Expected pseudo element");const{argument:c}=r;(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 p="";if(u.length){if(u.length>1||u[0]!==a.at(-1))return[new Map];p=u[0].name}const f=l.map(e=>e.name),h=new Map;for(const{elm:e,triggers:r}of(0,i.eachIndicator)(t)){const t=(0,o.getParts)(e);if(!t)continue;const n=c.value.split(/\s+/);t.forEach((e,t)=>{if(n.every(t=>e.has(t))){const e=[...r];f.length&&e.push({elm:t,type:f}),h.set(t,new Map([[p,e]]))}})}return[h]}},20744(e,t,r){"use strict";t.runPseudoClassSelector=t.pseudoClassSelectorNames=void 0;const n=r(59125),o=r(83144),i=r(61825),s=r(26864),a=r(89545),c=r(67160),l=r(45671);t.pseudoClassSelectorNames=["is","where","not","has"],t.runPseudoClassSelector=function({argument:e,name:r},u,d){if(!1===t.pseudoClassSelectorNames.includes(r)||"Selector"!==e?.type)throw new Error("Invalid sub-selector");if("has"===r)return(0,a.runHasPseudoClass)(e,u);const p="not"===r?u:new Map,f=(0,n.render)(e),h=(0,i.getRootNode)(d),m=(0,s.runSelector)(f,e,h);for(const e of(0,c.eachIndicator)(m)){if(e.pseudoElm)continue;if("not"===r&&!e.triggers.length){p.delete(e.elm);continue}const t=u.get(e.elm);if(!t)continue;const n=Array.from(t.entries());(0,o.assert)(1===n.length,"Only one (pseudo-)element should exist");const[i,s]=n[0],a="not"===r?[...s,...e.triggers]:(0,l.mergeTriggers)(s,e.triggers);t.set(i,a),p.set(e.elm,t)}return p}},50406(e,t,r){"use strict";t.runSlottedPseudoElm=void 0;const n=r(83144),o=r(18937),i=r(61825),s=r(26864),a=r(67160);function c(e){return"slot"===e.nodeName.toLowerCase()}t.runSlottedPseudoElm=function({argument:e},t,r){const l=(0,i.getRootNode)(r);if(!(0,o.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]}},26864(e,t,r){"use strict";t.runRuleItems=t.runSelector=t.queryWithFocusTriggers=t.K3=t.PE=void 0;const n=r(59125),o=r(83144),i=r(25470),s=r(61825),a=r(46243),c=r(45671),l=r(67160),u=r(18937),d=r(20744),p=r(50406),f=r(20423),h=r(23930),m=r(29920),g=Symbol("selectorCache");function y(e,r,n){const o=t.PE.get(e,()=>new Map),i=o.get(n);if(i)return i;const s=new Map;for(const e of r.rules){const t=b(e,n);for(const{elm:e,pseudoElm:r,triggers:n}of(0,l.eachIndicator)(t)){const t=s.get(e),o=t?.get(r);t?o?t.set(r,[...o,...n]):t.set(r,n):s.set(e,new Map([[r,n]]))}}return o.set(n,s),s}function b(e,t){const r=new Map,[n,i]=v(e,t);for(const{elm:t,pseudoElm:s,triggers:a}of(0,l.eachIndicator)(n)){if(!e.nestedRule){const e=r.get(t);e?((0,o.assert)(!e.has(s),"Pseudo element already exists"),e.set(s,a)):r.set(t,new Map([[s,a]]));continue}if(s)continue;const n=i??t,u=b(e.nestedRule,n);for(const e of(0,l.eachIndicator)(u)){const t=(0,c.mergeTriggers)(a,e.triggers),n=r.get(e.elm);n?n.set(e.pseudoElm,t):r.set(e.elm,new Map([[e.pseudoElm,t]]))}}return r}function v(e,t,{selfOnly:r}={selfOnly:!1}){const{pseudoElmItems:o,pseudoClassSelectorItems:i,focusClassItems:s,hostItems:c,partItems:l,otherItems:g}=(0,a.groupRuleItems)(e.items);if(c.length>0){if(!(0,u.isShadowRoot)(t)||s.length||o.length||i.length||g.length)return[new Map];const e=(0,f.runHostPseudoClass)(c,t);return e?[e,t]:[new Map]}if(o.length>1||o[0]&&o[0]!==e.items.at(-1))return[new Map];const y=(0,n.render)(n.ast.rule({items:g}))||"*";let b=[];if(r){if(!(0,u.isElement)(t))return[new Map];b=t.matches(y)?[t]:[]}else b=e?.combinator?function(e,t){if(">"===e)return Array.from(t.children);if(!(0,u.isElement)(t))return[];if("+"===e)return[t.nextElementSibling].filter(Boolean);if("~"===e){const e=[];let r=t.nextElementSibling;for(;r;)e.push(r),r=r.nextElementSibling;return e}throw new Error(`Unknown combinator: ${e}`)}(e?.combinator,t).filter(e=>e.matches(y)):(0,m.cachedQueryAll)(y,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,d.runPseudoClassSelector)(e,v,t);return"slotted"===o[0]?.name?e.nestedRule?[new Map]:(0,p.runSlottedPseudoElm)(o[0],v,t):l.length?e.nestedRule?[new Map]:(0,h.runPartPseudoElm)(l,v):[v]}t.PE=i.cache.child(g),t.K3=(0,n.createParser)({strict:!1,syntax:{baseSyntax:"progressive"}}),t.queryWithFocusTriggers=function(e,r){let n,i;(0,o.assert)(r,"Node must be provided");try{n=(0,t.K3)(e)}catch{return console.error("Failed to process selector",e),[]}try{i=y(e,n,(0,s.getRootNode)(r))}catch(e){return console.error(e?.message),[]}const a=[];for(const{elm:e,pseudoElm:t,triggers:r}of(0,l.eachIndicator)(i))a.push({elm:e,...t?{pseudoElm:t}:{},...r.length?{triggers:r}:{}});return a},t.runSelector=y,t.runRuleItems=v},99573(e,t,r){"use strict";t.closestCrossTreeAncestor=void 0;const n=r(83144),o=r(18937),i=r(25470),s=Symbol("closestAncestor"),a=i.cache.child(s);t.closestCrossTreeAncestor=function e(t,r=0){return(0,n.assert)(++r<1e4,"Infinite loop in closestCrossTreeAncestor"),a.get(t,()=>(0,o.isShadowRoot)(t)?t.host:t.assignedSlot?t.assignedSlot:t.parentNode&&(0,o.isShadowRoot)(t.parentNode)?t.parentNode.host:t.parentElement?e(t.parentElement,r):null)}},58047(e,t,r){"use strict";t.flatTreeContains=void 0;const n=r(99573),o=r(83144);t.flatTreeContains=function(e,t){const r=e.getRootNode();let i=t,s=0;do{if((0,o.assert)(++s<1e4,"Infinite loop in flatTreeContains"),r===i.getRootNode())return e.contains(i)}while(i=(0,n.closestCrossTreeAncestor)(i));return!1}},92061(e,t){"use strict";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}},24315(e,t,r){"use strict";t.getParts=void 0;const n=r(25470),o=Symbol("PARTS_OF_SHADOW_ROOT"),i=n.cache.child(o);function s({shadowRoot:e}){return e?i.get(e,()=>function(e){const t=e.querySelectorAll("[part]"),r=new Map;for(const e of Array.from(t)){const t=e.getAttribute("part");if(!t)continue;const n=t.split(/\s+/).map(e=>e.trim()).filter(e=>e.match(/^[^0-9]/)),o=new Set(n);o.size&&r.set(e,o)}const n=e.querySelectorAll("[exportparts]");for(const e of Array.from(n)){const t=e.getAttribute("exportparts"),n=t?a(t):null;if(!n||!n.size)continue;const o=s(e)??[];for(const[e,t]of o){const o=new Set;t.forEach(e=>{const t=n.get(e);t&&o.add(t)}),o.size&&r.set(e,o)}}return r}(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},61825(e,t){"use strict";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")}},11232(e,t){"use strict";t.getShadowRoots=void 0,t.getShadowRoots=function*e(t=document){const n=(r(t)?t:t.ownerDocument).createTreeWalker(t,NodeFilter.SHOW_ELEMENT);for(;n.nextNode();){const{shadowRoot:t}=n.currentNode;t&&(yield t,yield*e(t))}};const r=e=>e.nodeType===e.DOCUMENT_NODE},38325(e,t,r){"use strict";t.getAllStyleSheets=void 0;const n=r(11232),o=r(25470),i=Symbol("requestStyleSheetsFromBackground");t.getAllStyleSheets=async function(e,t=document){return o.cache.getAsync(i,()=>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))}},73727(e,t){"use strict";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"))}}},38392(e,t){"use strict";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"))}}},24628(e,t){"use strict";t.isRotated=void 0,t.isRotated=function(e){return 0!==function(e){const t=e.getPropertyValue("rotate");if(!t||"none"===t)return 0;const r=t.split(" ");return parseFloat(r[r.length-1])}(e)||0!==function(e){const t=e.getPropertyValue("transform");if(!t||"none"===t)return 0;const r=t.split(","),n=r[0].indexOf("("),o=parseFloat(r[0].substr(n+1)),i=parseFloat(r[1]);return 180*Math.atan2(i,o)/Math.PI}(e)}},87209(e,t,r){"use strict";t.getAccDescription=void 0;const n=r(48942);function o(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 i(e){if(e.attr("aria-description"))return n.axe.commons.text.sanitize(e.attr("aria-description"))}function s(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[o,i,s].reduce((r,n)=>r??n(e,t),void 0)??""}},5449(e,t,r){"use strict";t.getWordRects=void 0;const n=r(48942),o=r(83144);function i(e,t,r){const n=document.createRange();return n.setStart(e,t),n.setEnd(e,t+r),Array.from(n.getClientRects())}t.getWordRects=function(e){(0,o.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=r(n);for(const{index:r,length:o}of e)t.push(...i(n,r,o))}return t;function r({nodeValue:e}){(0,o.assert)(e,"textNode.nodeValue is not defined");let t=0,r=0,n="";const i=[],s=e=>{(e.charCount>1||/[0-9]/.test(e.word))&&i.push(e)};for(const o of e)a(o)?(n+=o,t++):n.length>0?(s({charCount:t,index:r,length:n.length,word:n}),r+=n.length+o.length,n="",t=0):r+=o.length;return s({index:r,length:n.length,word:n,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},40280(e,t,r){"use strict";t.isInAccessibleText=void 0;const n=r(48942),o=r(83144),i=r(25470),s=r(73868),a=Symbol("accTextCache"),c=i.cache.child(a);function l(e){return c.get(e,()=>{(0,o.assert)(e.actualNode instanceof Element,"vNode.actualNode must be an Element");const t=e.actualNode;if((0,s.isNameFromContent)(e))return t;const r=n.axe.commons.aria.getAccessibleRefs(e).find(e=>!!n.axe.commons.aria.getRole(e,{noPresentational:!0})&&function(e,t){return u.filter(r=>{const o=e.getAttribute(r);return!!o&&n.axe.utils.tokenList(o).includes(t.id)})}(e,t).length);if(r)return r;const i=function(e){if("label"!==e.nodeName.toLowerCase())return null;const t=e.getAttribute("for")?.trim(),r=t&&e.ownerDocument?.getElementById(t);if(r&&p(r))return r;const n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>t!==e&&t instanceof HTMLElement&&p(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=n.nextNode();return o instanceof HTMLElement?o:null}(t);return i||(e.parent?l(e.parent):null)})}t.isInAccessibleText=function(e){return null!==l(e)};const u=["aria-labelledby","aria-describedby"];const d=["button","input","meter","output","progress","select","textarea"];function p(e){const t=e.nodeName.toLowerCase();return("input"!==t||"hidden"!==e.getAttribute("type"))&&d.includes(t)}},73868(e,t,r){"use strict";t.isNameFromContent=void 0;const n=r(25470),o=r(48942),i=Symbol("nameFromContentRoles"),s=["term","directory","listitem","section","figure"];t.isNameFromContent=function(e){const t=n.cache.get(i,()=>o.axe.commons.standards.getAriaRolesSupportingNameFromContent().filter(e=>!s.includes(e))),r=o.axe.commons.aria.getRole(e);return!!r&&t.includes(r)}},81720(e,t){"use strict";function r(e){return["include","exclude"].some(t=>o(e,t)&&n(e[t]))}function n(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 r(e)||n(e)}},61104(e,t,r){"use strict";t.dropObscuredRects=void 0;const n=r(48942),o=r(79819);t.dropObscuredRects=function(e,t,r={}){const{rectsOverlap:i}=n.axe.commons.math,s=(0,o.getObscuredRects)(e),a=[];for(const e of t){if(0===s.filter(t=>i(e,t)).length)a.push(e);else if(r.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}},79819(e,t,r){"use strict";t.getObscuredRects=void 0;const n=r(48942),o=r(25470),i=r(63192),s=r(86256),a=Symbol("getObscuringRects"),c=o.cache.child(a);t.getObscuredRects=function(e){return c.get(e,()=>(0,s.findNearbyElms)(e).filter(t=>n.axe.commons.math.hasVisualOverlap(e,t)).map(i.getObscuringRects).flat())}},63192(e,t,r){"use strict";t.getObscuringRects=void 0;const n=r(48942),o=r(34344);t.getObscuringRects=function(e){const t=e.getComputedStylePropertyValue.bind(e),r=e.actualNode;if(r 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(r.getClientRects());const s=(0,o.getTextContentRect)(e);return s?[s]:[]}},34344(e,t,r){"use strict";t.getTextContentRect=void 0;const n=r(61104);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}}},73684(e,t,r){"use strict";t.getVisibilityRects=void 0;const n=r(83144);function o(e,t){const{vNode:r}=e.utils.nodeLookup(t);return r._advancedVisibleRects||(r._advancedVisibleRects=i(e,r)),r._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 r=t.boundingClientRect,i=function(e,{parent:t}){(0,n.assert)(t,"Cannot get clipping rect for a node without a parent");const{clippingRect:r,visibleRect:i}=o(e,t);if("visible"===t.getComputedStylePropertyValue("overflow"))return r;if(t.parent&&"body"===t.props.nodeName&&s(t.parent).fromBody)return r;return i}(e,t);return{visibleRect:e.commons.math.getIntersectionRect(r,i)??new DOMRect(r.x,r.y,0,0),clippingRect:i}}function s(e){const t=e.getComputedStylePropertyValue("overflow-x"),r=e.getComputedStylePropertyValue("overflow-y"),n=e.children?.find(e=>"body"===e.props.nodeName);return n&&"visible"===t&&"visible"===r?{overflowX:n.getComputedStylePropertyValue("overflow-x"),overflowY:n.getComputedStylePropertyValue("overflow-y"),fromBody:!0}:{overflowX:t,overflowY:r,fromBody:!1}}t.getVisibilityRects=o},91639(e,t,r){"use strict";t.addRecorderToAxe=void 0;const n=r(26764),o=r(33818),i=r(60655),s=r(62119),a=r(51236),c=r(71897),l=r(47766),u=r(39706),d=r(89613),p=r(83144),f=r(48942),h=Symbol("BACKGROUND_RECORDER_CLIENT");t.addRecorderToAxe=function(e,{bridge:t}){let r;(0,p.assert)(!e.recorderVersion||e.recorderVersion===d.version,`Failed to add Recorder v${d.version} because Recorder v${e.recorderVersion} is already installed.`),e.recorderVersion?(r=e[h],(0,p.assert)(r,"Advanced rules already initialized without a bridge"),(0,p.assert)(r.bridge===t,"Advanced rules already initialized with a different bridge")):(r=new l.BackgroundRecorderClient({bridge:t,axe:e}),e[h]=r,(0,c.updateAxeRun)(e,{background:r},u.advancedRun)),e.recorderVersion=d.version;const m=(0,a.createReporter)(e,i.recorderAsyncReporter);e.addReporter("advancedInputReporter",m);const b=n.recorderRules.map(t=>g(e,t)),v=o.recorderChecks.map(t=>y(e,t,r));e.configure({rules:b,checks:v,reporter:"advancedInputReporter"}),(0,s.updateNodeSerializer)(e),(0,f.setAxeProxy)(e)};const m={passed:!0,failed:!1,incomplete:void 0};function g(e,t){const r=function(e,t){return"function"!=typeof t?t:(r,n)=>t({domNode:r,vNode:n,axe:e})}(e,t.matches),n={...t,matches:r};return r||delete n.matches,n}function y(e,t,r){return{...t,evaluate(n,o,i){const s={domNode:n,options:o,vNode:i,axe:e,background:r},a=t.evaluate(s);if("result"in a){const{data:e,result:t,relatedNodes:r}=a;return this.data(e),r&&this.relatedNodes(r),m[t]}const c=this.async();a.then(({data:e,result:t,relatedNodes:r})=>{this.data(e),r&&this.relatedNodes(r),c(m[t])},e=>{e instanceof Error?c(e):c(new Error(String(e)))})}}}},25014(e,t){"use strict";t.NODE_LIMIT=void 0,t.NODE_LIMIT=15e3},62119(e,t,r){"use strict";t.updateNodeSerializer=void 0;const n=r(83144),o=r(44099),i=r(73727),s=r(38392),a=r(24628),c=r(73684);function l(e,t,r){(0,n.assert)(t.advanced._frameProps,"frameProps is missing");const{innerFrameRect:i,clippingRect:s}=t.advanced._frameProps,a=r.commons.math.getIntersectionRect((0,o.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=r.commons.math.getIntersectionRect((0,o.toDOMRect)(a),(0,o.toDOMRect)(s));return c?(0,o.fromDOMRect)(c):{x:a.x,y:a.y,width:0,height:0}}t.updateNodeSerializer=function(e){e.utils.nodeSerializer.update({toSpec(t){const{element:r}=t,{visibleRect:n,clippingRect:l}=(0,c.getVisibilityRects)(e,r),u=r.ownerDocument.defaultView;let d={x:0,y:0};u&&u.top===u&&(d={x:-u.scrollX||0,y:-u.scrollY||0});const p={visibleBoundingRect:(0,o.fromDOMRect)(n),clippingRect:(0,o.fromDOMRect)(l),windowCoordinate:d};if(function(e,t){const{vNode:r}=e.utils.nodeLookup(t);return["frame","iframe"].includes(r.props.nodeName)}(e,r)){const e=function(e){const t=window.getComputedStyle(e),r=(0,i.getBorder)(t),n=(0,s.getPadding)(t),{x:o,y:c,width:l,height:u}=e.getBoundingClientRect();return{innerFrameRect:{x:o+r.left+n.left,y:c+r.top+n.top,width:l-r.left-r.right-n.left-n.right,height:u-r.top-r.bottom-n.top-n.bottom},rotated:(0,a.isRotated)(t)}}(r);p._frameProps={...e,clippingRect:l}}return{...t.toJSON(),advanced:p}},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}}})}},39706(e,t,r){"use strict";t.advancedRun=void 0;const n=r(83144),o=r(6857),i=r(58821),s=r(26764),a=r(41838);function c(e,t){const r={ruleId:t.id,method:"#asyncAfter",...(0,a.serialError)(e)},n=t.incomplete[0].node,o=[{id:"error-occurred",data:r,result:void 0,message:"Axe encountered an error; test the page for this type of problem manually"}];return{...t,result:"incomplete",error:r,passes:[],violations:[],incomplete:[{result:"cantTell",impact:void 0,node:n,any:[],all:[],none:o}]}}t.advancedRun=async function({axe:e,context:t=document,options:r={},background:a}){const{runOptions:l,backgroundOptions:u}=(0,i.extractRunOptions)(e,r);try{let r,i;if(await(a?.setup(u)),a&&u.screenshot){const{scrollX:e,scrollY:t}=window;({screenshot:r,zoom:i}=await o.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=r,d.advancedRuleInput.screenshotScale=i,await async function({ruleResults:e,...t}){const{recorderResults:r=[]}=e.advancedRuleInput;for(let e=0;e<r.length;e++){const i=r[e],a=s.recorderRules.find(e=>e.id===i.id);if(a&&"asyncAfter"in a){const s=await o.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=>c(e,i))));r[e]=s}}return e}({ruleResults:d,axe:e,background:a})}finally{await(a?.teardown(u))}}},58821(e,t,r){"use strict";t.extractRunOptions=void 0;const n=r(26764);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}}},71897(e,t,r){"use strict";t.updateAxeRun=void 0;const n=r(81720);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)}}}},86739(e,t,r){"use strict";const n=r(91639);var o=r(47766);const i=r(22286);var s=r(52058);t.default={addRecorderToAxe:n.addRecorderToAxe,v1AdvancedAsyncReporter:i.v1AdvancedAsyncReporter}},51236(e,t){"use strict";t.createReporter=void 0;t.createReporter=(e,t)=>(r,n,o,i)=>{t(e,r,n).then(o,e=>i(e))}},83493(e,t){"use strict";t.dedupeContrastResults=void 0,t.dedupeContrastResults=function(e){const t=e.find(({id:e})=>"color-contrast"===e),r=e.find(({id:e})=>"recorder/text-contrast"===e);if(!t||!r)return;if(0===t.incomplete.length)return r.incomplete=[],void(r.result="inapplicable");const n=t.incomplete.reduce((e,t)=>e.add(JSON.stringify(t.node.ancestry)),new Set);r.incomplete=r.incomplete.filter(e=>n.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"}},67388(e,t){"use strict";t.dedupeImageDescription=void 0,t.dedupeImageDescription=function(e){const t=e.find(({id:e})=>"image-alt"===e),r=e.find(({id:e})=>"recorder/image-description"===e);if(!t||!r)return;const n=(e.find(({id:e})=>"image-alt"===e)?.violations??[]).reduce((e,t)=>e.add(JSON.stringify(t.node.ancestry)),new Set);r.incomplete=r.incomplete.filter(e=>!n.has(JSON.stringify(e.node.ancestry))),0===r.incomplete.length&&(r.result="inapplicable")}},8335(e,t,r){"use strict";t.limitRecorderResultsNodes=void 0;const n=r(25014);function o(e,t){const r={...e,passes:[],incomplete:[],violations:[]};let n=0;const o=["violations","incomplete","passes"];for(const i of o){const o=Math.min(e[i].length,t-n);r[i]=e[i].slice(0,o),n+=o}return r}function i(e){return e.passes.length+e.incomplete.length+e.violations.length}t.limitRecorderResultsNodes=function(e,t=n.NODE_LIMIT){const r=e.map((e,t)=>({result:e,nodeCount:i(e),originalIndex:t}));r.sort((e,t)=>e.nodeCount-t.nodeCount);let s=t,a=null;const c=new Array(e.length);for(let e=0;e<r.length;e++){const{result:t,nodeCount:n,originalIndex:i}=r[e];if(null!==a){c[i]=o(t,a);continue}const l=r.length-e,u=Math.floor(s/l);n>u?(a=u,c[i]=o(t,a)):(c[i]=t,s-=n)}return c}},60655(e,t,r){"use strict";t.recorderAsyncReporter=void 0;const n=r(89613),o=r(22286),i=r(83493),s=r(67388),a=r(8335);t.recorderAsyncReporter=async(e,t,r)=>{(0,i.dedupeContrastResults)(t),(0,s.dedupeImageDescription)(t);const c=t.filter(e=>!e.tags.includes("advanced")),l=t.filter(e=>e.tags.includes("advanced")),u=await(0,o.v1AdvancedAsyncReporter)(e,c,r),d=await new Promise((t,n)=>{e.getReporter("raw")(l,r,t,n)});return{...u,advancedRuleInput:{recorderResults:(0,a.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}}}},22286(e,t){"use strict";t.v1AdvancedAsyncReporter=void 0;const r=["passes","incomplete","violations"];function n(e,t,r){const n=o.bind(null,e,t),s=r.nodes.map(r=>{const o=i(r.ancestry);return!0!==t.ancestry&&delete r.ancestry,{...r,any:r.any.map(n),all:r.all.map(n),none:r.none.map(n),advanced:e.get(o)}});return{...r,nodes:s}}function o(e,t,{relatedNodes:r,...n}){return r?{...n,relatedNodes:r.map(r=>{const n=i(r.ancestry);!0!==t.ancestry&&delete r.ancestry;const o=e.get(n);return{...r,advanced:o}})}:n}t.v1AdvancedAsyncReporter=async function(e,t,o){const s=function(e,t){const n={selectors:!1,ancestry:!0},o=e=>t.utils.nodeSerializer.dqElmToSpec(e,n),s=new Map;for(const t of e)for(const e of r)for(const r of t[e]){for(const e of["any","all","none"])r[e].forEach(e=>e.relatedNodes?.forEach(e=>{const t=o(e);s.set(i(t.ancestry),t.advanced)}));const e=o(r.node);s.set(i(e.ancestry),e.advanced)}return s}(t,e),a=n.bind(null,s,o),c=await new Promise((r,n)=>{const i=e.getReporter("v1"),s={...o,ancestry:!0};i(t,s,r,n)});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(" >>> ")},52058(e,t,r){"use strict";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 o=n(r(38188)),i=n(r(1610)),s=n(r(83309)),a=n(r(14906)),c=n(r(86925)),l=n(r(792)),u=n(r(50486));t.advancedRuleSpecs={[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,[u.default.id]:u.default}},50486(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"]}},38188(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"]}},1610(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"]}},86925(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","imageDescriptions"],any:["advanced/image-decorative"]}},792(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","imageDescriptions"],any:["advanced/image-informative-has-alt"]}},83309(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"]}},14906(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"]}},33818(e,t,r){"use strict";t.recorderChecks=void 0;const n=r(64885),o=r(14690),i=r(65113),s=r(25914),a=r(83134);t.recorderChecks=[n.textContrastCheck,o.screenshotFeaturesCheck,i.focusVisibleCheck,s.imageDescriptionCheck,a.formStructureCheck]},82411(e,t){"use strict";t.findFocusListeners=void 0;const r=/^([^ :>]+):nth-child\(\d+\)/;function n(e,t,r={}){if(t.length<=e.length&&t.every((t,r)=>o(e[r],t)))return!0;if(!r.matchAncestor)return!1;const n=Math.min(t.length,e.length)-1;return!!e.slice(0,n).every((e,r)=>o(e,t[r]))&&!!o(e[n],t[n],r)}function o(e,t,{matchAncestor:n}={}){return!t.startsWith("html")&&!e.match(r)&&(t=t.replace(r,"$1")),n?e.startsWith(t):e===t}t.findFocusListeners=function(e,t){return t.filter(t=>{if(t.ancestry.length!==e.length)return!1;const r="focusin"===t.type||t.useCapture;for(let o=0;o<t.ancestry.length;o++){if(!n(i(e[o]),i(t.ancestry[o]),{matchAncestor:r&&o===t.ancestry.length-1}))return!1}return!0})};const i=e=>Array.isArray(e)?e:[e]},65113(e,t,r){"use strict";t.focusVisibleCheck=t.p=void 0;const n=r(38325),o=r(91022),i=r(25470),s="incomplete";t.p=3,t.focusVisibleCheck={id:"recorder/focus-visible",options:{},async evaluate({background:e,domNode:r}){if(!e)return{result:s,data:{checkVersion:t.p}};const[i,a]=await Promise.all([c(e),(0,n.getAllStyleSheets)(e)]),l=(0,o.findFocusIndicators)(r,a);let u=0;const d=new Map,p=l.map(({elm:e,pseudoElm:t})=>{if(e===r)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}:{}}}),f=new Array(u);d.forEach((e,t)=>{f[e]=t});const h={checkVersion:t.p,possibleIndicators:p,frameId:i};return{result:s,data:h,relatedNodes:f}}};const a=Symbol("background.getFrameId");async function c(e){return i.cache.getAsync(a,async()=>(await e.getFrameId()).frameId)}},61212(e,t,r){"use strict";t.focusVisibleMatches=void 0;const n=r(87732),o=r(70793);t.focusVisibleMatches=function({vNode:e,domNode:t,axe:r}){return!!(0,o.isFocusableMedia)({vNode:e,axe:r})||!(!r.commons.dom.isInTabOrder(e)||function(e,t){if("input"===e.props.nodeName)return!i.has(e.props.type);if("textarea"===e.props.nodeName)return!0;return(0,n.isContentEditable)(t)}(e,t))};const i=new Set(["button","checkbox","color","file","image","radio","range","reset","submit"])},73375(e,t,r){"use strict";t.focusVisible=void 0;const n=r(65113),o=r(83144),i=r(82411),s=r(61212);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 r=function(e){const t=[];return e.forEach(e=>{const r=e.any[0].data,n=e.any[0].relatedNodes;if(a(r)&&r.possibleIndicators.length){const i=r.possibleIndicators.map(({pseudoElm:t,relatedNodeIndex:r})=>{let i=e.node.ancestry[e.node.ancestry.length-1];if(-1!==r){const e=`relatedNode ${r} not found`;(0,o.assert)(n?.[r],e);const t=n[r].ancestry;i=t[t.length-1]}return{selector:i,...t?{pseudoElm:t}:{}}});t.push({...r,ancestry:e.node.ancestry,possibleIndicators:i})}}),t}(e.incomplete);let n={},s=[];if(t){const e=await Promise.all([t.getComputedFocusStyles({focusTriggers:r}),t.getEventListeners({types:["focus","focusin"]})]);n=e[0].computedFocusStylesMap,s=e[1].listeners}return e.incomplete.forEach(e=>{e.any[0].data=function(e,t,r){const n=e.any[0].data,{checkVersion:o}=n;if(!a(n))return{checkVersion:o};const s=JSON.stringify(e.node.ancestry),c=t[s],l=(0,i.findFocusListeners)(e.node.ancestry,r);if(!c)return{checkVersion:o};return{checkVersion:o,focusIndicators:c.focusIndicators,error:c.error,focusListeners:l}}(e,n,s)}),e}};const a=e=>!!e.possibleIndicators},83134(e,t,r){"use strict";t.formStructureCheck=t.p=void 0;const n=r(87209),o=r(46735),i=r(75583),s=r(73274);t.p=1;const a=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]);function c(e){return(e.attr("placeholder")??e.attr("aria-placeholder")??"").trim()}function l(e,t){const r=e.props?.nodeName;return"select"===r||"textarea"===r||!("input"!==r||!t)&&!a.has(t)}function u(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:r}){const a=r.commons.text.accessibleTextVirtual(e),d=(0,o.getNearestForm)(e),p=function(e){if("input"!==e.props?.nodeName)return null;return e.props?.type??null}(e);return{data:{checkVersion:t.p,accessibleName:a,role:r.commons.aria.getRole(e,{noPresentational:!0}),accessibleDescription:(0,n.getAccDescription)(e,a),placeholder:c(e),inputType:p,autocompleteValue:(e.attr("autocomplete")??"").trim(),autocompleteSupport:l(e,p),fieldsetNames:(0,i.getFieldsetNames)(e),nearestHeadingText:(0,s.getPreviousHeading)(e),isDisabled:r.commons.forms.isDisabled(e),isInert:r.commons.dom.isInert(e),isReadonly:u(e)},result:"incomplete",relatedNodes:d?[d]:[]}}}},89831(e,t){"use strict";t.formStructureMatches=void 0;const r=new Set(["textbox","spinbutton","combobox","checkbox","radio","switch","slider","listbox","searchbox"]),n=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 n.has(t)}return!!r.has(o)}},95566(e,t,r){"use strict";t.formStructure=void 0;const n=r(83134),o=r(89831);t.formStructure={id:"recorder/form-structure",selector:"input, select, textarea, [role]",excludeHidden:!0,matches:o.formStructureMatches,tags:["advanced","AI"],any:[n.formStructureCheck.id]}},75583(e,t,r){"use strict";t.getFieldsetNames=void 0;const n=r(25470),o=r(48942),i=Symbol("FIELDSET_NAMES"),s=n.cache.child(i);t.getFieldsetNames=function e(t){return s.get(t,()=>{const r=t.parent;if(!r)return[];const n=e(r),i=r.props?.nodeName,s=o.axe.commons.aria.getRole(r,{noPresentational:!0});if(!("fieldset"===i)&&!("group"===s))return n;const a=o.axe.commons.text.accessibleTextVirtual(r).trim();return a?[a,...n]:n})}},46735(e,t,r){"use strict";t.getNearestForm=void 0;const n=r(83144),o=r(25470),i=r(48942),s=Symbol("NEAREST_FORM"),a=o.cache.child(s);t.getNearestForm=function e(t){return a.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"===i.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)})}},73274(e,t,r){"use strict";t.getPreviousHeading=void 0;const n=r(25470),o=r(48942),i=Symbol("PREVIOUS_HEADING"),s=n.cache.child(i);function a(e){const t=e.children??[];return 0===t.length?e:a(t[t.length-1])}t.getPreviousHeading=function e(t){return s.get(t,()=>{const r=t.parent;if(!r)return"";const n=function(e){const t=e.parent?.children??[],r=t.indexOf(e);if(r<1)return;return a(t[r-1])}(t)??r;return function(e){const t=o.axe.commons.aria.getRole(e);return"heading"===t}(n)?o.axe.commons.text.accessibleTextVirtual(n):e(n)})}},25914(e,t,r){"use strict";t.imageDescriptionCheck=t.p=void 0;const n=r(87209),o=r(79819);t.p=1,t.imageDescriptionCheck={id:"recorder/image-description",options:{},evaluate({vNode:e,axe:r}){const i=r.commons.text.accessibleTextVirtual(e),s=(0,n.getAccDescription)(e,i),a=(0,o.getObscuredRects)(e);return{data:{checkVersion:t.p,label:i,description:s,obscuredRects:a},result:"incomplete"}}}},93427(e,t,r){"use strict";t.imageDescriptionMatches=void 0;const n=r(48942),o=r(40280),i=r(79819);t.imageDescriptionMatches=function({domNode:e,vNode:t}){const r=(0,i.getObscuredRects)(t);return 0!==n.axe.commons.math.splitRects(t.boundingClientRect,r).length&&(e instanceof HTMLImageElement&&e.complete&&e.naturalHeight>0&&!(0,o.isInAccessibleText)(t))}},87410(e,t,r){"use strict";t.imageDescription=void 0;const n=r(25914),o=r(93427);t.imageDescription={id:"recorder/image-description",selector:"img",matches:o.imageDescriptionMatches,tags:["advanced","AI"],any:[n.imageDescriptionCheck.id]}},26764(e,t,r){"use strict";t.recorderRules=void 0;const n=r(26771),o=r(3802),i=r(87410),s=r(73375),a=r(95566);t.recorderRules=[n.textContrast,o.screenshotFeatures,i.imageDescription,s.focusVisible,a.formStructure]},14690(e,t,r){"use strict";t.screenshotFeaturesCheck=t.p=void 0;const n=r(48942),o=r(34344);t.p=5;function i(e){if(!e?.parent||"body"===e.props.nodeName)return[];const t=i(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:r}){const n=(0,o.getTextContentRect)(e),s=r.commons.dom.isVisibleOnScreen(e),a=i(e),c=r.commons.aria.getRole(e,{noPresentational:!1}),l=r.commons.dom.isFocusable(e),u=!!n;return{data:{checkVersion:t.p,contentRect:n,roles:a,visible:s,role:c,focusable:l,hasChildTextNodes:u},result:"incomplete"}}}},3195(e,t){"use strict";t.screenshotFeaturesMatches=void 0,t.screenshotFeaturesMatches=function(e){const{vNode:t,axe:r}=e;return!(!r.commons.dom.isFocusable(t)&&!function({vNode:e,axe:t}){const r=t.commons.aria.getRoleType(e);return"widget"===r||"composite"===r}(e))||!!function({vNode:e,axe:t}){return t.commons.dom.isVisibleOnScreen(e)&&t.commons.dom.hasContentVirtual(e,!0,!0)}(e)}},3802(e,t,r){"use strict";t.screenshotFeatures=void 0;const n=r(14690),o=r(3195);t.screenshotFeatures={id:"recorder/screenshot-features",selector:"*",matches:o.screenshotFeaturesMatches,excludeHidden:!0,tags:["advanced","AI"],any:[n.screenshotFeaturesCheck.id]}},64885(e,t,r){"use strict";t.textContrastCheck=t.p=void 0;const n=r(5449),o=r(30947),i=r(47050),s=r(61104);t.p=4,t.textContrastCheck={id:"recorder/text-contrast",options:{},evaluate({vNode:e}){const r=(0,n.getWordRects)(e);return{data:{checkVersion:t.p,rects:(0,s.dropObscuredRects)(e,r),fontSize:parseFloat(e.getComputedStylePropertyValue("font-size")),fontWeight:parseFloat(e.getComputedStylePropertyValue("font-weight")),ownCss:(0,i.getOwnCssProps)(e),ancestorCss:(0,o.getAncestorCssProps)(e)},result:"incomplete"}}}},26771(e,t,r){"use strict";t.textContrast=void 0;const n=r(64885);t.textContrast={id:"recorder/text-contrast",matches:"color-contrast-matches",excludeHidden:!1,tags:["advanced"],all:[n.textContrastCheck.id]}},30947(e,t){"use strict";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(n){if(!n)return[];const o=[];for(const{name:e,ignore:i}of t.D){const t=n.getComputedStylePropertyValue(e);t&&!r(i,t)&&o.push([e,t])}const i=e(n.parent),s=Object.fromEntries(o);return s["text-decoration-line"]||delete s["text-decoration"],Object.keys(s).length>0&&i.push(s),i};const r=(e,t)=>e instanceof RegExp?e.test(t):t===e},47050(e,t){"use strict";t.getOwnCssProps=t.H=void 0,t.H=["color","font","font-palette","text-emphasis","text-shadow","-webkit-text-stroke"],t.getOwnCssProps=function(e){const r={};for(const n of t.H)r[n]=e.getComputedStylePropertyValue(n);return r}},5969(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__generator||function(e,t){var r,n,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(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var s,a,c,l=r(67151);function u(e,t,r){for(var n=null,o=[],i=e,c=0,u=function(){var e=y(function(e){var t=e.getAttribute("id");if(t&&a.idName(t))return{name:"#"+l(t,{isIdentifier:!0}),penalty:0};return null}(i))||y.apply(void 0,function(e){var t=Array.from(e.attributes).filter(function(e){return a.attr(e.name,e.value)});return t.map(function(e){return{name:"["+l(e.name,{isIdentifier:!0})+'="'+l(e.value)+'"]',penalty:.5}})}(i))||y.apply(void 0,function(e){var t=Array.from(e.classList).filter(a.className);return t.map(function(e){return{name:"."+l(e,{isIdentifier:!0}),penalty:1}})}(i))||y(function(e){var t=e.tagName.toLowerCase();if(a.tagName(t))return{name:t,penalty:2};return null}(i))||[{name:"*",penalty:3}],u=function(e){var t=e.parentNode;if(!t)return null;var r=t.firstChild;if(!r)return null;var n=0;for(;r&&(r.nodeType===Node.ELEMENT_NODE&&n++,r!==e);)r=r.nextSibling;return n}(i);if(t===s.All)u&&(e=e.concat(e.filter(g).map(function(e){return m(e,u)})));else if(t===s.Two)e=e.slice(0,1),u&&(e=e.concat(e.filter(g).map(function(e){return m(e,u)})));else if(t===s.One){var p=(e=e.slice(0,1))[0];u&&g(p)&&(e=[m(p,u)])}for(var f=0,h=e;f<h.length;f++){(p=h[f]).level=c}if(o.push(e),o.length>=a.seedMinLength&&(n=d(o,r)))return"break";i=i.parentElement,c++};i&&i!==a.root.parentElement;){if("break"===u())break}return n||(n=d(o,r)),n}function d(e,t){var r=w(v(e));if(r.length>a.threshold)return t?t():null;for(var n=0,o=r;n<o.length;n++){var i=o[n];if(h(i))return i}return null}function p(e){for(var t=e[0],r=t.name,n=1;n<e.length;n++){var o=e[n].level||0;r=t.level===o-1?e[n].name+" > "+r:e[n].name+" "+r,t=e[n]}return r}function f(e){return e.map(function(e){return e.penalty}).reduce(function(e,t){return e+t},0)}function h(e){switch(c.querySelectorAll(p(e)).length){case 0:throw new Error("Can't select any node with this selector: "+p(e));case 1:return!0;default:return!1}}function m(e,t){return{name:e.name+":nth-child("+t+")",penalty:e.penalty+1}}function g(e){return"html"!==e.name&&!e.name.startsWith("#")}function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter(b);return r.length>0?r:null}function b(e){return null!=e}function v(e,t){var r,n,s;return void 0===t&&(t=[]),o(this,function(o){switch(o.label){case 0:if(!(e.length>0))return[3,5];r=0,n=e[0],o.label=1;case 1:return r<n.length?(s=n[r],[5,i(v(e.slice(1,e.length),t.concat(s)))]):[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[3,7];case 5:return[4,t];case 6:o.sent(),o.label=7;case 7:return[2]}})}function w(e){return Array.from(e).sort(function(e,t){return f(e)-f(t)})}function S(e,t,r){var n,s,l;return void 0===r&&(r={counter:0,visited:new Map}),o(this,function(o){switch(o.label){case 0:if(!(e.length>2&&e.length>a.optimizedMinLength))return[3,5];n=1,o.label=1;case 1:return n<e.length-1?r.counter>a.maxNumberOfTries?[2]:(r.counter+=1,(s=e.slice()).splice(n,1),l=p(s),r.visited.has(l)?[2]:h(s)&&function(e,t){return c.querySelector(p(e))===t}(s,t)?[4,s]:[3,4]):[3,5];case 2:return o.sent(),r.visited.set(l,!0),[5,i(S(s,t,r))];case 3:o.sent(),o.label=4;case 4:return n++,[3,1];case 5:return[2]}})}!function(e){e[e.All=0]="All",e[e.Two=1]="Two",e[e.One=2]="One"}(s||(s={})),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};a=n({},r,t),c=function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return e;if(e===t.root)return e.ownerDocument;return e}(a.root,r);var o=u(e,s.All,function(){return u(e,s.Two,function(){return u(e,s.One)})});if(o){var i=w(S(o,e));return i.length>0&&(o=i[0]),p(o)}throw new Error("Selector was not found.")}},80870(e,t,r){"use strict";r.d(t,{fx:()=>n,pW:()=>i,wk:()=>o});const n=()=>"chrome",o="axe",i="AxeChrome"},33381(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(96367);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=async e=>{if(!e||0===e.length)return null;const t=await n.yS.send(n._O.content,"selector:identify",{selector:e});if(!Array.isArray(t)||null==t||!t.length)return null;const r=t.pop(),o=await n.yS.send(n._O.content,"highlight:get-node-metadata",{selector:r.selector},{frameId:r.frameId});if(!o)return null;const[s,...a]=await Promise.all([r,...t].map(e=>n.yS.send(n._O.content,"highlight:get-element-layout",{selector:e.selector},{frameId:e.frameId}))),c=a.reduce((e,t)=>({top:e.top+t.offsetTop+t.border.top,left:e.left+t.offsetLeft+t.border.left}),{top:0,left:0});return i(i({},o),{},{selector:e,frameId:r.frameId,layout:i(i({},s),{},{top:s.top+c.top,left:s.left+c.left})})}},28342(e,t,r){"use strict";r.d(t,{A:()=>u});var n=r(60119),o=r(96367),i=r(22395),s=r(80870),a=r(13205);const c=r(9510).El.lU.match(/(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)/).groups;async function l(e){if(window.frames.length>0){const t=500,r=Promise.all(Array.from(window.frames).map(t=>(0,n.A)(t,"axe:ping",e).catch(()=>{}))),o=new Promise(e=>setTimeout(e,t));await Promise.race([r,o])}}async function u(e){var t,r,u,d,p,f;const h=function(e){return!e||"latest"===e||e===`${c.major}.${c.minor}`||e===`${c.major}.${c.minor}.${c.patch}`}(e);if(!h&&!(0,i.Ay)(e))return!1;if(h&&"axe"in window||null!==(t=window.axeVersions)&&void 0!==t&&t[a.e[e]])return await l(e),!0;let m;try{m=await async function(e){let t;globalThis.define=(e,r,n)=>{"axe-core"===e&&(t=n())},globalThis.define.amd=!0;const r=a.e[e],n=async()=>await import(browser.runtime.getURL(`axe-versions/${"latest"===e?e:r}/axe.js`));if(window.axeVersions=window.axeVersions||{},"latest"===e)await n();else if(!window.axeVersions[r]){const e=window.axe;await n(),window.axe=e,window.axeVersions[r]=t}return delete globalThis.define,t}(h?"latest":e)}catch{return!1}const g=["wcag22aaa","wcag22aa","wcag22a","wcag21aaa","wcag2aaa"],y=[];if("function"==typeof(null===(r=m)||void 0===r?void 0:r.getRules))for(const{ruleId:e}of m.getRules(g)){m.utils.getRule(e).enabled||y.push(e)}null===(u=m)||void 0===u||u.configure({branding:{brand:s.wk,application:s.pW},rules:y.map(e=>({id:e,enabled:!0}))});const b=h||null===(d=m)||void 0===d||!d.version?"axe-frame-messenger":`axe-frame-messenger@${m.version}`;return null===(p=m)||void 0===p||null===(f=p.frameMessenger)||void 0===f||f.call(p,{post:async(e,t,r)=>{r(await(0,n.A)(e,b,t,{timeout:"axe.ping"===t.topic?5e3:6e4}))},open:e=>{o.yS.listen(b,async({message:t})=>await new Promise(r=>{e(t,e=>{r(JSON.parse(JSON.stringify(e)))})}))}}),await l(e),!0}},10069(e,t,r){"use strict";r.d(t,{default:()=>Bs});var n={};r.r(n),r.d(n,{DocumentPosition:()=>We,append:()=>Ae,appendChild:()=>Oe,compareDocumentPosition:()=>ze,existsOne:()=>je,filter:()=>Ne,find:()=>Ie,findAll:()=>Re,findOne:()=>Pe,findOneChild:()=>ke,getAttributeValue:()=>ye,getChildren:()=>he,getElementById:()=>qe,getElements:()=>Ve,getElementsByClassName:()=>He,getElementsByTagName:()=>Be,getElementsByTagType:()=>Ue,getFeed:()=>Ke,getInnerHTML:()=>ue,getName:()=>ve,getOuterHTML:()=>le,getParent:()=>me,getSiblings:()=>ge,getText:()=>de,hasAttrib:()=>be,hasChildren:()=>T,innerText:()=>fe,isCDATA:()=>E,isComment:()=>O,isDocument:()=>A,isTag:()=>S,isText:()=>x,nextElementSibling:()=>we,prepend:()=>Ce,prependChild:()=>Te,prevElementSibling:()=>Se,removeElement:()=>Ee,removeSubsets:()=>$e,replaceElement:()=>xe,testElement:()=>Fe,textContent:()=>pe,uniqueSort:()=>Ge});const o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i;const s=new Uint8Array(16);function a(){if(!i&&(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(s)}const c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));function l(e,t=0){return c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]}const u=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();const n=(e=e||{}).random||(e.rng||a)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return l(n)};var d;!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"}(d||(d={}));const p=d.Root,f=d.Text,h=d.Directive,m=d.Comment,g=d.Script,y=d.Style,b=d.Tag,v=d.CDATA,w=d.Doctype;function S(e){return(t=e).type===d.Tag||t.type===d.Script||t.type===d.Style;var t}function E(e){return e.type===d.CDATA}function x(e){return e.type===d.Text}function O(e){return e.type===d.Comment}function A(e){return e.type===d.Root}function T(e){return Object.prototype.hasOwnProperty.call(e,"children")}const C=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),N=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var I;const k=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),P=null!==(I=String.fromCodePoint)&&void 0!==I?I:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function j(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=k.get(e))&&void 0!==t?t:e}var R;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(R||(R={}));var D,L,M;function _(e){return e>=R.ZERO&&e<=R.NINE}function F(e){return e>=R.UPPER_A&&e<=R.UPPER_F||e>=R.LOWER_A&&e<=R.LOWER_F}function V(e){return e===R.EQUALS||function(e){return e>=R.UPPER_A&&e<=R.UPPER_Z||e>=R.LOWER_A&&e<=R.LOWER_Z||_(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(D||(D={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(L||(L={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(M||(M={}));class q{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=L.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=M.Strict}startEntity(e){this.decodeMode=e,this.state=L.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case L.EntityStart:return e.charCodeAt(t)===R.NUM?(this.state=L.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=L.NamedEntity,this.stateNamedEntity(e,t));case L.NumericStart:return this.stateNumericStart(e,t);case L.NumericDecimal:return this.stateNumericDecimal(e,t);case L.NumericHex:return this.stateNumericHex(e,t);case L.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===R.LOWER_X?(this.state=L.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=L.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const o=r-t;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(t,o),n),this.consumed+=o}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(!_(n)&&!F(n))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(!_(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return null===(r=this.errors)||void 0===r||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===R.SEMI)this.consumed+=1;else if(this.decodeMode===M.Strict)return 0;return this.emitCodePoint(j(this.result),this.consumed),this.errors&&(e!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],o=(n&D.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=H(r,n,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return 0===this.result||this.decodeMode===M.Attribute&&(0===o||V(i))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],o=(n&D.VALUE_LENGTH)>>14,0!==o){if(i===R.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==M.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&D.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~D.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case L.NamedEntity:return 0===this.result||this.decodeMode===M.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case L.NumericDecimal:return this.emitNumericEntity(0,2);case L.NumericHex:return this.emitNumericEntity(0,3);case L.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case L.EntityStart:return 0}}}function B(e){let t="";const r=new q(e,e=>t+=P(e));return function(e,n){let o=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(o,i),r.startEntity(n);const s=r.write(e,i+1);if(s<0){o=i+r.end();break}o=i+s,i=0===s?o+1:o}const s=t+e.slice(o);return t="",s}}function H(e,t,r,n){const o=(t&D.BRANCH_LENGTH)>>7,i=t&D.JUMP_TABLE;if(0===o)return 0!==i&&n===i?r:-1;if(i){const t=n-i;return t<0||t>=o?-1:e[r+t]-1}let s=r,a=s+o-1;for(;s<=a;){const t=s+a>>>1,r=e[t];if(r<n)s=t+1;else{if(!(r>n))return e[t+o];a=t-1}}return-1}B(C),B(N);function U(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}new Map(U([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(U([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(U([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(U([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));const $=/["&'<>$\x80-\uFFFF]/g,W=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),z=null!=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);function G(e){let t,r="",n=0;for(;null!==(t=$.exec(e));){const o=t.index,i=e.charCodeAt(o),s=W.get(i);void 0!==s?(r+=e.substring(n,o)+s,n=o+1):(r+=`${e.substring(n,o)}&#x${z(e,o).toString(16)};`,n=$.lastIndex+=Number(55296==(64512&i)))}return r+e.substr(n)}function K(e,t){return function(r){let n,o=0,i="";for(;n=e.exec(r);)o!==n.index&&(i+=r.substring(o,n.index)),i+=t.get(n[0].charCodeAt(0)),o=n.index+1;return i+r.substring(o)}}K(/[&<>'"]/g,W);const Y=K(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),J=K(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Z,X;!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(Z||(Z={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(X||(X={}));const Q=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"].map(e=>[e.toLowerCase(),e])),ee=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"].map(e=>[e.toLowerCase(),e])),te=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function re(e){return e.replace(/"/g,"&quot;")}const ne=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function oe(e,t={}){const r="length"in e?e:[e];let n="";for(let e=0;e<r.length;e++)n+=se(r[e],t);return n}const ie=oe;function se(e,t){switch(e.type){case p:return oe(e.children,t);case w:case h:return`<${e.data}>`;case m:return function(e){return`\x3c!--${e.data}--\x3e`}(e);case v:return function(e){return`<![CDATA[${e.children[0].data}]]>`}(e);case g:case y:case b:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=Q.get(e.name))&&void 0!==r?r:e.name,e.parent&&ae.has(e.parent.name)&&(t={...t,xmlMode:!1}));!t.xmlMode&&ce.has(e.name)&&(t={...t,xmlMode:"foreign"});let n=`<${e.name}`;const o=function(e,t){var r;if(!e)return;const n=!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)?re:t.xmlMode||"utf8"!==t.encodeEntities?G:Y;return Object.keys(e).map(r=>{var o,i;const s=null!==(o=e[r])&&void 0!==o?o:"";return"foreign"===t.xmlMode&&(r=null!==(i=ee.get(r))&&void 0!==i?i:r),t.emptyAttrs||t.xmlMode||""!==s?`${r}="${n(s)}"`:r}).join(" ")}(e.attribs,t);o&&(n+=` ${o}`);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&ne.has(e.name))?(t.xmlMode||(n+=" "),n+="/>"):(n+=">",e.children.length>0&&(n+=oe(e.children,t)),!t.xmlMode&&ne.has(e.name)||(n+=`</${e.name}>`));return n}(e,t);case f:return function(e,t){var r;let n=e.data||"";!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)||!t.xmlMode&&e.parent&&te.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?G(n):J(n));return n}(e,t)}}const ae=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),ce=new Set(["svg","math"]);function le(e,t){return ie(e,t)}function ue(e,t){return T(e)?e.children.map(e=>le(e,t)).join(""):""}function de(e){return Array.isArray(e)?e.map(de).join(""):S(e)?"br"===e.name?"\n":de(e.children):E(e)?de(e.children):x(e)?e.data:""}function pe(e){return Array.isArray(e)?e.map(pe).join(""):T(e)&&!O(e)?pe(e.children):x(e)?e.data:""}function fe(e){return Array.isArray(e)?e.map(fe).join(""):T(e)&&(e.type===d.Tag||E(e))?fe(e.children):x(e)?e.data:""}function he(e){return T(e)?e.children:[]}function me(e){return e.parent||null}function ge(e){const t=me(e);if(null!=t)return he(t);const r=[e];let{prev:n,next:o}=e;for(;null!=n;)r.unshift(n),({prev:n}=n);for(;null!=o;)r.push(o),({next:o}=o);return r}function ye(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]}function be(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]}function ve(e){return e.name}function we(e){let{next:t}=e;for(;null!==t&&!S(t);)({next:t}=t);return t}function Se(e){let{prev:t}=e;for(;null!==t&&!S(t);)({prev:t}=t);return t}function Ee(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}function xe(e,t){const r=t.prev=e.prev;r&&(r.next=t);const n=t.next=e.next;n&&(n.prev=t);const o=t.parent=e.parent;if(o){const r=o.children;r[r.lastIndexOf(e)]=t,e.parent=null}}function Oe(e,t){if(Ee(t),t.next=null,t.parent=e,e.children.push(t)>1){const r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function Ae(e,t){Ee(t);const{parent:r}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){const e=r.children;e.splice(e.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function Te(e,t){if(Ee(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){const r=e.children[1];r.prev=t,t.next=r}else t.next=null}function Ce(e,t){Ee(t);const{parent:r}=e;if(r){const n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}function Ne(e,t,r=!0,n=1/0){return Ie(e,Array.isArray(t)?t:[t],r,n)}function Ie(e,t,r,n){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),--n<=0))return o;r&&T(t)&&t.children.length>0&&(s.unshift(0),i.unshift(t.children))}}function ke(e,t){return t.find(e)}function Pe(e,t,r=!0){const n=Array.isArray(t)?t:[t];for(let t=0;t<n.length;t++){const o=n[t];if(S(o)&&e(o))return o;if(r&&T(o)&&o.children.length>0){const t=Pe(e,o.children,!0);if(t)return t}}return null}function je(e,t){return(Array.isArray(t)?t:[t]).some(t=>S(t)&&e(t)||T(t)&&je(e,t.children))}function Re(e,t){const r=[],n=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=n[0].length){if(1===n.length)return r;n.shift(),o.shift();continue}const t=n[0][o[0]++];S(t)&&e(t)&&r.push(t),T(t)&&t.children.length>0&&(o.unshift(0),n.unshift(t.children))}}const De={tag_name:e=>"function"==typeof e?t=>S(t)&&e(t.name):"*"===e?S:t=>S(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=>x(t)&&e(t.data):t=>x(t)&&t.data===e};function Le(e,t){return"function"==typeof t?r=>S(r)&&t(r.attribs[e]):r=>S(r)&&r.attribs[e]===t}function Me(e,t){return r=>e(r)||t(r)}function _e(e){const t=Object.keys(e).map(t=>{const r=e[t];return Object.prototype.hasOwnProperty.call(De,t)?De[t](r):Le(t,r)});return 0===t.length?null:t.reduce(Me)}function Fe(e,t){const r=_e(e);return!r||r(t)}function Ve(e,t,r,n=1/0){const o=_e(e);return o?Ne(o,t,r,n):[]}function qe(e,t,r=!0){return Array.isArray(t)||(t=[t]),Pe(Le("id",e),t,r)}function Be(e,t,r=!0,n=1/0){return Ne(De.tag_name(e),t,r,n)}function He(e,t,r=!0,n=1/0){return Ne(Le("class",e),t,r,n)}function Ue(e,t,r=!0,n=1/0){return Ne(De.tag_type(e),t,r,n)}function $e(e){let t=e.length;for(;--t>=0;){const r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(let n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}var We;function ze(e,t){const r=[],n=[];if(e===t)return 0;let o=T(e)?e:e.parent;for(;o;)r.unshift(o),o=o.parent;for(o=T(t)?t:t.parent;o;)n.unshift(o),o=o.parent;const i=Math.min(r.length,n.length);let s=0;for(;s<i&&r[s]===n[s];)s++;if(0===s)return We.DISCONNECTED;const a=r[s-1],c=a.children,l=r[s],u=n[s];return c.indexOf(l)>c.indexOf(u)?a===t?We.FOLLOWING|We.CONTAINED_BY:We.FOLLOWING:a===e?We.PRECEDING|We.CONTAINS:We.PRECEDING}function Ge(e){return(e=e.filter((e,t,r)=>!r.includes(e,t+1))).sort((e,t)=>{const r=ze(e,t);return r&We.PRECEDING?-1:r&We.FOLLOWING?1:0}),e}function Ke(e){const t=Xe(tt,e);return t?"feed"===t.name?function(e){var t;const r=e.children,n={type:"atom",items:Be("entry",r).map(e=>{var t;const{children:r}=e,n={media:Ze(r)};et(n,"id","id",r),et(n,"title","title",r);const o=null===(t=Xe("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);const i=Qe("summary",r)||Qe("content",r);i&&(n.description=i);const s=Qe("updated",r);return s&&(n.pubDate=new Date(s)),n})};et(n,"id","id",r),et(n,"title","title",r);const o=null===(t=Xe("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);et(n,"description","subtitle",r);const i=Qe("updated",r);i&&(n.updated=new Date(i));return et(n,"author","email",r,!0),n}(t):function(e){var t,r;const n=null!==(r=null===(t=Xe("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],o={type:e.name.substr(0,3),id:"",items:Be("item",e.children).map(e=>{const{children:t}=e,r={media:Ze(t)};et(r,"id","guid",t),et(r,"title","title",t),et(r,"link","link",t),et(r,"description","description",t);const n=Qe("pubDate",t)||Qe("dc:date",t);return n&&(r.pubDate=new Date(n)),r})};et(o,"title","title",n),et(o,"link","link",n),et(o,"description","description",n);const i=Qe("lastBuildDate",n);i&&(o.updated=new Date(i));return et(o,"author","managingEditor",n,!0),o}(t):null}!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"}(We||(We={}));const Ye=["url","type","lang"],Je=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Ze(e){return Be("media:content",e).map(e=>{const{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(const e of Ye)t[e]&&(r[e]=t[e]);for(const e of Je)t[e]&&(r[e]=parseInt(t[e],10));return t.expression&&(r.expression=t.expression),r})}function Xe(e,t){return Be(e,t,!0,1)[0]}function Qe(e,t,r=!1){return pe(Be(e,t,r,1)).trim()}function et(e,t,r,n,o=!1){const i=Qe(r,n,o);i&&(e[t]=i)}function tt(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}var rt,nt=r(48982);!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"}(rt||(rt={}));var ot;!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"}(ot||(ot={}));const it=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,st=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,at=new Map([[126,ot.Element],[94,ot.Start],[36,ot.End],[42,ot.Any],[33,ot.Not],[124,ot.Hyphen]]),ct=new Set(["has","not","matches","is","where","host","host-context"]);const lt=new Set(["contains","icontains"]);function ut(e,t,r){const n=parseInt(t,16)-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}function dt(e){return e.replace(st,ut)}function pt(e){return 39===e||34===e}function ft(e){return 32===e||9===e||10===e||12===e||13===e}function ht(e){const t=[],r=mt(t,`${e}`,0);if(r<e.length)throw new Error(`Unmatched selector: ${e.slice(r)}`);return t}function mt(e,t,r){let n=[];function o(e){const n=t.slice(r+e).match(it);if(!n)throw new Error(`Expected name, found ${t.slice(r)}`);const[o]=n;return r+=e+o.length,dt(o)}function i(e){for(r+=e;r<t.length&&ft(t.charCodeAt(r));)r++}function s(){const e=r+=1;let n=1;for(;n>0&&r<t.length;r++)40!==t.charCodeAt(r)||a(r)?41!==t.charCodeAt(r)||a(r)||n--:n++;if(n)throw new Error("Parenthesis not matched");return dt(t.slice(e,r-1))}function a(e){let r=0;for(;92===t.charCodeAt(--e);)r++;return!(1&~r)}function c(){if(n.length>0&&function(e){switch(e.type){case rt.Adjacent:case rt.Child:case rt.Descendant:case rt.Parent:case rt.Sibling:case rt.ColumnCombinator:return!0;default:return!1}}(n[n.length-1]))throw new Error("Did not expect successive traversals.")}function l(e){n.length>0&&n[n.length-1].type===rt.Descendant?n[n.length-1].type=e:(c(),n.push({type:e}))}function u(e,t){n.push({type:rt.Attribute,name:e,action:t,value:o(1),namespace:null,ignoreCase:"quirks"})}function d(){if(n.length&&n[n.length-1].type===rt.Descendant&&n.pop(),0===n.length)throw new Error("Empty sub-selector");e.push(n)}if(i(0),t.length===r)return r;e:for(;r<t.length;){const e=t.charCodeAt(r);switch(e){case 32:case 9:case 10:case 12:case 13:0!==n.length&&n[0].type===rt.Descendant||(c(),n.push({type:rt.Descendant})),i(1);break;case 62:l(rt.Child),i(1);break;case 60:l(rt.Parent),i(1);break;case 126:l(rt.Sibling),i(1);break;case 43:l(rt.Adjacent),i(1);break;case 46:u("class",ot.Element);break;case 35:u("id",ot.Equals);break;case 91:{let e;i(1);let s=null;124===t.charCodeAt(r)?e=o(1):t.startsWith("*|",r)?(s="*",e=o(2)):(e=o(0),124===t.charCodeAt(r)&&61!==t.charCodeAt(r+1)&&(s=e,e=o(1))),i(0);let c=ot.Exists;const l=at.get(t.charCodeAt(r));if(l){if(c=l,61!==t.charCodeAt(r+1))throw new Error("Expected `=`");i(2)}else 61===t.charCodeAt(r)&&(c=ot.Equals,i(1));let u="",d=null;if("exists"!==c){if(pt(t.charCodeAt(r))){const e=t.charCodeAt(r);let n=r+1;for(;n<t.length&&(t.charCodeAt(n)!==e||a(n));)n+=1;if(t.charCodeAt(n)!==e)throw new Error("Attribute value didn't end");u=dt(t.slice(r+1,n)),r=n+1}else{const e=r;for(;r<t.length&&(!ft(t.charCodeAt(r))&&93!==t.charCodeAt(r)||a(r));)r+=1;u=dt(t.slice(e,r))}i(0);const e=32|t.charCodeAt(r);115===e?(d=!1,i(1)):105===e&&(d=!0,i(1))}if(93!==t.charCodeAt(r))throw new Error("Attribute selector didn't terminate");r+=1;const p={type:rt.Attribute,name:e,action:c,value:u,namespace:s,ignoreCase:d};n.push(p);break}case 58:{if(58===t.charCodeAt(r+1)){n.push({type:rt.PseudoElement,name:o(2).toLowerCase(),data:40===t.charCodeAt(r)?s():null});continue}const e=o(1).toLowerCase();let i=null;if(40===t.charCodeAt(r))if(ct.has(e)){if(pt(t.charCodeAt(r+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(i=[],r=mt(i,t,r+1),41!==t.charCodeAt(r))throw new Error(`Missing closing parenthesis in :${e} (${t})`);r+=1}else{if(i=s(),lt.has(e)){const e=i.charCodeAt(0);e===i.charCodeAt(i.length-1)&&pt(e)&&(i=i.slice(1,-1))}i=dt(i)}n.push({type:rt.Pseudo,name:e,data:i});break}case 44:d(),n=[],i(1);break;default:{if(t.startsWith("/*",r)){const e=t.indexOf("*/",r+2);if(e<0)throw new Error("Comment was not terminated");r=e+2,0===n.length&&i(0);break}let s,a=null;if(42===e)r+=1,s="*";else if(124===e){if(s="",124===t.charCodeAt(r+1)){l(rt.ColumnCombinator),i(2);break}}else{if(!it.test(t.slice(r)))break e;s=o(0)}124===t.charCodeAt(r)&&124!==t.charCodeAt(r+1)&&(a=s,42===t.charCodeAt(r+1)?(s="*",r+=2):s=o(1)),n.push("*"===s?{type:rt.Universal,namespace:a}:{type:rt.Tag,name:s,namespace:a})}}}return d(),r}const gt=new Map([[rt.Universal,50],[rt.Tag,30],[rt.Attribute,1],[rt.Pseudo,0]]);function yt(e){return!gt.has(e.type)}const bt=new Map([[ot.Exists,10],[ot.Equals,8],[ot.Not,7],[ot.Start,6],[ot.End,6],[ot.Any,5]]);function vt(e){const t=e.map(wt);for(let r=1;r<e.length;r++){const n=t[r];if(!(n<0))for(let o=r-1;o>=0&&n<t[o];o--){const r=e[o+1];e[o+1]=e[o],e[o]=r,t[o+1]=t[o],t[o]=n}}}function wt(e){var t,r;let n=null!==(t=gt.get(e.type))&&void 0!==t?t:-1;return e.type===rt.Attribute?(n=null!==(r=bt.get(e.action))&&void 0!==r?r:4,e.action===ot.Equals&&"id"===e.name&&(n=9),e.ignoreCase&&(n>>=1)):e.type===rt.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?n=0:Array.isArray(e.data)?(n=Math.min(...e.data.map(e=>Math.min(...e.map(wt)))),n<0&&(n=0)):n=2:n=3),n}const St=/[-[\]{}()*+?.,\\^$|#\s]/g;function Et(e){return e.replace(St,"\\$&")}const xt=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 Ot(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&xt.has(e.name)}const At={equals(e,t,r){const{adapter:n}=r,{name:o}=t;let{value:i}=t;return Ot(t,r)?(i=i.toLowerCase(),t=>{const r=n.getAttributeValue(t,o);return null!=r&&r.length===i.length&&r.toLowerCase()===i&&e(t)}):t=>n.getAttributeValue(t,o)===i&&e(t)},hyphen(e,t,r){const{adapter:n}=r,{name:o}=t;let{value:i}=t;const s=i.length;return Ot(t,r)?(i=i.toLowerCase(),function(t){const r=n.getAttributeValue(t,o);return null!=r&&(r.length===s||"-"===r.charAt(s))&&r.substr(0,s).toLowerCase()===i&&e(t)}):function(t){const r=n.getAttributeValue(t,o);return null!=r&&(r.length===s||"-"===r.charAt(s))&&r.substr(0,s)===i&&e(t)}},element(e,t,r){const{adapter:n}=r,{name:o,value:i}=t;if(/\s/.test(i))return nt.falseFunc;const s=new RegExp(`(?:^|\\s)${Et(i)}(?:$|\\s)`,Ot(t,r)?"i":"");return function(t){const r=n.getAttributeValue(t,o);return null!=r&&r.length>=i.length&&s.test(r)&&e(t)}},exists:(e,{name:t},{adapter:r})=>n=>r.hasAttrib(n,t)&&e(n),start(e,t,r){const{adapter:n}=r,{name:o}=t;let{value:i}=t;const s=i.length;return 0===s?nt.falseFunc:Ot(t,r)?(i=i.toLowerCase(),t=>{const r=n.getAttributeValue(t,o);return null!=r&&r.length>=s&&r.substr(0,s).toLowerCase()===i&&e(t)}):t=>{var r;return!!(null===(r=n.getAttributeValue(t,o))||void 0===r?void 0:r.startsWith(i))&&e(t)}},end(e,t,r){const{adapter:n}=r,{name:o}=t;let{value:i}=t;const s=-i.length;return 0===s?nt.falseFunc:Ot(t,r)?(i=i.toLowerCase(),t=>{var r;return(null===(r=n.getAttributeValue(t,o))||void 0===r?void 0:r.substr(s).toLowerCase())===i&&e(t)}):t=>{var r;return!!(null===(r=n.getAttributeValue(t,o))||void 0===r?void 0:r.endsWith(i))&&e(t)}},any(e,t,r){const{adapter:n}=r,{name:o,value:i}=t;if(""===i)return nt.falseFunc;if(Ot(t,r)){const t=new RegExp(Et(i),"i");return function(r){const s=n.getAttributeValue(r,o);return null!=s&&s.length>=i.length&&t.test(s)&&e(r)}}return t=>{var r;return!!(null===(r=n.getAttributeValue(t,o))||void 0===r?void 0:r.includes(i))&&e(t)}},not(e,t,r){const{adapter:n}=r,{name:o}=t;let{value:i}=t;return""===i?t=>!!n.getAttributeValue(t,o)&&e(t):Ot(t,r)?(i=i.toLowerCase(),t=>{const r=n.getAttributeValue(t,o);return(null==r||r.length!==i.length||r.toLowerCase()!==i)&&e(t)}):t=>n.getAttributeValue(t,o)!==i&&e(t)}},Tt=new Set([9,10,12,13,32]),Ct="0".charCodeAt(0),Nt="9".charCodeAt(0);function It(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return nt.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?nt.trueFunc:e=>e>=r;const n=Math.abs(t),o=(r%n+n)%n;return t>1?e=>e>=r&&e%n===o:e=>e<=r&&e%n===o}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,n=i(),o=s();if(t<e.length&&"n"===e.charAt(t)&&(t++,r=n*(null!=o?o:1),a(),t<e.length?(n=i(),a(),o=s()):n=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,n*o];function i(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function s(){const r=t;let n=0;for(;t<e.length&&e.charCodeAt(t)>=Ct&&e.charCodeAt(t)<=Nt;)n=10*n+(e.charCodeAt(t)-Ct),t++;return t===r?null:n}function a(){for(;t<e.length&&Tt.has(e.charCodeAt(t));)t++}}(e))}function kt(e,t){return r=>{const n=t.getParent(r);return null!=n&&t.isTag(n)&&e(r)}}const Pt={contains:(e,t,{adapter:r})=>function(n){return e(n)&&r.getText(n).includes(t)},icontains(e,t,{adapter:r}){const n=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(n)}},"nth-child"(e,t,{adapter:r,equals:n}){const o=It(t);return o===nt.falseFunc?nt.falseFunc:o===nt.trueFunc?kt(e,r):function(t){const i=r.getSiblings(t);let s=0;for(let e=0;e<i.length&&!n(t,i[e]);e++)r.isTag(i[e])&&s++;return o(s)&&e(t)}},"nth-last-child"(e,t,{adapter:r,equals:n}){const o=It(t);return o===nt.falseFunc?nt.falseFunc:o===nt.trueFunc?kt(e,r):function(t){const i=r.getSiblings(t);let s=0;for(let e=i.length-1;e>=0&&!n(t,i[e]);e--)r.isTag(i[e])&&s++;return o(s)&&e(t)}},"nth-of-type"(e,t,{adapter:r,equals:n}){const o=It(t);return o===nt.falseFunc?nt.falseFunc:o===nt.trueFunc?kt(e,r):function(t){const i=r.getSiblings(t);let s=0;for(let e=0;e<i.length;e++){const o=i[e];if(n(t,o))break;r.isTag(o)&&r.getName(o)===r.getName(t)&&s++}return o(s)&&e(t)}},"nth-last-of-type"(e,t,{adapter:r,equals:n}){const o=It(t);return o===nt.falseFunc?nt.falseFunc:o===nt.trueFunc?kt(e,r):function(t){const i=r.getSiblings(t);let s=0;for(let e=i.length-1;e>=0;e--){const o=i[e];if(n(t,o))break;r.isTag(o)&&r.getName(o)===r.getName(t)&&s++}return o(s)&&e(t)}},root:(e,t,{adapter:r})=>t=>{const n=r.getParent(t);return(null==n||!r.isTag(n))&&e(t)},scope(e,t,r,n){const{equals:o}=r;return n&&0!==n.length?1===n.length?t=>o(n[0],t)&&e(t):t=>n.includes(t)&&e(t):Pt.root(e,t,r)},hover:jt("isHovered"),visited:jt("isVisited"),active:jt("isActive")};function jt(e){return function(t,r,{adapter:n}){const o=n[e];return"function"!=typeof o?nt.falseFunc:function(e){return o(e)&&t(e)}}}const Rt={empty:(e,{adapter:t})=>!t.getChildren(e).some(e=>t.isTag(e)||""!==t.getText(e)),"first-child"(e,{adapter:t,equals:r}){if(t.prevElementSibling)return null==t.prevElementSibling(e);const n=t.getSiblings(e).find(e=>t.isTag(e));return null!=n&&r(e,n)},"last-child"(e,{adapter:t,equals:r}){const n=t.getSiblings(e);for(let o=n.length-1;o>=0;o--){if(r(e,n[o]))return!0;if(t.isTag(n[o]))break}return!1},"first-of-type"(e,{adapter:t,equals:r}){const n=t.getSiblings(e),o=t.getName(e);for(let i=0;i<n.length;i++){const s=n[i];if(r(e,s))return!0;if(t.isTag(s)&&t.getName(s)===o)break}return!1},"last-of-type"(e,{adapter:t,equals:r}){const n=t.getSiblings(e),o=t.getName(e);for(let i=n.length-1;i>=0;i--){const s=n[i];if(r(e,s))return!0;if(t.isTag(s)&&t.getName(s)===o)break}return!1},"only-of-type"(e,{adapter:t,equals:r}){const n=t.getName(e);return t.getSiblings(e).every(o=>r(e,o)||!t.isTag(o)||t.getName(o)!==n)},"only-child":(e,{adapter:t,equals:r})=>t.getSiblings(e).every(n=>r(e,n)||!t.isTag(n))};function Dt(e,t,r,n){if(null===r){if(e.length>n)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===n)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const Lt={"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:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",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])"},Mt={};function _t(e,t){return e===nt.falseFunc?nt.falseFunc:r=>t.isTag(r)&&e(r)}function Ft(e,t){const r=t.getSiblings(e);if(r.length<=1)return[];const n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}function Vt(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const qt=(e,t,r,n,o)=>{const i=o(t,Vt(r),n);return i===nt.trueFunc?e:i===nt.falseFunc?nt.falseFunc:t=>i(t)&&e(t)},Bt={is:qt,matches:qt,where:qt,not(e,t,r,n,o){const i=o(t,Vt(r),n);return i===nt.falseFunc?e:i===nt.trueFunc?nt.falseFunc:t=>!i(t)&&e(t)},has(e,t,r,n,o){const{adapter:i}=r,s=Vt(r);s.relativeSelector=!0;const a=t.some(e=>e.some(yt))?[Mt]:void 0,c=o(t,s,a);if(c===nt.falseFunc)return nt.falseFunc;const l=_t(c,i);if(a&&c!==nt.trueFunc){const{shouldTestNextSiblings:t=!1}=c;return r=>{if(!e(r))return!1;a[0]=r;const n=i.getChildren(r),o=t?[...n,...Ft(r,i)]:n;return i.existsOne(l,o)}}return t=>e(t)&&i.existsOne(l,i.getChildren(t))}};function Ht(e,t){const r=t.getParent(e);return r&&t.isTag(r)?r:null}function Ut(e,t,r,n,o){const{adapter:i,equals:s}=r;switch(t.type){case rt.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case rt.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case rt.Attribute:if(null!=t.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return r.xmlMode&&!r.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),At[t.action](e,t,r);case rt.Pseudo:return function(e,t,r,n,o){var i;const{name:s,data:a}=t;if(Array.isArray(a)){if(!(s in Bt))throw new Error(`Unknown pseudo-class :${s}(${a})`);return Bt[s](e,a,r,n,o)}const c=null===(i=r.pseudos)||void 0===i?void 0:i[s],l="string"==typeof c?c:Lt[s];if("string"==typeof l){if(null!=a)throw new Error(`Pseudo ${s} doesn't have any arguments`);const t=ht(l);return Bt.is(e,t,r,n,o)}if("function"==typeof c)return Dt(c,s,a,1),t=>c(t,a)&&e(t);if(s in Pt)return Pt[s](e,a,r,n);if(s in Rt){const t=Rt[s];return Dt(t,s,a,2),n=>t(n,r,a)&&e(n)}throw new Error(`Unknown pseudo-class :${s}`)}(e,t,r,n,o);case rt.Tag:{if(null!=t.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:n}=t;return r.xmlMode&&!r.lowerCaseTags||(n=n.toLowerCase()),function(t){return i.getName(t)===n&&e(t)}}case rt.Descendant:{if(!1===r.cacheResults||"undefined"==typeof WeakSet)return function(t){let r=t;for(;r=Ht(r,i);)if(e(r))return!0;return!1};const t=new WeakSet;return function(r){let n=r;for(;n=Ht(n,i);)if(!t.has(n)){if(i.isTag(n)&&e(n))return!0;t.add(n)}return!1}}case"_flexibleDescendant":return function(t){let r=t;do{if(e(r))return!0}while(r=Ht(r,i));return!1};case rt.Parent:return function(t){return i.getChildren(t).some(t=>i.isTag(t)&&e(t))};case rt.Child:return function(t){const r=i.getParent(t);return null!=r&&i.isTag(r)&&e(r)};case rt.Sibling:return function(t){const r=i.getSiblings(t);for(let n=0;n<r.length;n++){const o=r[n];if(s(t,o))break;if(i.isTag(o)&&e(o))return!0}return!1};case rt.Adjacent:return i.prevElementSibling?function(t){const r=i.prevElementSibling(t);return null!=r&&e(r)}:function(t){const r=i.getSiblings(t);let n;for(let e=0;e<r.length;e++){const o=r[e];if(s(t,o))break;i.isTag(o)&&(n=o)}return!!n&&e(n)};case rt.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}function $t(e,t,r){return Yt("string"==typeof e?ht(e):e,t,r)}function Wt(e){return e.type===rt.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(e=>e.some(Wt)))}const zt={type:rt.Descendant},Gt={type:"_flexibleDescendant"},Kt={type:rt.Pseudo,name:"scope",data:null};function Yt(e,t,r){var n;e.forEach(vt),r=null!==(n=t.context)&&void 0!==n?n:r;const o=Array.isArray(r),i=r&&(Array.isArray(r)?r:[r]);if(!1!==t.relativeSelector)!function(e,{adapter:t},r){const n=!!(null==r?void 0:r.every(e=>{const r=t.isTag(e)&&t.getParent(e);return e===Mt||r&&t.isTag(r)}));for(const t of e){if(t.length>0&&yt(t[0])&&t[0].type!==rt.Descendant);else{if(!n||t.some(Wt))continue;t.unshift(zt)}t.unshift(Kt)}}(e,t,i);else if(e.some(e=>e.length>0&&yt(e[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1;const a=e.map(e=>{if(e.length>=2){const[t,r]=e;t.type!==rt.Pseudo||"scope"!==t.name||(o&&r.type===rt.Descendant?e[1]=Gt:r.type!==rt.Adjacent&&r.type!==rt.Sibling||(s=!0))}return function(e,t,r){var n;return e.reduce((e,n)=>e===nt.falseFunc?nt.falseFunc:Ut(e,n,t,r,Yt),null!==(n=t.rootFunc)&&void 0!==n?n:nt.trueFunc)}(e,t,i)}).reduce(Jt,nt.falseFunc);return a.shouldTestNextSiblings=s,a}function Jt(e,t){return t===nt.falseFunc||e===nt.trueFunc?e:e===nt.falseFunc||t===nt.trueFunc?t:function(r){return e(r)||t(r)}}const Zt=(e,t)=>e===t,Xt={adapter:n,equals:Zt};function Qt(e){var t,r,o,i;const s=null!=e?e:Xt;return null!==(t=s.adapter)&&void 0!==t||(s.adapter=n),null!==(r=s.equals)&&void 0!==r||(s.equals=null!==(i=null===(o=s.adapter)||void 0===o?void 0:o.equals)&&void 0!==i?i:Zt),s}function er(e){return function(t,r,n){const o=Qt(r);return e(t,o,n)}}er(function(e,t,r){return _t($t(e,t,r),t.adapter)}),er($t),er(Yt);function tr(e){return function(t,r,n){const o=Qt(n);"function"!=typeof t&&(t=$t(t,o,r));const i=function(e,t,r=!1){r&&(e=function(e,t){const r=Array.isArray(e)?e.slice(0):[e],n=r.length;for(let e=0;e<n;e++){const n=Ft(r[e],t);r.push(...n)}return r}(e,t));return Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}(r,o.adapter,t.shouldTestNextSiblings);return e(t,i,o)}}const rr=tr((e,t,r)=>e!==nt.falseFunc&&t&&0!==t.length?r.adapter.findAll(e,t):[]),nr=tr((e,t,r)=>e!==nt.falseFunc&&t&&0!==t.length?r.adapter.findOne(e,t):null);class or extends HTMLElement{constructor(){return document.createElement("div")}}class ir{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:r}=this,n={type:e,target:JSON.parse(this.groot.safe(t))};return r&&(n.composedTarget=JSON.parse(this.groot.safe(r))),n}}class sr{constructor(e){var t;this.groot=e.groot,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===(null===(t=this.element)||void 0===t?void 0:t.isConnected),e.frameMessenger&&(this.frameMessenger=e.frameMessenger,this.listeners=new Map,this.init())}toJSON(){const{groot:e,...t}=this;return{...t}}init(){var e;this.isCrossOrigin||null===(e=this.frameMessenger)||void 0===e||e.listen("groot:add-event-listener",({message:e})=>{const{type:t,options:r,vnodeId:n,treeId:o,listenerId:i}=e;if(Number(n)!==this.vnodeId||o!==this.groot.getId())return;const s=e=>this.frameMessenger.sendReply("groot:event",{event:e,listenerId:i});this.addEventListener(t,s,r),this.frameMessenger.listen("groot:remove-event-listener",({message:e})=>{const{listenerId:r}=e;if(i===r)return this.removeEventListener(t,s)})})}async addEventListener(e,t,r){let n;if(this.isCrossOrigin){const o=u();await this.frameMessenger.sendAll("groot:add-event-listener",{type:e,options:r,vnodeId:this.vnodeId,treeId:this.groot.getId(),listenerId:o}),this.frameMessenger.listen("groot:event",({message:e})=>{const r=e.event,n={type:r.type,target:this.groot.getById(r.target.vnodeId)};r.composedTarget&&(n.composedTarget=this.groot.getById(r.composedTarget.vnodeId)),e.listenerId===o&&t(n)}),n=async()=>{this.frameMessenger.sendAll("groot:remove-event-listener",{listenerId:o})}}else{const o=e=>{null!=r&&r.preventDefault&&e.preventDefault(),null!=r&&r.stopPropagation&&e.stopPropagation(),t(new ir({event:e,groot:this.groot}))},i="object"!=typeof r?r:Object.fromEntries(Object.entries(r).filter(([e])=>!["preventDefault","stopPropagation"].includes(e)));this.element.addEventListener(e,o,i),n=()=>{this.element.removeEventListener(e,o,i)}}return this.listeners.set(t,n),n}async removeEventListener(e,t){const r=this.listeners.get(t);r&&(await r(),this.listeners.delete(t))}contains(e){if(!e)return!1;const t=this.groot.get(e)??e,r=[...this.children,...this.slotChildren];return r.some(e=>e.vnodeId===t.vnodeId)||r.some(e=>{var r;return null===(r=e.contains)||void 0===r?void 0:r.call(e,t)})}}const ar={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 cr=Object.keys(ar).reduce((e,t)=>(e[t]=ar[t],e),{});const lr=/(\[[^=]+=[^[]+\])|(\[.*\])/g;function ur(e){let t=e;t.startsWith("#")&&(t=`[id="${t.substring(1)}"]`);const r=e.toString().match(lr);if(r){const e=r.reduce((e,t)=>{let r=t,[n,o,i,s]=["","","",""];const a=r.match(/\[([^~|^$*=]+)([~|^$*]*=)"*([^\]|"]+)"*\]/);if(a?[n,o,i,s]=a:[n,o]=r.match(/\[([^=|'|"]+)\]/)||[],!o)return r;s&&(s=`${i}"${CSS.escape(s)}"`);const c=o.match(/[^:]+:(.*)/);return c?([n,o]=c,r=`[*|${o}${s}]:not([${o}${s}])`):r=`[${o}${s}]`,e+=r},"");t=t.replace(lr,e)}return t}var dr=["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*pr(e){const t=function(e){const{tagName:t,attributes:r={}}=e,n=[];t&&n.push({selector:t,score:0});return Object.entries(r).forEach(function(e){return([t,r=""])=>{const n=t.startsWith("data-")?100:dr.indexOf(t);-1!==n&&("class"===t&&r.indexOf(" ")>-1?e.push(...r.match(/\S+/g).map(e=>({selector:`.${CSS.escape(e)}`,score:n}))):e.push({selector:ur(`[${t}="${r}"]`),score:n}))}}(n)),n.sort((e,t)=>e.score-t.score).map(e=>e.selector)}(e);yield*function*(e,t=e.length){let r=1;for(;r<=t;r+=1)yield*fr(e,r)}(t)}function*fr(e,t,r={}){const{data:n=[],start:o=0,index:i=0}=r;i===t&&(yield n.slice(0,i).join(""));const s=e.length-1;for(let r=o;r<=s&&s-r+1>=t-i;r+=1)n[i]=e[r],yield*fr(e,t,{data:n,start:r+1,index:i+1})}function hr(e){if(e.length<2)return[];const t=JSON.parse(JSON.stringify(e));let r=t.pop();if("string"==typeof r)return t;let[n,...o]=r;return t.push([n,...hr(o)]),t}var mr={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],r=[];for(;t.length;){const e=t.pop();if(t.includes(e))continue;e.ancestors.some(e=>t.includes(e))||r.push(e)}return r.reverse()},findAll(e,t){const r=[];for(const n of t)e(n)&&r.push(n),r.push(...this.findAll(e,this.getChildren(n)));return r},findOne(e,t){let r=null;for(const n of t){if(e(n)){r=n;break}if(r=this.findOne(e,this.getChildren(n)),r)break}return r}},gr={"nth-context":(e,t)=>e.ancestors.reduce((e,t)=>((t.isFrame||t.isShadow)&&e++,e),1)===Number(t)};function yr(e,t=!1){const r=e.length,n=e.reduce((e,t)=>{const r=e?`${e} `:"";return Array.isArray(t)?`${r}${t[0]} ${t[1]}`:`${r}${t}`},"");return t?n:`${n}:nth-context(${r})`}const br=Symbol("i am groot");class vr extends Map{constructor(e){super(),this.config={},this[br]={},this[br].count=0,this[br].nextId=()=>{for(;this.vnodeIds[this[br].count];)this[br].count+=1;return this[br].count},this[br].listeners={create:new Set,destroy:new Set,update:new Set,walk:new Set,discard:new Set},this[br].json=[],this[br].dirty=!0,this.ready=!1,this.context=!1,this.rules={},this.vnodeIds={},this.reset(e)}setSeed(e){this[br].count=e,this.config.seed=e}use(e={}){const t=["context","seed"],r=Object.assign(this.config,e);return Object.keys(e).forEach(n=>{let o=e[n];if("listeners"===n){const t=e.listeners;return void Object.keys(t).forEach(e=>{let r=t[e];Array.isArray(r)||(r=[r]),r.forEach(t=>{this[br].listeners[e].add(t)})})}if(t.includes(n))return this[n]=o;r[n]=o}),this.rules={allowAttrs:new RegExp(`^(${r.allowAttrs.join("|")})$`),rejectTags:r.rejectTags.map(ur).join(", "),rejectKeys:new RegExp(`^(${r.rejectKeys.join("|")})$`),vnodeOnly:new RegExp(`^(${r.vnodeOnly.join("|")})$`)},this.context&&(this.ready=!0),this}clear(){return super.clear(),this[br].count=this.config.seed,this.vnodeIds={},this}reset(e={}){return this.context=window,this.config=Object.assign({},cr,{id:u()}),this.rules={},this.ready=!1,this.use(e),this.clear(),this}getSerializableConfig(){const{acceptNode:e,listeners:t,treeBuilder:r,...n}=this.config;return n}get root(){return this.vnodeIds[this.config.seed]}get flat(){const e=[],t=r=>{e.push(r),r.children.forEach(t)};return this.root&&t(this.root),e}toJSON(){return this[br].dirty?(this[br].json=JSON.parse(this.safe(this.flat)),this[br].dirty=!1,this[br].json):this[br].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 r=t.element;return this.delete(r),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(e){}}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:r}=e;let{acceptNode:n}=this.config;return"function"!=typeof n&&(n=()=>!0),t.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(!e.matches(this.rules.rejectTags)&&n(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[br].nextId()})}async walk(e,t={}){this[br].dirty=!0;const{parent:r}=t,n=this.getContext(e);if(!n)return;const o=this.getRoot(e||n),i=this.getTreeWalker({context:n,root:o}),s=this.refreshVnode(this.get(i.currentNode),t)||this.vnode({parent:r,element:o,vnodeId:this[br].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[br].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[br].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[br].listeners.walk.forEach(e=>e(s,this)),this}vnode(e){const{element:t,parent:r,vnodeId:n}=e,o=new sr({frameMessenger:this.config.frameMessenger,groot:this,node:{vnodeId:n,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,r),this.updateSelector(o),this[br].listeners.create.forEach(e=>e(o,this)),o}refreshVnode(e,t={}){const{parent:r}=t;if(!e)return;const n=new sr({frameMessenger:this.config.frameMessenger,groot:this,node:e});return n.isShadowHost&&!n.element.shadowRoot||(this.cleanUp(n),this.updateTag(n),this.updateAttributes(n),this.updateFrame(n),this.updateShadow(n),this.updateSlot(n),this.updateProperties(n),this.updateParent(n,r),this.updateSelector(n),this[br].listeners.update.forEach(e=>e(n,this))),n}cleanUp(e){e.children.forEach(t=>{t.isShadow||e.isShadow||t.element.isConnected||(this.delete(t.element),this[br].listeners.destroy.forEach(t=>t(e,this)))}),e.depth=0,e.children.length=0,e.ancestors.length=0}updateParent(e,t){const{element:r}=e;let n=t;const o=r.parentElement;if((!n||n.isShadow&&o)&&(n=this.get(o)),n&&(e.previousSibling=n.children[n.children.length-1],e.depth=n.depth+1,e.ancestors.length=0,e.ancestors.push(...n.ancestors,n),n.children.push(e),n.properties.childElementCount+=1),e.isSlottedElement){const t=this.get(r.assignedSlot);e.slotAncestors=[...t.ancestors,t],t.slotChildren.push(e)}else n&&n.slotAncestors&&n.slotAncestors.length&&(e.slotAncestors=[...n.slotAncestors,n])}updateFrame(e){const{tagName:t}=e;Boolean(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 r=t.tagName;t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(r="shadow-root"),e.tagName=CSS.escape(r.toLowerCase())}updateAttributes(e){const{element:t}=e;e.attrs.length&&e.attrs.forEach(t=>delete e.attributes[t]),e.attrs.length=0;const r=t.attributes||[];e.attributes={};const n=r.length;let o=0;for(;o<n;o+=1){const n=r[o],i=n.name;if(i.match(this.rules.allowAttrs)){if("class"===i)e.attributes[i]=this.getClassName(t);else e.attributes[i]=n.value;e.attrs.push(i)}}}updateShadow(e){const{tagName:t,element:r,attributes:n}=e;(r.shadowRoot||"use"===t&&n["xlink:href"])&&(e.isShadowHost=!0),"shadow-root"===t&&(e.isShadow=!0)}updateProperties(e){const{tagName:t,element:r,attributes:n}=e;Object.assign(e.properties,{id:n.id,tagName:t,childElementCount:0,className:n.class,classSelector:this.getClassSelector(r),tabIndex:this.getTabIndex(e)})}countMatchingPreviousSiblings(e){const{element:t,tagName:r,vnodeId:n}=e,o=e.ancestors[e.ancestors.length-1];let i=1;if(!o&&t){let e=t.previousElementSibling;const n=this.getContext(t);for(;e&&n.body.contains(e);)CSS.escape(e.tagName).toLowerCase()===r&&i++,e=e.previousElementSibling}else if(o){const e=o.children;let t=!1;i=e.reduce((e,o)=>(o.vnodeId===n?t=!0:o.tagName!==r||t||e++,e),1)}return i}updateSelector(e){const{properties:t,tagName:r}=e,{id:n,classSelector:o}=t,i=e.ancestors[e.ancestors.length-1],s=this.countMatchingPreviousSiblings(e),a=["body","shadow-root"].includes(r)?"":`:nth-of-type(${s})`,c=n?`${CSS.escape(e.tagName)}#${CSS.escape(n)}${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/,r=/[^A-Za-z0-9_-]/g;return(e.classList&&Array.from(e.classList)||[]).reduce((e,n)=>"-"===n||n.match(t)||n.startsWith("--")?e+`[class*="${n}"]`:e+"."+n.replace(r,e=>`\\0000${e.codePointAt(0).toString(16)}`),"")}getTabIndex(e){const{element:t,attributes:r}=e,n=t.tabIndex;if(-1!==n||r.tabindex)return n}querySelector(e,t=this.context){const r=JSON.parse(JSON.stringify(e)),n=r.shift();let o;if(Array.isArray(n))n.length>1&&r.unshift(n[1]),o=t.shadowRoot;else{const e=t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t:this.getContext(t);o=e&&e.querySelector(n)}if(o)return r.length?this.querySelector(r,o):o}async fromFlatTree(e,t){return this[br].dirty=!0,await this.walk(t),e.forEach(e=>{if(!this.selectOne(e.selector)){this.findOneWithVNode(e)||this[br].listeners.discard.forEach(t=>t(e,this))}}),this}async from(e,t){this[br].dirty=!0;const r=[];e.forEach(e=>{const{selector:n,vnodeId:o,element:i}=e;let s=i;if(s&&s.isConnected||(s=this.querySelector(n,t)),s){const e=this.vnode({element:s,vnodeId:o});this.set(s,e)}else r.push(e)});const n=Math.ceil(this.config.findOneTimeLimit/r.length);return r.forEach(e=>{const t=this.findOne(e,{findOneTimeLimit:n});if(t&&!this.has(t)){const r=this.vnode({element:t,vnodeId:e.vnodeId});this.set(t,r)}else this[br].listeners.discard.forEach(t=>t(e,this))}),await this.walk(t),this}hydrateFlatTree(e){e.forEach(e=>{const t=new or;let r={...e,element:t,children:[],ancestors:[]};r=new sr({frameMessenger:this.config.frameMessenger,groot:this,node:r}),this.set(t,r)}),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 r=t.findOneTimeLimit||this.config.findOneTimeLimit,n=Date.now(),o=e.selector?e.selector.slice(-1):[],i=pr(e);let s=i.next().value;for(;s;){const e=this.selectAll([...o,s]);if(1===e.length)return e[0];if(Date.now()-n>r)return;s=i.next().value}}findOne(e,t={}){const r=t.findOneTimeLimit||this.config.findOneTimeLimit,n=Date.now();let o=t.context||this.getContext();if(e.selector&&e.selector.length>1&&(o=this.querySelector(hr(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=pr(e);let s=i.next().value;for(;s;){const e=o.querySelectorAll(s);if(1===e.length)return e[0];if(Date.now()-n>r)return;s=i.next().value}}selectAll(e,t={}){const r=yr(e,t.isRelativeSelector);return rr(r,this.flat,{adapter:mr,pseudos:gr})}selectOne(e){const t=yr(e);return nr(t,this.flat,{adapter:mr,pseudos:gr})}getId(){return this.config.id}}class wr{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:r}=await this.frameMessenger.send(e,"groot:tree-builder:build-tree",{grootConfig:t}),n=new vr(t);return n.hydrateFlatTree(r),n}async buildTree(e){let t=e.id?this.trees.get(e.id):null;return t?t.reset(e):(t=new vr({...e,frameMessenger:this.frameMessenger,treeBuilder:this}),await t.walk(document.body),this.trees.set(t.getId(),t)),t}}var Sr=r(96367),Er=r(60119),xr=r(35226),Or=r.n(xr),Ar=r(59681),Tr=r.n(Ar),Cr=["interactive","complete"],Nr=function(e,t){return new Promise(function(r){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var n=function(){return r(void(e&&setTimeout(e)))};-1!==Cr.indexOf(t.readyState)?n():t.addEventListener("DOMContentLoaded",n)})};Nr.resume=function(e){return function(t){return Nr(e).then(function(){return t})}};const Ir=Nr;var kr=r(86171);const Pr=["children","previousSiblings","previousSibling","ancestors","slotAncestors","slotChildren","element","source","groot"],jr=["group","groupId","groupSelector","groupVnodeIds","define-group"];function Rr(e){return Object.entries(e).filter(([e])=>!Pr.includes(e)).reduce((e,[t,r])=>(e[t]=r,e),{})}function Dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Lr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mr(e,t){const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(r),!0).forEach(function(t){Lr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e),n=r.groups.findIndex(e=>e.id===t);return-1===n?e:(r.groups.splice(n,1),r.inputs.filter(e=>e.groupId===t).forEach(e=>{jr.forEach(t=>e[t]=void 0)}),r)}r.dn(Mr);var _r=r(70367),Fr=(r(7955),r(3958),r(50700),r(68446),r(71448),r(38555),r(56649),r(39454)),Vr=r(94800);new _r.A((0,Vr.A)(/(?:\n(?:\s*))+/g," "),Fr.A);const qr=new _r.A((0,Vr.A)(/(?:\n\s*)/g,""),Fr.A);r(43837),r(24181),r(39811),r(8853),r(66684),r(11),r(80607);qr`
2
+ (()=>{var e,t={76754(e,t,n){"use strict";t.addEventNS=t.k=void 0;const r=n(89613);t.k=`recorder:${r.version}`;t.addEventNS=e=>`${t.k}:${e}`},83144(e,t){"use strict";t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error(t)}},25470(e,t,n){"use strict";t.cache=void 0;const r=n(83144),o=n(6857);class i{#e=new Map;#t=new Map;set(e,t){this.#e.set(e,t)}get(e,t){if(function(e){(0,r.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 n=t();return(0,r.assert)(void 0!==n,"Cache creator function should not return undefined"),this.#e.set(e,n),n}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 o.perf.run(e.description,t):await t();const r=this.get(e);return this.set(e,{resolved:!0,result:n,error:null,promises:void 0}),r?.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,r.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},1906(e,t,n){"use strict";t.createLazyProxy=void 0;const r=n(83144),o=Symbol("initialize"),i=Symbol("unset");t.createLazyProxy=function(){let e=null,t=!1;const n=new Proxy(function(...n){return(0,r.assert)(t,"Cannot call method before the object is initialized"),(0,r.assert)("function"==typeof e,"Real object is not a function"),e.apply(this,n)},{get:(n,s,a)=>s===o?n=>(e=n,t=!0,!0):s===i?()=>(e=null,t=!1,!0):((0,r.assert)(t,`Cannot access property '${String(s)}' before the object is initialized`),Reflect.get(e,s,a)),set:(n,o,i)=>((0,r.assert)(t,`Cannot set property '${String(o)}' before the object is initialized`),Reflect.set(e,o,i)),has:(n,o)=>((0,r.assert)(t,`Cannot check for property '${String(o)}' before the object is initialized`),Reflect.has(e,o)),apply:(n,o,i)=>((0,r.assert)(t,"Cannot call method before the object is initialized"),(0,r.assert)("function"==typeof e,"Real object is not a function"),Reflect.apply(e,o,i)),construct:(n,o,i)=>((0,r.assert)(t,"Cannot construct before the object is initialized"),(0,r.assert)("function"==typeof e,"Real object is not a constructor"),Reflect.construct(e,o,i))}),s=()=>(n[i](),n);return{proxy:n,setRealObject:e=>(n[o](e),s)}}},48942(e,t,n){"use strict";t.setAxeProxy=t.axe=void 0;const r=(0,n(1906).createLazyProxy)();t.axe=r.proxy,t.setAxeProxy=r.setRealObject},6857(e,t){"use strict";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])})}}},41838(e,t){"use strict";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}},47766(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundRecorderClient=void 0;const r=n(76754),o=n(13551),i=n(86171);t.BackgroundRecorderClient=class{#n;constructor({bridge:e,axe:t}){this.#n=e,i.listeners.initContentBridgeListeners(e),Object.entries(o.contentActions).forEach(([n,o])=>{e.listen((0,r.addEventNS)(n),({message:e})=>o(e,{axe:t}))})}get bridge(){return this.#n}async#r(e,t){const n=await this.#n.send("background",(0,r.addEventNS)(e),t??{});if(void 0===n)throw new Error("BackgroundRecorder is not running in a known context");if(null===n)throw new Error("Unable to establish a connection with the background recorder");if("backgroundRecorderError"in n){const{message:e,stack:t,name:r}=n.backgroundRecorderError;throw new Error(`Background ${r}: ${e}\n${t}`)}if(0!==Object.keys(n).length)return n}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)}}},13551(e,t,n){"use strict";t.contentActions=void 0;const r=n(68036),o=n(94117),i=n(94117);t.contentActions={[r.batchGetComputedStyleTopic]:r.batchGetComputedStyle,[i.frameSetupTopic]:i.frameSetup,[o.frameTeardownTopic]:o.frameTeardown}},68036(e,t,n){"use strict";t.batchGetComputedStyle=t.batchGetComputedStyleTopic=void 0;const r=n(83144);function o(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:n})=>{const i=t.utils.shadowSelect(e);(0,r.assert)(i,`Element not found for selector ${e}`);const s=i.ownerDocument.defaultView;(0,r.assert)(s,"Window not found");return{computedStyle:o(s.getComputedStyle(i,n?`::${n}`:void 0)),selector:e,pseudoElm:n}})}},7927(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(25470),o=n(11232),i=Symbol("disableAnimations");t.default={disable:function(){const e=r.cache.get(i,()=>[]),t=[document,...Array.from((0,o.getShadowRoots)(document))],n=new Set,a=e=>{for(const t of e.getAnimations()){if(!t.effect||0===t.playbackRate||n.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 n)s(()=>e.play())})},restore:function(){const e=r.cache.get(i);e&&(e.forEach(e=>e()),r.cache.set(i,[]))}};const s=e=>{try{e()}catch{}}},94117(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.frameTeardown=t.frameTeardownTopic=t.frameSetup=t.frameSetupTopic=void 0;const o=n(25470),i=n(6857),s=r(n(7927));t.frameSetupTopic="frameSetup",t.frameSetup=function({performanceTimer:e,skipAnimations:t}){o.cache.clear(),e?(i.perf.enable(),i.perf.start("advancedRun")):i.perf.disable(),t&&s.default.disable()},t.frameTeardownTopic="frameTeardown",t.frameTeardown=function(){s.default.restore(),i.perf.disable(),o.cache.clear()}},44099(e,t){"use strict";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}}},29920(e,t,n){"use strict";t.cachedQueryAll=t.Z=void 0;const r=n(25470),o=Symbol("selectorCache");t.Z=r.cache.child(o),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}},86256(e,t,n){"use strict";t.findNearbyElms=void 0;const r=n(48942);function o(e){if(e)return r.axe.commons.dom.getNodeGrid?.(e)??e._grid}t.findNearbyElms=function(e){r.axe.commons.dom.createGrid();const t=e.boundingClientRect,n=[];let i=o(e);for(;i;){const r=i.getGridPositionOfRect(t);i.loopGridPosition(r,t=>{for(const r of t)r&&r!==e&&!n.includes(r)&&n.push(r)}),i=o(i.container)}return n}},87732(e,t,n){"use strict";t.isContentEditable=void 0;const r=n(25470),o=Symbol("isContentEditable"),i=r.cache.child(o),s=new Set(["","true","plaintext-only"]),a=new Set(["false"]);t.isContentEditable=function e(t){return i.get(t,()=>{const n=t.getAttribute("contenteditable")?.toLowerCase()??null;return!!s.has(n)||!(a.has(n)||!t.parentElement)&&e(t.parentElement)})}},18937(e,t){"use strict";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},70793(e,t){"use strict";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)}},91022(e,t,n){"use strict";t.findFocusIndicators=t.E=void 0;const r=n(26864),o=n(25470),i=n(6857),s=n(61825),a=n(83144),c=n(99573),l=n(58047),u=Symbol();function*d(e,n,o){const c=(0,s.getRootNode)(n),u=o.get(c);(0,a.assert)(u,"Style sheets for root of node not found");const d=function(e){return e.flatMap(({cssRules:e})=>Array.from(e)).filter(e=>e instanceof CSSStyleRule)}(u).flatMap(e=>e.selectorText.includes(":focus")?function(e,n){const o=t.E.get(e,()=>new Map);let s=o.get(n);if(!s){const t=`queryWithFocusTriggers: ${e}`;i.perf.start(t),s=(0,r.queryWithFocusTriggers)(e,n),i.perf.end(t,{minDuration:100,flush:!0}),o.set(n,s)}return s}(e.selectorText,c):[]);for(const{triggers:t=[],...n}of d)for(const{type:r,elm:o}of t){const t=1===r.length&&"focus-within"===r[0];(o===e||t&&(0,l.flatTreeContains)(o,e))&&(yield n)}}t.E=o.cache.child(u),t.findFocusIndicators=function(e,t){const n=(0,s.getRootNode)(e),r=t.get(n);(0,a.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(d(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,c.closestCrossTreeAncestor)(i));const l=[];for(const[e,t]of o)for(const n of t)n?l.push({elm:e,pseudoElm:n}):l.push({elm:e});return l}},67160(e,t){"use strict";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}}},46243(e,t,n){"use strict";t.groupRuleItems=t.D=void 0;const r=n(20744);t.D=["focus-within","focus","focus-visible"],t.groupRuleItems=function(e){const n=[],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:n,pseudoClassSelectorItems:o,focusClassItems:i,hostItems:s,partItems:e.slice(c),otherItems:a}}n.push(l)}else"PseudoClass"===l.type?"host"===l.name.substring(0,4)?s.push(l):r.pseudoClassSelectorNames.includes(l.name)?o.push(l):t.D.includes(l.name)?i.push(l):a.push(l):a.push(l)}return{pseudoElmItems:n,pseudoClassSelectorItems:o,focusClassItems:i,hostItems:s,partItems:[],otherItems:a}}},45671(e,t){"use strict";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}},89545(e,t,n){"use strict";t.runHasPseudoClass=void 0;const r=n(59125),o=n(67160),i=n(26864);t.runHasPseudoClass=function(e,t){const n=(0,r.render)(e),s=new Map;for(const{elm:r,pseudoElm:a,triggers:c}of(0,o.eachIndicator)(t)){const t=(0,i.runSelector)(n,e,r);let l=!1;for(const e of(0,o.eachIndicator)(t))e.pseudoElm||(e.triggers.length&&c.push(...e.triggers),l||=!0);l&&s.set(r,new Map([[a,c]]))}return s}},20423(e,t,n){"use strict";t.runHostPseudoClass=void 0;const r=n(59125),o=n(83144),i=n(92061),s=n(67160),a=n(45671),c=n(18937),l=n(26864);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 n=new Map;for(const{argument:i,name:c}of e){if(!i){n.has(t.host)||n.set(t.host,new Map([["",[]]]));continue}(0,o.assert)("Selector"===i.type,`Unexpected argument type ${i.type} in "${(0,r.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:r}of(0,s.eachIndicator)(l)){if(""!==t)return null;const i=n.get(e);if(i){const e=i.get("");(0,o.assert)(e,"indicator missing triggers"),i.set("",(0,a.mergeTriggers)(e,r))}else n.set(e,new Map([["",r]]))}}return n}},23930(e,t,n){"use strict";t.runPartPseudoElm=void 0;const r=n(83144),o=n(24315),i=n(67160),s=n(46243);t.runPartPseudoElm=function(e,t){const[n,...a]=e;(0,r.assert)("PseudoElement"===n.type,"Expected pseudo element");const{argument:c}=n;(0,r.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 p=l.map(e=>e.name),h=new Map;for(const{elm:e,triggers:n}of(0,i.eachIndicator)(t)){const t=(0,o.getParts)(e);if(!t)continue;const r=c.value.split(/\s+/);t.forEach((e,t)=>{if(r.every(t=>e.has(t))){const e=[...n];p.length&&e.push({elm:t,type:p}),h.set(t,new Map([[f,e]]))}})}return[h]}},20744(e,t,n){"use strict";t.runPseudoClassSelector=t.pseudoClassSelectorNames=void 0;const r=n(59125),o=n(83144),i=n(61825),s=n(26864),a=n(89545),c=n(67160),l=n(45671);t.pseudoClassSelectorNames=["is","where","not","has"],t.runPseudoClassSelector=function({argument:e,name:n},u,d){if(!1===t.pseudoClassSelectorNames.includes(n)||"Selector"!==e?.type)throw new Error("Invalid sub-selector");if("has"===n)return(0,a.runHasPseudoClass)(e,u);const f="not"===n?u:new Map,p=(0,r.render)(e),h=(0,i.getRootNode)(d),m=(0,s.runSelector)(p,e,h);for(const e of(0,c.eachIndicator)(m)){if(e.pseudoElm)continue;if("not"===n&&!e.triggers.length){f.delete(e.elm);continue}const t=u.get(e.elm);if(!t)continue;const r=Array.from(t.entries());(0,o.assert)(1===r.length,"Only one (pseudo-)element should exist");const[i,s]=r[0],a="not"===n?[...s,...e.triggers]:(0,l.mergeTriggers)(s,e.triggers);t.set(i,a),f.set(e.elm,t)}return f}},50406(e,t,n){"use strict";t.runSlottedPseudoElm=void 0;const r=n(83144),o=n(18937),i=n(61825),s=n(26864),a=n(67160);function c(e){return"slot"===e.nodeName.toLowerCase()}t.runSlottedPseudoElm=function({argument:e},t,n){const l=(0,i.getRootNode)(n);if(!(0,o.isShadowRoot)(l))return[new Map];if((0,r.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:n}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,r.assert)(e.size<=1,"Only one pseudo element should exist"),(0,r.assert)(o,"Pseudo element map missing");const i=o.get("");(0,r.assert)(i,"Existing triggers missing"),i.push(...n),o.set("",i),d.set(t,o)}return[d]}},26864(e,t,n){"use strict";t.runRuleItems=t.runSelector=t.queryWithFocusTriggers=t.K3=t.PE=void 0;const r=n(59125),o=n(83144),i=n(25470),s=n(61825),a=n(46243),c=n(45671),l=n(67160),u=n(18937),d=n(20744),f=n(50406),p=n(20423),h=n(23930),m=n(29920),g=Symbol("selectorCache");function y(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=b(e,r);for(const{elm:e,pseudoElm:n,triggers:r}of(0,l.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 b(e,t){const n=new Map,[r,i]=v(e,t);for(const{elm:t,pseudoElm:s,triggers:a}of(0,l.eachIndicator)(r)){if(!e.nestedRule){const e=n.get(t);e?((0,o.assert)(!e.has(s),"Pseudo element already exists"),e.set(s,a)):n.set(t,new Map([[s,a]]));continue}if(s)continue;const r=i??t,u=b(e.nestedRule,r);for(const e of(0,l.eachIndicator)(u)){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 v(e,t,{selfOnly:n}={selfOnly:!1}){const{pseudoElmItems:o,pseudoClassSelectorItems:i,focusClassItems:s,hostItems:c,partItems:l,otherItems:g}=(0,a.groupRuleItems)(e.items);if(c.length>0){if(!(0,u.isShadowRoot)(t)||s.length||o.length||i.length||g.length)return[new Map];const e=(0,p.runHostPseudoClass)(c,t);return e?[e,t]:[new Map]}if(o.length>1||o[0]&&o[0]!==e.items.at(-1))return[new Map];const y=(0,r.render)(r.ast.rule({items:g}))||"*";let b=[];if(n){if(!(0,u.isElement)(t))return[new Map];b=t.matches(y)?[t]:[]}else b=e?.combinator?function(e,t){if(">"===e)return Array.from(t.children);if(!(0,u.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(y)):(0,m.cachedQueryAll)(y,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,d.runPseudoClassSelector)(e,v,t);return"slotted"===o[0]?.name?e.nestedRule?[new Map]:(0,f.runSlottedPseudoElm)(o[0],v,t):l.length?e.nestedRule?[new Map]:(0,h.runPartPseudoElm)(l,v):[v]}t.PE=i.cache.child(g),t.K3=(0,r.createParser)({strict:!1,syntax:{baseSyntax:"progressive"}}),t.queryWithFocusTriggers=function(e,n){let r,i;(0,o.assert)(n,"Node must be provided");try{r=(0,t.K3)(e)}catch{return console.error("Failed to process selector",e),[]}try{i=y(e,r,(0,s.getRootNode)(n))}catch(e){return console.error(e?.message),[]}const a=[];for(const{elm:e,pseudoElm:t,triggers:n}of(0,l.eachIndicator)(i))a.push({elm:e,...t?{pseudoElm:t}:{},...n.length?{triggers:n}:{}});return a},t.runSelector=y,t.runRuleItems=v},99573(e,t,n){"use strict";t.closestCrossTreeAncestor=void 0;const r=n(83144),o=n(18937),i=n(25470),s=Symbol("closestAncestor"),a=i.cache.child(s);t.closestCrossTreeAncestor=function e(t,n=0){return(0,r.assert)(++n<1e4,"Infinite loop in closestCrossTreeAncestor"),a.get(t,()=>(0,o.isShadowRoot)(t)?t.host:t.assignedSlot?t.assignedSlot:t.parentNode&&(0,o.isShadowRoot)(t.parentNode)?t.parentNode.host:t.parentElement?e(t.parentElement,n):null)}},58047(e,t,n){"use strict";t.flatTreeContains=void 0;const r=n(99573),o=n(83144);t.flatTreeContains=function(e,t){const n=e.getRootNode();let i=t,s=0;do{if((0,o.assert)(++s<1e4,"Infinite loop in flatTreeContains"),n===i.getRootNode())return e.contains(i)}while(i=(0,r.closestCrossTreeAncestor)(i));return!1}},92061(e,t){"use strict";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}},24315(e,t,n){"use strict";t.getParts=void 0;const r=n(25470),o=Symbol("PARTS_OF_SHADOW_ROOT"),i=r.cache.child(o);function s({shadowRoot:e}){return e?i.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},61825(e,t){"use strict";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")}},11232(e,t){"use strict";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},38325(e,t,n){"use strict";t.getAllStyleSheets=void 0;const r=n(11232),o=n(25470),i=Symbol("requestStyleSheetsFromBackground");t.getAllStyleSheets=async function(e,t=document){return o.cache.getAsync(i,()=>async function(e,t=document){const{CSSImportRule:n}=t.defaultView,o=new Map,i=[t,...(0,r.getShadowRoots)(t)];i.forEach(e=>{const t=Array.from(e.styleSheets).concat(e.adoptedStyleSheets);for(const r of t)try{if(r.disabled)continue;for(const e of Array.from(r.cssRules))e instanceof n&&e.styleSheet&&t.push(e.styleSheet);o.has(e)?o.get(e)?.push(r):o.set(e,[r])}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))}},73727(e,t){"use strict";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"))}}},38392(e,t){"use strict";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"))}}},24628(e,t){"use strict";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)}},87209(e,t,n){"use strict";t.getAccDescription=void 0;const r=n(48942);function o(e){if(e.attr("aria-describedby")){return r.axe.commons.dom.idrefs(e,"aria-describedby").map(e=>e?r.axe.commons.text.accessibleText(e,{inLabelledByContext:!0}):"").join("")}}function i(e){if(e.attr("aria-description"))return r.axe.commons.text.sanitize(e.attr("aria-description"))}function s(e,t){const n=r.axe.commons.text.sanitize(e.attr("title"));if(null!==n&&!t.includes(n))return n}t.getAccDescription=function(e,t){return[o,i,s].reduce((n,r)=>n??r(e,t),void 0)??""}},5449(e,t,n){"use strict";t.getWordRects=void 0;const r=n(48942),o=n(83144);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,o.assert)(e.children,"vNode.children is not defined");const t=[];for(const{actualNode:r}of e.children){if(!s(r)||!r.nodeValue)continue;const e=n(r);for(const{index:n,length:o}of e)t.push(...i(r,n,o))}return t;function n({nodeValue:e}){(0,o.assert)(e,"textNode.nodeValue is not defined");let t=0,n=0,r="";const i=[],s=e=>{(e.charCount>1||/[0-9]/.test(e.word))&&i.push(e)};for(const o of e)a(o)?(r+=o,t++):r.length>0?(s({charCount:t,index:n,length:r.length,word:r}),n+=r.length+o.length,r="",t=0):n+=o.length;return s({index:n,length:r.length,word:r,charCount:t}),i}function a(e){return!/\s/.test(e)&&!r.axe.commons.text.hasUnicode(e,{emoji:!0,nonBmp:!0,punctuations:!0})}};const s=e=>e?.nodeType===Node.TEXT_NODE},40280(e,t,n){"use strict";t.isInAccessibleText=void 0;const r=n(48942),o=n(83144),i=n(25470),s=n(73868),a=Symbol("accTextCache"),c=i.cache.child(a);function l(e){return c.get(e,()=>{(0,o.assert)(e.actualNode instanceof Element,"vNode.actualNode must be an Element");const t=e.actualNode;if((0,s.isNameFromContent)(e))return t;const n=r.axe.commons.aria.getAccessibleRefs(e).find(e=>!!r.axe.commons.aria.getRole(e,{noPresentational:!0})&&function(e,t){return u.filter(n=>{const o=e.getAttribute(n);return!!o&&r.axe.utils.tokenList(o).includes(t.id)})}(e,t).length);if(n)return n;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&&f(n))return n;const r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>t!==e&&t instanceof HTMLElement&&f(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),o=r.nextNode();return o instanceof HTMLElement?o:null}(t);return i||(e.parent?l(e.parent):null)})}t.isInAccessibleText=function(e){return null!==l(e)};const u=["aria-labelledby","aria-describedby"];const d=["button","input","meter","output","progress","select","textarea"];function f(e){const t=e.nodeName.toLowerCase();return("input"!==t||"hidden"!==e.getAttribute("type"))&&d.includes(t)}},73868(e,t,n){"use strict";t.isNameFromContent=void 0;const r=n(25470),o=n(48942),i=Symbol("nameFromContentRoles"),s=["term","directory","listitem","section","figure"];t.isNameFromContent=function(e){const t=r.cache.get(i,()=>o.axe.commons.standards.getAriaRolesSupportingNameFromContent().filter(e=>!s.includes(e))),n=o.axe.commons.aria.getRole(e);return!!n&&t.includes(n)}},81720(e,t){"use strict";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)}},61104(e,t,n){"use strict";t.dropObscuredRects=void 0;const r=n(48942),o=n(79819);t.dropObscuredRects=function(e,t,n={}){const{rectsOverlap:i}=r.axe.commons.math,s=(0,o.getObscuredRects)(e),a=[];for(const e of t){if(0===s.filter(t=>i(e,t)).length)a.push(e);else if(n.split)try{const t=r.axe.commons.math.splitRects(e,s).filter(({width:e,height:t})=>e>=1&&t>=1);a.push(...t)}catch{}}return a}},79819(e,t,n){"use strict";t.getObscuredRects=void 0;const r=n(48942),o=n(25470),i=n(63192),s=n(86256),a=Symbol("getObscuringRects"),c=o.cache.child(a);t.getObscuredRects=function(e){return c.get(e,()=>(0,s.findNearbyElms)(e).filter(t=>r.axe.commons.math.hasVisualOverlap(e,t)).map(i.getObscuringRects).flat())}},63192(e,t,n){"use strict";t.getObscuringRects=void 0;const r=n(48942),o=n(34344);t.getObscuringRects=function(e){const t=e.getComputedStylePropertyValue.bind(e),n=e.actualNode;if(n instanceof Element==!1||"0"===t("opacity")||t("filter").includes("opacity(0)"))return[];const i=new r.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(n.getClientRects());const s=(0,o.getTextContentRect)(e);return s?[s]:[]}},34344(e,t,n){"use strict";t.getTextContentRect=void 0;const r=n(61104);t.getTextContentRect=function(e){const t=document.createRange(),n=[];for(const{actualNode:r}of e.children??[])r?.nodeType===Node.TEXT_NODE&&(t.selectNodeContents(r),n.push(...Array.from(t.getClientRects())));if(0===n.length)return null;const o=(0,r.dropObscuredRects)(e,n,{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}}},73684(e,t,n){"use strict";t.getVisibilityRects=void 0;const r=n(83144);function o(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,n=function(e){const t=e.actualNode?.ownerDocument.defaultView;return(0,r.assert)(t,"Frame window not found"),t}(e),{overflowX:o,overflowY:i}=s(e);let{innerWidth:a,innerHeight:c}=n,l=0,u=0;n.top===n&&"hidden"!==i&&(u=-n.scrollY||0,c=t.scrollHeight+parseFloat(e.getComputedStylePropertyValue("margin-top"))+parseFloat(e.getComputedStylePropertyValue("margin-bottom")));if(n.top===n&&"hidden"!==o){const r=parseFloat(e.getComputedStylePropertyValue("margin-left"));l=-n.scrollX||0,a=Math.max(a,t.scrollWidth+r)}return new DOMRect(l,u,a,c)}(t);return{visibleRect:e,clippingRect:e}}const n=t.boundingClientRect,i=function(e,{parent:t}){(0,r.assert)(t,"Cannot get clipping rect for a node without a parent");const{clippingRect:n,visibleRect:i}=o(e,t);if("visible"===t.getComputedStylePropertyValue("overflow"))return n;if(t.parent&&"body"===t.props.nodeName&&s(t.parent).fromBody)return n;return i}(e,t);return{visibleRect:e.commons.math.getIntersectionRect(n,i)??new DOMRect(n.x,n.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=o},91639(e,t,n){"use strict";t.addRecorderToAxe=void 0;const r=n(26764),o=n(33818),i=n(60655),s=n(62119),a=n(51236),c=n(71897),l=n(47766),u=n(39706),d=n(89613),f=n(83144),p=n(48942),h=Symbol("BACKGROUND_RECORDER_CLIENT");t.addRecorderToAxe=function(e,{bridge:t}){let n;(0,f.assert)(!e.recorderVersion||e.recorderVersion===d.version,`Failed to add Recorder v${d.version} because Recorder v${e.recorderVersion} is already installed.`),e.recorderVersion?(n=e[h],(0,f.assert)(n,"Advanced rules already initialized without a bridge"),(0,f.assert)(n.bridge===t,"Advanced rules already initialized with a different bridge")):(n=new l.BackgroundRecorderClient({bridge:t,axe:e}),e[h]=n,(0,c.updateAxeRun)(e,{background:n},u.advancedRun)),e.recorderVersion=d.version;const m=(0,a.createReporter)(e,i.recorderAsyncReporter);e.addReporter("advancedInputReporter",m);const b=r.recorderRules.map(t=>g(e,t)),v=o.recorderChecks.map(t=>y(e,t,n));e.configure({rules:b,checks:v,reporter:"advancedInputReporter"}),(0,s.updateNodeSerializer)(e),(0,p.setAxeProxy)(e)};const m={passed:!0,failed:!1,incomplete:void 0};function g(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 y(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),m[t]}const c=this.async();a.then(({data:e,result:t,relatedNodes:n})=>{this.data(e),n&&this.relatedNodes(n),c(m[t])},e=>{e instanceof Error?c(e):c(new Error(String(e)))})}}}},25014(e,t){"use strict";t.NODE_LIMIT=void 0,t.NODE_LIMIT=15e3},62119(e,t,n){"use strict";t.updateNodeSerializer=void 0;const r=n(83144),o=n(44099),i=n(73727),s=n(38392),a=n(24628),c=n(73684);function l(e,t,n){(0,r.assert)(t.advanced._frameProps,"frameProps is missing");const{innerFrameRect:i,clippingRect:s}=t.advanced._frameProps,a=n.commons.math.getIntersectionRect((0,o.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=n.commons.math.getIntersectionRect((0,o.toDOMRect)(a),(0,o.toDOMRect)(s));return c?(0,o.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:r,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,o.fromDOMRect)(r),clippingRect:(0,o.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,n){(0,r.assert)(n.advanced?._frameProps,"required frameProps are missing. Was the iframe configured correctly?"),(0,r.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||n.advanced._frameProps.rotated)return{...o(t,n),advanced:{visibleBoundingRect:null,windowCoordinate:null,clippingRect:null}};const i=l(t.advanced.visibleBoundingRect,n,e),s=l(t.advanced.clippingRect,n,e),a=function(e,t){const{windowCoordinate:n}=e.advanced,o=t.advanced._frameProps?.innerFrameRect;return(0,r.assert)(n,"windowCoordinate is missing"),(0,r.assert)(o,"innerFrameRect is missing"),{x:o.x+n.x,y:o.y+n.y}}(t,n),c={visibleBoundingRect:i,clippingRect:s,windowCoordinate:a};return{...o(t,n),advanced:c}}})}},39706(e,t,n){"use strict";t.advancedRun=void 0;const r=n(83144),o=n(6857),i=n(58821),s=n(26764),a=n(41838);function c(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:n={},background:a}){const{runOptions:l,backgroundOptions:u}=(0,i.extractRunOptions)(e,n);try{let n,i;if(await(a?.setup(u)),a&&u.screenshot){const{scrollX:e,scrollY:t}=window;({screenshot:n,zoom:i}=await o.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=n,d.advancedRuleInput.screenshotScale=i,await async function({ruleResults:e,...t}){const{recorderResults:n=[]}=e.advancedRuleInput;for(let e=0;e<n.length;e++){const i=n[e],a=s.recorderRules.find(e=>e.id===i.id);if(a&&"asyncAfter"in a){const s=await o.perf.run(`asyncAfter ${a.id}`,()=>((0,r.assert)("function"==typeof a.asyncAfter,"asyncAfter is not a function"),i.error?i:a.asyncAfter({rawRuleResult:i,...t}).catch(e=>c(e,i))));n[e]=s}}return e}({ruleResults:d,axe:e,background:a})}finally{await(a?.teardown(u))}}},58821(e,t,n){"use strict";t.extractRunOptions=void 0;const r=n(26764);t.extractRunOptions=function(e,t){const n=t.advanced??{};let o=t;e.utils.normalizeRunOptions?o=e.utils.normalizeRunOptions(t):e._audit.normalizeOptions&&(o=e._audit.normalizeOptions(t));const i=r.recorderRules.some(t=>e.utils.ruleShouldRun(t,{},o)),s={attachDebugger:n.attachDebugger??i,screenshot:n.screenshot??i,skipAnimations:n.skipAnimations??i,performanceTimer:!!t.performanceTimer};if(n.aiDisabled){const e=r.recorderRules.filter(e=>e.tags?.includes("AI")),t={...o.rules};e.forEach(e=>{t[e.id]={enabled:!1}}),o={...o,rules:t}}if(!0!==n.testFormStructure){const e={...o.rules};e["recorder/form-structure"]={enabled:!1},o={...o,rules:e}}return{backgroundOptions:s,runOptions:o}}},71897(e,t,n){"use strict";t.updateAxeRun=void 0;const r=n(81720);t.updateAxeRun=function(e,{background:t},n){const o=Object.create(e);o.run=e.run,e.run=function(...i){const{context:s,options:a,callback:c}=function(e,t){const n=e.findIndex(e=>"function"==typeof e),o=e.findIndex(t.utils.isContextSpec??r.isContextSpec);return{callback:-1!==n?e[n]:void 0,context:-1!==o?e[o]:document,options:e.find((e,t)=>![n,o].includes(t))??{}}}(i,e);try{const e=n({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)}}}},86739(e,t,n){"use strict";const r=n(91639);var o=n(47766);const i=n(22286);var s=n(52058);t.default={addRecorderToAxe:r.addRecorderToAxe,v1AdvancedAsyncReporter:i.v1AdvancedAsyncReporter}},51236(e,t){"use strict";t.createReporter=void 0;t.createReporter=(e,t)=>(n,r,o,i)=>{t(e,n,r).then(o,e=>i(e))}},83493(e,t){"use strict";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"}},67388(e,t){"use strict";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")}},8335(e,t,n){"use strict";t.limitRecorderResultsNodes=void 0;const r=n(25014);function o(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 i(e){return e.passes.length+e.incomplete.length+e.violations.length}t.limitRecorderResultsNodes=function(e,t=r.NODE_LIMIT){const n=e.map((e,t)=>({result:e,nodeCount:i(e),originalIndex:t}));n.sort((e,t)=>e.nodeCount-t.nodeCount);let s=t,a=null;const c=new Array(e.length);for(let e=0;e<n.length;e++){const{result:t,nodeCount:r,originalIndex:i}=n[e];if(null!==a){c[i]=o(t,a);continue}const l=n.length-e,u=Math.floor(s/l);r>u?(a=u,c[i]=o(t,a)):(c[i]=t,s-=r)}return c}},60655(e,t,n){"use strict";t.recorderAsyncReporter=void 0;const r=n(89613),o=n(22286),i=n(83493),s=n(67388),a=n(8335);t.recorderAsyncReporter=async(e,t,n)=>{(0,i.dedupeContrastResults)(t),(0,s.dedupeImageDescription)(t);const c=t.filter(e=>!e.tags.includes("advanced")),l=t.filter(e=>e.tags.includes("advanced")),u=await(0,o.v1AdvancedAsyncReporter)(e,c,n),d=await new Promise((t,r)=>{e.getReporter("raw")(l,n,t,r)});return{...u,advancedRuleInput:{recorderResults:(0,a.limitRecorderResultsNodes)(d),recorderSpec:{branding:e._audit.brand,lang:e._audit.lang,coreVersion:e.version,recorderVersion:r.version},runOptions:u.toolOptions,testEnvironment:u.testEnvironment,url:u.url}}}},22286(e,t){"use strict";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(" >>> ")},52058(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.advancedRuleSpecs=void 0;const o=r(n(38188)),i=r(n(1610)),s=r(n(83309)),a=r(n(14906)),c=r(n(86925)),l=r(n(792)),u=r(n(50486));t.advancedRuleSpecs={[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,[u.default.id]:u.default}},50486(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"]}},38188(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"]}},1610(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"]}},86925(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","imageDescriptions"],any:["advanced/image-decorative"]}},792(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","imageDescriptions"],any:["advanced/image-informative-has-alt"]}},83309(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"]}},14906(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"]}},33818(e,t,n){"use strict";t.recorderChecks=void 0;const r=n(64885),o=n(14690),i=n(65113),s=n(25914),a=n(83134);t.recorderChecks=[r.textContrastCheck,o.screenshotFeaturesCheck,i.focusVisibleCheck,s.imageDescriptionCheck,a.formStructureCheck]},82411(e,t){"use strict";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]},65113(e,t,n){"use strict";t.focusVisibleCheck=t.p=void 0;const r=n(38325),o=n(91022),i=n(25470),s="incomplete";t.p=3,t.focusVisibleCheck={id:"recorder/focus-visible",options:{},async evaluate({background:e,domNode:n}){if(!e)return{result:s,data:{checkVersion:t.p}};const[i,a]=await Promise.all([c(e),(0,r.getAllStyleSheets)(e)]),l=(0,o.findFocusIndicators)(n,a);let u=0;const d=new Map,f=l.map(({elm:e,pseudoElm:t})=>{if(e===n)return{relatedNodeIndex:-1,...t?{pseudoElm:t}:{}};let r=d.get(e)??-1;return-1===r&&(r=u,d.set(e,r),u++),{relatedNodeIndex:r,...t?{pseudoElm:t}:{}}}),p=new Array(u);d.forEach((e,t)=>{p[e]=t});const h={checkVersion:t.p,possibleIndicators:f,frameId:i};return{result:s,data:h,relatedNodes:p}}};const a=Symbol("background.getFrameId");async function c(e){return i.cache.getAsync(a,async()=>(await e.getFrameId()).frameId)}},61212(e,t,n){"use strict";t.focusVisibleMatches=void 0;const r=n(87732),o=n(70793);t.focusVisibleMatches=function({vNode:e,domNode:t,axe:n}){return!!(0,o.isFocusableMedia)({vNode:e,axe:n})||!(!n.commons.dom.isInTabOrder(e)||function(e,t){if("input"===e.props.nodeName)return!i.has(e.props.type);if("textarea"===e.props.nodeName)return!0;return(0,r.isContentEditable)(t)}(e,t))};const i=new Set(["button","checkbox","color","file","image","radio","range","reset","submit"])},73375(e,t,n){"use strict";t.focusVisible=void 0;const r=n(65113),o=n(83144),i=n(82411),s=n(61212);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:[r.focusVisibleCheck.id],async asyncAfter({rawRuleResult:e,background:t}){const n=function(e){const t=[];return e.forEach(e=>{const n=e.any[0].data,r=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,o.assert)(r?.[n],e);const t=r[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 r={},s=[];if(t){const e=await Promise.all([t.getComputedFocusStyles({focusTriggers:n}),t.getEventListeners({types:["focus","focusin"]})]);r=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,r,s)}),e}};const a=e=>!!e.possibleIndicators},83134(e,t,n){"use strict";t.formStructureCheck=t.p=void 0;const r=n(87209),o=n(46735),i=n(75583),s=n(73274);t.p=1;const a=new Set(["button","checkbox","color","file","hidden","image","radio","range","reset","submit"]);function c(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)&&!a.has(t)}function u(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:n}){const a=n.commons.text.accessibleTextVirtual(e),d=(0,o.getNearestForm)(e),f=function(e){if("input"!==e.props?.nodeName)return null;return e.props?.type??null}(e);return{data:{checkVersion:t.p,accessibleName:a,role:n.commons.aria.getRole(e,{noPresentational:!0}),accessibleDescription:(0,r.getAccDescription)(e,a),placeholder:c(e),inputType:f,autocompleteValue:(e.attr("autocomplete")??"").trim(),autocompleteSupport:l(e,f),fieldsetNames:(0,i.getFieldsetNames)(e),nearestHeadingText:(0,s.getPreviousHeading)(e),isDisabled:n.commons.forms.isDisabled(e),isInert:n.commons.dom.isInert(e),isReadonly:u(e)},result:"incomplete",relatedNodes:d?[d]:[]}}}},89831(e,t){"use strict";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)}},95566(e,t,n){"use strict";t.formStructure=void 0;const r=n(83134),o=n(89831);t.formStructure={id:"recorder/form-structure",selector:"input, select, textarea, [role]",excludeHidden:!0,matches:o.formStructureMatches,tags:["advanced","AI"],any:[r.formStructureCheck.id]}},75583(e,t,n){"use strict";t.getFieldsetNames=void 0;const r=n(25470),o=n(48942),i=Symbol("FIELDSET_NAMES"),s=r.cache.child(i);t.getFieldsetNames=function e(t){return s.get(t,()=>{const n=t.parent;if(!n)return[];const r=e(n),i=n.props?.nodeName,s=o.axe.commons.aria.getRole(n,{noPresentational:!0});if(!("fieldset"===i)&&!("group"===s))return r;const a=o.axe.commons.text.accessibleTextVirtual(n).trim();return a?[a,...r]:r})}},46735(e,t,n){"use strict";t.getNearestForm=void 0;const r=n(83144),o=n(25470),i=n(48942),s=Symbol("NEAREST_FORM"),a=o.cache.child(s);t.getNearestForm=function e(t){return a.get(t,()=>{const n=t.parent;if(!n)return null;if("form"===n.props?.nodeName){const e=n.actualNode;return(0,r.assert)(e instanceof Element,"form element is not an Element"),e}if("form"===i.axe.commons.aria.getRole(n)){const e=n.actualNode;return(0,r.assert)(e instanceof Element,"form element is not an Element"),e}return e(n)})}},73274(e,t,n){"use strict";t.getPreviousHeading=void 0;const r=n(25470),o=n(48942),i=Symbol("PREVIOUS_HEADING"),s=r.cache.child(i);function a(e){const t=e.children??[];return 0===t.length?e:a(t[t.length-1])}t.getPreviousHeading=function e(t){return s.get(t,()=>{const n=t.parent;if(!n)return"";const r=function(e){const t=e.parent?.children??[],n=t.indexOf(e);if(n<1)return;return a(t[n-1])}(t)??n;return function(e){const t=o.axe.commons.aria.getRole(e);return"heading"===t}(r)?o.axe.commons.text.accessibleTextVirtual(r):e(r)})}},25914(e,t,n){"use strict";t.imageDescriptionCheck=t.p=void 0;const r=n(87209),o=n(79819);t.p=1,t.imageDescriptionCheck={id:"recorder/image-description",options:{},evaluate({vNode:e,axe:n}){const i=n.commons.text.accessibleTextVirtual(e),s=(0,r.getAccDescription)(e,i),a=(0,o.getObscuredRects)(e);return{data:{checkVersion:t.p,label:i,description:s,obscuredRects:a},result:"incomplete"}}}},93427(e,t,n){"use strict";t.imageDescriptionMatches=void 0;const r=n(48942),o=n(40280),i=n(79819);t.imageDescriptionMatches=function({domNode:e,vNode:t}){const n=(0,i.getObscuredRects)(t);return 0!==r.axe.commons.math.splitRects(t.boundingClientRect,n).length&&(e instanceof HTMLImageElement&&e.complete&&e.naturalHeight>0&&!(0,o.isInAccessibleText)(t))}},87410(e,t,n){"use strict";t.imageDescription=void 0;const r=n(25914),o=n(93427);t.imageDescription={id:"recorder/image-description",selector:"img",matches:o.imageDescriptionMatches,tags:["advanced","AI"],any:[r.imageDescriptionCheck.id]}},26764(e,t,n){"use strict";t.recorderRules=void 0;const r=n(26771),o=n(3802),i=n(87410),s=n(73375),a=n(95566);t.recorderRules=[r.textContrast,o.screenshotFeatures,i.imageDescription,s.focusVisible,a.formStructure]},14690(e,t,n){"use strict";t.screenshotFeaturesCheck=t.p=void 0;const r=n(48942),o=n(34344);t.p=5;function i(e){if(!e?.parent||"body"===e.props.nodeName)return[];const t=i(e.parent),n=r.axe.commons.aria.getRole(e,{noPresentational:!0});return n?t.concat(n):t}t.screenshotFeaturesCheck={id:"recorder/screenshot-features",options:{},evaluate({vNode:e,axe:n}){const r=(0,o.getTextContentRect)(e),s=n.commons.dom.isVisibleOnScreen(e),a=i(e),c=n.commons.aria.getRole(e,{noPresentational:!1}),l=n.commons.dom.isFocusable(e),u=!!r;return{data:{checkVersion:t.p,contentRect:r,roles:a,visible:s,role:c,focusable:l,hasChildTextNodes:u},result:"incomplete"}}}},3195(e,t){"use strict";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)}},3802(e,t,n){"use strict";t.screenshotFeatures=void 0;const r=n(14690),o=n(3195);t.screenshotFeatures={id:"recorder/screenshot-features",selector:"*",matches:o.screenshotFeaturesMatches,excludeHidden:!0,tags:["advanced","AI"],any:[r.screenshotFeaturesCheck.id]}},64885(e,t,n){"use strict";t.textContrastCheck=t.p=void 0;const r=n(5449),o=n(30947),i=n(47050),s=n(61104);t.p=4,t.textContrastCheck={id:"recorder/text-contrast",options:{},evaluate({vNode:e}){const n=(0,r.getWordRects)(e);return{data:{checkVersion:t.p,rects:(0,s.dropObscuredRects)(e,n),fontSize:parseFloat(e.getComputedStylePropertyValue("font-size")),fontWeight:parseFloat(e.getComputedStylePropertyValue("font-weight")),ownCss:(0,i.getOwnCssProps)(e),ancestorCss:(0,o.getAncestorCssProps)(e)},result:"incomplete"}}}},26771(e,t,n){"use strict";t.textContrast=void 0;const r=n(64885);t.textContrast={id:"recorder/text-contrast",matches:"color-contrast-matches",excludeHidden:!1,tags:["advanced"],all:[r.textContrastCheck.id]}},30947(e,t){"use strict";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},47050(e,t){"use strict";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}},5969(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},o=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])}}},i=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 s,a,c,l=n(67151);function u(e,t,n){for(var r=null,o=[],i=e,c=0,u=function(){var e=y(function(e){var t=e.getAttribute("id");if(t&&a.idName(t))return{name:"#"+l(t,{isIdentifier:!0}),penalty:0};return null}(i))||y.apply(void 0,function(e){var t=Array.from(e.attributes).filter(function(e){return a.attr(e.name,e.value)});return t.map(function(e){return{name:"["+l(e.name,{isIdentifier:!0})+'="'+l(e.value)+'"]',penalty:.5}})}(i))||y.apply(void 0,function(e){var t=Array.from(e.classList).filter(a.className);return t.map(function(e){return{name:"."+l(e,{isIdentifier:!0}),penalty:1}})}(i))||y(function(e){var t=e.tagName.toLowerCase();if(a.tagName(t))return{name:t,penalty:2};return null}(i))||[{name:"*",penalty:3}],u=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}(i);if(t===s.All)u&&(e=e.concat(e.filter(g).map(function(e){return m(e,u)})));else if(t===s.Two)e=e.slice(0,1),u&&(e=e.concat(e.filter(g).map(function(e){return m(e,u)})));else if(t===s.One){var f=(e=e.slice(0,1))[0];u&&g(f)&&(e=[m(f,u)])}for(var p=0,h=e;p<h.length;p++){(f=h[p]).level=c}if(o.push(e),o.length>=a.seedMinLength&&(r=d(o,n)))return"break";i=i.parentElement,c++};i&&i!==a.root.parentElement;){if("break"===u())break}return r||(r=d(o,n)),r}function d(e,t){var n=w(v(e));if(n.length>a.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 f(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 p(e){return e.map(function(e){return e.penalty}).reduce(function(e,t){return e+t},0)}function h(e){switch(c.querySelectorAll(f(e)).length){case 0:throw new Error("Can't select any node with this selector: "+f(e));case 1:return!0;default:return!1}}function m(e,t){return{name:e.name+":nth-child("+t+")",penalty:e.penalty+1}}function g(e){return"html"!==e.name&&!e.name.startsWith("#")}function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(b);return n.length>0?n:null}function b(e){return null!=e}function v(e,t){var n,r,s;return void 0===t&&(t=[]),o(this,function(o){switch(o.label){case 0:if(!(e.length>0))return[3,5];n=0,r=e[0],o.label=1;case 1:return n<r.length?(s=r[n],[5,i(v(e.slice(1,e.length),t.concat(s)))]):[3,4];case 2:o.sent(),o.label=3;case 3:return n++,[3,1];case 4:return[3,7];case 5:return[4,t];case 6:o.sent(),o.label=7;case 7:return[2]}})}function w(e){return Array.from(e).sort(function(e,t){return p(e)-p(t)})}function S(e,t,n){var r,s,l;return void 0===n&&(n={counter:0,visited:new Map}),o(this,function(o){switch(o.label){case 0:if(!(e.length>2&&e.length>a.optimizedMinLength))return[3,5];r=1,o.label=1;case 1:return r<e.length-1?n.counter>a.maxNumberOfTries?[2]:(n.counter+=1,(s=e.slice()).splice(r,1),l=f(s),n.visited.has(l)?[2]:h(s)&&function(e,t){return c.querySelector(f(e))===t}(s,t)?[4,s]:[3,4]):[3,5];case 2:return o.sent(),n.visited.set(l,!0),[5,i(S(s,t,n))];case 3:o.sent(),o.label=4;case 4:return r++,[3,1];case 5:return[2]}})}!function(e){e[e.All=0]="All",e[e.Two=1]="Two",e[e.One=2]="One"}(s||(s={})),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 n={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};a=r({},n,t),c=function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return e;if(e===t.root)return e.ownerDocument;return e}(a.root,n);var o=u(e,s.All,function(){return u(e,s.Two,function(){return u(e,s.One)})});if(o){var i=w(S(o,e));return i.length>0&&(o=i[0]),f(o)}throw new Error("Selector was not found.")}},80870(e,t,n){"use strict";n.d(t,{fx:()=>o,gm:()=>r,pW:()=>s,wk:()=>i});const r=!1,o=()=>r?"firefox":"chrome",i="axe",s=r?"AxeFirefox":"AxeChrome"},33381(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(96367);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=async e=>{if(!e||0===e.length)return null;const t=await r.yS.send(r._O.content,"selector:identify",{selector:e});if(!Array.isArray(t)||null==t||!t.length)return null;const n=t.pop(),o=await r.yS.send(r._O.content,"highlight:get-node-metadata",{selector:n.selector},{frameId:n.frameId});if(!o)return null;const[s,...a]=await Promise.all([n,...t].map(e=>r.yS.send(r._O.content,"highlight:get-element-layout",{selector:e.selector},{frameId:e.frameId}))),c=a.reduce((e,t)=>({top:e.top+t.offsetTop+t.border.top,left:e.left+t.offsetLeft+t.border.left}),{top:0,left:0});return i(i({},o),{},{selector:e,frameId:n.frameId,layout:i(i({},s),{},{top:s.top+c.top,left:s.left+c.left})})}},10884(e,t,n){"use strict";n.d(t,{A:()=>D});var r=n(60119),o=n(96367),i=n(22395),s=n(80870),a=n(13205);const c=n(9510).El.lU.match(/(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)/).groups;n(7378);var l=n(83141),u=n.n(l),d=n(882),f=n(91968);const p=new Map;let h=null;async function m(){try{const e=await browser.storage.local.get();await Promise.all(Object.keys(e).filter(e=>e.startsWith("feature:")).map(e=>browser.storage.local.remove(e)))}catch(e){(0,f.vV)({message:"Failed to clear feature flags from local storage",originalError:e})}}async function g(){return{async variation(e,t){const n=`feature:${e}`,r=t??!1;try{const t=await(0,d.A)();let o=p.get(t);o||(p.clear(),o=await(async e=>{h||(h=fetch(`${e}/api/internal/features`).then(e=>(u()(e.ok,`Feature flag API responded with ${e.status}`),e.json())).catch(e=>{if(h=null,!(e instanceof TypeError&&"Failed to fetch"===e.message))throw e;return Promise.resolve(null)}));const t=await h,n=(null==t?void 0:t.features)??null;return p.set(e,n),h=null,n})(t),null!==o&&await m());const i=(o??[]).find(({id:t})=>t===e),{[n]:s}=await browser.storage.local.get(n),a=i?i.state:"boolean"!=typeof s?r:s;return await browser.storage.local.set({[n]:a}),a}catch{}const o=await browser.storage.local.get(n);return o&&Object.prototype.hasOwnProperty.call(o,n)?!!o[n]:r},clearCache(){p.clear(),m(),h=null}}}async function y(e,t=!1){return(await g()).variation(e,t)}const b=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"];function v(e){return!b.includes(e)&&/^[a-z]/.test(e)&&!/[A-Z]/.test(e)&&e.includes("-")}function w(e){const t=e.nodeName.toLowerCase(),n=e.parentNode;let r="";if("head"!==t&&"body"!==t&&n&&n.children.length>1){r=`:nth-child(${Array.prototype.indexOf.call(n.children,e)+1})`}const o=e.parentElement;return o?`${w(o)} > ${t}${r}`:t+r}function S(e){let t=e.getRootNode();if(t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)return w(e);const n=[];let r=e;for(;t.nodeType===Node.DOCUMENT_FRAGMENT_NODE;){const e=t.host;if(!e)return"";n.unshift(r),r=e,t=e.getRootNode()}return n.unshift(r),n.map(e=>w(e))}const O=["_internals","internals","internals_"],x=["internals","privateInternals"];function E(e){if(!v(e.nodeName.toLowerCase()))return;const t=e.wrappedJSObject;if(t){for(const e of O){var n;if(null!==(n=Object.getOwnPropertyDescriptor(t,e))&&void 0!==n&&n.get)continue;const r=t[e];if(r&&"object"==typeof r)return r}for(const e of Object.getOwnPropertySymbols(t))if(e.description&&x.includes(e.description)){var r;if(null!==(r=Object.getOwnPropertyDescriptor(t,e))&&void 0!==r&&r.get)continue;const n=t[e];if(n&&"object"==typeof n)return n}}}const A=/^aria[A-Z]/,T=["role","labels","form"];function C(e){const t={};for(const n in e)if(A.test(n)||T.includes(n))try{const r=e[n];if(null==r)continue;if(r instanceof globalThis.HTMLElement)t[n]=r.isConnected?{type:"HTMLElement",value:S(r)}:void 0;else if(Array.isArray(r)||r instanceof globalThis.NodeList){const e=Array.from(r).filter(e=>e.isConnected&&e instanceof Element);t[n]=e.length?{type:"NodeList",value:e.map(e=>S(e))}:void 0}else"string"==typeof r&&(t[n]=r)}catch{}return t}const I=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function N(e){if(!e.shadowRoot)return!1;const t=e.nodeName.toLowerCase();return I.includes(t)||v(t)}function P(e,t){const n=document.createTreeWalker(e instanceof Document?e.body:e,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){if(r instanceof Element){const e=E(r);e&&t.push({ancestry:S(r),internals:C(e)}),N(r)&&r.shadowRoot&&P(r.shadowRoot,t)}r=n.nextNode()}}function j(){try{const e=[];return P(document,e),e}catch{return[]}}let k=null,R=!1;async function _(e){const t=e;"function"==typeof(null==t?void 0:t.externalAPIs)&&await y("PRERELEASE_element_internals_DO_NOT_TURN_ON")&&(R||(R=!0,document.addEventListener("axe-set-frame-uuid",e=>{const t=e.detail;k="string"==typeof(null==t?void 0:t.uuid)?t.uuid:null}),document.addEventListener("axe-clear-frame-uuid",()=>{k=null})),t._enableElementInternals=!0,t.externalAPIs({elementInternalsTimeout:5e3,getElementInternals:()=>async function(){try{if(s.gm)return j();if(!k)return[];const e=await o.yS.send(o._O.background,"internals:gather",{uuid:k});return Array.isArray(e)?e:[]}catch(e){return console.error("axe element-internals: gather failed, continuing without internals",e),[]}}()}))}async function M(e){if(window.frames.length>0){const t=500,n=Promise.all(Array.from(window.frames).map(t=>(0,r.A)(t,"axe:ping",e).catch(()=>{}))),o=new Promise(e=>setTimeout(e,t));await Promise.race([n,o])}}async function D(e){var t,n,l,u,d,f;const p=function(e){return!e||"latest"===e||e===`${c.major}.${c.minor}`||e===`${c.major}.${c.minor}.${c.patch}`}(e);if(!p&&!(0,i.Ay)(e))return!1;if(p&&"axe"in window||null!==(t=window.axeVersions)&&void 0!==t&&t[a.e[e]])return await M(e),!0;let h;try{h=await async function(e){let t;globalThis.define=(e,n,r)=>{"axe-core"===e&&(t=r())},globalThis.define.amd=!0;const n=a.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(),window.axe=e,window.axeVersions[n]=t}return delete globalThis.define,t}(p?"latest":e)}catch{return!1}const m=["wcag22aaa","wcag22aa","wcag22a","wcag21aaa","wcag2aaa"],g=[];if("function"==typeof(null===(n=h)||void 0===n?void 0:n.getRules))for(const{ruleId:e}of h.getRules(m)){h.utils.getRule(e).enabled||g.push(e)}null===(l=h)||void 0===l||l.configure({branding:{brand:s.wk,application:s.pW},rules:g.map(e=>({id:e,enabled:!0}))});const y=p||null===(u=h)||void 0===u||!u.version?"axe-frame-messenger":`axe-frame-messenger@${h.version}`;return null===(d=h)||void 0===d||null===(f=d.frameMessenger)||void 0===f||f.call(d,{post:async(e,t,n)=>{n(await(0,r.A)(e,y,t,{timeout:"axe.ping"===t.topic?5e3:6e4}))},open:e=>{o.yS.listen(y,async({message:t})=>await new Promise(n=>{e(t,e=>{n(JSON.parse(JSON.stringify(e)))})}))}}),await _(h),await M(e),!0}},16275(e,t,n){"use strict";n.d(t,{default:()=>vs});var r={};n.r(r),n.d(r,{DocumentPosition:()=>Ie,append:()=>_e,appendChild:()=>Re,compareDocumentPosition:()=>Ne,existsOne:()=>$,filter:()=>L,find:()=>F,findAll:()=>B,findOne:()=>V,getAttributeValue:()=>$e,getChildren:()=>Le,getElementById:()=>Y,getElements:()=>G,getElementsByClassName:()=>X,getElementsByTagName:()=>K,getElementsByTagType:()=>J,getFeed:()=>ve,getInnerHTML:()=>me,getName:()=>He,getOuterHTML:()=>he,getParent:()=>Fe,getSiblings:()=>Ve,getText:()=>ge,hasAttrib:()=>Be,innerText:()=>be,nextElementSibling:()=>We,prepend:()=>De,prependChild:()=>Me,prevElementSibling:()=>Ue,removeElement:()=>je,removeSubsets:()=>Ce,replaceElement:()=>ke,testElement:()=>q,textContent:()=>ye,uniqueSort:()=>Pe});var o,i=n(6974);function s(){return!0}function a(){return!1}!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"}(o||(o={}));var c;!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"}(c||(c={}));const l=/^[^#\\]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\u00B0-\uFFFF-])+/,u=/\\([\da-f]{1,6}\s?|(\s)|.)/gi;var d;!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"}(d||(d={}));const f=new Map([[d.Tilde,c.Element],[d.Circumflex,c.Start],[d.Dollar,c.End],[d.Asterisk,c.Any],[d.ExclamationMark,c.Not],[d.Pipe,c.Hyphen]]),p=new Set(["has","not","matches","is","where","host","host-context"]),h=new Set(["before","after","first-line","first-letter"]);function m(e){switch(e.type){case o.Adjacent:case o.Child:case o.Descendant:case o.Parent:case o.Sibling:case o.ColumnCombinator:return!0;case o.Attribute:case o.Pseudo:case o.PseudoElement:case o.Tag:case o.Universal:return!1}}const g=new Set(["contains","icontains"]);function y(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 b(e){return e.replace(u,y)}function v(e){return e===d.SingleQuote||e===d.DoubleQuote}function w(e){return e===d.Space||e===d.Tab||e===d.NewLine||e===d.FormFeed||e===d.CarriageReturn}function S(e){const t=[],n=O(t,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return t}function O(e,t,n){let r=[];function i(e){const r=t.slice(n+e).match(l);if(!r)throw new Error(`Expected name, found ${t.slice(n)}`);const[o]=r;return n+=e+o.length,b(o)}function s(e){for(n+=e;n<t.length&&w(t.charCodeAt(n));)n++}function a(){const e=n+=1;for(let r=1;n<t.length;n++)switch(t.charCodeAt(n)){case d.BackSlash:n+=1;break;case d.LeftParenthesis:r+=1;break;case d.RightParenthesis:if(r-=1,0===r)return b(t.slice(e,n++))}throw new Error("Parenthesis not matched")}function u(){if(r.length>0&&m(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function y(e){r.length>0&&r[r.length-1].type===o.Descendant?r[r.length-1].type=e:(u(),r.push({type:e}))}function S(e,t){r.push({type:o.Attribute,name:e,action:t,value:i(1),namespace:null,ignoreCase:"quirks"})}function x(){if(r.length>0&&r[r.length-1].type===o.Descendant&&r.pop(),0===r.length)throw new Error("Empty sub-selector");e.push(r)}if(s(0),t.length===n)return n;e:for(;n<t.length;){const e=t.charCodeAt(n);switch(e){case d.Space:case d.Tab:case d.NewLine:case d.FormFeed:case d.CarriageReturn:0!==r.length&&r[0].type===o.Descendant||(u(),r.push({type:o.Descendant})),s(1);break;case d.GreaterThan:y(o.Child),s(1);break;case d.LessThan:y(o.Parent),s(1);break;case d.Tilde:y(o.Sibling),s(1);break;case d.Plus:y(o.Adjacent),s(1);break;case d.Period:S("class",c.Element);break;case d.Hash:S("id",c.Equals);break;case d.LeftSquareBracket:{let e;s(1);let a=null;t.charCodeAt(n)===d.Pipe?e=i(1):t.startsWith("*|",n)?(a="*",e=i(2)):(e=i(0),t.charCodeAt(n)===d.Pipe&&t.charCodeAt(n+1)!==d.Equal&&(a=e,e=i(1))),s(0);let l=c.Exists;const u=f.get(t.charCodeAt(n));if(u){if(l=u,t.charCodeAt(n+1)!==d.Equal)throw new Error("Expected `=`");s(2)}else t.charCodeAt(n)===d.Equal&&(l=c.Equals,s(1));let p="",h=null;if("exists"!==l){if(v(t.charCodeAt(n))){const e=t.charCodeAt(n),r=n+=1;for(;n<t.length&&t.charCodeAt(n)!==e;)n+=t.charCodeAt(n)===d.BackSlash?2:1;if(t.charCodeAt(n)!==e)throw new Error("Attribute value didn't end");p=b(t.slice(r,n)),n+=1}else{const e=n;for(;n<t.length&&!w(t.charCodeAt(n))&&t.charCodeAt(n)!==d.RightSquareBracket;)n+=t.charCodeAt(n)===d.BackSlash?2:1;p=b(t.slice(e,n))}switch(s(0),32|t.charCodeAt(n)){case d.LowerI:h=!0,s(1);break;case d.LowerS:h=!1,s(1)}}if(t.charCodeAt(n)!==d.RightSquareBracket)throw new Error("Attribute selector didn't terminate");n+=1;const m={type:o.Attribute,name:e,action:l,value:p,namespace:a,ignoreCase:h};r.push(m);break}case d.Colon:{if(t.charCodeAt(n+1)===d.Colon){r.push({type:o.PseudoElement,name:i(2).toLowerCase(),data:t.charCodeAt(n)===d.LeftParenthesis?a():null});break}const e=i(1).toLowerCase();if(h.has(e)){r.push({type:o.PseudoElement,name:e,data:null});break}let s=null;if(t.charCodeAt(n)===d.LeftParenthesis)if(p.has(e)){if(v(t.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(s=[],n=O(s,t,n+1),t.charCodeAt(n)!==d.RightParenthesis)throw new Error(`Missing closing parenthesis in :${e} (${t})`);n+=1}else{if(s=a(),g.has(e)){const e=s.charCodeAt(0);e===s.charCodeAt(s.length-1)&&v(e)&&(s=s.slice(1,-1))}s=b(s)}r.push({type:o.Pseudo,name:e,data:s});break}case d.Comma:x(),r=[],s(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===r.length&&s(0);break}let a,c=null;if(e===d.Asterisk)n+=1,a="*";else if(e===d.Pipe){if(a="",t.charCodeAt(n+1)===d.Pipe){y(o.ColumnCombinator),s(2);break}}else{if(!l.test(t.slice(n)))break e;a=i(0)}t.charCodeAt(n)===d.Pipe&&t.charCodeAt(n+1)!==d.Pipe&&(c=a,t.charCodeAt(n+1)===d.Asterisk?(a="*",n+=2):a=i(1)),r.push("*"===a?{type:o.Universal,namespace:c}:{type:o.Tag,name:a,namespace:c})}}}return x(),n}var x;!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"}(x||(x={}));const E=x.Root,A=x.Text,T=x.Directive,C=x.Comment,I=x.Script,N=x.Style,P=x.Tag,j=x.CDATA;x.Doctype;function k(e){return(t=e).type===x.Tag||t.type===x.Script||t.type===x.Style;var t}function R(e){return e.type===x.CDATA}function _(e){return e.type===x.Text}function M(e){return e.type===x.Comment}function D(e){return Object.hasOwn(e,"children")}function L(e,t,n=!0,r=Number.POSITIVE_INFINITY){return F(e,Array.isArray(t)?t:[t],n,r)}function F(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&&D(t)&&t.children.length>0&&(s.unshift(0),i.unshift(t.children))}}function V(e,t,n=!0){const r=Array.isArray(t)?t:[t];for(const t of r){if(k(t)&&e(t))return t;if(n&&D(t)&&t.children.length>0){const n=V(e,t.children,!0);if(n)return n}}return null}function $(e,t){return(Array.isArray(t)?t:[t]).some(t=>k(t)&&e(t)||D(t)&&$(e,t.children))}function B(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]++];k(t)&&e(t)&&n.push(t),D(t)&&t.children.length>0&&(o.unshift(0),r.unshift(t.children))}}const H={tag_name:e=>"function"==typeof e?t=>k(t)&&e(t.name):"*"===e?k:t=>k(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=>_(t)&&e(t.data):t=>_(t)&&t.data===e};function W(e,t){return"function"==typeof t?n=>k(n)&&t(n.attribs[e]):n=>k(n)&&n.attribs[e]===t}function U(e,t){return n=>e(n)||t(n)}function z(e){const t=Object.keys(e).map(t=>{const n=e[t];return Object.hasOwn(H,t)?H[t](n):W(t,n)});return 0===t.length?null:t.reduce(U)}function q(e,t){const n=z(e);return!n||n(t)}function G(e,t,n,r=Number.POSITIVE_INFINITY){const o=z(e);return o?L(o,t,n,r):[]}function Y(e,t,n=!0){return Array.isArray(t)||(t=[t]),V(W("id",e),t,n)}function K(e,t,n=!0,r=Number.POSITIVE_INFINITY){return L(H.tag_name(e),t,n,r)}function X(e,t,n=!0,r=Number.POSITIVE_INFINITY){return L(W("class",e),t,n,r)}function J(e,t,n=!0,r=Number.POSITIVE_INFINITY){return L(H.tag_type(e),t,n,r)}const Z=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Q="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);function ee(e){let t,n=0;const{length:r}=e;for(let o=0;o<r;o++){const r=e.charCodeAt(o);if(r<128&&(!(1342177476>>>r&1)||r>=64||r<32))continue;if(void 0===t?t=e.substring(0,o):n!==o&&(t+=e.substring(n,o)),r<64){t+=Z.get(r),n=o+1;continue}const i=Q(e,o);t+=`&#x${i.toString(16)};`,i!==r&&o++,n=o+1}return void 0===t?e:(n<r&&(t+=e.substr(n)),t)}function te(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 ne=te(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),re=te(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),oe=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])),ie=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])),se=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),ae=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),ce=new Set(["svg","math"]),le=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" "));const ue=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+=fe(n[e],t,r);return o};function de(e,t,n){let r="";for(let o=0;o<e.length;o++)r+=fe(e[o],t,n);return r}function fe(e,t,n){switch(e.type){case E:return de(e.children,t,n);case T:return`<${e.data}>`;case C:return`\x3c!--${e.data}--\x3e`;case j:return`<![CDATA[${e.children[0].data}]]>`;case I:case N:case P:return function(e,t,n){"foreign"===n&&(e.name=oe.get(e.name)??e.name,e.parent&&le.has(e.parent.name)&&(n=!1));!n&&ce.has(e.name)&&(n="foreign");const{name:r,children:o}=e,i=!n&&ae.has(r);let s=`<${r}${function(e,t,n){if(!e)return"";const r=!1===(t.encodeEntities??t.decodeEntities)?pe:n||"utf8"!==t.encodeEntities?ee:ne,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?ie.get(t)??t:t;s+=i||null!=n&&""!==n?` ${a}="${r(null==n?"":String(n))}"`:` ${a}`}return s}(e.attribs,t,n)}`;0===o.length&&(n?!1!==t.selfClosingTags:t.selfClosingTags&&i)?s+=n?"/>":" />":(s+=">",o.length>0&&(s+=de(o,t,n)),i||(s+=`</${r}>`));return s}(e,t,n);case A:{const r=e,o=r.data||"";return!1===(t.encodeEntities??t.decodeEntities)||!n&&r.parent&&se.has(r.parent.name)?o:n||"utf8"!==t.encodeEntities?ee(o):re(o)}}}function pe(e){return e.replaceAll('"',"&quot;")}function he(e,t){return ue(e,t)}function me(e,t){return D(e)?e.children.map(e=>he(e,t)).join(""):""}function ge(e){return Array.isArray(e)?e.map(ge).join(""):k(e)?"br"===e.name?"\n":ge(e.children):R(e)?ge(e.children):_(e)?e.data:""}function ye(e){return Array.isArray(e)?e.map(ye).join(""):D(e)&&!M(e)?ye(e.children):_(e)?e.data:""}function be(e){return Array.isArray(e)?e.map(be).join(""):D(e)&&(e.type===x.Tag||R(e))?be(e.children):_(e)?e.data:""}function ve(e){const t=xe(Te,e);return t?"feed"===t.name?function(e){const t=e.children,n={type:"atom",items:K("entry",t).map(e=>{const{children:t}=e,n={media:Oe(t)};Ae(n,"id","id",t),Ae(n,"title","title",t);const r=xe("link",t)?.attribs.href;r&&(n.link=r);const o=Ee("summary",t)||Ee("content",t);o&&(n.description=o);const i=Ee("updated",t);return i&&(n.pubDate=new Date(i)),n})};Ae(n,"id","id",t),Ae(n,"title","title",t);const r=xe("link",t)?.attribs.href;r&&(n.link=r);Ae(n,"description","subtitle",t);const o=Ee("updated",t);o&&(n.updated=new Date(o));return Ae(n,"author","email",t,!0),n}(t):function(e){const t=xe("channel",e.children)?.children??[],n={type:e.name.substr(0,3),id:"",items:K("item",e.children).map(e=>{const{children:t}=e,n={media:Oe(t)};Ae(n,"id","guid",t),Ae(n,"title","title",t),Ae(n,"link","link",t),Ae(n,"description","description",t);const r=Ee("pubDate",t)||Ee("dc:date",t);return r&&(n.pubDate=new Date(r)),n})};Ae(n,"title","title",t),Ae(n,"link","link",t),Ae(n,"description","description",t);const r=Ee("lastBuildDate",t);r&&(n.updated=new Date(r));return Ae(n,"author","managingEditor",t,!0),n}(t):null}const we=["url","type","lang"],Se=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Oe(e){return K("media:content",e).map(e=>{const{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(const e of we)t[e]&&(n[e]=t[e]);for(const e of Se)t[e]&&(n[e]=Number.parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}function xe(e,t){return K(e,t,!0,1)[0]}function Ee(e,t,n=!1){return ye(K(e,t,n,1)).trim()}function Ae(e,t,n,r,o=!1){const i=Ee(n,r,o);i&&(e[t]=i)}function Te(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}function Ce(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 Ie;function Ne(e,t){const n=[],r=[];if(e===t)return 0;let o=D(e)?e:e.parent;for(;o;)n.unshift(o),o=o.parent;for(o=D(t)?t:t.parent;o;)r.unshift(o),o=o.parent;const i=Math.min(n.length,r.length);let s=0;for(;s<i&&n[s]===r[s];)s++;if(0===s)return Ie.DISCONNECTED;const a=n[s-1],c=a.children,l=n[s],u=r[s];return c.indexOf(l)>c.indexOf(u)?a===t?Ie.FOLLOWING|Ie.CONTAINED_BY:Ie.FOLLOWING:a===e?Ie.PRECEDING|Ie.CONTAINS:Ie.PRECEDING}function Pe(e){return(e=e.filter((e,t,n)=>!n.includes(e,t+1))).sort((e,t)=>{const n=Ne(e,t);return n&Ie.PRECEDING?-1:n&Ie.FOLLOWING?1:0}),e}function je(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 ke(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 Re(e,t){if(je(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 _e(e,t){je(t);const{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){const e=n.children;e.splice(e.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function Me(e,t){if(je(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 De(e,t){je(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}function Le(e){return D(e)?e.children:[]}function Fe(e){return e.parent||null}function Ve(e){const t=Fe(e);if(null!=t)return Le(t);const n=[e];let{prev:r,next:o}=e;for(;null!=r;)n.unshift(r),({prev:r}=r);for(;null!=o;)n.push(o),({next:o}=o);return n}function $e(e,t){const{attribs:n}=e;return n?.[t]}function Be(e,t){const{attribs:n}=e;return null!=n&&Object.hasOwn(n,t)&&null!=n[t]}function He(e){return e.name}function We(e){let{next:t}=e;for(;null!==t&&!k(t);)({next:t}=t);return t}function Ue(e){let{prev:t}=e;for(;null!==t&&!k(t);)({prev:t}=t);return t}!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"}(Ie||(Ie={}));const ze=/[-[\]{}()*+?.,\\^$|#\s]/g,qe=/\s/;function Ge(e){return e.replace(ze,"\\$&")}const Ye=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 Ke(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&Ye.has(e.name)}const Xe={equals(e,t,n){const{adapter:r}=n,{name:o}=t;let{value:i}=t;return Ke(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 Ke(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:o,value:i}=t;if(qe.test(i))return a;const s=new RegExp(`(?:^|\\s)${Ge(i)}(?:$|\\s)`,Ke(t,n)?"i":"");return function(t){const n=r.getAttributeValue(t,o);return null!=n&&n.length>=i.length&&s.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?a:Ke(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?a:Ke(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:i}=t;if(""===i)return a;if(Ke(t,n)){const t=new RegExp(Ge(i),"i");return function(n){const s=r.getAttributeValue(n,o);return null!=s&&s.length>=i.length&&t.test(s)&&e(n)}}return t=>!!r.getAttributeValue(t,o)?.includes(i)&&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):Ke(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)}};function Je(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 Ze(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 Qe(e,t){const n=t.getParent(e);return null!=n&&t.isTag(n)?n:null}const et="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])",tt={"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, ${et})`,"read-write":`:not([readonly]):is(textarea, ${et})`,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])"};const nt=new Set([9,10,12,13,32]),rt="0".charCodeAt(0),ot="9".charCodeAt(0);function it(e){return function(e){const t=e[0],n=e[1]-1;if(n<0&&t<=0)return a;if(-1===t)return e=>e<=n;if(0===t)return e=>e===n;if(1===t)return n<0?s: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}(function(e){switch(e=e.trim().toLowerCase()){case"even":return[2,0];case"odd":return[2,1]}let t=0,n=0,r=i(),o=s();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=r*(o??1),a(),t<e.length?(r=i(),a(),o=s()):r=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*o];function i(){switch(e.charAt(t)){case"-":return t++,-1;case"+":t++}return 1}function s(){const n=t;let r=0;for(;t<e.length&&e.charCodeAt(t)>=rt&&e.charCodeAt(t)<=ot;)r=10*r+(e.charCodeAt(t)-rt),t++;return t===n?null:r}function a(){for(;t<e.length&&nt.has(e.charCodeAt(t));)t++}}(e))}function st(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=Qe(r,t);if(null===e)return i(n);r=e}while(!o.has(r));return!!o.get(r)&&i(n)}}function at(e){const{context:t,rootFunc:n,...r}=e;return r}function ct(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 lt=/^(.+?)\s+of\s+(.+)$/is;function ut(e,t){return function(n,r,o,i,c){const{adapter:l,equals:u}=o,d=t?null:r.match(lt),f=it(d?d[1].trim():r);if(f===a)return a;const p=d&&c?c(S(d[2].trim()),at(o),i):void 0;if(p===a)return a;if(f===s&&!p)return e=>null!==Qe(e,l)&&n(e);const h=p?(e,t)=>p(t):t?(e,t)=>l.getName(t)===l.getName(e):s;return e?function(e){if(p&&!p(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(u(e,o))break;l.isTag(o)&&h(e,o)&&r++}return f(r)&&n(e)}:function(e){if(p&&!p(e))return!1;const t=l.getSiblings(e);let r=0;for(const n of t){if(u(e,n))break;l.isTag(n)&&h(e,n)&&r++}return f(r)&&n(e)}}}const dt={contains(e,t,n){const{getText:r}=n.adapter;return st(e,n,e=>r(e).includes(t))},icontains(e,t,n){const r=t.toLowerCase(),{getText:o}=n.adapter;return st(e,n,e=>o(e).toLowerCase().includes(r))},"nth-child":ut(!1,!1),"nth-last-child":ut(!0,!1),"nth-of-type":ut(!1,!0),"nth-last-of-type":ut(!0,!0),root:(e,t,{adapter:n})=>t=>null===Qe(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):dt.root(e,t,n)},lang(e,t,{adapter:n}){const r=t.split(",").map(e=>e.trim()).filter(e=>e.length>0).map(e=>e.replace(/^['"]|['"]$/g,"").toLowerCase().split("-"));return function(t){let o=t;for(;null!=o;){const i=n.getAttributeValue(o,"xml:lang")??n.getAttributeValue(o,"lang");if(null!=i){if(!i)return r.some(e=>""===e[0])&&e(t);const n=i.toLowerCase().split("-");return r.some(e=>ct(n,e))&&e(t)}const s=n.getParent(o);o=null!=s&&n.isTag(s)?s:null}return r.some(e=>""===e[0])&&e(t)}},hover:ft("isHovered"),visited:ft("isVisited"),active:ft("isActive")};function ft(e){return function(t,n,{adapter:r}){const o=r[e];return"function"!=typeof o?a:function(e){return o(e)&&t(e)}}}const pt=/^[ \t\r\n]*$/,ht={empty(e,{adapter:t}){const n=t.getChildren(e);return n.every(e=>!t.isTag(e))&&n.every(e=>pt.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 mt(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`)}function gt(e){return"_flexibleDescendant"===e.type||m(e)}function yt(e){const t=e.map(bt);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 bt(e){switch(e.type){case o.Universal:return 50;case o.Tag:return 30;case o.Attribute:return Math.floor(function(e){switch(e.action){case c.Exists:return 10;case c.Equals:return"id"===e.name?9:8;case c.Not:return 7;case c.Start:case c.End:return 6;case c.Any:return 5;case c.Hyphen:return 4;case c.Element:return 3}}(e)/(e.ignoreCase?2:1));case o.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(bt))))):2:3;default:return-1}}function vt(e){return e.type===o.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(e=>e.some(vt)))}const wt={};const St=(e,t,n,r,o)=>{const i=o(t,at(n),r);return i===s?e:i===a?a:t=>i(t)&&e(t)},Ot={is:St,matches:St,where:St,not(e,t,n,r,o){const i=o(t,at(n),r);return i===a?e:i===s?a:t=>!i(t)&&e(t)},has(e,t,n,r,o){const{adapter:i}=n,c=at(n);c.relativeSelector=!0;const l=t.some(e=>e.some(gt))?[wt]:void 0,u=t.some(e=>e.length>0&&(gt(e[0])||e.some(vt)));const d=o(t,c,l);if(d===a)return a;if(l&&d!==s)return u?t=>{if(!e(t))return!1;l[0]=t;const r=i.getChildren(t);return null!==Je(d,d.shouldTestNextSiblings?[...r,...Ze(t,i)]:r,n)}:st(e,n,e=>(l[0]=e,null!==Je(d,i.getChildren(e),n)));const f=e=>null!==Je(d,i.getChildren(e),n);return u?t=>e(t)&&f(t):st(e,n,f)}};function xt(e,t,n,r,i,s){const{adapter:a,equals:c,cacheResults:l}=n;switch(t.type){case o.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case o.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case o.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()),Xe[t.action](e,t,n);case o.Pseudo:return function(e,t,n,r,o){const{name:i,data:s}=t;if(Array.isArray(s)){if(!(i in Ot))throw new Error(`Unknown pseudo-class :${i}(${s})`);return Ot[i](e,s,n,r,o)}const a=n.pseudos?.[i],c="string"==typeof a?a:tt[i];if("string"==typeof c){if(null!=s)throw new Error(`Pseudo ${i} doesn't have any arguments`);const t=S(c);return Ot.is(e,t,n,r,o)}if("function"==typeof a)return mt(a,i,s,1),t=>a(t,s)&&e(t);if(i in dt)return dt[i](e,s,n,r,o);if(i in ht){const t=ht[i];return mt(t,i,s,2),r=>t(r,n,s)&&e(r)}throw new Error(`Unknown pseudo-class :${i}`)}(e,t,n,r,i);case o.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 a.getName(t)===r&&e(t)}}case o.Descendant:{if(!s||!1===l||"undefined"==typeof WeakMap)return function(t){let n=t;for(;n=Qe(n,a);)if(e(n))return!0;return!1};const t=new WeakMap;return function(n){let r,o=n;for(;o=Qe(o,a);){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=Qe(n,a)}while(n);return!1};case o.Parent:return function(t){return a.getChildren(t).some(t=>a.isTag(t)&&e(t))};case o.Child:return function(t){const n=Qe(t,a);return null!==n&&e(n)};case o.Sibling:return function(t){const n=a.getSiblings(t);for(const r of n){if(c(t,r))break;if(a.isTag(r)&&e(r))return!0}return!1};case o.Adjacent:return a.prevElementSibling?function(t){const n=a.prevElementSibling(t);return null!=n&&e(n)}:function(t){const n=a.getSiblings(t);let r;for(const e of n){if(c(t,e))break;a.isTag(e)&&(r=e)}return!!r&&e(r)};case o.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}const Et={type:o.Descendant},At={type:"_flexibleDescendant"},Tt={type:o.Pseudo,name:"scope",data:null};function Ct(e,t,n){for(const t of e)yt(t);const{context:r=n,rootFunc:i=s}=t,c=Array.isArray(r),l=r&&(Array.isArray(r)?r:[r]);if(!1!==t.relativeSelector)!function(e,{adapter:t},n){const r=!!n?.every(e=>e===wt||t.isTag(e)&&null!==Qe(e,t));for(const t of e){if(t.length>0&&gt(t[0])&&t[0].type!==o.Descendant);else{if(!r||t.some(vt))continue;t.unshift(Et)}t.unshift(Tt)}}(e,t,l);else if(e.some(e=>e.length>0&&gt(e[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let u=!1,d=a;e:for(const n of e){if(n.length>=2){const[e,t]=n;e.type!==o.Pseudo||"scope"!==e.name||(c&&t.type===o.Descendant?n[1]=At:t.type!==o.Adjacent&&t.type!==o.Sibling||(u=!0))}let e=i,r=!1;for(const o of n){e=xt(e,o,t,l,Ct,r);if(0===bt(o)&&(r=!0),e===a)continue e}if(e===i)return i;d=d===a?e:It(d,e)}return d.shouldTestNextSiblings=u,d}function It(e,t){return n=>e(n)||t(n)}const Nt=(e,t)=>e===t,Pt={adapter:{...r,isTag:k},equals:Nt};function jt(e){const t=e??Pt;return t.adapter??=Pt.adapter,t.equals??=t.adapter?.equals??Nt,t}function kt(e,t,n){return Ct("string"==typeof e?S(e):e,jt(t),n)}function Rt(e){return function(t,n,r){const o=jt(r);"function"!=typeof t&&(t=kt(t,o,n));const i=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=Ze(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,i,o)}}const _t=Rt((e,t,n)=>e!==a&&t&&0!==t.length?function(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))}}}(e,t,n):[]),Mt=Rt((e,t,n)=>e!==a&&t&&0!==t.length?Je(e,t,n):null);class Dt extends HTMLElement{constructor(){return document.createElement("div")}}class Lt{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 Ft{constructor(e){this.groot=e.groot,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.listeners=new Map,this.init())}toJSON(){const{groot:e,...t}=this;return{...t}}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,i.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()=>{this.frameMessenger.sendAll("groot:remove-event-listener",{listenerId:o})}}else{const o=e=>{n?.preventDefault&&e.preventDefault(),n?.stopPropagation&&e.stopPropagation(),t(new Lt({event:e,groot:this.groot}))},i="object"!=typeof n?n:Object.fromEntries(Object.entries(n).filter(([e])=>!["preventDefault","stopPropagation"].includes(e)));this.element.addEventListener(e,o,i),r=()=>{this.element.removeEventListener(e,o,i)}}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 Vt={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 $t=Object.keys(Vt).reduce((e,t)=>(e[t]=Vt[t],e),{});const Bt=/(\[[^=]+=[^[]+\])|(\[.*\])/g;function Ht(e){let t=e;t.startsWith("#")&&(t=`[id="${t.substring(1)}"]`);const n=e.toString().match(Bt);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(Bt,e)}return t}var Wt=["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*Ut(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:Wt.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:Ht(`[${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*zt(e,n)}(t)}function*zt(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*zt(e,t,{data:r,start:n+1,index:i+1})}function qt(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,...qt(o)]),t}var Gt={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}},Yt={"nth-context":(e,t)=>e.ancestors.reduce((e,t)=>((t.isFrame||t.isShadow)&&e++,e),1)===Number(t)};function Kt(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 Xt=Symbol("i am groot");class Jt extends Map{constructor(e){super(),this.config={},this[Xt]={},this[Xt].count=0,this[Xt].nextId=()=>{for(;this.vnodeIds[this[Xt].count];)this[Xt].count+=1;return this[Xt].count},this[Xt].listeners={create:new Set,destroy:new Set,update:new Set,walk:new Set,discard:new Set},this[Xt].json=[],this[Xt].dirty=!0,this.ready=!1,this.context=!1,this.rules={},this.vnodeIds={},this.reset(e)}setSeed(e){this[Xt].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[Xt].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(Ht).join(", "),rejectKeys:new RegExp(`^(${n.rejectKeys.join("|")})$`),vnodeOnly:new RegExp(`^(${n.vnodeOnly.join("|")})$`)},this.context&&(this.ready=!0),this}clear(){return super.clear(),this[Xt].count=this.config.seed,this.vnodeIds={},this}reset(e={}){return this.context=window,this.config=Object.assign({},$t,{id:(0,i.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[Xt].dirty?(this[Xt].json=JSON.parse(this.safe(this.flat)),this[Xt].dirty=!1,this[Xt].json):this[Xt].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(e){}}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[Xt].nextId()})}async walk(e,t={}){this[Xt].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[Xt].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[Xt].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[Xt].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[Xt].listeners.walk.forEach(e=>e(s,this)),this}vnode(e){const{element:t,parent:n,vnodeId:r}=e,o=new Ft({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[Xt].listeners.create.forEach(e=>e(o,this)),o}refreshVnode(e,t={}){const{parent:n}=t;if(!e)return;const r=new Ft({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[Xt].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[Xt].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;Boolean(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[Xt].dirty=!0,await this.walk(t),e.forEach(e=>{if(!this.selectOne(e.selector)){this.findOneWithVNode(e)||this[Xt].listeners.discard.forEach(t=>t(e,this))}}),this}async from(e,t){this[Xt].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[Xt].listeners.discard.forEach(t=>t(e,this))}),await this.walk(t),this}hydrateFlatTree(e){e.forEach(e=>{const t=new Dt;let n={...e,element:t,children:[],ancestors:[]};n=new Ft({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=Ut(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(qt(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=Ut(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=Kt(e,t.isRelativeSelector);return _t(n,this.flat,{adapter:Gt,pseudos:Yt})}selectOne(e){const t=Kt(e);return Mt(t,this.flat,{adapter:Gt,pseudos:Yt})}getId(){return this.config.id}}class Zt{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 Jt(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 Jt({...e,frameMessenger:this.frameMessenger,treeBuilder:this}),await t.walk(document.body),this.trees.set(t.getId(),t)),t}}var Qt=n(96367),en=n(60119),tn=n(35226),nn=n.n(tn),rn=n(59681),on=n.n(rn),sn=["interactive","complete"],an=function(e,t){return new Promise(function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var r=function(){return n(void(e&&setTimeout(e)))};-1!==sn.indexOf(t.readyState)?r():t.addEventListener("DOMContentLoaded",r)})};an.resume=function(e){return function(t){return an(e).then(function(){return t})}};const cn=an;var ln=n(86171);const un=["children","previousSiblings","previousSibling","ancestors","slotAncestors","slotChildren","element","source","groot"],dn=["group","groupId","groupSelector","groupVnodeIds","define-group"];function fn(e){return Object.entries(e).filter(([e])=>!un.includes(e)).reduce((e,[t,n])=>(e[t]=n,e),{})}function pn(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 hn(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 mn(e,t){const n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(n),!0).forEach(function(t){hn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e),r=n.groups.findIndex(e=>e.id===t);return-1===r?e:(n.groups.splice(r,1),n.inputs.filter(e=>e.groupId===t).forEach(e=>{dn.forEach(t=>e[t]=void 0)}),n)}n.dn(mn);var gn=n(70367),yn=(n(7955),n(3958),n(50700),n(68446),n(71448),n(38555),n(56649),n(39454)),bn=n(94800);new gn.A((0,bn.A)(/(?:\n(?:\s*))+/g," "),yn.A);const vn=new gn.A((0,bn.A)(/(?:\n\s*)/g,""),yn.A);n(43837),n(24181),n(39811),n(8853),n(66684),n(11),n(80607);vn`
3
3
  a[href],
4
4
  button,
5
5
  input[type="button"],
@@ -9,7 +9,7 @@
9
9
  summary,
10
10
  [role="button"],
11
11
  [role="link"]
12
- `;const Br=qr`
12
+ `;const wn=vn`
13
13
  input
14
14
  :not([type="hidden"])
15
15
  :not([type="submit"])
@@ -20,7 +20,7 @@
20
20
  select,
21
21
  textarea,
22
22
  datalist
23
- `,Hr=(qr`
23
+ `,Sn=(vn`
24
24
  [role="combobox"],
25
25
  [role="listbox"],
26
26
  [role="option"],
@@ -29,7 +29,7 @@
29
29
  [role="textbox"],
30
30
  [role="slider"],
31
31
  [role="spinbutton"]
32
- `,'fieldset, [role="group"], [role="radiogroup"]');var Ur=r(78230),$r=r(5969),Wr=r.n($r),zr=r(43955),Gr=r(31146),Kr=r(33381);const Yr=async e=>{let t=!1;if(function(e){return e instanceof sr}(e)&&(t=e.isCrossOrigin),!t){var r,n;if(null!==(r=e.element)&&void 0!==r&&r.isConnected)return e.element;if(null!==(n=e.selector)&&void 0!==n&&n.length)try{const t=(0,Gr.A)(e.selector);if(t)return t}catch{}}return(0,Kr.A)(e.selector)};function Jr({vnode:e,selector:t,includeHidden:r=!1,verifyTree:n=!0}){const o=e.element&&"function"==typeof e.element.matches&&e.element.matches(t);return r?o:o&&(0,Ur.pK)(e.element)&&Ur.Ay.isVisible(e.element,n)}function Zr(...e){const t=e.filter(e=>!!e.element&&!!Ur.Ay.isVisible(e.element)).map(en);return t.length?1===t.length?t[0]:t.reduce((e,t)=>{const r={};return r.y=Math.min(e.y,t.y),r.x=Math.min(e.x,t.x),r.height=Math.max(e.height,t.height),r.width=Math.max(e.width,t.width),r}):{x:0,y:0,height:0,width:0}}function Xr(e){const{element:t={}}=e;if(t.nodeType!==Node.ELEMENT_NODE)return;const r=en(e),n=window.getComputedStyle(t),o=(parseFloat(n.paddingLeft)||0)+(parseFloat(n.paddingRight)||0),i=(parseFloat(n.paddingTop)||0)+(parseFloat(n.paddingBottom)||0),s=(parseFloat(n.borderLeftWidth)||0)+(parseFloat(n.borderRightWidth)||0),a=(parseFloat(n.borderTopWidth)||0)+(parseFloat(n.borderBottomWidth)||0);return{x:r.x+(parseFloat(n.paddingLeft)||0)+(parseFloat(n.borderLeftWidth)||0),y:r.y+(parseFloat(n.paddingTop)||0)+(parseFloat(n.borderTopWidth)||0),width:r.width-o-s,height:r.height-i-a}}function Qr(e){var t,r;const{element:n={},ancestors:o=[]}=e;if(n.nodeType!==Node.ELEMENT_NODE)return{};const i=null===(t=n.ownerDocument)||void 0===t||null===(r=t.createRange)||void 0===r?void 0:r.call(t);if("function"!=typeof(null==i?void 0:i.getBoundingClientRect))return{};i.selectNodeContents(n);const s=i.getBoundingClientRect();if(!s.width&&!s.height)return{};const a=tn(s,o),c=en(e);if(!rn(c))return a;const l=function(e,t){const r=Math.max(e.x,t.x),n=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:r,y:n,width:Math.max(0,o-r),height:Math.max(0,i-n)}}(a,c);return l.width&&l.height?l:{}}function en(e){const{element:t={},ancestors:r=[]}=e;return t.nodeType!==Node.ELEMENT_NODE?{}:tn(t.getBoundingClientRect(),r)}function tn({top:e,left:t,height:r,width:n},o=[]){const i={top:0,left:0};o.reduce((e,t)=>{if(t.isFrame){const r=t.element.getBoundingClientRect();e.top+=r.top,e.left+=r.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:r,width:n}}function rn(e){return"object"==typeof e&&["x","y","width","height"].every(t=>"number"==typeof e[t]&&!Number.isNaN(e[t]))}function nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function on(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(r),!0).forEach(function(t){sn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function sn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.dn(Zr);const an=['input[type="date"]','input[type="datetime-local"]','input[type="month"]','input[type="time"]','input[type="week"]'].join(", "),cn=["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(", "),ln=["tab","menuitem","radio","menuitemradio","menuitemcheckbox","treeitem"],un=(e,{tree:t,flat:r},n=!1)=>r.filter(t=>t.tagName===e).map(({vnodeId:e})=>{const r=t.getById(e);return n?r:null==r?void 0:r.element}).filter(Boolean),dn=(e,t,r=!1)=>(r?e.ancestors:e.ancestors.reverse()).find(e=>t.includes(Ur.Ay.getRole(e.element))),pn=(e,t)=>{if(!ln.includes(t))return[];let r;switch(t){case"tab":r=dn(e,["tablist"]);break;case"treeitem":r=dn(e,["tree"],!0);break;case"radio":r=dn(e,["radiogroup","group"]);break;case"menuitem":case"menuitemradio":case"menuitemcheckbox":r=dn(e,["menu","menubar"],!0)}if(!r)return[];let n=[...r.children],o=[];for(;n.length;){const e=n.shift();ln.includes(Ur.Ay.getRole(e.element))&&o.push(e.vnodeId),n=[...n,...e.children||[]]}return o},fn=e=>{const t=e.name;if(!t)return!0;const r=[...e.ownerDocument.querySelectorAll(`[name="${CSS.escape(t)}"]`)],n=r.find(e=>e.checked);return n?n===e:r[0]===e},hn=e=>`[role="${e}"]`,mn=ln.map(hn).join(", "),gn=(e,t,r)=>{if(!Jr({vnode:e,selector:mn}))return!1;const n=(o=Ur.Ay.getRole(e.element),Ur.Ay.getRequiredContext(o).map(hn).join(", "));var o;if(!n.length)return!1;const i=t.find(e=>Jr({vnode:e,selector:n}));return!!i&&r.find(e=>{var t;return i.element.contains(e)||(null===(t=i.contains)||void 0===t?void 0:t.call(i,e))})},yn=({tree:e,flat:t},r=!1)=>un("iframe",{tree:e,flat:t},r).map(e=>{if(r)return e.children[0];let t;try{var n;t=null===(n=e.contentWindow)||void 0===n?void 0:n.document}catch{return null}return t}).filter(Boolean),bn=({tree:e,flat:t},r=!1)=>un("shadow-root",{tree:e,flat:t},r),vn=({tree:e,flat:t})=>un("form",{tree:e,flat:t}),wn=(e,t)=>[...e].map(e=>Rr(t.get(e)||{})),Sn=({tabStops:e,submittedForms:t,launchedWindowOnFocus:r,cacheTree:n})=>{e.forEach((e,t)=>{e.launchedWindowOnFocus=r.has(t)});const o=[...e.values()],i=((e,t)=>{const r=e=>"area"===e.element.nodeName.toLowerCase(),n=[];(0,Ur.rJ)(document.documentElement,!0);for(const o of t){const{ancestors:t=[]}=o;!Jr({vnode:o,selector:cn,verifyTree:r(o)})||!Ur.Ay.isFocusable(o.element)||[...e.values()].find(e=>e.vnodeId===o.vnodeId)||!fn(o.element)||t.find(e=>!!Jr({vnode:e,selector:mn,verifyTree:r(e)}))||Jr({vnode:o,selector:'[role="radio"]',verifyTree:!1})||gn(o,t,[...e.keys()])||n.push(Rr(o))}return n})(e,n.values());return{skipped:i,tabStops:o,submittedForms:wn(t,n),launchedWindowOnFocus:wn(r,n)}};function En(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function xn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?En(Object(r),!0).forEach(function(t){On(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):En(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function On(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const An=e=>xn(xn({},e),{},{textContent:e.element.textContent});function Tn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Cn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(r),!0).forEach(function(t){Nn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Nn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class In{constructor(e,t,r){Nn(this,"initHighlighter",async()=>{this.highlighter||await(0,zr.A)().then(e=>{this.highlighter=e,[...this.selections].map(t=>{const{element:r,selector:n}=this.tree.getById(t);if(r){e.createHighlighter(r,n).highlight({theme:"selection",showMetadata:!1})}})})});const n=Tr()(t,"metadata.selections",[]);this.selections=new Set(n.reduce((t,r)=>{const n=e.getById(r.vnodeId);return n&&(n.element||n.selector)&&t.push(r.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=r}async enable(e,t=!0){this.manifest=e,t&&await this.disable(),this.enabled=!0;const r={tree:this.tree,flat:this.tree.flat};this.eventTargets=[this.includeCrossOrigin?this.tree.get(document.body):document.body,...yn(r,this.includeCrossOrigin),...bn(r,this.includeCrossOrigin)],await Promise.all(this.eventTargets.map(async e=>{const t={capture:!0},r=Cn(Cn({},t),{},{preventDefault:!0,stopPropagation:!0});if(this.includeCrossOrigin)return Promise.all([e.addEventListener("mousedown",this.onMouseDown,r),e.addEventListener("mouseover",this.onMouseOver,t),e.addEventListener("click",this.onClick,r)]);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 r=this.enabled;await this.disable(),this.includeCrossOrigin=t,this.tree=e,!0===r&&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(Cn(Cn({},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:r}=this.highlighter||{},n=await Yr(e);if(r(n))return;this.cleanUp();const o=null==t?void 0:t(n,e.selector);o.highlight({theme:"selection",showMetadata:!1}),this.hovered=e,this.hoveredHighlighter=o}async onMouseOver(e){var t;const r=this.includeCrossOrigin?e.target:(null===(t=e.originalEvent)||void 0===t?void 0:t.target)||e.target,n=this.includeCrossOrigin?r:this.tree.get(r);await this.hover(n)}async removeAllSelections(){this.selections.clear(),(0,zr.A)().then(e=>e.clearHighlights())}removeSelection(e){const t=this.tree.getById(e);if(!t)return;const{element:r}=t;(0,zr.A)().then(({highlighters:e})=>{var t;null===(t=e.get(r))||void 0===t||t.destroy()}),this.selections.delete(e),Sr.yS.send(Sr._O.devtools,"guide:scope-removal"),Sr.yS.send(Sr._O.devtools,"selection:remove",{vnodeId:e})}addSelection(e){const{vnodeId:t,selector:r}=e;(0,zr.A)().then(async({createHighlighter:t})=>{t(await Yr(e),r).highlight({theme:"selected",showMetadata:!1})}),this.selections.add(t),this.hoveredHighlighter=null;const n=Rr(function(e){const t=(t,r)=>{try{return Wr()(n,r)}catch{return Ur.Ay.getSelector(e.element)}},r=(e.ancestors||[]).reduce((e,r)=>{const{element:n,isFrame:o,isShadowHost:i}=r,s={root:n.getRootNode()};if(o||i){const r=e[e.length-1],o=Array.isArray(r)?r:e,a=t(n,s);o.push(a),i&&o.push(["shadow-root"])}return e},[]),{element:n}=e,o={root:n.getRootNode()},i=t(n,o),s=r[r.length-1];return(Array.isArray(s)?s:r).push(i),e.fallbackSelector=r,e}(e));return this.manifest&&this.manifest.id&&!this.manifest.rescope||Sr.yS.send(Sr._O.devtools,"guide:scope-selection",{value:n}),Sr.yS.send(Sr._O.devtools,"selection:add",n),!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,r=this.includeCrossOrigin?t:this.tree.get(t);this.selections.has(r.vnodeId)||(this.toBeSelected=r)}inGroupCheck({vnodeId:e}){const{groups:t=[],inputs:r=[]}=this.manifest||{},n=t.find(t=>t.vnodeIds.includes(e));if(!n)return!1;return r.find(e=>e.groupId===n.id&&e["group-name"])?(Sr.yS.send(Sr._O.devtools,"guide:show-warning",{value:"warning"}),!0):(this.manifest=Mr(this.manifest,n.id),Sr.yS.send(Sr._O.devtools,"guide:destroy-group",{value:n.id}))}makeSelection({vnodeId:e,isMouseSelection:t=!1}){var r;const n=this.tree.getById(e),o=this.tree.getById(null===(r=this.hovered)||void 0===r?void 0:r.vnodeId);if(t&&o!==n||this.inGroupCheck(n)||!this.addSelection(n))return;const i="guide:mouse-selection",s=Cn(Cn({},Rr(An(n))),{},{source:Ur.Ay.getSource(null==n?void 0:n.element),noInputs:this.hasInputs(n),isMouseSelection:t});Sr.yS.send(Sr._O.devtools,i,{value:s}),Sr.yS.send(Sr._O.devtools,"mouse-selection",{type:i,value:s}),this.hovered=null}hasInputs({vnodeId:e}){Ur.Ay.setupTrees();const t=this.tree.getById(e),r=({element:e,children:t})=>!("function"!=typeof e.matches||!e.matches(Br)||!Ur.Ay.isVisible(e,!0))||t.some(r);return Ur.Ay.cleanupTrees(),!r(t)}}var kn=r(73258),Pn=r.n(kn);r.dn(Rn);const jn=(e,t)=>t?jn(t,e%t):e;function Rn(){const{browser:e,os:t}=Pn()(window.navigator.userAgent),{width:r,height:n}=window.screen,o=jn(r,n);return{browser:`${e.fullName} ${e.version}`,os:t.fullName,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,aspectRatio:`${r/o}:${n/o}`,axeVersion:(0,Ur.rJ)().version,devicePixelRatio:window.devicePixelRatio}}var Dn=r(71709);function Ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Mn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _n=e=>{const t=Dn.A.sanitize(e&&Ur.Ay.name(e)||"").trim();return t.length<=500?t:`${t.substring(0,500).trim()}...`};function Fn(e,t={},r="accessibleText"){const{vnodeId:n,properties:o,attributes:i,tagName:s,selector:a,element:c,source:l}=e;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(r),!0).forEach(function(t){Mn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ln(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({vnodeId:n,properties:o,attributes:i,tagName:s,selector:a,source:l,[r]:_n(c)},t)}function Vn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(r),!0).forEach(function(t){Bn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Bn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Hn;const Un=e=>{Hn=({message:t})=>{const{vnodeId:r}=t;return((e,t)=>(Ur.Ay.setupTrees(),Array.from(e.values()).filter(e=>e.ancestors.map(e=>e.vnodeId).includes(t)).map(e=>qn(qn({},Fn(e)),{},{box:Zr(e)}))||[]))(e(),r)},Sr.yS.listen("forms:get-descendant-elements",Hn)},$n=e=>{e.preventDefault();const t=new e.constructor(e.type,e);t.originalEvent=e,e.target.ownerDocument.defaultView.top.document.body.dispatchEvent(t)},Wn=e=>{if("body"===e.tagName&&e.element.ownerDocument.defaultView!==window.top){const t=e.element;t.removeEventListener("mouseover",$n,!0),t.removeEventListener("click",$n,!0),t.addEventListener("mouseover",$n,!0),t.addEventListener("click",$n,!0)}};function zn(e){const{element:t}=e;if(t&&1!==t.nodeType)return e;const r=(e.ancestors||[]).reduce(Gn,{fallback:[],root:null});try{r.root||(r.root=t.getRootNode());const n=Wr()(t,r),o=r.fallback[r.fallback.length-1];(Array.isArray(o)?o:r.fallback).push(n),e.fallbackSelector=r.fallback}catch{}return e}function Gn(e,t){try{const{element:r,isShadowHost:n}=t;if(!t.fallbackSelector){e.root=e.root||r.getRootNode();const o=Wr()(r,e);if(o.startsWith("#")&&r.getRootNode()===document){const r=[o];return n&&r.push(["shadow-root"]),t.fallbackSelector=r,e.fallback=Kn(r),e.root=t.element,e}const i=e.fallback[e.fallback.length-1],s=Array.isArray(i)?i:e.fallback;return s.push(o),n&&s.push(["shadow-root"]),t.fallbackSelector=e.fallback,e.fallback=Kn(t.fallbackSelector),e.root=t.element,e}return e.fallback=Kn(t.fallbackSelector),e.root=t.element,e}catch{return e}}function Kn(e){return JSON.parse(JSON.stringify(e))}function Yn(e){const t=e.getAttribute("aria-describedby");return t?t.split(/\s+/).filter(e=>!!document.getElementById(e)).map(e=>document.getElementById(e).innerText).join(" ").trim():""}var Jn=r(76058);function Zn(e,t,r){const n=[];for(const o of e){!("function"!=typeof o.element.matches)&&t(o)&&(0,Ur.pK)(o.element)&&Ur.Ay.isVisible(o.element,!Ur.Ay.isAxeSetUp(o.element))&&(!r||Ur.Ay.isSRVisible(o.element))&&(o.source=Ur.Ay.getSource(o.element),n.push(o))}return n}const Xn=["input","select","textarea","button"];function Qn(e){const{element:t,ancestors:r,tagName:n}=e,o=[],i="function"==typeof t.matches,s=null==r?void 0:r.find(e=>{var t,r;return Xn.includes(n)&&"fieldset"===e.tagName&&("true"===(null===(t=e.attributes)||void 0===t?void 0:t["aria-disabled"])||(null===(r=e.properties)||void 0===r?void 0:r.disabled))});(i&&t.matches(":disabled")||"true"===t.getAttribute("aria-disabled")||s)&&o.push("disabled");const a=t.getAttribute("aria-pressed"),c=t.getAttribute("aria-expanded"),l=t.getAttribute("aria-selected"),u=t.getAttribute("aria-checked"),d=t.getAttribute("aria-readonly"),p=t.getAttribute("aria-haspopup"),f=t instanceof HTMLInputElement,h=f&&"checkbox"===t.type,m=f&&"radio"===t.type,g=t.getAttribute("aria-current");return"true"===a&&o.push("pressed"),"false"===a&&o.push("not-pressed"),"mixed"===a&&o.push("mixed-pressed"),"true"===c&&o.push("expanded"),"false"===c&&o.push("collapsed"),"true"===l&&o.push("selected"),"false"===l&&o.push("not-selected"),("true"===u||f&&t.checked)&&o.push("checked"),("false"===u||m&&!t.checked)&&o.push("not-checked"),("false"===u||h&&!t.checked)&&o.push("not-checked"),("mixed"===u||h&&t.indeterminate)&&o.push("mixed-checked"),("true"===d||f&&t.readOnly)&&o.push("readonly"),"true"===g&&o.push("current"),"page"===g&&o.push("current-page"),"step"===g&&o.push("current-step"),"location"===g&&o.push("current-location"),"date"===g&&o.push("current-date"),"time"===g&&o.push("current-time"),"true"===p&&o.push("has-popup"),"listbox"===p&&o.push("has-popup-listbox"),"menu"===p&&o.push("has-popup-menu"),"dialog"===p&&o.push("has-popup-dialog"),"tree"===p&&o.push("has-popup-tree"),"grid"===p&&o.push("has-popup-grid"),p||"combobox"!==t.getAttribute("role")||o.push("has-popup-listbox"),o}var eo=r(72450),to=r.n(eo);function ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function no(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oo=(...e)=>t=>e.some(e=>e(t)),io=e=>{const t=e.reduce((e,t)=>{const r=t.role||"none";return e[r]=e[r]||{role:r,vnodeIds:[]},e[r].vnodeIds.push(t.vnodeId),e},{});return Object.entries(t).map(([e,t])=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(r),!0).forEach(function(t){no(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ro(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:e},t))},so=["useTextBox"];function ao(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function co(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ao(Object(r),!0).forEach(function(t){lo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ao(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function lo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const uo=(e,t={})=>{const{useTextBox:r=!1}=t,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,so),o=r?Qr(e):null,i=r&&rn(o),s=i?o:Zr(e,...e.children||[]);return co(co({},Fn(e,{},"accName")),{},{role:Ur.Ay.getRole(e.element),box:rn(s)?s:void 0,tightBox:i?o:Xr(e),states:Qn(e)},n)};const po=e=>{const{children:t}=e,r=[];if(!t||0===t.length)return r;r.push(...t);for(const e of t)r.push(...po(e));return r},fo=po;function ho(e,t,{screenshotWidthPx:r,screenshotHeightPx:n,zoom:o}){if(!e||!e.isConnected)return"unmeasurable";const i=e.getBoundingClientRect();if(0===i.width||0===i.height)return t&&t.width>0&&t.height>0?"stable":"unmeasurable";const s=i.top,a=i.left,c=i.right,l=i.bottom,u=i.width,d=i.height,p=o>0?o:1,f=n>0?n:16384,h=r>0?r:document.documentElement.scrollWidth*p;if(s<0||a<0||l*p>f||c*p>h)return"unstable_out_of_bounds";for(let t=e.parentElement;t&&t!==document.documentElement;t=t.parentElement){const e=getComputedStyle(t),r="hidden"===e.overflowX||"clip"===e.overflowX||"auto"===e.overflowX||"scroll"===e.overflowX,n="hidden"===e.overflowY||"clip"===e.overflowY||"auto"===e.overflowY||"scroll"===e.overflowY;if(!r&&!n)continue;const o=t.getBoundingClientRect(),i=r&&(c>o.right+1||a<o.left-1),u=n&&(l>o.bottom+1||s<o.top-1);if(i||u)return"unstable_clipped"}if(!t)return"unmeasurable";return Math.max(Math.abs(a-t.left),Math.abs(s-t.top),Math.abs(u-t.width),Math.abs(d-t.height))>200?"unstable_moved":"stable"}function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function go(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(r),!0).forEach(function(t){yo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function yo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const bo=Or()("walnut-chrome:content:interactive-elements"),vo=qr`
32
+ `,'fieldset, [role="group"], [role="radiogroup"]');var On=n(78230),xn=n(5969),En=n.n(xn),An=n(43955),Tn=n(31146),Cn=n(33381);const In=async e=>{let t=!1;if(function(e){return e instanceof Ft}(e)&&(t=e.isCrossOrigin),!t){var n,r;if(null!==(n=e.element)&&void 0!==n&&n.isConnected)return e.element;if(null!==(r=e.selector)&&void 0!==r&&r.length)try{const t=(0,Tn.A)(e.selector);if(t)return t}catch{}}return(0,Cn.A)(e.selector)};function Nn({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,On.pK)(e.element)&&On.Ay.isVisible(e.element,r)}function Pn(...e){const t=e.filter(e=>!!e.element&&!!On.Ay.isVisible(e.element)).map(Rn);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 jn(e){const{element:t={}}=e;if(t.nodeType!==Node.ELEMENT_NODE)return;const n=Rn(e),r=window.getComputedStyle(t),o=(parseFloat(r.paddingLeft)||0)+(parseFloat(r.paddingRight)||0),i=(parseFloat(r.paddingTop)||0)+(parseFloat(r.paddingBottom)||0),s=(parseFloat(r.borderLeftWidth)||0)+(parseFloat(r.borderRightWidth)||0),a=(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-s,height:n.height-i-a}}function kn(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 s=i.getBoundingClientRect();if(!s.width&&!s.height)return{};const a=_n(s,o),c=Rn(e);if(!Mn(c))return a;const l=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)}}(a,c);return l.width&&l.height?l:{}}function Rn(e){const{element:t={},ancestors:n=[]}=e;return t.nodeType!==Node.ELEMENT_NODE?{}:_n(t.getBoundingClientRect(),n)}function _n({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 Mn(e){return"object"==typeof e&&["x","y","width","height"].every(t=>"number"==typeof e[t]&&!Number.isNaN(e[t]))}function Dn(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 Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(n),!0).forEach(function(t){Fn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fn(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.dn(Pn);const Vn=['input[type="date"]','input[type="datetime-local"]','input[type="month"]','input[type="time"]','input[type="week"]'].join(", "),$n=["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(", "),Bn=["tab","menuitem","radio","menuitemradio","menuitemcheckbox","treeitem"],Hn=(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),Wn=(e,t,n=!1)=>(n?e.ancestors:e.ancestors.reverse()).find(e=>t.includes(On.Ay.getRole(e.element))),Un=(e,t)=>{if(!Bn.includes(t))return[];let n;switch(t){case"tab":n=Wn(e,["tablist"]);break;case"treeitem":n=Wn(e,["tree"],!0);break;case"radio":n=Wn(e,["radiogroup","group"]);break;case"menuitem":case"menuitemradio":case"menuitemcheckbox":n=Wn(e,["menu","menubar"],!0)}if(!n)return[];let r=[...n.children],o=[];for(;r.length;){const e=r.shift();Bn.includes(On.Ay.getRole(e.element))&&o.push(e.vnodeId),r=[...r,...e.children||[]]}return o},zn=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},qn=e=>`[role="${e}"]`,Gn=Bn.map(qn).join(", "),Yn=(e,t,n)=>{if(!Nn({vnode:e,selector:Gn}))return!1;const r=(o=On.Ay.getRole(e.element),On.Ay.getRequiredContext(o).map(qn).join(", "));var o;if(!r.length)return!1;const i=t.find(e=>Nn({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))})},Kn=({tree:e,flat:t},n=!1)=>Hn("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),Xn=({tree:e,flat:t},n=!1)=>Hn("shadow-root",{tree:e,flat:t},n),Jn=({tree:e,flat:t})=>Hn("form",{tree:e,flat:t}),Zn=(e,t)=>[...e].map(e=>fn(t.get(e)||{})),Qn=({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,On.rJ)(document.documentElement,!0);for(const o of t){const{ancestors:t=[]}=o;!Nn({vnode:o,selector:$n,verifyTree:n(o)})||!On.Ay.isFocusable(o.element)||[...e.values()].find(e=>e.vnodeId===o.vnodeId)||!zn(o.element)||t.find(e=>!!Nn({vnode:e,selector:Gn,verifyTree:n(e)}))||Nn({vnode:o,selector:'[role="radio"]',verifyTree:!1})||Yn(o,t,[...e.keys()])||r.push(fn(o))}return r})(e,r.values());return{skipped:i,tabStops:o,submittedForms:Zn(t,r),launchedWindowOnFocus:Zn(n,r)}};function er(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 tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach(function(t){nr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nr(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 rr=e=>tr(tr({},e),{},{textContent:e.element.textContent});function or(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 ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?or(Object(n),!0).forEach(function(t){sr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sr(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}class ar{constructor(e,t,n){sr(this,"initHighlighter",async()=>{this.highlighter||await(0,An.A)().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=on()(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,...Kn(n,this.includeCrossOrigin),...Xn(n,this.includeCrossOrigin)],await Promise.all(this.eventTargets.map(async e=>{const t={capture:!0},n=ir(ir({},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(ir(ir({},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 In(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,An.A)().then(e=>e.clearHighlights())}removeSelection(e){const t=this.tree.getById(e);if(!t)return;const{element:n}=t;(0,An.A)().then(({highlighters:e})=>{var t;null===(t=e.get(n))||void 0===t||t.destroy()}),this.selections.delete(e),Qt.yS.send(Qt._O.devtools,"guide:scope-removal"),Qt.yS.send(Qt._O.devtools,"selection:remove",{vnodeId:e})}addSelection(e){const{vnodeId:t,selector:n}=e;(0,An.A)().then(async({createHighlighter:t})=>{t(await In(e),n).highlight({theme:"selected",showMetadata:!1})}),this.selections.add(t),this.hoveredHighlighter=null;const r=fn(function(e){const t=(t,n)=>{try{return En()(r,n)}catch{return On.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||Qt.yS.send(Qt._O.devtools,"guide:scope-selection",{value:r}),Qt.yS.send(Qt._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"])?(Qt.yS.send(Qt._O.devtools,"guide:show-warning",{value:"warning"}),!0):(this.manifest=mn(this.manifest,r.id),Qt.yS.send(Qt._O.devtools,"guide:destroy-group",{value:r.id}))}makeSelection({vnodeId:e,isMouseSelection:t=!1}){var n;const r=this.tree.getById(e),o=this.tree.getById(null===(n=this.hovered)||void 0===n?void 0:n.vnodeId);if(t&&o!==r||this.inGroupCheck(r)||!this.addSelection(r))return;const i="guide:mouse-selection",s=ir(ir({},fn(rr(r))),{},{source:On.Ay.getSource(null==r?void 0:r.element),noInputs:this.hasInputs(r),isMouseSelection:t});Qt.yS.send(Qt._O.devtools,i,{value:s}),Qt.yS.send(Qt._O.devtools,"mouse-selection",{type:i,value:s}),this.hovered=null}hasInputs({vnodeId:e}){On.Ay.setupTrees();const t=this.tree.getById(e),n=({element:e,children:t})=>!("function"!=typeof e.matches||!e.matches(wn)||!On.Ay.isVisible(e,!0))||t.some(n);return On.Ay.cleanupTrees(),!n(t)}}var cr=n(73258),lr=n.n(cr);n.dn(dr);const ur=(e,t)=>t?ur(t,e%t):e;function dr(){const{browser:e,os:t}=lr()(window.navigator.userAgent),{width:n,height:r}=window.screen,o=ur(n,r);return{browser:`${e.fullName} ${e.version}`,os:t.fullName,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,aspectRatio:`${n/o}:${r/o}`,axeVersion:(0,On.rJ)().version,devicePixelRatio:window.devicePixelRatio}}var fr=n(83032);function pr(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 hr(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 mr=e=>{const t=fr.A.sanitize(e&&On.Ay.name(e)||"").trim();return t.length<=500?t:`${t.substring(0,500).trim()}...`};function gr(e,t={},n="accessibleText"){const{vnodeId:r,properties:o,attributes:i,tagName:s,selector:a,element:c,source:l}=e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(n),!0).forEach(function(t){hr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({vnodeId:r,properties:o,attributes:i,tagName:s,selector:a,source:l,[n]:mr(c)},t)}function yr(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 br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yr(Object(n),!0).forEach(function(t){vr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vr(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 wr;const Sr=e=>{wr=({message:t})=>{const{vnodeId:n}=t;return((e,t)=>(On.Ay.setupTrees(),Array.from(e.values()).filter(e=>e.ancestors.map(e=>e.vnodeId).includes(t)).map(e=>br(br({},gr(e)),{},{box:Pn(e)}))||[]))(e(),n)},Qt.yS.listen("forms:get-descendant-elements",wr)},Or=e=>{e.preventDefault();const t=new e.constructor(e.type,e);t.originalEvent=e,e.target.ownerDocument.defaultView.top.document.body.dispatchEvent(t)},xr=e=>{if("body"===e.tagName&&e.element.ownerDocument.defaultView!==window.top){const t=e.element;t.removeEventListener("mouseover",Or,!0),t.removeEventListener("click",Or,!0),t.addEventListener("mouseover",Or,!0),t.addEventListener("click",Or,!0)}};function Er(e){const{element:t}=e;if(t&&1!==t.nodeType)return e;const n=(e.ancestors||[]).reduce(Ar,{fallback:[],root:null});try{n.root||(n.root=t.getRootNode());const r=En()(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 Ar(e,t){try{const{element:n,isShadowHost:r}=t;if(!t.fallbackSelector){e.root=e.root||n.getRootNode();const o=En()(n,e);if(o.startsWith("#")&&n.getRootNode()===document){const n=[o];return r&&n.push(["shadow-root"]),t.fallbackSelector=n,e.fallback=Tr(n),e.root=t.element,e}const i=e.fallback[e.fallback.length-1],s=Array.isArray(i)?i:e.fallback;return s.push(o),r&&s.push(["shadow-root"]),t.fallbackSelector=e.fallback,e.fallback=Tr(t.fallbackSelector),e.root=t.element,e}return e.fallback=Tr(t.fallbackSelector),e.root=t.element,e}catch{return e}}function Tr(e){return JSON.parse(JSON.stringify(e))}function Cr(e){const t=e.getAttribute("aria-describedby");return t?t.split(/\s+/).filter(e=>!!document.getElementById(e)).map(e=>document.getElementById(e).innerText).join(" ").trim():""}var Ir=n(76058);function Nr(e,t,n){const r=[];for(const o of e){!("function"!=typeof o.element.matches)&&t(o)&&(0,On.pK)(o.element)&&On.Ay.isVisible(o.element,!On.Ay.isAxeSetUp(o.element))&&(!n||On.Ay.isSRVisible(o.element))&&(o.source=On.Ay.getSource(o.element),r.push(o))}return r}const Pr=["input","select","textarea","button"];function jr(e){const{element:t,ancestors:n,tagName:r}=e,o=[],i="function"==typeof t.matches,s=null==n?void 0:n.find(e=>{var t,n;return Pr.includes(r)&&"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))});(i&&t.matches(":disabled")||"true"===t.getAttribute("aria-disabled")||s)&&o.push("disabled");const a=t.getAttribute("aria-pressed"),c=t.getAttribute("aria-expanded"),l=t.getAttribute("aria-selected"),u=t.getAttribute("aria-checked"),d=t.getAttribute("aria-readonly"),f=t.getAttribute("aria-haspopup"),p=t instanceof HTMLInputElement,h=p&&"checkbox"===t.type,m=p&&"radio"===t.type,g=t.getAttribute("aria-current");return"true"===a&&o.push("pressed"),"false"===a&&o.push("not-pressed"),"mixed"===a&&o.push("mixed-pressed"),"true"===c&&o.push("expanded"),"false"===c&&o.push("collapsed"),"true"===l&&o.push("selected"),"false"===l&&o.push("not-selected"),("true"===u||p&&t.checked)&&o.push("checked"),("false"===u||m&&!t.checked)&&o.push("not-checked"),("false"===u||h&&!t.checked)&&o.push("not-checked"),("mixed"===u||h&&t.indeterminate)&&o.push("mixed-checked"),("true"===d||p&&t.readOnly)&&o.push("readonly"),"true"===g&&o.push("current"),"page"===g&&o.push("current-page"),"step"===g&&o.push("current-step"),"location"===g&&o.push("current-location"),"date"===g&&o.push("current-date"),"time"===g&&o.push("current-time"),"true"===f&&o.push("has-popup"),"listbox"===f&&o.push("has-popup-listbox"),"menu"===f&&o.push("has-popup-menu"),"dialog"===f&&o.push("has-popup-dialog"),"tree"===f&&o.push("has-popup-tree"),"grid"===f&&o.push("has-popup-grid"),f||"combobox"!==t.getAttribute("role")||o.push("has-popup-listbox"),o}var kr=n(72450),Rr=n.n(kr);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 Mr(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 Dr=(...e)=>t=>e.some(e=>e(t)),Lr=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){Mr(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))},Fr=["useTextBox"];function Vr(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 $r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach(function(t){Br(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Br(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 Hr=(e,t={})=>{const{useTextBox:n=!1}=t,r=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,Fr),o=n?kn(e):null,i=n&&Mn(o),s=i?o:Pn(e,...e.children||[]);return $r($r({},gr(e,{},"accName")),{},{role:On.Ay.getRole(e.element),box:Mn(s)?s:void 0,tightBox:i?o:jn(e),states:jr(e)},r)};const Wr=e=>{const{children:t}=e,n=[];if(!t||0===t.length)return n;n.push(...t);for(const e of t)n.push(...Wr(e));return n},Ur=Wr;function zr(e,t,{screenshotWidthPx:n,screenshotHeightPx:r,zoom:o}){if(!e||!e.isConnected)return"unmeasurable";const i=e.getBoundingClientRect();if(0===i.width||0===i.height)return t&&t.width>0&&t.height>0?"stable":"unmeasurable";const s=i.top,a=i.left,c=i.right,l=i.bottom,u=i.width,d=i.height,f=o>0?o:1,p=r>0?r:16384,h=n>0?n:document.documentElement.scrollWidth*f;if(s<0||a<0||l*f>p||c*f>h)return"unstable_out_of_bounds";for(let t=e.parentElement;t&&t!==document.documentElement;t=t.parentElement){const e=getComputedStyle(t),n="hidden"===e.overflowX||"clip"===e.overflowX||"auto"===e.overflowX||"scroll"===e.overflowX,r="hidden"===e.overflowY||"clip"===e.overflowY||"auto"===e.overflowY||"scroll"===e.overflowY;if(!n&&!r)continue;const o=t.getBoundingClientRect(),i=n&&(c>o.right+1||a<o.left-1),u=r&&(l>o.bottom+1||s<o.top-1);if(i||u)return"unstable_clipped"}if(!t)return"unmeasurable";return Math.max(Math.abs(a-t.left),Math.abs(s-t.top),Math.abs(u-t.width),Math.abs(d-t.height))>200?"unstable_moved":"stable"}function qr(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 Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(n),!0).forEach(function(t){Yr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yr(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 Kr=nn()("walnut-chrome:content:interactive-elements"),Xr=vn`
33
33
  [tabindex]:not([tabindex="-1"]),
34
34
  [contenteditable="true"],
35
35
  [contenteditable=""],
@@ -58,4 +58,4 @@
58
58
  [role="switch"],
59
59
  [role="tab"],
60
60
  [role="treeitem"]
61
- `,wo=(e,t={})=>{const r=Zr(e,...e.children||[]),n=Ur.Ay.getRole(e.element)||"",o=((e,t)=>{if(t||!(e instanceof HTMLElement)||e.tabIndex<0||e.hasAttribute("aria-activedescendant"))return!1;const{overflowX:r,overflowY:n}=window.getComputedStyle(e);return[r,n].some(e=>"auto"===e||"scroll"===e)})(e.element,n);return go(go(go({},Fn(e,{},"accName")),{},{role:n,box:rn(r)?r:void 0,tightBox:Xr(e),states:[{calculated:Qn(e)}],isScrollableRegion:o},!o||(i=e.element,null!==(s=i.getAttribute("aria-label"))&&void 0!==s&&s.trim()||null!==(a=i.getAttribute("aria-labelledby"))&&void 0!==a&&a.trim()||null!==(c=i.getAttribute("title"))&&void 0!==c&&c.trim())?{}:{accName:""}),t);var i,s,a,c},So=e=>{const t=e.element.matches(vo),r="gridcell"===Ur.Ay.getRole(e.element);if(t&&r){const t=e.element.tabIndex>=0,r=!!e.element.querySelector(vo);return t||!r}return t};function Eo(e){Sr.yS.listen("igt:interactive-elements:get-interactives",()=>{var t;Ur.Ay.setupTrees();const r=(null===(t=e())||void 0===t?void 0:t.values())||[];bo("Getting interactive elements from ",{flatTree:r});const n=Zn(r,So,!0).map(e=>{var t,r;return wo(e,{ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(r=e.children)||void 0===r?void 0:r.map(({vnodeId:e})=>e))||[],descendants:fo(e).map(({vnodeId:e})=>e)})});return Ur.Ay.cleanupTrees(),bo("Got interactives",{interactives:n}),n}),Sr.yS.listen("igt:interactive-elements:get-all-possible-interactives",()=>{var t;Ur.Ay.setupTrees();const r=(null===(t=e())||void 0===t?void 0:t.values())||[];bo("Getting interactive elements from ",{flatTree:r});const n=Zn(r,()=>!0,!0).map(e=>go(go({},uo(e)),wo(e)));return Ur.Ay.cleanupTrees(),bo("Got all nodes ",{allNodes:n}),n}),Sr.yS.listen("igt:interactive-elements:get-groupings",({message:t})=>{Ur.Ay.setupTrees();const r=e(),n=t.interactives.map(e=>{const t=r.getById(e.vnodeId);return go(go({},e),{},{element:null==t?void 0:t.element})}),o=io(n),i=(e=>{const t=[];for(const r of e){const{element:e,box:n,role:o}=r,i=null==e?void 0:e.ownerDocument,s=null==i?void 0:i.defaultView,a=null==s?void 0:s.getComputedStyle(e),c=null==a?void 0:a.getPropertyValue("background-color"),l=null==a?void 0:a.getPropertyValue("color"),u=null==a?void 0:a.getPropertyValue("border-width"),d=null==a?void 0:a.getPropertyValue("border-style"),p=null==a?void 0:a.getPropertyValue("border-color"),f=null==a?void 0:a.getPropertyValue("border-radius"),h=null==a?void 0:a.getPropertyValue("font-weight"),m=null==a?void 0:a.getPropertyValue("font-size"),{height:g,width:y,y:b,x:v}=n||{},w=t.find(oo(to()({height:g,background:c,textColor:l,borderWidth:u,borderStyle:d,borderRadius:f,fontSize:m}),to()({width:y,background:c,textColor:l,borderWidth:u,borderStyle:d,borderRadius:f,fontSize:m}),to()({role:o,background:c,textColor:l,fontSize:m,x:v}),to()({role:o,background:c,textColor:l,fontSize:m,y:b})));w?w.vnodeIds.push(r.vnodeId):t.push({id:t.length,role:o,height:g,background:c,textColor:l,borderWidth:u,borderStyle:d,borderColor:p,borderRadius:f,x:v,y:b,width:y,fontSize:m,fontWeight:h,vnodeIds:[r.vnodeId]})}return(e=>{let t,r=e.length;for(;r--;){const n=e[r];if(1===n.vnodeIds.length){if(t)t.vnodeIds.push(...n.vnodeIds);else{const{id:e,vnodeIds:r}=n;t={id:e,vnodeIds:r,type:"misc"}}e.splice(r,1)}}return t&&e.push(t),e})(t)})(n);return Ur.Ay.cleanupTrees(),{role:o,intelligent:i}}),Sr.yS.listen("igt:interactive-elements:map-user-selected",({message:t})=>{const{selected:r=[]}=t,n=e();Ur.Ay.setupTrees();const o=r.map(e=>{const t=n.getById(e.vnodeId);return wo(t,{userSelected:!0,source:Ur.Ay.getSource(t.element)})});return Ur.Ay.cleanupTrees(),o}),Sr.yS.listen("igt:check-state",({message:t})=>{var r;const n=e().getById(null==t||null===(r=t.vnode)||void 0===r?void 0:r.vnodeId);return null!=n&&n.element?Qn(n):[]}),Sr.yS.listen("igt:interactive-elements:classify-stability",({message:t})=>{const{vnodes:r,screenshotWidthPx:n,screenshotHeightPx:o,zoom:i}=t,s={};if(null==r||!r.length)return s;const a=e(),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 r){const r=null==a?void 0:a.getById(e);s[e]=ho(null==r?void 0:r.element,t,{screenshotWidthPx:n,screenshotHeightPx:o,zoom:i})}}finally{u&&window.scrollTo({top:l,left:c,behavior:"instant"})}return s})}const xo=e=>(e=>{const t=null==e?void 0:e.trim();return t?t.length>300?t.slice(0,300):t:null})(e.element.textContent);function Oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ao(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oo(Object(r),!0).forEach(function(t){To(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function To(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Co=e=>e.element.matches('h1, h2, h3, h4, h5, h6, [role="heading"]')&&!!_n(e.element).length,No=e=>e.element.matches('dl:not([role]), ol:not([role]), ul:not([role]), [role="list"]'),Io=e=>{var t;return null===(t=e.attrs)||void 0===t?void 0:t.includes("lang")},ko=e=>{var t;return!!e.isFrame&&!(null===(t=e.attrs)||void 0===t||!t.includes("title"))&&!!_n(e.element).length},Po=e=>{var t;return"application"===(null===(t=e.attributes)||void 0===t?void 0:t.role)},jo=e=>["audio","video"].includes(e.tagName.toLowerCase());function Ro(e){Ur.Ay.setupTrees();const t=e();return Ur.Ay.cleanupTrees(),t}function Do(e){var t;const[,r]=e.tagName.match(/^h(\d)$/)||[],n=r?parseInt(r):-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!==n?n:2:t}return n}const Lo=e=>{var t,r;const n=Zr(e);return Ao(Ao({},Fn(e,{},"accessibleText")),{},{textContent:xo(e),role:Ur.Ay.getRole(e.element),level:Do(e),box:rn(n)?n:void 0,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(r=e.children)||void 0===r?void 0:r.map(({vnodeId:e})=>e))||[],descendants:fo(e).map(({vnodeId:e})=>e)})},Mo=e=>{var t,r;const n=Zr(e);return Ao(Ao({},Fn(e,{},"accessibleText")),{},{role:Ur.Ay.getRole(e.element),listItemCount:Array.from(e.element.querySelectorAll('li, dt, [role="listitem"]')).length,box:rn(n)?n:void 0,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[],children:(null===(r=e.children)||void 0===r?void 0:r.map(({vnodeId:e})=>e))||[],descendants:fo(e).map(({vnodeId:e})=>e)})},_o=async e=>{var t,r,n;const o=document.createNodeIterator(e.element,NodeFilter.SHOW_TEXT,t=>!document.body.contains(t.parentElement)||t.parentElement.hasAttribute("lang")&&t.parentElement!==e.element?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);let i,s="";for(;i=o.nextNode();)s+=` ${i.textContent.trim()}`;const{isReliable:a,languages:c=[]}=await browser.i18n.detectLanguage(s);let l;if(a){l=c.shift();for(const e of c)(null==e?void 0:e.percentage)>l.percentage&&(l=e)}const u=Fn(e,{},"accessibleText"),d=e.vnodeId>=0;return Ao(Ao({},u),{},{lang:e.attributes.lang,isValidLang:Ur.Ay.isValidLang(null===(t=e.attributes.lang)||void 0===t?void 0:t.toLowerCase()),detectedLang:!!l&&(null===(r=l)||void 0===r?void 0:r.language),langConfidence:l?null===(n=l)||void 0===n?void 0:n.percentage:-1,textContent:d?xo(e):null})},Fo=e=>Ao(Ao({},Fn(e,{},"accessibleText")),{},{descriptionText:Yn(e.element)}),Vo=e=>{const t=Zr(e);return Ao(Ao({},(e=>Ao({},Fn(e,{},"accessibleText")))(e)),{},{box:rn(t)?t:void 0})},qo=e=>{const t=Zr(e);return Ao(Ao({},Fn(e,{},"accessibleText")),{},{box:rn(t)?t:void 0})};const Bo=e=>e.matches(":modal");function Ho(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Uo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ho(Object(r),!0).forEach(function(t){$o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ho(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function $o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Wo=Or()("igt:modal-dialog"),zo=['[role="dialog"]','[role="alertdialog"]',"dialog"].join(":not(:empty), "),Go=['[class*="modal" i]','[class*="dialog" i]'].join(":not(:empty), "),Ko=["absolute","fixed"];let Yo=null;const Jo=["dialog","alertdialog"],Zo=e=>new Promise(t=>{setTimeout(t,e)}),Xo=(e=document.activeElement)=>{const{shadowRoot:t}=e;return t&&t.activeElement?Xo(t.activeElement):"IFRAME"===e.tagName&&e.contentDocument?Xo(e.contentDocument.activeElement):e},Qo=(e,t=document)=>Array.from(t.querySelectorAll(e)).filter(e=>Ur.Ay.isSRVisible(e)),ei=e=>{const t=Ur.Ay.name(e);return"string"==typeof t?t:""},ti=e=>{if(!e)return;const t=[e,...e.ancestors].find(e=>Ur.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}))},ri=(e=document)=>{let t=null;const r=[()=>Qo(zo,e),()=>Qo('[aria-modal="true"]:not(:empty)',e),()=>Qo(Go,e).filter(e=>Ko.includes(window.getComputedStyle(e).position)||!!e.offsetParent&&Ko.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,r=.75*t.innerWidth,n=.75*t.innerHeight,o=(t.innerWidth-r)/2,i=(t.innerHeight-n)/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)>=r&&parseFloat(o.height)>=n&&"none"!==o.getPropertyValue("pointer-events")&&Ko.includes(o.position)});if(o&&s.every(e=>e.includes(o)))return o}return null})(e);return t&&Ur.Ay.isSRVisible(t)?[t]:[]}];for(let e=0;e<r.length;e++){const n=(0,r[e])();if(1===n.length){t=n[0];break}}return t?(e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return e;const{width:n,height:o}=e.getBoundingClientRect(),i=r.innerWidth*r.innerHeight;return 0===i||n*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},ni=e=>{const t=e.element.getAttribute("tabindex");e.element.tabIndex=t||-1,e.element.focus()},oi=(e,t=!1)=>{const r=r=>{var n,o,i;return e.element.contains(r)||!(null===(n=e.contains)||void 0===n||!n.call(e,r))||t&&(o=r,i=e.element,o.contains(i)&&o!==i&&o!==i.ownerDocument.body&&o!==i.ownerDocument.documentElement)};let n=r(Xo());if(!n&&Yo){const e=r(Yo);n=e,e&&(Yo=null)}return n};function ii({getTree:e,getFlatTree:t,buildTree:r},n=3e3){const o=async(t,n,o=[])=>{let i=e(),s=t&&i.getById(t.vnodeId);return s||(await r({value:n,vitals:o}),i=e(),s=t&&i.getById(t.vnodeId)),s},i=(t,r)=>{const n=e(),o=r&&n.getById(r.vnodeId);o&&t&&!Ur.Ay.isVisible(t.element,!0)&&o.element.click()},s=new Set,a=new Set,c=new Set,l=e=>{s.add(e.target)},u=t=>{Ur.Ay.cleanupTrees();const r=(e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>Jo.includes(Ur.Ay.getRole(e.element))))(t),n=r&&Rr(r),o=(e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>"true"===e.element.getAttribute("aria-modal")))(t),i=oi(t,!(!!r||!!o)),s=(t=>{const{element:r}=t,n=[];let o=r.parentNode;for(;o&&"HTML"!==o.nodeName;){const i=Array.from(o.children),s=e();i.forEach(e=>{var o;const i=s.get(e);if(e!==r&&!(e.contains(r)||null!=i&&null!==(o=i.contains)&&void 0!==o&&o.call(i,t))&&e.tagName.toLowerCase()!==Jn.wZ&&Ur.Ay.isSRVisible(e)&&(Ur.Ay.name(e)||"").trim()){const t=Uo(Uo({},Rr(i)),{},{source:Ur.Ay.getSource(e)});n.push(t)}}),o=o.parentNode}return n})(t),a=e=>!!e&&oi(e);return{dialogRoleVnode:n,hasDialogRole:!!n,focusBroughtToModal:!!i||a(r)||a(o),handledAriaHidden:!s.length,ariaHiddenMissingVNodes:s,isModalDialog:Bo(t.element)||!(!r||!Bo(r.element)),isAriaModal:!!o}};Sr.yS.listen("igt:modal-dialog:detect:with-trigger",async({message:{manifest:i,vitals:s}})=>{let a=e();const c=await o(i["select-trigger"],i,s);ti(c),await Zo(n),await r({value:i,vitals:s}),a=e();const l=[document,...yn({tree:a,flat:t()}),...bn({tree:a,flat:t()})];let d=null;l.some(e=>(d=ri(e),!!d)),d||(Yo=Xo());const p=d?a.get(d):null;return p?Uo({modal:Uo(Uo({},Rr(p)),{},{accessibleName:ei(p.element)})},u(p)):{modal:null}}),Sr.yS.listen("igt:modal-dialog:focus-trap",async({message:{manifest:e,vitals:t}})=>{const{modal:r,focusBroughtToModal:n}=e,s=await o(r,e,t);return new Promise(t=>{let r,o=null;const a=e=>o=e.target,c=new Set,l=e=>(e&&document.addEventListener("focus",a,!0),Sr.yS.send(Sr._O.background,e?"modal:tabber-init":"modal:fire-tab")),u=document.createElement("div");u.tabIndex=0,u.setAttribute("data-axedevtools-tabstop-ignore","true"),document.body.appendChild(u);const d=()=>{r=setTimeout(()=>{const e=Xo(),t=e===document.body&&o!==e,r=c.has(e),n=e=>{var t;return s.element.contains(e)||(null===(t=s.contains)||void 0===t?void 0:t.call(s,e))},i=e.getRootNode()instanceof ShadowRoot;let a=!n(e)&&!t;if(a){let t=null;if(i){for(t=e.getRootNode().host;null!==(u=t.getRootNode())&&void 0!==u&&u.host&&!n(t)&&!document.body.contains(t);){var u;t=t.getRootNode().host}a=!n(t)}}if(Wo("focus-trap:checkFocus",{activeElement:e,hasShadowRoot:i,isCircular:r,isOutside:a}),r||a)return p({isCircular:r,isOutside:a});t||c.add(e),l(!1),d()},200)},p=e=>{var n;null===(n=u.parentNode)||void 0===n||n.removeChild(u),clearTimeout(r),document.removeEventListener("focus",a,!0),Sr.yS.send(Sr._O.background,"modal:tabber-stop"),t(e)};if(!s)return p({});i(s,e["select-trigger"]),n||ni(s),d(),l(!0)})}),Sr.yS.listen("igt:modal-dialog:escape",async({message:{manifest:r}})=>{var u;const d=await o(r.modal,r);if(!d)return{};i(d,r["select-trigger"]);const p=document.activeElement;d.element.contains(p)||null!==(u=d.contains)&&void 0!==u&&u.call(d,p)||ni(d),(()=>{const r=e(),n=t();vn({tree:r,flat:n}).forEach(e=>{if(c.add(e),e.addEventListener("submit",l,!0),"function"==typeof e.submit){const t=e.submit;e.submit=()=>{s.add(e),t.call(e)},a.add(()=>{e.submit=t})}})})(),await Sr.yS.send(Sr._O.background,"modal:fire-escape"),await Zo(n);const f=!Ur.Ay.isVisible(d.element,!0),h={escapeClosed:f,formSubmitted:!!s.size};if(a.forEach(e=>e()),c.forEach(e=>{e.removeEventListener("submit",l,!0)}),s.clear(),a.clear(),c.clear(),f){const t=e().get(document.activeElement),n=r["select-trigger"];h.focusReturnedToTrigger=!!t&&!!n&&t.vnodeId===n.vnodeId,"number"==typeof(null==t?void 0:t.vnodeId)&&(null==t?void 0:t.vnodeId)>=0&&(h.focusReturnTarget=Rr(t))}return h}),Sr.yS.listen("igt:modal-dialog:assess",async({message:t})=>{const r=t.vnode;if(!r||!r.vnodeId)return;const n=e().getById(r.vnodeId),o=Uo(Uo({},Rr(n)),{},{accessibleName:ei(n.element)});return Uo({modal:o},u(n))}),Sr.yS.listen("igt:modal-dialog:assess-dismiss",async({message:t})=>{const r=e().get(document.activeElement),n=t.vnode;return{focusReturnTarget:r&&Rr(r),focusReturnedToTrigger:r&&n&&r.vnodeId===n.vnodeId,"user-dismiss-modal":!0}});const d=(e,t)=>{if(null==e||!e.element)return null;const r=e.element.getBoundingClientRect();if(r.width<=0||r.height<=0)return null;const n=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=r.left+window.pageXOffset+o,a=r.top+window.pageYOffset+i;return{width:Math.round(r.width*n),height:Math.round(r.height*n),top:Math.round(a*n),left:Math.round(s*n),right:Math.round((s+r.width)*n),bottom:Math.round((a+r.height)*n)}},p=e=>"number"==typeof e&&Number.isFinite(e)&&e>0;Sr.yS.listen("igt:modal-dialog:capture-pre-dismiss-focus-inputs",async({message:{manifest:e,screenshotZoomLevel:t}})=>{if(!p(t))return null;const r=await o(e.modal,e),n=e["select-trigger"],i=n?await o(n,e):null;if(null==r||!r.element||null==i||!i.element)return null;const s=d(r,t),a=d(i,t);return s&&a?{modal_bounding_box:s,modal_html_markup:r.element.outerHTML,trigger_element_bbox:a}:null}),Sr.yS.listen("igt:modal-dialog:collect-post-dismiss-focus-target",async({message:{focusVnodeId:t,screenshotZoomLevel:r}})=>{if("number"!=typeof t||!p(r))return null;const n=e().getById(t);if(null==n||!n.element)return null;const o=d(n,r);if(!o)return null;const{element:i}=n,s=Ur.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 f=e=>!(null!=e&&e.element&&Ur.Ay.isVisible(e.element,!0));Sr.yS.listen("igt:modal-dialog:try-auto-dismiss",async({message:{modalVnodeId:t,triggerVnodeId:r,dismissCandidates:o}})=>{const i=e().getById(t);if(null==i||!i.element)return{success:!1};const s=()=>{const t=e().get(document.activeElement),n=!!t&&"number"==typeof r&&t.vnodeId===r;return{focusReturnTarget:"number"==typeof(null==t?void 0:t.vnodeId)&&t.vnodeId>=0?Rr(t):void 0,focusReturnedToTrigger:n}};if(f(i))return Uo({success:!0,strategy:"already-closed"},s());const a=async t=>{const r=e().get(t);return!!r&&(ti(r),await Zo(n),f(i))},c=['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 c){const t=i.element.querySelectorAll(e);for(const e of Array.from(t))if(Ur.Ay.isVisible(e,!0)&&await a(e))return Uo({success:!0,strategy:"semantic_dom"},s())}if((i.ancestors??[]).some(e=>e.isFrame))return{success:!1};const l=i.element.getBoundingClientRect(),u=e=>({centerX:l.left+(e.left+e.right)/2/1e3*l.width,centerY:l.top+(e.top+e.bottom)/2/1e3*l.height}),d=(e,t)=>{const r=document.elementsFromPoint(e,t)??[];for(const e of r)if(e!==i.element&&i.element.contains(e)&&e.matches('button, [role="button"], a, [tabindex]:not([tabindex="-1"]), [data-bs-dismiss], [data-dismiss]'))return e;return null},p=e=>e.right>e.left&&e.bottom>e.top;for(let e=0;e<o.length;e++){const t=o[e];if(!p(t))continue;const{centerX:r,centerY:n}=u(t),i=d(r,n);if(i&&await a(i))return Uo({success:!0,strategy:"ai_candidate",candidateIndex:e},s())}const h=(e=>{const t=e.element.getBoundingClientRect();if(t.width<=0||t.height<=0)return null;const r=t.left+t.width/2,n=t.top+t.height/2,o=document.elementsFromPoint(r,n),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 r=window.getComputedStyle(t);if(!Ko.includes(r.position))continue;const n=t.getBoundingClientRect();if(n.width*n.height/i>=.75)return t}return null})(i);return h&&await a(h)?Uo({success:!0,strategy:"backdrop"},s()):{success:!1}})}function si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ai(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?si(Object(r),!0).forEach(function(t){ci(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):si(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ci(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const li=Or()("igt:table"),ui=["th","caption",'[headers]:not([headers=""])','[scope]:not([scope=""])'].join(", "),di=e=>ai(ai({},Fn(e,{},"accName")),{},{role:Ur.Ay.getRole(e.element)}),pi=e=>ai(ai({},Fn(e,{},"accName")),{},{source:Ur.Ay.getSource(e.element),role:Ur.Ay.getRole(e.element)}),fi=(e,t)=>ai(ai({},Fn(e,{},"accName")),t),hi=e=>"table"===e.tagName,mi=e=>"th"===(null==e?void 0:e.tagName.toLowerCase()),gi=e=>!["table"].includes(Ur.Ay.getRole(e.element)),yi=e=>hi(e)&&!gi(e),bi=e=>["rowgroup","colgroup"].includes(e),vi=(e,t,r,n)=>{if(e.getAttribute("headers")){const t=Ur.Ay.idrefs(e,"headers").filter(mi);if(t.length)return t.flatMap(e=>{const t=n.get(e);return t?[pi(t)]:[]})}const o=new Map,i=(e,t)=>{const r=n.get(e);r&&o.set(e,ai(ai({},pi(r)),t))},s=Ur.Ay.table.getCellPosition(e,t),a=e.colSpan-1,c=e.rowSpan-1,l=s.y,u=s.y+c,d=s.x,p=s.x+a;for(let n=0;n<t.length;n++){const s=t[n];for(let t=0;t<s.length;t++){const a=s[t],c=t>=d&&t<=p,f=n>=l&&n<=u;if(!c&&!f||a===e||o.has(a)||!Ur.Ay.isSRVisible(a))continue;if(!mi(a)){r.find(e=>e.element===a)&&i(a,{mlOnly:!0});continue}const h=a.getAttribute("scope"),m=bi(h)?"rowgroup"===h:Ur.Ay.table.isRowHeader(a),g=bi(h)?"colgroup"===h:Ur.Ay.table.isColumnHeader(a);(f&&m||c&&g)&&i(a)}}return Array.from(o.values())};function wi(e,t){Sr.yS.listen("igt:table:get-tables",()=>{Ur.Ay.setupTrees();const t=e().values()||[];li("Getting tables from",{flatTree:t});const r=Zn(t,yi,!0).map(di);return Ur.Ay.cleanupTrees(),li("Got tables",{tables:r}),r}),Sr.yS.listen("igt:table:map-user-selected",({message:t})=>{const{table:r}=t;li("Getting table",{table:r}),Ur.Ay.setupTrees();const n=e(),o=di(n.getById(r.vnodeId));return Ur.Ay.cleanupTrees(),li("Got tables",{tableVNode:o}),o}),Sr.yS.listen("igt:table:analyze-table",async({message:r})=>{const n={};li("Getting table",{table:r.table}),Ur.Ay.setupTrees(),await t(r.metadata);const o=e(),i=o.getById(r.table.vnodeId),s=o.getById(i.vnodeId).element;if(!hi(i))return ai(ai({},n),{},{type:"layout",isHeuristicDataTable:!1});var a,c,l;if(n.hasHeaderMarkup=!!s.getAttribute("summary")||!!(a=ui,c=s,[...c.querySelectorAll(a)].filter(e=>Ur.Ay.isSRVisible(e))).length,n.isHeuristicDataTable=hi(l=i)&&Ur.Ay.table.isDataTable(l.element),gi(i))return ai(ai({},n),{},{type:"layout"});const u=Ur.Ay.table.toGrid(s),d=u.length,p=u.reduce((e,t)=>Math.max(e,t.length),0),f=new Map,h=new Map;let m=!1,g=!1;const y=new Set;for(let e=0;e<d;e++){const t=u[e];for(let r=0;r<p;r++){const n=t[r];if(!n||!Ur.Ay.isSRVisible(n))continue;y.add(n),n.getAttribute("headers")&&(g=!0);const o=Ur.Ay.table.isColumnHeader(n),i=Ur.Ay.table.isRowHeader(n);var b;if(mi(n))n!==t[r+1]&&n!==(null===(b=u[e+1])||void 0===b?void 0:b[r])||(m=!0),o?h.set(e,(h.get(e)||0)+1):i&&f.set(r,(f.get(r)||0)+1)}}return n.cellCount=y.size,m||g||(1===f.size&&1===h.size&&[d,d-1].includes(f.values().next().value)&&[p,p-1].includes(h.values().next().value)?n.type="one-header-row-and-column":1===f.size&&0===h.size&&f.values().next().value===d?n.type="one-header-column":0===f.size&&1===h.size&&h.values().next().value===p&&(n.type="one-header-row")),Ur.Ay.cleanupTrees(),li("Got table metadata",{metadata:n}),n}),Sr.yS.listen("igt:table:get-data-cells",async({message:r})=>{const n=new Map;li("Getting table",{table:r.table}),Ur.Ay.setupTrees(),await t(r.metadata);const o=e(),i=[...e().values()||[]].reduce((e,t)=>(e.set(t.element,t),e),new Map),s=o.getById(r.table.vnodeId),a=o.getById(s.vnodeId).element;if(!hi(s))return li("Cannot get data cells for a non-table element",{table:s,tableElement:a}),[];const c=r.features.flatMap(({role:e,vnodeId:t})=>{if(!t||!["columnheader","rowheader"].includes(e))return[];return o.getById(t)||[]}),l=Ur.Ay.table.toGrid(a);for(let e=0;e<l.length;e++){const t=l[e];for(let r=0;r<t.length;r++){const o=t[r],s=i.get(o);if(!s)continue;const a=n.get(s.vnodeId);a?n.set(s.vnodeId,ai(ai({},a),{},{rowNumbers:[...new Set([...a.rowNumbers,e])],columnNumbers:[...new Set([...a.columnNumbers,r])]})):Ur.Ay.isSRVisible(o)&&!mi(o)&&n.set(s.vnodeId,ai(ai({},fi(s,{headerCells:vi(o,l,c,i),rowNumbers:[e],columnNumbers:[r]})),{},{mlIdentifiedAsHeader:c.some(e=>e.vnodeId===s.vnodeId)}))}}return Ur.Ay.cleanupTrees(),li("Got data cells",{dataCells:n}),[...n.values()]}),Sr.yS.listen("igt:table:get-all-possible-headers",({message:t})=>{const{table:r}=t;li("Getting table",{table:r}),Ur.Ay.setupTrees();const n=e(),o=n.values()||[],i=n.getById(r.vnodeId).element,s=Zn(o,e=>{var t;return i.contains(e.element)||(null===(t=r.contains)||void 0===t?void 0:t.call(r,e))},!0).map(uo);return Ur.Ay.cleanupTrees(),li("Got all possible header nodes",{allPossibleHeaders:s}),s}),Sr.yS.listen("igt:table:map-user-selected-header-cells-for-data-cells",({message:t})=>{const{dataCells:r}=t;li("Mapping data cells",{dataCells:r}),Ur.Ay.setupTrees();const n=e(),o=r.map(e=>ai(ai({},e),{},{headerCells:e.headerCells.map(e=>e.userSelected?ai(ai({},e),pi(n.getById(e.vnodeId))):e)}));return Ur.Ay.cleanupTrees(),li("Mapped data cells",{mappedDataCells:o}),o}),Sr.yS.listen("igt:table:get-table-box",({message:t})=>{const{table:r}=t;li("Getting table",{table:r}),Ur.Ay.setupTrees();const n=e().getById(r.vnodeId),{box:o}=uo(n,...n.children||[]);return Ur.Ay.cleanupTrees(),o||{x:0,y:0,width:0,height:0}})}var Si=r(61740);function Ei(e){return e.replace(/\s+/g," ")}function xi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Oi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(r),!0).forEach(function(t){Ai(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ai(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ti=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,Ci=e=>"true"===e.attributes["aria-hidden"],Ni=e=>Ci(e)||!!e.ancestors.find(Ci),Ii=["img","svg","canvas","video"];function ki(e){var t,r,n,o;const i=[],s=null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase().trim();return Ii.includes(s)&&i.push(s),"input"===s&&"image"===(null===(r=e.attributes)||void 0===r?void 0:r.type)&&i.push("input-image"),null!==(n=e.style)&&void 0!==n&&n.pseudo&&i.push("pseudo"),Wi(null,e)&&i.push("background-image"),"img"===(null===(o=e.attributes)||void 0===o?void 0:o.role)&&i.push("role-img"),i}function Pi(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function ji(e,t){if(!Pi(t,e.getBoundingClientRect()))return"";const r=[];for(const o of e.childNodes)if(o.nodeType===Node.TEXT_NODE){var n;const e=null===(n=o.textContent)||void 0===n?void 0:n.trim();e&&r.push(e)}else if(o.nodeType===Node.ELEMENT_NODE){const e=ji(o,t).trim();e&&r.push(e)}return Ei(r.join(" ")).trim()}function Ri(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.getBoundingClientRect(),r=e.ownerDocument,n=t.width,o=t.height;if("function"!=typeof r.elementsFromPoint||n<1||o<1)return"";try{const i=Math.ceil(Math.sqrt(529)),s=Math.min(i,Math.ceil(n/50)),a=Math.min(i,Math.ceil(o/50)),c=[];for(let e=0;e<s;e++)for(let r=0;r<a;r++){const i=t.left+n*(e+.5)/s,l=t.top+o*(r+.5)/a;c.push({x:i,y:l})}const l=new Set;for(const{x:n,y:o}of c)for(const i of r.elementsFromPoint(n,o))i.nodeType===Node.ELEMENT_NODE&&i!==e&&Pi(t,i.getBoundingClientRect())&&l.add(i);const u=[...l].filter(e=>{var t,r,n;return!(null===(t=(null===(r=e.innerText)||void 0===r?void 0:r.trim())||(null===(n=e.textContent)||void 0===n?void 0:n.trim()))||void 0===t||!t.length)});if(!u.length)return"";const d=u.filter(e=>!u.some(t=>{return t!==e&&((r=e)!==(n=t)&&r.contains(n));var r,n}));return d.map(e=>ji(e,t)).filter(Boolean).join(" ")}catch{return""}}function Di(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.innerText;return"string"==typeof t?Ei(t).trim():""}const Li=(...e)=>t=>e.some(e=>e(t));function Mi(e,t){const r=[];for(const n of t){const{style:t,box:o}=n,{height:i,width:s,y:a}=o,c=t["background-image"],l=e.getById(n.vnodeId),{tagName:u,attributes:d}=l,p=d["xlink:href"],{src:f,class:h}=d,m=!!(p||c||f),g=/#/.test(f||c||p),y=(p||c||f).replace(/^([0-9a-z]+)\.|#.+|\?.+/gi,""),b=r.find(Li(to()({width:s,y:a}),to()({external:m,sprite:g,extension:y}),to()({tagName:u,className:h,height:i,width:s}),to()({tagName:u,height:i,width:s})));b?b.vnodes.push(n):r.push({id:r.length,type:"autogenerated",tagName:u,className:h,height:i,width:s,y:a,external:m,sprite:g,vnodes:[n]})}return function(e){let t,r=e.length;for(;r--;){const n=e[r];if(1===n.vnodes.length){if(t)t.vnodes.push(...n.vnodes);else{const{id:e,vnodes:r}=n;t={id:e,vnodes:r,type:"misc"}}e.splice(r,1)}}return t&&e.push(t),e.map((e,t)=>Oi(Oi({},e),{},{displayName:Si.Ay`Group ${t+1}:n`}))}(r)}function _i(e,{countOnly:t=!1,rebuildTree:r=!1}={}){const n=e.values(),o=[];r&&Ur.Ay.setupTrees();for(const e of n){if(e.element.nodeType!==Node.ELEMENT_NODE)continue;if(!Ur.Ay.isAxeSetUp(e.element)){const t=(0,Ur.rJ)(e.element);t.teardown(),t.setup()}const{vnodeId:r,element:n,selector:i}=e,s=Oi(Oi({selector:i,vnodeId:r,imageId:`${o.length}`,src:"",style:$i(n),box:Zr(e)},Rr(e)),{},{source:Ur.Ay.getSource(n),accessibleText:_n(e.element)||""});if([Bi,Hi,qi,Vi].some(t=>t(e,s)))continue;const a=ki(s),c=!!a.length,l=!t&&Fi(e);if(c){const r=Ur.Ay.getRole(e.element),n="svg"===e.tagName;o.push(Oi(Oi({},s),{},{isBackgroundImage:Wi(null,s),imageTypes:a,overlappingText:Ri(e.element),elementText:Di(e.element),isEmptyAltImg:"img"===e.tagName&&""===e.element.getAttribute("alt")||!!n&&("img"===r?""===s.accessibleText:!s.accessibleText),isAriaHidden:Ni(e),role:r,isRoleImg:"img"===r,hint:Yn(e.element),svgTextContent:n&&Ti(e.element)||"",interactiveParent:l?{accessibleText:_n(l.element)||"",isAriaHidden:Ni(l)}:void 0},Rr(t?e:zn(e))))}l&&(s.vnodeId=l.vnodeId,s.box=Zr(e,l))}return o}function Fi(e){var t;return null===(t=e.ancestors)||void 0===t?void 0:t.find(e=>["a","label","button","input","summary"].includes(e.tagName))}function Vi(e){return"input"===e.tagName&&"hidden"===e.attributes.type}function qi(e,t){const{box:r}=t,{height:n,width:o}=r;return 0===o||0===n}function Bi(e,t){const{style:r}=t,{display:n,visibility:o,opacity:i}=r;return"none"===n||"0"===i||"hidden"===o}function Hi(e,t){const{style:r}=t,{clip:n="",position:o=""}=r,i=r["clip-path"]||"",s=["fixed","absolute"].includes(o)&&n.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 Ui=["before","after"];function $i(e){const t={};e&&e.nodeType===Node.ELEMENT_NODE?(t.element=window.getComputedStyle(e),Ui.forEach(r=>{t[r]=window.getComputedStyle(e,r)})):["element",...Ui].forEach(e=>t[e]={getPropertyValue:()=>""});const r={pseudo:Ui.some(e=>["content","background-image"].some(r=>t[e]&&t[e].getPropertyValue(r).startsWith("url")))};return["display","opacity","visibility","clip","clip-path","position","font-family","background-image","height","width"].reduce((e,r)=>(e[r]=t.element.getPropertyValue(r),e),r)}function Wi(e,t){const{style:r}=t;return!!r["background-image"].startsWith("url")||!!r.pseudo}function zi(e){Sr.yS.listen("igt:images:get-data",async()=>{return{images:Mi(t=e(),_i(t,{rebuildTree:!0})).map(e=>Oi(Oi({},e),{},{vnodes:e.vnodes.map(t=>Oi(Oi({},t),{},{identifier:`${e.id}-${t.imageId}`}))}))};var t})}const Gi=e=>{const t=document.activeElement,r=e.get(t);return{bodyHasFocus:t===document.body,currentFocus:r&&Rr(r)}},Ki=()=>{const e=document.body.getAttribute("tabindex");e||(document.body.tabIndex=-1),document.body.focus(),e||document.body.removeAttribute("tabindex")};class Yi{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(){Sr.yS.listen("tab-record:replay-start",this.startReplay),Sr.yS.listen("tab-record:replay-stop",this.stopReplay)}detach(){Sr.yS.unlisten("tab-record:replay-start",this.startReplay),Sr.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))}Sr.yS.send(Sr._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})})}}function Ji(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Zi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ji(Object(r),!0).forEach(function(t){Xi(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ji(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Xi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Qi={textarea:3,"datetime-local":10},es=()=>Sr.yS.send(Sr._O.background,"tab-record:fire-tab"),ts=Object.freeze({recordingKeyboardTrapEscape:!1,finalizingKeyboardTrapEscape:!1,returnedToStartWhileEscapingKeyboardTrap:!1,addedNewTabstopDuringEscapeAttempt:!1,listenersAttached:!1,isAutoEscape:!1,isLastAttempt:!1});class rs{handleFinalizingTrap(e=!1,t=!1){const r=Sn({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});clearTimeout(this.focusTimeout);const n=!(this.trapEscapeState.isAutoEscape&&!this.trapEscapeState.isLastAttempt&&!e)&&t;n&&(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),e&&!n||this.detachListeners();const o=this.trapEscapeState.isAutoEscape?Sr._O.background:Sr._O.devtools;return this.trapEscapeState=Zi({},ts),this.retryTabKeyPressCount=0,Sr.yS.send(o,"tab-record:trap-escape-done",Zi(Zi({},r),{},{escapedToNewVnode:e,tabbingComplete:n}))}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 r=e.composedPath();this.focusHandler(r[0]||e.target)}async focusHandler(e){const t=e&&e.matches&&e.matches(an),r=this.tabStops.has(e);if(r||(this.retryTabKeyPressCount=0),!this.unscopedCache.tree.get(e)){const{cache:e,unscopedCache:t}=await this.buildTreeCache();this.cache=e,this.unscopedCache=t}const n=this.keyboardScope&&!this.cache.tree.get(e),o=!!this.tabStops.size,i=this.visitedElements.has(e);this.visitedElements.add(e);const s=r||n&&(o||i);this.cleanupKeyupTarget(),clearTimeout(this.focusTimeout);const a=[...this.tabStops.keys()][0]===e;if(this.trapEscapeState.finalizingKeyboardTrapEscape&&r)return this.handleFinalizingTrap(a||this.trapEscapeState.addedNewTabstopDuringEscapeAttempt||this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap,r);if(this.trapEscapeState.recordingKeyboardTrapEscape&&s)return void(r&&a&&(this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap=!0));if("closed"===await Sr.yS.send(Sr._O.background,"dom:get-active-element-shadow-root-type"))return void(this.trapEscapeState.recordingKeyboardTrapEscape||(this.setFocusTimeout(500),es()));if(this.trapEscapeState.recordingKeyboardTrapEscape||this.setFocusTimeout(),s){const t=this.keyboardTrapsEnabled&&r&&this.tabStops.keys().next().value!==e;return this.onTabbingComplete(t?{trappedVnode:this.tabStops.get(e)}:{})}if(!this.trapEscapeState.recordingKeyboardTrapEscape&&(n&&!o||!this.cache.tree.get(e)))return void es();"function"==typeof(null==e?void 0:e.getAnimations)&&await Promise.race([Promise.all([...e.getAnimations({subtree:!0}).map(e=>e.finished)]),new Promise(e=>setTimeout(e,1e3))]);const c=(0,Ur.rJ)(e);c.teardown(),c.setup();const l=((e,t,r=!0)=>{const n=t.get(e),o=Ur.Ay.getRole(e),i=o&&Ur.Ay.isWidgetRole(o)||"combobox"===o||"listbox"===o||"searchbox"===o||"alertdialog"===o||"audio"===n.tagName||"video"===n.tagName||"gridcell"===o||"rowheader"===o||"columnheader"===o||"td"===n.tagName&&!o||"th"===n.tagName&&!o,s=e.matches&&e.matches(an);return on(on({},Rr(n)),{},{role:o,isWidgetRole:i,accessibleName:Ur.Ay.name(e),box:Zr(n),groupItems:pn(n,o),isAriaHidden:!Ur.Ay.isSRVisible(e),isHidden:Ur.Ay.isOffscreen(e)||!Ur.Ay.isVisible(e,r),isMultiTabStopElement:s})})(e,this.cache.tree,!1);await Sr.yS.send(Sr._O.devtools,"tab-record:screenshot",{vnode:l}),l.source=Ur.Ay.getSource(e);const u=(await Ur.Ay.runContrastAnalysis(e))[0];l.focusedContrastResult=null==u?void 0:u.data;const d=e=>{var t;return!(null!==(t=e.getRootNode().host)&&void 0!==t&&t.matches(Jn.wZ))};try{const[t]=Ur.Ay.getElementStack(e,!1).filter(d);l.elementObscured=!!t&&t!==e}catch{l.elementObscured=!1}if(this.tabStops.set(e,l),this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!0);t&&this.handleMultiTabstopElement(e),this.trapEscapeState.recordingKeyboardTrapEscape?this.trapEscapeState.addedNewTabstopDuringEscapeAttempt=!0:(Sr.yS.send(Sr._O.devtools,"tab-record:count",this.tabStops.size),Sr.yS.send(Sr._O.background,"tab-record:fire-tab"))}attachListeners(){this.trapEscapeState.listenersAttached||(this.focusListenerTargets=new Set([document,...yn(this.unscopedCache),...bn(this.unscopedCache)]),this.focusListenerTargets.forEach(e=>{e.addEventListener("focus",this.onFocus,!0)}),this.submitListenerTargets=new Set(vn(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(),Sr.yS.listen("tab-record:new-window:launched",this.onNewWindowLaunched),this.trapEscapeState.listenersAttached=!0)}setKeyboardTrapEscapeState(e=!1,t=null,r=!1,n=!1){if(this.trapEscapeState.recordingKeyboardTrapEscape=e,this.trapEscapeState.isAutoEscape=r,this.trapEscapeState.finalizingKeyboardTrapEscape=!1,this.trapEscapeState.isLastAttempt=n,e)if(r){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:r,highlighter:n,hideScrollbars:o,showScrollbars:i,buildTreeCache:s,keyboardTrapsEnabled:a}){Xi(this,"retryTabKeyPressCount",0),Xi(this,"tabStops",new Map),Xi(this,"visitedElements",new Set),Xi(this,"focusListenerTargets",new Set),Xi(this,"submitListenerTargets",new Set),Xi(this,"submittedForms",new Set),Xi(this,"submitRestoreHandlers",new Set),Xi(this,"launchedWindowOnFocus",new Set),Xi(this,"_isCleanedUp",!1),Xi(this,"overrideFocusVnode",null),Xi(this,"trapEscapeState",Zi({},ts)),Xi(this,"isCleanedUp",()=>this._isCleanedUp),Xi(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()}),Xi(this,"onTabbingComplete",async({trappedVnode:e}={})=>{const t=Sn({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});e||(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),this.cleanupAfterTabbing({hasTrappedVnode:!!e}),await Sr.yS.send(Sr._O.background,"tab-record:stop"),this.keyboardTrapsEnabled&&e?Sr.yS.send(Sr._O.devtools,"tab-record:trapped",{trappedVnode:e,tabData:t}):Sr.yS.send(Sr._O.devtools,"tab-record:complete",t)}),Xi(this,"setFocusTimeout",(e=1e4)=>{this.trapEscapeState.recordingKeyboardTrapEscape||(this.focusTimeout=setTimeout(async()=>{const e=!!document.activeElement&&await Sr.yS.send(Sr._O.background,"dom:get-active-element-shadow-root-type");if(document.activeElement&&("IFRAME"===document.activeElement.tagName||"closed"===e))return this.setFocusTimeout(500),void es();if("user-agent"===e){const e=Qi[document.activeElement.tagName.toLowerCase()]||5;return this.keyboardTrapsEnabled&&this.retryTabKeyPressCount>=e?void this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)}):(++this.retryTabKeyPressCount,this.setFocusTimeout(500),void es())}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),Sr.yS.send(Sr._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)}this.keyboardTrapsEnabled&&t()&&this.tabStops.size>1?this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)}):this.onTabbingComplete()},e))}),Xi(this,"onSubmit",e=>{this.submittedForms.add(e.target)}),Xi(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()}),Sr.yS.unlisten("tab-record:new-window:launched",this.onNewWindowLaunched),this.trapEscapeState.listenersAttached=!1}),Xi(this,"resetState",e=>{var t;e||Sr.yS.send(Sr._O.background,"tab-record:new-window-listener:detach"),this.detachListeners(),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="",Sr.yS.unlisten("tab-record:finalize-escape-trap",this.onFinalizeTrap),Sr.yS.unlisten("tab-record:user-stopped",this.onTabbingComplete),Sr.yS.unlisten("tab-record:cleanup",this.cleanupAfterTabbing),Sr.yS.unlisten("tab-record:continue-tabbing",this.onContinueTabbing),Sr.yS.unlisten("tab-record:detach-listeners",this.detachListeners),Sr.yS.unlisten("attach:failed",this.handleAttachFailed),null===(t=this.unlistenInitialFocus)||void 0===t||t.call(this)}),Xi(this,"onNewWindowLaunched",()=>{this.launchedWindowOnFocus.add(document.activeElement)}),Xi(this,"scopeKeyboardSetup",()=>{if(!Tr()(this.manifest,"metadata.scope",void 0))return;const[e]=this.cache.flat;if(!e)return;e.element.getAttribute("tabindex")||Ur.Ay.isFocusable(e.element)||(e.element.tabIndex=-1,this.removeKeyboardScopeTabIndex=!0),e.element.focus(),this.keyboardScope=e}),Xi(this,"cleanupKeyupTarget",()=>{this.keyupTarget&&(this.keyupTarget.removeEventListener("keyup",this.onKeyup,!0),this.keyupTarget=null)}),Xi(this,"onKeyup",()=>{if(document.activeElement===this.keyupTarget)return es();this.cleanupKeyupTarget()}),Xi(this,"handleMultiTabstopElement",e=>{this.keyupTarget=e,e.addEventListener("keyup",this.onKeyup,!0),clearTimeout(this.focusTimeout)}),Xi(this,"handleAttachFailed",()=>{this.resetState(),clearTimeout(this.focusTimeout)}),Xi(this,"onFinalizeTrap",()=>{this.trapEscapeState.recordingKeyboardTrapEscape=!1,this.trapEscapeState.finalizingKeyboardTrapEscape=!0,this.setFocusTimeout(),Sr.yS.send(Sr._O.background,"tab-record:start")}),Xi(this,"onContinueTabbing",()=>{this.focusHandler.resetDebounce(),this.setFocusTimeout(),Sr.yS.send(Sr._O.background,"tab-record:start")}),this.manifest=e,this.cache=t,this.unscopedCache=r,this.showScrollbars=i,this.buildTreeCache=s,this.replayer=new Yi(n),this.keyboardTrapsEnabled=a,this.onFocus=this.onFocus.bind(this),this.focusHandler=function(e,t=0){let r=0,n=0;const o=function(...o){cancelAnimationFrame(n),n=requestAnimationFrame(()=>{const n=performance.now();n-r>=t&&(r=n,e.apply(this,o))})};return o.resetDebounce=()=>{r=0,n=0},o}(this.focusHandler.bind(this),30),this.setFocusTimeout(),this.resetState(!0),this.scopeKeyboardSetup(),this.attachListeners(),o(),Ur.Ay.setupTrees(),Sr.yS.send(Sr._O.background,"tab-record:new-window-listener:attach"),document.documentElement.style.cursor="none",document.documentElement.style.pointerEvents="none",document.activeElement.matches&&document.activeElement.matches(an)&&this.handleMultiTabstopElement(document.activeElement);const c=()=>{var r;if(this.trapEscapeState.finalizingKeyboardTrapEscape)return;const n=!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(n&&(null===(r=n.properties)||void 0===r?void 0:r.tabIndex)>-1){var s;i=(t.tree.getById(null===(s=e["focused-element"])||void 0===s?void 0:s.vnodeId)||{}).element}else if(!n&&o){i=(t.tree.getById(o.vnodeId)||{}).element}return i&&(i.focus(),this.focusHandler(i)),!0};Sr.yS.listen("attach:failed",this.handleAttachFailed),Sr.yS.listen("tab-record:initial-focus",c),Sr.yS.listen("tab-record:finalize-escape-trap",this.onFinalizeTrap),Sr.yS.listen("tab-record:user-stopped",this.onTabbingComplete),Sr.yS.listen("tab-record:cleanup",this.cleanupAfterTabbing),Sr.yS.listen("tab-record:continue-tabbing",this.onContinueTabbing),Sr.yS.listen("tab-record:detach-listeners",this.detachListeners),this.unlistenInitialFocus=()=>Sr.yS.unlisten("tab-record:initial-focus",c)}}const ns=["keyboardTrapsEnabled","isKeyboardTrapEscape","keyboardTrapVnode","isAutoEscape","isLastAttempt"];function os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function is(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?os(Object(r),!0).forEach(function(t){ss(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):os(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ss(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}async function as(){return Sr.yS.send(Sr._O.content,"hide-scrollbars")}async function cs(){return Sr.yS.send(Sr._O.content,"show-scrollbars")}function ls(e,t){let r;Sr.yS.listen("igt:keyboard:focus-element",async({message:{elementToFocus:t}})=>{const r=await e(),n=r.querySelector(t.selector);var o;return n&&(o=n)&&"function"==typeof o.focus&&o.focus(),{foundElement:n?JSON.parse(r.safe(r.get(n))):null}}),Sr.yS.listen("igt:keyboard:find-current-focus",async()=>{const t=await e();return Gi(t)}),Sr.yS.listen("igt:keyboard:reset-focus",Ki),Sr.yS.listen("igt:keyboard:tab-record-start",async n=>{let{message:{keyboardTrapsEnabled:o,isKeyboardTrapEscape:i,keyboardTrapVnode:s,isAutoEscape:a=!1,isLastAttempt:c=!1}}=n,l=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(n.message,ns);const u=async()=>{await t(is(is({},l.metadata),{},{scope:void 0}));const r=e(),n=Array.from((null==r?void 0:r.values())||[]);let o=r,i=n;var s;l.metadata.scope&&(await t(l.metadata),o=e(),i=Array.from((null===(s=o)||void 0===s?void 0:s.values())||[]));return{cache:{tree:o,flat:i},unscopedCache:{tree:r,flat:n}}};if(!r||r.isCleanedUp()){const{cache:e,unscopedCache:t}=await u();r=new rs({manifest:l,cache:e,unscopedCache:t,highlighter:await(0,zr.A)(),hideScrollbars:as,showScrollbars:cs,buildTreeCache:u,keyboardTrapsEnabled:o})}r.setKeyboardTrapEscapeState(i,s,a,c),i||Sr.yS.send(Sr._O.background,"tab-record:start")})}var us=r(11911),ds=r.n(us);function ps(e){Ur.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?Ur.Ay.name(t):""}).join(" ")}}Ur.Ay.cleanupTrees();const r=e.getAttribute("aria-label");if(r)return Ur.Ay.sanitize(r);if("FIELDSET"===e.tagName){var n;const t=Ur.Ay.name(e.firstElementChild);return"LEGEND"===(null===(n=e.firstElementChild)||void 0===n?void 0:n.tagName)&&t}return null}const fs=(e,t)=>{Ur.Ay.setupTrees();const r=hs(e,!0).filter(e=>e&&Ur.Ay.isVisible(e)).map(e=>Rr(An(t.get(e))));return Ur.Ay.cleanupTrees(),r},hs=(e,t=!1)=>{const r=e.getRootNode(),n=e.id?Array.from(r.querySelectorAll(`[for="${e.id}"]`)):[];"FIELDSET"===e.tagName&&e.firstElementChild&&"LEGEND"===e.firstElementChild.tagName&&n.push(e.firstElementChild);const o=e.getAttribute("aria-labelledby"),i=e.getAttribute("aria-describedby"),s=e=>e?e.split(" "):[],a=[...s(o),...s(i)].filter(Boolean).map(e=>r.getElementById(e)),c=[...n,...a].filter(Boolean).map(e=>hs(e)).flat();return[...new Set([...t?[]:[e],...a,...c])]};function ms(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function gs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(r),!0).forEach(function(t){ys(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ms(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ys(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let bs=1;const vs=e=>{const t={};return e.forEach(e=>t[e.id]=e.label),t},ws=(e,t)=>{const r=e.filter(({attributes:e})=>e.name&&"radio"===e.type),n=e.filter(({attributes:e})=>e.name&&"checkbox"===e.type);return[...Es(ds()(r,"attributes.name"),"radio-name",t),...Es(ds()(n,"attributes.name"),"checkbox-name",t)]},Ss=(e,t,r)=>{const n=[],o=function(e,t=document){return Array.from(t.querySelectorAll(e))}(Hr,t.element),i=ws(e,r);return t&&t.element.matches(Hr)&&o.push(t.element),Ur.Ay.setupTrees(),o.forEach(t=>{const o=e.filter(e=>{var n,o;return t.contains(e.element)||(null==r||null===(n=r.get(t))||void 0===n||null===(o=n.contains)||void 0===o?void 0:o.call(n,e))});if(!i.some(e=>o.some(t=>e.vnodeIds.includes(t.vnodeId)))&&o.length>1){const e=ps(t)||"";if(!e)return;const i=o.map(e=>e.selector),s=o.map(e=>e.vnodeId),a=[];o.forEach(t=>{a.push(gs(gs({},t),{},{groupId:bs,groupLabel:e,visibleLabels:fs(t.element,r),groupSelector:i,groupVnodeIds:s}))});const c={selector:i,label:e,vnodeIds:s,id:bs++,groupType:"semantic",pairings:vs(a),visibleLabels:t?fs(t,r):[]};a.find(e=>e.groupId===c.id).group=c,n.push(c)}}),Ur.Ay.cleanupTrees(),n},Es=(e,t,r)=>Object.keys(e).reduce((n,o)=>{const i=e[o],s=e=>!i.filter(t=>{var n,o;return!(e.contains(t.element)||null!=r&&null!==(n=r.get(e))&&void 0!==n&&null!==(o=n.contains)&&void 0!==o&&o.call(n,t))}).length;let a,c=i[0].element.closest(Hr);for(;!a&&c;)s(c)&&(a=c),c=c.closest(Hr);if(i.length<2)return n;const l=i.map(e=>e.selector),u=i.map(e=>e.vnodeId),d=a&&ps(a)||"",p=a?fs(a,r):[];i.forEach(e=>{e.groupId=bs,e.groupLabel=d,e.groupSelector=l,e.groupVnodeIds=u});const f={selector:l,groupType:t,vnodeIds:u,id:bs++,name:o,label:d,visibleLabels:p,pairings:vs(i)};return i[0].group=f,n.push(f),n},[]);function xs(e){const t=e.getAttribute("aria-label");if(t)return t;const r=e.getAttribute("aria-labelledby"),n=r&&r.split(" ");if(r&&n.length)return n.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}function Os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function As(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Os(Object(r),!0).forEach(function(t){Ts(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Os(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ts(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Cs=e=>{var t;const r=As(As({},e.properties),{},{disabled:e.element.disabled,multiple:e.element.multiple,placeholder:e.element.placeholder,required:e.element.required});let n={};return e.element.matches(Br)&&(n={label:xs(e.element),type:e.element.type}),As(As(As({},Fn(e,{visibleLabels:e.visibleLabels},"accessibleText")),n),{},{properties:r,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[]})},Ns=(e,t)=>{const r=t.selectAll([Br],{isRelativeSelector:!0}).filter(t=>!!t.ancestors.find(t=>t.vnodeId===e.vnodeId)).map(e=>e.element),n=Ur.Ay.getTabbableElements(e.element);return e.element.matches(Br)&&r.push(e.element),r.filter(e=>Ur.Ay.isVisible(e,!0)||!(null==n||!n.includes(e)))},Is=e=>t=>("form"===t.tagName||"form"===t.attributes.role)&&((e,t)=>Ns(e,t).length>0)(t,e),ks=e=>As(As({},Cs(e)),{},{box:Zr(e)});function Ps(e){Sr.yS.listen("igt:forms:get-forms",async()=>function(e){Ur.Ay.setupTrees();const t=e();return Ur.Ay.cleanupTrees(),t}(()=>{const t=e();return Zn((null==t?void 0:t.values())||[],Is(t),!0).map(ks)})),Sr.yS.listen("igt:forms:get-form",async({message:{vnodeId:t}})=>{const r=e().getById(t);return ks(r)}),Sr.yS.listen("igt:forms:get-inputs",async({message:t})=>{const r=e(),n=r.getById(t.selectedForm.vnodeId),o=Ns(n,r).map(e=>As(As({},r.get(e)),{},{visibleLabels:fs(e,r)})),i=[...Ss(o,n,r),...ws(o,r)];return{inputs:o.map(e=>{const t=i.find(t=>t.vnodeIds.includes(e.vnodeId)),r=Cs(e);return t?As({groupId:t.id,groupLabel:t.label},r):r}),groups:i}}),Sr.yS.listen("igt:forms:get-error-message",async({message:t})=>{const r=e(),{element:n}=r.getById(t.vnodeId),o=n.getAttribute("aria-describedby"),i=o&&o.split(" ");return{errorMessage:i&&i.map(e=>{const t=document.getElementById(e);return t&&t.textContent}).join(" ")}})}function js({getTree:e,getFlatTree:t,buildTree:r}){Eo(e),function(e){Sr.yS.listen("igt:structure:get-headings",async()=>Ro(()=>{var t;return Zn((null===(t=e())||void 0===t?void 0:t.values())??[],Co,!0).map(Lo)})),Sr.yS.listen("igt:structure:get-all-possible-elements",({message:t})=>{var r;Ur.Ay.setupTrees();const n=(null===(r=e())||void 0===r?void 0:r.values())||[],o=!(null==t||!t.useTextBox),i=Zn(n,()=>!0,!0).map(e=>uo(e,{useTextBox:o}));return Ur.Ay.cleanupTrees(),i}),Sr.yS.listen("igt:structure:map-headings",async({message:t})=>{const{vnodes:r=[],props:n={}}=t;if(!Array.isArray(r))return[];const o=(0,Ur.rJ)();o.teardown(),o.setup();const i=e();return r.map(({vnodeId:e})=>{const t=i.getById(e);return Ao(Ao({},Lo(t)),n)})}),Sr.yS.listen("igt:structure:get-lists",async()=>Ro(()=>{var t;return Zn((null===(t=e())||void 0===t?void 0:t.values())??[],No,!0).map(Mo)})),Sr.yS.listen("igt:structure:map-lists",async({message:t})=>{const{vnodes:r=[],props:n={}}=t;return Array.isArray(r)?Ro(()=>{const t=e();return r.map(({vnodeId:e})=>{const r=t.getById(e);return Ao(Ao({},Mo(r)),n)})}):[]}),Sr.yS.listen("igt:structure:get-lang-elements",async()=>{const t=await Ro(()=>{var t;const r=(null===(t=e())||void 0===t?void 0:t.values())??[];return Promise.all(Zn(r,e=>Io(e)&&Ur.Ay.hasContent(e.element),!0).map(_o))}),r=await Ro(()=>{const e=document.body.parentElement;return _o({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:r,langElements:t,documentLang:r.lang||r.detectedLang}}),Sr.yS.listen("igt:structure:map-lang-elements",async({message:t})=>{const{vnodes:r=[],props:n={}}=t;return Array.isArray(r)?await Ro(async()=>{const t=e();return await Promise.all(r.map(async({vnodeId:e})=>{const r=t.getById(e);return Ao(Ao({},await _o(r)),n)}))}):[]}),Sr.yS.listen("igt:structure:get-title-elements",async()=>{const t=Ro(()=>{var t;return Zn((null===(t=e())||void 0===t?void 0:t.values())??[],ko,!0).map(qo)}),r=document.head.querySelector("title");return{frames:t,documentTitle:{title:document.title,source:r?Ur.Ay.getSource(r):null,selector:[Ur.Ay.getSelector(r)]}}}),Sr.yS.listen("igt:structure:get-application-elements",async()=>Ro(()=>{var t;return Zn((null===(t=e())||void 0===t?void 0:t.values())??[],Po,!0).map(Vo)})),Sr.yS.listen("igt:structure:get-media-elements",async()=>Ro(()=>{var t;return Zn((null===(t=e())||void 0===t?void 0:t.values())??[],jo,!0).map(Fo)}))}(e),ii({getTree:e,getFlatTree:t,buildTree:r}),wi(e,r),zi(e),ls(e,r),Ps(e),function(e){Sr.yS.listen("igt:ml:debug",({message:t})=>{const{features:r,vnodes:n}=t;Ur.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 "),r.forEach(e=>{let t="black 4px ridge";n.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 r=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:r?r.element:null,vnode:r?uo(r):null})}),document.body.appendChild(i)}),Ur.Ay.cleanupTrees()})}(e)}const Rs=["scope"];function Ds(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ls(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ds(Object(r),!0).forEach(function(t){Ms(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ds(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ms(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _s=Or()("walnut-chrome:content:events");class Fs{constructor({treeBuilder:e}={}){this.treeBuilder=e,this.runtimeListener(),this.pageUnLoadListener(),this.cache={},this.highlighter=null,(0,zr.A)().then(e=>{this.highlighter=e}),this.autoSetup=!1,this.selected=[],this.axeResult=null,kr.listeners.initContentBridgeListeners(Sr.yS),this.isSameElement=(e,t)=>{if(!e||!t)return!1;if(!this.cache.tree)return null;const r=this.cache.tree.querySelector(e.selector),n=this.cache.tree.querySelector(t.selector);return!(!r||!n)&&r===n},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},Sr.yS.listen("request-axe-results",({message:e})=>this.sendAxeResults(e)),Sr.yS.listen("scope:reset",()=>{this.mouseSelection&&this.mouseSelection.removeAllSelections()}),Sr.yS.listen("guide:check-vitals",async({message:e})=>{await this.buildTree({value:{manifest:{metadata:{tree:e.vitals}}},vitals:e.vitals}),Sr.yS.send(Sr._O.devtools,"guide:check-vitals:complete")}),Sr.yS.listen("hide-scrollbars",()=>this.hideScrollbars()),Sr.yS.listen("show-scrollbars",()=>this.showScrollbars()),Sr.yS.listen("dom-walker-jump",({message:e})=>{Sr.yS.send(Sr._O.devtools,"dom-walker-jump",e)}),Sr.yS.listen("build-virtual-tree",async({message:e})=>await this.buildTree(e,!0)),Sr.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}}),Sr.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&&Sr.yS.send(Sr._O.devtools,"dom-walker-jump",{value:{vnodeId:e[0]}}),e}catch{return[]}}),Sr.yS.listen("groot:find-vnode",({message:e})=>this.findNode(e)),Sr.yS.listen("groot:get-ids-by-selectors",({message:e=[]})=>{const t=this.cache.flat.reduce((e,t)=>{var r;return e[r=t.selector,r.flat().join("|")]=t.vnodeId,e},{});return e.map(e=>t[e])}),Sr.yS.listen("groot:is-same-element",({message:{vnode:e,compareVnode:t}})=>this.isSameElement(e,t)),Sr.yS.listen("groot:find-same-elements",({message:e})=>{const{vnodes:t=[],compareVNodes:r=[]}=e,n={sameInVNodes:[],sameInCompareVNodes:[],uniqueInVNodes:[]};if(!Array.isArray(t)||!Array.isArray(r))return _s("groot:find-same-elements:invalid-message",{vnodes:t,compareVNodes:r}),n;const o=t.reduce((e,t)=>{const r=this.findNode(t);return r&&e.push(Ls(Ls({},t),r)),e},[]),i=r.reduce((e,t)=>{const r=this.findNode(t);return r&&e.push(Ls(Ls({},t),r)),e},[]);for(const e of o){const t=i.findIndex(t=>this.isSameElement(e,t));-1!==t?(n.sameInVNodes.push(e),n.sameInCompareVNodes.push(i[t]),i[t]=null):n.uniqueInVNodes.push(e)}return n.uniqueInCompareVNodes=i.filter(Boolean),n}),Un(()=>this.cache.tree),js({getTree:()=>this.cache.tree,getFlatTree:()=>this.cache.flat,buildTree:this.buildTree.bind(this)}),this.attachIGTHighlightListeners()}attachIGTHighlightListeners(){Sr.yS.listen("igt:highlight",async({message:e})=>{const{vnodes:t,options:r,vnodeIds:n,scrollIntoView:o=!1}=e;let i=t;!t&&n&&(i=n.map(e=>this.cache.tree.getById(e))),await this.highlightNodes(i,r,o)}),Sr.yS.listen("igt:highlight:remove",async({message:e})=>{const t=await this.getHighlightNodes(e.vnodeIds||[]);for(const e of t)(0,zr.A)().then(({highlighters:t})=>{var r;null===(r=t.get(e))||void 0===r||r.destroy()})}),Sr.yS.listen("igt:selection:add",({message:e})=>{this.handleHighlight("addSelection",{theme:"selected",vnodeId:e.vnodeId},{showTooltip:!1},!0)}),Sr.yS.listen("igt:selection:remove",({message:e})=>{this.handleHighlight("removeSelection",{theme:"selected",vnodeId:e.vnodeId})}),Sr.yS.listen("igt:selection:remove-all",async()=>{await this.mouseSelection.removeAllSelections()}),Sr.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&&Sr.yS.unlisten("forms:get-descendant-elements",Hn)})}runtimeListener(){Sr.yS.listen(async({topic:e="",message:t})=>{const[r,n]=e.split(":");"guide"===r&&await this.handleTestMessage(Ls({type:n},t))})}async sendAxeResults(e){let{scope:t}=e;const r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Rs)||this.axeResult;if(!r)return;const n={};try{n.results=r,n.pageTitle=document.title,n.metadata=Rn(),n.metadata.scope=t}catch(e){return{error:{stack:e.stack,message:e.message}}}return n}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){_s("message received:",e);const{type:t,value:r,args:n=[],vitals:o=[]}=e;switch(t){case"clearHighlight":case"setHighlight":case"highlight":case"removeHighlight":case"addSelection":case"removeSelection":case"setSelections":this.handleHighlight(t,r);break;case"refresh-tools":case"build-tree":await this.buildTree({value:r,context:document.body,scope:e.ignoreScope?null:e.scope,vitals:o,includeCrossOrigin:e.includeCrossOrigin});break;case"dom-walker-change":this.handleDomWalkerChange(r);break;case"mouse-selection":(!this.cache.tree||e.rebuildTree&&"disable"!==r)&&await this.buildTree({value:{},includeCrossOrigin:e.includeCrossOrigin}),await this.mouseSelection[r].apply(this.mouseSelection,n.concat([e.manifest])),"disable"===r&&this.mouseSelection.cleanUp();break;case"fire-resize":{const e=new Event("resize");window.dispatchEvent(e);break}case"get-auto-setup":(e=>{Sr.yS.send(Sr._O.devtools,"guide:auto-setup",e)})(this.autoSetup?"start":"stop");break;case"request-axe-results":this.sendAxeResults();break;case"axe-result":this.axeResult=r}}async buildTreeForAnalytics(){await Ir();const e={rejectTags:["script","style",Jn.wZ]};return this.treeBuilder.buildTree(e)}async buildTree({value:e,context:t=document.body,scope:r,vitals:n,includeCrossOrigin:o=!1}={},i){const s=e&&"object"==typeof e?e.manifest:e,a=Tr()(s,"metadata.tree",[]),c=[];let l=!0;await Ir(),await Sr.yS.send(Sr._O.devtools,"guided:inject-axe");const u={allowAttrs:["data-.*","aria-.*","method","action","class","id","xlink:href","role","name","src","type","for","title","lang","headers","scope","list"],listeners:{create:o?[]:[Wn],update:o?[]:[Wn],discard:e=>c.push(e)},rejectTags:["script","style",Jn.wZ],acceptNode:e=>{if(!e.contentWindow)return!0;try{return!!e.contentWindow.axe}catch{return o}}};let d,p;if(o&&this.treeBuilder)d=p=await this.treeBuilder.buildTree(u);else{if(d=new vr(u),r){const e=[];e.push(()=>d.querySelector(r.selector)),r.fallbackSelector&&e.push(()=>d.querySelector(r.fallbackSelector)),e.push(()=>d.findOne(r,{findOneTimeLimit:2e3}));for(const t of e){const e=t();if(e){r.element=e;break}}r.element?t=r.element:l=!1}_s("Building virtual tree from ",{manifestTree:a}),p=await d.from(a,document.body),null!=r&&r.element&&(p.forEach(e=>{e.element===r.element||e.ancestors.find(e=>e.element===r.element)||p.delete(e.element)}),p.setSeed(r.vnodeId)),c.length&&(({discarded:e,scope:t,groot:r,tree:n,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&&r.querySelector(e.fallbackSelector)),s.push(e=>r.findOne(e,{findOneTimeLimit:1e3})),i.every(e=>{for(const t of s){const r=t(e);if(r)return n.has(r)||n.set(r,e),!0}return!1})||Sr.yS.send(Sr._O.devtools,"guide:discarded",{value:i})})({discarded:c,scope:r,groot:d,tree:p,vitals:n})}return this.cache.tree=globalThis.tree=p,this.cache.flat=Array.from(p.values()).map(Rr),this.mouseSelection?await this.mouseSelection.update(p,o):this.mouseSelection=new In(p,s,o),await this.mouseSelection.initHighlighter(),_s("Built virtual tree",this.cache.flat),Sr.yS.send(Sr._O.devtools,"guide:return-tree",{tree:p,scopePresent:l,discarded:c}),i?r&&l?this.cache.tree.safe(this.cache.tree.get(r.element)):null:t}async handleHighlight(e,t,r,n=!1){_s("handleHighlight",{type:e,value:t});let o=["highlight","select"].includes(e)||n;if(!t){return"clear"===("clearHighlight"===e?"clear":"refresh")&&(this.selected=[]),void this.highlighter.clearHighlights()}const{vnodeId:i,theme:s}=t;if(!this.cache.tree||void 0===i)return;const a=[].concat(i),c=await this.getHighlightNodes(a);if("removeHighlight"===e){if(1===c.length&&this.selected.includes(c[0]))return void(0,zr.A)().then(({highlighters:e})=>{const[t]=c,r=e.get(t);r.setOptions({showTooltip:!1,showMetadata:!1}),r.updatePosition()});for(const e of c)(0,zr.A)().then(({highlighters:t})=>{var r;null===(r=t.get(e))||void 0===r||r.destroy()})}if("removeSelection"===e){this.selected=this.selected.filter(e=>!c.includes(e));for(const e of c)(0,zr.A)().then(({highlighters:t})=>{var r;null===(r=t.get(e))||void 0===r||r.destroy()})}"setSelections"===e&&(o=o||1===c.length,await Promise.all(this.selected.map(async e=>{var t;const{highlighters:r}=await(0,zr.A)();null===(t=r.get(e))||void 0===t||t.destroy()})),this.selected=c),"addSelection"===e&&this.selected.push(...c);let l=!1;for(const e of c){const t=this.cache.tree.get(e),n=this.highlighter.createHighlighter(e,(null==t?void 0:t.selector)||e.selector);n.highlight(Ls({theme:s||"selected",showMetadata:!1,showTooltip:!1},r)),o&&!l&&(n.scrollIntoView(),l=!0)}}async highlightNodes(e,t,r){await(0,zr.A)();const n=(e||[]).filter(e=>null!=e),o=await this.getHighlightNodes(n.map(({vnodeId:e})=>e)),i=e=>{if(e.mlOnly)return"ml"};o.forEach((e,o)=>{const s=this.cache.tree.get(e),a=this.highlighter.createHighlighter(e,(null==s?void 0:s.selector)||e.selector);a.highlight(Ls(Ls({theme:i(n[o])||"selected",showMetadata:!1,showTooltip:!1},t),n[o].highlightOptions)),r&&0===o&&a.scrollIntoView()})}async getHighlightNodes(e){const t=[];for(const r of e){const e=this.cache.tree.getById(r);if(e){const r=await Yr(e);r&&t.push(r)}}return Promise.all(t)}handleDomWalkerChange(e){var t;const r=this.cache.tree.getById(e.vnodeId);r&&(!0!==e.skipHover&&this.mouseSelection.hover(r),null===(t=this.highlighter.highlighters.get(r.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)}}var Vs=r(66884);const qs={listen:(e,t)=>Sr.yS.listen(e,t),unlisten:(e,t)=>Sr.yS.unlisten(e,t),send:(e,t,r)=>(0,Er.A)(e,t,r),sendAll:(e,t)=>Sr.yS.send(Sr._O.content,e,t,{allFrames:!0}),sendReply:(e,t)=>Sr.yS.send(Sr._O.content,e,t)},Bs=()=>{let e;const t=new wr({frameMessenger:qs});return(0,Vs.$)()&&(e=new Fs({treeBuilder:t})),e}},13205(e,t,r){"use strict";r.d(t,{e:()=>n});const n={4.11:"4.11.4","4.12.0":"4.12.0",4.12:"4.12.1","4.11.4":"4.11.4","4.11.3":"4.11.3","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.12.1":"4.12.1"}},66884(e,t,r){"use strict";r.d(t,{$:()=>n,J:()=>o});const n=(e=window)=>window.top===e,o=e=>e.origin===window.location.origin},22395(e,t,r){"use strict";r.d(t,{Ay:()=>a,_o:()=>s});r(69443);var n=r(13205),o=r(40108),i=r.n(o);r(9510);function s(e){if(!e||"latest"===e)return"latest";if(Object.keys(n.e).find(t=>t===e))return e;const t=Object.values(n.e),r=i()(t,`>=${e}`);if(!r)return"latest";const o=Object.entries(n.e);for(const[e,t]of o)if(t===r)return e}function a(e){return Object.keys(n.e).includes(null==e?void 0:e.toString())}},78230(e,t,r){"use strict";r.d(t,{Ay:()=>h,rJ:()=>s,pK:()=>b,gi:()=>y});const n=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 r;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===(r=n.get(s))||void 0===r?void 0:r[0];return(t||!n.has(s)||a&&!s.utils.getNodeFromTree(a,e))&&n.set(s,s.utils.getFlattenedTree(o)),s}function a(e){const t=s(e),r=function(e,t){let r=n.get(e);r||(r=e.utils.getFlattenedTree(t.ownerDocument),n.set(e,r));return e.utils.getNodeFromTree(r[0],t)}(t,e);return r?t.commons.text.accessibleTextVirtual(r):""}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 r;try{const n=t.commons.color.getForegroundColor(e),o=t.commons.color.getBackgroundColor(e);r=t.commons.color.getContrast(o,n)}catch(e){console.error(e)}return r}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const h=p({sanitize:e=>s().commons.text.sanitize(e),sanitizeContext:g,isValidLang(e){const t=s();return!!e&&t.utils.isValidLang(e)},hasContent(e){const t=s(e),r=E(t,e);return!!r&&t.commons.dom.hasContentVirtual(r)},getRequiredContext(e){const t=s();return e?t.commons.aria.requiredContext(e):[]},isOffscreen:(...e)=>o(e.map(v)),isVisible:(e,t=!1)=>!!e.ownerDocument.defaultView&&o(function(e,t){const r=s(e,t);t&&(r.teardown(),r.setup());return r.commons.dom.isVisible(e,!1,!0)}(e,t)),isSRVisible:(...e)=>o(e.map(w)),isOpaque:(...e)=>o(e.map(x)),getRoleType:(...e)=>o(e.map(S)),runContrastAnalysis:e=>async function(e){const t=s();A();try{var r,n;const o=await t.run(Array.isArray(e)?e.map(g):g(e),{runOnly:{type:"rule",values:["color-contrast"]},restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations"]}),i=null==o||null===(r=o.violations)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.nodes;return(null==i||null===(n=i.map)||void 0===n?void 0:n.call(i,e=>{const t=e.any[0],r=["fgColor","bgColor","contrastRatio","expectedContrastRatio"],n=parseInt(t.data.fontSize.split(" ")[0]),o="bold"===t.data.fontWeight;return{data:p(p({},Object.fromEntries(Object.entries(t.data).filter(([e])=>r.includes(e)))),{},{fontSize:n,isBold:o}),selector:e.target}}))||[]}catch(e){console.error(e)}finally{m(document.body)}return[]}(e),isWidgetRole:e=>s().commons.aria.lookupTable.rolesOfType.widget.includes(e),isFocusable:(...e)=>o(e.map(O)),getTabbableElements:e=>function(e){const t=s(e,!0),r=E(t,e);return t.commons.dom.getTabbableElements(r).map(({actualNode:e})=>e)}(e),getFlattenedTree:m,getSource(e){if(e.nodeType!==Node.ELEMENT_NODE)return null;return new(s().utils.DqElement)(e).source},getSelector(e){const t=s();return t._selectorData||(t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree())),t.utils.getSelector(e)},getElementStack(e,t=!0){const r=s();return t&&(r.teardown(),r.setup()),r.commons.dom.getElementStack(e)},idrefs:(e,t)=>s(e).commons.dom.idrefs(e,t),table:{isRowHeader:e=>s(e).commons.table.isRowHeader(e),isColumnHeader:e=>s(e).commons.table.isColumnHeader(e),toGrid(e){const t=s(e);return t.teardown(),t.setup(),t.commons.table.toGrid(e)},isDataTable:e=>s(e).commons.table.isDataTable(e),getCellPosition:(e,t)=>s(e).commons.table.getCellPosition(e,t),traverse(e,t,r,n){var o;if(null===(o=r[0])||void 0===o||!o[0])return;return s(r[0][0]).commons.table.traverse(e,t,r,n)}},setupTrees:function(){A(),n.clear()},cleanupTrees:A,isAxeSetUp:e=>!!s(e)._tree},i);function m(e){const t=s(),r=t.utils.getFlattenedTree(e.ownerDocument);return n.set(t,r),r}function g(e){if(!e.ownerDocument||e.ownerDocument===document)return e;const t=s();t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree());const r=[t.utils.getSelector(e)];let n=e.ownerDocument.defaultView.frameElement;for(;n;)r.unshift(t.utils.getSelector(n)),n=n.contentWindow.parent.frameElement;return r.flat()}function y(e){return!!s(e).utils.getNodeFromTree(e)}function b(e=document.documentElement){try{return!!s(e,!1)}catch{return!1}}function v(e){return s(e).commons.dom.isOffscreen(e)}function w(e){return s(e).commons.dom.isVisible(e,!0,!1)}function S(e){const t=s(e),r=function(e){return s(e).commons.aria.implicitRole(e)}(e),n=t.commons.aria.lookupTable.role[r];return n&&n.type}function E(e,t){let r=n.get(e);return r||(r=e.utils.getFlattenedTree(t.ownerDocument),n.set(e,r)),e.utils.getNodeFromTree(r[0],t)}function x(e){return s(e).commons.dom.isOpaque(e)}function O(e){const t=s(e);return y(e)?t.commons.dom.isFocusable(e):void 0}function A(){n.forEach((e,t)=>{t.teardown(),n.delete(t)})}},59412(e,t,r){"use strict";var n=r(96367),o=r(60119),i=r(66884);function s(e,t){t instanceof URL||(t=new URL(t)),(0,i.J)(t)&&window.postMessage(e,t.origin)}n.yS.listen("init",({message:e})=>{0});var a=r(13205);function c(e="latest"){if("latest"===e||!e)return window.axe;const t=a.e[e];return window.axeVersions[t]||window.axe}var l=r(78230),u=r(43955),d=r(31146),p=r(28342);function f(e){if(!Array.isArray(e))return e;const t=[];let r=!1,n=[];for(let o=e.length-1;o>=0;o--){const i=e[o];Array.isArray(i)?"shadow-root"===i[0]&&(r=!0,n.push(i[1])):!0===r?(n.push(i),r=!1,n.reverse(),t.push(n),n=[]):t.push(i)}return t.reverse()}function h(e){if(e&&e.children)for(const r of e.children){var t;if(r.isFrame&&null!==(t=r.children[0])&&void 0!==t&&t.isCrossOrigin||h(r))return!0}return!1}function m(e){return!!e&&h(e)}function g(e){return!!e&&e.flat.some(e=>e.isCrossOrigin)}r.dn(f);const{FIREFOX:y}={FIREFOX:"false"};let b;if("true"!==y){const{datadogLogs:e}=r(76551);b=e}var v=r(53940),w=r(9510),S=r(8433),E=r(80870);const x={chrome:"extension-chrome",firefox:"extension-firefox",edge:"extension-edge"};let O,A;const T=async(e=!1,t)=>{let{usageServerURL:r}=await browser.storage.local.get("usageServerURL");return!e&&O&&r===A||(A=r,"default"===r&&(r="https://usage.dequelabs.com"),O=new S.Ay("axe-devtools-html",x[t||(0,E.fx)()]),O.url(r)),O};let C=console;const N=()=>{const e={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.LOGGING_ENABLED;return"1"===e||"true"===e},I=(...e)=>{N()&&C.warn(...e)};var k=r(99524);let P;async function j(){return(await R()).distinct_id}const R=async()=>{if(P)return P;const{axeServerURL:e,session:t}=await browser.storage.local.get(["axeServerURL","session"]);return P=await(0,k.getDistinctIdCookie)({host:"default"===e?"http://localhost:1234":e,origin:globalThis.location.origin,token:null==t?void 0:t.access_token}),P};const D=["event"];function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const{AMPLITUDE_API_KEY:F,DATADOG_CLIENT_TOKEN:V,NODE_ENV:q}={NODE_ENV:"production",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DATADOG_CLIENT_TOKEN:""};let B;try{var H;const e=r(75478);B=null!==(H=e.default)&&void 0!==H&&H.getInstance?e.default.getInstance():e.getInstance()}catch{}const U=()=>!!B&&!0,$="enterpriseId",W="conversion:install",z="conversion:uninstall",G="user:login",K="user:open",Y="analysis:analyze",J="record:delete",Z="record:rename",X="analysis:complete",Q="analysis:ai:request:fail",ee="analysis:userCorrection",te="issues:export",re="issue:inspected",ne="issue:relatedInspected",oe="issue:toggleHighlight",ie="issue:moreInfo",se="ml:suggestedInteractiveElement",ae="ml:suggestedInteractiveElementRejected",ce="ml:missedInteractiveElement",le="ml:suggestedRole",ue="ml:suggestedRoleAccepted",de="ml:suggestedRoleRejected",pe="ml:suggestedTableHeader",fe="ml:suggestedTableHeaderRejected",he="conversion:click:scanPart",me="conversion:click:saveTest",ge="conversion:click:export",ye="conversion:click:shareIssue",be="analysis:startUFA",ve=(e=[],t)=>e.filter(({impact:e})=>e===t).reduce((e,{nodes:t})=>e+((null==t?void 0:t.length)||1),0),we=e=>{try{const t=new URL(e);return"localhost"===t.hostname||!!t.port||"file://"===t.origin}catch{return!1}},Se=e=>{if(void 0===e)return;const t=Array.from(new Set(e.map(e=>e.rule||e.id))),r={failedRuleCount:t.length,failedRuleNames:t,criticalIssueCount:ve(e,"critical"),seriousIssueCount:ve(e,"serious"),moderateIssueCount:ve(e,"moderate"),minorIssueCount:ve(e,"minor")};if(e.length&&Array.isArray(e[0].nodes)){const t=e.reduce((e,t)=>e+t.nodes.length,0);r.failedItemCount=t}return r},Ee=async(e,t=!1)=>{const r=await T(),n=t?e.productName:r.productName,o=t?e.productComponent:r.productComponent,i=M(M({},e),{},{productName:n,productComponent:o});if(U())try{let{event:e}=i,t=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(i,D);je(e,t)}catch(e){I("Analytics Data Error",{error:e.message,stack:e.stack})}try{r.postEvent(i)}catch(e){I("Usage Data Error",{error:e.message,stack:e.stack})}},xe=e=>{let t="anonymous";switch(null==e?void 0:e.status){case"trialing":t="trial";break;case"paid":case"paid_payment_failed":case"trial_ended":case"trial_payment_failed":case"free":case"free_payment_failed":t=e.status}return t},Oe=async(e=[])=>{var t;let r,o,i,s;if("devtools"in browser)try{({contentType:r,title:o,url:i,scoped:s}=await n.yS.send(n._O.content,"get-document-metadata"))}catch(e){_e({message:"Unable to get document metadata",originalError:e})}const{usageOrganization:a,usageDepartment:c,usageApplication:l,user:u,cachedUserCompany:d,axeSettings:p,userJobRole:f,cachedUserEmail:h}=await browser.storage.local.get(["usageOrganization","usageDepartment","usageApplication","user","cachedUserCompany","axeSettings","userJobRole","cachedUserEmail"]),m=!(!u||!u.id);return{distinctId:await j(),organization:a||((null==u?void 0:u.company)||d||""),department:c||"",application:l||"",userStatus:xe(u),loggedIn:m,devInstance:we(i),keycloakId:u&&u.id,userId:u&&u.username||h,userJobRole:f||"Anonymous",enterpriseId:null==u||null===(t=u.enterprise)||void 0===t?void 0:t.id,productName:"axe-pro",productComponent:"extension",productComponentVersion:w.rE,applicationProperties:M({engineVersion:v.rE,scoped:s,target:i,targetMedium:r,targetState:o,experimental:!1,rulesetName:(null==p?void 0:p.ruleset)||"all",bestPractices:!!p&&!!p.enableBestPractices},Se(e))}},Ae=e=>async function(t,r){const n=await Oe(t);if(!r)return Ee(M(M({},n),{},{event:e}));Ee(M(M({},n),{},{event:e,applicationProperties:M(M({},n.applicationProperties),r)}))},Te=e=>t=>Ae(e)(void 0,t),Ce=(Ae("issue:viewed"),Te(re),Te(ne),Te(oe),Te(ie),Ae(J),Ae(Z),Ae(W),Ae(z),Ae(G),Ae(K),(e,t="interactive-elements")=>r=>Ae(e)(void 0,M({eventTool:t},r)));Ce(se),Ce(ae),Ce(ce),Ce(le),Ce(ue),Ce(de),Ce(Q),Ce(ee),Ce(pe,"table"),Ce(fe,"table"),Ae(he),Ae(me),Ae(ge),Ae(ye),Ae(be);let Ne=!1,Ie=!1;const ke=async()=>{if(Ne||!U())return;const e=await j();B.init(F,void 0,{deviceId:e,includeUtm:!0,saveParamsReferrerOncePerSession:!1,includeGclid:!0,includeReferrer:!0,secureCookie:!0,sameSiteCookie:"Lax"}),Ne=!0},Pe=async()=>{if(void 0!==globalThis.document&&void 0!==globalThis.XMLHttpRequest){if(Ie||!b)return!0;b.init({clientToken:V,site:"datadoghq.com",service:"axe-extension",env:q,version:w.rE,beforeSend:e=>{var t;if(0===(null==e||null===(t=e.http)||void 0===t?void 0:t.status_code))return!1}}),Ie=!0}},je=async(e,t={})=>{if(!U())return;await(async()=>{await Promise.all([ke(),Pe()])})();let r={};switch(e){case Y:r={analyze:1};break;case X:r={complete:1};break;case te:r={export:1}}await(async(e={})=>{var t;if(!U())return;const{user:r,userJobRole:n="",usageOrganization:o="",cachedUserCompany:i,axeSettings:s,highlightTheme:a,theme:c,locale:l,policySettings:u,axeServerURL:d,firstView:p,exportFormat:f}=await browser.storage.local.get(["user","userJobRole","usageOrganization","cachedUserCompany","axeSettings","highlightTheme","theme","locale","policySettings","axeServerURL","firstView","exportFormat"]);B.setUserId(r&&r.id);const h=r&&r.id,m=null==r||null===(t=r.enterprise)||void 0===t?void 0:t.id,g=(new B.Identify).set("role",n).set("userStatus",xe(r)).set("loggedIn",h).set("axeSettings",M(M({highlightTheme:a,theme:c,locale:l,axeServerURL:d},s),{},{ruleset:(null==s?void 0:s.ruleset)||"all"})).set("policySettings",u).set("firstView",p).set("exportSchema",f||"devtools");m&&g.set($,m);for(const[t,r]of Object.entries(e))isNaN(r)?g.set(t,r):g.add(t,r);B.identify(g),B.setGroup("organization",o||(null==r?void 0:r.company)||i)})(r);const{devInstance:n,productName:o,productComponent:i,productComponentVersion:s,engineVersion:a,enterpriseId:c,applicationProperties:l}=t,u=M(M({devInstance:n,productName:o,productComponent:i,productComponentVersion:s,engineVersion:a},c?{[$]:c}:{}),l);B.logEvent(e,u)},Re=()=>Ie;function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach(function(t){Me(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Me(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _e=({originalError:e,message:t,level:r="error",additionalContext:n={},isSerialized:o=!1})=>{if(!Re())return;if(o)return void b.logger[r](t,Le(Le({},e),n));const i=(e=>e instanceof Error?e:new Error("Unknown error"+(e?`: ${e}`:"")))(e),s={error:i.message,stack:i.stack,original_error:e};b.logger[r](t,Le(Le({},s),n))},Fe=async(e,t,r)=>{if(e)try{await n.yS.send(n._O.background,t,r)}catch(e){_e({originalError:e,message:`Failed sending ${t} message to MCP server`,level:"error"})}};const Ve="precise",qe="balanced",Be="thorough";var He=r(61740);const Ue={key:qe,label:He.Ay`Balanced (70%+ confidence)`,labelDescription:He.Ay`Recommended for most testing`,value:.7};He.Ay`Precise (90%+ confidence)`,He.Ay`Shows fewer issues, all highly reliable`,He.Ay`Thorough (50%+ confidence)`,He.Ay`Shows more potential issues, some may be false alarms`;var $e=r(22395);const We=["include","axeVersion","mcpEnabled","enableExperimentalRules","enableRecorder","enableAdvancedRules","aiDisabled","failConfidenceThreshold"],ze=["axeVersion"];function Ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(r),!0).forEach(function(t){Ye(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ge(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ye(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Je(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Ze="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 Xe,Qe;{const{default:e}=r(10069);({default:Qe}=r(86739)),Xe=e()}const et=()=>{var e,t,r;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===(r=document)||void 0===r?void 0:r.URL,scoped:!!Xe&&Xe.getScope()!==document}},tt=async()=>{try{s({message:"walkthrough:scanned"},await async function(){const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");return e&&"default"!==e?e:"http://localhost:1234"}())}catch{}};n.yS.listen("axe:add-version",({message:{axeVersion:e,enableRecorder:t}})=>{const r=(0,p.A)(e).then(r=>{if(r&&t&&Qe){const t=c(e);t&&Qe.addRecorderToAxe(t,{bridge:n.yS})}return r});if((0,i.$)())return r}),n.yS.listen("axe:run",async e=>{var t;let{message:{include:r,axeVersion:o,mcpEnabled:s=!1,enableExperimentalRules:a,enableRecorder:p,enableAdvancedRules:h=!1,aiDisabled:m,failConfidenceThreshold:y=Ue.value}}=e,b=Je(e.message,We);const v=s?(0,$e._o)(o):o,w=c(v),S=[];s&&o&&v!==o&&S.push(`Incompatible axe-core version set in axe Configuration, ${o}, running analysis with closest version, ${v}`);const E=(e,t,r)=>e.reduce((e,n)=>(r&&n.tags.includes(r)||(e[n.ruleId]={enabled:t}),e),{}),x=a?E(w.getRules(["experimental"]),!0,"advanced"):{},O=E(w.getRules(["advanced"]),h,a?void 0:"experimental"),{clearHighlights:A}=await(0,u.A)();A();const T=Ke(Ke({restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations","incomplete"],advanced:{aiDisabled:m,attachDebugger:!1,screenshot:!1,failConfidenceThreshold:y}},b),{},{rules:Ke(Ke(Ke({},x),O),b.rules)}),C=Ke({results:null,error:null,pageURL:null===(t=document)||void 0===t?void 0:t.URL,axeRunOptions:T},S.length>0&&{messages:S});try{var N,I,k;let e,t,n,o;l.Ay.cleanupTrees(),h&&p&&(0,i.$)()&&(e=document.documentElement.scrollLeft,t=document.documentElement.scrollTop,window.scrollTo(e,0));const s=null===(N=Xe)||void 0===N?void 0:N.getScopeVNode();if(b.includeCrossOrigin){if(n=r||(null==s?void 0:s.selector)||document,n!==document){const e=f(n);if(Array.isArray(e)&&e.length>1)n=e;else{const{element:e,usedSelector:t}=((e,t)=>{const r=f(e),n=(0,d.A)(Array.isArray(r)?r:[r]);if(n)return{element:n,usedSelector:r};if(!t)return{element:null,usedSelector:null};const o=f(t);return{element:(0,d.A)(Array.isArray(o)?o:[o]),usedSelector:o}})(n,null==s?void 0:s.fallbackSelector);if(!e)throw new Error(Ze);n=t}}}else{var P;let e=null;r&&(e=Array.isArray(r)?r:[r]);const t=e?(0,d.A)(e):null;if(e&&!t)throw new Error(Ze);if(o=t||(null===(P=Xe)||void 0===P?void 0:P.getScope()),!o&&null!=s&&s.fallbackSelector&&(o=(0,d.A)(s.fallbackSelector)),!o&&null!=s&&s.selector)throw new Error(Ze);o=o||document,n=null===l.Ay||void 0===l.Ay?void 0:l.Ay.sanitizeContext(o)}const a=await w.run([n],T);"number"==typeof e&&"number"==typeof t&&window.scrollTo(e,t),l.Ay.getFlattenedTree((null===(I=o)||void 0===I?void 0:I.documentElement)||(null===(k=o)||void 0===k||null===(k=k.ownerDocument)||void 0===k?void 0:k.documentElement)||document.documentElement),!h&&null!=a&&a.advancedRuleInput&&delete a.advancedRuleInput,tt(),C.results=a}catch(e){const t={message:e.message||"Unknown Error",stack:e.stack||""};C.error=t}if(s&&C.results){var j;const e=g(await(null===(j=Xe)||void 0===j?void 0:j.buildTreeForAnalytics()));await n.yS.send(n._O.devtools,"mcp:analyze-analytics",{results:C.results,documentMetadata:et(),experimental:a,hasCrossOriginIframes:e})}return await Fe(s,"mcp:axe-results",C),C}),n.yS.listen("axe:get-analytics",async({message:e})=>{var t;let r,n=!1,o=!1,i=null===(t=Xe)||void 0===t?void 0:t.getScopeVNode();var s;!i&&null!=e&&e.include&&(r=await(null===(s=Xe)||void 0===s?void 0:s.buildTreeForAnalytics()),i=function(e,t){if(!e||!t)return null;const r=e.querySelector(t);return e.get(r)||null}(r,e.include));if(i){var a;n=i.isCrossOrigin||!!i.isFrame&&(null===(a=i.children[0])||void 0===a?void 0:a.isCrossOrigin),o=m(i)}else{var c;if(!r)r=await(null===(c=Xe)||void 0===c?void 0:c.buildTreeForAnalytics());o=g(r)}return{isCrossOrigin:n,hasCrossOriginIframes:o}}),n.yS.listen("axe:configure",e=>{let{message:{axeVersion:t}}=e,r=Je(e.message,ze);const n=c(t);return null==n?void 0:n.configure(r)}),n.yS.listen("axe:reset-locale",({message:e})=>{var t;const r=c(e);null!=r&&r.resetLocale?r.resetLocale():null!=r&&null!==(t=r._audit)&&void 0!==t&&t._resetLocale&&r._audit._resetLocale()}),n.yS.listen("axe:version",()=>c().version),n.yS.listen("axe:ping",({message:e})=>new Promise(t=>{setTimeout(()=>{t(!1),clearInterval(r)},500);const r=setInterval(()=>{c(e)&&(t(!0),clearInterval(r),clearTimeout(t))},100)})),n.yS.listen("get-document-metadata",et),n.yS.listen("extension:logout",async()=>{const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");s({message:"extension:logout"},e&&"default"!==e?e:"http://localhost:1234")});var rt=r(23569),nt=r.n(rt);function ot(e,t=!0){const r=e.ownerDocument.defaultView,n=(0,i.$)(r),o=e,s=o.getBoundingClientRect(),a=!s.height||!s.width,c=r.getComputedStyle(o)||{};let l=r.frameElement,u=s,d=u.top+(n?r.pageYOffset:0),p=u.left+(n?r.pageXOffset:0),f=d,h=p;if(l)for(f=u.top,h=u.left,d=u.top,p=u.left;l&&t;){const{frameElement:e,pageYOffset:t,pageXOffset:r}=l.ownerDocument.defaultView,n=(0,i.$)(l.ownerDocument.defaultView),o=window.getComputedStyle(l),s=Math.max(parseFloat(o.borderLeftWidth),0),a=Math.max(parseFloat(o.borderTopWidth),0);u=l.getBoundingClientRect(),f+=u.top+a+(n?t:0),h+=u.left+s+(n?r:0),l=e}const m=r.frameElement?{top:f-window.pageYOffset,left:h-window.pageXOffset,height:s.height,width:s.width}:s,g=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}}(m),y=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}}(m),b=e=>+e?.replace("px","")||0,{height:v,width:w}=r.visualViewport||{width:r.innerWidth,height:r.innerHeight};return{hidden:a,offViewport:g.top||g.bottom||g.left||g.right,offscreen:y.top||y.bottom||y.left||y.right,offscreenTop:y.top,offscreenBottom:y.bottom,offscreenLeft:y.left,offscreenRight:y.right,fullscreen:f<=0&&h<=0&&s.width>=w&&s.height>=v,top:f,left:h,offsetTop:d,offsetLeft:p,width:s.width,height:s.height,margin:{top:b(c.marginTop),right:b(c.marginRight),bottom:b(c.marginBottom),left:b(c.marginLeft)},border:{top:b(c.borderTopWidth),right:b(c.borderRightWidth),bottom:b(c.borderBottomWidth),left:b(c.borderLeftWidth)},padding:{top:b(c.paddingTop),right:b(c.paddingRight),bottom:b(c.paddingBottom),left:b(c.paddingLeft)}}}var it=r(33381);n.yS.listen("highlight",async({message:e={}})=>{const{createHighlighter:t,clearHighlights:r}=await(0,u.A)();let o=null;if(e&&e.selector?o=e.selector:Array.isArray(e)&&(o=e),r(),o){const r=(0,d.A)(o);let i=null;if(!r&&o.length>1){if(i=await(0,it.A)(o),!i)return!1}else if(!r)return!1;const s=t(r||i,o),{highlightTheme:a}=await browser.storage.local.get("highlightTheme");return s.highlight({theme:a||"high-contrast"}),e.scrollIntoView&&(r?s.scrollIntoView():await n.yS.send(n._O.content,"highlight:scrollIntoView",{selector:[o[o.length-1]]},{frameId:i.frameId})),!0}return!1});const st=async()=>{(await(0,u.A)()).clearHighlights()};if(n.yS.listen("highlight:hide",async()=>{(await(0,u.A)()).hideHighlights()}),n.yS.listen("highlight:show",async()=>{(await(0,u.A)()).showHighlights()}),n.yS.listen("highlight:clear",st),n.yS.listen("devtools:close",st),n.yS.listen("highlight:get-element-layout",({message:{selector:e}})=>{const t=(0,d.A)(e);return t?ot(t,!1):{top:0,left:0}}),!(0,i.$)()){const e=nt()(()=>n.yS.send(n._O.content,"highlight:update"),100);window.addEventListener("scroll",e,!0),window.addEventListener("beforeunload",()=>{window.removeEventListener("scroll",e)}),n.yS.listen("highlight:get-node-metadata",async({message:{selector:e}})=>{const t=(0,d.A)(e);return t?{tagName:t.tagName,classList:Array.from(t.classList),attributes:{id:t.getAttribute("id")}}:{tagName:"unknown",classList:[],attributes:{}}}),n.yS.listen("highlight:scrollIntoView",({message:{selector:e}})=>{const t=(0,d.A)(e);null==t||t.scrollIntoView({block:"center",behavior:"smooth",inline:"nearest"})})}n.yS.listen("highlight:update",async()=>{const{highlighters:e,updateHighlighters:t}=await(0,u.A)(),r=Array.from(e.keys()).filter(e=>e.frameId);e.size&&(await Promise.all(r.map(async t=>{const r=await(0,it.A)(t.selector);if(r){const n=e.get(t);n.target=r,e.set(r,n)}e.delete(t)})),t())}),(0,i.$)()&&(async()=>{const{emitter:e,highlightHidden:t}=await(0,u.A)();e.on("highlighter:change",async()=>{const{highlighters:e}=await(0,u.A)(),r=globalThis.tree,o=Array.from(e).map(([e,n])=>{var o;return{vnodeId:null==r||null===(o=r.get(e))||void 0===o?void 0:o.vnodeId,selector:n.selector,theme:n.theme,hidden:n.axeHighlighter.classList.contains(t)}});n.yS.send(n._O.devtools,"highlight:changed",o)})})();function at(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 r=(null==e?void 0:e.shadowRoot)||e;return null==r?void 0:r.querySelector(t)},document),context:t.selector,residual:t.residual}}(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&&s({message:"extension:healthcheck:response"},t)})})(),n.yS.listen("node:exists",async({message:e})=>{const{selector:t}=e,r=(0,d.A)(t);return null!=r}),n.yS.listen("nodes:exist-in-axe-tree",async({message:e})=>{const{nodes:t}=e;return Object.fromEntries(t.map(({vnodeId:e,selector:t})=>{const r=(0,d.A)(t);return[e,!!r&&(0,l.gi)(r)]}))}),n.yS.listen("node:get-info",async({message:{selector:e}})=>{const t=(0,d.A)(e);return{name:l.Ay.name(t),role:l.Ay.getRole(t)}}),n.yS.listen("node:color-contrast",async({message:e})=>{const{nodes:t}=e,r=new Map;for(const{selector:e,vnodeId:n}of t)r.set((0,d.A)(e),n);const{clearHighlights:n}=await(0,u.A)();n();const o=await l.Ay.runContrastAnalysis(Object.values(r)),i={};for(const{selector:e,data:t}of o){i[r.get((0,d.A)(e))]=t}return i});const ct=e=>"contentWindow"in e,lt={x:0,y:0,top:0,left:0,height:0,width:0},ut=(e,t)=>{if(null!=t&&t.scrollIntoView){const r=new Map,n={key:"scroll-behavior",value:"auto"};let o=e.parentElement;for(;o;){const e=window.getComputedStyle(o);if(e.scrollBehavior&&e.scrollBehavior!==n.value){const e=o.style.getPropertyValue(n.key),t=o.style.getPropertyPriority(n.key);r.set(o,{style:e,priority:t}),o.style.setProperty(n.key,n.value,"important")}o=o.parentElement}e.scrollIntoView("object"==typeof t.scrollIntoView?t.scrollIntoView:{behavior:"auto",block:"center",inline:"center"});for(const[e,t]of r)e.style.setProperty(n.key,t.style,t.priority)}},dt=e=>{const t=0===e.width?10:0,r=0===e.height?10:0;return 0===t&&0===r?e:{x:e.x-t,y:e.y-r,left:e.left-t,top:e.top-r,right:e.right+t,bottom:e.bottom+r,width:e.width+2*t,height:e.height+2*r}},pt=(e,t,r)=>{const n=window.getComputedStyle(e),o=Math.max(parseFloat(n.borderLeftWidth),0),i=Math.max(parseFloat(n.borderTopWidth),0),s=Math.max(parseFloat(n.paddingLeft),0),a=Math.max(parseFloat(n.paddingTop),0),c=t.x+r.x+o+s,l=t.y+r.y+i+a,u=t.left+r.left+o+s,d=t.top+r.top+i+a;return{x:c,y:l,left:u,top:d,right:u+r.width,bottom:d+r.height,width:r.width,height:r.height}};n.yS.listen("node:bounding-box",async({message:e})=>{const{selector:t,options:r}=e,{node:n,residual:i}=at(t),s=!1!==(null==r?void 0:r.padCollapsedRect);if(null==n)return lt;if(ct(n)&&null!=i&&i.length){const e=await(0,o.A)(n.contentWindow,"node:bounding-box",{selector:i,options:r}),t=pt(n,n.getBoundingClientRect(),e);return s?dt(t):t}ut(n,r);const a=n.getBoundingClientRect();return s?dt(a):a}),n.yS.listen("node:get-text-selector",async({message:e})=>{const{selector:t}=e,{node:r,residual:n}=at(t);if(null==r)return t;if(ct(r)&&null!=n&&n.length)return[...t,...await(0,o.A)(r.contentWindow,"node:get-text-selector",{selector:n})];if("SELECT"===(s=r).tagName&&"options"in s){const e=l.Ay.getElementStack(r);if(e[0]===r)return t;const n=r.options[r.selectedIndex].text||r.options[r.selectedIndex].value;for(const t of e){var i;if("innerText"in t&&(null===(i=t.innerText)||void 0===i?void 0:i.trim())===n)return[l.Ay.getSelector(t)]}}var s;return t}),n.yS.listen("node:bounding-box-text",async({message:e})=>{const{selector:t,options:r}=e,{node:n,residual:i}=at(t);if(null==n)return lt;if(ut(n,r),ct(n)&&null!=i&&i.length){const e=n.getBoundingClientRect(),t=await(0,o.A)(n.contentWindow,"node:bounding-box-text",{selector:i,options:r});return pt(n,e,t)}const s=document.createRange();s.selectNodeContents(n);return s.getBoundingClientRect()}),n.yS.listen("node:computed-text-color",async({message:e})=>{const{selector:t}=e,{node:r,residual:n}=at(t);return ct(r)&&null!=n&&n.length?await(0,o.A)(r.contentWindow,"node:computed-text-color",{selector:n}):window.getComputedStyle(r).color});const ft=new WeakMap,ht=new WeakMap,mt={color:"transparent"},gt={webkitTransition:"none",transition:"none"};n.yS.listen("node:set-transparent-text",async({message:e})=>{const{selector:t}=e,{node:r,residual:n}=at(t);if(null!=r)if(ct(r)&&null!=n&&n.length)await(0,o.A)(r.contentWindow,"node:set-transparent-text",{selector:n});else{const e=async e=>{const t={},r={};for(const[n]of Object.entries(gt))t[n]=e.style.getPropertyValue(n),r[n]=e.style.getPropertyPriority(n);for(const[t,r]of Object.entries(gt))e.style.setProperty(t,r,"important");await new Promise(n=>setTimeout(()=>{for(const[n,o]of Object.entries(mt))t[n]=e.style.getPropertyValue(n),r[n]=e.style.getPropertyPriority(n),e.style.setProperty(n,o,"important");n()},1));const n=window.getComputedStyle(e),o=["background","backgroundImage"];if("text"===n.webkitBackgroundClip||"text"===n.backgroundClip)for(const n of o)t[n]=e.style.getPropertyValue(n),r[n]=e.style.getPropertyPriority(n),e.style.setProperty(n,"none","important");ft.set(e,t),ht.set(e,r)};await e(r);for(const t of Array.from(r.children))await e(t)}}),n.yS.listen("node:set-transparent-text-reset",async({message:e})=>{const{selector:t}=e,{node:r,residual:n}=at(t);if(null!=r)if(ct(r)&&null!=n&&n.length)await(0,o.A)(r.contentWindow,"node:set-transparent-text-reset",{selector:n});else{const e=async e=>{const t=ft.get(e)||{},r=ht.get(e)||{};for(const n of Object.keys(t))n in gt||e.style.setProperty(n,t[n],r[n]);await new Promise(n=>setTimeout(()=>{for(const n of Object.keys(gt))n in t&&e.style.setProperty(n,t[n],r[n]);n()},1))};await e(r);for(const t of Array.from(r.children))await e(t)}}),n.yS.listen("node:is-valid-auto-cc-target",async({message:{selector:e}})=>{const{node:t,residual:r}=at(e);if(null!=t){if(ct(t)&&null!=r&&r.length)return(0,o.A)(t.contentWindow,"node:is-valid-auto-cc-target",{selector:r});{if(!t.children.length)return!0;const e=window.getComputedStyle(t).color;return!Array.from(t.children).find(t=>window.getComputedStyle(t).color!==e)}}}),n.yS.listen("node:focus",async({message:e})=>{const{selector:t,timeout:r=5e3}=e,{node:n,residual:i}=at(t);null!=n&&(ct(n)&&null!=i&&i.length?await(0,o.A)(n.contentWindow,"node:focus",{selector:i}):await Promise.race([Promise.all([n.focus(),...n.getAnimations({subtree:!0}).map(e=>e.finished)]),new Promise(e=>setTimeout(e,r))]))}),n.yS.listen("node:reset-focus",()=>{document.activeElement&&document.activeElement.blur()}),n.yS.listen("selector:identify",async({message:e})=>{const{selector:t}=e,{node:r,context:n,residual:i}=at(t),s=r.contentWindow,a=[{selector:n,frameId:window.frameId,frameURL:window.location.href}];if(s&&null!=i&&i.length){const e=await(0,o.A)(s,"selector:identify",{selector:i});a.push(...e)}return a}),n.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})),n.yS.listen("control:currentScroll",()=>document.documentElement.scrollTop),n.yS.listen("control:scrollToTop",({message:e})=>{window.scrollTo((null==e?void 0:e.x)||0,(null==e?void 0:e.y)||0)});const yt=async({message:e})=>{let t={x:0,y:0,width:0,height:0};if(null==e||!e.selector)return t;const{node:r,residual:n}=at(e.selector);if(!r)return t;const i=r.getBoundingClientRect();if(t={x:i.x,y:i.y,width:i.width,height:i.height},null==n||!n.length)return t;const s=await(0,o.A)(r.contentWindow,"control:boundingbox:content",{selector:n});if(!s)return t;const a=window.getComputedStyle(r);return t.x+=s.x+Math.max(parseFloat(a.borderLeftWidth),0),t.y+=s.y+Math.max(parseFloat(a.borderTopWidth),0),t.width=s.width,t.height=s.height,t};(0,i.$)()?n.yS.listen("control:boundingbox:top",yt):n.yS.listen("control:boundingbox:content",yt);var bt=r(76058);const vt=(0,i.$)(),wt=e=>{var t,r;return(null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase())===bt.wZ||(null===(r=e.getRootNode())||void 0===r||null===(r=r.host)||void 0===r?void 0:r.tagName.toLowerCase())===bt.wZ},St=e=>!!e.flatMap(e=>[...Array.from(e.addedNodes),...Array.from(e.removedNodes)]).find(e=>!wt(e)),Et=e=>!!e.find(e=>!wt(e.target)),xt=async e=>{(e=>{if(e.find(e=>!["childList","attributes"].includes(e.type)))return!0;const t=e.filter(e=>"childList"===e.type),r=e.filter(e=>"attributes"===e.type);return St(t)||Et(r)})(e)&&await n.yS.send(n._O.devtools,"page-observer:mutated",{isTop:vt})};let Ot=null;n.yS.listen("page-observer:start",async()=>{Ot||(Ot=new MutationObserver(xt),Ot.observe(document.body,{attributes:!0,subtree:!0,childList:!0}))}),n.yS.listen("page-observer:end",async()=>{var e;null===(e=Ot)||void 0===e||e.disconnect(),Ot=null}),document.addEventListener("beforeunload",()=>{Ot.disconnect(),Ot=null});const At="customIntegrationConnectionLink";(0,o.T)(),n.yS.listen("custom-integration:fetch-state",async()=>{const{[At]:e}=await browser.storage.local.get(At);return browser.storage.local.remove(At),e});const Tt=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},Ct=async e=>{const t=await Tt();try{s({message:e},t)}catch{}},Nt=async e=>{const t=await Tt(),r=URL.parse(e.origin);if(t.origin===(null==r?void 0:r.origin))switch(e.data.message){case"app:logout":n.yS.send(n._O.background,"app:logout");break;case"app:plan:change":n.yS.send(n._O.background,"app:plan:change");break;case"walkthrough:check:open":await n.yS.send(n._O.devtools,"panel:is:open")&&Ct("walkthrough:opened");break;case"extension:custom-integration:launch":(()=>{const e=new URLSearchParams(location.search),t=e.get("testId"),r=e.get("url");(null==t?void 0:t.length)<=255&&(browser.storage.local.set({[At]:{testId:t,url:r}}),n.yS.send(n._O.devtools,"custom-integration:launch",{testId:t,url:r}))})()}};(0,i.$)()&&(window.addEventListener("message",Nt),n.yS.listen("walkthrough:panel-open:status",()=>{Ct("walkthrough:opened")}),n.yS.listen("walkthrough:test-saved:status",()=>{Ct("walkthrough:saved")}),n.yS.listen("walkthrough:igt-completed:status",()=>{Ct("walkthrough:igt:completed")}))},31146(e,t,r){"use strict";function n(e){return e.map(e=>Array.isArray(e)?e.filter(e=>"shadow-root"!==e):"shadow-root"===e?"":e).flat().reduce((e,t)=>{const r=(null==e?void 0:e.contentDocument)||(null==e?void 0:e.shadowRoot)||e;return null==r?void 0:r.querySelector(t)},document)}r.d(t,{A:()=>n})},60119(e,t,r){"use strict";r.d(t,{A:()=>l,T:()=>u});var n=r(35226),o=r.n(n),i=r(6974),s=r(96367),a=r(66884);const c=o()("frameMessenger");async function l(e,t,r,{timeout:n=500}={}){if((0,a.$)(e))throw new Error("FrameMessenger on top level window is not supported.");const o=function(e){try{const t=e.frameId;return"number"==typeof t?t:void 0}catch(e){return void c("Unable to read same-origin frameId, falling back to handshake: %o",e)}}(e),l=o??await function(e,t){const r=(0,i.A)(),n=`frame-messenger:${r}`;return new Promise((o,i)=>{const a=setTimeout(()=>{s.yS.unlisten(n,c),i(`No response received from frame within timeout of ${t}ms.`)},t),c=({message:e})=>{clearTimeout(a),s.yS.unlisten(n,c),o(e.frameId)};s.yS.listen(n,c),e.postMessage({uuid:r,originFrameId:window.frameId,source:"frame-messenger"},"*")})}(e,n);return s.yS.send(s._O.content,t,r,{frameId:l})}function u(){s.yS.send(s._O.background,"identify-content-frame").then(e=>{window.frameId=e}),(0,a.$)()||window.addEventListener("message",({data:e})=>{(function(e){return e.uuid&&e.originFrameId>=0&&"frame-messenger"===e.source})(e)&&(c(`originFrame:${e.originFrameId} → childFrame:${window.frameId} [${window.location.href}]`),s.yS.send(s._O.content,`frame-messenger:${e.uuid}`,{frameId:window.frameId},{frameId:e.originFrameId}))})}},48982(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},68446(e,t,r){"use strict";var n=r(70367),o=r(47274),i=r(14442),s=r(39454),a=r(6084),c=r(80426);new n.A((0,a.A)("\n"),c.A,i.A,o.A,s.A)},31298(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(31495),o=r.n(n),i=r(31336),s=r.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}#axe-highlight{position:absolute;pointer-events:none;z-index:2147483647;display:flex;flex:1}#border{border-color:var(--theme--border-color,#0000);border-style:solid}#border,#margin{display:flex;flex:1}#margin{border-color:var(--theme--margin-color,#0000);border-style:solid}#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},17940(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(31495),o=r.n(n),i=r(31336),s=r.n(i),a=r(1299),c=r.n(a),l=new URL(r(55484),r.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 p=u},91126(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(31495),o=r.n(n),i=r(31336),s=r.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:.5rem solid #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},31336(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)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]);n&&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),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1299(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}},31495(e){"use strict";e.exports=function(e){return e[1]}},67151(e){"use strict";var t={}.hasOwnProperty,r=/[ -,\.\/;-@\[-\^`\{-~]/,n=/[ -,\.\/;-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,i=function e(i,s){"single"!=(s=function(e,r){if(!e)return r;var n={};for(var o in r)n[o]=t.call(e,o)?e[o]:r[o];return n}(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,p=i.length;d<p;){var f=i.charAt(d++),h=f.charCodeAt(),m=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&d<p){var g=i.charCodeAt(d++);56320==(64512&g)?h=((1023&h)<<10)+(1023&g)+65536:d--}m="\\"+h.toString(16).toUpperCase()+" "}else m=s.escapeEverything?r.test(f)?"\\"+f:"\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B:]/.test(f)?c||":"!=f?"\\"+h.toString(16).toUpperCase()+" ":f:"\\"==f||!c&&('"'==f&&a==f||"'"==f&&a==f)||c&&n.test(f)?"\\"+f:f;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,r){return t&&t.length%2?e:(t||"")+r}),!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},61740(e,t){"use strict";var r="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},n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var i=/^:([a-z])(\(([^)]+)\))?/,s="numeric",a="long",c="2-digit",l="string",u="decimal",d="currency",p="percent",f={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},h={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:f,M:f,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:h,Y:h},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,r,n){var o=void 0;return n&&null!==(o=t._runCustomFormatters(e,l,n,r))?o:r?r.toLocaleString(e.locales):String(r)},n:function(e,n,o){if("number"!=typeof n)throw Error("value is not a number. type: "+(void 0===n?"undefined":r(n)));if(o){var i=parseInt(o);if(!isNaN(i))return n.toLocaleString(e.locales,Object.assign({},e.number,{style:u,minimumFractionDigits:i,maximumFractionDigits:i}));var s;if(null!==(s=t._runCustomFormatters(e,"number",o,n)))return s}return n.toLocaleString(e.locales,Object.assign({},e.number,{style:u,minimumFractionDigits:0,maximumFractionDigits:3}))},t:function(e,r,n){if(!(r instanceof Date))throw Error("value is not a Date. type: "+r.constructor.name);if(n){switch(n.toUpperCase()){case"R":return r.toUTCString();case"O":return r.toISOString()}var o=m[n];if(o)return r.toLocaleString(e.locales,Object.assign({},e.date,o));var i=t._runCustomFormatters(e,"date",n,r);if(null!==i)return i}return r.toLocaleString(e.locales,Object.assign({},e.date))},c:function(e,t,n){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":r(t)));return t.toLocaleString(e.locales,n?Object.assign({},e.number,{style:d,currency:n}):Object.assign({},e.number,{style:d}))},p:function(e,t,n){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":r(t)));return t.toLocaleString(e.locales,n?Object.assign({},e.number,{style:p,minimumFractionDigits:n}):Object.assign({},e.number,{style:p}))}},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 n(e,[{key:"i18nConfig",value:function(e){var t=e.locales,r=e.translations,n=e.group,o=e.number,i=e.date,s=e.standardFormatters;this.translationCache={};var a=this.configs[n||""]||this.defaultConfig;this.configs[n||""]=Object.assign({},a,{locales:t||a.locales,translations:r||a.translations,number:o||a.number,date:i||a.date,standardFormatters:s||a.standardFormatters})}},{key:"i18n",value:function(e,t,r){for(var n=this,i=this._buildKey(r),s=this._getCachedTranslation(e,t,i),a=s.configGroup,c=s.translatedKey,l=r.slice(1).map(this._extractTypeInfo),u=arguments.length,d=Array(u>3?u-3:0),p=3;p<u;p++)d[p-3]=arguments[p];var f=d.map(function(e,t){return n._localize(a,e,l[t])});return this._buildMessage.apply(this,[c].concat(o(f)))}},{key:"translate",value:function(e,t,r){var n=this;null==r?r="":"string"!=typeof r&&(r=String(r));for(var i=this._getCachedTranslation(e,t,r),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?n._localize(s,e.value||"",{type:e.formatter||"s",options:e.format}):n._localize(s,e,{type:"s",options:""})});return this._buildMessage.apply(this,[a].concat(o(d)))}},{key:"_getCachedTranslation",value:function(e,t,r){var n=[e||"",t||"",r].join(),o=this.translationCache[n],i=this.configs[t||""]||this.defaultConfig;if(o)return{configGroup:i,translatedKey:o};var s=this._getTranslation(e,i,r);return this.translationCache[n]=s,{configGroup:i,translatedKey:s}}},{key:"_getTranslation",value:function(e,t,n){var o=t.translations,i=void 0,s=void 0;return(void 0===e?"undefined":r(e))===l&&(s=e),s&&(i=o[s])instanceof Object&&(i=i[n]),i||(i="string"==typeof o[n]&&o[n]||n),i}},{key:"_runCustomFormatters",value:function(e,t,r,n){var o=null;if(e.standardFormatters){var i=e.standardFormatters[t];if(i){var s=i[r];s&&(o=s(e.locales,e[t],n))}}return o}},{key:"_extractTypeInfo",value:function(e){var t=this.typeInfoCache[e];if(t)return t;var r=i.exec(e);return t=r?{type:r[1],options:r[3]}:{type:"s",options:""},this.typeInfoCache[e]=t,t}},{key:"_localize",value:function(e,t,r){var n=r.type,o=r.options,i=this._localizers[n];if(i)return i(e,t,o);throw new Error("Type '"+n+"' is not supported. Supported types are: "+Object.keys(this._localizers).join())}},{key:"_buildKey",value:function(e){var t=e.join(),r=this.keyCache[t];if(r)return r;var n=function(e){return e.replace(i,"")},o=n(e[e.length-1]),s=e.slice(0,-1).reduceRight(function(e,t,r){return n(t)+"${"+r+"}"+e},o).replace(/\r\n/g,"\n");return this.keyCache[t]=s,s}},{key:"_buildMessage",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.replace(/\${(\d)}/g,function(e,t){return r[Number(t)]})}}]),e}(),y=new g,b=y.i18nConfig,v=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if("string"==typeof e){if(r.length&&"string"==typeof r[0]){var o=function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return y.i18n.apply(y,[e,r[0],t].concat(o))};return o.translate=function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return y.translate.apply(y,[e,r[0],t].concat(o))},o}var i=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return y.i18n.apply(y,[e,null,t].concat(n))};return i.translate=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return y.translate.apply(y,[e,null,t].concat(n))},i}return y.i18n.apply(y,[null,null,e].concat(r))};v.translate=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return y.translate.apply(y,[null,null,e].concat(r))};var w=function(e,t){return function(r){return r.prototype.i18n=function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return v(e,t).apply(void 0,[r].concat(o))},r.prototype.i18n.translate=function(r){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return y.translate.apply(y,[e,t,r].concat(o))},r}};window.i18n=v,window.i18nConfig=b,window.i18nGroup=w,t.Ay=v},11911(e,t,r){e=r.nmd(e);var n="__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]",p="[object Number]",f="[object Object]",h="[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)\]/,x=/^\w*$/,O=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T=/\\(\\)?/g,C=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,I={};I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I[i]=I[s]=I[w]=I[a]=I[S]=I[c]=I[l]=I[u]=I[d]=I[p]=I[f]=I[m]=I[g]=I[y]=I[v]=!1;var k="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,P="object"==typeof self&&self&&self.Object===Object&&self,j=k||P||Function("return this")(),R=t&&!t.nodeType&&t,D=R&&e&&!e.nodeType&&e,L=D&&D.exports===R&&k.process,M=function(){try{return L&&L.binding("util")}catch(e){}}(),_=M&&M.isTypedArray;function F(e,t,r,n){for(var o=-1,i=e?e.length:0;++o<i;){var s=e[o];t(n,s,r(s),e)}return n}function V(e,t){for(var r=-1,n=e?e.length:0;++r<n;)if(t(e[r],r,e))return!0;return!1}function q(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function B(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function H(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var U,$,W,z=Array.prototype,G=Function.prototype,K=Object.prototype,Y=j["__core-js_shared__"],J=(U=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"",Z=G.toString,X=K.hasOwnProperty,Q=K.toString,ee=RegExp("^"+Z.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=j.Symbol,re=j.Uint8Array,ne=K.propertyIsEnumerable,oe=z.splice,ie=($=Object.keys,W=Object,function(e){return $(W(e))}),se=Be(j,"DataView"),ae=Be(j,"Map"),ce=Be(j,"Promise"),le=Be(j,"Set"),ue=Be(j,"WeakMap"),de=Be(Object,"create"),pe=Ye(se),fe=Ye(ae),he=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,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ee(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function xe(e){var t=-1,r=e?e.length:0;for(this.__data__=new Ee;++t<r;)this.add(e[t])}function Oe(e){this.__data__=new Se(e)}function Ae(e,t){var r=rt(e)||tt(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],n=r.length,o=!!n;for(var i in e)!t&&!X.call(e,i)||o&&("length"==i||Ue(i,n))||r.push(i);return r}function Te(e,t){for(var r=e.length;r--;)if(et(e[r][0],t))return r;return-1}function Ce(e,t,r,n){return ke(e,function(e,o,i){t(n,e,r(e),i)}),n}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 r=t[e];return r===n?void 0:r}return X.call(t,e)?t[e]:void 0},we.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:X.call(t,e)},we.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?n:t,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var t=this.__data__,r=Te(t,e);return!(r<0)&&(r==t.length-1?t.pop():oe.call(t,r,1),!0)},Se.prototype.get=function(e){var t=this.__data__,r=Te(t,e);return r<0?void 0:t[r][1]},Se.prototype.has=function(e){return Te(this.__data__,e)>-1},Se.prototype.set=function(e,t){var r=this.__data__,n=Te(r,e);return n<0?r.push([e,t]):r[n][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 qe(this,e).delete(e)},Ee.prototype.get=function(e){return qe(this,e).get(e)},Ee.prototype.has=function(e){return qe(this,e).has(e)},Ee.prototype.set=function(e,t){return qe(this,e).set(e,t),this},xe.prototype.add=xe.prototype.push=function(e){return this.__data__.set(e,n),this},xe.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 r=this.__data__;if(r instanceof Se){var n=r.__data__;if(!ae||n.length<199)return n.push([e,t]),this;r=this.__data__=new Ee(n)}return r.set(e,t),this};var Ne,Ie,ke=(Ne=function(e,t){return e&&Pe(e,t,ut)},function(e,t){if(null==e)return e;if(!nt(e))return Ne(e,t);for(var r=e.length,n=Ie?r:-1,o=Object(e);(Ie?n--:++n<r)&&!1!==t(o[n],n,o););return e}),Pe=function(e){return function(t,r,n){for(var o=-1,i=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===r(i[c],c,i))break}return t}}();function je(e,t){for(var r=0,n=(t=$e(t,e)?[t]:Fe(t)).length;null!=e&&r<n;)e=e[Ke(t[r++])];return r&&r==n?e:void 0}function Re(e,t){return null!=e&&t in Object(e)}function De(e,t,r,n,o){return e===t||(null==e||null==t||!st(e)&&!at(t)?e!=e&&t!=t:function(e,t,r,n,o,u){var h=rt(e),v=rt(t),E=s,x=s;h||(E=(E=He(e))==i?f:E);v||(x=(x=He(t))==i?f:x);var O=E==f&&!q(e),A=x==f&&!q(t),T=E==x;if(T&&!O)return u||(u=new Oe),h||lt(e)?Ve(e,t,r,n,o,u):function(e,t,r,n,o,i,s){switch(r){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||!n(new re(e),new re(t)));case a:case c:case p: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=B;case g:var f=2&i;if(u||(u=H),e.size!=t.size&&!f)return!1;var h=s.get(e);if(h)return h==t;i|=1,s.set(e,t);var v=Ve(u(e),u(t),n,o,i,s);return s.delete(e),v;case b:if(be)return be.call(e)==be.call(t)}return!1}(e,t,E,r,n,o,u);if(!(2&o)){var C=O&&X.call(e,"__wrapped__"),N=A&&X.call(t,"__wrapped__");if(C||N){var I=C?e.value():e,k=N?t.value():t;return u||(u=new Oe),r(I,k,n,o,u)}}if(!T)return!1;return u||(u=new Oe),function(e,t,r,n,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 p=a[d];if(!(s?p in t:X.call(t,p)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var h=!0;i.set(e,t),i.set(t,e);var m=s;for(;++d<c;){var g=e[p=a[d]],y=t[p];if(n)var b=s?n(y,g,p,t,e,i):n(g,y,p,e,t,i);if(!(void 0===b?g===y||r(g,y,n,o,i):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!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||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,r,n,o,u)}(e,t,De,r,n,o))}function Le(e){return!(!st(e)||function(e){return!!J&&J in e}(e))&&(ot(e)||q(e)?ee:C).test(Ye(e))}function Me(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?rt(e)?function(e,t){if($e(e)&&We(t))return ze(Ke(e),t);return function(r){var n=function(e,t,r){var n=null==e?void 0:je(e,t);return void 0===n?r:n}(r,e);return void 0===n&&n===t?function(e,t){return null!=e&&function(e,t,r){t=$e(t,e)?[t]:Fe(t);var n,o=-1,i=t.length;for(;++o<i;){var s=Ke(t[o]);if(!(n=null!=e&&r(e,s)))break;e=e[s]}if(n)return n;i=e?e.length:0;return!!i&&it(i)&&Ue(s,i)&&(rt(e)||tt(e))}(e,t,Re)}(r,e):De(t,n,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){var t=ut(e),r=t.length;for(;r--;){var n=t[r],o=e[n];t[r]=[n,o,We(o)]}return t}(e);if(1==t.length&&t[0][2])return ze(t[0][0],t[0][1]);return function(r){return r===e||function(e,t,r,n){var o=r.length,i=o,s=!n;if(null==e)return!i;for(e=Object(e);o--;){var a=r[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){var c=(a=r[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 Oe;if(n)var p=n(l,u,c,e,t,d);if(!(void 0===p?De(u,l,n,3,d):p))return!1}}return!0}(r,e,t)}}(e):$e(t=e)?(r=Ke(t),function(e){return null==e?void 0:e[r]}):function(e){return function(t){return je(t,e)}}(t);var t,r}function _e(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||K,t!==n)return ie(e);var t,r,n,o=[];for(var i in Object(e))X.call(e,i)&&"constructor"!=i&&o.push(i);return o}function Fe(e){return rt(e)?e:Ge(e)}function Ve(e,t,r,n,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,p=1&o?new xe:void 0;for(i.set(e,t),i.set(t,e);++u<a;){var f=e[u],h=t[u];if(n)var m=s?n(h,f,u,t,e,i):n(f,h,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(p){if(!V(t,function(e,t){if(!p.has(t)&&(f===e||r(f,e,n,o,i)))return p.add(t)})){d=!1;break}}else if(f!==h&&!r(f,h,n,o,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function qe(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function Be(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Le(r)?r:void 0}var He=function(e){return Q.call(e)};function Ue(e,t){return!!(t=t??o)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function $e(e,t){if(rt(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ct(e))||(x.test(e)||!E.test(e)||null!=t&&e in Object(t))}function We(e){return e==e&&!st(e)}function ze(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}(se&&He(new se(new ArrayBuffer(1)))!=S||ae&&He(new ae)!=d||ce&&He(ce.resolve())!=h||le&&He(new le)!=g||ue&&He(new ue)!=v)&&(He=function(e){var t=Q.call(e),r=t==f?e.constructor:void 0,n=r?Ye(r):void 0;if(n)switch(n){case pe:return S;case fe:return d;case he:return h;case me:return g;case ge:return v}return t});var Ge=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 r=[];return O.test(e)&&r.push(""),e.replace(A,function(e,t,n,o){r.push(n?o.replace(T,"$1"):t||e)}),r});function Ke(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 Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Je,Ze,Xe=(Je=function(e,t,r){X.call(e,r)?e[r].push(t):e[r]=[t]},function(e,t){var r=rt(e)?F:Ce,n=Ze?Ze():{};return r(e,Je,Me(t),n)});function Qe(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s),s};return r.cache=new(Qe.Cache||Ee),r}function et(e,t){return e===t||e!=e&&t!=t}function tt(e){return function(e){return at(e)&&nt(e)}(e)&&X.call(e,"callee")&&(!ne.call(e,"callee")||Q.call(e)==i)}Qe.Cache=Ee;var rt=Array.isArray;function nt(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=_?function(e){return function(t){return e(t)}}(_):function(e){return at(e)&&it(e.length)&&!!I[Q.call(e)]};function ut(e){return nt(e)?Ae(e):_e(e)}function dt(e){return e}e.exports=Xe},73258(e){!function(t){"use strict";var r=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}},r={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 n(t){for(var r=0;r<t.length;r++){for(var n=!0,i=0;i<t[r].test.length;i++)if(t[r].test[i]instanceof RegExp){if(!t[r].test[i].test(e)){n=!1;break}}else if(-1==e.indexOf(t[r].test[i])){n=!1;break}if(n){o(t[r]);break}}}function o(e){for(var n in r)if(r.hasOwnProperty(n)&&e[n]){if(e[n].$version){var o=i(e[n].$version.search);if(o){var s=o.split("."),a=e[n].$version.names,c=e[n].$version.altNames;if(e[n].version=o,s[0]&&(e[n].majorVersion=parseInt(s[0])),s[1]&&(e[n].minorVersion=parseInt(s[1])),s[2]&&(e[n].patchVersion=parseInt(s[2])),a)for(var l,u=[],d=0;d<s.length;d++)u.push(s[d]),a[l=u.join(".")]&&(e[n].versionName=a[l]),c&&c[l]&&(e[n].versionAltNames=c[l])}}for(var p in e[n])e[n].hasOwnProperty(p)&&"$"!==p[0]&&(t[n][p]=e[n][p])}}function i(t){var r;if(t instanceof RegExp){if(!(r=(e.match(t)||[])[0]))return}else r=t;var n=e.indexOf(r);if(-1!=n){var o=e.substring(n+r.length),i=/^(\d+(\.|_)){0,2}\d+/.exec(o);if(i)return i[0].replace(/_/g,".")}}return function(){for(var e in r)n(r[e])}(),t};e.exports?e.exports=r:t.Sniffer=r}(this)},68120(e,t,r){var n=r(31298);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},18726(e,t,r){var n=r(17940);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},10632(e,t,r){var n=r(91126);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},72450(e){e.exports=function(e){var t={fn:[],obj:[]};return e&&"object"==typeof e&&Object.keys(e).reduce(function(t,r){return t["function"==typeof e[r]?"fn":"obj"].push(r),t},t),function(r){var n={};return e===r||!!r&&"object"==typeof r&&t.obj.every(function(t){return e[t]===r[t]})&&t.fn.every(function(t){return t in r&&e[t](r[t],t,r,n)})}}},76058(e,t,r){"use strict";r.d(t,{wZ:()=>u});var n=r(68120),o=r.n(n),i=r(10632),s=r.n(i),a=r(18726),c=r.n(a);const l=document.createElement("template");l.innerHTML=`\n <style>\n ${c()}\n ${o()}\n ${s()}\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 u="axe-highlighter";const d=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))}};!function(e,t){let r}(d.emit.bind(d),50);new Map},43955(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(28342);async function o(){await(0,n.A)("latest");const e=globalThis.browser.runtime.getURL("highlighter.js");return await import(e)}},55484(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOSIgaGVpZ2h0PSIyOSI+PGNpcmNsZSBjeD0iMTQuNSIgY3k9IjE0LjUiIHI9IjEzLjUiIGZpbGw9IiMwYjE0MWMiIHN0cm9rZT0iI2Q0ZGRlMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHBhdGggZmlsbD0iIzc2Y2ZlOCIgZD0iTTYuMjMgMTIuNThoLjkydjUuNTFoLS45MmEuOTEuOTEgMCAwIDEtLjkyLS45MVYxMy41YS45Mi45MiAwIDAgMSAuOTItLjkybTE0LjctMS4zOFYxOWExLjg0IDEuODQgMCAwIDEtMS44NCAxLjg0SDkuOTFBMS44NCAxLjg0IDAgMCAxIDguMDcgMTl2LTcuOGEyLjI5IDIuMjkgMCAwIDEgMi4yOS0yLjI5aDMuMjJWNy4wN2EuOTIuOTIgMCAwIDEgMS44NCAwdjEuODRoMy4yMmEyLjI5IDIuMjkgMCAwIDEgMi4yOSAyLjI5bS04IDIuM2ExLjE1IDEuMTUgMCAxIDAtMS4xNSAxLjE1IDEuMTUgMS4xNSAwIDAgMCAxLjE1LTEuMTVtLS4yMyAzLjY4aC0xLjg4di45MWgxLjg0em0yLjc2IDBoLTEuODh2LjkxaDEuODR6bTMtMy42OGExLjE1IDEuMTUgMCAxIDAtMS4xNSAxLjE1IDEuMTYgMS4xNiAwIDAgMCAxLjE1LTEuMTVtLS4yMyAzLjY4aC0xLjg5di45MWgxLjg0em01LjUxLTMuNjh2My42OGEuOTIuOTIgMCAwIDEtLjkyLjkxaC0uOTJ2LTUuNTFoLjkyYS45Mi45MiAwIDAgMSAuOTIuOTIiLz48L3N2Zz4="},3847(){},29645(e,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function n(e){return function(t,n){var o;return(o={})[t]=function(t){return r({type:e},t)},o[n]=function(t){return"object"==typeof t&&null!==t&&t.type===e},o}}Object.defineProperty(t,"__esModule",{value:!0}),t.ast=void 0,t.ast=r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r({},n("Selector")("selector","isSelector")),n("Rule")("rule","isRule")),n("TagName")("tagName","isTagName")),n("Id")("id","isId")),n("ClassName")("className","isClassName")),n("WildcardTag")("wildcardTag","isWildcardTag")),n("NamespaceName")("namespaceName","isNamespaceName")),n("WildcardNamespace")("wildcardNamespace","isWildcardNamespace")),n("NoNamespace")("noNamespace","isNoNamespace")),n("Attribute")("attribute","isAttribute")),n("PseudoClass")("pseudoClass","isPseudoClass")),n("PseudoElement")("pseudoElement","isPseudoElement")),n("String")("string","isString")),n("Formula")("formula","isFormula")),n("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector")),n("Substitution")("substitution","isSubstitution"))},59125(e,t,r){"use strict";t.ast=t.render=t.createParser=void 0;var n=r(77578);Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return n.createParser}});var o=r(7221);Object.defineProperty(t,"render",{enumerable:!0,get:function(){return o.render}});var i=r(29645);Object.defineProperty(t,"ast",{enumerable:!0,get:function(){return i.ast}})},23213(e,t){"use strict";function r(e,t){for(var r=t,n=0;n<e.length;n++){var o=n===e.length-1,i=e.charAt(n),s=r[i]||(r[i]={chars:{}});o&&(s.self=e),r=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 n={},o=0,i=e;o<i.length;o++){r(i[o],n)}return n},t.createRegularIndex=function(e){if(0===e.length)return t.emptyRegularIndex;for(var r={},n=0,o=e;n<o.length;n++){r[o[n]]=!0}return r}},77578(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=void 0;var n=r(23213),o=r(24843),i=r(66869),s=r(76528),a="css-selector-parser parse error: ";t.createParser=function(e){void 0===e&&(e={});var t=e.syntax,r=void 0===t?"latest":t,c=e.substitutes,l=e.strict,u=void 0===l||l,d=e.modules,p="object"==typeof r?r:i.cssSyntaxDefinitions[r];if(p.baseSyntax&&(p=(0,i.extendSyntaxDefinition)(i.cssSyntaxDefinitions[p.baseSyntax],p)),p.modules&&p.modules.length>0)for(var f=0,h=p.modules;f<h.length;f++){var m=h[f];(b=i.cssModules[m])&&(p=(0,i.extendSyntaxDefinition)(b,p))}if(d&&d.length>0)for(var g=0,y=d;g<y.length;g++){var b,v=y[g];(b=i.cssModules[v])&&(p=(0,i.extendSyntaxDefinition)(b,p))}var w=p.tag?[!0,Boolean((0,i.getXmlOptions)(p.tag).wildcard)]:[!1,!1],S=w[0],E=w[1],x=Boolean(p.ids),O=Boolean(p.classNames),A=Boolean(p.namespace),T=p.namespace&&(!0===p.namespace||!0===p.namespace.wildcard);if(A&&!S)throw new Error("".concat(a,"Namespaces cannot be enabled while tags are disabled."));var C=Boolean(c),N=p.combinators?(0,n.createMulticharIndex)(p.combinators):n.emptyMulticharIndex,I=p.attributes?[!0,p.attributes.operators?(0,n.createMulticharIndex)(p.attributes.operators):n.emptyMulticharIndex,p.attributes.caseSensitivityModifiers?(0,n.createRegularIndex)(p.attributes.caseSensitivityModifiers):n.emptyRegularIndex,"accept"===p.attributes.unknownCaseSensitivityModifiers]:[!1,n.emptyMulticharIndex,n.emptyRegularIndex,!1],k=I[0],P=I[1],j=I[2],R=I[3],D=R||Object.keys(j).length>0,L=p.pseudoClasses?[!0,p.pseudoClasses.definitions?(0,o.calculatePseudoSignatures)(p.pseudoClasses.definitions):o.emptyPseudoSignatures,"accept"===p.pseudoClasses.unknown]:[!1,o.emptyPseudoSignatures,!1],M=L[0],_=L[1],F=L[2],V=p.pseudoElements?[!0,"singleColon"===p.pseudoElements.notation||"both"===p.pseudoElements.notation,!p.pseudoElements.notation||"doubleColon"===p.pseudoElements.notation||"both"===p.pseudoElements.notation,p.pseudoElements.definitions?(0,o.calculatePseudoSignatures)(Array.isArray(p.pseudoElements.definitions)?{NoArgument:p.pseudoElements.definitions}:p.pseudoElements.definitions):o.emptyPseudoSignatures,"accept"===p.pseudoElements.unknown]:[!1,!1,!1,o.emptyPseudoSignatures,!1],q=V[0],B=V[1],H=V[2],U=V[3],$=V[4],W="",z=W.length,G=0,K="",Y=function(e){return K===e},J=function(){return Y("*")||(0,s.isIdentStart)(K)},Z=function(e){G=e,K=W.charAt(G)},X=function(){G++,K=W.charAt(G)},Q=function(){var e=K;return G++,K=W.charAt(G),e};function ee(e){var t=Math.min(z-1,G),r=new Error("".concat(a).concat(e," Pos: ").concat(t,"."));throw r.position=t,r.name="ParserError",r}function te(e,t){if(!e)return ee(t)}var re=function(){te(G<z,"Unexpected end of input.")},ne=function(){return G>=z},oe=function(e){te(G<z,'Expected "'.concat(e,'" but end of input reached.')),te(K===e,'Expected "'.concat(e,'" but "').concat(K,'" found.')),G++,K=W.charAt(G)};function ie(e){var t=se(e,G);if(t)return G+=t.length,K=W.charAt(G),t}function se(e,t){var r=e[W.charAt(t)];if(r){var n=se(r.chars,t+1);if(n)return n;if(r.self)return r.self}}function ae(){for(var e=Q(),t=1;(0,s.isHex)(K)&&t<s.maxHexLength;)e+=Q(),t++;return function(){if(" "===K||"\t"===K||"\f"===K||"\n"===K)return void X();"\r"===K&&X();"\n"===K&&X()}(),String.fromCharCode(parseInt(e,16))}function ce(e){var t="";for(oe(e);G<z;){if(Y(e))return X(),t;Y("\\")?(X(),Y(e)?(t+=e,X()):"\n"===K||"\f"===K?X():"\r"===K?(X(),Y("\n")&&X()):(0,s.isHex)(K)?t+=ae():(t+=K,X())):(t+=K,X())}return t}function le(){if(!(0,s.isIdentStart)(K))return null;for(var e="";Y("-");)e+=K,X();for("-"!==e||(0,s.isIdent)(K)||Y("\\")||ee("Identifiers cannot consist of a single hyphen."),u&&e.length>=2&&ee("Identifiers cannot start with two hyphens with strict mode on."),s.digitsChars[K]&&ee("Identifiers cannot start with hyphens followed by digits.");G<z;)if((0,s.isIdent)(K))e+=Q();else{if(!Y("\\"))break;X(),re(),(0,s.isHex)(K)?e+=ae():e+=Q()}return e}function ue(){for(var e="";G<z&&!Y(")");)if(Y("\\")){if(X(),ne()&&!u)return(e+"\\").trim();re(),(0,s.isHex)(K)?e+=ae():e+=Q()}else e+=Q();return e.trim()}function de(){for(;s.whitespaceChars[K];)X()}function pe(e){void 0===e&&(e=!1),de();for(var t=[ve(e)];Y(",");)X(),de(),t.push(ve(e));return{type:"Selector",rules:t}}function fe(){var e;if(oe("["),de(),Y("|")){te(A,"Namespaces are not enabled."),X();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."),X(),oe("|");var r=le();te(r,"Expected attribute name."),e={type:"Attribute",name:r,namespace:{type:"WildcardNamespace"}}}else{var n=le();if(te(n,"Expected attribute name."),e={type:"Attribute",name:n},Y("|")){var o=G;if(X(),(0,s.isIdentStart)(K)){te(A,"Namespaces are not enabled.");var i=le();te(i,"Expected attribute name."),e={type:"Attribute",name:i,namespace:{type:"NamespaceName",name:n}}}else Z(o)}}if(te(e.name,"Expected attribute name."),de(),ne()&&!u)return e;if(Y("]"))X();else{if(e.operator=ie(P),te(e.operator,"Expected a valid attribute selector operator."),de(),re(),s.quoteChars[K])e.value={type:"String",value:ce(K)};else if(C&&Y("$")){X();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(),ne()&&!u)return e;if(!Y("]")){var l=le();if(te(l,"Expected end of attribute selector."),e.caseSensitivityModifier=l,te(D,"Attribute case sensitivity modifiers are not enabled."),te(R||j[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),de(),ne()&&!u)return e}oe("]")}return e}function he(){for(var e="";s.digitsChars[K];)e+=Q();return te(""!==e,"Formula parse error."),parseInt(e)}var me=function(){return Y("-")||Y("+")||s.digitsChars[K]};function ge(e,t,r){var n;if(Y("(")){if(X(),de(),C&&Y("$")){X();var o=le();te(o,"Expected substitute name."),n={type:"Substitution",name:o}}else if("String"===r.type)te((n={type:"String",value:ue()}).value,"Expected ".concat(t," argument value."));else if("Selector"===r.type)n=pe(!0);else{if("Formula"!==r.type)return ee("Invalid ".concat(t," signature."));var i=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,r=null,n=1;if(Y("-")&&(X(),n=-1),me()&&(Y("+")&&X(),r=he(),!Y("\\")&&!Y("n")))return[0,r*n];if(null===r&&(r=1),r*=n,Y("\\")?(X(),t=(0,s.isHex)(K)?ae():Q()):t=Q(),te("n"===t,'Formula parse error: expected "n".'),de(),Y("+")||Y("-")){var o=Y("+")?1:-1;return X(),de(),[r,o*he()]}return[r,0]}(),a=i[0],c=i[1];n={type:"Formula",a,b:c},r.ofSelector&&(de(),(Y("o")||Y("\\"))&&(te("of"===le(),"Formula of selector parse error."),de(),n={type:"FormulaOfSelector",a,b:c,selector:ve()}))}if(de(),ne()&&!u)return n;oe(")")}else te(r.optional,"Argument is required for ".concat(t,' "').concat(e,'".'));return n}function ye(){if(Y("*"))return te(E,"Wildcard tag name is not enabled."),X(),{type:"WildcardTag"};if((0,s.isIdentStart)(K)){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=G;return X(),Y("|")?(X(),J()?(te(A,"Namespaces are not enabled."),te(T,"Wildcard namespace is not enabled."),(r=ye()).namespace={type:"WildcardNamespace"},r):(Z(e),ye())):(Z(e),ye())}if(Y("|"))return te(A,"Namespaces are not enabled."),X(),(r=ye()).namespace={type:"NoNamespace"},r;if((0,s.isIdentStart)(K)){var t=le();if(te(t,"Expected tag name."),!Y("|"))return te(S,"Tag names are not enabled."),{type:"TagName",name:t};var r;e=G;return X(),J()?(te(A,"Namespaces are not enabled."),(r=ye()).namespace={type:"NamespaceName",name:t},r):(Z(e),{type:"TagName",name:t})}return ee("Expected tag name.")}function ve(e){var t,r;void 0===e&&(e=!1);var n={type:"Rule",items:[]};e&&((y=ie(N))&&(n.combinator=y,de()));for(;G<z;)if(J())te(0===n.items.length,"Unexpected tag/namespace start."),n.items.push(be());else if(Y("|")){var s=G;if(X(),!J()){Z(s);break}te(0===n.items.length,"Unexpected tag/namespace start."),Z(s),n.items.push(be())}else if(Y(".")){te(O,"Class names are not enabled."),X();var a=le();te(a,"Expected class name."),n.items.push({type:"ClassName",name:a})}else if(Y("#")){te(x,"IDs are not enabled."),X();var c=le();te(c,"Expected ID name."),n.items.push({type:"Id",name:c})}else if(Y("["))te(k,"Attributes are not enabled."),n.items.push(fe());else{if(!Y(":"))break;var l=!1;X(),Y(":")&&(te(q,"Pseudo elements are not enabled."),te(H,"Pseudo elements double colon notation is not enabled."),l=!0,X());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||$||Object.prototype.hasOwnProperty.call(U,u));else{var d=i.pseudoLocationIndex.pseudoElements[u],p='Unknown pseudo-element "'.concat(u,'"');d&&d.length>0&&(p+=". It is defined in: ".concat(d.join(", "))),ee(p+".")}if(q&&(l||!l&&B&&Object.prototype.hasOwnProperty.call(U,u))){var f={type:"PseudoElement",name:u};(m=ge(u,"pseudo-element",h=null!==(t=U[u])&&void 0!==t?t:$&&o.defaultPseudoSignature))&&(te("Formula"!==m.type&&"FormulaOfSelector"!==m.type,"Pseudo-elements cannot have formula argument."),f.argument=m),n.items.push(f)}else{var h;if(te(M,"Pseudo-classes are not enabled."),h=null!==(r=_[u])&&void 0!==r?r:F&&o.defaultPseudoSignature);else{d=i.pseudoLocationIndex.pseudoClasses[u],p='Unknown pseudo-class: "'.concat(u,'"');d&&d.length>0&&(p+=". It is defined in: ".concat(d.join(", "))),ee(p+".")}var m,g={type:"PseudoClass",name:u};(m=ge(u,"pseudo-class",h))&&(g.argument=m),n.items.push(g)}}if(0===n.items.length)return ne()?ee("Expected rule but end of input reached."):ee('Expected rule but "'.concat(K,'" found.'));if(de(),!ne()&&!Y(",")&&!Y(")")){var y=ie(N);de(),n.nestedRule=ve(),n.nestedRule.combinator=y}return n}return function(e){if("string"!=typeof e)throw new Error("".concat(a,"Expected string input."));return z=(W=e).length,G=0,K=W.charAt(0),pe()}}},24843(e,t){"use strict";function r(e){var t={type:"NoArgument",optional:!1};function r(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 n=0,o=e;n<o.length;n++){var i=o[n];"NoArgument"===i&&(t.optional=!0),"Formula"===i&&r("Formula"),"FormulaOfSelector"===i&&(r("Formula"),t.ofSelector=!0),"String"===i&&r("String"),"Selector"===i&&r("Selector")}return t}function n(e){for(var t={},r=0,n=Object.keys(e);r<n.length;r++){var o=n[r],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=n,t.calculatePseudoSignatures=function(e){for(var t=n(e),o={},i=0,s=Object.keys(t);i<s.length;i++){var a=s[i],c=t[a];c&&(o[a]=r(c))}return o}},7221(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var n=r(76528),o="css-selector-parser render error: ";function i(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(o,"Unknown namespace type: ").concat(e.type,"."))}function s(e,t){if(e){var r="".concat(1===e?"":-1===e?"-":e,"n");return t&&(r+="".concat(t>0?"+":"").concat(t)),r}return String(t)}t.render=function e(t){if("Selector"===t.type)return t.rules.map(e).join(", ");if("Rule"===t.type){var r="",a=t.items,c=t.combinator,l=t.nestedRule;c&&(r+="".concat(c," "));for(var u=0,d=a;u<d.length;u++){r+=e(d[u])}return l&&(r+=" ".concat(e(l))),r}if("TagName"===t.type||"WildcardTag"===t.type){r="";return(f=t.namespace)&&(r+=i(f)),"TagName"===t.type?r+=(0,n.escapeIdentifier)(t.name):"WildcardTag"===t.type&&(r+="*"),r}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 p=t.name,f=t.namespace,h=t.operator,m=t.value,g=t.caseSensitivityModifier;r="[";if(f&&(r+=i(f)),r+=(0,n.escapeIdentifier)(p),h&&m){if(r+=h,"String"===m.type)r+=(0,n.escapeString)(m.value);else{if("Substitution"!==m.type)throw new Error("Unknown attribute value type: ".concat(m.type,"."));r+=(w=m,"$".concat((0,n.escapeIdentifier)(w.name)))}g&&(r+=" ".concat((0,n.escapeIdentifier)(g)))}return r+="]"}if("PseudoClass"===t.type){var y=t.name,b=t.argument;r=":".concat((0,n.escapeIdentifier)(y));return b&&(r+="(".concat("String"===b.type?(0,n.escapeIdentifier)(b.value):e(b),")")),r}if("PseudoElement"===t.type){var v=t.name;b=t.argument,r="::".concat((0,n.escapeIdentifier)(v));return b&&(r+="(".concat("String"===b.type?(0,n.escapeIdentifier)(b.value):e(b),")")),r}if("String"===t.type)throw new Error("".concat(o,"String cannot be rendered outside of context."));if("Formula"===t.type)return s(t.a,t.b);if("FormulaOfSelector"===t.type)return s(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,"."))}},66869(e,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoLocationIndex=t.buildPseudoLocationIndex=t.cssSyntaxDefinitions=t.cssModules=t.extendSyntaxDefinition=t.getXmlOptions=void 0;var n,o,i={},s={wildcard:!0};function a(e,t){return function(r,n){return!0===n?e:t(!0===r?e:r,n)}}function c(e){return function(t,n){if(!n||!t)return n;if("object"!=typeof n||null===n)throw new Error("Unexpected syntax definition extension type: ".concat(n,"."));for(var o=r({},t),i=0,s=Object.entries(n);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 n=r({},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];n[a]=l?l.concat(c):c}else delete n[a]}return n}t.getXmlOptions=function(e){return e?"boolean"==typeof e?s:e:i},t.extendSyntaxDefinition=function(e){return function(t,r){var n=e(t,r);if(!n)throw new Error("Syntax definition cannot be null or undefined.");return n}}(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:(n=function(e){return Array.isArray(e)?{NoArgument:e}:e},o=d,function(e,t){return o(n(e),n(t))})})}));var p={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},f=(0,t.extendSyntaxDefinition)(p,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),h=(0,t.extendSyntaxDefinition)(f,{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)(h,{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=r(r({},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:{}},r=0,n=["css1","css2","css3","selectors-3","selectors-4"];r<n.length;r++){var o=n[r],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,p=S;d<p.length;d++){var f=p[d];e.pseudoElements[f]||(e.pseudoElements[f]=[]),e.pseudoElements[f].includes(o)||e.pseudoElements[f].push(o)}else for(var h=0,m=Object.values(S);h<m.length;h++)for(var g=0,y=m[h];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],x=E[0],O=E[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,N=T[A];C<N.length;C++){var I=N[C];e.pseudoClasses[I]||(e.pseudoClasses[I]=[]),e.pseudoClasses[I].includes(x)||e.pseudoClasses[I].push(x)}if(O.pseudoElements&&"object"==typeof O.pseudoElements)if(S=O.pseudoElements.definitions)if(Array.isArray(S))for(var k=0,P=S;k<P.length;k++){var j=P[k];e.pseudoElements[j]||(e.pseudoElements[j]=[]),e.pseudoElements[j].includes(x)||e.pseudoElements[j].push(x)}else for(var R=0,D=Object.values(S);R<D.length;R++)for(var L=0,M=D[R];L<M.length;L++){var _=M[L];e.pseudoElements[_]||(e.pseudoElements[_]=[]),e.pseudoElements[_].includes(x)||e.pseudoElements[_].push(x)}}return e}t.cssSyntaxDefinitions={css1:p,css2:f,css3:h,"selectors-3":h,"selectors-4":m,latest:g,progressive:y},t.buildPseudoLocationIndex=b,t.pseudoLocationIndex=b()},76528(e,t){"use strict";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 r=e.length,n="",o=0;o<r;){var i=e.charAt(o);if(t.identEscapeChars[i]||"-"===i&&1===o&&"-"===e.charAt(0))n+="\\"+i;else if("-"===i||"_"===i||i>="A"&&i<="Z"||i>="a"&&i<="z"||i>="0"&&i<="9"&&0!==o&&(1!==o||"-"!==e.charAt(0)))n+=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}n+="\\"+s.toString(16)+" "}o++}return n.trim()},t.escapeString=function(e){for(var r=e.length,n="",o=0;o<r;){var i=e.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":t.stringRenderEscapeChars[i]&&(i="\\"+i.charCodeAt(0).toString(16)+(o===r-1?"":" ")),n+=i,o++}return'"'.concat(n,'"')}},89613(e){"use strict";e.exports=JSON.parse('{"version":"2.17.0-next.926904c7"}')},9510(e){"use strict";e.exports=JSON.parse('{"rE":"4.131.1","El":{"lU":"^4.12.1"}}')}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=t,n.amdO={},e=[],n.O=(t,r,o,i)=>{if(!r){var s=1/0;for(u=0;u<e.length;u++){for(var[r,o,i]=e[u],a=!0,c=0;c<r.length;c++)(!1&i||s>=i)&&Object.keys(n.O).every(e=>n.O[e](r[c]))?r.splice(c--,1):(a=!1,i<s&&(s=i));if(a){e.splice(u--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&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=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{n.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={854:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,[s,a,c]=r,l=0;if(s.some(t=>0!==e[t])){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(c)var u=c(n)}for(t&&t(r);l<s.length;l++)i=s[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(u)},r=this.webpackChunk=this.webpackChunk||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var o=n.O(void 0,[121],()=>n(59412));o=n.O(o)})();
61
+ `,Jr=(e,t={})=>{const n=Pn(e,...e.children||[]),r=On.Ay.getRole(e.element)||"",o=((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);return Gr(Gr(Gr({},gr(e,{},"accName")),{},{role:r,box:Mn(n)?n:void 0,tightBox:jn(e),states:[{calculated:jr(e)}],isScrollableRegion:o},!o||(i=e.element,null!==(s=i.getAttribute("aria-label"))&&void 0!==s&&s.trim()||null!==(a=i.getAttribute("aria-labelledby"))&&void 0!==a&&a.trim()||null!==(c=i.getAttribute("title"))&&void 0!==c&&c.trim())?{}:{accName:""}),t);var i,s,a,c},Zr=e=>{const t=e.element.matches(Xr),n="gridcell"===On.Ay.getRole(e.element);if(t&&n){const t=e.element.tabIndex>=0,n=!!e.element.querySelector(Xr);return t||!n}return t};function Qr(e){Qt.yS.listen("igt:interactive-elements:get-interactives",()=>{var t;On.Ay.setupTrees();const n=(null===(t=e())||void 0===t?void 0:t.values())||[];Kr("Getting interactive elements from ",{flatTree:n});const r=Nr(n,Zr,!0).map(e=>{var t,n;return Jr(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:Ur(e).map(({vnodeId:e})=>e)})});return On.Ay.cleanupTrees(),Kr("Got interactives",{interactives:r}),r}),Qt.yS.listen("igt:interactive-elements:get-all-possible-interactives",()=>{var t;On.Ay.setupTrees();const n=(null===(t=e())||void 0===t?void 0:t.values())||[];Kr("Getting interactive elements from ",{flatTree:n});const r=Nr(n,()=>!0,!0).map(e=>Gr(Gr({},Hr(e)),Jr(e)));return On.Ay.cleanupTrees(),Kr("Got all nodes ",{allNodes:r}),r}),Qt.yS.listen("igt:interactive-elements:get-groupings",({message:t})=>{On.Ay.setupTrees();const n=e(),r=t.interactives.map(e=>{const t=n.getById(e.vnodeId);return Gr(Gr({},e),{},{element:null==t?void 0:t.element})}),o=Lr(r),i=(e=>{const t=[];for(const n of e){const{element:e,box:r,role:o}=n,i=null==e?void 0:e.ownerDocument,s=null==i?void 0:i.defaultView,a=null==s?void 0:s.getComputedStyle(e),c=null==a?void 0:a.getPropertyValue("background-color"),l=null==a?void 0:a.getPropertyValue("color"),u=null==a?void 0:a.getPropertyValue("border-width"),d=null==a?void 0:a.getPropertyValue("border-style"),f=null==a?void 0:a.getPropertyValue("border-color"),p=null==a?void 0:a.getPropertyValue("border-radius"),h=null==a?void 0:a.getPropertyValue("font-weight"),m=null==a?void 0:a.getPropertyValue("font-size"),{height:g,width:y,y:b,x:v}=r||{},w=t.find(Dr(Rr()({height:g,background:c,textColor:l,borderWidth:u,borderStyle:d,borderRadius:p,fontSize:m}),Rr()({width:y,background:c,textColor:l,borderWidth:u,borderStyle:d,borderRadius:p,fontSize:m}),Rr()({role:o,background:c,textColor:l,fontSize:m,x:v}),Rr()({role:o,background:c,textColor:l,fontSize:m,y:b})));w?w.vnodeIds.push(n.vnodeId):t.push({id:t.length,role:o,height:g,background:c,textColor:l,borderWidth:u,borderStyle:d,borderColor:f,borderRadius:p,x:v,y:b,width:y,fontSize:m,fontWeight:h,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)})(r);return On.Ay.cleanupTrees(),{role:o,intelligent:i}}),Qt.yS.listen("igt:interactive-elements:map-user-selected",({message:t})=>{const{selected:n=[]}=t,r=e();On.Ay.setupTrees();const o=n.map(e=>{const t=r.getById(e.vnodeId);return Jr(t,{userSelected:!0,source:On.Ay.getSource(t.element)})});return On.Ay.cleanupTrees(),o}),Qt.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?jr(r):[]}),Qt.yS.listen("igt:interactive-elements:classify-stability",({message:t})=>{const{vnodes:n,screenshotWidthPx:r,screenshotHeightPx:o,zoom:i}=t,s={};if(null==n||!n.length)return s;const a=e(),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]=zr(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})}const eo=e=>(e=>{const t=null==e?void 0:e.trim();return t?t.length>300?t.slice(0,300):t:null})(e.element.textContent);function to(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 no(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?to(Object(n),!0).forEach(function(t){ro(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ro(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 oo=e=>e.element.matches('h1, h2, h3, h4, h5, h6, [role="heading"]')&&!!mr(e.element).length,io=e=>e.element.matches('dl:not([role]), ol:not([role]), ul:not([role]), [role="list"]'),so=e=>{var t;return null===(t=e.attrs)||void 0===t?void 0:t.includes("lang")},ao=e=>{var t;return!!e.isFrame&&!(null===(t=e.attrs)||void 0===t||!t.includes("title"))&&!!mr(e.element).length},co=e=>{var t;return"application"===(null===(t=e.attributes)||void 0===t?void 0:t.role)},lo=e=>["audio","video"].includes(e.tagName.toLowerCase());function uo(e){On.Ay.setupTrees();const t=e();return On.Ay.cleanupTrees(),t}function fo(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 po=e=>{var t,n;const r=Pn(e);return no(no({},gr(e,{},"accessibleText")),{},{textContent:eo(e),role:On.Ay.getRole(e.element),level:fo(e),box:Mn(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:Ur(e).map(({vnodeId:e})=>e)})},ho=e=>{var t,n;const r=Pn(e);return no(no({},gr(e,{},"accessibleText")),{},{role:On.Ay.getRole(e.element),listItemCount:Array.from(e.element.querySelectorAll('li, dt, [role="listitem"]')).length,box:Mn(r)?r:void 0,listChildren:(e.children||[]).map(e=>gr(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:Ur(e).map(({vnodeId:e})=>e)})},mo=async e=>{var t,n,r;const o=document.createNodeIterator(e.element,NodeFilter.SHOW_TEXT,t=>!document.body.contains(t.parentElement)||t.parentElement.hasAttribute("lang")&&t.parentElement!==e.element?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);let i,s="";for(;i=o.nextNode();)s+=` ${i.textContent.trim()}`;const{isReliable:a,languages:c=[]}=await browser.i18n.detectLanguage(s);let l;if(a){l=c.shift();for(const e of c)(null==e?void 0:e.percentage)>l.percentage&&(l=e)}const u=gr(e,{},"accessibleText"),d=e.vnodeId>=0;return no(no({},u),{},{lang:e.attributes.lang,isValidLang:On.Ay.isValidLang(null===(t=e.attributes.lang)||void 0===t?void 0:t.toLowerCase()),detectedLang:!!l&&(null===(n=l)||void 0===n?void 0:n.language),langConfidence:l?null===(r=l)||void 0===r?void 0:r.percentage:-1,textContent:d?eo(e):null})},go=e=>no(no({},gr(e,{},"accessibleText")),{},{descriptionText:Cr(e.element)}),yo=e=>{const t=Pn(e);return no(no({},(e=>no({},gr(e,{},"accessibleText")))(e)),{},{box:Mn(t)?t:void 0})},bo=e=>{const t=Pn(e);return no(no({},gr(e,{},"accessibleText")),{},{box:Mn(t)?t:void 0})};const vo=e=>e.matches(":modal");function wo(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 So(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(n),!0).forEach(function(t){Oo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wo(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}const xo=nn()("igt:modal-dialog"),Eo=['[role="dialog"]','[role="alertdialog"]',"dialog"].join(":not(:empty), "),Ao=['[class*="modal" i]','[class*="dialog" i]'].join(":not(:empty), "),To=["absolute","fixed"];let Co=null;const Io=["dialog","alertdialog"],No=e=>new Promise(t=>{setTimeout(t,e)}),Po=(e=document.activeElement)=>{const{shadowRoot:t}=e;return t&&t.activeElement?Po(t.activeElement):"IFRAME"===e.tagName&&e.contentDocument?Po(e.contentDocument.activeElement):e},jo=(e,t=document)=>Array.from(t.querySelectorAll(e)).filter(e=>On.Ay.isSRVisible(e)),ko=e=>{const t=On.Ay.name(e);return"string"==typeof t?t:""},Ro=e=>{if(!e)return;const t=[e,...e.ancestors].find(e=>On.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}))},_o=(e=document)=>{let t=null;const n=[()=>jo(Eo,e),()=>jo('[aria-modal="true"]:not(:empty)',e),()=>jo(Ao,e).filter(e=>To.includes(window.getComputedStyle(e).position)||!!e.offsetParent&&To.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")&&To.includes(o.position)});if(o&&s.every(e=>e.includes(o)))return o}return null})(e);return t&&On.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},Mo=e=>{const t=e.element.getAttribute("tabindex");e.element.tabIndex=t||-1,e.element.focus()},Do=(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(Po());if(!r&&Co){const e=n(Co);r=e,e&&(Co=null)}return r};function Lo({getTree:e,getFlatTree:t,buildTree:n},r=3e3){const o=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},i=(t,n)=>{const r=e(),o=n&&r.getById(n.vnodeId);o&&t&&!On.Ay.isVisible(t.element,!0)&&o.element.click()},s=new Set,a=new Set,c=new Set,l=e=>{s.add(e.target)},u=t=>{On.Ay.cleanupTrees();const n=(e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>Io.includes(On.Ay.getRole(e.element))))(t),r=n&&fn(n),o=(e=>[e,...e.ancestors,...e.children].filter(e=>!e.isShadow).find(e=>"true"===e.element.getAttribute("aria-modal")))(t),i=Do(t,!(!!n||!!o)),s=(t=>{const{element:n}=t,r=[];let o=n.parentNode;for(;o&&"HTML"!==o.nodeName;){const i=Array.from(o.children),s=e();i.forEach(e=>{var o;const i=s.get(e);if(e!==n&&!(e.contains(n)||null!=i&&null!==(o=i.contains)&&void 0!==o&&o.call(i,t))&&e.tagName.toLowerCase()!==Ir.wZ&&On.Ay.isSRVisible(e)&&(On.Ay.name(e)||"").trim()){const t=So(So({},fn(i)),{},{source:On.Ay.getSource(e)});r.push(t)}}),o=o.parentNode}return r})(t),a=e=>!!e&&Do(e);return{dialogRoleVnode:r,hasDialogRole:!!r,focusBroughtToModal:!!i||a(n)||a(o),handledAriaHidden:!s.length,ariaHiddenMissingVNodes:s,isModalDialog:vo(t.element)||!(!n||!vo(n.element)),isAriaModal:!!o}};Qt.yS.listen("igt:modal-dialog:detect:with-trigger",async({message:{manifest:i,vitals:s}})=>{let a=e();const c=await o(i["select-trigger"],i,s);Ro(c),await No(r),await n({value:i,vitals:s}),a=e();const l=[document,...Kn({tree:a,flat:t()}),...Xn({tree:a,flat:t()})];let d=null;l.some(e=>(d=_o(e),!!d)),d||(Co=Po());const f=d?a.get(d):null;return f?So({modal:So(So({},fn(f)),{},{accessibleName:ko(f.element)})},u(f)):{modal:null}}),Qt.yS.listen("igt:modal-dialog:focus-trap",async({message:{manifest:e,vitals:t}})=>{const{modal:n,focusBroughtToModal:r}=e,s=await o(n,e,t);return new Promise(t=>{let n,o=null;const a=e=>o=e.target,c=new Set,l=e=>(e&&document.addEventListener("focus",a,!0),Qt.yS.send(Qt._O.background,e?"modal:tabber-init":"modal:fire-tab")),u=document.createElement("div");u.tabIndex=0,u.setAttribute("data-axedevtools-tabstop-ignore","true"),document.body.appendChild(u);const d=()=>{n=setTimeout(()=>{const e=Po(),t=e===document.body&&o!==e,n=c.has(e),r=e=>{var t;return s.element.contains(e)||(null===(t=s.contains)||void 0===t?void 0:t.call(s,e))},i=e.getRootNode()instanceof ShadowRoot;let a=!r(e)&&!t;if(a){let t=null;if(i){for(t=e.getRootNode().host;null!==(u=t.getRootNode())&&void 0!==u&&u.host&&!r(t)&&!document.body.contains(t);){var u;t=t.getRootNode().host}a=!r(t)}}if(xo("focus-trap:checkFocus",{activeElement:e,hasShadowRoot:i,isCircular:n,isOutside:a}),n||a)return f({isCircular:n,isOutside:a});t||c.add(e),l(!1),d()},200)},f=e=>{var r;null===(r=u.parentNode)||void 0===r||r.removeChild(u),clearTimeout(n),document.removeEventListener("focus",a,!0),Qt.yS.send(Qt._O.background,"modal:tabber-stop"),t(e)};if(!s)return f({});i(s,e["select-trigger"]),r||Mo(s),d(),l(!0)})}),Qt.yS.listen("igt:modal-dialog:escape",async({message:{manifest:n}})=>{var u;const d=await o(n.modal,n);if(!d)return{};i(d,n["select-trigger"]);const f=document.activeElement;d.element.contains(f)||null!==(u=d.contains)&&void 0!==u&&u.call(d,f)||Mo(d),(()=>{const n=e(),r=t();Jn({tree:n,flat:r}).forEach(e=>{if(c.add(e),e.addEventListener("submit",l,!0),"function"==typeof e.submit){const t=e.submit;e.submit=()=>{s.add(e),t.call(e)},a.add(()=>{e.submit=t})}})})(),await Qt.yS.send(Qt._O.background,"modal:fire-escape"),await No(r);const p=!On.Ay.isVisible(d.element,!0),h={escapeClosed:p,formSubmitted:!!s.size};if(a.forEach(e=>e()),c.forEach(e=>{e.removeEventListener("submit",l,!0)}),s.clear(),a.clear(),c.clear(),p){const t=e().get(document.activeElement),r=n["select-trigger"];h.focusReturnedToTrigger=!!t&&!!r&&t.vnodeId===r.vnodeId,"number"==typeof(null==t?void 0:t.vnodeId)&&(null==t?void 0:t.vnodeId)>=0&&(h.focusReturnTarget=fn(t))}return h}),Qt.yS.listen("igt:modal-dialog:assess",async({message:t})=>{const n=t.vnode;if(!n||!n.vnodeId)return;const r=e().getById(n.vnodeId),o=So(So({},fn(r)),{},{accessibleName:ko(r.element)});return So({modal:o},u(r))}),Qt.yS.listen("igt:modal-dialog:assess-dismiss",async({message:t})=>{const n=e().get(document.activeElement),r=t.vnode;return{focusReturnTarget:n&&fn(n),focusReturnedToTrigger:n&&r&&n.vnodeId===r.vnodeId,"user-dismiss-modal":!0}});const d=(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)}},f=e=>"number"==typeof e&&Number.isFinite(e)&&e>0;Qt.yS.listen("igt:modal-dialog:capture-pre-dismiss-focus-inputs",async({message:{manifest:e,screenshotZoomLevel:t}})=>{if(!f(t))return null;const n=await o(e.modal,e),r=e["select-trigger"],i=r?await o(r,e):null;if(null==n||!n.element||null==i||!i.element)return null;const s=d(n,t),a=d(i,t);return s&&a?{modal_bounding_box:s,modal_html_markup:n.element.outerHTML,trigger_element_bbox:a}:null}),Qt.yS.listen("igt:modal-dialog:collect-post-dismiss-focus-target",async({message:{focusVnodeId:t,screenshotZoomLevel:n}})=>{if("number"!=typeof t||!f(n))return null;const r=e().getById(t);if(null==r||!r.element)return null;const o=d(r,n);if(!o)return null;const{element:i}=r,s=On.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 p=e=>!(null!=e&&e.element&&On.Ay.isVisible(e.element,!0));Qt.yS.listen("igt:modal-dialog:try-auto-dismiss",async({message:{modalVnodeId:t,triggerVnodeId:n,dismissCandidates:o}})=>{const i=e().getById(t);if(null==i||!i.element)return{success:!1};const s=()=>{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?fn(t):void 0,focusReturnedToTrigger:r}};if(p(i))return So({success:!0,strategy:"already-closed"},s());const a=async t=>{const n=e().get(t);return!!n&&(Ro(n),await No(r),p(i))},c=['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 c){const t=i.element.querySelectorAll(e);for(const e of Array.from(t))if(On.Ay.isVisible(e,!0)&&await a(e))return So({success:!0,strategy:"semantic_dom"},s())}if((i.ancestors??[]).some(e=>e.isFrame))return{success:!1};const l=i.element.getBoundingClientRect(),u=e=>({centerX:l.left+(e.left+e.right)/2/1e3*l.width,centerY:l.top+(e.top+e.bottom)/2/1e3*l.height}),d=(e,t)=>{const n=document.elementsFromPoint(e,t)??[];for(const e of n)if(e!==i.element&&i.element.contains(e)&&e.matches('button, [role="button"], a, [tabindex]:not([tabindex="-1"]), [data-bs-dismiss], [data-dismiss]'))return e;return null},f=e=>e.right>e.left&&e.bottom>e.top;for(let e=0;e<o.length;e++){const t=o[e];if(!f(t))continue;const{centerX:n,centerY:r}=u(t),i=d(n,r);if(i&&await a(i))return So({success:!0,strategy:"ai_candidate",candidateIndex:e},s())}const h=(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(!To.includes(n.position))continue;const r=t.getBoundingClientRect();if(r.width*r.height/i>=.75)return t}return null})(i);return h&&await a(h)?So({success:!0,strategy:"backdrop"},s()):{success:!1}})}function Fo(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 Vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach(function(t){$o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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}const Bo=nn()("igt:table"),Ho=["th","caption",'[headers]:not([headers=""])','[scope]:not([scope=""])'].join(", "),Wo=e=>Vo(Vo({},gr(e,{},"accName")),{},{role:On.Ay.getRole(e.element)}),Uo=e=>Vo(Vo({},gr(e,{},"accName")),{},{source:On.Ay.getSource(e.element),role:On.Ay.getRole(e.element)}),zo=(e,t)=>Vo(Vo({},gr(e,{},"accName")),t),qo=e=>"table"===e.tagName,Go=e=>"th"===(null==e?void 0:e.tagName.toLowerCase()),Yo=e=>!["table"].includes(On.Ay.getRole(e.element)),Ko=e=>qo(e)&&!Yo(e),Xo=e=>["rowgroup","colgroup"].includes(e),Jo=(e,t,n,r)=>{if(e.getAttribute("headers")){const t=On.Ay.idrefs(e,"headers").filter(Go);if(t.length)return t.flatMap(e=>{const t=r.get(e);return t?[Uo(t)]:[]})}const o=new Map,i=(e,t)=>{const n=r.get(e);n&&o.set(e,Vo(Vo({},Uo(n)),t))},s=On.Ay.table.getCellPosition(e,t),a=e.colSpan-1,c=e.rowSpan-1,l=s.y,u=s.y+c,d=s.x,f=s.x+a;for(let r=0;r<t.length;r++){const s=t[r];for(let t=0;t<s.length;t++){const a=s[t],c=t>=d&&t<=f,p=r>=l&&r<=u;if(!c&&!p||a===e||o.has(a)||!On.Ay.isSRVisible(a))continue;if(!Go(a)){n.find(e=>e.element===a)&&i(a,{mlOnly:!0});continue}const h=a.getAttribute("scope"),m=Xo(h)?"rowgroup"===h:On.Ay.table.isRowHeader(a),g=Xo(h)?"colgroup"===h:On.Ay.table.isColumnHeader(a);(p&&m||c&&g)&&i(a)}}return Array.from(o.values())};function Zo(e,t){Qt.yS.listen("igt:table:get-tables",()=>{On.Ay.setupTrees();const t=e().values()||[];Bo("Getting tables from",{flatTree:t});const n=Nr(t,Ko,!0).map(Wo);return On.Ay.cleanupTrees(),Bo("Got tables",{tables:n}),n}),Qt.yS.listen("igt:table:map-user-selected",({message:t})=>{const{table:n}=t;Bo("Getting table",{table:n}),On.Ay.setupTrees();const r=e(),o=Wo(r.getById(n.vnodeId));return On.Ay.cleanupTrees(),Bo("Got tables",{tableVNode:o}),o}),Qt.yS.listen("igt:table:analyze-table",async({message:n})=>{const r={};Bo("Getting table",{table:n.table}),On.Ay.setupTrees(),await t(n.metadata);const o=e(),i=o.getById(n.table.vnodeId),s=o.getById(i.vnodeId).element;if(!qo(i))return Vo(Vo({},r),{},{type:"layout",isHeuristicDataTable:!1});var a,c,l;if(r.hasHeaderMarkup=!!s.getAttribute("summary")||!!(a=Ho,c=s,[...c.querySelectorAll(a)].filter(e=>On.Ay.isSRVisible(e))).length,r.isHeuristicDataTable=qo(l=i)&&On.Ay.table.isDataTable(l.element),Yo(i))return Vo(Vo({},r),{},{type:"layout"});const u=On.Ay.table.toGrid(s),d=u.length,f=u.reduce((e,t)=>Math.max(e,t.length),0),p=new Map,h=new Map;let m=!1,g=!1;const y=new Set;for(let e=0;e<d;e++){const t=u[e];for(let n=0;n<f;n++){const r=t[n];if(!r||!On.Ay.isSRVisible(r))continue;y.add(r),r.getAttribute("headers")&&(g=!0);const o=On.Ay.table.isColumnHeader(r),i=On.Ay.table.isRowHeader(r);var b;if(Go(r))r!==t[n+1]&&r!==(null===(b=u[e+1])||void 0===b?void 0:b[n])||(m=!0),o?h.set(e,(h.get(e)||0)+1):i&&p.set(n,(p.get(n)||0)+1)}}return r.cellCount=y.size,m||g||(1===p.size&&1===h.size&&[d,d-1].includes(p.values().next().value)&&[f,f-1].includes(h.values().next().value)?r.type="one-header-row-and-column":1===p.size&&0===h.size&&p.values().next().value===d?r.type="one-header-column":0===p.size&&1===h.size&&h.values().next().value===f&&(r.type="one-header-row")),On.Ay.cleanupTrees(),Bo("Got table metadata",{metadata:r}),r}),Qt.yS.listen("igt:table:get-data-cells",async({message:n})=>{const r=new Map;Bo("Getting table",{table:n.table}),On.Ay.setupTrees(),await t(n.metadata);const o=e(),i=[...e().values()||[]].reduce((e,t)=>(e.set(t.element,t),e),new Map),s=o.getById(n.table.vnodeId),a=o.getById(s.vnodeId).element;if(!qo(s))return Bo("Cannot get data cells for a non-table element",{table:s,tableElement:a}),[];const c=n.features.flatMap(({role:e,vnodeId:t})=>{if(!t||!["columnheader","rowheader"].includes(e))return[];return o.getById(t)||[]}),l=On.Ay.table.toGrid(a);for(let e=0;e<l.length;e++){const t=l[e];for(let n=0;n<t.length;n++){const o=t[n],s=i.get(o);if(!s)continue;const a=r.get(s.vnodeId);a?r.set(s.vnodeId,Vo(Vo({},a),{},{rowNumbers:[...new Set([...a.rowNumbers,e])],columnNumbers:[...new Set([...a.columnNumbers,n])]})):On.Ay.isSRVisible(o)&&!Go(o)&&r.set(s.vnodeId,Vo(Vo({},zo(s,{headerCells:Jo(o,l,c,i),rowNumbers:[e],columnNumbers:[n]})),{},{mlIdentifiedAsHeader:c.some(e=>e.vnodeId===s.vnodeId)}))}}return On.Ay.cleanupTrees(),Bo("Got data cells",{dataCells:r}),[...r.values()]}),Qt.yS.listen("igt:table:get-all-possible-headers",({message:t})=>{const{table:n}=t;Bo("Getting table",{table:n}),On.Ay.setupTrees();const r=e(),o=r.values()||[],i=r.getById(n.vnodeId).element,s=Nr(o,e=>{var t;return i.contains(e.element)||(null===(t=n.contains)||void 0===t?void 0:t.call(n,e))},!0).map(Hr);return On.Ay.cleanupTrees(),Bo("Got all possible header nodes",{allPossibleHeaders:s}),s}),Qt.yS.listen("igt:table:map-user-selected-header-cells-for-data-cells",({message:t})=>{const{dataCells:n}=t;Bo("Mapping data cells",{dataCells:n}),On.Ay.setupTrees();const r=e(),o=n.map(e=>Vo(Vo({},e),{},{headerCells:e.headerCells.map(e=>e.userSelected?Vo(Vo({},e),Uo(r.getById(e.vnodeId))):e)}));return On.Ay.cleanupTrees(),Bo("Mapped data cells",{mappedDataCells:o}),o}),Qt.yS.listen("igt:table:get-table-box",({message:t})=>{const{table:n}=t;Bo("Getting table",{table:n}),On.Ay.setupTrees();const r=e().getById(n.vnodeId),{box:o}=Hr(r,...r.children||[]);return On.Ay.cleanupTrees(),o||{x:0,y:0,width:0,height:0}})}var Qo=n(61740);function ei(e){return e.replace(/\s+/g," ")}function ti(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 ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ri(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 oi=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,ii=e=>"true"===e.attributes["aria-hidden"],si=e=>ii(e)||!!e.ancestors.find(ii),ai=["img","svg","canvas","video"];function ci(e){var t,n,r,o;const i=[],s=null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase().trim();return ai.includes(s)&&i.push(s),"input"===s&&"image"===(null===(n=e.attributes)||void 0===n?void 0:n.type)&&i.push("input-image"),null!==(r=e.style)&&void 0!==r&&r.pseudo&&i.push("pseudo"),xi(null,e)&&i.push("background-image"),"img"===(null===(o=e.attributes)||void 0===o?void 0:o.role)&&i.push("role-img"),i}function li(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function ui(e,t){if(!li(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=ui(o,t).trim();e&&n.push(e)}return ei(n.join(" ")).trim()}function di(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(529)),s=Math.min(i,Math.ceil(r/50)),a=Math.min(i,Math.ceil(o/50)),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&&li(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=>ui(e,t)).filter(Boolean).join(" ")}catch{return""}}function fi(e){if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE)return"";const t=e.innerText;return"string"==typeof t?ei(t).trim():""}const pi=(...e)=>t=>e.some(e=>e(t));function hi(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:p,class:h}=d,m=!!(f||c||p),g=/#/.test(p||c||f),y=(f||c||p).replace(/^([0-9a-z]+)\.|#.+|\?.+/gi,""),b=n.find(pi(Rr()({width:s,y:a}),Rr()({external:m,sprite:g,extension:y}),Rr()({tagName:u,className:h,height:i,width:s}),Rr()({tagName:u,height:i,width:s})));b?b.vnodes.push(r):n.push({id:n.length,type:"autogenerated",tagName:u,className:h,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)=>ni(ni({},e),{},{displayName:Qo.Ay`Group ${t+1}:n`}))}(n)}function mi(e,{countOnly:t=!1,rebuildTree:n=!1}={}){const r=e.values(),o=[];n&&On.Ay.setupTrees();for(const e of r){if(e.element.nodeType!==Node.ELEMENT_NODE)continue;if(!On.Ay.isAxeSetUp(e.element)){const t=(0,On.rJ)(e.element);t.teardown(),t.setup()}const{vnodeId:n,element:r,selector:i}=e,s=ni(ni({selector:i,vnodeId:n,imageId:`${o.length}`,src:"",style:Oi(r),box:Pn(e)},fn(e)),{},{source:On.Ay.getSource(r),accessibleText:mr(e.element)||""});if([vi,wi,bi,yi].some(t=>t(e,s)))continue;const a=ci(s),c=!!a.length,l=!t&&gi(e);if(c){const n=On.Ay.getRole(e.element),r="svg"===e.tagName;o.push(ni(ni({},s),{},{isBackgroundImage:xi(null,s),imageTypes:a,overlappingText:di(e.element),elementText:fi(e.element),isEmptyAltImg:"img"===e.tagName&&""===e.element.getAttribute("alt")||!!r&&("img"===n?""===s.accessibleText:!s.accessibleText),isAriaHidden:si(e),role:n,isRoleImg:"img"===n,hint:Cr(e.element),svgTextContent:r&&oi(e.element)||"",interactiveParent:l?{accessibleText:mr(l.element)||"",isAriaHidden:si(l)}:void 0},fn(t?e:Er(e))))}l&&(s.vnodeId=l.vnodeId,s.box=Pn(e,l))}return o}function gi(e){var t;return null===(t=e.ancestors)||void 0===t?void 0:t.find(e=>["a","label","button","input","summary"].includes(e.tagName))}function yi(e){return"input"===e.tagName&&"hidden"===e.attributes.type}function bi(e,t){const{box:n}=t,{height:r,width:o}=n;return 0===o||0===r}function vi(e,t){const{style:n}=t,{display:r,visibility:o,opacity:i}=n;return"none"===r||"0"===i||"hidden"===o}function wi(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 Si=["before","after"];function Oi(e){const t={};e&&e.nodeType===Node.ELEMENT_NODE?(t.element=window.getComputedStyle(e),Si.forEach(n=>{t[n]=window.getComputedStyle(e,n)})):["element",...Si].forEach(e=>t[e]={getPropertyValue:()=>""});const n={pseudo:Si.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 xi(e,t){const{style:n}=t;return!!n["background-image"].startsWith("url")||!!n.pseudo}function Ei(e){Qt.yS.listen("igt:images:get-data",async()=>{return{images:hi(t=e(),mi(t,{rebuildTree:!0})).map(e=>ni(ni({},e),{},{vnodes:e.vnodes.map(t=>ni(ni({},t),{},{identifier:`${e.id}-${t.imageId}`}))}))};var t})}const Ai=e=>{const t=document.activeElement,n=e.get(t);return{bodyHasFocus:t===document.body,currentFocus:n&&fn(n)}},Ti=()=>{const e=document.body.getAttribute("tabindex");e||(document.body.tabIndex=-1),document.body.focus(),e||document.body.removeAttribute("tabindex")};class Ci{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(){Qt.yS.listen("tab-record:replay-start",this.startReplay),Qt.yS.listen("tab-record:replay-stop",this.stopReplay)}detach(){Qt.yS.unlisten("tab-record:replay-start",this.startReplay),Qt.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))}Qt.yS.send(Qt._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})})}}function Ii(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 Ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){Pi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pi(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 ji={textarea:3,"datetime-local":10},ki=()=>Qt.yS.send(Qt._O.background,"tab-record:fire-tab"),Ri=Object.freeze({recordingKeyboardTrapEscape:!1,finalizingKeyboardTrapEscape:!1,returnedToStartWhileEscapingKeyboardTrap:!1,addedNewTabstopDuringEscapeAttempt:!1,listenersAttached:!1,isAutoEscape:!1,isLastAttempt:!1});class _i{handleFinalizingTrap(e=!1,t=!1){const n=Qn({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});clearTimeout(this.focusTimeout);const r=!(this.trapEscapeState.isAutoEscape&&!this.trapEscapeState.isLastAttempt&&!e)&&t;r&&(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),e&&!r||this.detachListeners();const o=this.trapEscapeState.isAutoEscape?Qt._O.background:Qt._O.devtools;return this.trapEscapeState=Ni({},Ri),this.retryTabKeyPressCount=0,Qt.yS.send(o,"tab-record:trap-escape-done",Ni(Ni({},n),{},{escapedToNewVnode:e,tabbingComplete:r}))}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){const t=e&&e.matches&&e.matches(Vn),n=this.tabStops.has(e);if(n||(this.retryTabKeyPressCount=0),!this.unscopedCache.tree.get(e)){const{cache:e,unscopedCache:t}=await this.buildTreeCache();this.cache=e,this.unscopedCache=t}const r=this.keyboardScope&&!this.cache.tree.get(e),o=!!this.tabStops.size,i=this.visitedElements.has(e);this.visitedElements.add(e);const s=n||r&&(o||i);this.cleanupKeyupTarget(),clearTimeout(this.focusTimeout);const a=[...this.tabStops.keys()][0]===e;if(this.trapEscapeState.finalizingKeyboardTrapEscape&&n)return this.handleFinalizingTrap(a||this.trapEscapeState.addedNewTabstopDuringEscapeAttempt||this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap,n);if(this.trapEscapeState.recordingKeyboardTrapEscape&&s)return void(n&&a&&(this.trapEscapeState.returnedToStartWhileEscapingKeyboardTrap=!0));if("closed"===await Qt.yS.send(Qt._O.background,"dom:get-active-element-shadow-root-type"))return void(this.trapEscapeState.recordingKeyboardTrapEscape||(this.setFocusTimeout(500),ki()));if(this.trapEscapeState.recordingKeyboardTrapEscape||this.setFocusTimeout(),s){const t=this.keyboardTrapsEnabled&&n&&this.tabStops.keys().next().value!==e;return this.onTabbingComplete(t?{trappedVnode:this.tabStops.get(e)}:{})}if(!this.trapEscapeState.recordingKeyboardTrapEscape&&(r&&!o||!this.cache.tree.get(e)))return void ki();"function"==typeof(null==e?void 0:e.getAnimations)&&await Promise.race([Promise.all([...e.getAnimations({subtree:!0}).map(e=>e.finished)]),new Promise(e=>setTimeout(e,1e3))]);const c=(0,On.rJ)(e);c.teardown(),c.setup();const l=((e,t,n=!0)=>{const r=t.get(e),o=On.Ay.getRole(e),i=o&&On.Ay.isWidgetRole(o)||"combobox"===o||"listbox"===o||"searchbox"===o||"alertdialog"===o||"audio"===r.tagName||"video"===r.tagName||"gridcell"===o||"rowheader"===o||"columnheader"===o||"td"===r.tagName&&!o||"th"===r.tagName&&!o,s=e.matches&&e.matches(Vn);return Ln(Ln({},fn(r)),{},{role:o,isWidgetRole:i,accessibleName:On.Ay.name(e),box:Pn(r),groupItems:Un(r,o),isAriaHidden:!On.Ay.isSRVisible(e),isHidden:On.Ay.isOffscreen(e)||!On.Ay.isVisible(e,n),isMultiTabStopElement:s})})(e,this.cache.tree,!1);await Qt.yS.send(Qt._O.devtools,"tab-record:screenshot",{vnode:l}),l.source=On.Ay.getSource(e);const u=(await On.Ay.runContrastAnalysis(e))[0];l.focusedContrastResult=null==u?void 0:u.data;const d=e=>{var t;return!(null!==(t=e.getRootNode().host)&&void 0!==t&&t.matches(Ir.wZ))};try{const[t]=On.Ay.getElementStack(e,!1).filter(d);l.elementObscured=!!t&&t!==e}catch{l.elementObscured=!1}if(this.tabStops.set(e,l),this.trapEscapeState.finalizingKeyboardTrapEscape)return this.handleFinalizingTrap(!0);t&&this.handleMultiTabstopElement(e),this.trapEscapeState.recordingKeyboardTrapEscape?this.trapEscapeState.addedNewTabstopDuringEscapeAttempt=!0:(Qt.yS.send(Qt._O.devtools,"tab-record:count",this.tabStops.size),Qt.yS.send(Qt._O.background,"tab-record:fire-tab"))}attachListeners(){this.trapEscapeState.listenersAttached||(this.focusListenerTargets=new Set([document,...Kn(this.unscopedCache),...Xn(this.unscopedCache)]),this.focusListenerTargets.forEach(e=>{e.addEventListener("focus",this.onFocus,!0)}),this.submitListenerTargets=new Set(Jn(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(),Qt.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:o,showScrollbars:i,buildTreeCache:s,keyboardTrapsEnabled:a}){Pi(this,"retryTabKeyPressCount",0),Pi(this,"tabStops",new Map),Pi(this,"visitedElements",new Set),Pi(this,"focusListenerTargets",new Set),Pi(this,"submitListenerTargets",new Set),Pi(this,"submittedForms",new Set),Pi(this,"submitRestoreHandlers",new Set),Pi(this,"launchedWindowOnFocus",new Set),Pi(this,"_isCleanedUp",!1),Pi(this,"overrideFocusVnode",null),Pi(this,"trapEscapeState",Ni({},Ri)),Pi(this,"isCleanedUp",()=>this._isCleanedUp),Pi(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()}),Pi(this,"onTabbingComplete",async({trappedVnode:e}={})=>{const t=Qn({tabStops:this.tabStops,launchedWindowOnFocus:this.launchedWindowOnFocus,submittedForms:this.submittedForms,cacheTree:this.cache.tree});e||(this.replayer.setTabStops([...this.tabStops.keys()]),this.replayer.showHighlighters()),this.cleanupAfterTabbing({hasTrappedVnode:!!e}),await Qt.yS.send(Qt._O.background,"tab-record:stop"),this.keyboardTrapsEnabled&&e?Qt.yS.send(Qt._O.devtools,"tab-record:trapped",{trappedVnode:e,tabData:t}):Qt.yS.send(Qt._O.devtools,"tab-record:complete",t)}),Pi(this,"setFocusTimeout",(e=1e4)=>{this.trapEscapeState.recordingKeyboardTrapEscape||(this.focusTimeout=setTimeout(async()=>{const e=!!document.activeElement&&await Qt.yS.send(Qt._O.background,"dom:get-active-element-shadow-root-type");if(document.activeElement&&("IFRAME"===document.activeElement.tagName||"closed"===e))return this.setFocusTimeout(500),void ki();if("user-agent"===e){const e=ji[document.activeElement.tagName.toLowerCase()]||5;return this.keyboardTrapsEnabled&&this.retryTabKeyPressCount>=e?void this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)}):(++this.retryTabKeyPressCount,this.setFocusTimeout(500),void ki())}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),Qt.yS.send(Qt._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)}this.keyboardTrapsEnabled&&t()&&this.tabStops.size>1?this.onTabbingComplete({trappedVnode:this.tabStops.get(document.activeElement)}):this.onTabbingComplete()},e))}),Pi(this,"onSubmit",e=>{this.submittedForms.add(e.target)}),Pi(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()}),Qt.yS.unlisten("tab-record:new-window:launched",this.onNewWindowLaunched),this.trapEscapeState.listenersAttached=!1}),Pi(this,"resetState",e=>{var t;e||Qt.yS.send(Qt._O.background,"tab-record:new-window-listener:detach"),this.detachListeners(),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="",Qt.yS.unlisten("tab-record:finalize-escape-trap",this.onFinalizeTrap),Qt.yS.unlisten("tab-record:user-stopped",this.onTabbingComplete),Qt.yS.unlisten("tab-record:cleanup",this.cleanupAfterTabbing),Qt.yS.unlisten("tab-record:continue-tabbing",this.onContinueTabbing),Qt.yS.unlisten("tab-record:detach-listeners",this.detachListeners),Qt.yS.unlisten("attach:failed",this.handleAttachFailed),null===(t=this.unlistenInitialFocus)||void 0===t||t.call(this)}),Pi(this,"onNewWindowLaunched",()=>{this.launchedWindowOnFocus.add(document.activeElement)}),Pi(this,"scopeKeyboardSetup",()=>{if(!on()(this.manifest,"metadata.scope",void 0))return;const[e]=this.cache.flat;if(!e)return;e.element.getAttribute("tabindex")||On.Ay.isFocusable(e.element)||(e.element.tabIndex=-1,this.removeKeyboardScopeTabIndex=!0),e.element.focus(),this.keyboardScope=e}),Pi(this,"cleanupKeyupTarget",()=>{this.keyupTarget&&(this.keyupTarget.removeEventListener("keyup",this.onKeyup,!0),this.keyupTarget=null)}),Pi(this,"onKeyup",()=>{if(document.activeElement===this.keyupTarget)return ki();this.cleanupKeyupTarget()}),Pi(this,"handleMultiTabstopElement",e=>{this.keyupTarget=e,e.addEventListener("keyup",this.onKeyup,!0),clearTimeout(this.focusTimeout)}),Pi(this,"handleAttachFailed",()=>{this.resetState(),clearTimeout(this.focusTimeout)}),Pi(this,"onFinalizeTrap",()=>{this.trapEscapeState.recordingKeyboardTrapEscape=!1,this.trapEscapeState.finalizingKeyboardTrapEscape=!0,this.setFocusTimeout(),Qt.yS.send(Qt._O.background,"tab-record:start")}),Pi(this,"onContinueTabbing",()=>{this.focusHandler.resetDebounce(),this.setFocusTimeout(),Qt.yS.send(Qt._O.background,"tab-record:start")}),this.manifest=e,this.cache=t,this.unscopedCache=n,this.showScrollbars=i,this.buildTreeCache=s,this.replayer=new Ci(r),this.keyboardTrapsEnabled=a,this.onFocus=this.onFocus.bind(this),this.focusHandler=function(e,t=0){let n=0,r=0;const o=function(...o){cancelAnimationFrame(r),r=requestAnimationFrame(()=>{const r=performance.now();r-n>=t&&(n=r,e.apply(this,o))})};return o.resetDebounce=()=>{n=0,r=0},o}(this.focusHandler.bind(this),30),this.setFocusTimeout(),this.resetState(!0),this.scopeKeyboardSetup(),this.attachListeners(),o(),On.Ay.setupTrees(),Qt.yS.send(Qt._O.background,"tab-record:new-window-listener:attach"),document.documentElement.style.cursor="none",document.documentElement.style.pointerEvents="none",document.activeElement.matches&&document.activeElement.matches(Vn)&&this.handleMultiTabstopElement(document.activeElement);const c=()=>{var n;if(this.trapEscapeState.finalizingKeyboardTrapEscape)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};Qt.yS.listen("attach:failed",this.handleAttachFailed),Qt.yS.listen("tab-record:initial-focus",c),Qt.yS.listen("tab-record:finalize-escape-trap",this.onFinalizeTrap),Qt.yS.listen("tab-record:user-stopped",this.onTabbingComplete),Qt.yS.listen("tab-record:cleanup",this.cleanupAfterTabbing),Qt.yS.listen("tab-record:continue-tabbing",this.onContinueTabbing),Qt.yS.listen("tab-record:detach-listeners",this.detachListeners),this.unlistenInitialFocus=()=>Qt.yS.unlisten("tab-record:initial-focus",c)}}const Mi=["keyboardTrapsEnabled","isKeyboardTrapEscape","keyboardTrapVnode","isAutoEscape","isLastAttempt"];function Di(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 Li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Di(Object(n),!0).forEach(function(t){Fi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Di(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fi(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 Vi(){return Qt.yS.send(Qt._O.content,"hide-scrollbars")}async function $i(){return Qt.yS.send(Qt._O.content,"show-scrollbars")}function Bi(e,t){let n;Qt.yS.listen("igt:keyboard:focus-element",async({message:{elementToFocus:t}})=>{const n=await e(),r=n.querySelector(t.selector);var o;return r&&(o=r)&&"function"==typeof o.focus&&o.focus(),{foundElement:r?JSON.parse(n.safe(n.get(r))):null}}),Qt.yS.listen("igt:keyboard:find-current-focus",async()=>{const t=await e();return Ai(t)}),Qt.yS.listen("igt:keyboard:reset-focus",Ti),Qt.yS.listen("igt:keyboard:tab-record-start",async r=>{let{message:{keyboardTrapsEnabled:o,isKeyboardTrapEscape:i,keyboardTrapVnode:s,isAutoEscape:a=!1,isLastAttempt:c=!1}}=r,l=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}(r.message,Mi);const u=async()=>{await t(Li(Li({},l.metadata),{},{scope:void 0}));const n=e(),r=Array.from((null==n?void 0:n.values())||[]);let o=n,i=r;var s;l.metadata.scope&&(await t(l.metadata),o=e(),i=Array.from((null===(s=o)||void 0===s?void 0:s.values())||[]));return{cache:{tree:o,flat:i},unscopedCache:{tree:n,flat:r}}};if(!n||n.isCleanedUp()){const{cache:e,unscopedCache:t}=await u();n=new _i({manifest:l,cache:e,unscopedCache:t,highlighter:await(0,An.A)(),hideScrollbars:Vi,showScrollbars:$i,buildTreeCache:u,keyboardTrapsEnabled:o})}n.setKeyboardTrapEscapeState(i,s,a,c),i||Qt.yS.send(Qt._O.background,"tab-record:start")})}var Hi=n(11911),Wi=n.n(Hi);function Ui(e){On.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?On.Ay.name(t):""}).join(" ")}}On.Ay.cleanupTrees();const n=e.getAttribute("aria-label");if(n)return On.Ay.sanitize(n);if("FIELDSET"===e.tagName){var r;const t=On.Ay.name(e.firstElementChild);return"LEGEND"===(null===(r=e.firstElementChild)||void 0===r?void 0:r.tagName)&&t}return null}const zi=(e,t)=>{On.Ay.setupTrees();const n=qi(e,!0).filter(e=>e&&On.Ay.isVisible(e)).map(e=>fn(rr(t.get(e))));return On.Ay.cleanupTrees(),n},qi=(e,t=!1)=>{const n=e.getRootNode(),r=e.id?Array.from(n.querySelectorAll(`[for="${e.id}"]`)):[];"FIELDSET"===e.tagName&&e.firstElementChild&&"LEGEND"===e.firstElementChild.tagName&&r.push(e.firstElementChild);const o=e.getAttribute("aria-labelledby"),i=e.getAttribute("aria-describedby"),s=e=>e?e.split(" "):[],a=[...s(o),...s(i)].filter(Boolean).map(e=>n.getElementById(e)),c=[...r,...a].filter(Boolean).map(e=>qi(e)).flat();return[...new Set([...t?[]:[e],...a,...c])]};function Gi(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 Yi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gi(Object(n),!0).forEach(function(t){Ki(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ki(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 Xi=1;const Ji=e=>{const t={};return e.forEach(e=>t[e.id]=e.label),t},Zi=(e,t)=>{const n=e.filter(({attributes:e})=>e.name&&"radio"===e.type),r=e.filter(({attributes:e})=>e.name&&"checkbox"===e.type);return[...es(Wi()(n,"attributes.name"),"radio-name",t),...es(Wi()(r,"attributes.name"),"checkbox-name",t)]},Qi=(e,t,n)=>{const r=[],o=function(e,t=document){return Array.from(t.querySelectorAll(e))}(Sn,t.element),i=Zi(e,n);return t&&t.element.matches(Sn)&&o.push(t.element),On.Ay.setupTrees(),o.forEach(t=>{const o=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(!i.some(e=>o.some(t=>e.vnodeIds.includes(t.vnodeId)))&&o.length>1){const e=Ui(t)||"";if(!e)return;const i=o.map(e=>e.selector),s=o.map(e=>e.vnodeId),a=[];o.forEach(t=>{a.push(Yi(Yi({},t),{},{groupId:Xi,groupLabel:e,visibleLabels:zi(t.element,n),groupSelector:i,groupVnodeIds:s}))});const c={selector:i,label:e,vnodeIds:s,id:Xi++,groupType:"semantic",pairings:Ji(a),visibleLabels:t?zi(t,n):[]};a.find(e=>e.groupId===c.id).group=c,r.push(c)}}),On.Ay.cleanupTrees(),r},es=(e,t,n)=>Object.keys(e).reduce((r,o)=>{const i=e[o],s=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 a,c=i[0].element.closest(Sn);for(;!a&&c;)s(c)&&(a=c),c=c.closest(Sn);if(i.length<2)return r;const l=i.map(e=>e.selector),u=i.map(e=>e.vnodeId),d=a&&Ui(a)||"",f=a?zi(a,n):[];i.forEach(e=>{e.groupId=Xi,e.groupLabel=d,e.groupSelector=l,e.groupVnodeIds=u});const p={selector:l,groupType:t,vnodeIds:u,id:Xi++,name:o,label:d,visibleLabels:f,pairings:Ji(i)};return i[0].group=p,r.push(p),r},[]);function ts(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}function ns(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 rs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ns(Object(n),!0).forEach(function(t){os(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ns(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function os(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 is=e=>{var t;const n=rs(rs({},e.properties),{},{disabled:e.element.disabled,multiple:e.element.multiple,placeholder:e.element.placeholder,required:e.element.required});let r={};return e.element.matches(wn)&&(r={label:ts(e.element),type:e.element.type}),rs(rs(rs({},gr(e,{visibleLabels:e.visibleLabels},"accessibleText")),r),{},{properties:n,ancestors:(null===(t=e.ancestors)||void 0===t?void 0:t.map(({vnodeId:e})=>e))||[]})},ss=(e,t)=>{const n=t.selectAll([wn],{isRelativeSelector:!0}).filter(t=>!!t.ancestors.find(t=>t.vnodeId===e.vnodeId)).map(e=>e.element),r=On.Ay.getTabbableElements(e.element);return e.element.matches(wn)&&n.push(e.element),n.filter(e=>On.Ay.isVisible(e,!0)||!(null==r||!r.includes(e)))},as=e=>t=>("form"===t.tagName||"form"===t.attributes.role)&&((e,t)=>ss(e,t).length>0)(t,e),cs=e=>rs(rs({},is(e)),{},{box:Pn(e)});function ls(e){Qt.yS.listen("igt:forms:get-forms",async()=>function(e){On.Ay.setupTrees();const t=e();return On.Ay.cleanupTrees(),t}(()=>{const t=e();return Nr((null==t?void 0:t.values())||[],as(t),!0).map(cs)})),Qt.yS.listen("igt:forms:get-form",async({message:{vnodeId:t}})=>{const n=e().getById(t);return cs(n)}),Qt.yS.listen("igt:forms:get-inputs",async({message:t})=>{const n=e(),r=n.getById(t.selectedForm.vnodeId),o=ss(r,n).map(e=>rs(rs({},n.get(e)),{},{visibleLabels:zi(e,n)})),i=[...Qi(o,r,n),...Zi(o,n)];return{inputs:o.map(e=>{const t=i.find(t=>t.vnodeIds.includes(e.vnodeId)),n=is(e);return t?rs({groupId:t.id,groupLabel:t.label},n):n}),groups:i}}),Qt.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(" ")}})}function us({getTree:e,getFlatTree:t,buildTree:n}){Qr(e),function(e){Qt.yS.listen("igt:structure:get-headings",async()=>uo(()=>{var t;return Nr((null===(t=e())||void 0===t?void 0:t.values())??[],oo,!0).map(po)})),Qt.yS.listen("igt:structure:get-all-possible-elements",({message:t})=>{var n;On.Ay.setupTrees();const r=(null===(n=e())||void 0===n?void 0:n.values())||[],o=!(null==t||!t.useTextBox),i=Nr(r,()=>!0,!0).map(e=>Hr(e,{useTextBox:o}));return On.Ay.cleanupTrees(),i}),Qt.yS.listen("igt:structure:map-headings",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;if(!Array.isArray(n))return[];const o=(0,On.rJ)();o.teardown(),o.setup();const i=e();return n.map(({vnodeId:e})=>{const t=i.getById(e);return no(no({},po(t)),r)})}),Qt.yS.listen("igt:structure:get-lists",async()=>uo(()=>{var t;return Nr((null===(t=e())||void 0===t?void 0:t.values())??[],io,!0).map(ho)})),Qt.yS.listen("igt:structure:map-lists",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;return Array.isArray(n)?uo(()=>{const t=e();return n.map(({vnodeId:e})=>{const n=t.getById(e);return no(no({},ho(n)),r)})}):[]}),Qt.yS.listen("igt:structure:get-lang-elements",async()=>{const t=await uo(()=>{var t;const n=(null===(t=e())||void 0===t?void 0:t.values())??[];return Promise.all(Nr(n,e=>so(e)&&On.Ay.hasContent(e.element),!0).map(mo))}),n=await uo(()=>{const e=document.body.parentElement;return mo({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}}),Qt.yS.listen("igt:structure:map-lang-elements",async({message:t})=>{const{vnodes:n=[],props:r={}}=t;return Array.isArray(n)?await uo(async()=>{const t=e();return await Promise.all(n.map(async({vnodeId:e})=>{const n=t.getById(e);return no(no({},await mo(n)),r)}))}):[]}),Qt.yS.listen("igt:structure:get-title-elements",async()=>{const t=uo(()=>{var t;return Nr((null===(t=e())||void 0===t?void 0:t.values())??[],ao,!0).map(bo)}),n=document.head.querySelector("title");return{frames:t,documentTitle:{title:document.title,source:n?On.Ay.getSource(n):null,selector:[On.Ay.getSelector(n)]}}}),Qt.yS.listen("igt:structure:get-application-elements",async()=>uo(()=>{var t;return Nr((null===(t=e())||void 0===t?void 0:t.values())??[],co,!0).map(yo)})),Qt.yS.listen("igt:structure:get-media-elements",async()=>uo(()=>{var t;return Nr((null===(t=e())||void 0===t?void 0:t.values())??[],lo,!0).map(go)}))}(e),Lo({getTree:e,getFlatTree:t,buildTree:n}),Zo(e,n),Ei(e),Bi(e,n),ls(e),function(e){Qt.yS.listen("igt:ml:debug",({message:t})=>{const{features:n,vnodes:r}=t;On.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?Hr(n):null})}),document.body.appendChild(i)}),On.Ay.cleanupTrees()})}(e)}const ds=["scope"];function fs(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 ps(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fs(Object(n),!0).forEach(function(t){hs(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hs(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 ms=nn()("walnut-chrome:content:events");class gs{constructor({treeBuilder:e}={}){this.treeBuilder=e,this.runtimeListener(),this.pageUnLoadListener(),this.cache={},this.highlighter=null,(0,An.A)().then(e=>{this.highlighter=e}),this.autoSetup=!1,this.selected=[],this.axeResult=null,ln.listeners.initContentBridgeListeners(Qt.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},Qt.yS.listen("request-axe-results",({message:e})=>this.sendAxeResults(e)),Qt.yS.listen("scope:reset",()=>{this.mouseSelection&&this.mouseSelection.removeAllSelections()}),Qt.yS.listen("guide:check-vitals",async({message:e})=>{await this.buildTree({value:{manifest:{metadata:{tree:e.vitals}}},vitals:e.vitals}),Qt.yS.send(Qt._O.devtools,"guide:check-vitals:complete")}),Qt.yS.listen("hide-scrollbars",()=>this.hideScrollbars()),Qt.yS.listen("show-scrollbars",()=>this.showScrollbars()),Qt.yS.listen("dom-walker-jump",({message:e})=>{Qt.yS.send(Qt._O.devtools,"dom-walker-jump",e)}),Qt.yS.listen("build-virtual-tree",async({message:e})=>await this.buildTree(e,!0)),Qt.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}}),Qt.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&&Qt.yS.send(Qt._O.devtools,"dom-walker-jump",{value:{vnodeId:e[0]}}),e}catch{return[]}}),Qt.yS.listen("groot:find-vnode",({message:e})=>this.findNode(e)),Qt.yS.listen("groot:get-ids-by-selectors",({message:e=[]})=>{const t=this.cache.flat.reduce((e,t)=>{var n;return e[n=t.selector,n.flat().join("|")]=t.vnodeId,e},{});return e.map(e=>t[e])}),Qt.yS.listen("groot:is-same-element",({message:{vnode:e,compareVnode:t}})=>this.isSameElement(e,t)),Qt.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 ms("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(ps(ps({},t),n)),e},[]),i=n.reduce((e,t)=>{const n=this.findNode(t);return n&&e.push(ps(ps({},t),n)),e},[]);for(const e of o){const t=i.findIndex(t=>this.isSameElement(e,t));-1!==t?(r.sameInVNodes.push(e),r.sameInCompareVNodes.push(i[t]),i[t]=null):r.uniqueInVNodes.push(e)}return r.uniqueInCompareVNodes=i.filter(Boolean),r}),Sr(()=>this.cache.tree),us({getTree:()=>this.cache.tree,getFlatTree:()=>this.cache.flat,buildTree:this.buildTree.bind(this)}),this.attachIGTHighlightListeners()}attachIGTHighlightListeners(){Qt.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)}),Qt.yS.listen("igt:highlight:remove",async({message:e})=>{const t=await this.getHighlightNodes(e.vnodeIds||[]);for(const e of t)(0,An.A)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}),Qt.yS.listen("igt:selection:add",({message:e})=>{this.handleHighlight("addSelection",{theme:"selected",vnodeId:e.vnodeId},{showTooltip:!1},!0)}),Qt.yS.listen("igt:selection:remove",({message:e})=>{this.handleHighlight("removeSelection",{theme:"selected",vnodeId:e.vnodeId})}),Qt.yS.listen("igt:selection:remove-all",async()=>{await this.mouseSelection.removeAllSelections()}),Qt.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&&Qt.yS.unlisten("forms:get-descendant-elements",wr)})}runtimeListener(){Qt.yS.listen(async({topic:e="",message:t})=>{const[n,r]=e.split(":");"guide"===n&&await this.handleTestMessage(ps({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,ds)||this.axeResult;if(!n)return;const r={};try{r.results=n,r.pageTitle=document.title,r.metadata=dr(),r.metadata.scope=t}catch(e){return{error:{stack:e.stack,message:e.message}}}return r}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){ms("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":(e=>{Qt.yS.send(Qt._O.devtools,"guide:auto-setup",e)})(this.autoSetup?"start":"stop");break;case"request-axe-results":this.sendAxeResults();break;case"axe-result":this.axeResult=n}}async buildTreeForAnalytics(){await cn();const e={rejectTags:["script","style",Ir.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,a=on()(s,"metadata.tree",[]),c=[];let l=!0;await cn(),await Qt.yS.send(Qt._O.devtools,"guided:inject-axe");const u={allowAttrs:["data-.*","aria-.*","method","action","class","id","xlink:href","role","name","src","type","for","title","lang","headers","scope","list"],listeners:{create:o?[]:[xr],update:o?[]:[xr],discard:e=>c.push(e)},rejectTags:["script","style",Ir.wZ],acceptNode:e=>{if(!e.contentWindow)return!0;try{return!!e.contentWindow.axe}catch{return o}}};let d,f;if(o&&this.treeBuilder)d=f=await this.treeBuilder.buildTree(u);else{if(d=new Jt(u),n){const e=[];e.push(()=>d.querySelector(n.selector)),n.fallbackSelector&&e.push(()=>d.querySelector(n.fallbackSelector)),e.push(()=>d.findOne(n,{findOneTimeLimit:2e3}));for(const t of e){const e=t();if(e){n.element=e;break}}n.element?t=n.element:l=!1}ms("Building virtual tree from ",{manifestTree:a}),f=await d.from(a,document.body),null!=n&&n.element&&(f.forEach(e=>{e.element===n.element||e.ancestors.find(e=>e.element===n.element)||f.delete(e.element)}),f.setSeed(n.vnodeId)),c.length&&(({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})||Qt.yS.send(Qt._O.devtools,"guide:discarded",{value:i})})({discarded:c,scope:n,groot:d,tree:f,vitals:r})}return this.cache.tree=globalThis.tree=f,this.cache.flat=Array.from(f.values()).map(fn),this.mouseSelection?await this.mouseSelection.update(f,o):this.mouseSelection=new ar(f,s,o),await this.mouseSelection.initHighlighter(),ms("Built virtual tree",this.cache.flat),Qt.yS.send(Qt._O.devtools,"guide:return-tree",{tree:f,scopePresent:l,discarded:c}),i?n&&l?this.cache.tree.safe(this.cache.tree.get(n.element)):null:t}async handleHighlight(e,t,n,r=!1){ms("handleHighlight",{type:e,value:t});let o=["highlight","select"].includes(e)||r;if(!t){return"clear"===("clearHighlight"===e?"clear":"refresh")&&(this.selected=[]),void this.highlighter.clearHighlights()}const{vnodeId:i,theme:s}=t;if(!this.cache.tree||void 0===i)return;const a=[].concat(i),c=await this.getHighlightNodes(a);if("removeHighlight"===e){if(1===c.length&&this.selected.includes(c[0]))return void(0,An.A)().then(({highlighters:e})=>{const[t]=c,n=e.get(t);n.setOptions({showTooltip:!1,showMetadata:!1}),n.updatePosition()});for(const e of c)(0,An.A)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}if("removeSelection"===e){this.selected=this.selected.filter(e=>!c.includes(e));for(const e of c)(0,An.A)().then(({highlighters:t})=>{var n;null===(n=t.get(e))||void 0===n||n.destroy()})}"setSelections"===e&&(o=o||1===c.length,await Promise.all(this.selected.map(async e=>{var t;const{highlighters:n}=await(0,An.A)();null===(t=n.get(e))||void 0===t||t.destroy()})),this.selected=c),"addSelection"===e&&this.selected.push(...c);let l=!1;for(const e of c){const t=this.cache.tree.get(e),r=this.highlighter.createHighlighter(e,(null==t?void 0:t.selector)||e.selector);r.highlight(ps({theme:s||"selected",showMetadata:!1,showTooltip:!1},n)),o&&!l&&(r.scrollIntoView(),l=!0)}}async highlightNodes(e,t,n){await(0,An.A)();const r=(e||[]).filter(e=>null!=e),o=await this.getHighlightNodes(r.map(({vnodeId:e})=>e)),i=e=>{if(e.mlOnly)return"ml"};o.forEach((e,o)=>{const s=this.cache.tree.get(e),a=this.highlighter.createHighlighter(e,(null==s?void 0:s.selector)||e.selector);a.highlight(ps(ps({theme:i(r[o])||"selected",showMetadata:!1,showTooltip:!1},t),r[o].highlightOptions)),n&&0===o&&a.scrollIntoView()})}async getHighlightNodes(e){const t=[];for(const n of e){const e=this.cache.tree.getById(n);if(e){const n=await In(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=this.highlighter.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)}}var ys=n(66884);const bs={listen:(e,t)=>Qt.yS.listen(e,t),unlisten:(e,t)=>Qt.yS.unlisten(e,t),send:(e,t,n)=>(0,en.A)(e,t,n),sendAll:(e,t)=>Qt.yS.send(Qt._O.content,e,t,{allFrames:!0}),sendReply:(e,t)=>Qt.yS.send(Qt._O.content,e,t)},vs=()=>{let e;const t=new Zt({frameMessenger:bs});return(0,ys.$)()&&(e=new gs({treeBuilder:t})),e}},10073(e,t,n){"use strict";n.d(t,{R8:()=>i});let r=console;const o=()=>{const e={NODE_ENV:"production",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,HOT_RELOAD:"false",HOT_RELOAD_PORT:"8098",DOCS_SITE_URL:"https://docs.deque.com/devtools-for-web",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-for-web/4/en/devtools-whatslefttotest",USER_FLOW_URL:"https://docs.deque.com/devtools-for-web/4/en/user-flow-analysis",AXE_PRO_TRIAL_PATH:"/axe-devtools-pro/trial",ENV:"local",AXE_PRO_URL:"http://localhost:1234",USAGE_SERVICE_URL:"https://usage.dequelabs.com",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DOCS_SITE_HOST:"https://docs.dequelabs.com",DATADOG_CLIENT_TOKEN:""}.LOGGING_ENABLED;return"1"===e||"true"===e},i=(...e)=>{o()&&r.warn(...e)}},13205(e,t,n){"use strict";n.d(t,{e:()=>r});const r={4.11:"4.11.4","4.12.0":"4.12.0",4.12:"4.12.1","4.11.4":"4.11.4","4.11.3":"4.11.3","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.12.1":"4.12.1"}},60857(e,t,n){"use strict";n.d(t,{Aw:()=>s,BN:()=>a,Ew:()=>c,Yw:()=>l,cT:()=>i,jC:()=>r,rD:()=>o});const r="free",o="trialing",i="trial_ended",s="trial_payment_failed",a="paid",c="paid_payment_failed",l="free_payment_failed"},41803(e,t,n){"use strict";n.d(t,{y:()=>o});const{FIREFOX:r}={FIREFOX:"false"};let o;if("true"!==r){const{datadogLogs:e}=n(76551);o=e}},46499(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(23884);let o;async function i(){return(await s()).distinct_id}const s=async()=>{if(o)return o;const{axeServerURL:e,session:t}=await browser.storage.local.get(["axeServerURL","session"]);return o=await(0,r.getDistinctIdCookie)({host:"default"===e?"http://localhost:1234":e,origin:globalThis.location.origin,token:null==t?void 0:t.access_token}),o}},66884(e,t,n){"use strict";n.d(t,{$:()=>r,J:()=>o});const r=(e=window)=>window.top===e,o=e=>e.origin===window.location.origin},882(e,t,n){"use strict";async function r(){const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");return e&&"default"!==e?e:"http://localhost:1234"}n.d(t,{A:()=>r})},91968(e,t,n){"use strict";n.d(t,{vV:()=>c});var r=n(41803),o=n(68280);function i(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(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 c=({originalError:e,message:t,level:n="error",additionalContext:i={},isSerialized:a=!1})=>{if(!o.E9())return;if(a)return void r.y.logger[n](t,s(s({},e),i));const c=(e=>e instanceof Error?e:new Error("Unknown error"+(e?`: ${e}`:"")))(e),l={error:c.message,stack:c.stack,original_error:e};r.y.logger[n](t,s(s({},l),i))}},22395(e,t,n){"use strict";n.d(t,{Ay:()=>a,_o:()=>s});n(1240);var r=n(13205),o=n(77699),i=n.n(o);n(9510);function s(e){if(!e||"latest"===e)return"latest";if(Object.keys(r.e).find(t=>t===e))return e;const t=Object.values(r.e),n=i()(t,`>=${e}`);if(!n)return"latest";const o=Object.entries(r.e);for(const[e,t]of o)if(t===n)return e}function a(e){return Object.keys(r.e).includes(null==e?void 0:e.toString())}},78230(e,t,n){"use strict";n.d(t,{Ay:()=>h,rJ:()=>s,pK:()=>b,gi:()=>y});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}function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(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 h=f({sanitize:e=>s().commons.text.sanitize(e),sanitizeContext:g,isValidLang(e){const t=s();return!!e&&t.utils.isValidLang(e)},hasContent(e){const t=s(e),n=O(t,e);return!!n&&t.commons.dom.hasContentVirtual(n)},getRequiredContext(e){const t=s();return e?t.commons.aria.requiredContext(e):[]},isOffscreen:(...e)=>o(e.map(v)),isVisible:(e,t=!1)=>!!e.ownerDocument.defaultView&&o(function(e,t){const n=s(e,t);t&&(n.teardown(),n.setup());return n.commons.dom.isVisible(e,!1,!0)}(e,t)),isSRVisible:(...e)=>o(e.map(w)),isOpaque:(...e)=>o(e.map(x)),getRoleType:(...e)=>o(e.map(S)),runContrastAnalysis:e=>async function(e){const t=s();A();try{var n,r;const o=await t.run(Array.isArray(e)?e.map(g):g(e),{runOnly:{type:"rule",values:["color-contrast"]},restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations"]}),i=null==o||null===(n=o.violations)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.nodes;return(null==i||null===(r=i.map)||void 0===r?void 0:r.call(i,e=>{const t=e.any[0],n=["fgColor","bgColor","contrastRatio","expectedContrastRatio"],r=parseInt(t.data.fontSize.split(" ")[0]),o="bold"===t.data.fontWeight;return{data:f(f({},Object.fromEntries(Object.entries(t.data).filter(([e])=>n.includes(e)))),{},{fontSize:r,isBold:o}),selector:e.target}}))||[]}catch(e){console.error(e)}finally{m(document.body)}return[]}(e),isWidgetRole:e=>s().commons.aria.lookupTable.rolesOfType.widget.includes(e),isFocusable:(...e)=>o(e.map(E)),getTabbableElements:e=>function(e){const t=s(e,!0),n=O(t,e);return t.commons.dom.getTabbableElements(n).map(({actualNode:e})=>e)}(e),getFlattenedTree:m,getSource(e){if(e.nodeType!==Node.ELEMENT_NODE)return null;return new(s().utils.DqElement)(e).source},getSelector(e){const t=s();return t._selectorData||(t._selectorData=t.utils.getSelectorData(t.utils.getFlattenedTree())),t.utils.getSelector(e)},getElementStack(e,t=!0){const n=s();return t&&(n.teardown(),n.setup()),n.commons.dom.getElementStack(e)},idrefs:(e,t)=>s(e).commons.dom.idrefs(e,t),table:{isRowHeader:e=>s(e).commons.table.isRowHeader(e),isColumnHeader:e=>s(e).commons.table.isColumnHeader(e),toGrid(e){const t=s(e);return t.teardown(),t.setup(),t.commons.table.toGrid(e)},isDataTable:e=>s(e).commons.table.isDataTable(e),getCellPosition:(e,t)=>s(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 s(n[0][0]).commons.table.traverse(e,t,n,r)}},setupTrees:function(){A(),r.clear()},cleanupTrees:A,isAxeSetUp:e=>!!s(e)._tree},i);function m(e){const t=s(),n=t.utils.getFlattenedTree(e.ownerDocument);return r.set(t,n),n}function g(e){if(!e.ownerDocument||e.ownerDocument===document)return e;const t=s();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 y(e){return!!s(e).utils.getNodeFromTree(e)}function b(e=document.documentElement){try{return!!s(e,!1)}catch{return!1}}function v(e){return s(e).commons.dom.isOffscreen(e)}function w(e){return s(e).commons.dom.isVisible(e,!0,!1)}function S(e){const t=s(e),n=function(e){return s(e).commons.aria.implicitRole(e)}(e),r=t.commons.aria.lookupTable.role[n];return r&&r.type}function O(e,t){let n=r.get(e);return n||(n=e.utils.getFlattenedTree(t.ownerDocument),r.set(e,n)),e.utils.getNodeFromTree(n[0],t)}function x(e){return s(e).commons.dom.isOpaque(e)}function E(e){const t=s(e);return y(e)?t.commons.dom.isFocusable(e):void 0}function A(){r.forEach((e,t)=>{t.teardown(),r.delete(t)})}},95249(e,t,n){"use strict";var r=n(96367),o=n(60119),i=n(66884);function s(e,t){t instanceof URL||(t=new URL(t)),(0,i.J)(t)&&window.postMessage(e,t.origin)}r.yS.listen("init",({message:e})=>{0});var a=n(13205);function c(e="latest"){if("latest"===e||!e)return window.axe;const t=a.e[e];return window.axeVersions[t]||window.axe}var l=n(78230),u=n(43955),d=n(31146),f=n(10884),p=n(882);function h(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 m(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||m(n))return!0}return!1}function g(e){return!!e&&m(e)}function y(e){return!!e&&e.flat.some(e=>e.isCrossOrigin)}n.dn(h);var b=n(91968);const v=async(e,t,n)=>{if(e)try{await r.yS.send(r._O.background,t,n)}catch(e){(0,b.vV)({originalError:e,message:`Failed sending ${t} message to MCP server`,level:"error"})}};const w="precise",S="balanced",O="thorough";var x=n(61740);const E={key:S,label:x.Ay`Balanced (70%+ confidence)`,labelDescription:x.Ay`Recommended for most testing`,value:.7};x.Ay`Precise (90%+ confidence)`,x.Ay`Shows fewer issues, all highly reliable`,x.Ay`Thorough (50%+ confidence)`,x.Ay`Shows more potential issues, some may be false alarms`;var A=n(22395);const T=["include","axeVersion","mcpEnabled","enableExperimentalRules","enableRecorder","enableAdvancedRules","aiDisabled","failConfidenceThreshold"],C=["axeVersion"];function I(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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P(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 j(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 k="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 R,_;{const{default:e}=n(16275);({default:_}=n(86739)),R=e()}const M=()=>{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:!!R&&R.getScope()!==document}};r.yS.listen("axe:add-version",({message:{axeVersion:e,enableRecorder:t}})=>{const n=(0,f.A)(e).then(n=>{if(n&&t&&_){const t=c(e);t&&_.addRecorderToAxe(t,{bridge:r.yS})}return n});if((0,i.$)())return n}),r.yS.listen("axe:run",async e=>{var t;let{message:{include:n,axeVersion:o,mcpEnabled:a=!1,enableExperimentalRules:f,enableRecorder:m,enableAdvancedRules:g=!1,aiDisabled:b,failConfidenceThreshold:w=E.value}}=e,S=j(e.message,T);const O=a?(0,A._o)(o):o,x=c(O),C=[];a&&o&&O!==o&&C.push(`Incompatible axe-core version set in axe Configuration, ${o}, running analysis with closest version, ${O}`);const I=(e,t,n)=>e.reduce((e,r)=>(n&&r.tags.includes(n)||(e[r.ruleId]={enabled:t}),e),{}),P=f?I(x.getRules(["experimental"]),!0,"advanced"):{},_=I(x.getRules(["advanced"]),g,f?void 0:"experimental"),{clearHighlights:D}=await(0,u.A)();D();const L=N(N({restoreScroll:!0,pingWaitTime:5e3,resultTypes:["violations","incomplete"],advanced:{aiDisabled:b,attachDebugger:!1,screenshot:!1,failConfidenceThreshold:w}},S),{},{rules:N(N(N({},P),_),S.rules)}),F=N({results:null,error:null,pageURL:null===(t=document)||void 0===t?void 0:t.URL,axeRunOptions:L},C.length>0&&{messages:C});try{var V,$,B;let e,t,r,o;l.Ay.cleanupTrees(),g&&m&&(0,i.$)()&&(e=document.documentElement.scrollLeft,t=document.documentElement.scrollTop,window.scrollTo(e,0));const a=null===(V=R)||void 0===V?void 0:V.getScopeVNode();if(S.includeCrossOrigin){if(r=n||(null==a?void 0:a.selector)||document,r!==document){const e=h(r);if(Array.isArray(e)&&e.length>1)r=e;else{const{element:e,usedSelector:t}=((e,t)=>{const n=h(e),r=(0,d.A)(Array.isArray(n)?n:[n]);if(r)return{element:r,usedSelector:n};if(!t)return{element:null,usedSelector:null};const o=h(t);return{element:(0,d.A)(Array.isArray(o)?o:[o]),usedSelector:o}})(r,null==a?void 0:a.fallbackSelector);if(!e)throw new Error(k);r=t}}}else{var H;let e=null;n&&(e=Array.isArray(n)?n:[n]);const t=e?(0,d.A)(e):null;if(e&&!t)throw new Error(k);if(o=t||(null===(H=R)||void 0===H?void 0:H.getScope()),!o&&null!=a&&a.fallbackSelector&&(o=(0,d.A)(a.fallbackSelector)),!o&&null!=a&&a.selector)throw new Error(k);o=o||document,r=null===l.Ay||void 0===l.Ay?void 0:l.Ay.sanitizeContext(o)}const c=await x.run([r],L);"number"==typeof e&&"number"==typeof t&&window.scrollTo(e,t),l.Ay.getFlattenedTree((null===($=o)||void 0===$?void 0:$.documentElement)||(null===(B=o)||void 0===B||null===(B=B.ownerDocument)||void 0===B?void 0:B.documentElement)||document.documentElement),!g&&null!=c&&c.advancedRuleInput&&delete c.advancedRuleInput,(async()=>{try{s({message:"walkthrough:scanned"},await(0,p.A)())}catch{}})(),F.results=c}catch(e){const t={message:e.message||"Unknown Error",stack:e.stack||""};F.error=t}if(a&&F.results){var W;const e=y(await(null===(W=R)||void 0===W?void 0:W.buildTreeForAnalytics()));await r.yS.send(r._O.devtools,"mcp:analyze-analytics",{results:F.results,documentMetadata:M(),experimental:f,hasCrossOriginIframes:e})}return await v(a,"mcp:axe-results",F),F}),r.yS.listen("axe:get-analytics",async({message:e})=>{var t;let n,r=!1,o=!1,i=null===(t=R)||void 0===t?void 0:t.getScopeVNode();var s;!i&&null!=e&&e.include&&(n=await(null===(s=R)||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=g(i)}else{var c;if(!n)n=await(null===(c=R)||void 0===c?void 0:c.buildTreeForAnalytics());o=y(n)}return{isCrossOrigin:r,hasCrossOriginIframes:o}}),r.yS.listen("axe:configure",e=>{let{message:{axeVersion:t}}=e,n=j(e.message,C);const r=c(t);return null==r?void 0:r.configure(n)}),r.yS.listen("axe:reset-locale",({message:e})=>{var t;const n=c(e);null!=n&&n.resetLocale?n.resetLocale():null!=n&&null!==(t=n._audit)&&void 0!==t&&t._resetLocale&&n._audit._resetLocale()}),r.yS.listen("axe:version",()=>c().version),r.yS.listen("axe:ping",({message:e})=>new Promise(t=>{setTimeout(()=>{t(!1),clearInterval(n)},500);const n=setInterval(()=>{c(e)&&(t(!0),clearInterval(n),clearTimeout(t))},100)})),r.yS.listen("get-document-metadata",M),r.yS.listen("extension:logout",async()=>{const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");s({message:"extension:logout"},e&&"default"!==e?e:"http://localhost:1234")});var D=n(23569),L=n.n(D);function F(e,t=!0){const n=e.ownerDocument.defaultView,r=(0,i.$)(n),o=e,s=o.getBoundingClientRect(),a=!s.height||!s.width,c=n.getComputedStyle(o)||{};let l=n.frameElement,u=s,d=u.top+(r?n.pageYOffset:0),f=u.left+(r?n.pageXOffset:0),p=d,h=f;if(l)for(p=u.top,h=u.left,d=u.top,f=u.left;l&&t;){const{frameElement:e,pageYOffset:t,pageXOffset:n}=l.ownerDocument.defaultView,r=(0,i.$)(l.ownerDocument.defaultView),o=window.getComputedStyle(l),s=Math.max(parseFloat(o.borderLeftWidth),0),a=Math.max(parseFloat(o.borderTopWidth),0);u=l.getBoundingClientRect(),p+=u.top+a+(r?t:0),h+=u.left+s+(r?n:0),l=e}const m=n.frameElement?{top:p-window.pageYOffset,left:h-window.pageXOffset,height:s.height,width:s.width}:s,g=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}}(m),y=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}}(m),b=e=>+e?.replace("px","")||0,{height:v,width:w}=n.visualViewport||{width:n.innerWidth,height:n.innerHeight};return{hidden:a,offViewport:g.top||g.bottom||g.left||g.right,offscreen:y.top||y.bottom||y.left||y.right,offscreenTop:y.top,offscreenBottom:y.bottom,offscreenLeft:y.left,offscreenRight:y.right,fullscreen:p<=0&&h<=0&&s.width>=w&&s.height>=v,top:p,left:h,offsetTop:d,offsetLeft:f,width:s.width,height:s.height,margin:{top:b(c.marginTop),right:b(c.marginRight),bottom:b(c.marginBottom),left:b(c.marginLeft)},border:{top:b(c.borderTopWidth),right:b(c.borderRightWidth),bottom:b(c.borderBottomWidth),left:b(c.borderLeftWidth)},padding:{top:b(c.paddingTop),right:b(c.paddingRight),bottom:b(c.paddingBottom),left:b(c.paddingLeft)}}}var V=n(33381);r.yS.listen("highlight",async({message:e={}})=>{const{createHighlighter:t,clearHighlights:n}=await(0,u.A)();let o=null;if(e&&e.selector?o=e.selector:Array.isArray(e)&&(o=e),n(),o){const n=(0,d.A)(o);let i=null;if(!n&&o.length>1){if(i=await(0,V.A)(o),!i)return!1}else if(!n)return!1;const s=t(n||i,o),{highlightTheme:a}=await browser.storage.local.get("highlightTheme");return s.highlight({theme:a||"high-contrast"}),e.scrollIntoView&&(n?s.scrollIntoView():await r.yS.send(r._O.content,"highlight:scrollIntoView",{selector:[o[o.length-1]]},{frameId:i.frameId})),!0}return!1});const $=async()=>{(await(0,u.A)()).clearHighlights()};if(r.yS.listen("highlight:hide",async()=>{(await(0,u.A)()).hideHighlights()}),r.yS.listen("highlight:show",async()=>{(await(0,u.A)()).showHighlights()}),r.yS.listen("highlight:clear",$),r.yS.listen("devtools:close",$),r.yS.listen("highlight:get-element-layout",({message:{selector:e}})=>{const t=(0,d.A)(e);return t?F(t,!1):{top:0,left:0}}),!(0,i.$)()){const e=L()(()=>r.yS.send(r._O.content,"highlight:update"),100);window.addEventListener("scroll",e,!0),window.addEventListener("beforeunload",()=>{window.removeEventListener("scroll",e)}),r.yS.listen("highlight:get-node-metadata",async({message:{selector:e}})=>{const t=(0,d.A)(e);return t?{tagName:t.tagName,classList:Array.from(t.classList),attributes:{id:t.getAttribute("id")}}:{tagName:"unknown",classList:[],attributes:{}}}),r.yS.listen("highlight:scrollIntoView",({message:{selector:e}})=>{const t=(0,d.A)(e);null==t||t.scrollIntoView({block:"center",behavior:"smooth",inline:"nearest"})})}r.yS.listen("highlight:update",async()=>{const{highlighters:e,updateHighlighters:t}=await(0,u.A)(),n=Array.from(e.keys()).filter(e=>e.frameId);e.size&&(await Promise.all(n.map(async t=>{const n=await(0,V.A)(t.selector);if(n){const r=e.get(t);r.target=n,e.set(n,r)}e.delete(t)})),t())}),(0,i.$)()&&(async()=>{const{emitter:e,highlightHidden:t}=await(0,u.A)();e.on("highlighter:change",async()=>{const{highlighters:e}=await(0,u.A)(),n=globalThis.tree,o=Array.from(e).map(([e,r])=>{var o;return{vnodeId:null==n||null===(o=n.get(e))||void 0===o?void 0:o.vnodeId,selector:r.selector,theme:r.theme,hidden:r.axeHighlighter.classList.contains(t)}});r.yS.send(r._O.devtools,"highlight:changed",o)})})();function B(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 H(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 W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function U(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&&s({message:"extension:healthcheck:response"},t)})})(),r.yS.listen("node:exists",async({message:e})=>{const{selector:t}=e,n=(0,d.A)(t);return null!=n}),r.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,d.A)(t);return[e,!!n&&(0,l.gi)(n)]}))}),r.yS.listen("node:get-info",async({message:{selector:e}})=>{const t=(0,d.A)(e);return{name:l.Ay.name(t),role:l.Ay.getRole(t)}}),r.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,d.A)(e),r);const{clearHighlights:r}=await(0,u.A)();r();const o=await l.Ay.runContrastAnalysis(Object.values(n)),i={};for(const{selector:e,data:t}of o){i[n.get((0,d.A)(e))]=t}return i});const z=e=>"contentWindow"in e,q={x:0,y:0,top:0,left:0,height:0,width:0},G=(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)}},Y=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}},K=(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}};r.yS.listen("node:bounding-box",async({message:e})=>{const{selector:t,options:n}=e,{node:r,residual:i}=B(t),s=!1!==(null==n?void 0:n.padCollapsedRect),a=!0===(null==n?void 0:n.includePageScroll),c=e=>a?{rect:e,scroll:{x:window.scrollX,y:window.scrollY}}:e;if(null==r)return a?{rect:null,scroll:{x:window.scrollX,y:window.scrollY}}:q;if(z(r)&&null!=i&&i.length){const e=await(0,o.A)(r.contentWindow,"node:bounding-box",{selector:i,options:a?W(W({},n),{},{includePageScroll:!1}):n}),t=K(r,r.getBoundingClientRect(),e);return c(s?Y(t):t)}G(r,n);const l=r.getBoundingClientRect();return c(s?Y(l):l)}),r.yS.listen("node:get-text-selector",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=B(t);if(null==n)return t;if(z(n)&&null!=r&&r.length)return[...t,...await(0,o.A)(n.contentWindow,"node:get-text-selector",{selector:r})];if("SELECT"===(s=n).tagName&&"options"in s){const e=l.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 i;if("innerText"in t&&(null===(i=t.innerText)||void 0===i?void 0:i.trim())===r)return[l.Ay.getSelector(t)]}}var s;return t}),r.yS.listen("node:bounding-box-text",async({message:e})=>{const{selector:t,options:n}=e,{node:r,residual:i}=B(t);if(null==r)return q;if(G(r,n),z(r)&&null!=i&&i.length){const e=r.getBoundingClientRect(),t=await(0,o.A)(r.contentWindow,"node:bounding-box-text",{selector:i,options:n});return K(r,e,t)}const s=document.createRange();s.selectNodeContents(r);return s.getBoundingClientRect()}),r.yS.listen("node:computed-text-color",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=B(t);return z(n)&&null!=r&&r.length?await(0,o.A)(n.contentWindow,"node:computed-text-color",{selector:r}):window.getComputedStyle(n).color});const X=new WeakMap,J=new WeakMap,Z={color:"transparent"},Q={webkitTransition:"none",transition:"none"};r.yS.listen("node:set-transparent-text",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=B(t);if(null!=n)if(z(n)&&null!=r&&r.length)await(0,o.A)(n.contentWindow,"node:set-transparent-text",{selector:r});else{const e=async e=>{const t={},n={};for(const[r]of Object.entries(Q))t[r]=e.style.getPropertyValue(r),n[r]=e.style.getPropertyPriority(r);for(const[t,n]of Object.entries(Q))e.style.setProperty(t,n,"important");await new Promise(r=>setTimeout(()=>{for(const[r,o]of Object.entries(Z))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");X.set(e,t),J.set(e,n)};await e(n);for(const t of Array.from(n.children))await e(t)}}),r.yS.listen("node:set-transparent-text-reset",async({message:e})=>{const{selector:t}=e,{node:n,residual:r}=B(t);if(null!=n)if(z(n)&&null!=r&&r.length)await(0,o.A)(n.contentWindow,"node:set-transparent-text-reset",{selector:r});else{const e=async e=>{const t=X.get(e)||{},n=J.get(e)||{};for(const r of Object.keys(t))r in Q||e.style.setProperty(r,t[r],n[r]);await new Promise(r=>setTimeout(()=>{for(const r of Object.keys(Q))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)}}),r.yS.listen("node:is-valid-auto-cc-target",async({message:{selector:e}})=>{const{node:t,residual:n}=B(e);if(null!=t){if(z(t)&&null!=n&&n.length)return(0,o.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)}}}),r.yS.listen("node:focus",async({message:e})=>{const{selector:t,timeout:n=5e3}=e,{node:r,residual:i}=B(t);null!=r&&(z(r)&&null!=i&&i.length?await(0,o.A)(r.contentWindow,"node:focus",{selector:i}):await Promise.race([Promise.all([r.focus(),...r.getAnimations({subtree:!0}).map(e=>e.finished)]),new Promise(e=>setTimeout(e,n))]))}),r.yS.listen("node:reset-focus",()=>{document.activeElement&&document.activeElement.blur()}),r.yS.listen("selector:identify",async({message:e})=>{const{selector:t}=e,{node:n,context:r,residual:i}=B(t),s=n.contentWindow,a=[{selector:r,frameId:window.frameId,frameURL:window.location.href}];if(s&&null!=i&&i.length){const e=await(0,o.A)(s,"selector:identify",{selector:i});a.push(...e)}return a}),r.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})),r.yS.listen("control:currentScroll",()=>document.documentElement.scrollTop),r.yS.listen("control:scrollToTop",({message:e})=>{window.scrollTo((null==e?void 0:e.x)||0,(null==e?void 0:e.y)||0)});const ee=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}=B(e.selector);if(!n)return t;const i=n.getBoundingClientRect();if(t={x:i.x,y:i.y,width:i.width,height:i.height},null==r||!r.length)return t;const s=await(0,o.A)(n.contentWindow,"control:boundingbox:content",{selector:r});if(!s)return t;const a=window.getComputedStyle(n);return t.x+=s.x+Math.max(parseFloat(a.borderLeftWidth),0),t.y+=s.y+Math.max(parseFloat(a.borderTopWidth),0),t.width=s.width,t.height=s.height,t};(0,i.$)()?r.yS.listen("control:boundingbox:top",ee):r.yS.listen("control:boundingbox:content",ee);var te=n(76058);const ne=(0,i.$)(),re=e=>{var t,n;return(null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase())===te.wZ||(null===(n=e.getRootNode())||void 0===n||null===(n=n.host)||void 0===n?void 0:n.tagName.toLowerCase())===te.wZ},oe=e=>!!e.flatMap(e=>[...Array.from(e.addedNodes),...Array.from(e.removedNodes)]).find(e=>!re(e)),ie=e=>!!e.find(e=>!re(e.target)),se=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 oe(t)||ie(n)})(e)&&await r.yS.send(r._O.devtools,"page-observer:mutated",{isTop:ne})};let ae=null;r.yS.listen("page-observer:start",async()=>{ae||(ae=new MutationObserver(se),ae.observe(document.body,{attributes:!0,subtree:!0,childList:!0}))}),r.yS.listen("page-observer:end",async()=>{var e;null===(e=ae)||void 0===e||e.disconnect(),ae=null}),document.addEventListener("beforeunload",()=>{ae.disconnect(),ae=null});const ce="customIntegrationConnectionLink";(0,o.T)(),r.yS.listen("custom-integration:fetch-state",async()=>{const{[ce]:e}=await browser.storage.local.get(ce);return browser.storage.local.remove(ce),e});const le=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},ue=async e=>{const t=await le();try{s({message:e},t)}catch{}},de=async e=>{const t=await le(),n=URL.parse(e.origin);if(t.origin===(null==n?void 0:n.origin))switch(e.data.message){case"app:logout":r.yS.send(r._O.background,"app:logout");break;case"app:plan:change":r.yS.send(r._O.background,"app:plan:change");break;case"walkthrough:check:open":await r.yS.send(r._O.devtools,"panel:is:open")&&ue("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({[ce]:{testId:t,url:n}}),r.yS.send(r._O.devtools,"custom-integration:launch",{testId:t,url:n}))})()}};(0,i.$)()&&(window.addEventListener("message",de),r.yS.listen("walkthrough:panel-open:status",()=>{ue("walkthrough:opened")}),r.yS.listen("walkthrough:test-saved:status",()=>{ue("walkthrough:saved")}),r.yS.listen("walkthrough:igt-completed:status",()=>{ue("walkthrough:igt:completed")}))},31146(e,t,n){"use strict";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})},68280(e,t,n){"use strict";n.d(t,{E9:()=>de});var r=n(53940),o=n(9510),i=n(96367),s=n(81305),a=n(10073),c=n(60857),l=n(46499),u=n(41803),d=n(91968);const f=["event"];function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(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{AMPLITUDE_API_KEY:g,DATADOG_CLIENT_TOKEN:y,NODE_ENV:b}={NODE_ENV:"production",AMPLITUDE_API_KEY:"5faf82a87f563be7741eca93a9cdef37",DATADOG_CLIENT_TOKEN:""};let v;try{var w;const e=n(75478);v=null!==(w=e.default)&&void 0!==w&&w.getInstance?e.default.getInstance():e.getInstance()}catch{}const S=()=>!!v&&!0,O="enterpriseId",x="conversion:install",E="conversion:uninstall",A="user:login",T="user:open",C="analysis:analyze",I="record:delete",N="record:rename",P="analysis:complete",j="analysis:ai:request:fail",k="analysis:userCorrection",R="issues:export",_="issue:inspected",M="issue:relatedInspected",D="issue:toggleHighlight",L="issue:moreInfo",F="ml:suggestedInteractiveElement",V="ml:suggestedInteractiveElementRejected",$="ml:missedInteractiveElement",B="ml:suggestedRole",H="ml:suggestedRoleAccepted",W="ml:suggestedRoleRejected",U="ml:suggestedTableHeader",z="ml:suggestedTableHeaderRejected",q="conversion:click:scanPart",G="conversion:click:saveTest",Y="conversion:click:export",K="conversion:click:shareIssue",X="analysis:startUFA",J=(e=[],t)=>e.filter(({impact:e})=>e===t).reduce((e,{nodes:t})=>e+((null==t?void 0:t.length)||1),0),Z=e=>{try{const t=new URL(e);return"localhost"===t.hostname||!!t.port||"file://"===t.origin}catch{return!1}},Q=e=>{if(void 0===e)return;const t=Array.from(new Set(e.map(e=>e.rule||e.id))),n={failedRuleCount:t.length,failedRuleNames:t,criticalIssueCount:J(e,"critical"),seriousIssueCount:J(e,"serious"),moderateIssueCount:J(e,"moderate"),minorIssueCount:J(e,"minor")};if(e.length&&Array.isArray(e[0].nodes)){const t=e.reduce((e,t)=>e+t.nodes.length,0);n.failedItemCount=t}return n},ee=async(e,t=!1)=>{const n=await(0,s.O)(),r=t?e.productName:n.productName,o=t?e.productComponent:n.productComponent,i=h(h({},e),{},{productName:r,productComponent:o});if(S())try{let{event:e}=i,t=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}(i,f);ue(e,t)}catch(e){a.R8("Analytics Data Error",{error:e.message,stack:e.stack})}try{n.postEvent(i)}catch(e){a.R8("Usage Data Error",{error:e.message,stack:e.stack})}},te=e=>{let t="anonymous";switch(null==e?void 0:e.status){case c.rD:t="trial";break;case c.BN:case c.Ew:case c.cT:case c.Aw:case c.jC:case c.Yw:t=e.status}return t},ne=async(e=[])=>{var t;let n,s,a,c;if("devtools"in browser)try{({contentType:n,title:s,url:a,scoped:c}=await i.yS.send(i._O.content,"get-document-metadata"))}catch(e){(0,d.vV)({message:"Unable to get document metadata",originalError:e})}const{usageOrganization:u,usageDepartment:f,usageApplication:p,user:m,cachedUserCompany:g,axeSettings:y,userJobRole:b,cachedUserEmail:v}=await browser.storage.local.get(["usageOrganization","usageDepartment","usageApplication","user","cachedUserCompany","axeSettings","userJobRole","cachedUserEmail"]),w=!(!m||!m.id);return{distinctId:await(0,l.A)(),organization:u||((null==m?void 0:m.company)||g||""),department:f||"",application:p||"",userStatus:te(m),loggedIn:w,devInstance:Z(a),keycloakId:m&&m.id,userId:m&&m.username||v,userJobRole:b||"Anonymous",enterpriseId:null==m||null===(t=m.enterprise)||void 0===t?void 0:t.id,productName:"axe-pro",productComponent:"extension",productComponentVersion:o.rE,applicationProperties:h({engineVersion:r.rE,scoped:c,target:a,targetMedium:n,targetState:s,experimental:!1,rulesetName:(null==y?void 0:y.ruleset)||"all",bestPractices:!!y&&!!y.enableBestPractices},Q(e))}},re=e=>async function(t,n){const r=await ne(t);if(!n)return ee(h(h({},r),{},{event:e}));ee(h(h({},r),{},{event:e,applicationProperties:h(h({},r.applicationProperties),n)}))},oe=e=>t=>re(e)(void 0,t),ie=(re("issue:viewed"),oe(_),oe(M),oe(D),oe(L),re(I),re(N),re(x),re(E),re(A),re(T),(e,t="interactive-elements")=>n=>re(e)(void 0,h({eventTool:t},n)));ie(F),ie(V),ie($),ie(B),ie(H),ie(W),ie(j),ie(k),ie(U,"table"),ie(z,"table"),re(q),re(G),re(Y),re(K),re(X);let se=!1,ae=!1;const ce=async()=>{if(se||!S())return;const e=await(0,l.A)();v.init(g,void 0,{deviceId:e,includeUtm:!0,saveParamsReferrerOncePerSession:!1,includeGclid:!0,includeReferrer:!0,secureCookie:!0,sameSiteCookie:"Lax"}),se=!0},le=async()=>{if(void 0!==globalThis.document&&void 0!==globalThis.XMLHttpRequest){if(ae||!u.y)return!0;u.y.init({clientToken:y,site:"datadoghq.com",service:"axe-extension",env:b,version:o.rE,beforeSend:e=>{var t;if(0===(null==e||null===(t=e.http)||void 0===t?void 0:t.status_code))return!1}}),ae=!0}},ue=async(e,t={})=>{if(!S())return;await(async()=>{await Promise.all([ce(),le()])})();let n={};switch(e){case C:n={analyze:1};break;case P:n={complete:1};break;case R:n={export:1}}await(async(e={})=>{var t;if(!S())return;const{user:n,userJobRole:r="",usageOrganization:o="",cachedUserCompany:i,axeSettings:s,highlightTheme:a,theme:c,locale:l,policySettings:u,axeServerURL:d,firstView:f,exportFormat:p}=await browser.storage.local.get(["user","userJobRole","usageOrganization","cachedUserCompany","axeSettings","highlightTheme","theme","locale","policySettings","axeServerURL","firstView","exportFormat"]);v.setUserId(n&&n.id);const m=n&&n.id,g=null==n||null===(t=n.enterprise)||void 0===t?void 0:t.id,y=(new v.Identify).set("role",r).set("userStatus",te(n)).set("loggedIn",m).set("axeSettings",h(h({highlightTheme:a,theme:c,locale:l,axeServerURL:d},s),{},{ruleset:(null==s?void 0:s.ruleset)||"all"})).set("policySettings",u).set("firstView",f).set("exportSchema",p||"devtools");g&&y.set(O,g);for(const[t,n]of Object.entries(e))isNaN(n)?y.set(t,n):y.add(t,n);v.identify(y),v.setGroup("organization",o||(null==n?void 0:n.company)||i)})(n);const{devInstance:r,productName:o,productComponent:i,productComponentVersion:s,engineVersion:a,enterpriseId:c,applicationProperties:l}=t,u=h(h({devInstance:r,productName:o,productComponent:i,productComponentVersion:s,engineVersion:a},c?{[O]:c}:{}),l);v.logEvent(e,u)},de=()=>ae},60119(e,t,n){"use strict";n.d(t,{A:()=>l,T:()=>u});var r=n(35226),o=n.n(r),i=n(6974),s=n(96367),a=n(66884);const c=o()("frameMessenger");async function l(e,t,n,{timeout:r=500}={}){if((0,a.$)(e))throw new Error("FrameMessenger on top level window is not supported.");const o=function(e){try{const t=e.frameId;return"number"==typeof t?t:void 0}catch(e){return void c("Unable to read same-origin frameId, falling back to handshake: %o",e)}}(e),l=o??await function(e,t){const n=(0,i.A)(),r=`frame-messenger:${n}`;return new Promise((o,i)=>{const a=setTimeout(()=>{s.yS.unlisten(r,c),i(`No response received from frame within timeout of ${t}ms.`)},t),c=({message:e})=>{clearTimeout(a),s.yS.unlisten(r,c),o(e.frameId)};s.yS.listen(r,c),e.postMessage({uuid:n,originFrameId:window.frameId,source:"frame-messenger"},"*")})}(e,r);return s.yS.send(s._O.content,t,n,{frameId:l})}function u(){s.yS.send(s._O.background,"identify-content-frame").then(e=>{window.frameId=e}),(0,a.$)()||window.addEventListener("message",({data:e})=>{(function(e){return e.uuid&&e.originFrameId>=0&&"frame-messenger"===e.source})(e)&&(c(`originFrame:${e.originFrameId} → childFrame:${window.frameId} [${window.location.href}]`),s.yS.send(s._O.content,`frame-messenger:${e.uuid}`,{frameId:window.frameId},{frameId:e.originFrameId}))})}},81305(e,t,n){"use strict";n.d(t,{O:()=>c});var r=n(85500),o=n(80870);const i={chrome:"extension-chrome",firefox:"extension-firefox",edge:"extension-edge"};let s,a;const c=async(e=!1,t)=>{let{usageServerURL:n}=await browser.storage.local.get("usageServerURL");return!e&&s&&n===a||(a=n,"default"===n&&(n="https://usage.dequelabs.com"),s=new r.Ay("axe-devtools-html",i[t||(0,o.fx)()]),s.url(n)),s}},68446(e,t,n){"use strict";var r=n(70367),o=n(47274),i=n(14442),s=n(39454),a=n(6084),c=n(80426);new r.A((0,a.A)("\n"),c.A,i.A,o.A,s.A)},31298(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(31495),o=n.n(r),i=n(31336),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-style:solid}#border,#margin{display:flex;flex:1}#margin{border-color:var(--theme--margin-color,#0000);border-style:solid}#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},17940(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(31495),o=n.n(r),i=n(31336),s=n.n(i),a=n(1299),c=n.n(a),l=new URL(n(55484),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},91126(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(31495),o=n.n(r),i=n(31336),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:.5rem solid #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},31336(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}},1299(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}},31495(e){"use strict";e.exports=function(e){return e[1]}},67151(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 p=i.charAt(d++),h=p.charCodeAt(),m=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&d<f){var g=i.charCodeAt(d++);56320==(64512&g)?h=((1023&h)<<10)+(1023&g)+65536:d--}m="\\"+h.toString(16).toUpperCase()+" "}else m=s.escapeEverything?n.test(p)?"\\"+p:"\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B:]/.test(p)?c||":"!=p?"\\"+h.toString(16).toUpperCase()+" ":p:"\\"==p||!c&&('"'==p&&a==p||"'"==p&&a==p)||c&&r.test(p)?"\\"+p:p;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},61740(e,t){"use strict";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",p={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},h={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:p,M:p,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:h,Y:h},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 p=d.map(function(e,t){return r._localize(a,e,l[t])});return this._buildMessage.apply(this,[c].concat(o(p)))}},{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},11911(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]",p="[object Object]",h="[object Promise]",m="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",v="[object WeakMap]",w="[object ArrayBuffer]",S="[object DataView]",O=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,E=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T=/\\(\\)?/g,C=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,N={};N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[i]=N[s]=N[w]=N[a]=N[S]=N[c]=N[l]=N[u]=N[d]=N[f]=N[p]=N[m]=N[g]=N[y]=N[v]=!1;var P="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,j="object"==typeof self&&self&&self.Object===Object&&self,k=P||j||Function("return this")(),R=t&&!t.nodeType&&t,_=R&&e&&!e.nodeType&&e,M=_&&_.exports===R&&P.process,D=function(){try{return M&&M.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 $(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function B(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,U,z,q=Array.prototype,G=Function.prototype,Y=Object.prototype,K=k["__core-js_shared__"],X=(W=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",J=G.toString,Z=Y.hasOwnProperty,Q=Y.toString,ee=RegExp("^"+J.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=k.Symbol,ne=k.Uint8Array,re=Y.propertyIsEnumerable,oe=q.splice,ie=(U=Object.keys,z=Object,function(e){return U(z(e))}),se=Be(k,"DataView"),ae=Be(k,"Map"),ce=Be(k,"Promise"),le=Be(k,"Set"),ue=Be(k,"WeakMap"),de=Be(Object,"create"),fe=Ke(se),pe=Ke(ae),he=Ke(ce),me=Ke(le),ge=Ke(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 Oe(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.__data__=new Oe;++t<n;)this.add(e[t])}function Ee(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 Pe(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},Oe.prototype.clear=function(){this.__data__={hash:new we,map:new(ae||Se),string:new we}},Oe.prototype.delete=function(e){return $e(this,e).delete(e)},Oe.prototype.get=function(e){return $e(this,e).get(e)},Oe.prototype.has=function(e){return $e(this,e).has(e)},Oe.prototype.set=function(e,t){return $e(this,e).set(e,t),this},xe.prototype.add=xe.prototype.push=function(e){return this.__data__.set(e,r),this},xe.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.clear=function(){this.__data__=new Se},Ee.prototype.delete=function(e){return this.__data__.delete(e)},Ee.prototype.get=function(e){return this.__data__.get(e)},Ee.prototype.has=function(e){return this.__data__.has(e)},Ee.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 Oe(r)}return n.set(e,t),this};var Ie,Ne,Pe=(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=Ne?n:-1,o=Object(e);(Ne?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 ke(e,t){for(var n=0,r=(t=Ue(t,e)?[t]:Fe(t)).length;null!=e&&n<r;)e=e[Ye(t[n++])];return n&&n==r?e:void 0}function Re(e,t){return null!=e&&t in Object(e)}function _e(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 h=nt(e),v=nt(t),O=s,x=s;h||(O=(O=He(e))==i?p:O);v||(x=(x=He(t))==i?p:x);var E=O==p&&!$(e),A=x==p&&!$(t),T=O==x;if(T&&!E)return u||(u=new Ee),h||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=B;case g:var p=2&i;if(u||(u=H),e.size!=t.size&&!p)return!1;var h=s.get(e);if(h)return h==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,O,n,r,o,u);if(!(2&o)){var C=E&&Z.call(e,"__wrapped__"),I=A&&Z.call(t,"__wrapped__");if(C||I){var N=C?e.value():e,P=I?t.value():t;return u||(u=new Ee),n(N,P,r,o,u)}}if(!T)return!1;return u||(u=new Ee),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 p=i.get(e);if(p&&i.get(t))return p==t;var h=!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)){h=!1;break}m||(m="constructor"==f)}if(h&&!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||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,u)}(e,t,_e,n,r,o))}function Me(e){return!(!st(e)||function(e){return!!X&&X in e}(e))&&(ot(e)||$(e)?ee:C).test(Ke(e))}function De(e){return"function"==typeof e?e:null==e?dt:"object"==typeof e?nt(e)?function(e,t){if(Ue(e)&&ze(t))return qe(Ye(e),t);return function(n){var r=function(e,t,n){var r=null==e?void 0:ke(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=Ue(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,Re)}(n,e):_e(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,ze(o)]}return t}(e);if(1==t.length&&t[0][2])return qe(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 Ee;if(r)var f=r(l,u,c,e,t,d);if(!(void 0===f?_e(u,l,r,3,d):f))return!1}}return!0}(n,e,t)}}(e):Ue(t=e)?(n=Ye(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return ke(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:Ge(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 xe:void 0;for(i.set(e,t),i.set(t,e);++u<a;){var p=e[u],h=t[u];if(r)var m=s?r(h,p,u,t,e,i):r(p,h,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)&&(p===e||n(p,e,r,o,i)))return f.add(t)})){d=!1;break}}else if(p!==h&&!n(p,h,r,o,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function $e(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 Be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Me(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 Ue(e,t){if(nt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ct(e))||(x.test(e)||!O.test(e)||null!=t&&e in Object(t))}function ze(e){return e==e&&!st(e)}function qe(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())!=h||le&&He(new le)!=g||ue&&He(new ue)!=v)&&(He=function(e){var t=Q.call(e),n=t==p?e.constructor:void 0,r=n?Ke(n):void 0;if(r)switch(r){case fe:return S;case pe:return d;case he:return h;case me:return g;case ge:return v}return t});var Ge=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 E.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||ct(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ke(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Xe,Je,Ze=(Xe=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=Je?Je():{};return n(e,Xe,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||Oe),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=Oe;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)&&!!N[Q.call(e)]};function ut(e){return rt(e)?Ae(e):Le(e)}function dt(e){return e}e.exports=Ze},40093(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,m(w,y.prototype),w.isPureReactComponent=!0;var S=Array.isArray,O=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,r){var o,i={},s=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)O.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:e,key:s,ref:a,props:i,_owner:x.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function N(e,t,o,i,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var c=!1;if(null===e)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return s=s(c=e),e=""===i?"."+I(c,0):i,S(s)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),N(s,t,o,"",function(e){return e})):null!=s&&(T(s)&&(s=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(C,"$&/")+"/")+e)),t.push(s)),1;if(c=0,i=""===i?".":i+":",S(e))for(var l=0;l<e.length;l++){var u=i+I(a=e[l],l);c+=N(a,t,o,u,s)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),l=0;!(a=e.next()).done;)c+=N(a=a.value,t,o,u=i+I(a,l++),s);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,n){if(null==e)return e;var r=[],o=0;return N(e,r,"","",function(e){return t.call(n,e,o++)}),r}function j(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var k={current:null},R={transition:null};function _(){throw Error("act(...) is not supported in production builds of React.")}},7378(e,t,n){"use strict";n(40093)},73258(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)},68120(e,t,n){var r=n(31298);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},18726(e,t,n){var r=n(17940);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},10632(e,t,n){var r=n(91126);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},72450(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)})}}},76058(e,t,n){"use strict";n.d(t,{wZ:()=>u});var r=n(68120),o=n.n(r),i=n(10632),s=n.n(i),a=n(18726),c=n.n(a);const l=document.createElement("template");l.innerHTML=`\n <style>\n ${c()}\n ${o()}\n ${s()}\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 u="axe-highlighter";const d=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))}};!function(e,t){let n}(d.emit.bind(d),50);new Map},43955(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(10884);async function o(){await(0,r.A)("latest");const e=globalThis.browser.runtime.getURL("highlighter.js");return await import(e)}},55484(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOSIgaGVpZ2h0PSIyOSI+PGNpcmNsZSBjeD0iMTQuNSIgY3k9IjE0LjUiIHI9IjEzLjUiIGZpbGw9IiMwYjE0MWMiIHN0cm9rZT0iI2Q0ZGRlMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PHBhdGggZmlsbD0iIzc2Y2ZlOCIgZD0iTTYuMjMgMTIuNThoLjkydjUuNTFoLS45MmEuOTEuOTEgMCAwIDEtLjkyLS45MVYxMy41YS45Mi45MiAwIDAgMSAuOTItLjkybTE0LjctMS4zOFYxOWExLjg0IDEuODQgMCAwIDEtMS44NCAxLjg0SDkuOTFBMS44NCAxLjg0IDAgMCAxIDguMDcgMTl2LTcuOGEyLjI5IDIuMjkgMCAwIDEgMi4yOS0yLjI5aDMuMjJWNy4wN2EuOTIuOTIgMCAwIDEgMS44NCAwdjEuODRoMy4yMmEyLjI5IDIuMjkgMCAwIDEgMi4yOSAyLjI5bS04IDIuM2ExLjE1IDEuMTUgMCAxIDAtMS4xNSAxLjE1IDEuMTUgMS4xNSAwIDAgMCAxLjE1LTEuMTVtLS4yMyAzLjY4aC0xLjg4di45MWgxLjg0em0yLjc2IDBoLTEuODh2LjkxaDEuODR6bTMtMy42OGExLjE1IDEuMTUgMCAxIDAtMS4xNSAxLjE1IDEuMTYgMS4xNiAwIDAgMCAxLjE1LTEuMTVtLS4yMyAzLjY4aC0xLjg5di45MWgxLjg0em01LjUxLTMuNjh2My42OGEuOTIuOTIgMCAwIDEtLjkyLjkxaC0uOTJ2LTUuNTFoLjkyYS45Mi45MiAwIDAgMSAuOTIuOTIiLz48L3N2Zz4="},3847(){},29645(e,t){"use strict";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"))},59125(e,t,n){"use strict";t.ast=t.render=t.createParser=void 0;var r=n(77578);Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return r.createParser}});var o=n(7221);Object.defineProperty(t,"render",{enumerable:!0,get:function(){return o.render}});var i=n(29645);Object.defineProperty(t,"ast",{enumerable:!0,get:function(){return i.ast}})},23213(e,t){"use strict";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}},77578(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=void 0;var r=n(23213),o=n(24843),i=n(66869),s=n(76528),a="css-selector-parser parse error: ";t.createParser=function(e){void 0===e&&(e={});var t=e.syntax,n=void 0===t?"latest":t,c=e.substitutes,l=e.strict,u=void 0===l||l,d=e.modules,f="object"==typeof n?n:i.cssSyntaxDefinitions[n];if(f.baseSyntax&&(f=(0,i.extendSyntaxDefinition)(i.cssSyntaxDefinitions[f.baseSyntax],f)),f.modules&&f.modules.length>0)for(var p=0,h=f.modules;p<h.length;p++){var m=h[p];(b=i.cssModules[m])&&(f=(0,i.extendSyntaxDefinition)(b,f))}if(d&&d.length>0)for(var g=0,y=d;g<y.length;g++){var b,v=y[g];(b=i.cssModules[v])&&(f=(0,i.extendSyntaxDefinition)(b,f))}var w=f.tag?[!0,Boolean((0,i.getXmlOptions)(f.tag).wildcard)]:[!1,!1],S=w[0],O=w[1],x=Boolean(f.ids),E=Boolean(f.classNames),A=Boolean(f.namespace),T=f.namespace&&(!0===f.namespace||!0===f.namespace.wildcard);if(A&&!S)throw new Error("".concat(a,"Namespaces cannot be enabled while tags are disabled."));var C=Boolean(c),I=f.combinators?(0,r.createMulticharIndex)(f.combinators):r.emptyMulticharIndex,N=f.attributes?[!0,f.attributes.operators?(0,r.createMulticharIndex)(f.attributes.operators):r.emptyMulticharIndex,f.attributes.caseSensitivityModifiers?(0,r.createRegularIndex)(f.attributes.caseSensitivityModifiers):r.emptyRegularIndex,"accept"===f.attributes.unknownCaseSensitivityModifiers]:[!1,r.emptyMulticharIndex,r.emptyRegularIndex,!1],P=N[0],j=N[1],k=N[2],R=N[3],_=R||Object.keys(k).length>0,M=f.pseudoClasses?[!0,f.pseudoClasses.definitions?(0,o.calculatePseudoSignatures)(f.pseudoClasses.definitions):o.emptyPseudoSignatures,"accept"===f.pseudoClasses.unknown]:[!1,o.emptyPseudoSignatures,!1],D=M[0],L=M[1],F=M[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,o.calculatePseudoSignatures)(Array.isArray(f.pseudoElements.definitions)?{NoArgument:f.pseudoElements.definitions}:f.pseudoElements.definitions):o.emptyPseudoSignatures,"accept"===f.pseudoElements.unknown]:[!1,!1,!1,o.emptyPseudoSignatures,!1],$=V[0],B=V[1],H=V[2],W=V[3],U=V[4],z="",q=z.length,G=0,Y="",K=function(e){return Y===e},X=function(){return K("*")||(0,s.isIdentStart)(Y)},J=function(e){G=e,Y=z.charAt(G)},Z=function(){G++,Y=z.charAt(G)},Q=function(){var e=Y;return G++,Y=z.charAt(G),e};function ee(e){var t=Math.min(q-1,G),n=new Error("".concat(a).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(G<q,"Unexpected end of input.")},re=function(){return G>=q},oe=function(e){te(G<q,'Expected "'.concat(e,'" but end of input reached.')),te(Y===e,'Expected "'.concat(e,'" but "').concat(Y,'" found.')),G++,Y=z.charAt(G)};function ie(e){var t=se(e,G);if(t)return G+=t.length,Y=z.charAt(G),t}function se(e,t){var n=e[z.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,s.isHex)(Y)&&t<s.maxHexLength;)e+=Q(),t++;return function(){if(" "===Y||"\t"===Y||"\f"===Y||"\n"===Y)return void Z();"\r"===Y&&Z();"\n"===Y&&Z()}(),String.fromCharCode(parseInt(e,16))}function ce(e){var t="";for(oe(e);G<q;){if(K(e))return Z(),t;K("\\")?(Z(),K(e)?(t+=e,Z()):"\n"===Y||"\f"===Y?Z():"\r"===Y?(Z(),K("\n")&&Z()):(0,s.isHex)(Y)?t+=ae():(t+=Y,Z())):(t+=Y,Z())}return t}function le(){if(!(0,s.isIdentStart)(Y))return null;for(var e="";K("-");)e+=Y,Z();for("-"!==e||(0,s.isIdent)(Y)||K("\\")||ee("Identifiers cannot consist of a single hyphen."),u&&e.length>=2&&ee("Identifiers cannot start with two hyphens with strict mode on."),s.digitsChars[Y]&&ee("Identifiers cannot start with hyphens followed by digits.");G<q;)if((0,s.isIdent)(Y))e+=Q();else{if(!K("\\"))break;Z(),ne(),(0,s.isHex)(Y)?e+=ae():e+=Q()}return e}function ue(){for(var e="";G<q&&!K(")");)if(K("\\")){if(Z(),re()&&!u)return(e+"\\").trim();ne(),(0,s.isHex)(Y)?e+=ae():e+=Q()}else e+=Q();return e.trim()}function de(){for(;s.whitespaceChars[Y];)Z()}function fe(e){void 0===e&&(e=!1),de();for(var t=[ve(e)];K(",");)Z(),de(),t.push(ve(e));return{type:"Selector",rules:t}}function pe(){var e;if(oe("["),de(),K("|")){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(K("*")){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},K("|")){var o=G;if(Z(),(0,s.isIdentStart)(Y)){te(A,"Namespaces are not enabled.");var i=le();te(i,"Expected attribute name."),e={type:"Attribute",name:i,namespace:{type:"NamespaceName",name:r}}}else J(o)}}if(te(e.name,"Expected attribute name."),de(),re()&&!u)return e;if(K("]"))Z();else{if(e.operator=ie(j),te(e.operator,"Expected a valid attribute selector operator."),de(),ne(),s.quoteChars[Y])e.value={type:"String",value:ce(Y)};else if(C&&K("$")){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(!K("]")){var l=le();if(te(l,"Expected end of attribute selector."),e.caseSensitivityModifier=l,te(_,"Attribute case sensitivity modifiers are not enabled."),te(R||k[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),de(),re()&&!u)return e}oe("]")}return e}function he(){for(var e="";s.digitsChars[Y];)e+=Q();return te(""!==e,"Formula parse error."),parseInt(e)}var me=function(){return K("-")||K("+")||s.digitsChars[Y]};function ge(e,t,n){var r;if(K("(")){if(Z(),de(),C&&K("$")){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 i=function(){if(K("e")||K("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(K("-")&&(Z(),r=-1),me()&&(K("+")&&Z(),n=he(),!K("\\")&&!K("n")))return[0,n*r];if(null===n&&(n=1),n*=r,K("\\")?(Z(),t=(0,s.isHex)(Y)?ae():Q()):t=Q(),te("n"===t,'Formula parse error: expected "n".'),de(),K("+")||K("-")){var o=K("+")?1:-1;return Z(),de(),[n,o*he()]}return[n,0]}(),a=i[0],c=i[1];r={type:"Formula",a,b:c},n.ofSelector&&(de(),(K("o")||K("\\"))&&(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(K("*"))return te(O,"Wildcard tag name is not enabled."),Z(),{type:"WildcardTag"};if((0,s.isIdentStart)(Y)){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(K("*")){var e=G;return Z(),K("|")?(Z(),X()?(te(A,"Namespaces are not enabled."),te(T,"Wildcard namespace is not enabled."),(n=ye()).namespace={type:"WildcardNamespace"},n):(J(e),ye())):(J(e),ye())}if(K("|"))return te(A,"Namespaces are not enabled."),Z(),(n=ye()).namespace={type:"NoNamespace"},n;if((0,s.isIdentStart)(Y)){var t=le();if(te(t,"Expected tag name."),!K("|"))return te(S,"Tag names are not enabled."),{type:"TagName",name:t};var n;e=G;return Z(),X()?(te(A,"Namespaces are not enabled."),(n=ye()).namespace={type:"NamespaceName",name:t},n):(J(e),{type:"TagName",name:t})}return ee("Expected tag name.")}function ve(e){var t,n;void 0===e&&(e=!1);var r={type:"Rule",items:[]};e&&((y=ie(I))&&(r.combinator=y,de()));for(;G<q;)if(X())te(0===r.items.length,"Unexpected tag/namespace start."),r.items.push(be());else if(K("|")){var s=G;if(Z(),!X()){J(s);break}te(0===r.items.length,"Unexpected tag/namespace start."),J(s),r.items.push(be())}else if(K(".")){te(E,"Class names are not enabled."),Z();var a=le();te(a,"Expected class name."),r.items.push({type:"ClassName",name:a})}else if(K("#")){te(x,"IDs are not enabled."),Z();var c=le();te(c,"Expected ID name."),r.items.push({type:"Id",name:c})}else if(K("["))te(P,"Attributes are not enabled."),r.items.push(pe());else{if(!K(":"))break;var l=!1;Z(),K(":")&&(te($,"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||U||Object.prototype.hasOwnProperty.call(W,u));else{var d=i.pseudoLocationIndex.pseudoElements[u],f='Unknown pseudo-element "'.concat(u,'"');d&&d.length>0&&(f+=". It is defined in: ".concat(d.join(", "))),ee(f+".")}if($&&(l||!l&&B&&Object.prototype.hasOwnProperty.call(W,u))){var p={type:"PseudoElement",name:u};(m=ge(u,"pseudo-element",h=null!==(t=W[u])&&void 0!==t?t:U&&o.defaultPseudoSignature))&&(te("Formula"!==m.type&&"FormulaOfSelector"!==m.type,"Pseudo-elements cannot have formula argument."),p.argument=m),r.items.push(p)}else{var h;if(te(D,"Pseudo-classes are not enabled."),h=null!==(n=L[u])&&void 0!==n?n:F&&o.defaultPseudoSignature);else{d=i.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",h))&&(g.argument=m),r.items.push(g)}}if(0===r.items.length)return re()?ee("Expected rule but end of input reached."):ee('Expected rule but "'.concat(Y,'" found.'));if(de(),!re()&&!K(",")&&!K(")")){var y=ie(I);de(),r.nestedRule=ve(),r.nestedRule.combinator=y}return r}return function(e){if("string"!=typeof e)throw new Error("".concat(a,"Expected string input."));return q=(z=e).length,G=0,Y=z.charAt(0),fe()}}},24843(e,t){"use strict";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}},7221(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var r=n(76528),o="css-selector-parser render error: ";function i(e){if("WildcardNamespace"===e.type)return"*|";if("NamespaceName"===e.type)return"".concat((0,r.escapeIdentifier)(e.name),"|");if("NoNamespace"===e.type)return"|";throw new Error("".concat(o,"Unknown namespace type: ").concat(e.type,"."))}function s(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 n="",a=t.items,c=t.combinator,l=t.nestedRule;c&&(n+="".concat(c," "));for(var u=0,d=a;u<d.length;u++){n+=e(d[u])}return l&&(n+=" ".concat(e(l))),n}if("TagName"===t.type||"WildcardTag"===t.type){n="";return(p=t.namespace)&&(n+=i(p)),"TagName"===t.type?n+=(0,r.escapeIdentifier)(t.name):"WildcardTag"===t.type&&(n+="*"),n}if("Id"===t.type)return"#".concat((0,r.escapeIdentifier)(t.name));if("ClassName"===t.type)return".".concat((0,r.escapeIdentifier)(t.name));if("Attribute"===t.type){var f=t.name,p=t.namespace,h=t.operator,m=t.value,g=t.caseSensitivityModifier;n="[";if(p&&(n+=i(p)),n+=(0,r.escapeIdentifier)(f),h&&m){if(n+=h,"String"===m.type)n+=(0,r.escapeString)(m.value);else{if("Substitution"!==m.type)throw new Error("Unknown attribute value type: ".concat(m.type,"."));n+=(w=m,"$".concat((0,r.escapeIdentifier)(w.name)))}g&&(n+=" ".concat((0,r.escapeIdentifier)(g)))}return n+="]"}if("PseudoClass"===t.type){var y=t.name,b=t.argument;n=":".concat((0,r.escapeIdentifier)(y));return b&&(n+="(".concat("String"===b.type?(0,r.escapeIdentifier)(b.value):e(b),")")),n}if("PseudoElement"===t.type){var v=t.name;b=t.argument,n="::".concat((0,r.escapeIdentifier)(v));return b&&(n+="(".concat("String"===b.type?(0,r.escapeIdentifier)(b.value):e(b),")")),n}if("String"===t.type)throw new Error("".concat(o,"String cannot be rendered outside of context."));if("Formula"===t.type)return s(t.a,t.b);if("FormulaOfSelector"===t.type)return s(t.a,t.b)+" of "+e(t.selector);if("Substitution"===t.type)return"$".concat((0,r.escapeIdentifier)(t.name));var w;throw new Error("Unknown type specified to render method: ".concat(t.type,"."))}},66869(e,t){"use strict";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"]}}},p=(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"]}}}),h=(0,t.extendSyntaxDefinition)(p,{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)(h,{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 p=f[d];e.pseudoElements[p]||(e.pseudoElements[p]=[]),e.pseudoElements[p].includes(o)||e.pseudoElements[p].push(o)}else for(var h=0,m=Object.values(S);h<m.length;h++)for(var g=0,y=m[h];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,O=w[v],x=O[0],E=O[1];if(E.pseudoClasses&&"object"==typeof E.pseudoClasses)if(S=E.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 N=I[C];e.pseudoClasses[N]||(e.pseudoClasses[N]=[]),e.pseudoClasses[N].includes(x)||e.pseudoClasses[N].push(x)}if(E.pseudoElements&&"object"==typeof E.pseudoElements)if(S=E.pseudoElements.definitions)if(Array.isArray(S))for(var P=0,j=S;P<j.length;P++){var k=j[P];e.pseudoElements[k]||(e.pseudoElements[k]=[]),e.pseudoElements[k].includes(x)||e.pseudoElements[k].push(x)}else for(var R=0,_=Object.values(S);R<_.length;R++)for(var M=0,D=_[R];M<D.length;M++){var L=D[M];e.pseudoElements[L]||(e.pseudoElements[L]=[]),e.pseudoElements[L].includes(x)||e.pseudoElements[L].push(x)}}return e}t.cssSyntaxDefinitions={css1:f,css2:p,css3:h,"selectors-3":h,"selectors-4":m,latest:g,progressive:y},t.buildPseudoLocationIndex=b,t.pseudoLocationIndex=b()},76528(e,t){"use strict";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,'"')}},89613(e){"use strict";e.exports=JSON.parse('{"version":"2.17.0-next.926904c7"}')},9510(e){"use strict";e.exports=JSON.parse('{"rE":"4.131.3-next.7a790008","El":{"lU":"^4.12.1"}}')}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.m=t,r.amdO={},e=[],r.O=(t,n,o,i)=>{if(!n){var s=1/0;for(u=0;u<e.length;u++){for(var[n,o,i]=e[u],a=!0,c=0;c<n.length;c++)(!1&i||s>=i)&&Object.keys(r.O).every(e=>r.O[e](n[c]))?n.splice(c--,1):(a=!1,i<s&&(s=i));if(a){e.splice(u--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,o,i]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.j=854,r.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={854:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[s,a,c]=n,l=0;if(s.some(t=>0!==e[t])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(c)var u=c(r)}for(t&&t(n);l<s.length;l++)i=s[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(u)},n=this.webpackChunk=this.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o=r.O(void 0,[121],()=>r(95249));o=r.O(o)})();